:root {
    --blue: #1954d4;
    --blue-deep: #1747b7;
    --blue-soft: #2f6cf0;
    --hero-text: #ffffff;
    --hero-accent: #ffb1ac;
    --page-bg: #f7f8fb;
    --card-bg: #ffffff;
    --text: #10131a;
    --muted: #667085;
    --line: #d8dde6;
    --shadow: 0 18px 50px rgba(17, 24, 39, 0.10);
    --red: #ff4a4a;
    --red-dark: #ea3b3b;
    --red-soft: #fff1f1;
    --navy: #1f2740;
    --accent: #22c55e;
    --accent-contrast: #ffffff;
    --accent-soft: rgba(34, 197, 94, 0.14);
    --accent-soft-strong: rgba(34, 197, 94, 0.22);
    --sidebar-bg: #172033;
    --sidebar-border: #111827;
    --sidebar-brand-bg: #111827;
    --sidebar-brand-border: #1f2937;
    --sidebar-text: rgba(255, 255, 255, 0.9);
    --sidebar-hover-bg: rgba(255, 255, 255, 0.08);
    --sidebar-hover-text: #ffffff;
    --sidebar-switch-bg: rgba(255, 255, 255, 0.08);
    --sidebar-switch-text: #ffffff;
    --sidebar-collapse-bg: rgba(255, 255, 255, 0.08);
    --sidebar-collapse-text: #eef3ff;
    --admin-topbar-bg: #172033;
    --admin-topbar-border: transparent;
    --admin-topbar-text: #ffffff;
    --admin-search-bg: #323850;
    --admin-search-border: rgba(255, 255, 255, 0.16);
    --admin-search-text: #ffffff;
    --admin-search-placeholder: rgba(255, 255, 255, 0.55);
    --admin-icon-hover-bg: rgba(255, 255, 255, 0.08);
    --admin-main-bg:
        radial-gradient(circle at 12% 8%, rgba(134, 164, 255, 0.1), transparent 14%),
        radial-gradient(circle at 86% 12%, rgba(134, 164, 255, 0.08), transparent 16%),
        #fcfdff;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--text);
    background: #fff;
}

body.dark-pane {
    --sidebar-bg: #172033;
    --sidebar-border: #111827;
    --sidebar-brand-bg: #111827;
    --sidebar-brand-border: #1f2937;
    --sidebar-text: rgba(255, 255, 255, 0.9);
    --sidebar-hover-bg: rgba(255, 255, 255, 0.08);
    --sidebar-hover-text: #ffffff;
    --sidebar-switch-bg: rgba(255, 255, 255, 0.08);
    --sidebar-switch-text: #ffffff;
    --sidebar-collapse-bg: rgba(255, 255, 255, 0.08);
    --sidebar-collapse-text: #eef3ff;
    --admin-topbar-bg: #172033;
    --admin-topbar-border: transparent;
    --admin-topbar-text: #ffffff;
    --admin-search-bg: #323850;
    --admin-search-border: rgba(255, 255, 255, 0.16);
    --admin-search-text: #ffffff;
    --admin-search-placeholder: rgba(255, 255, 255, 0.55);
    --admin-icon-hover-bg: rgba(255, 255, 255, 0.08);
    --admin-main-bg:
        radial-gradient(circle at 12% 8%, rgba(134, 164, 255, 0.1), transparent 14%),
        radial-gradient(circle at 86% 12%, rgba(134, 164, 255, 0.08), transparent 16%),
        #fcfdff;
}

body.light-pane {
    --sidebar-bg: #ffffff;
    --sidebar-border: #e5eaf3;
    --sidebar-brand-bg: #ffffff;
    --sidebar-brand-border: #e5eaf3;
    --sidebar-text: #21314d;
    --sidebar-hover-bg: #f2f6fd;
    --sidebar-hover-text: #2648a7;
    --sidebar-switch-bg: #eef0ff;
    --sidebar-switch-text: #22304a;
    --sidebar-collapse-bg: #eef1f8;
    --sidebar-collapse-text: #647083;
    --admin-topbar-bg: #ffffff;
    --admin-topbar-border: #e8edf5;
    --admin-topbar-text: #172844;
    --admin-search-bg: #f2f4fb;
    --admin-search-border: #dce3ef;
    --admin-search-text: #243754;
    --admin-search-placeholder: #8e9ab0;
    --admin-icon-hover-bg: #f4f7fd;
    --admin-main-bg:
        radial-gradient(circle at 12% 8%, rgba(134, 164, 255, 0.08), transparent 14%),
        radial-gradient(circle at 86% 12%, rgba(134, 164, 255, 0.06), transparent 16%),
        #ffffff;
}

body.theme-green {
    --accent: #22c55e;
    --accent-soft: rgba(34, 197, 94, 0.14);
    --accent-soft-strong: rgba(34, 197, 94, 0.22);
}

body.theme-blue {
    --accent: #3b82f6;
    --accent-soft: rgba(59, 130, 246, 0.14);
    --accent-soft-strong: rgba(59, 130, 246, 0.22);
}

body.theme-red {
    --accent: #ef4444;
    --accent-soft: rgba(239, 68, 68, 0.14);
    --accent-soft-strong: rgba(239, 68, 68, 0.22);
}

body.theme-orange {
    --accent: #f97316;
    --accent-soft: rgba(249, 115, 22, 0.14);
    --accent-soft-strong: rgba(249, 115, 22, 0.22);
}

body.procure-body.signup-page {
    background: linear-gradient(180deg, #f7f8fb 0%, #eef3ff 100%);
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.procure-signup {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(460px, 0.92fr);
    background: #fff;
}

.signup-shell {
    min-height: 100vh;
    padding: 36px 28px;
}

.signup-stage {
    width: min(100%, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: 28px;
    align-items: stretch;
}

.signup-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 880px;
    border-radius: 32px;
    padding: 46px 48px 32px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: var(--hero-text);
    box-shadow: 0 28px 72px rgba(25, 84, 212, 0.18);
}

.signup-hero-card::before,
.signup-hero-card::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.signup-hero-card::before {
    left: -10%;
    right: -10%;
    bottom: -6%;
    height: 280px;
    background:
        radial-gradient(circle at 25% 18%, rgba(255,255,255,0.20) 0 10px, transparent 11px),
        radial-gradient(circle at 31% 12%, rgba(255,255,255,0.12) 0 4px, transparent 5px),
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.12) 100%);
    opacity: 0.9;
}

.signup-hero-card::after {
    right: -52px;
    top: 110px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.17) 0%, rgba(255,255,255,0.02) 70%, transparent 72%);
}

.signup-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.signup-hero-copy h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(44px, 4.4vw, 66px);
    line-height: 1.03;
    letter-spacing: -1.8px;
    font-weight: 800;
}

.signup-hero-copy p {
    margin: 26px 0 0;
    max-width: 760px;
    font-size: 19px;
    line-height: 1.65;
    color: rgba(255,255,255,0.94);
    font-weight: 500;
}

.signup-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
    color: rgba(255,255,255,0.98);
    font-size: 17px;
    font-weight: 700;
}

.signup-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.signup-benefits i {
    font-size: 18px;
}

.signup-hero-art {
    position: relative;
    z-index: 1;
    margin-top: 44px;
    max-width: 420px;
}

.signup-hero-art img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.signup-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: var(--hero-text);
    min-height: 100vh;
    padding: 84px 0 0;
}

.signup-hero::before,
.signup-hero::after {
    content: '';
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.signup-hero::before {
    left: 0;
    right: 0;
    bottom: 0;
    height: 250px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.03) 100%),
        linear-gradient(135deg, transparent 66%, rgba(255,255,255,0.07) 66% 68%, transparent 68% 100%),
        linear-gradient(45deg, transparent 72%, rgba(255,255,255,0.09) 72% 74%, transparent 74% 100%);
    opacity: 0.8;
}

.signup-hero::after {
    left: 58%;
    bottom: 44px;
    width: 360px;
    height: 180px;
    border: 2px solid rgba(255,255,255,0.1);
    border-bottom: 0;
    clip-path: polygon(0 100%, 14% 38%, 28% 48%, 45% 18%, 62% 60%, 78% 38%, 100% 100%);
    opacity: 0.75;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 780px);
    margin-left: 92px;
    padding-right: 30px;
}

.hero-copy {
    max-width: 620px;
    margin-top: 78px;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(50px, 5.2vw, 82px);
    line-height: 0.98;
    letter-spacing: -2.2px;
    font-weight: 800;
}

.hero-copy h1 span {
    color: var(--hero-accent);
}

.hero-copy p {
    max-width: 640px;
    margin: 24px 0 0;
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255,255,255,0.96);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 58px;
}

.play-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px rgba(255,255,255,0.05) inset;
}

.play-badge i {
    font-size: 20px;
    margin-left: 4px;
}

.hero-action-link {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.hero-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.65);
}

.hero-stage {
    margin-top: 72px;
    width: min(100%, 640px);
    min-height: 390px;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(18px) scale(0.99);
    transition: opacity 420ms ease, transform 420ms ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hero-card {
    width: min(560px, 100%);
    color: #fff;
    text-align: center;
}

.quote-card {
    padding: 40px 22px 28px;
}

.quote-card blockquote {
    margin: 0;
    font-size: clamp(28px, 2.5vw, 48px);
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: -0.4px;
}

.quote-divider {
    height: 1px;
    width: 100%;
    margin: 34px auto 16px;
    background: rgba(255,255,255,0.25);
}

.quote-author {
    letter-spacing: 5px;
    color: #ff937e;
    font-size: 14px;
    font-weight: 700;
}

.quote-role {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.88);
    font-weight: 600;
}

.feature-card {
    text-align: left;
    padding: 18px 12px 18px 8px;
}

.feature-title {
    max-width: 430px;
    margin: 0 0 26px 0;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1px;
}

.feature-list {
    display: grid;
    gap: 22px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 380px;
    color: rgba(255,255,255,0.95);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
}

.hero-dot {
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.34);
}

.hero-dot.active {
    width: 40px;
    background: #ff7b73;
}

.trusted-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 118px;
    background: rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 92px 22px;
    display: flex;
    align-items: end;
}

.trusted-strip span {
    display: block;
    width: 100%;
    text-align: center;
    letter-spacing: 4px;
    font-size: 13px;
    color: rgba(255,255,255,0.92);
    font-weight: 800;
}

.signup-panel {
    background: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
}

.signup-card {
    width: min(100%, 530px);
    padding: 18px 12px 18px 14px;
}

.signup-stage > .signup-card {
    width: 100%;
    min-height: 880px;
    padding: 38px 34px 30px;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.signup-card-head {
    margin-bottom: 24px;
}

.signup-card-head p {
    margin: -10px 0 0;
    font-size: 17px;
    line-height: 1.6;
    color: #4e596a;
}

.brand-row,
.signup-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.brand-row--compact {
    margin-bottom: 34px;
}

.signup-brand-image {
    width: clamp(150px, 18vw, 240px);
    height: auto;
    max-width: 100%;
    display: block;
}

.brand-mark,
.signup-brand-mark {
    width: 34px;
    height: 34px;
    border: 3px solid var(--red);
    border-radius: 8px;
    position: relative;
    flex: 0 0 auto;
}

.brand-mark::before,
.signup-brand-mark::before {
    content: '';
    position: absolute;
    inset: 5px 8px;
    border: 3px solid var(--red);
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
    transform: skewY(0deg);
}

.brand-copy .brand-name,
.signup-brand-copy .brand-name {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    color: #30343d;
}

.brand-copy .brand-sub,
.signup-brand-copy .brand-sub {
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
    color: #0b0f17;
    margin-top: 1px;
}

.signup-card h2,
.org-card h2 {
    margin: 0 0 24px;
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1.06;
    letter-spacing: -1.1px;
    font-weight: 700;
    color: #0f1721;
}

.signup-form {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 5px;
}

.field-label {
    font-size: 13px;
    font-weight: 600;
    color: #333941;
}

.field-box,
.phone-box,
.select-box {
    min-height: 54px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.field-box:focus-within,
.phone-box:focus-within,
.select-box:focus-within {
    border-color: #7ea2ff;
    box-shadow: 0 0 0 3px rgba(47, 108, 240, 0.12);
}

.field-icon {
    width: 16px;
    color: #7a808d;
    flex: 0 0 auto;
    text-align: center;
}

.field-box input,
.field-box select,
.phone-box input,
.phone-code,
.select-box select,
.org-input,
.org-select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1d2330;
    font-size: 15px;
    min-width: 0;
}

.field-box input::placeholder,
.phone-box input::placeholder,
.select-box select,
.phone-code,
.org-input::placeholder,
.org-select {
    color: #6b7280;
}

.field-box select,
.select-box select,
.phone-code,
.org-select {
    appearance: none;
    padding-right: 18px;
    background-image: linear-gradient(45deg, transparent 50%, #98a1b1 50%), linear-gradient(135deg, #98a1b1 50%, transparent 50%);
    background-position: calc(100% - 12px) 22px, calc(100% - 6px) 22px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.field-box input,
.phone-box input,
.org-input {
    height: 52px;
}

.phone-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
}

.phone-row .phone-code-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-right: 1px solid var(--line);
    min-height: 54px;
}

.phone-code-wrap i {
    color: #7a808d;
    font-size: 14px;
}

.phone-code {
    padding-right: 6px;
}

.phone-row input {
    border: 0;
    outline: 0;
    padding: 0 14px;
    min-width: 0;
}

.phone-row:focus-within {
    border-color: #7ea2ff;
    box-shadow: 0 0 0 3px rgba(47, 108, 240, 0.12);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field-error,
.notice.error,
.server-error,
.validation-error {
    color: var(--red);
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
}

.notice.error {
    margin-bottom: 12px;
    background: var(--red-soft);
    border: 1px solid #f4c8c8;
    padding: 10px 12px;
    border-radius: 10px;
}

.field.is-invalid .field-box,
.field.is-invalid .phone-row,
.field.is-invalid .select-box {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 74, 74, 0.08);
}

.signup-note {
    margin: 4px 0 0;
    font-size: 12px;
    color: #667085;
}

.signup-note strong {
    color: #1b2433;
}

.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #384050;
    margin-top: 2px;
}

.terms-row input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.terms-row a,
.small-link {
    color: #0d5bd7;
    text-decoration: underline;
}

.primary-btn {
    height: 58px;
    border: 0;
    border-radius: 12px;
    background: var(--red);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(255, 74, 74, 0.23);
    transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.primary-btn:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.signup-switch {
    margin: 2px 0 0;
    text-align: center;
    font-size: 14px;
    color: #4b5563;
}

.signup-switch a {
    color: #0d5bd7;
    font-weight: 700;
    text-decoration: none;
}

.signup-switch a:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 14px;
    color: #101622;
    font-size: 14px;
    font-weight: 600;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d9dde5;
}

.social-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    width: 62px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3d4657;
    font-size: 19px;
    box-shadow: 0 4px 12px rgba(17,24,39,0.04);
}

.social-btn.google {
    color: #ea4335;
}

.social-btn.facebook {
    color: #1877f2;
}

.social-btn.linkedin {
    color: #0a66c2;
}

.social-btn.x {
    color: #111111;
}

.social-btn.azure {
    color: #5a67d8;
}

.signup-footer {
    margin-top: 18px;
    font-size: 15px;
    color: #374151;
}

.signup-footer a {
    color: #0d5bd7;
    font-weight: 700;
}

.callback-pill {
    position: fixed;
    right: 18px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    z-index: 25;
}

.callback-bubble {
    padding: 13px 16px;
    background: #fff;
    border-radius: 10px 10px 0 10px;
    box-shadow: var(--shadow);
    color: #2d3645;
    font-size: 15px;
    font-weight: 700;
}

.callback-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #5468ff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(84, 104, 255, 0.32);
    font-size: 22px;
}

/* OTP overlay */
body.otp-open {
    overflow: hidden;
}

.otp-page-wrap {
    position: fixed;
    inset: 0;
}

.otp-bg-frame {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.otp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(58, 67, 88, 0.58);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}

.otp-modal {
    width: min(100%, 500px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
    padding: 36px 38px 30px;
    text-align: center;
    position: relative;
}

.otp-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ececec;
    color: #8e8e8e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
}

.otp-icon-wrap {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #e8edf8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-icon {
    color: #ff6f3f;
    font-size: 38px;
}

.otp-modal h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.otp-modal p {
    margin: 0;
    color: #4f5969;
    font-size: 15px;
}

.otp-phone {
    margin-top: 14px !important;
    font-size: 17px;
    color: #1b2432 !important;
    font-weight: 600;
}

.otp-phone a {
    color: #1f6be2;
    text-decoration: none;
    font-weight: 700;
}

.otp-input {
    margin-top: 16px;
    width: min(100%, 330px);
    height: 48px;
    border: 1px solid #d8dbe2;
    border-radius: 4px;
    padding: 0 14px;
    font-size: 16px;
    outline: none;
}

.otp-input:focus {
    border-color: #1f6be2;
    box-shadow: 0 0 0 3px rgba(31, 107, 226, 0.10);
}

.otp-resend {
    margin-top: 12px !important;
    font-size: 14px;
    color: #8e97a6 !important;
}

.otp-resend a {
    color: #7fb1ff;
    text-decoration: none;
    font-weight: 700;
}

.otp-info {
    margin-top: 8px !important;
    color: #1e7d35 !important;
    font-size: 14px !important;
}

.otp-verify-btn {
    margin-top: 20px;
    width: 118px;
    height: 46px;
    border: 0;
    border-radius: 8px;
    background: #2f7ee6;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

/* Organization setup */
.org-page {
    min-height: 100vh;
    background:
        linear-gradient(180deg, #f8f8fb 0%, #f5f6fb 100%);
}

.org-topbar {
    height: 58px;
    background: #22283f;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 0 rgba(255,255,255,0.04) inset;
}

.org-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.org-brand-icon {
    width: 36px;
    height: 24px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.org-brand-icon::before {
    content: 'B2L';
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1;
}

.org-shell {
    min-height: calc(100vh - 58px);
    background:
        radial-gradient(circle at 0 0, rgba(0,0,0,0.02) 0 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.92));
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 28px 16px 40px;
}

.org-setup-page {
    width: 100%;
}

.org-setup-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
}

.org-left-panel {
    width: 45%;
    background: linear-gradient(180deg, #1350ff, #0039c7);
    color: #fff;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.org-logo {
    width: 180px;
    margin-bottom: 40px;
}

.org-left-panel h1 {
    margin: 0 0 25px;
    font-size: 64px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.6px;
}

.org-left-panel p {
    margin: 0;
    font-size: 22px;
    line-height: 1.7;
    opacity: 0.95;
}

.org-features {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    font-size: 18px;
    font-weight: 600;
    flex-wrap: wrap;
}

.org-features span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.org-setup-illustration {
    margin-top: 44px;
    max-width: 460px;
}

.org-setup-illustration img {
    display: block;
    width: 100%;
    height: auto;
}

.org-right-panel {
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background: #f5f7fb;
}

.org-setup-card {
    width: 100%;
    max-width: 650px;
    background: #fff;
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.org-greeting {
    margin: 0 0 12px;
    color: #243754;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.org-setup-card h2 {
    margin: 0 0 34px;
    color: #0f172a;
    font-size: 54px;
    line-height: 1.08;
    text-align: center;
    letter-spacing: -1.2px;
    font-weight: 800;
}

.org-setup-form {
    display: grid;
    gap: 22px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-group label {
    display: block;
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 60px;
    border: 1px solid #dbe2ea;
    border-radius: 16px;
    padding: 0 18px;
    font-size: 17px;
    background: #fff;
    color: #1d2330;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 48px;
    background-image: linear-gradient(45deg, transparent 50%, #8c96a8 50%), linear-gradient(135deg, #8c96a8 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #7ea2ff;
    box-shadow: 0 0 0 3px rgba(47, 108, 240, 0.12);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.org-setup-summary {
    display: grid;
    gap: 10px;
    padding: 8px 18px 0;
    border-left: 1px solid #e6ebf3;
}

.org-setup-summary div {
    color: #2d3c55;
    font-size: 15px;
    line-height: 1.5;
}

.org-setup-summary span {
    color: #64748b;
}

.org-setup-summary strong {
    color: #172844;
}

.checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-wrap input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.org-setup-form .save-btn {
    width: 100%;
    height: 60px;
    border: 0;
    border-radius: 16px;
    background: #2563eb;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(47, 121, 234, 0.22);
}

.org-setup-form .save-btn:hover {
    background: #1d4ed8;
}

.org-setup-page .field-error {
    margin: -2px 0 0;
}

.org-setup-page .form-group.is-invalid input,
.org-setup-page .form-group.is-invalid select,
.org-setup-page .checkbox-wrap.is-invalid {
    border-color: var(--red);
}

@media (max-width: 992px) {
    .org-setup-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .org-left-panel,
    .org-right-panel {
        width: 100%;
    }

    .org-left-panel {
        padding: 40px 28px;
    }

    .org-left-panel h1 {
        font-size: 42px;
    }

    .org-left-panel p {
        font-size: 18px;
    }

    .org-right-panel {
        padding: 30px 18px 40px;
    }

    .org-setup-card {
        padding: 35px;
    }

    .org-setup-card h2 {
        font-size: 42px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 760px) {
    .org-shell--wizard {
        padding: 0 12px 24px;
    }

    .org-left-panel {
        padding: 28px 22px 24px;
    }

    .org-logo {
        width: 150px;
        margin-bottom: 28px;
    }

    .org-left-panel h1 {
        font-size: 34px;
    }

    .org-left-panel p {
        font-size: 16px;
    }

    .org-features {
        gap: 12px;
        font-size: 15px;
    }

    .org-setup-illustration {
        margin-top: 28px;
        max-width: 240px;
    }

    .org-setup-card {
        padding: 24px 18px 22px;
        border-radius: 24px;
    }

    .org-setup-card h2 {
        font-size: 34px;
        margin-bottom: 24px;
    }

    .form-group input,
    .form-group select {
        height: 54px;
        border-radius: 12px;
        font-size: 16px;
    }

    .org-setup-summary {
        padding-left: 0;
        border-left: 0;
    }

    .org-setup-form .save-btn {
        height: 54px;
        border-radius: 12px;
    }
}

.trips-page .trips-listing-tab.is-active {
    color: #22b573;
    border-bottom-color: #22b573;
}

.trips-page .trips-board-list {
    width: min(1000px, 100%);
    gap: 14px;
    padding-top: 14px;
}

.trips-page .trip-board-card {
    overflow: hidden;
    padding: 0;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
}

.trips-page .trip-board-card:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.trips-page .trip-board-card-top {
    padding: 18px;
    grid-template-columns: 314px minmax(0, 1fr);
    min-height: 182px;
}

.trips-page .trip-board-card-preview {
    min-height: 162px;
    border: 0;
    border-radius: 2px;
    justify-items: center;
    text-align: center;
    background:
        linear-gradient(118deg, transparent 0 30%, rgba(255, 255, 255, 0.72) 30% 32%, transparent 32% 100%),
        linear-gradient(152deg, transparent 0 58%, rgba(255, 255, 255, 0.72) 58% 60%, transparent 60% 100%),
        #f5f6fb;
}

.trips-page .trip-board-card-preview::before {
    display: none;
}

.trips-page .trip-board-card-preview strong {
    color: #0b63f6;
    font-size: 16px;
    font-weight: 500;
}

.trips-page .trip-board-card-number {
    color: #46547a;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
}

.trips-page .trip-board-card-meta {
    align-self: center;
    gap: 4px;
}

.trips-page .trip-board-card-meta span {
    color: #4d5d86;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.trips-page .trip-board-card-meta strong {
    color: #020b25;
    font-size: 16px;
    font-weight: 500;
}

.trips-page .trip-board-card-meta small {
    color: #5d6b82;
    font-size: 13px;
    line-height: 1.4;
}

.trips-page .trip-board-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 24px 40px;
    align-items: center;
}

.trips-page .trip-board-card-footer {
    min-height: 60px;
    padding: 12px 20px;
    background: #fbfbff;
}

@media (max-width: 900px) {
    .trips-page .trip-board-card-top {
        grid-template-columns: 1fr;
    }

    .trips-page .trip-board-detail-grid {
        grid-template-columns: 1fr;
    }
}

.org-card {
    width: min(100%, 540px);
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 22px 24px 24px;
    border: 1px solid #eef1f6;
}

.org-greeting {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #252b38;
}

.org-card h2 {
    text-align: center;
    margin-bottom: 20px;
}

.org-form {
    display: grid;
    gap: 12px;
}

.org-form label {
    display: block;
    font-size: 14px;
    color: #5a6272;
    margin-bottom: 6px;
    font-weight: 600;
}

.org-input,
.org-select {
    height: 44px;
    border: 1px solid #d8dde6;
    border-radius: 8px;
    padding: 0 14px;
    background: #fff;
}

.org-select {
    padding-right: 30px;
}

.org-field.is-invalid .org-input,
.org-field.is-invalid .org-select {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 74, 74, 0.08);
}

.org-field .field-error {
    margin-top: 4px;
}

.org-row {
    display: grid;
    gap: 12px;
}

.org-row.two {
    grid-template-columns: 1fr 1fr;
}

.org-add-address {
    color: #2f73ef;
    text-decoration: none;
    font-weight: 700;
    margin-top: -2px;
}

.org-settings {
    border-left: 1px solid #eceff4;
    padding-left: 14px;
    display: grid;
    gap: 9px;
    color: #5f6674;
    font-size: 14px;
}

.org-settings strong {
    color: #233044;
    font-weight: 700;
}

.org-settings span {
    color: #687286;
}

.org-grid {
    display: grid;
    gap: 10px;
}

.org-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #384050;
    line-height: 1.5;
    margin-top: 2px;
}

.org-check input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
}

.org-field.is-invalid .org-check {
    color: var(--red);
}

.save-btn {
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: #2f79ea;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(47, 121, 234, 0.22);
}

.org-page--workspace {
    background: #f5f7fc;
}

.org-topbar--light {
    height: 76px;
    padding: 0 32px;
    justify-content: space-between;
    background: #fff;
    color: #1f2b46;
    box-shadow: 0 1px 0 #e8edf6;
}

.org-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
}

.org-topbar--light .org-brand-icon {
    background: #fff3f3;
    border-color: #ffd2d2;
    box-shadow: none;
}

.org-topbar--light .org-brand-icon::before {
    color: #f25555;
}

.org-topbar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.org-admin-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 40px 24px 64px;
    display: grid;
    gap: 28px;
}

.org-admin-hero {
    display: grid;
    gap: 28px;
}

.org-back-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #e7faf2;
    color: #24b57a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
}

.org-admin-hero-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.org-admin-hero-row h1,
.org-wizard-head h1 {
    margin: 0;
    color: #233251;
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: -0.8px;
}

.org-admin-hero-row p,
.org-wizard-head p {
    margin: 8px 0 0;
    color: #62708a;
    font-size: 15px;
    line-height: 1.55;
}

.org-new-button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    background: #28b874;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.org-list-grid {
    display: grid;
    gap: 26px;
}

.org-list-grid--panel {
    gap: 16px;
}

.org-list-card {
    position: relative;
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 22px;
    border: 1px solid #e3eaf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 34, 59, 0.04);
}

.org-default-ribbon {
    position: absolute;
    left: -8px;
    top: 18px;
    padding: 6px 12px;
    background: #31c87c;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    transform: rotate(-45deg);
    transform-origin: left top;
}

.org-list-logo {
    width: 138px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: linear-gradient(180deg, #f3f5ff 0%, #edf1fb 100%);
    color: #66738f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.org-list-copy {
    color: #364258;
    font-size: 15px;
    line-height: 1.45;
}

.org-list-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.org-list-title-row h2 {
    margin: 0;
    color: #1d2944;
    font-size: 24px;
    font-weight: 700;
}

.org-trial-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    background: #fff4ea;
    color: #ff8e32;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.org-list-copy p {
    margin: 6px 0 0;
}

.org-list-meta {
    color: #556a97;
    font-style: italic;
}

.org-list-actions {
    display: flex;
    align-items: start;
    gap: 14px;
    justify-self: end;
}

.org-go-button {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 6px;
    background: #e8faf1;
    color: #22ac72;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.org-card-menu {
    position: relative;
}

.org-card-menu summary {
    list-style: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #65718a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.org-card-menu summary::-webkit-details-marker {
    display: none;
}

.org-card-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 180px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #edf1f7;
    background: #fff;
    box-shadow: 0 18px 40px rgba(23, 34, 59, 0.12);
    z-index: 5;
}

.org-card-menu-delete {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: #fff5f5;
    color: #ff4d4d;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    padding: 0 14px;
    cursor: pointer;
}

.org-card-menu-delete:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

body.admin-dashboard-page {
    background: #f7f9fc;
}

body.admin-settings-page {
    --sidebar-bg: #ffffff;
    --sidebar-border: #e4eaf3;
    --sidebar-text: #243754;
    --sidebar-hover-bg: #f3f6fd;
    --sidebar-hover-text: #243754;
    --accent: #4a86ee;
    --accent-contrast: #ffffff;
    margin: 0;
    min-height: 100vh;
    background: #f7f8fc;
    color: #21314d;
}

.admin-settings-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 56px minmax(220px, 300px) minmax(320px, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    border-top: 0;
    border-bottom: 1px solid #e6ebf4;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
}

.admin-settings-back {
    width: 38px;
    height: 52px;
    border-radius: 0;
    color: #3f4e68;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e6ebf4;
}

.admin-settings-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.admin-settings-brand-icon {
    width: 34px;
    height: 34px;
    padding-right: 12px;
    border-right: 0;
    color: #ff5858;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex: 0 0 auto;
}

.admin-settings-brand h1 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

.admin-settings-brand p {
    margin: 3px 0 0;
    color: #4f5d7a;
    font-size: 13px;
}

.admin-settings-search {
    position: relative;
    justify-self: center;
    width: min(100%, 378px);
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    background: #f4f5fc;
    color: #4b86ff;
}

.admin-settings-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #384968;
    font-size: 16px;
}

.admin-settings-search input::placeholder {
    color: #5d6b87;
}

.admin-settings-search-clear {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ff5b5b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.admin-settings-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 300px;
    overflow: auto;
    padding: 8px;
    border: 1px solid #d9e3f5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(31, 46, 77, 0.18);
    z-index: 30;
}

.admin-settings-search-group {
    display: grid;
    gap: 4px;
}

.admin-settings-search-group + .admin-settings-search-group {
    margin-top: 8px;
}

.admin-settings-search-group-title {
    padding: 10px 12px;
    border-radius: 10px;
    background: #f3f5fb;
    color: #3e4f70;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-settings-search-item {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #21314d;
    text-decoration: none;
}

.admin-settings-search-item:hover,
.admin-settings-search-item:focus-visible {
    background: #f8fbff;
}

.admin-settings-search-item strong {
    font-size: 17px;
    font-weight: 500;
}

.admin-settings-search-item span {
    color: #5c6c89;
    font-size: 13px;
}

.admin-settings-search-item mark {
    background: #ffe680;
    color: inherit;
    border-radius: 4px;
    padding: 0 1px;
}

.admin-settings-search-empty {
    padding: 14px 12px;
    color: #63728f;
    font-size: 14px;
}

.admin-settings-close {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid #e4e7f0;
    border-radius: 10px;
    background: #fbfbfe;
    color: #394965;
    text-decoration: none;
    font-size: 14px;
}

.admin-settings-close i {
    color: #ff5b5b;
}

.admin-settings-content {
    width: min(100%, 1620px);
    margin: 0 auto;
    padding: 58px 34px 42px;
    display: grid;
    gap: 36px;
}

.admin-settings-section {
    padding: 36px 20px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 60px rgba(31, 46, 77, 0.08);
}

.admin-settings-section h2 {
    margin: 0 0 32px 20px;
    color: #172844;
    font-size: 23px;
    font-weight: 500;
}

.admin-settings-grid {
    display: grid;
    gap: 24px;
    align-items: stretch;
}

.admin-settings-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-settings-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-settings-card {
    min-height: 330px;
    padding: 0 0 20px;
    border: 1px solid #e5eaf4;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.admin-settings-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #21314d;
    font-size: 18px;
    font-weight: 700;
}

.admin-settings-card-head-link {
    text-decoration: none;
}

.admin-settings-card-head-link:hover {
    background: #f8fbff;
}

.admin-settings-card-head strong a {
    color: inherit;
    text-decoration: none;
}

.admin-settings-card-head strong a:hover {
    color: #3f7ef0;
}

.admin-settings-card-head--sub {
    margin-top: 12px;
    border-top: 1px solid #f0f3f9;
}

.admin-settings-chip {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.admin-settings-chip.is-green {
    background: #ecfaf2;
    color: #1eb97f;
}

.admin-settings-chip.is-blue {
    background: #edf4ff;
    color: #3b83ff;
}

.admin-settings-chip.is-amber {
    background: #fff4e8;
    color: #ff922f;
}

.admin-settings-chip.is-red {
    background: #ffefef;
    color: #ff5f63;
}

.admin-settings-links {
    list-style: none;
    margin: 0;
    padding: 0 18px;
    display: grid;
    gap: 10px;
}

.admin-settings-links li a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #233451;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.55;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
}

.admin-settings-links li a:hover {
    background: #f8fbff;
    color: #3f7ef0;
}

.admin-settings-subgroup {
    margin-top: auto;
    padding-top: 8px;
}

.admin-settings-detail-shell {
    width: min(100%, 1920px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: calc(100vh - 81px);
    border-top: 1px solid #e8edf5;
}

.admin-settings-nav {
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
}

.admin-settings-nav-group {
    padding: 18px 0 10px;
    border-bottom: 1px solid var(--sidebar-border);
}

.admin-settings-nav-title {
    padding: 0 20px 12px;
    color: var(--sidebar-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-settings-nav-accordion {
    border-top: 1px solid var(--sidebar-border);
}

.admin-settings-nav-accordion:first-of-type {
    border-top: 0;
}

.admin-settings-nav-accordion summary {
    display: block;
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 14px 18px;
    color: var(--sidebar-text);
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
}

.admin-settings-nav-accordion summary::-webkit-details-marker {
    display: none;
}

.admin-settings-nav-links {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 4px;
    padding: 0 10px 10px;
}

.admin-settings-nav-link {
    display: block;
    padding: 12px 18px 12px 42px;
    border-radius: 12px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 16px;
}

.admin-settings-nav-link:hover {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-hover-text);
}

.admin-settings-nav-link.is-active {
    background: var(--accent);
    color: var(--accent-contrast);
    font-weight: 600;
}

.admin-settings-detail-content {
    padding: 24px 32px 32px;
    background: #fff;
}

.admin-settings-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0 16px;
    border-bottom: 1px solid #dfe6f0;
}

.admin-settings-detail-header h1 {
    margin: 0;
    color: #172844;
    font-size: 46px;
    font-weight: 400;
    line-height: 1;
}

.admin-settings-detail-header p {
    margin: 0;
    color: #243754;
    font-size: 16px;
}

.admin-settings-detail-header p a,
.org-settings-inline-link {
    color: #2368eb;
    text-decoration: none;
}

.admin-settings-detail-header--actions {
    align-items: center;
}

.org-categories-page {
    padding: 0;
}

.org-categories-page-header {
    padding: 0 0 12px;
    margin-top: 0;
    border-bottom: 0;
    align-items: flex-start;
}

.org-categories-title-block {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.org-categories-page-header h1 {
    font-size: 36px;
    line-height: 1.1;
}

.org-categories-tabs {
    gap: 24px;
    margin-top: 0;
}

.org-categories-tab-dropdown {
    position: relative;
}

.org-categories-status-menu {
    position: relative;
    display: inline-flex;
}

.org-categories-tab-trigger {
    position: relative;
    min-height: auto;
    padding: 0 0 10px;
    gap: 6px;
    color: #3a7df4;
    font-size: 18px;
    line-height: 1.2;
}

.org-categories-tab-trigger::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: #3a7df4;
}

.org-categories-tab-trigger:hover {
    color: #2f6fe5;
}

.org-categories-status-popover {
    top: 100%;
    left: 0;
    right: auto;
    min-width: 170px;
    width: 170px;
    margin-top: 6px;
    z-index: 1000;
}

.org-categories-status-popover a {
    justify-content: space-between;
}

.org-categories-actions {
    align-items: center;
    margin-top: 24px;
    margin-left: auto;
    flex-wrap: wrap;
}

.org-categories-tip-card {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8f8fb;
}

.org-categories-tip-card strong {
    display: block;
    margin: 0;
    color: #172844;
    font-size: 18px;
    font-weight: 600;
}

.org-categories-tip-card p {
    margin: 8px 0 0;
    color: #4c5e7b;
    font-size: 14px;
    line-height: 1.6;
}

.org-categories-table {
    margin-top: 20px;
}

.org-categories-table .policy-list-head,
.org-categories-table .policy-list-row {
    grid-template-columns: 40px minmax(260px, 1.4fr) minmax(140px, 0.8fr) minmax(220px, 1fr) 56px;
    gap: 12px;
    padding-left: 20px;
    padding-right: 12px;
}

.org-categories-table .policy-list-head {
    align-items: center;
}

.org-categories-checkbox-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.org-categories-checkbox-cell input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #3a7df4;
}

.org-merchants-page {
    position: relative;
    min-height: calc(100vh - 180px);
}

.org-merchants-header {
    padding: 12px 0 14px;
    border-bottom: 1px solid #e7ecf5;
}

.org-merchants-header h1 {
    font-size: 37px;
    font-weight: 400;
    line-height: 1.1;
}

.org-merchants-actions {
    align-items: center;
}

.org-merchants-empty-state,
.org-merchants-table-shell {
    transition: opacity 220ms ease, transform 220ms ease;
}

.org-merchants-empty-state:not(.is-hidden),
.org-merchants-table-shell:not(.is-hidden) {
    animation: orgMerchantsFadeIn 220ms ease;
}

.org-merchants-empty-state {
    min-height: calc(100vh - 260px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 54px 24px 72px;
}

.org-merchants-empty-state h2 {
    margin: 4px 0 0;
    color: #172844;
    font-size: 31px;
    font-weight: 700;
}

.org-merchants-empty-state p {
    max-width: 560px;
    margin: 0;
    color: #556888;
    font-size: 15px;
    line-height: 1.65;
}

.org-merchants-illustration {
    position: relative;
    width: 332px;
    height: 288px;
    margin-bottom: 6px;
}

.org-merchants-illustration-card,
.org-merchants-illustration-circle,
.org-merchants-illustration-bag,
.org-merchants-illustration-bag-handle,
.org-merchants-illustration-receipt {
    position: absolute;
    display: block;
}

.org-merchants-illustration-card {
    inset: 54px 30px 34px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
    border: 1px solid #dfe6f7;
    box-shadow: 0 10px 22px rgba(33, 67, 138, 0.06);
}

.org-merchants-illustration-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.org-merchants-illustration-circle--blue {
    top: 102px;
    left: 48px;
    background: #d9e4fb;
}

.org-merchants-illustration-circle--gold {
    right: 56px;
    top: 152px;
    background: #eef3ff;
}

.org-merchants-illustration-bag {
    left: 62px;
    right: 62px;
    bottom: 70px;
    height: 138px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fd 100%);
    border: 3px solid #dfe6f7;
    box-shadow: inset 0 0 0 1px #edf2fc;
}

.org-merchants-illustration-bag-handle {
    left: 144px;
    right: 144px;
    top: 34px;
    height: 16px;
    border: 4px solid #4b547d;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
}

.org-merchants-illustration-receipt {
    top: 20px;
    left: 142px;
    width: 48px;
    height: 20px;
    border-radius: 8px;
    background: #eef3ff;
    border: 1px solid #cfd7eb;
    box-shadow: none;
}

.org-merchants-illustration-receipt::before,
.org-merchants-illustration-receipt::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    height: 2px;
    border-radius: 999px;
    background: #586186;
}

.org-merchants-illustration-receipt::before {
    top: 6px;
}

.org-merchants-illustration-receipt::after {
    top: 11px;
}

.org-merchants-illustration::before,
.org-merchants-illustration::after {
    content: '';
    position: absolute;
    top: 108px;
    width: 80px;
    height: 1px;
    background: #b8c0d8;
}

.org-merchants-illustration::before {
    left: 18px;
}

.org-merchants-illustration::after {
    right: 18px;
}

.org-merchants-table-shell {
    margin-top: 0;
}

.org-merchants-table-toolbar {
    display: flex;
    justify-content: flex-start;
    padding: 10px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e9edf8;
    background: #f8faff;
}

.org-merchants-search {
    width: min(100%, 340px);
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d8def0;
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: none;
}

.org-merchants-search i {
    color: #8c97b3;
}

.org-merchants-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243754;
    font-size: 14px;
}

.org-merchants-table-wrap {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.org-merchants-table {
    width: 100%;
    border-collapse: collapse;
}

.org-merchants-table th,
.org-merchants-table td {
    padding: 18px 10px;
    border-bottom: 1px solid #e9edf6;
    text-align: left;
}

.org-merchants-table thead th {
    color: #586886;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #fff;
}

.org-merchants-table tbody td {
    color: #172844;
    font-size: 14px;
}

.org-merchants-table input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #4a86f7;
}

.org-merchants-table th:first-child,
.org-merchants-table td:first-child {
    width: 52px;
    padding-left: 10px;
    text-align: left;
}

.org-merchants-table tbody tr:last-child td {
    border-bottom: 0;
}

.org-merchants-name-link {
    color: #2c6be9;
    text-decoration: none;
    font-weight: 500;
}

.org-merchants-name-link:hover {
    text-decoration: underline;
}

.org-merchants-sort-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.org-merchants-sort-head i {
    font-size: 12px;
    color: #4f5a77;
}

.org-merchants-empty-row {
    padding: 28px 18px !important;
    color: #6d7b94;
    text-align: center !important;
}

.org-merchants-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1100;
}

.org-merchants-overlay:not(.is-hidden) {
    animation: orgMerchantsOverlayIn 180ms ease;
}

.org-merchants-modal {
    position: relative;
    width: min(100%, 624px);
    padding: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(17, 24, 39, 0.18);
    transform: translateY(0);
    overflow: hidden;
}

.org-merchants-overlay:not(.is-hidden) .org-merchants-modal {
    animation: orgMerchantsModalIn 220ms ease;
}

.org-merchants-modal h2 {
    margin: 0;
    padding: 18px 24px;
    color: #172844;
    font-size: 20px;
    font-weight: 500;
    border-bottom: 1px solid #edf1f7;
}

.org-merchants-modal-close {
    position: absolute;
    top: 12px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: 1px solid #d9dfec;
    border-radius: 50%;
    background: transparent;
    color: #5f6d85;
    cursor: pointer;
}

.org-merchants-modal-close:hover {
    background: #f2f5fb;
    color: #1f5fd6;
}

.org-merchants-form {
    display: grid;
    gap: 22px;
    padding: 18px 24px 0;
}

.org-merchants-form label {
    display: grid;
    gap: 8px;
}

.org-merchants-form label span {
    color: #3c4658;
    font-size: 16px;
    font-weight: 500;
}

.org-merchants-label-required {
    color: #ef4444 !important;
}

.org-merchants-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cfd8ea;
    border-radius: 6px;
    background: #fff;
}

.org-merchants-form input:focus {
    outline: none;
    border-color: #7ea2ff;
    box-shadow: 0 0 0 3px rgba(74, 134, 247, 0.12);
}

.org-merchants-form-error {
    margin: -10px 0 0;
    color: #d83b3b;
    font-size: 13px;
}

.org-merchants-modal-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    padding: 20px 24px;
    border-top: 1px solid #edf1f7;
}

.org-merchants-toast {
    position: fixed;
    top: 142px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #e8faf2;
    border: 1px solid #d8f3e7;
    color: #2f3d54;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 28px rgba(24, 39, 75, 0.1);
    z-index: 1200;
}

.org-merchants-toast:not(.is-hidden) {
    animation: orgMerchantsToastIn 220ms ease;
}

.org-merchants-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #39c48d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.org-merchants-toast-text {
    font-size: 15px;
    font-weight: 500;
}

.org-projects-page {
    position: relative;
    min-height: calc(100vh - 180px);
}

.org-projects-header {
    padding: 12px 0 14px;
    border-bottom: 1px solid #e7ecf5;
}

.org-projects-title-block {
    display: grid;
    gap: 16px;
}

.org-projects-tabs {
    display: flex;
    align-items: center;
    gap: 14px;
}

.org-projects-tab-dropdown {
    position: relative;
}

.org-projects-status-menu {
    position: relative;
    display: inline-flex;
}

.org-projects-tab-trigger {
    position: relative;
    min-height: auto;
    padding: 0 0 10px;
    gap: 6px;
    color: #2f6fe5;
    font-size: 17px;
    line-height: 1.2;
}

.org-projects-status-menu.is-open .org-projects-tab-trigger i {
    transform: rotate(180deg);
}

.org-projects-tab-trigger i {
    transition: transform 160ms ease;
}

.org-projects-tab-trigger::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: #3a7df4;
}

.org-projects-status-popover {
    top: 100%;
    left: 0;
    right: auto;
    min-width: 220px;
    margin-top: 6px;
}

.org-projects-status-popover button {
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: #fff;
    color: #243754;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    cursor: pointer;
}

.org-projects-status-popover button:hover {
    background: #f5f8ff;
    color: #245ad5;
}

.org-projects-status-popover button.is-active {
    background: #eef4ff;
    color: #245ad5;
    font-weight: 600;
}

.org-projects-status-popover button i {
    opacity: 0;
}

.org-projects-status-popover button.is-active i {
    opacity: 1;
}

.org-projects-header h1,
.org-projects-form-header h1 {
    margin: 0;
    color: #172844;
    font-size: 37px;
    font-weight: 400;
    line-height: 1.1;
}

.org-projects-actions {
    align-items: flex-start;
    margin-left: auto;
}

.org-projects-empty-hero,
.org-projects-fields-state,
.org-projects-form-shell,
.org-projects-table-shell {
    animation: orgMerchantsFadeIn 220ms ease;
}

.org-projects-empty-hero {
    min-height: calc(100vh - 260px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 54px 24px 72px;
}

.org-projects-empty-hero h2 {
    margin: 4px 0 0;
    color: #172844;
    font-size: 31px;
    font-weight: 700;
}

.org-projects-empty-hero p {
    max-width: 520px;
    margin: 0;
    color: #556888;
    font-size: 15px;
    line-height: 1.65;
}

.org-projects-illustration {
    position: relative;
    width: 320px;
    height: 220px;
    margin-bottom: 10px;
}

.org-projects-illustration-board,
.org-projects-illustration-chip,
.org-projects-illustration-line,
.org-projects-illustration-dot {
    position: absolute;
    display: block;
}

.org-projects-illustration-board {
    inset: 44px 42px 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
    border: 2px solid #dfe6f7;
    box-shadow: 0 14px 28px rgba(33, 67, 138, 0.06);
}

.org-projects-illustration-chip {
    top: 62px;
    left: 78px;
    width: 164px;
    height: 42px;
    border-radius: 12px;
    background: #edf3ff;
    border: 1px solid #d8e2f5;
}

.org-projects-illustration-line {
    left: 78px;
    right: 78px;
    height: 16px;
    border-radius: 999px;
    background: #eef3ff;
}

.org-projects-illustration-line--one {
    top: 118px;
}

.org-projects-illustration-line--two {
    top: 148px;
    right: 118px;
}

.org-projects-illustration-dot {
    top: 126px;
    left: 92px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4a86f7;
    box-shadow: 0 30px 0 #73a9ff;
}

.org-projects-form-shell,
.org-projects-table-shell {
    padding-top: 8px;
}

.org-projects-fields-state {
    padding-top: 8px;
}

.org-projects-fields-usage {
    color: #556888;
    font-size: 14px;
    font-weight: 600;
}

.org-projects-fields-card {
    margin-top: 24px;
    border: 1px solid #e7ecf5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.org-projects-fields-head {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 180px;
    gap: 16px;
    padding: 16px 20px;
    background: #f8faff;
    border-bottom: 1px solid #e7ecf5;
}

.org-projects-fields-head span {
    color: #586886;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-projects-fields-empty {
    padding: 42px 20px;
    color: #70809a;
    text-align: center;
}

.org-projects-field-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 180px;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid #eef2f8;
}

.org-projects-field-row strong,
.org-projects-field-row span {
    color: #172844;
    font-size: 14px;
}

.org-projects-add-field-link {
    margin-top: 18px;
    border: 0;
    background: transparent;
    color: #2f6fe5;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.org-projects-fields-footer {
    margin-top: 18px;
}

.org-projects-new-field-state,
.org-projects-new-field-form {
    animation: orgMerchantsFadeIn 220ms ease;
}

.org-projects-new-field-form {
    padding-top: 24px;
}

.org-projects-new-field-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
}

.org-projects-new-field-main {
    display: grid;
    gap: 22px;
}

.org-projects-mandatory-row {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #172844;
}

.org-projects-preview-card {
    min-height: 150px;
    padding: 20px;
    border-radius: 12px;
    background: radial-gradient(circle, rgba(110, 138, 227, 0.14) 1px, transparent 1px);
    background-size: 10px 10px;
    border: 1px solid #edf1fb;
    display: grid;
    place-items: center;
    text-align: center;
}

.org-projects-preview-card strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    color: #172844;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 14px;
}

.org-projects-preview-card p {
    margin: 14px 0 0;
    color: #627089;
    font-size: 16px;
}

.org-projects-form-header {
    padding: 12px 0 18px;
    border-bottom: 1px solid #e7ecf5;
}

.org-projects-form {
    display: grid;
    gap: 24px;
    padding: 24px 0 12px;
}

.org-projects-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.org-projects-field {
    display: grid;
    gap: 8px;
}

.org-projects-field--full {
    grid-column: 1 / -1;
}

.org-projects-field span,
.org-projects-section h2,
.org-projects-members-head h2 {
    color: #172844;
    font-size: 16px;
    font-weight: 600;
}

.org-projects-label-required {
    color: #ef4444 !important;
}

.org-projects-field input,
.org-projects-field select,
.org-projects-field textarea,
.org-projects-members-row input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cfd8ea;
    border-radius: 6px;
    background: #fff;
}

.org-projects-field textarea {
    min-height: 110px;
    padding: 14px;
    resize: vertical;
}

.org-projects-field input:focus,
.org-projects-field select:focus,
.org-projects-field textarea:focus,
.org-projects-members-row input:focus {
    outline: none;
    border-color: #7ea2ff;
    box-shadow: 0 0 0 3px rgba(74, 134, 247, 0.12);
}

.org-projects-section {
    display: grid;
    gap: 16px;
}

.org-projects-section h2,
.org-projects-members-head h2 {
    margin: 0;
}

.org-projects-combo {
    position: relative;
}

.org-projects-combo-trigger {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cfd8ea;
    border-radius: 6px;
    background: #fff;
    color: #172844;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.org-projects-combo-trigger i {
    color: #7b88a3;
    transition: transform 160ms ease;
}

.org-projects-combo.is-open .org-projects-combo-trigger i {
    transform: rotate(180deg);
}

.org-projects-combo-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    min-width: 320px;
    border: 1px solid #d6dbe7;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(24, 39, 75, 0.1);
    z-index: 40;
    overflow: hidden;
}

.org-projects-combo-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f8;
    color: #7b88a3;
}

.org-projects-combo-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172844;
}

.org-projects-combo-list,
.org-projects-user-list {
    display: grid;
    max-height: 240px;
    overflow-y: auto;
}

.org-projects-combo-option,
.org-projects-user-option {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    background: #fff;
    color: #172844;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.org-projects-combo-option:hover,
.org-projects-user-option:hover {
    background: #f5f8ff;
}

.org-projects-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cfe0ff 0%, #7ba5f9 100%);
    color: #1747b7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.org-projects-user-meta {
    display: grid;
    gap: 2px;
}

.org-projects-user-meta strong {
    font-size: 14px;
    font-weight: 700;
}

.org-projects-user-meta span {
    color: #66758d;
    font-size: 13px;
}

.org-projects-combo-empty {
    padding: 16px 14px;
    text-align: center;
}

.org-projects-combo-empty p {
    margin: 0 0 10px;
    color: #66758d;
    font-size: 14px;
}

.org-projects-inline-create {
    border: 0;
    background: transparent;
    color: #2f6fe5;
    font-weight: 600;
    cursor: pointer;
}

.org-projects-associate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.org-projects-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #172844;
    font-weight: 500;
}

.org-projects-associated-users {
    display: grid;
    gap: 16px;
}

.org-projects-user-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.org-projects-user-chip,
.org-projects-empty-chip {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #245ad5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.org-projects-empty-chip {
    background: #f6f8fc;
    color: #66758d;
    font-weight: 500;
}

.org-projects-user-table {
    border: 1px solid #e7ecf5;
    border-radius: 10px;
    overflow: hidden;
}

.org-projects-user-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 52px;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-top: 1px solid #eef2f8;
}

.org-projects-user-row--head {
    border-top: 0;
    background: #f8faff;
}

.org-projects-user-row--head span {
    color: #586886;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-projects-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.org-projects-user-email {
    color: #66758d;
    font-size: 14px;
}

.org-projects-user-remove {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #fff1f2;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width: 980px) {
    .org-projects-new-field-grid,
    .org-projects-form-grid {
        grid-template-columns: 1fr;
    }

    .org-projects-combo-popover {
        min-width: 100%;
    }

    .org-projects-field-row,
    .org-projects-fields-head,
    .org-projects-user-row {
        grid-template-columns: 1fr;
    }
}

.org-projects-billing-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.org-projects-radio-card {
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}

.org-projects-members-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.org-projects-members-table {
    border: 1px solid #e4eaf4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.org-projects-members-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 0.8fr) 48px;
    gap: 12px;
    padding: 14px;
    border-top: 1px solid #edf1f7;
    align-items: center;
}

.org-projects-members-row--head {
    border-top: 0;
    background: #fbfcfe;
}

.org-projects-members-row--head span {
    color: #5f6d85;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-projects-member-remove {
    width: 36px;
    height: 36px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    color: #65748e;
    cursor: pointer;
}

.org-projects-form-error {
    margin: -8px 0 0;
    color: #d83b3b;
    font-size: 13px;
}

.org-projects-form-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 6px;
}

.org-projects-table-toolbar {
    display: flex;
    justify-content: flex-start;
    padding: 10px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e9edf8;
    background: #f8faff;
}

.org-projects-search {
    width: min(100%, 340px);
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d8def0;
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.org-projects-search i {
    color: #8c97b3;
}

.org-projects-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243754;
    font-size: 14px;
}

.org-projects-table-wrap {
    overflow: hidden;
    background: #fff;
}

.org-projects-table {
    width: 100%;
    border-collapse: collapse;
}

.org-projects-table th,
.org-projects-table td {
    padding: 18px 10px;
    border-bottom: 1px solid #e9edf6;
    text-align: left;
}

.org-projects-table thead th {
    color: #586886;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #fff;
}

.org-projects-table tbody td {
    color: #172844;
    font-size: 14px;
}

.org-projects-table input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #4a86f7;
}

.org-projects-table th:first-child,
.org-projects-table td:first-child {
    width: 52px;
    padding-left: 10px;
}

.org-projects-table tbody tr:last-child td {
    border-bottom: 0;
}

.org-projects-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #e8faf2;
    color: #1f8f61;
    font-weight: 600;
}

.org-projects-table-actions {
    position: relative;
}

.org-projects-name-link {
    color: #2c6be9;
    text-decoration: none;
    font-weight: 500;
}

.org-projects-empty-row {
    padding: 28px 18px !important;
    color: #6d7b94;
    text-align: center !important;
}

.org-projects-toast {
    position: fixed;
    top: 142px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #e8faf2;
    border: 1px solid #d8f3e7;
    color: #2f3d54;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 28px rgba(24, 39, 75, 0.1);
    z-index: 1200;
}

.org-projects-toast:not(.is-hidden) {
    animation: orgMerchantsToastIn 220ms ease;
}

.org-projects-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #39c48d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.org-projects-toast-text {
    font-size: 15px;
    font-weight: 500;
}

.org-customers-page {
    position: relative;
    min-height: calc(100vh - 180px);
}

.org-customers-header {
    padding: 12px 0 14px;
    border-bottom: 1px solid #e7ecf5;
}

.org-customers-header h1 {
    margin: 0;
    color: #172844;
    font-size: 37px;
    font-weight: 400;
    line-height: 1.1;
}

.org-customers-title-block {
    display: grid;
    gap: 16px;
}

.org-customers-tabs {
    display: flex;
    align-items: center;
    gap: 14px;
}

.org-customers-tab-dropdown {
    position: relative;
}

.org-customers-status-menu {
    position: relative;
    display: inline-flex;
}

.org-customers-tab-trigger {
    position: relative;
    min-height: auto;
    padding: 0 0 10px;
    gap: 6px;
    color: #2f6fe5;
    font-size: 17px;
    line-height: 1.2;
}

.org-customers-status-menu.is-open .org-customers-tab-trigger i {
    transform: rotate(180deg);
}

.org-customers-tab-trigger i {
    transition: transform 160ms ease;
}

.org-customers-tab-trigger::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: #3a7df4;
}

.org-customers-status-popover {
    top: 100%;
    left: 0;
    right: auto;
    min-width: 220px;
    margin-top: 6px;
}

.org-customers-status-popover button {
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: #fff;
    color: #243754;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    cursor: pointer;
}

.org-customers-status-popover button:hover {
    background: #f5f8ff;
    color: #245ad5;
}

.org-customers-status-popover button.is-active {
    background: #eef4ff;
    color: #245ad5;
    font-weight: 600;
}

.org-customers-status-popover button i {
    opacity: 0;
}

.org-customers-status-popover button.is-active i {
    opacity: 1;
}

.org-customers-actions {
    align-items: flex-start;
    margin-left: auto;
}

.org-customers-empty-shell,
.org-customers-fields-state,
.org-customers-new-field-state,
.org-customers-new-customer-state {
    animation: orgMerchantsFadeIn 220ms ease;
}

.org-customers-empty-shell {
    min-height: calc(100vh - 260px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 54px 24px 72px;
}

.org-customers-empty-shell h2 {
    margin: 6px 0 0;
    color: #172844;
    font-size: 31px;
    font-weight: 700;
}

.org-customers-empty-shell p {
    max-width: 620px;
    margin: 0;
    color: #556888;
    font-size: 15px;
    line-height: 1.65;
}

.org-customers-empty-illustration {
    position: relative;
    width: 360px;
    height: 270px;
    margin-bottom: 10px;
}

.org-customers-empty-card,
.org-customers-empty-avatar,
.org-customers-empty-line {
    position: absolute;
    display: block;
}

.org-customers-empty-card {
    inset: 36px 70px 56px;
    border: 2px solid #dfe6f7;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.org-customers-empty-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #edf3ff;
    border: 1px solid #d8e2f5;
}

.org-customers-empty-avatar--one {
    left: 104px;
    top: 116px;
}

.org-customers-empty-avatar--two {
    left: 104px;
    top: 182px;
}

.org-customers-empty-line {
    right: 96px;
    left: 154px;
    height: 16px;
    border-radius: 999px;
    background: #eef3ff;
}

.org-customers-empty-line--top {
    top: 120px;
}

.org-customers-empty-line--mid {
    top: 186px;
    right: 132px;
}

.org-customers-table-shell {
    margin-top: 22px;
}

.org-customers-table-toolbar {
    display: flex;
    justify-content: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #e9edf8;
    background: #f8faff;
}

.org-customers-search {
    width: min(100%, 340px);
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d8def0;
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.org-customers-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243754;
    font-size: 14px;
}

.org-customers-table {
    width: 100%;
    border-collapse: collapse;
}

.org-customers-table th,
.org-customers-table td {
    padding: 18px 10px;
    border-bottom: 1px solid #e9edf6;
    text-align: left;
}

.org-customers-table thead th {
    color: #586886;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-customers-table input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #4a86f7;
}

.org-customers-table th:first-child,
.org-customers-table td:first-child {
    width: 52px;
}

.org-customers-fields-usage {
    color: #2f6fe5;
    font-size: 15px;
}

.org-customers-fields-table {
    margin-top: 24px;
    border-top: 1px solid #e7ecf5;
    border-bottom: 1px solid #e7ecf5;
}

.org-customers-fields-head {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    border-bottom: 1px solid #e7ecf5;
}

.org-customers-fields-head span {
    padding: 16px 10px;
    color: #586886;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-customers-fields-empty {
    padding: 94px 20px;
    color: #627089;
    text-align: center;
    font-size: 16px;
}

.org-customers-add-field-link {
    margin-top: 18px;
    border: 0;
    background: transparent;
    color: #2f6fe5;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.org-customers-fields-footer {
    padding-top: 20px;
}

.org-customers-new-field-form,
.org-customers-new-customer-form {
    padding-top: 24px;
}

.org-customers-new-field-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
}

.org-customers-new-field-main {
    display: grid;
    gap: 22px;
}

.org-customers-field {
    display: grid;
    gap: 8px;
}

.org-customers-field span,
.org-customers-customer-type > span,
.org-customers-contact-persons h2 {
    color: #172844;
    font-size: 16px;
    font-weight: 500;
}

.org-customers-label-required {
    color: #ef4444 !important;
}

.org-customers-field input,
.org-customers-field select,
.org-customers-field textarea,
.org-customers-contact-row input,
.org-customers-contact-row select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cfd8ea;
    border-radius: 6px;
    background: #fff;
}

.org-customers-field input:focus,
.org-customers-field select:focus,
.org-customers-contact-row input:focus,
.org-customers-contact-row select:focus {
    outline: none;
    border-color: #7ea2ff;
    box-shadow: 0 0 0 3px rgba(74, 134, 247, 0.12);
}

.org-customers-mandatory-row {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #172844;
}

.org-customers-preview-card {
    min-height: 150px;
    padding: 20px;
    border-radius: 12px;
    background:
        radial-gradient(circle, rgba(110, 138, 227, 0.14) 1px, transparent 1px);
    background-size: 10px 10px;
    border: 1px solid #edf1fb;
    display: grid;
    place-items: center;
    text-align: center;
}

.org-customers-preview-card strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    color: #172844;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 14px;
}

.org-customers-preview-card p {
    margin: 14px 0 0;
    color: #627089;
    font-size: 16px;
}

.org-customers-new-layout {
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.org-customers-new-main {
    flex: 1 1 auto;
    min-width: 0;
    width: calc(100% - 340px);
    padding-right: 32px;
    display: grid;
    gap: 22px;
    box-sizing: border-box;
}

.org-customers-help-aside {
    flex: 0 0 320px;
    width: 320px;
    padding-left: 24px;
    border-left: 1px solid #e5e5e5;
    color: #627089;
    line-height: 1.55;
    box-sizing: border-box;
}

.org-customers-help-aside p {
    margin: 0 0 22px;
}

.org-customers-help-aside strong {
    color: #172844;
}

.org-customers-type-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.org-customers-pill-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #cfd8ea;
    border-radius: 8px;
}

.org-customers-primary-contact-grid {
    display: flex;
    gap: 12px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.org-customers-primary-contact-grid > select {
    flex: 0 0 150px;
    width: 150px;
    min-width: 150px;
}

.org-customers-primary-contact-grid > input {
    flex: 1 1 0;
    min-width: 0;
}

.org-customers-search-select {
    position: relative;
    width: 100%;
    max-width: 630px;
    overflow: hidden;
    box-sizing: border-box;
}

.org-customers-search-select input {
    width: 100%;
    min-height: 48px;
    padding: 0 40px 0 14px;
    border: 1px solid #d6dbe7;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.org-customers-dropdown-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 0;
    background: transparent;
    color: #7b88a3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
}

.org-customers-display-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #d6dbe7;
    border-radius: 6px;
    z-index: 9999;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 12px 24px rgba(24, 39, 75, 0.1);
}

.org-customers-display-option {
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: #fff;
    color: #243754;
    text-align: left;
    cursor: pointer;
}

.org-customers-display-option:hover {
    background: #f5f7fb;
}

.org-customers-phone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 630px;
}

.org-customers-field--phone-secondary span {
    visibility: hidden;
}

.org-customers-social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.org-customers-social-input {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
}

.org-customers-social-input em {
    min-height: 46px;
    border: 1px solid #cfd8ea;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    background: #f5f7fd;
    color: #2f6fe5;
}

.org-customers-social-input input {
    border-radius: 0 6px 6px 0;
}

.org-customers-field small {
    color: #627089;
    font-size: 12px;
}

.org-customers-field,
.org-customers-field input,
.org-customers-field select,
.org-customers-field textarea {
    box-sizing: border-box;
}

.org-customers-field {
    overflow: hidden;
}

.org-customers-field--bounded {
    width: 100%;
    max-width: 630px;
}

@media (max-width: 1180px) {
    .org-customers-new-layout {
        flex-direction: column;
    }

    .org-customers-new-main,
    .org-customers-help-aside {
        width: 100%;
        max-width: 100%;
    }

    .org-customers-new-main {
        padding-right: 0;
    }

    .org-customers-help-aside {
        margin-top: 12px;
        border-left: 0;
        border-top: 1px solid #e5e5e5;
        padding-left: 0;
        padding-top: 24px;
    }
}

@media (max-width: 760px) {
    .org-customers-primary-contact-grid {
        flex-wrap: wrap;
    }

    .org-customers-primary-contact-grid > select,
    .org-customers-primary-contact-grid > input {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
    }

    .org-customers-phone-grid,
    .org-customers-social-grid {
        grid-template-columns: 1fr;
    }
}

.org-customers-contact-persons {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #e7ecf5;
}

.org-customers-contact-persons h2 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3a7df4;
    width: fit-content;
}

.org-customers-contact-table {
    border: 1px solid #e7ecf5;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.org-customers-contact-head {
    display: table;
    width: 100%;
    table-layout: fixed;
    background: #f8faff;
    border-bottom: 1px solid #e7ecf5;
}

.org-customers-contact-head span {
    display: table-cell;
    padding: 16px 12px;
    color: #586886;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
}

.org-customers-contact-row {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.org-customers-contact-head span:nth-child(1),
.org-customers-contact-cell:nth-child(1) {
    width: 110px;
}

.org-customers-contact-head span:nth-child(2),
.org-customers-contact-cell:nth-child(2) {
    width: 180px;
}

.org-customers-contact-head span:nth-child(3),
.org-customers-contact-cell:nth-child(3) {
    width: 180px;
}

.org-customers-contact-head span:nth-child(4),
.org-customers-contact-cell:nth-child(4) {
    width: 220px;
}

.org-customers-contact-head span:nth-child(5),
.org-customers-contact-cell:nth-child(5) {
    width: 150px;
}

.org-customers-contact-head span:nth-child(6),
.org-customers-contact-cell:nth-child(6) {
    width: 150px;
}

.org-customers-contact-head span:nth-child(7),
.org-customers-contact-cell:nth-child(7),
.org-customers-contact-head span:nth-child(8),
.org-customers-contact-cell:nth-child(8) {
    width: 40px;
    text-align: center;
}

.org-customers-contact-head span:nth-child(1),
.org-customers-contact-head span:nth-child(2),
.org-customers-contact-head span:nth-child(3) {
    text-align: left;
}

.org-customers-contact-cell {
    display: table-cell;
    height: 60px;
    padding: 0;
    vertical-align: middle;
    overflow: hidden;
    border-right: 1px solid #e7ecf5;
    background: #fff;
}

.org-customers-contact-cell:last-child {
    border-right: 0;
}

.org-customers-contact-row input,
.org-customers-contact-row select {
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    border: none;
    border-radius: 0;
    padding: 0 12px;
}

.org-customers-contact-row select {
    padding: 0 36px 0 12px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
}

.org-customers-select-wrapper {
    position: relative;
    width: 100%;
}

.org-customers-select-wrapper::after {
    content: "⌄";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
    color: #7b88a3;
}

.org-customers-contact-cell--icon {
    text-align: center;
}

.org-customers-contact-icon-button,
.org-customers-contact-delete-button {
    width: 40px;
    height: 60px;
    border: 0;
    background: #fff;
    color: #8b93a7;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.org-customers-contact-delete-button {
    color: #ff4a4a;
}

.org-customers-add-contact-link {
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: #2f6fe5;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.org-customers-form-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #e7ecf5;
    margin-top: 22px;
}

.org-customers-form-error {
    margin: 18px 0 0;
    color: #d83b3b;
    font-size: 13px;
}

.org-customers-toast {
    position: fixed;
    top: 142px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #e8faf2;
    border: 1px solid #d8f3e7;
    color: #2f3d54;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 28px rgba(24, 39, 75, 0.1);
    z-index: 1200;
}

.org-customers-toast:not(.is-hidden) {
    animation: orgMerchantsToastIn 220ms ease;
}

.org-customers-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #39c48d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.org-customers-toast-text {
    font-size: 15px;
    font-weight: 500;
}

.org-merchants-menu-popover {
    min-width: 180px;
}

.is-hidden {
    display: none !important;
}

@keyframes orgMerchantsFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes orgMerchantsOverlayIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes orgMerchantsModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes orgMerchantsToastIn {
    from {
        opacity: 0;
        transform: translate(-50%, -8px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.admin-settings-note {
    margin-top: 18px;
    padding: 12px 28px;
    border-radius: 8px;
    background: #dff1fb;
    color: #116194;
    font-size: 15px;
}

.org-users-header-block {
    display: grid;
    gap: 18px;
}

.org-users-tabs {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.org-users-tab-stack {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.org-users-tab {
    position: relative;
    padding: 0 0 10px;
    color: #243754;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
}

.org-users-tab::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: transparent;
}

.org-users-tab.is-active {
    color: #3a7df4;
}

.org-users-tab.is-active::after {
    background: #3a7df4;
}

.org-users-tab-caret {
    min-width: 24px;
    min-height: 24px;
    margin-top: -2px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #7f8ba1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.org-users-tab-caret:hover {
    background: #f2f5fb;
    color: #3a7df4;
}

.org-users-tab-trigger {
    min-height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #243754;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.org-users-tab-trigger:hover {
    color: #1f5fd6;
}

.org-users-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.org-users-button-group {
    display: inline-flex;
    align-items: stretch;
    position: relative;
    flex: 0 0 auto;
}

.org-users-trial-copy {
    color: #223453;
    font-size: 15px;
    white-space: nowrap;
}

.org-users-trial-copy strong {
    color: #23b26d;
}

.org-users-primary-button,
.org-users-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 43px;
    padding: 0 18px;
    border: 1px solid #4f8ef7;
    border-radius: 6px;
    background: #4f8ef7;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.org-users-primary-button--split {
    min-width: 42px;
    padding: 0 14px;
    border-left-color: rgba(255, 255, 255, 0.28);
    border-radius: 0 6px 6px 0;
}

.org-users-button-group .org-users-primary-button:first-child {
    border-radius: 6px 0 0 6px;
}

.org-users-button-group .org-action-menu--split {
    display: inline-flex;
    margin-left: -1px;
}

.org-users-button-group .org-action-menu--split .org-users-primary-button--split {
    height: 100%;
}

.org-users-link-button {
    border-color: transparent;
    background: transparent;
    color: #3b7ef1;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
}

.org-users-icon-button,
.org-users-status-select {
    min-height: 43px;
    padding: 0 14px;
    border: 1px solid #d7dfec;
    border-radius: 6px;
    background: #fff;
    color: #33445f;
    font-size: 15px;
}

.org-users-icon-button {
    min-width: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.org-users-icon-button--wide {
    min-width: 64px;
    gap: 8px;
}

.org-users-panel,
.org-user-fields-panel,
.org-user-field-builder,
.org-users-empty-card {
    margin-top: 10px;
}

.org-users-filter-row {
    display: grid;
    grid-template-columns: 42px minmax(260px, 420px) minmax(260px, 420px) minmax(220px, 1fr);
    gap: 0;
    align-items: stretch;
    border: 1px solid #dbe4f2;
    border-radius: 0 0 14px 14px;
    background: #fff;
    position: relative;
    z-index: 4;
    margin-top: 8px;
    overflow: visible;
}

.org-users-filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #1f2937;
    border: 0;
    font-size: 15px;
}

.org-users-filter-icon:hover {
    background: #111827;
}

.org-users-combo {
    position: relative;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: center;
    min-height: 52px;
    border-left: 1px solid #dfe5f0;
    background: #fff;
}

.org-users-combo-label {
    padding: 0 16px;
    color: #5e6d87;
    font-size: 14px;
}

.org-users-combo-toggle {
    width: 100%;
    min-height: 52px;
    border: 0;
    background: transparent;
    color: #31415c;
    padding: 0 16px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.org-users-combo-toggle span.is-placeholder {
    color: #92a0b7;
}

.org-users-combo-panel {
    position: absolute;
    top: calc(100% + 2px);
    left: 128px;
    width: min(100%, 326px);
    min-width: 326px;
    border: 1px solid #d8dff0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(30, 42, 72, 0.16);
    overflow: hidden;
}

.org-users-combo-panel--table {
    left: 0;
    width: 100%;
    min-width: 0;
}

.org-users-combo-search {
    position: relative;
    padding: 10px;
    border-bottom: 1px solid #edf1f8;
}

.org-users-combo-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a5bc;
}

.org-users-combo-search input {
    width: 100%;
    min-height: 38px;
    border: 1px solid #4f8ef7;
    border-radius: 2px;
    padding: 0 12px 0 32px;
    font-size: 15px;
}

.org-users-combo-list {
    max-height: 220px;
    overflow: auto;
    padding: 8px;
}

.org-users-combo-option {
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: transparent;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.org-users-combo-option.is-active,
.org-users-combo-option:hover {
    background: #2f73db;
    color: #fff;
}

.org-users-combo-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #cfead7;
    color: #2a8052;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex: 0 0 auto;
}

.org-users-combo-copy {
    display: grid;
    gap: 4px;
}

.org-users-combo-copy strong {
    font-size: 16px;
    color: inherit;
}

.org-users-combo-copy small {
    color: inherit;
    opacity: 0.9;
    font-size: 13px;
}

.org-users-combo-copy--plain {
    gap: 0;
}

.org-users-filter-box {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    min-height: 54px;
    border-left: 1px solid #dfe5f0;
    background: #fff;
}

.org-users-filter-box span {
    padding: 0 16px;
    color: #5e6d87;
    font-size: 14px;
}

.org-users-filter-box input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #31415c;
    padding: 0 16px 0 8px;
    font-size: 15px;
}

.org-users-advanced-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-left: 1px solid #dfe5f0;
    color: #2f73eb;
    background: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.org-users-advanced-link:hover {
    background: #f8fbff;
}

.org-users-table,
.org-user-fields-table {
    margin-top: 0;
    border-top: 1px solid #dfe5f0;
}

.org-users-table-head,
.org-users-table-row {
    display: grid;
    grid-template-columns: 48px minmax(340px, 1.5fr) 0.7fr 0.7fr 0.8fr;
    gap: 24px;
    align-items: center;
    padding: 18px 10px;
}

.org-users-table-head {
    color: #5f6f88;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    min-height: 58px;
}

.org-users-table-row {
    border-top: 1px solid #edf2f8;
    min-height: 104px;
}

.org-users-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
    gap: 22px;
    margin-top: 30px;
}

.org-users-user-card {
    border: 1px solid #dfe5f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}

.org-users-user-card-head {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 30px 24px 22px;
    background: #f7f8fc;
    border-bottom: 1px solid #edf2f8;
    text-align: center;
}

.org-users-user-card-body {
    display: grid;
    gap: 14px;
    padding: 20px 24px 24px;
}

.org-users-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.org-users-card-meta span {
    color: #6d7d96;
    font-size: 14px;
}

.org-users-card-meta strong {
    color: #223453;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
}

.org-users-card-id {
    margin: 0;
    color: #7b88a0;
    font-size: 13px;
}

.org-users-card-name {
    color: #1e68e4;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.org-users-card-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #41516e;
    font-size: 15px;
}

.org-users-card-contact i {
    width: 18px;
    color: #7f8da6;
    text-align: center;
}

.org-users-card-divider {
    border-top: 1px solid #e8edf7;
}

.org-users-checkbox-cell input {
    width: 20px;
    height: 20px;
    accent-color: #4f8ef7;
}

.org-users-details-cell {
    display: flex;
    align-items: center;
    gap: 18px;
}

.org-users-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ffe3d0;
    color: #b45c26;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 500;
}

.org-users-avatar--large {
    width: 74px;
    height: 74px;
    font-size: 26px;
}

.org-users-user-copy {
    display: grid;
    gap: 7px;
}

.org-users-user-copy a {
    color: #2b6fe7;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.org-users-user-id {
    color: #7b88a0;
    font-size: 13px;
}

.org-users-user-copy span,
.org-users-user-copy small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7890;
    font-size: 14px;
}

.org-users-meta-cell {
    color: #273854;
    font-size: 15px;
}

.org-users-meta-cell--strong {
    font-weight: 700;
}

.org-users-role-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f3f5fb;
    color: #5a6d8f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-action-menu--tab {
    display: inline-flex;
    align-items: center;
}

.org-action-menu-popover--status {
    min-width: 200px;
}

.org-users-empty,
.org-users-empty-card,
.org-user-fields-empty {
    padding: 40px 20px;
    color: #70809a;
    text-align: center;
}

.org-users-empty-card {
    border: 1px solid #e4ebf5;
    border-radius: 18px;
    background: #fbfcff;
}

.org-users-empty-card h2 {
    margin: 0 0 12px;
    color: #243754;
    font-size: 26px;
}

.org-users-empty-card p,
.org-user-fields-empty p {
    margin: 0;
    font-size: 16px;
}

.org-roles-new-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #4f8ef7;
    border-radius: 8px;
    background: #4f8ef7;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.org-roles-new-button:hover {
    background: #3f7cea;
}

.org-roles-tip-card {
    margin-top: 20px;
    padding: 22px 20px 24px;
    border: 1px solid #e4eaf4;
    border-radius: 8px;
    background: #fff;
}

.org-roles-tip-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f09a49;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-roles-tip-label span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #ffb56d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.org-roles-tip-card h2 {
    margin: 16px 0 10px;
    color: #4f6288;
    font-size: clamp(1.8rem, 2.2vw, 2.6rem);
    font-weight: 500;
}

.org-roles-tip-card p {
    max-width: 1180px;
    margin: 0;
    color: #5b6b89;
    font-size: 17px;
    line-height: 1.6;
}

.org-roles-tip-card a {
    color: #2c61d8;
    text-decoration: none;
}

.org-roles-table {
    margin-top: 20px;
}

.org-roles-table-head,
.org-roles-table-row {
    display: grid;
    grid-template-columns: minmax(260px, 280px) minmax(420px, 1fr) 72px;
    gap: 18px;
    align-items: center;
    padding: 14px 10px;
    border-bottom: 1px solid #edf1f8;
}

.org-roles-table-head {
    color: #5f6f88;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-roles-table-row:hover {
    background: #f7f9ff;
}

.org-roles-table-head i {
    margin-left: 4px;
    font-size: 12px;
}

.org-roles-name-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.org-roles-name-cell a {
    color: #2b6fe7;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.org-roles-name-cell i {
    color: #6d7d96;
    font-size: 14px;
}

.org-roles-description-cell {
    color: #243754;
    font-size: 16px;
    line-height: 1.6;
}

.org-roles-row-actions {
    display: flex;
    justify-content: flex-end;
}

.org-roles-menu-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid #d4dced;
    border-radius: 6px;
    background: #fff;
    color: #6a7892;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.org-roles-menu-toggle:hover {
    background: #f8fbff;
    color: #2e6fe6;
}

.org-roles-menu-popover {
    min-width: 200px;
}

.org-roles-menu-popover a,
.org-roles-menu-popover .org-action-menu-item {
    justify-content: flex-start;
}

.org-roles-menu-popover span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.org-action-menu-item--danger {
    color: #ef4444;
}

.org-action-menu-item--danger:hover {
    background: #fff4f4;
    color: #dc2626;
}

.org-role-form {
    width: min(100%, 1540px);
    padding-top: 20px;
}

.org-role-form-fields {
    display: grid;
    gap: 24px;
    width: min(100%, 640px);
}

.org-role-field {
    display: grid;
    gap: 10px;
}

.org-role-field span {
    color: #243754;
    font-size: 16px;
}

.org-role-field span em {
    color: #ff4e4e;
    font-style: normal;
}

.org-role-field input,
.org-role-field textarea {
    width: 100%;
    border: 1px solid #d9e1ee;
    border-radius: 6px;
    background: #fff;
    padding: 0 14px;
    color: #283a58;
    font-size: 15px;
    outline: none;
}

.org-role-field input {
    min-height: 48px;
}

.org-role-field textarea {
    min-height: 72px;
    padding-top: 14px;
    padding-bottom: 14px;
    resize: vertical;
}

.org-role-field input:focus,
.org-role-field textarea:focus {
    border-color: #4f8ef7;
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.12);
}

.org-role-permission-banner {
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    margin-top: 34px;
    padding: 0 36px;
    border-radius: 8px;
    background: #f5f7ff;
    color: #596b93;
    font-size: 18px;
    width: min(100%, 980px);
}

.org-role-section {
    width: min(100%, 980px);
    padding-top: 26px;
    border-top: 1px solid #edf1f8;
}

.org-role-section + .org-role-section {
    margin-top: 20px;
}

.org-role-section-title {
    margin: 0 0 20px;
    color: #162844;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.org-role-section-title i,
.org-role-permission-label-cell i {
    color: #6d7d96;
    font-size: 14px;
}

.org-role-section-title--underlined {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.org-role-permission-table-wrap {
    overflow-x: auto;
    width: min(100%, 980px);
    border: 1px solid #edf1f8;
    border-radius: 10px;
    background: #fff;
}

.org-role-permission-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.org-role-permission-table th,
.org-role-permission-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #edf1f8;
    vertical-align: middle;
}

.org-role-permission-table thead th {
    background: #fbfcff;
    color: #6a7b97;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-role-permission-table tbody tr:last-child td {
    border-bottom: 0;
}

.org-role-permission-table th:first-child,
.org-role-permission-table td:first-child {
    text-align: left;
}

.org-role-permission-table th:last-child,
.org-role-permission-table td:last-child {
    text-align: right;
}

.org-role-permission-label-cell {
    color: #162844;
    font-size: 16px;
    line-height: 1.45;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.org-role-permission-control-cell {
    display: flex;
    justify-content: flex-end;
}

.org-role-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.org-role-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: #2e73dd;
}

.org-role-combo {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 320px);
    min-width: 250px;
    border: 0;
    margin-left: auto;
}

.org-role-combo-toggle {
    min-height: 46px;
    border: 1px solid #d9e1ee;
    border-radius: 6px;
    padding: 0 14px;
    width: 100%;
}

.org-role-combo-panel {
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 250px;
}

.org-role-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 0 0;
    margin-top: 22px;
    border-top: 1px solid #edf1f8;
    width: min(100%, 980px);
}

.org-user-close-button {
    width: 44px;
    height: 44px;
    border: 1px solid #d8dfed;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #31415c;
    text-decoration: none;
    flex: 0 0 auto;
}

.org-user-entry-form,
.org-bulk-users-form {
    width: min(100%, 1560px);
    padding-top: 18px;
}

.org-user-entry-form {
    width: min(100%, 1120px);
}

.org-bulk-users-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #efccd1;
    border-radius: 4px;
    background: #f8eaed;
    color: #7d2630;
    font-size: 16px;
}

.org-bulk-users-alert-dot {
    font-size: 20px;
    line-height: 1;
}

.org-bulk-users-alert-close {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #7b6f74;
    cursor: pointer;
    font-size: 16px;
}

.org-bulk-users-alert-close:hover {
    color: #4b2a32;
}

.org-user-entry-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
}

.org-user-entry-grid--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.org-user-entry-grid--double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.org-user-entry-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.org-user-entry-grid--role {
    grid-template-columns: minmax(0, 1fr) 272px;
    gap: 16px;
    align-items: start;
}

.org-user-entry-form label {
    display: grid;
    gap: 10px;
}

.org-user-entry-form label > span {
    color: #243754;
    font-size: 16px;
}

.org-user-required {
    color: #ff4e4e !important;
}

.org-user-entry-form input,
.org-user-entry-form select,
.org-bulk-users-row input,
.org-bulk-users-row select {
    min-height: 46px;
    border: 1px solid #d9e1ee;
    border-radius: 6px;
    background: #fff;
    padding: 0 14px;
    color: #283a58;
    font-size: 15px;
}

.org-user-phone-row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
}

.org-user-phone-row select {
    border-right: 0;
    border-radius: 6px 0 0 6px;
}

.org-user-phone-row input {
    border-radius: 0 6px 6px 0;
}

.org-user-role-preview {
    min-height: 114px;
    border: 1px solid #e3e8f4;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    align-self: start;
    margin-top: 28px;
    box-shadow: 0 14px 28px rgba(30, 42, 72, 0.08);
}

.org-user-role-preview strong {
    display: block;
    padding: 16px 18px 12px;
    background: #f7f8fc;
    color: #51617e;
    font-size: 15px;
    font-weight: 500;
}

.org-user-role-preview ul {
    list-style: none;
    margin: 0;
    padding: 14px 18px 16px;
    display: grid;
    gap: 12px;
    color: #33445f;
    font-size: 15px;
}

.org-user-role-preview li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.org-user-role-preview li i {
    color: #64748b;
}

.org-user-entry-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid #e7edf5;
}

.org-user-field-picker {
    position: relative;
}

.org-user-field-picker--wide {
    width: 100%;
}

.org-user-field-picker-toggle {
    min-height: 46px;
    border: 1px solid #d9e1ee;
    border-radius: 6px;
    padding: 0 14px;
}

.org-user-field-picker-panel {
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 0;
    z-index: 24;
}

.org-user-entry-grid--single {
    grid-template-columns: minmax(0, 724px);
}

.org-user-entry-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #234fa2;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    margin-top: -4px;
}

.org-user-entry-more-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.org-user-combo-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 14px;
    border-top: 1px solid #edf1f8;
    color: #2f6fed;
    background: #f7f9ff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.org-user-combo-footer-link:hover {
    background: #edf4ff;
}

.org-bulk-users-table {
    overflow-x: auto;
    border-top: 1px solid #dfe5f0;
}

.org-bulk-users-head,
.org-bulk-users-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.2fr 1.15fr 1.2fr 0.9fr;
    min-width: 1420px;
}

.org-bulk-users-head {
    color: #5f6f88;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-bulk-users-head span,
.org-bulk-users-row > * {
    padding: 16px 10px;
    border-bottom: 1px solid #edf1f8;
}

.org-bulk-users-head span:first-child {
    color: #ff4e4e;
}

.org-bulk-users-row > * {
    border-right: 1px solid #edf1f8;
}

.org-bulk-users-row > *:last-child,
.org-bulk-users-head span:last-child {
    border-right: 0;
}

.org-bulk-users-row input,
.org-bulk-users-row select,
.org-users-combo-toggle--table {
    width: 100%;
}

.org-bulk-users-role-text {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    color: #152845;
    font-size: 15px;
    font-weight: 400;
}

.org-users-combo-toggle--table {
    min-height: 46px;
    border: 1px solid #d9e1ee;
    border-radius: 6px;
    padding: 0 14px;
}

.org-bulk-users-select {
    position: relative;
}

.org-users-link-button--static {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
}

.org-bulk-users-skip {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #33445f;
}

.org-user-fields-head,
.org-user-fields-row {
    display: grid;
    grid-template-columns: 180px minmax(260px, 1fr) 220px;
    align-items: center;
    border-bottom: 1px solid #edf1f8;
}

.org-user-fields-head {
    min-height: 56px;
    color: #5e6d88;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-user-fields-head span,
.org-user-fields-row > * {
    padding: 0 28px;
}

.org-user-fields-row {
    min-height: 72px;
    background: #fff;
}

.org-user-field-copy {
    display: grid;
    gap: 6px;
}

.org-user-field-copy strong {
    color: #243754;
    font-size: 17px;
}

.org-user-field-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.org-user-field-type-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef3ff;
    color: #345bb8;
    font-size: 12px;
    font-weight: 700;
}

.org-user-field-copy small {
    color: #7a879d;
    font-size: 13px;
}

.org-user-fields-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #eef4ff;
    color: #4a79de;
    font-size: 24px;
}

.org-user-fields-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
}

.org-user-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.org-user-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.org-user-toggle span {
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #d7deea;
    position: relative;
}

.org-user-toggle span::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26, 39, 67, 0.18);
    transition: transform 140ms ease;
}

.org-user-toggle input:checked + span {
    background: #4f8ef7;
}

.org-user-toggle input:checked + span::after {
    transform: translateX(18px);
}

.org-user-field-builder-grid {
    display: grid;
    grid-template-columns: minmax(0, 560px) 320px;
    gap: 54px;
    align-items: start;
    padding-top: 22px;
}

.org-user-field-form-panel {
    display: grid;
    gap: 22px;
}

.org-user-field-label {
    display: grid;
    gap: 10px;
}

.org-user-field-label-text,
.org-user-field-radio-row > span {
    color: #243754;
    font-size: 16px;
}

.org-user-field-label-text--required {
    color: #ff4e4e;
}

.org-user-field-label input,
.org-user-field-select {
    min-height: 46px;
    border: 1px solid #d9e1ee;
    border-radius: 8px;
    background: #fff;
    padding: 0 14px;
    color: #283a58;
    font-size: 15px;
}

.org-user-field-advanced {
    display: grid;
    gap: 20px;
}

.org-user-field-remaining {
    margin: -4px 0 0;
    color: #253756;
    font-size: 14px;
}

.org-user-field-binary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border: 1px dashed #d7deea;
    border-radius: 12px;
    background: #fbfcff;
}

.org-user-field-binary-card > span {
    color: #243754;
    font-size: 16px;
}

.org-user-field-binary-toggle,
.org-user-field-radio-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.org-user-field-binary-toggle label,
.org-user-field-radio-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #243754;
    font-size: 15px;
}

.org-user-field-preview-card {
    min-height: 150px;
    padding: 18px 20px;
    border: 1px solid #edf1f8;
    border-radius: 18px;
    background:
        radial-gradient(circle at 3px 3px, rgba(79, 142, 247, 0.12) 0 1px, transparent 1.2px) 0 0/12px 12px,
        #fcfdff;
}

.org-user-field-preview-card > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    color: #243754;
    font-size: 13px;
    font-weight: 700;
}

.org-user-field-preview-control {
    margin-top: 34px;
    min-height: 48px;
    border: 1px solid #dce4f0;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #62728b;
    font-size: 15px;
}

.org-user-field-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #e7edf5;
}

.org-settings-form {
    width: min(100%, 1040px);
}

.org-settings-card,
.org-settings-contact-card,
.org-settings-support-card {
    display: grid;
    gap: 20px;
    margin-top: 28px;
    padding: 20px 0 26px;
    border-bottom: 1px solid #e6edf5;
}

.org-settings-card {
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
}

.org-settings-logo-box {
    display: grid;
    gap: 18px;
    padding: 20px 0;
}

.org-settings-logo-upload {
    width: 114px;
    height: 114px;
    border: 1px dashed #cdd8ea;
    border-radius: 8px;
    color: #5f6f8a;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 15px;
    overflow: hidden;
    cursor: pointer;
}

.org-settings-logo-upload i {
    color: #64748b;
    font-size: 22px;
}

.org-settings-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.org-settings-logo-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.org-settings-logo-box small {
    color: #667791;
    font-size: 13px;
    line-height: 1.5;
}

.org-settings-field-group,
.org-settings-grid label,
.org-settings-inline-field {
    display: grid;
    gap: 10px;
}

.org-settings-section {
    width: min(100%, 1040px);
    padding: 26px 0;
    border-bottom: 1px solid #e6edf5;
}

.org-settings-section h2 {
    margin: 0 0 18px;
    color: #172844;
    font-size: 21px;
    font-weight: 600;
}

.org-settings-grid {
    display: grid;
    gap: 14px;
}

.org-settings-grid--single {
    grid-template-columns: 1fr;
}

.org-settings-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.org-settings-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.org-settings-grid span,
.org-settings-inline-field span {
    color: #21314d;
    font-size: 16px;
}

.org-settings-inline-field small {
    color: #6c7d98;
    font-size: 14px;
}

.org-settings-form input {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #ccd6e6;
    border-radius: 6px;
    background: #fff;
    color: #21314d;
    font-size: 16px;
}

.org-settings-form input[readonly] {
    background: #f2f5fd;
    color: #243754;
}

.org-picker {
    position: relative;
    width: 100%;
}

.org-settings-picker-toggle {
    min-height: 44px;
}

.org-picker-wrap {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #ccd6e6;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    justify-content: space-between;
    text-align: left;
}

.org-picker-text {
    flex: 1 1 auto;
    color: #21314d;
    font-size: 16px;
    text-align: left;
    line-height: 1.35;
    min-width: 0;
}

.org-picker-text.is-placeholder {
    color: #9aa7bd;
}

.org-picker-caret {
    color: #8fa0bb;
    font-size: 13px;
}

.org-picker-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    padding: 10px;
    border: 1px solid #d5def0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(24, 39, 75, 0.14);
    z-index: 90;
}

.org-picker-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #4c82ff;
    border-radius: 6px;
    background: #f5f8ff;
    color: #8fa0bb;
}

.org-picker-search {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    color: #21314d;
    font-size: 15px;
}

.org-picker-list {
    display: grid;
    gap: 4px;
    max-height: 290px;
    margin-top: 10px;
    overflow: auto;
}

.org-picker-option {
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #21314d;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    line-height: 1.35;
}

.org-picker-option:hover {
    background: #f4f7fd;
}

.org-picker-option.is-selected {
    background: #2c6edb;
    color: #fff;
    font-weight: 600;
}

.org-settings-contact-card {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    max-width: 676px;
    padding: 24px 20px;
    border: 1px solid #e4eaf4;
    border-radius: 8px;
}

.org-settings-contact-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #d7f5de;
    color: #287956;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.org-settings-contact-copy {
    display: grid;
    gap: 6px;
}

.org-settings-contact-copy strong {
    color: #21314d;
    font-size: 17px;
    font-weight: 500;
}

.org-settings-contact-copy span {
    color: #4c5e7b;
    font-size: 15px;
}

.org-settings-support-card {
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: center;
    max-width: 676px;
    padding: 20px;
    border: 1px solid #e4eaf4;
    border-radius: 8px;
}

.org-settings-support-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2878eb;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.org-settings-regional-row,
.org-settings-toolbar,
.org-currency-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.org-settings-regional-row {
    margin-bottom: 18px;
}

.org-settings-toolbar .save-btn {
    width: auto;
}

.org-settings-footer {
    width: min(100%, 1040px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0 10px;
}

.org-currency-table {
    margin-top: 18px;
    border-top: 1px solid #dfe6f0;
}

.org-currency-row {
    padding: 16px 10px;
    border-bottom: 1px solid #e8edf4;
}

.org-currency-row--head {
    color: #5f6d85;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-currency-row strong {
    color: #2368eb;
    font-size: 16px;
    font-weight: 500;
}

.org-currency-row em {
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    background: #2fad54;
    color: #fff;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.save-btn--ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    min-height: 44px;
    width: auto;
    background: #26b16d;
}

.save-btn--ghost-secondary {
    background: #fff;
    color: #21314d;
    border: 1px solid #ccd6e6;
}

.org-branding-tabs {
    display: flex;
    align-items: center;
    gap: 42px;
}

.org-branding-tab {
    position: relative;
    padding: 0 0 18px;
    color: #172844;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
}

.org-branding-tab.is-active {
    color: #26b16d;
}

.org-branding-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: #26b16d;
}

.org-branding-card {
    max-width: 676px;
    margin-top: 8px;
    padding: 20px 30px 22px;
    border: 1px solid #e4eaf4;
    border-radius: 8px;
}

.org-branding-name-block {
    display: grid;
    gap: 10px;
    align-content: center;
}

.org-branding-name-block label {
    color: #243754;
    font-size: 18px;
}

.org-branding-name-block strong {
    color: #172844;
    font-size: 33px;
    font-weight: 500;
}

.org-branding-section {
    width: min(100%, 676px);
}

.org-branding-theme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 206px));
    gap: 24px;
}

.org-branding-theme-card {
    display: block;
    cursor: pointer;
}

.org-branding-theme-card input,
.org-branding-accent-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.org-branding-theme-preview {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    min-height: 136px;
    overflow: hidden;
    border: 1px solid #dfe6f0;
    border-radius: 8px;
    background: #fff;
}

.org-branding-theme-card.is-active .org-branding-theme-preview {
    border-color: #26b16d;
    box-shadow: 0 0 0 2px #26b16d inset;
}

.org-branding-theme-rail {
    grid-row: 1 / span 2;
}

.org-branding-theme-accent {
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    height: 20px;
    background: #28b06d;
}

.org-branding-theme-copy {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 20px 12px;
    text-align: center;
    color: #243754;
}

.org-branding-theme-copy i {
    font-size: 23px;
}

.org-branding-theme-copy strong {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.org-branding-theme-preview--dark .org-branding-theme-rail {
    background: #262d46;
}

.org-branding-theme-preview--light .org-branding-theme-rail {
    background: #f4f5fb;
}

.org-branding-accent-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.org-branding-accent-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.org-branding-accent-chip.is-active {
    background: #28b06d;
    border-color: #1d9c5d;
    color: #fff;
}

.org-branding-accent-swatch {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-block;
}

.org-branding-accent-label {
    font-size: 15px;
    font-weight: 600;
}

.org-branding-accent-chip:not(.is-active) .org-branding-accent-label {
    display: none;
}

.org-branding-accent-chip:not(.is-active) i {
    display: none;
}

.org-branding-accent-chip--blue .org-branding-accent-swatch {
    background: #4781ec;
}

.org-branding-accent-chip--green .org-branding-accent-swatch {
    background: #27b06c;
}

.org-branding-accent-chip--red .org-branding-accent-swatch {
    background: #ff4f5d;
}

.org-branding-accent-chip--orange .org-branding-accent-swatch {
    background: #ff9132;
}

.org-branding-accent-chip--gradient .org-branding-accent-swatch {
    background: linear-gradient(135deg, #4f6fff 0%, #b926ff 50%, #ff8d2c 100%);
}

.org-branding-note {
    margin: 26px 0 0;
    color: #1f2b44;
    font-size: 14px;
}

.org-custom-domain-intro {
    margin-top: 20px;
    max-width: 1500px;
    padding: 26px 20px 24px;
    border: 1px solid #e4eaf4;
    border-radius: 8px;
    background: #fff;
}

.org-custom-domain-tip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f09a49;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-custom-domain-tip span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #ffb56d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.org-custom-domain-intro h2 {
    margin: 16px 0 12px;
    color: #566a91;
    font-size: 40px;
    font-weight: 500;
}

.org-custom-domain-intro p {
    max-width: 1180px;
    margin: 0;
    color: #5b6b89;
    font-size: 18px;
    line-height: 1.55;
}

.org-custom-domain-form {
    width: min(100%, 676px);
}

.org-custom-domain-block {
    padding: 28px 0 18px;
}

.org-custom-domain-block h2 {
    margin: 0 0 18px;
    color: #172844;
    font-size: 24px;
    font-weight: 600;
}

.org-custom-domain-input-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 68px;
    border: 1px solid #4b82ff;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.org-custom-domain-prefix {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    color: #243754;
    font-size: 17px;
}

.org-custom-domain-input-wrap input {
    min-height: 66px;
    border: 0;
    border-radius: 0;
    padding: 0 14px 0 0;
    font-size: 16px;
}

.org-custom-domain-input-wrap .save-btn {
    width: auto;
    min-height: 48px;
    margin-right: 12px;
    padding: 0 20px;
}

.org-custom-domain-block p {
    margin: 10px 0 0;
    color: #5d6f8b;
    font-size: 15px;
}

.org-custom-domain-block p span {
    color: #2c61d8;
}

.org-custom-domain-step {
    width: min(100%, 676px);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 22px 16px;
    border: 1px solid #e4eaf4;
    border-radius: 8px;
    background: #fff;
}

.org-custom-domain-step-index {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f2f4fb;
    color: #172844;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
}

.org-custom-domain-step strong {
    color: #172844;
    font-size: 18px;
    font-weight: 500;
}

.admin-settings-detail-header--centered {
    justify-content: center;
}

.org-settings-toolbar--tight {
    gap: 12px;
}

.admin-settings-nav-subgroup {
    display: grid;
    gap: 8px;
}

.admin-settings-nav-sublinks {
    display: grid;
    gap: 6px;
    padding-left: 14px;
}

.admin-settings-nav-sublink {
    color: #6f7ea8;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none;
}

.admin-settings-nav-sublink.is-active,
.admin-settings-nav-sublink:hover {
    background: #edf2ff;
    color: #2f6fe4;
}

.custom-module-page {
    display: grid;
    gap: 22px;
}

.custom-module-header {
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 0;
    border-bottom: 0;
}

.custom-module-title-block {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.custom-module-title-block h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 28px;
    font-weight: 500;
    color: #182845;
}

.custom-module-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.custom-module-tabs-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dfe6f4;
    flex-wrap: wrap;
}

.custom-module-gear {
    color: #52648f;
    font-size: 18px;
}

.custom-module-toolbar {
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.custom-module-usage {
    color: #2f6fe4;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.custom-module-scope-row {
    display: flex;
}

.custom-module-scope-button {
    border: 1px solid #dbe2f0;
    background: #f5f7fc;
    color: #21304f;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.custom-module-table-wrap {
    border-top: 1px solid #e1e6f4;
    background: #fff;
    overflow: hidden;
}

.custom-module-table-wrap--overview {
    min-height: 460px;
}

.custom-module-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-module-table th,
.custom-module-table td {
    border-bottom: 1px solid #edf1f8;
    padding: 18px 8px;
    text-align: left;
}

.custom-module-table th {
    color: #697a9e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.custom-module-table th:first-child,
.custom-module-table td:first-child {
    padding-left: 6px;
}

.custom-module-table th:last-child,
.custom-module-table td:last-child {
    padding-right: 6px;
}

.custom-module-link {
    color: #21304f;
    text-decoration: none;
    font-weight: 600;
}

.custom-module-link:hover {
    color: #2f6fe4;
}

.custom-module-field-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #21304f;
}

.custom-module-field-name i {
    color: #2b3345;
    font-size: 14px;
}

.custom-module-empty-cell {
    color: #7a87a8;
    text-align: center;
    padding: 28px 20px;
}

.custom-module-empty-cell--large {
    padding: 90px 20px;
    font-size: 16px;
}

.custom-module-placeholder-card {
    border: 1px solid #e1e6f4;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #f7faff);
    padding: 28px;
    color: #52648f;
}

.custom-module-placeholder-card h2 {
    margin: 0 0 10px;
    color: #21304f;
}

.custom-module-modal {
    width: min(1080px, calc(100vw - 48px));
    max-height: none;
    border-radius: 10px;
}

.custom-module-modal-backdrop {
    place-items: start center;
    overflow-y: auto;
    padding-top: 56px;
    padding-bottom: 40px;
}

.custom-module-form {
    display: grid;
    gap: 18px;
}

.custom-module-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 405px);
    gap: 18px;
}

.custom-module-form-grid-full {
    max-width: 405px;
}

.custom-module-form textarea,
.custom-module-form input,
.custom-module-form select {
    width: 100%;
}

.custom-module-field-hint {
    color: #97a4c3;
    font-size: 12px;
    vertical-align: middle;
}

.custom-module-permissions {
    display: grid;
    gap: 12px;
}

.custom-module-permissions-title {
    color: #e04452;
    font-weight: 600;
}

.custom-module-permission-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-module-permission-table th,
.custom-module-permission-table td {
    border-top: 1px solid #edf1f8;
    padding: 16px 10px;
    text-align: center;
}

.custom-module-permission-table th:first-child,
.custom-module-permission-table td:first-child {
    text-align: left;
}

.custom-module-permission-table tbody tr:first-child td {
    background: #fbfcff;
}

.custom-module-sharing-section {
    display: grid;
    gap: 14px;
}

.custom-module-sharing-title {
    color: #e04452;
    font-weight: 600;
}

.custom-module-sharing-cards {
    display: grid;
    gap: 12px;
    max-width: 700px;
}

.custom-module-sharing-card {
    display: grid;
    gap: 6px;
    padding: 14px 16px 14px 42px;
    border: 1px solid #dce4f2;
    border-radius: 10px;
    background: #fff;
    color: #5d6f91;
    font-size: 14px;
    line-height: 1.35;
    cursor: pointer;
    position: relative;
}

.custom-module-sharing-card input {
    position: absolute;
    inset: 18px auto auto 16px;
    width: 16px;
    height: 16px;
}

.custom-module-sharing-card strong {
    color: #21304f;
    font-size: 16px;
    font-weight: 500;
}

.custom-module-sharing-card.is-active {
    border-color: #2f6fe4;
    background: #f5f9ff;
    box-shadow: 0 0 0 1px rgba(47, 111, 228, 0.05);
}

.custom-module-tabs .org-users-tab {
    padding-left: 0;
    padding-right: 0;
    margin-right: 28px;
    font-size: 17px;
}

.custom-module-tabs .org-users-tab:last-child {
    margin-right: 0;
}

@media (max-width: 960px) {
    .custom-module-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .custom-module-form-grid-full {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .custom-module-title-block h1 {
        font-size: 24px;
    }

    .custom-module-tabs-row {
        align-items: flex-start;
        gap: 14px;
    }

    .custom-module-tabs .org-users-tab {
        margin-right: 18px;
        font-size: 15px;
    }
}

.org-action-menu {
    position: relative;
}

.org-action-menu-toggle {
    width: 46px;
    height: 44px;
    border: 1px solid #ccd6e6;
    border-radius: 8px;
    background: #fff;
    color: #243754;
    cursor: pointer;
}

.org-action-menu-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 10px 0;
    border: 1px solid #dce4f2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(24, 39, 75, 0.14);
    z-index: 40;
}

.org-action-menu-popover strong,
.org-action-menu-popover a {
    display: block;
    padding: 10px 18px;
}

.org-action-menu-popover strong {
    color: #687894;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-action-menu-popover a {
    color: #21314d;
    text-decoration: none;
}

.org-action-menu-popover a,
.org-action-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.org-action-menu-popover a:hover {
    background: #f5f8ff;
    color: #245ad5;
}

.org-action-menu-popover a.is-active {
    background: #eef4ff;
    color: #245ad5;
    font-weight: 600;
}

.org-action-menu--split .org-action-menu-popover {
    right: 0;
}

.org-action-menu-popover--compact {
    min-width: 200px;
}

.org-action-menu-popover--compact a {
    justify-content: flex-start;
}

.org-action-menu-item {
    width: 100%;
    padding: 10px 18px;
    border: 0;
    background: transparent;
    color: #21314d;
    text-align: left;
    cursor: pointer;
}

.org-action-menu-item:hover {
    background: #f5f8ff;
    color: #245ad5;
}

.org-action-menu-popover hr {
    border: 0;
    border-top: 1px solid #edf2f8;
    margin: 8px 0;
}

.org-department-empty {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 70px 20px;
    text-align: center;
}

.org-department-empty-illustration {
    position: relative;
    width: 240px;
    height: 180px;
}

.org-department-empty-illustration span {
    position: absolute;
    border: 3px solid #d9e2f3;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
}

.org-department-empty-illustration span:nth-child(1) {
    inset: 12px 110px 76px 24px;
    border-style: dashed;
}

.org-department-empty-illustration span:nth-child(2) {
    inset: 72px 124px 14px 10px;
}

.org-department-empty-illustration span:nth-child(3) {
    inset: 8px 8px 10px 108px;
}

.org-department-empty h2,
.org-department-tip h2,
.org-ai-copy + .org-ai-form .org-ai-feature-copy strong {
    color: #172844;
}

.org-department-empty h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.org-department-empty p,
.org-department-tip p,
.org-ai-copy,
.org-ai-feature-copy p,
.org-import-sample,
.org-import-finish p {
    color: #536684;
    font-size: 16px;
    line-height: 1.55;
}

.org-department-tip {
    margin-top: 18px;
    padding: 22px 20px;
    border: 1px solid #e4eaf4;
    border-radius: 8px;
}

.org-department-tip h2 {
    margin: 14px 0 8px;
    font-size: 22px;
}

.org-department-tip p {
    margin: 0;
}

.org-department-tip a,
.org-ai-terms-note a,
.org-import-sample a {
    color: #2468eb;
    text-decoration: none;
}

.org-department-table {
    margin-top: 12px;
}

.org-department-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(240px, 1fr) 140px 56px;
    gap: 16px;
    align-items: center;
    padding: 16px 12px;
    border-bottom: 1px solid #e8edf4;
}

.org-department-row--head {
    padding-top: 10px;
    color: #5f6d85;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-department-row--head a {
    color: inherit;
    text-decoration: none;
}

.org-department-name {
    display: grid;
    gap: 6px;
}

.org-department-name strong {
    color: #2468eb;
    font-size: 16px;
    font-weight: 500;
}

.org-department-name span {
    color: #556986;
    font-size: 15px;
}

.org-department-head-pill {
    display: inline-grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: fit-content;
    padding: 10px 16px 10px 0;
    border-radius: 999px;
    background: #f3f6fe;
}

.org-department-head-pill span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2edff;
    color: #2468eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.org-department-head-pill strong,
.org-department-head-pill small,
.org-import-meta strong,
.org-import-map-head strong,
.org-import-finish strong {
    display: block;
}

.org-department-head-pill strong {
    color: #2468eb;
    font-size: 15px;
}

.org-department-head-pill small {
    color: #5a6d8a;
    font-size: 14px;
}

.org-department-member-count {
    color: #172844;
    font-size: 16px;
}

.org-department-delete {
    width: 40px;
    height: 40px;
    border: 1px solid #d8e0ee;
    border-radius: 8px;
    background: #fff;
    color: #243754;
    cursor: pointer;
}

.admin-settings-detail-content--departments {
    padding: 22px 36px 32px;
}

.admin-settings-detail-content--departments .admin-settings-detail-header {
    padding: 0 0 26px;
    border-bottom-color: #dfe6f4;
}

.admin-settings-detail-content--departments .admin-settings-detail-header h1 {
    color: #091a38;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 0;
}

.admin-settings-detail-content--departments .org-settings-toolbar .save-btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 5px;
    background: #4285f4;
    color: #fff;
    box-shadow: none;
    font-size: 16px;
    font-weight: 600;
}

.admin-settings-detail-content--departments .org-action-menu-toggle {
    width: 46px;
    height: 44px;
    border-radius: 6px;
    color: #172844;
}

.admin-settings-detail-content--departments .org-department-tip {
    margin-top: 20px;
    padding: 26px 20px 22px;
    border-color: #e2e8f4;
    border-radius: 5px;
    background: #fff;
}

.admin-settings-detail-content--departments .org-custom-domain-tip {
    color: #ffad7a;
}

.admin-settings-detail-content--departments .org-custom-domain-tip span {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #ffb27d;
    font-size: 17px;
}

.admin-settings-detail-content--departments .org-department-tip h2 {
    margin: 12px 0 6px;
    color: #40527c;
    font-size: 27px;
    font-weight: 600;
}

.admin-settings-detail-content--departments .org-department-tip p {
    color: #40527c;
    font-size: 16px;
}

.admin-settings-detail-content--departments .org-department-table {
    margin-top: 8px;
}

.admin-settings-detail-content--departments .org-department-row {
    grid-template-columns: minmax(300px, 1.45fr) minmax(280px, 0.95fr) minmax(120px, 0.32fr) 48px;
    gap: 28px;
    min-height: 80px;
    padding: 16px 10px;
    border-bottom-color: #e5eaf3;
}

.admin-settings-detail-content--departments .org-department-row--head {
    min-height: 48px;
    padding-top: 12px;
    padding-bottom: 10px;
    color: #40527c;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.admin-settings-detail-content--departments .org-department-name strong {
    color: #2468eb;
    font-size: 16px;
}

.admin-settings-detail-content--departments .org-department-name span {
    color: #40527c;
    font-size: 16px;
}

.admin-settings-detail-content--departments .org-department-head-pill {
    max-width: 305px;
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 0 16px 0 0;
    background: #f5f4fb;
}

.admin-settings-detail-content--departments .org-department-head-pill span {
    background: #ffe6d3;
    color: #9f4b13;
    font-size: 20px;
}

.admin-settings-detail-content--departments .org-department-head-pill div {
    min-width: 0;
}

.admin-settings-detail-content--departments .org-department-head-pill strong,
.admin-settings-detail-content--departments .org-department-head-pill small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-settings-detail-content--departments .org-department-head-pill strong {
    color: #2468eb;
    font-size: 16px;
}

.admin-settings-detail-content--departments .org-department-head-pill small {
    color: #40527c;
    font-size: 16px;
}

.admin-settings-detail-content--departments .org-department-member-count {
    color: #091a38;
}

.admin-settings-detail-content--departments .org-department-row:not(.org-department-row--head) .org-department-delete {
    opacity: 0;
    transition: opacity 140ms ease, background 140ms ease;
}

.admin-settings-detail-content--departments .org-department-row:not(.org-department-row--head):hover .org-department-delete,
.admin-settings-detail-content--departments .org-department-delete:focus-visible {
    opacity: 1;
}

.org-modal-backdrop.org-department-modal-backdrop {
    align-items: start;
    padding-top: 108px;
    background: rgba(16, 24, 40, 0.62);
    z-index: 1200;
}

.org-modal-card.org-department-modal {
    width: min(100%, 625px);
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
}

.org-department-modal .org-modal-head {
    min-height: 58px;
    padding: 0 24px;
    border-bottom: 1px solid #eef2f8;
    background: #fbfcff;
}

.org-department-modal .org-modal-head h2 {
    color: #0b1736;
    font-size: 23px;
    font-weight: 500;
}

.org-department-modal .org-modal-close {
    width: 32px;
    height: 32px;
    border-color: #dfe6f1;
    background: #fff;
    color: #243754;
}

.org-modal-form.org-department-form {
    gap: 24px;
    padding: 22px 24px 20px;
}

.org-department-form .org-modal-grid--two {
    grid-template-columns: minmax(0, 1fr) 166px;
    gap: 38px;
}

.org-department-form label {
    gap: 8px;
}

.org-department-form label > span {
    color: #333b4b;
    font-size: 16px;
    font-weight: 400;
}

.org-department-form .org-modal-required > span {
    color: #e72d3d;
}

.org-department-form input,
.org-department-form select,
.org-department-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cbd3e4;
    border-radius: 5px;
    background: #fff;
    color: #303747;
    font-size: 16px;
    outline: none;
}

.org-department-form input,
.org-department-form select {
    padding: 0 16px;
}

.org-department-form textarea {
    min-height: 120px;
    padding: 14px 16px;
}

.org-department-form input:focus,
.org-department-form select:focus,
.org-department-form textarea:focus {
    border-color: #2f73ff;
    box-shadow: 0 0 0 3px rgba(47, 115, 255, 0.12), 0 8px 18px rgba(47, 115, 255, 0.18);
}

.org-department-form .org-modal-actions {
    margin: 22px -24px 0;
    padding: 20px 24px 0;
    border-top: 1px solid #e8edf4;
}

.org-department-form .save-btn {
    min-height: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 5px;
    background: #4285f4;
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
}

.org-department-form .save-btn--ghost-secondary {
    border: 1px solid #cbd3e4;
    background: #fff;
    color: #172844;
}

.org-modal-backdrop {
    position: fixed;
    inset: 0;
    padding: 30px 18px;
    background: rgba(24, 31, 45, 0.56);
    display: grid;
    place-items: center;
    z-index: 80;
}

.org-modal-backdrop.custom-module-modal-backdrop {
    place-items: start center;
    overflow-y: auto;
    padding-top: 56px;
    padding-bottom: 40px;
}

.org-modal-card {
    width: min(100%, 626px);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

.org-modal-card.custom-module-modal {
    width: min(1080px, calc(100vw - 48px));
    max-height: none;
    border-radius: 10px;
}

.org-modal-card--large {
    width: min(100%, 876px);
}

.org-modal-card.tax-group-modal {
    width: min(100%, 760px);
}

.org-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #e8edf4;
}

.org-modal-head h2 {
    margin: 0;
    color: #172844;
    font-size: 24px;
    font-weight: 500;
}

.org-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #dfe6f1;
    color: #54657f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.org-modal-form {
    display: grid;
    gap: 18px;
    padding: 22px 24px 24px;
}

.org-modal-grid {
    display: grid;
    gap: 18px;
}

.org-modal-grid--two {
    grid-template-columns: 1.4fr 0.6fr;
}

.org-modal-form label,
.org-import-field,
.org-import-map-row,
.org-ai-row {
    display: grid;
    gap: 10px;
}

.org-modal-required {
    gap: 8px;
}

.org-modal-form span,
.org-import-field span,
.org-import-map-row label {
    color: #243754;
    font-size: 16px;
}

.org-modal-form textarea,
.org-modal-form select,
.org-import-field select,
.org-import-map-row select,
.org-ai-row select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #ccd6e6;
    border-radius: 8px;
    background: #fff;
    color: #21314d;
    font-size: 16px;
}

.org-modal-form textarea {
    min-height: 120px;
    padding: 14px;
    resize: vertical;
}

.org-modal-list-block {
    display: grid;
    gap: 12px;
}

.org-modal-list-label {
    color: #243754;
    font-size: 16px;
}

.org-modal-required > span,
.org-modal-list-label--required {
    color: #d92d2a;
}

.tax-group-list-block {
    min-height: 160px;
    padding-bottom: 10px;
}

.org-modal-empty-state {
    min-height: 72px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 6px;
    color: #64748b;
    font-size: 16px;
}

.org-modal-checkbox-list {
    display: grid;
    gap: 12px;
    max-height: 220px;
    overflow: auto;
    padding-right: 4px;
}

.org-export-group {
    display: grid;
    gap: 14px;
}

.org-export-group > span {
    color: #243754;
    font-size: 16px;
}

.org-export-radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #243754;
}

.org-modal-actions,
.org-import-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px 24px;
}

.org-modal-actions {
    padding-top: 0;
}

.org-modal-actions--start {
    justify-content: flex-start;
}

.org-import-shell {
    width: min(100%, 940px);
    margin: 0 auto;
    padding: 16px 0 0;
}

.org-import-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    color: #526583;
}

.org-import-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8eef9;
    color: #4f6587;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.org-import-step.is-active {
    background: #2f74de;
    color: #fff;
}

.org-import-step.is-complete {
    background: #2eb67d;
    color: #fff;
}

.org-import-card {
    display: grid;
    gap: 18px;
}

.org-import-dropzone {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 42px 20px;
    border: 2px dashed #d8e2f4;
    border-radius: 12px;
    text-align: center;
    background: #fcfdff;
}

.org-import-dropzone input {
    display: none;
}

.org-import-dropzone-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #f3f7ff;
    color: #3b82f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.org-import-dropzone strong {
    color: #172844;
    font-size: 20px;
}

.org-import-dropzone small {
    color: #8091aa;
}

.org-import-sample,
.org-import-meta {
    margin: 0;
}

.org-import-meta span {
    color: #f08a2a;
}

.org-import-map-head,
.org-import-map-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 320px);
    align-items: center;
    gap: 24px;
}

.org-import-map-head {
    padding-top: 8px;
    border-top: 1px solid #e5ebf4;
    color: #5b6a85;
}

.org-import-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #243754;
}

.org-import-finish {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 26px 20px;
    border-radius: 12px;
    background: #f6f8fd;
}

.org-import-finish-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #57bef6;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.org-import-unmapped {
    padding: 12px 0 0;
    border-top: 1px solid #e5ebf4;
}

.org-import-unmapped summary {
    cursor: pointer;
    color: #f08a2a;
}

.org-ai-copy {
    margin: 26px 0 24px;
}

.org-ai-form {
    width: min(100%, 1420px);
}

.org-ai-card {
    border: 1px solid #dfe6f0;
    border-radius: 10px;
    overflow: hidden;
}

.org-ai-table-head,
.org-ai-row {
    display: grid;
    grid-template-columns: minmax(360px, 1.3fr) 320px 320px;
    gap: 26px;
    align-items: start;
}

.org-ai-table-head {
    padding: 14px 20px;
    border-bottom: 1px solid #e6edf5;
    color: #5f6d85;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.org-ai-row {
    padding: 24px 20px 28px;
}

.org-ai-feature-copy {
    position: relative;
    padding-left: 54px;
}

.org-ai-feature-copy strong {
    display: block;
    margin-bottom: 10px;
    color: #172844;
    font-size: 18px;
}

.org-ai-feature-copy p {
    margin: 0;
}

.org-ai-toggle {
    position: absolute;
    margin-left: -54px;
    margin-top: -2px;
}

.org-ai-toggle input {
    position: absolute;
    opacity: 0;
}

.org-ai-toggle span {
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #d7dde9;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.org-ai-toggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 120ms ease;
}

.org-ai-toggle input:checked + span {
    background: #3b82f6;
}

.org-ai-toggle input:checked + span::after {
    transform: translateX(18px);
}

.org-ai-terms-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0 0;
    color: #243754;
}

.org-ai-terms-body {
    max-height: 520px;
    padding: 22px 24px 24px;
    overflow: auto;
    color: #172844;
    line-height: 1.6;
}

.org-ai-terms-body h3 {
    margin: 20px 0 10px;
    font-size: 18px;
}

body.light-pane .admin-settings-detail-content {
    background: #fff;
}

body.dark-pane .admin-settings-detail-content {
    background: #fff;
}

@media (max-width: 1400px) {
    .admin-settings-grid--five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .org-user-field-builder-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .admin-settings-topbar {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 14px;
    }

    .admin-settings-search,
    .admin-settings-close {
        justify-self: stretch;
        width: 100%;
    }

    .admin-settings-brand-icon {
        padding-right: 14px;
    }

    .admin-settings-grid--five,
    .admin-settings-grid--three {
        grid-template-columns: 1fr;
    }

    .admin-settings-detail-shell {
        grid-template-columns: 1fr;
    }

    .org-settings-card,
    .org-settings-grid--two,
    .org-settings-grid--three,
    .org-settings-contact-card,
    .org-settings-support-card,
    .org-settings-regional-row,
    .org-settings-toolbar,
    .org-settings-footer,
    .org-branding-theme-grid,
    .org-custom-domain-input-wrap {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .org-custom-domain-input-wrap .save-btn {
        width: calc(100% - 24px);
        margin: 0 12px 12px;
    }

    .org-department-row,
    .org-import-map-head,
    .org-import-map-row,
    .org-ai-table-head,
    .org-ai-row,
    .org-modal-grid--two,
    .org-roles-table-head,
    .org-roles-table-row {
        grid-template-columns: 1fr;
    }

    .org-users-filter-row,
    .org-users-table-head,
    .org-users-table-row,
    .org-user-fields-head,
    .org-user-fields-row {
        grid-template-columns: 1fr;
    }

    .org-categories-table .policy-list-head,
    .org-categories-table .policy-list-row {
        grid-template-columns: 1fr;
    }

    .org-users-toolbar,
    .org-users-filter-box,
    .org-user-fields-footer,
    .org-user-field-actions,
    .org-user-field-binary-card,
    .org-user-entry-actions,
    .org-role-form-actions,
    .org-categories-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .org-categories-page-header {
        align-items: stretch;
    }

    .org-categories-table-toolbar {
        justify-content: stretch;
    }

    .org-merchants-header,
    .org-merchants-modal-footer {
        align-items: stretch;
    }

    .org-merchants-search {
        width: 100%;
    }

    .org-merchants-table-wrap {
        overflow-x: auto;
    }

    .org-merchants-empty-state {
        min-height: auto;
        padding-bottom: 32px;
    }

    .org-merchants-modal {
        width: 100%;
        padding: 20px;
    }

    .org-users-filter-icon,
    .org-users-advanced-link,
    .org-users-filter-box,
    .org-users-combo {
        border-left: 0;
        border-top: 1px solid #dfe5f0;
    }

    .org-users-filter-row > :first-child {
        border-top: 0;
    }

    .org-users-user-copy a {
        font-size: 18px;
    }

    .org-users-combo {
        grid-template-columns: 1fr;
    }

    .org-users-combo-panel {
        left: 0;
        width: 100%;
        min-width: 0;
    }

    .org-role-form-fields,
    .org-role-permission-banner,
    .org-role-section,
    .org-role-permission-table-wrap,
    .org-role-form-actions {
        width: 100%;
    }

    .org-role-permission-table,
    .org-role-permission-table thead,
    .org-role-permission-table tbody,
    .org-role-permission-table tr,
    .org-role-permission-table th,
    .org-role-permission-table td {
        display: block;
        width: 100%;
    }

    .org-role-permission-table thead {
        display: none;
    }

    .org-role-permission-table tr {
        padding: 14px 0;
        border-top: 1px solid #edf1f8;
    }

    .org-role-permission-table tbody tr:first-child {
        border-top: 0;
    }

    .org-role-permission-table th,
    .org-role-permission-table td {
        border-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .org-role-permission-label-cell {
        margin-bottom: 12px;
    }

    .org-role-permission-control-cell {
        justify-content: flex-start;
    }

    .org-role-combo {
        min-width: 0;
        width: 100%;
        margin-left: 0;
    }

    .org-user-entry-grid--triple,
    .org-user-entry-grid--double,
    .org-user-entry-grid--role,
    .org-user-entry-more-grid {
        grid-template-columns: 1fr;
    }
}

.admin-shell .dashboard-sidebar {
    padding-top: 0;
}

.admin-sidebar {
    background: linear-gradient(180deg, #f7f8ff 0%, #f2f4fb 100%);
}

.admin-main {
    background:
        radial-gradient(circle at 12% 8%, rgba(134, 164, 255, 0.1), transparent 14%),
        radial-gradient(circle at 86% 12%, rgba(134, 164, 255, 0.08), transparent 16%),
        #fcfdff;
}

.admin-topbar {
    border-bottom: 1px solid #edf1f7;
}

.admin-topbar-trial {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.admin-topbar-trial a {
    color: #4b86ff;
    text-decoration: none;
}

.admin-view-pill {
    pointer-events: none;
}

.admin-shell {
    --admin-sidebar-bg: var(--sidebar-bg);
    --admin-sidebar-border: var(--sidebar-border);
    --admin-brand-bg: var(--sidebar-brand-bg);
    --admin-brand-border: var(--sidebar-brand-border);
    --admin-sidebar-link: var(--sidebar-text);
    --admin-sidebar-link-hover-bg: var(--sidebar-hover-bg);
    --admin-sidebar-link-hover-text: var(--sidebar-hover-text);
    --admin-sidebar-active-bg: var(--accent);
    --admin-sidebar-active-text: var(--accent-contrast);
    --admin-sidebar-switch-bg: var(--sidebar-switch-bg);
    --admin-sidebar-switch-text: var(--sidebar-switch-text);
    --admin-collapse-bg: var(--sidebar-collapse-bg);
    --admin-collapse-text: var(--sidebar-collapse-text);
}

.admin-dashboard-content {
    padding: 22px 38px 42px;
    display: grid;
    gap: 18px;
}

.admin-dashboard-hero-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 14px 0 2px;
}

.admin-shell .admin-sidebar {
    background: var(--admin-sidebar-bg);
    border-right-color: var(--admin-sidebar-border);
}

.admin-shell .admin-sidebar .sidebar-brand {
    background: var(--admin-brand-bg);
    border-bottom-color: var(--admin-brand-border);
}

.admin-shell .admin-sidebar .sidebar-link {
    color: var(--admin-sidebar-link);
}

.admin-shell .admin-sidebar .sidebar-link:hover {
    background: var(--admin-sidebar-link-hover-bg);
    color: var(--admin-sidebar-link-hover-text);
}

.admin-shell .admin-sidebar .sidebar-link.is-active {
    background: var(--admin-sidebar-active-bg);
    color: var(--admin-sidebar-active-text);
}

.admin-shell .admin-sidebar .sidebar-admin-switch {
    background: var(--admin-sidebar-switch-bg);
    color: var(--admin-sidebar-switch-text);
}

.admin-shell .admin-sidebar .sidebar-collapse {
    background: var(--admin-collapse-bg);
    color: var(--admin-collapse-text);
}

.admin-shell .admin-main {
    background: var(--admin-main-bg);
}

.admin-shell .admin-topbar {
    background: var(--admin-topbar-bg);
    color: var(--admin-topbar-text);
    border-bottom: 1px solid var(--admin-topbar-border);
}

.admin-shell .admin-topbar .dashboard-search {
    background: var(--admin-search-bg);
    border-color: var(--admin-search-border);
    color: var(--admin-search-text);
}

.admin-shell .admin-topbar .dashboard-search input {
    color: var(--admin-search-text);
}

.admin-shell .admin-topbar .dashboard-search input::placeholder {
    color: var(--admin-search-placeholder);
}

.admin-shell .admin-topbar .view-pill,
.admin-shell .admin-topbar .topbar-icon,
.admin-shell .admin-topbar .topbar-icon-link,
.admin-shell .admin-topbar .avatar-button {
    color: var(--admin-topbar-text);
}

.admin-shell .admin-topbar .topbar-divider {
    background: rgba(136, 149, 173, 0.35);
}

.admin-shell .admin-topbar .topbar-square.primary {
    background: var(--admin-sidebar-active-bg);
}

.admin-shell .admin-topbar .topbar-square.primary:hover,
.admin-shell .admin-topbar .topbar-square.primary:focus-visible,
.admin-shell .admin-topbar .topbar-icon:hover,
.admin-shell .admin-topbar .topbar-icon:focus-visible,
.admin-shell .admin-topbar .topbar-icon-link:hover,
.admin-shell .admin-topbar .topbar-icon-link:focus-visible,
.admin-shell .admin-topbar .view-pill:hover,
.admin-shell .admin-topbar .view-pill:focus-visible {
    background: var(--admin-icon-hover-bg);
}

.admin-dashboard-hero-user {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admin-dashboard-hero-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    border: 1px solid #dfe6f4;
    background: #fff;
    color: #5f6f90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.admin-dashboard-hero-user h1 {
    margin: 0;
    color: #1c2640;
    font-size: 16px;
    font-weight: 800;
}

.admin-dashboard-hero-user p {
    margin: 4px 0 0;
    color: #4d5c7e;
    font-size: 14px;
}

.admin-dashboard-hero-help {
    text-align: right;
    color: #27406d;
    display: grid;
    gap: 4px;
}

.admin-dashboard-hero-help strong {
    font-size: 14px;
    font-weight: 700;
}

.admin-dashboard-hero-help span {
    color: #66748f;
    font-size: 13px;
}

.admin-dashboard-tabs {
    display: flex;
    gap: 42px;
    align-items: center;
    padding-bottom: 2px;
    border-bottom: 1px solid #e8edf5;
    overflow-x: auto;
}

.admin-dashboard-tab {
    position: relative;
    padding: 12px 0 14px;
    color: #1d2944;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.admin-dashboard-tab.is-active {
    color: #3f7ef0;
}

.admin-dashboard-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px;
    background: #4a83f5;
}

.admin-getting-started-shell {
    display: grid;
    gap: 24px;
    padding-bottom: 24px;
}

.admin-getting-started-banner {
    position: relative;
    margin: -18px -38px 0;
    padding: 20px 38px 10px;
    border-bottom: 1px solid #e8edf5;
    overflow: hidden;
    background: #fff;
}

.admin-getting-started-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 8% 28%, rgba(151, 171, 255, 0.22) 0 2px, transparent 3px),
        radial-gradient(circle at 24% 20%, rgba(151, 171, 255, 0.22) 0 3px, transparent 4px),
        radial-gradient(circle at 46% 42%, rgba(151, 171, 255, 0.18) 0 2px, transparent 3px),
        radial-gradient(circle at 68% 24%, rgba(151, 171, 255, 0.18) 0 3px, transparent 4px),
        radial-gradient(circle at 90% 30%, rgba(151, 171, 255, 0.18) 0 2px, transparent 3px);
    background-size: 180px 120px;
}

.admin-getting-started-banner-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.admin-dashboard-empty-tab {
    min-height: calc(100vh - 250px);
    display: grid;
    place-items: center;
    padding: 32px 24px 72px;
}

.admin-dashboard-empty-tab--announcements {
    padding-top: 48px;
}

.admin-dashboard-empty-hero {
    display: grid;
    justify-items: center;
    gap: 18px;
    text-align: center;
}

.admin-dashboard-empty-illustration {
    position: relative;
    width: min(100%, 500px);
    height: 310px;
}

.admin-dashboard-empty-stage {
    position: absolute;
    left: 72px;
    right: 72px;
    bottom: 42px;
    height: 150px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(180deg, #f8fbff 0%, #edf3ff 100%);
    box-shadow: inset 0 -36px 0 rgba(215, 225, 246, 0.38);
}

.admin-dashboard-empty-stage::before {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 28px;
    height: 46px;
    background:
        linear-gradient(90deg, transparent 0 8%, rgba(212, 220, 241, 0.82) 8% 13%, transparent 13% 21%, rgba(212, 220, 241, 0.78) 21% 28%, transparent 28% 41%, rgba(212, 220, 241, 0.7) 41% 49%, transparent 49% 60%, rgba(212, 220, 241, 0.8) 60% 68%, transparent 68% 79%, rgba(212, 220, 241, 0.72) 79% 86%, transparent 86% 100%);
    opacity: 0.9;
}

.admin-dashboard-empty-stage::after {
    content: '';
    position: absolute;
    left: -20px;
    right: -20px;
    bottom: -2px;
    height: 2px;
    background: #e2e8f5;
}

.admin-dashboard-empty-blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226, 234, 252, 0.55) 0%, rgba(255, 255, 255, 0) 72%);
}

.admin-dashboard-empty-blob--left {
    width: 126px;
    height: 126px;
    left: 62px;
    top: 88px;
}

.admin-dashboard-empty-blob--right {
    width: 160px;
    height: 160px;
    right: 44px;
    top: 42px;
}

.admin-dashboard-empty-megaphone {
    position: absolute;
    left: 50%;
    bottom: 42px;
    width: 148px;
    height: 170px;
    transform: translateX(-50%);
}

.admin-dashboard-empty-megaphone-handle {
    position: absolute;
    left: 56px;
    bottom: 0;
    width: 34px;
    height: 92px;
    border-radius: 10px;
    background: linear-gradient(180deg, #1d2d47 0%, #0f1728 100%);
    transform: skew(-6deg);
    box-shadow: 0 14px 22px rgba(16, 24, 40, 0.12);
}

.admin-dashboard-empty-megaphone-body {
    position: absolute;
    left: 22px;
    top: 18px;
    width: 84px;
    height: 36px;
    border-radius: 18px 16px 16px 18px;
    background: linear-gradient(180deg, #fefefe 0%, #dbe4f7 100%);
    border: 1px solid #d7e0f2;
    transform: rotate(-12deg);
}

.admin-dashboard-empty-megaphone-rim {
    position: absolute;
    left: 88px;
    top: 8px;
    width: 42px;
    height: 56px;
    border-radius: 0 20px 20px 0;
    background: linear-gradient(180deg, #edf3ff 0%, #ced8ee 100%);
    border: 1px solid #d5def1;
    transform: rotate(-12deg);
    clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 82%);
}

.admin-dashboard-empty-card {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 18px 24px rgba(55, 84, 170, 0.12);
}

.admin-dashboard-empty-card--purple {
    top: 48px;
    left: 188px;
    background: #d9ccff;
    color: #5641b4;
}

.admin-dashboard-empty-card--green {
    top: 82px;
    right: 128px;
    background: #c9f2b8;
    color: #4a7c2b;
}

.admin-dashboard-empty-card--blue {
    top: 118px;
    right: 34px;
    background: #cfe3ff;
    color: #4c78b8;
}

.admin-dashboard-empty-card--yellow {
    top: 182px;
    right: 116px;
    background: #fff28a;
    color: #6d6110;
}

.admin-dashboard-empty-card--peach {
    top: 234px;
    right: 28px;
    background: #ffd6c2;
    color: #92573b;
}

.admin-dashboard-empty-confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    transform: rotate(18deg);
}

.admin-dashboard-empty-confetti--one {
    left: 94px;
    top: 198px;
    background: #a8d79b;
}

.admin-dashboard-empty-confetti--two {
    left: 156px;
    top: 84px;
    width: 2px;
    height: 22px;
    border-radius: 999px;
    background: #5b84ff;
}

.admin-dashboard-empty-confetti--three {
    right: 182px;
    top: 132px;
    width: 2px;
    height: 10px;
    border-radius: 999px;
    background: #40d7f3;
}

.admin-dashboard-empty-confetti--four {
    right: 78px;
    top: 230px;
    background: #ff6f61;
}

.admin-dashboard-empty-copy {
    display: grid;
    gap: 10px;
    max-width: 560px;
}

.admin-dashboard-empty-copy h2 {
    margin: 0;
    color: #172844;
    font-size: clamp(34px, 3vw, 54px);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.admin-dashboard-empty-copy p {
    margin: 0;
    color: #5f6f8f;
    font-size: 17px;
    line-height: 1.55;
}

.admin-dashboard-empty-copy--compact {
    justify-items: center;
}

.admin-dashboard-panel,
.admin-dashboard-group {
    margin: 0 auto;
    width: min(100%, 980px);
}

.admin-dashboard-panel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 24px 36px;
    border: 1px solid #e6ecf6;
    border-radius: 8px;
    background: #fff;
}

.admin-dashboard-panel-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.admin-dashboard-panel-icon--navy {
    background: #2d3554;
    color: #fff;
}

.admin-dashboard-panel-icon--amber {
    background: #ffe9b1;
    color: #ff9150;
}

.admin-dashboard-panel-copy h2 {
    margin: 0;
    color: #182743;
    font-size: 17px;
    font-weight: 700;
}

.admin-dashboard-panel-copy h2 span {
    color: #ff6666;
}

.admin-dashboard-panel-copy p {
    margin: 8px 0 0;
    color: #4f607f;
    font-size: 14px;
    line-height: 1.55;
}

.admin-getting-started-shell .admin-dashboard-panel,
.admin-getting-started-shell .admin-dashboard-group,
.admin-getting-started-shell .admin-footer-links,
.admin-getting-started-shell .admin-dashboard-footer,
.admin-getting-started-shell .admin-resource-grid {
    width: min(100%, 980px);
}

.admin-dashboard-panel-button,
.admin-admin-card-action {
    min-width: 116px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 6px;
    background: #eaf2ff;
    color: #4581f2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.admin-dashboard-group {
    border: 1px solid #e6ecf6;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.admin-dashboard-group-title {
    padding: 20px 38px;
    background: #4a88f2;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.admin-dashboard-card-list {
    display: grid;
    gap: 22px;
    padding: 22px;
}

.admin-admin-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 30px 28px;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    background: #fff;
}

.admin-admin-card-icon,
.admin-do-more-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f2f5fb;
    color: #404d68;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.admin-admin-card-copy h3,
.admin-do-more-card-copy h3 {
    margin: 0;
    color: #1c2945;
    font-size: 17px;
    font-weight: 500;
}

.admin-admin-card-copy p,
.admin-do-more-card-copy p {
    margin: 6px 0 0;
    color: #42526f;
    font-size: 14px;
    line-height: 1.55;
}

.admin-admin-card-helper {
    display: inline-block;
    margin-top: 12px;
    color: #4d82f4;
    font-size: 13px;
    text-decoration: none;
}

.admin-admin-card-action {
    white-space: nowrap;
}

.admin-dashboard-group--do-more {
    padding: 0;
}

.admin-dashboard-do-more-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid #e6ecf6;
}

.admin-dashboard-do-more-head h2 {
    margin: 0;
    color: #1f2a45;
    font-size: 19px;
    font-weight: 600;
}

.admin-dashboard-do-more-icon {
    color: #c95cff;
    font-size: 22px;
}

.admin-dashboard-do-more-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    padding: 14px 18px 18px;
    align-items: start;
}

.admin-footer-links {
    width: min(100%, 980px);
    margin: 22px auto 0;
    padding: 38px 64px 20px;
    border-top: 1px solid #e7edf7;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
}

.admin-dashboard-footer {
    margin-top: 8px;
    padding-top: 22px;
    padding-bottom: 28px;
    border-top: 1px solid #e7edf7;
    color: #2b3350;
    font-size: 12px;
}

.admin-do-more-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px 12px;
    color: inherit;
    text-decoration: none;
    border-radius: 12px;
}

.admin-do-more-card:hover {
    background: #f8fbff;
}

.admin-do-more-card-arrow {
    color: #4b6086;
    font-size: 24px;
}

.admin-resource-grid--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #e7edf7;
    border-bottom: 1px solid #e7edf7;
    background: #fff;
}

.admin-resource-card--contact {
    min-height: 128px;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    border-right: 1px solid #e7edf7;
    padding: 24px 32px;
}

.admin-resource-card--contact:last-child {
    border-right: 0;
}

.admin-resource-card--contact .admin-contact-item {
    margin: 0;
    align-items: center;
}

.admin-resource-card--contact .admin-contact-item p {
    color: #223252;
    line-height: 1.45;
}

.admin-resource-card--contact .admin-contact-item p strong {
    font-weight: 500;
}

.admin-resource-card--contact .admin-contact-item a {
    color: #3f7ef0;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .admin-dashboard-content {
        padding-inline: 24px;
    }

    .admin-getting-started-banner {
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 760px) {
    .admin-dashboard-content {
        padding: 18px 14px 28px;
    }

    .admin-dashboard-hero-card,
    .admin-dashboard-panel,
    .admin-admin-card,
    .admin-do-more-card {
        grid-template-columns: 1fr;
        display: grid;
    }

    .admin-dashboard-hero-help {
        text-align: left;
    }

.admin-dashboard-tabs {
    gap: 24px;
}

body.admin-travel-documents-page {
    background: #f7f9fc;
}

.travel-documents-content {
    padding: 28px 36px 40px;
}

.travel-documents-shell {
    display: grid;
    gap: 18px;
}

.travel-documents-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.travel-documents-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e2d49;
    font-size: 18px;
}

.travel-documents-breadcrumb a {
    color: #1e2d49;
    text-decoration: none;
}

.travel-documents-breadcrumb strong {
    color: #4a86f7;
    font-size: 22px;
    font-weight: 500;
}

.travel-documents-primary {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    background: #4a86f7;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.travel-documents-alert {
    max-width: 520px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.travel-documents-alert--error {
    color: #bd1f2d;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.travel-documents-alert--success {
    color: #166534;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
}

.travel-documents-create-card {
    border: 1px solid #dfe6f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(33, 47, 78, 0.08);
}

.travel-documents-create-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #e8edf6;
}

.travel-documents-create-head h2 {
    margin: 0;
    color: #172844;
    font-size: 22px;
    font-weight: 600;
}

.travel-documents-create-head p {
    margin: 6px 0 0;
    color: #64748b;
}

.travel-documents-close-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.travel-documents-close-link:hover,
.travel-documents-close-link:focus-visible {
    background: #f3f5fd;
    color: #172844;
}

.travel-documents-create-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 24px;
}

.travel-documents-create-form label {
    display: grid;
    gap: 8px;
    color: #45597e;
    font-size: 13px;
    font-weight: 700;
}

.travel-documents-create-form select,
.travel-documents-create-form input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d8e0ef;
    border-radius: 8px;
    padding: 0 12px;
    color: #172844;
    background: #fff;
    font: inherit;
}

.travel-documents-file-field input {
    padding: 9px 12px;
}

.travel-documents-create-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 6px;
}

.travel-documents-create-actions button,
.travel-documents-create-actions a {
    min-height: 42px;
    border-radius: 8px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
}

.travel-documents-create-actions button {
    border: 0;
    background: #4a86f7;
    color: #fff;
    cursor: pointer;
}

.travel-documents-create-actions a {
    border: 1px solid #d8e0ef;
    color: #45597e;
    background: #fff;
}

.travel-documents-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dfe6f3;
}

.travel-documents-tab {
    position: relative;
    color: #1d2944;
    text-decoration: none;
    font-size: 18px;
    padding-bottom: 8px;
}

.travel-documents-tab.is-active {
    color: #3f7ef0;
}

.travel-documents-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 3px;
    border-radius: 999px;
    background: #4a86f7;
}

.travel-documents-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #f3f5fd;
}

.travel-documents-filter-chip {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1f2740;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.travel-documents-department {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid #d8e0ef;
    border-radius: 999px;
    overflow: visible;
    background: #fff;
}

.travel-documents-department span {
    padding: 0 18px;
    color: #45597e;
    border-right: 1px solid #e4eaf5;
}

.travel-documents-department select {
    min-width: 220px;
    height: 38px;
    border: 0;
    outline: 0;
    padding: 0 16px;
    background: transparent;
    color: #5d6f91;
}

.travel-documents-table-wrap {
    overflow-x: auto;
    background: #fff;
}

.travel-documents-table {
    width: 100%;
    border-collapse: collapse;
}

.travel-documents-table th,
.travel-documents-table td {
    padding: 18px 10px;
    border-bottom: 1px solid #e8edf6;
    text-align: left;
}

.travel-documents-table th {
    color: #586886;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.travel-documents-table td {
    color: #172844;
    font-size: 14px;
}

.travel-documents-empty {
    padding: 88px 16px !important;
    text-align: center !important;
    color: #6d7b94 !important;
    font-size: 18px !important;
}

.travel-documents-attachment {
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #edf4ff;
    color: #2d6ae8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.travel-documents-attachment--empty {
    background: #f2f4f8;
    color: #7b88a3;
}

.travel-documents-menu {
    position: relative;
}

.doc-type-dropdown {
    position: relative;
    display: inline-block;
}

.travel-documents-menu-toggle,
.travel-documents-more-tab {
    min-width: 38px;
    min-height: 38px;
    border: 1px solid #d8e0ef;
    border-radius: 999px;
    background: #fff;
    color: #45597e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.doc-type-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #d6dce8;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    color: #4b5675;
}

.travel-documents-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    min-width: 220px;
    padding: 8px;
    border: 1px solid #dfe6f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(33, 47, 78, 0.14);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doc-type-menu {
    position: absolute;
    top: 42px;
    left: 0;
    width: 190px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e9f2;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    z-index: 1000;
    display: none;
}

.doc-type-menu.show {
    display: block;
}

.doc-type-menu .doc-type-item,
.department-search-dropdown .department-option {
    display: block;
    width: 100%;
    justify-content: flex-start;
}

.travel-documents-menu-heading {
    padding: 8px 10px;
    color: #7b88a3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.doc-type-title {
    padding: 0 16px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #8a94a6;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.travel-documents-menu-panel a {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    color: #172844;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.travel-documents-menu-panel a:hover,
.travel-documents-menu-panel a.is-active {
    background: #edf4ff;
    color: #2d6ae8;
}

.doc-type-menu .doc-type-item.is-active {
    background: #edf4ff;
    color: #2d6ae8;
}

.doc-type-item {
    display: block;
    padding: 11px 16px;
    color: #2f3542;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.doc-type-item:hover {
    background: #f5f7fb;
    color: #2563eb;
}

.travel-documents-type-menu {
    min-width: 160px;
}

.travel-documents-sort-menu {
    min-width: 190px;
}

.travel-documents-department-menu {
    min-width: 260px;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f7f8fd;
    padding: 14px;
    border-radius: 14px;
    margin-top: 18px;
}

.filter-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1d2746;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.travel-documents-menu-search {
    min-height: 40px;
    margin: 0 0 8px;
    padding: 0 10px;
    border: 1px solid #dfe6f3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.travel-documents-menu-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
}

.department-wrapper {
    position: relative;
}

.department-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dce3f0;
    border-radius: 30px;
    overflow: visible;
    height: 44px;
}

.department-label {
    padding: 0 18px;
    font-size: 15px;
    color: #5d6b82;
    border-right: 1px solid #e5e9f2;
}

.department-select-btn {
    flex: 1;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #98a2b3;
    border: 0;
    background: transparent;
    cursor: pointer;
    min-width: 220px;
}

.department-search-dropdown {
    position: absolute;
    top: 55px;
    left: 0;
    width: 260px;
    background: #fff;
    border: 1px solid #dfe5f1;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: none;
    z-index: 999;
}

.department-search-dropdown.show {
    display: block;
}

.department-search {
    width: 100%;
    border: none;
    border-bottom: 1px solid #eef1f6;
    padding: 14px;
    outline: none;
    font-size: 14px;
}

.department-option {
    display: block;
    padding: 12px 16px;
    cursor: pointer;
    transition: 0.2s;
    color: #2f3542;
    text-decoration: none;
}

.department-option:hover {
    background: #2f6fed;
    color: #fff;
}

.department-option.is-active {
    background: #2f6fed;
    color: #fff;
    font-weight: 600;
}

.travel-documents-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.travel-documents-row-action {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #d8e0ef;
    border-radius: 999px;
    background: #fff;
    color: #45597e;
    font: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.travel-documents-row-action--delete,
.travel-documents-delete-button {
    border-color: #fecdd3;
    color: #bd1f2d;
}

.travel-documents-row-delete-form {
    margin: 0;
}

@media (max-width: 760px) {
    .travel-documents-content {
        padding: 18px 14px 28px;
    }

    .travel-documents-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .travel-documents-create-form {
        grid-template-columns: 1fr;
    }

    .travel-documents-tabs {
        gap: 18px;
        overflow-x: auto;
    }

    .travel-documents-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .travel-documents-department {
        width: 100%;
    }

    .travel-documents-department select {
        min-width: 0;
        width: 100%;
    }

    .travel-documents-row-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

    .admin-getting-started-banner {
        margin-left: -14px;
        margin-right: -14px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .admin-getting-started-banner-top {
        grid-template-columns: 1fr;
        display: grid;
    }

    .admin-dashboard-panel,
    .admin-admin-card {
        padding: 20px 18px;
    }

    .admin-dashboard-group-title {
        padding: 18px 20px;
    }

    .admin-dashboard-card-list {
        padding: 16px;
    }

    .admin-dashboard-do-more-grid,
    .admin-resource-grid--split {
        grid-template-columns: 1fr;
    }

    .admin-resource-card--contact {
        border-right: 0;
        border-bottom: 1px solid #e7edf7;
    }

    .admin-resource-card--contact:last-child {
        border-bottom: 0;
    }

    .admin-dashboard-do-more-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .admin-footer-links {
        padding: 26px 18px 12px;
        gap: 24px;
    }
}

.admin-dashboard-content {
    padding: 24px 36px 40px;
    gap: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 140px, rgba(246, 248, 253, 0.98) 140px 100%);
}

.admin-dashboard-hero-card,
.admin-dashboard-support-banner,
.admin-dashboard-summary-grid,
.admin-dashboard-grid,
.admin-resource-grid,
.admin-footer-links,
.admin-dashboard-footer {
    width: 100%;
    max-width: none;
    margin: 0;
}

.admin-dashboard-hero-card {
    padding: 14px 0 0;
}

.admin-dashboard-hero-user h1 {
    font-size: 17px;
}

.admin-dashboard-tabs {
    gap: 40px;
    border-bottom-color: #dfe6f3;
}

.admin-dashboard-tab {
    font-size: 18px;
}

.admin-dashboard-support-banner,
.admin-card,
.admin-resource-card {
    border: 1px solid #e3e8f3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(20, 35, 80, 0.04);
}

.admin-dashboard-support-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px 38px;
}

.admin-dashboard-support-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #ffe6a9;
    color: #cc5f52;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
}

.admin-dashboard-support-copy h2 {
    margin: 0;
    color: #243455;
    font-size: 18px;
    font-weight: 500;
}

.admin-dashboard-support-copy h2 span {
    color: #ff6f61;
}

.admin-dashboard-support-copy p {
    margin: 10px 0 0;
    color: #576787;
    font-size: 14px;
}

.admin-dashboard-support-button {
    min-width: 158px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    background: #4b87f5;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.admin-dashboard-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(320px, 1fr);
    gap: 24px;
}

.admin-dashboard-grid {
    display: grid;
    gap: 24px;
}

.admin-dashboard-grid--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-card {
    min-height: 340px;
    overflow: hidden;
}

.admin-card--overall {
    min-height: 340px;
}

.admin-card--chart {
    min-height: 430px;
}

.admin-card-head {
    min-height: 48px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #eef2f8;
    background: linear-gradient(180deg, #fbfcff 0%, #f6f8fd 100%);
}

.admin-card-title {
    color: #51648d;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-card-range {
    position: relative;
}

.admin-card-range summary {
    list-style: none;
    cursor: pointer;
    color: #546685;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-card-range summary::-webkit-details-marker {
    display: none;
}

.admin-card-range[open] .admin-card-range-menu {
    display: grid;
}

.admin-card-range-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    padding: 10px 0;
    border: 1px solid #e4e9f4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(25, 43, 92, 0.12);
    display: none;
    z-index: 6;
}

.admin-card-range-group {
    padding: 8px 20px 6px;
    color: #7586a8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
}

.admin-card-range-option {
    padding: 10px 20px;
    border: 0;
    background: transparent;
    color: #253454;
    text-align: left;
    font-size: 13px;
    cursor: pointer;
}

.admin-card-range-option.is-active,
.admin-card-range-option:hover {
    background: #f3f6fb;
}

.admin-chart-shell {
    padding: 38px 24px 18px;
}

.admin-chart-caption {
    text-align: center;
    color: #4c638e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    margin-bottom: 24px;
}

.admin-chart-grid {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: end;
}

.admin-chart-yaxis {
    min-height: 270px;
    display: grid;
    align-content: stretch;
    color: #5e7199;
    font-size: 12px;
}

.admin-chart-yaxis span {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.admin-chart-plot {
    position: relative;
    min-height: 270px;
    border-left: 1px solid #eef2f9;
    border-bottom: 1px solid #eef2f9;
    background-image:
        linear-gradient(to right, rgba(233, 238, 246, 0.8) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(233, 238, 246, 0.8) 1px, transparent 1px);
    background-size: calc(100% / 12) 20%, 100% 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-chart-svg {
    position: absolute;
    inset: 0 0 22px 0;
    width: 100%;
    height: calc(100% - 22px);
    overflow: visible;
}

.admin-chart-area {
    fill: rgba(46, 196, 134, 0.12);
}

.admin-chart-line {
    fill: none;
    stroke: #31c98b;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-chart-point {
    fill: #fff;
    stroke: #31c98b;
    stroke-width: 1;
}

.admin-chart-empty,
.admin-empty-state {
    color: #6f7fa0;
    font-size: 17px;
    text-align: center;
}

.admin-chart-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-chart-months {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding-top: 10px;
    color: #5d7198;
    font-size: 12px;
}

.admin-chart-months span {
    text-align: center;
}

.admin-overall-list {
    padding: 26px 26px 18px;
    display: grid;
    gap: 24px;
}

.admin-overall-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
}

.admin-overall-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.admin-overall-icon--peach { background: #ffefe5; color: #7d6856; }
.admin-overall-icon--blue { background: #eaf0ff; color: #5f73a4; }
.admin-overall-icon--cyan { background: #dff5ff; color: #4f7488; }
.admin-overall-icon--mint { background: #e6f6ee; color: #668670; }

.admin-overall-label {
    color: #263658;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.admin-overall-label i {
    color: #bac4d8;
    font-size: 13px;
}

.admin-overall-copy strong {
    display: block;
    margin-top: 4px;
    color: #12223f;
    font-size: 17px;
    font-weight: 700;
}

.admin-mini-table {
    padding: 12px 24px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    color: #5f7197;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.admin-empty-state {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-simple-list {
    padding: 8px 24px 24px;
}

.admin-simple-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 52px;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f8;
    color: #263658;
}

.admin-simple-row strong {
    color: #11213f;
    font-size: 15px;
}

.admin-report-tabs {
    padding: 14px 24px 0;
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #edf1f8;
}

.admin-report-tab {
    padding: 0 0 14px;
    border: 0;
    background: transparent;
    color: #4a5f8a;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

.admin-report-tab span {
    color: inherit;
}

.admin-report-tab.is-active {
    color: #4282f1;
}

.admin-report-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px;
    background: #4282f1;
}

.admin-report-panel {
    display: none;
}

.admin-report-panel.is-active {
    display: block;
}

.admin-corporate-summary {
    padding: 18px 24px 16px;
}

.admin-corporate-summary-top {
    min-height: 92px;
    border: 1px solid #e4efe7;
    border-bottom: 0;
    background: #eff8f2;
    display: grid;
    place-items: center;
    color: #50668c;
    font-size: 15px;
}

.admin-corporate-summary-top strong {
    color: #27a43e;
    font-size: 18px;
}

.admin-corporate-summary-sub {
    border: 1px solid #e4e9f5;
    padding: 12px 16px;
    text-align: center;
    color: #54688d;
}

.admin-corporate-summary-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
    border-top: 1px solid #eef2f8;
    border-bottom: 1px solid #eef2f8;
}

.admin-corporate-summary-split > div {
    min-height: 180px;
    padding: 26px 20px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #55688f;
}

.admin-corporate-summary-split > div + div {
    border-left: 1px solid #eef2f8;
}

.admin-corporate-summary-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid #e8edf7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3f516f;
    font-size: 22px;
}

.admin-corporate-summary-split strong {
    color: #192846;
    font-size: 18px;
}

.admin-corporate-summary-link {
    margin-top: 16px;
    color: #4481f3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 4px;
}

.admin-resource-card {
    min-height: 270px;
    padding: 26px 24px;
}

.admin-resource-title {
    color: #7082a5;
    font-size: 14px;
    margin-bottom: 22px;
}

.admin-contact-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 28px;
}

.admin-contact-item p,
.admin-mobile-copy p {
    margin: 0;
    color: #213452;
    line-height: 1.55;
}

.admin-contact-item a {
    color: #4380ef;
    text-decoration: none;
}

.admin-contact-icon {
    width: 44px;
    height: 44px;
    border: 1px solid #e5ebf4;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2d3d58;
    font-size: 24px;
}

.admin-mobile-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 22px;
    align-items: center;
}

.admin-mobile-preview {
    height: 180px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 251, 255, 0.96)),
        linear-gradient(135deg, #ff7456, #45b36b, #f4ba45);
    border: 1px solid #edf1f8;
    position: relative;
}

.admin-mobile-preview::before {
    content: "";
    position: absolute;
    inset: 22px 28px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, #eef3ff 0 16px, transparent 16px),
        linear-gradient(90deg, #ff7456 0 32%, #45b36b 32% 64%, #f6b84f 64% 100%);
}

.admin-mobile-icons {
    margin-top: 24px;
    display: flex;
    gap: 18px;
    color: #202f4d;
    font-size: 32px;
}

.admin-resource-links {
    display: grid;
    gap: 22px;
}

.admin-resource-link {
    color: #253657;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
}

.admin-resource-link--rose i { color: #ff5e84; }
.admin-resource-link--green i { color: #67d48f; }
.admin-resource-link--violet i { color: #8b62ff; }

.admin-footer-links {
    margin-top: 6px;
    padding: 36px 0 8px;
    border-top: 1px solid #e5eaf3;
}

@media (max-width: 1180px) {
    .admin-batch-payments-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .admin-batch-payments-preview-card,
    .admin-batch-payments-section,
    .admin-batch-payments-hero {
        width: 100%;
    }

    .admin-batch-payments-flow-top,
    .admin-batch-payments-flow-bottom {
        grid-template-columns: 1fr;
    }

    .admin-batch-payments-flow-top > :last-child {
        grid-column: auto;
    }

    .admin-batch-payments-flow-arrow {
        transform: rotate(90deg);
    }

    .admin-batch-payments-flow-bottom {
        margin-left: 0;
        justify-content: center;
    }

    .admin-batch-payments-flow-turn {
        display: none;
    }

    .admin-dashboard-summary-grid,
    .admin-dashboard-grid--triple,
    .admin-resource-grid {
        grid-template-columns: 1fr;
    }

    .admin-card,
    .admin-card--chart,
    .admin-card--overall,
    .admin-resource-card {
        min-height: 0;
    }

    .admin-empty-state {
        min-height: 160px;
    }
}

@media (max-width: 760px) {
    .admin-dashboard-content {
        padding: 18px 14px 28px;
        gap: 18px;
    }

    .admin-batch-payments-content {
        padding: 18px 14px 28px;
    }

    .admin-batch-payments-hero {
        padding-top: 10px;
    }

    .admin-batch-payments-hero-copy h1 {
        font-size: clamp(34px, 11vw, 42px);
    }

    .admin-batch-payments-preview-shell,
    .admin-batch-payments-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .admin-batch-payments-preview-tabs {
        gap: 18px;
    }

    .admin-batch-payments-preview-row {
        grid-template-columns: 20px 1fr 0.8fr 48px;
        gap: 10px;
    }

    .admin-batch-payments-preview-row .admin-batch-payments-preview-line--small {
        display: none;
    }

    .admin-batch-payments-flow-card {
        width: 100%;
        max-width: 220px;
    }

    .admin-dashboard-empty-tab {
        min-height: calc(100vh - 220px);
        padding-inline: 12px;
    }

    .admin-dashboard-empty-tab--announcements {
        padding-top: 28px;
    }

    .admin-dashboard-empty-illustration {
        width: 100%;
        max-width: 360px;
        height: 250px;
    }

    .admin-dashboard-empty-stage {
        left: 34px;
        right: 34px;
        bottom: 36px;
        height: 126px;
    }

    .admin-dashboard-empty-blob--left {
        left: 12px;
        top: 84px;
        width: 94px;
        height: 94px;
    }

    .admin-dashboard-empty-blob--right {
        right: 8px;
        top: 26px;
        width: 118px;
        height: 118px;
    }

    .admin-dashboard-empty-megaphone {
        width: 122px;
        height: 142px;
    }

    .admin-dashboard-empty-megaphone-handle {
        left: 46px;
        width: 30px;
        height: 78px;
    }

    .admin-dashboard-empty-megaphone-body {
        left: 18px;
        top: 22px;
        width: 70px;
        height: 30px;
    }

    .admin-dashboard-empty-megaphone-rim {
        left: 74px;
        top: 14px;
        width: 36px;
        height: 46px;
    }

    .admin-dashboard-empty-card {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .admin-dashboard-empty-card--purple {
        left: 118px;
        top: 34px;
    }

    .admin-dashboard-empty-card--green {
        right: 92px;
        top: 64px;
    }

    .admin-dashboard-empty-card--blue {
        right: 8px;
        top: 96px;
    }

    .admin-dashboard-empty-card--yellow {
        right: 92px;
        top: 154px;
    }

    .admin-dashboard-empty-card--peach {
        right: 6px;
        top: 198px;
    }

    .admin-dashboard-empty-copy h2 {
        font-size: 28px;
    }

    .admin-dashboard-empty-copy p {
        font-size: 15px;
    }

    .admin-dashboard-support-banner,
    .admin-mobile-card,
    .admin-corporate-summary-split,
    .admin-contact-item {
        grid-template-columns: 1fr;
    }

    .admin-card-head,
    .admin-report-tabs,
    .admin-overall-list,
    .admin-corporate-summary,
    .admin-resource-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .admin-chart-shell {
        padding: 22px 14px 16px;
    }

    .admin-chart-grid {
        grid-template-columns: 40px 1fr;
    }

    .admin-dashboard-tabs {
        gap: 24px;
    }
}

.org-shell--wizard {
    min-height: calc(100vh - 76px);
    padding: 24px 24px 56px;
    align-items: start;
    background:
        linear-gradient(180deg, rgba(246, 248, 255, 0.96) 0%, rgba(241, 245, 255, 0.9) 100%);
}

.org-signup-shell {
    min-height: calc(100vh - 96px);
    padding: 28px 28px 44px;
}

.org-signup-stage {
    width: min(100%, 1320px);
}

.org-signup-stage--list {
    align-items: stretch;
}

.org-signup-hero-card {
    min-height: 880px;
    padding-top: 38px;
}

.org-signup-hero-art {
    max-width: 340px;
    margin-top: 28px;
}

.org-signup-card {
    width: 100%;
    min-height: 880px;
    padding: 38px 34px 32px;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.org-signup-card--wizard {
    display: grid;
    align-content: start;
}

.org-signup-card--list {
    display: grid;
    align-content: start;
    gap: 22px;
}

.org-wizard-card {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 44px 56px 40px;
    background: #fff;
    border: 1px solid #e7edf7;
    box-shadow: 0 24px 60px rgba(19, 34, 68, 0.08);
    border-radius: 32px;
}

.org-stepper {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.org-step {
    width: 38px;
    height: 38px;
    border-radius: 7px;
    background: #dfe5f4;
    color: #7a86a5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
}

.org-step--active {
    background: #5a84ee;
    color: #fff;
}

.org-step--complete {
    background: #2ac06f;
    color: #fff;
    font-size: 18px;
}

.org-wizard-head {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
    text-align: center;
}

.org-wizard-head h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(42px, 4.1vw, 58px);
    line-height: 1.02;
    letter-spacing: -1.8px;
    font-weight: 800;
}

.org-wizard-head p {
    margin: 0;
    color: #667085;
    font-size: 17px;
    line-height: 1.65;
}

.org-list-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.org-list-panel-head > div {
    display: grid;
    gap: 10px;
}

.org-list-panel-head h2 {
    margin: 0;
    color: #183153;
    font-size: clamp(32px, 2.8vw, 48px);
    line-height: 1.05;
    letter-spacing: -1.2px;
    font-weight: 800;
}

.org-list-panel-head p {
    margin: 0;
    color: #56657d;
    font-size: 17px;
    line-height: 1.55;
}

.org-list-panel-head .org-back-link {
    margin-bottom: 2px;
}

.org-form--wizard {
    display: grid;
    gap: 22px;
}

.org-input-wrap {
    min-height: 74px;
    border: 1px solid #d8e1ef;
    border-radius: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.org-input-wrap > i {
    color: #8a94a6;
    font-size: 18px;
    flex: 0 0 auto;
}

.org-form--wizard label {
    display: block;
    margin-bottom: 10px;
    color: #172844;
    font-size: 15px;
    font-weight: 700;
}

.org-form--wizard .org-input,
.org-form--wizard .org-select {
    height: 72px;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: #1d2330;
    font-size: 17px;
    background: transparent;
}

.org-form--wizard .org-select {
    padding-right: 34px;
}

.org-form--wizard .org-field {
    position: relative;
    display: grid;
    gap: 8px;
}

.org-form--wizard .org-field:focus-within {
    z-index: 40;
}

.org-form--wizard .org-input-wrap:focus-within {
    border-color: #8aa8ff;
    box-shadow: 0 0 0 4px rgba(47, 108, 240, 0.12);
    transform: translateY(-1px);
}

.org-form--wizard .org-field.is-invalid .org-input-wrap {
    border-color: #ff6868;
    box-shadow: 0 0 0 3px rgba(255, 104, 104, 0.08);
}

.org-form--wizard .org-select-wrap {
    position: relative;
    z-index: 1;
    padding-right: 18px;
}

.org-form--wizard .org-select-wrap .org-picker {
    flex: 1 1 auto;
    min-width: 0;
}

.org-form--wizard .org-select-wrap .org-picker-wrap {
    min-height: 72px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.org-form--wizard .org-select-wrap .org-picker-text {
    color: #172844;
    font-size: 17px;
}

.org-form--wizard .org-select-wrap .org-picker-text.is-placeholder {
    color: #98a3b6;
}

.org-form--wizard .org-select-wrap .org-picker-caret {
    color: #6f7f99;
    font-size: 14px;
}

.org-form--wizard .org-select-wrap .org-picker-popover {
    left: -22px;
    width: calc(100% + 44px);
    margin-top: 10px;
    padding: 12px;
    border-radius: 18px;
    border-color: #d8e1ef;
    background: #ffffff;
    box-shadow: 0 24px 44px rgba(17, 24, 39, 0.14);
    z-index: 120;
}

.org-form--wizard .org-select-wrap .org-picker-search-wrap {
    min-height: 48px;
    border-radius: 12px;
}

.org-form--wizard .org-select-wrap .org-picker-option {
    min-height: 48px;
    border-radius: 12px;
}

.org-form--wizard .org-select-wrap .org-picker-list {
    max-height: 280px;
    padding-right: 2px;
}

.org-row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.org-check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.org-check input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.org-check span {
    color: #384050;
    font-size: 15px;
    line-height: 1.5;
}

.save-btn--wide {
    width: 100%;
    height: 74px;
    border-radius: 20px;
    font-size: 18px;
    letter-spacing: 0.02em;
    margin-top: 8px;
    box-shadow: 0 18px 34px rgba(47, 121, 234, 0.24);
}

.org-cancel-link,
.org-skip-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #2f73ef;
    text-decoration: none;
    font-size: 16px;
}

.org-preferences-form {
    display: grid;
    gap: 20px;
}

.org-pref-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 20px;
    border: 1px solid #e2e9f5;
    border-radius: 8px;
    background: #fff;
}

.org-pref-card--stacked {
    grid-template-columns: 1fr;
}

.org-pref-head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
}

.org-pref-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2e374f;
    font-size: 22px;
}

.org-pref-icon--peach {
    background: #ffe9dc;
}

.org-pref-icon--blue {
    background: #e1e9ff;
}

.org-pref-icon--mint {
    background: #dff5ff;
}

.org-pref-copy h2 {
    margin: 0;
    font-size: 20px;
    color: #23314d;
}

.org-pref-copy p {
    margin: 5px 0 0;
    color: #5e6c88;
    font-size: 15px;
    line-height: 1.55;
}

.org-toggle {
    position: relative;
    display: inline-flex;
}

.org-toggle input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.org-toggle span {
    width: 54px;
    height: 30px;
    border-radius: 999px;
    background: #dce5f4;
    position: relative;
}

.org-toggle span::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(27, 35, 60, 0.18);
    transition: transform 140ms ease;
}

.org-toggle input:checked + span {
    background: #30b85b;
}

.org-toggle input:checked + span::after {
    transform: translateX(22px);
}

[data-org-search-empty] {
    display: none;
    padding: 24px;
    border: 1px dashed #d7dfef;
    border-radius: 8px;
    color: #66748f;
    text-align: center;
    background: #fff;
}

@media (max-width: 1180px) {
    .procure-signup {
        grid-template-columns: 1fr;
    }

    .signup-shell {
        padding: 20px 18px 28px;
    }

    .signup-stage {
        grid-template-columns: 1fr;
    }

    .signup-hero-card,
    .signup-stage > .signup-card {
        min-height: auto;
    }

    .signup-hero-card {
        padding: 36px 30px 28px;
    }

    .signup-hero-art {
        max-width: 300px;
    }

    .signup-hero {
        min-height: auto;
        padding: 64px 0 120px;
    }

    .hero-inner {
        width: min(100%, 820px);
        margin: 0 auto;
        padding: 0 24px;
    }

    .signup-panel {
        min-height: auto;
        padding: 32px 18px 40px;
    }

    .signup-card {
        width: min(100%, 620px);
        padding: 0;
    }

    .signup-stage > .signup-card {
        width: min(100%, 620px);
        margin: 0 auto;
        padding: 30px 26px 26px;
    }

    .org-signup-hero-art {
        max-width: 280px;
        margin-top: 20px;
    }

    .org-list-panel-head {
        flex-direction: column;
    }

    .org-list-actions {
        justify-self: start;
    }
}

@media (max-width: 760px) {
    .signup-shell {
        padding: 12px 12px 24px;
    }

    .signup-hero-card {
        border-radius: 24px;
        padding: 28px 22px 24px;
    }

    .signup-stage > .signup-card {
        padding: 24px 18px 22px;
        border-radius: 24px;
    }

    .org-signup-hero-card {
        padding: 28px 22px 24px;
    }

    .signup-hero-copy h1 {
        font-size: clamp(34px, 10vw, 46px);
        letter-spacing: -1.2px;
    }

    .signup-hero-copy p,
    .signup-card-head p {
        font-size: 16px;
    }

    .signup-benefits {
        gap: 12px;
        font-size: 15px;
    }

    .signup-hero-art {
        margin-top: 28px;
        max-width: 240px;
    }

    .org-signup-hero-art {
        margin-top: 18px;
        max-width: 220px;
    }

    .hero-copy h1 {
        font-size: clamp(42px, 11vw, 64px);
    }

    .hero-copy p {
        font-size: 17px;
    }

    .hero-actions {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-stage {
        min-height: 420px;
    }

    .quote-card blockquote {
        font-size: 26px;
    }

    .feature-title {
        font-size: 28px;
    }

    .feature-item {
        font-size: 16px;
    }

    .two-col,
    .org-row.two {
        grid-template-columns: 1fr;
    }

    .signup-card,
    .org-card {
        padding-inline: 14px;
    }

    .org-shell {
        padding: 18px 12px 28px;
    }

    .org-admin-shell,
    .org-shell--wizard {
        padding-inline: 16px;
    }

    .org-signup-shell {
        padding-inline: 16px;
    }

    .org-admin-hero-row,
    .org-list-card,
    .org-pref-card {
        grid-template-columns: 1fr;
    }

    .org-list-card {
        gap: 16px;
        justify-items: start;
    }

    .org-list-logo {
        width: 120px;
    }

    .org-list-actions {
        width: 100%;
        justify-content: space-between;
    }

    .org-wizard-card {
        width: min(100%, 100%);
        padding: 28px 22px 26px;
        border-radius: 24px;
    }

    .org-signup-card {
        min-height: auto;
        padding: 28px 22px 26px;
        border-radius: 24px;
    }

    .org-row.two {
        grid-template-columns: 1fr;
    }

    .otp-modal {
        padding: 28px 18px 24px;
    }

    .otp-phone {
        font-size: 16px;
    }

    .callback-pill {
        right: 10px;
        bottom: 12px;
    }
}

@media (max-width: 560px) {
    .org-shell--wizard {
        padding: 12px 12px 28px;
    }

    .org-wizard-card {
        padding: 24px 16px 22px;
        border-radius: 20px;
    }

    .org-wizard-head {
        margin-bottom: 22px;
    }

    .org-wizard-head h1 {
        font-size: clamp(34px, 11vw, 42px);
        letter-spacing: -1.1px;
    }

    .org-wizard-head p {
        font-size: 15px;
    }

    .org-form--wizard {
        gap: 18px;
    }

    .org-input-wrap,
    .org-form--wizard .org-select-wrap .org-picker-wrap,
    .save-btn--wide {
        min-height: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .org-form--wizard .org-input,
    .org-form--wizard .org-select {
        height: 58px;
        font-size: 16px;
    }

    .org-form--wizard label,
    .org-check span {
        font-size: 14px;
    }
}

.notice.success {
    margin-bottom: 12px;
    background: #eef9f2;
    border: 1px solid #bee7c8;
    padding: 10px 12px;
    border-radius: 10px;
    color: #1f7a3f;
}

.page-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 18px;
}

.page-modal.is-visible {
    display: flex;
}

.page-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 15, 28, 0.48);
}

.page-modal-card {
    position: relative;
    width: min(100%, 460px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
    padding: 24px 24px 22px;
    z-index: 1;
    text-align: center;
}

.page-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #eceff5;
    color: #667085;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.page-modal-icon {
    width: 64px;
    height: 64px;
    margin: 4px auto 14px;
    border-radius: 50%;
    background: #fff1f1;
    color: #ff4a4a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.page-modal-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
}

.page-modal-list {
    margin: 0;
    padding-left: 18px;
    text-align: left;
    color: #d92d20;
    display: grid;
    gap: 8px;
}

.page-modal-list li {
    font-size: 14px;
    line-height: 1.45;
}

/* Dashboard clone */
body.dashboard-page {
    background: #f6f8fc;
    color: #243043;
    overflow-x: hidden;
}

.dashboard-shell {
    min-height: 100vh;
    display: flex;
    background: #ffffff;
}

.dashboard-sidebar {
    width: 274px;
    min-height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    padding: 0 0 16px;
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    flex-shrink: 0;
    z-index: 30;
}

.sidebar-brand {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sidebar-switch-text);
    background: var(--sidebar-brand-bg);
    border-bottom: 1px solid var(--sidebar-brand-border);
    margin: 0;
    padding: 0 18px;
}

.sidebar-brand-icon {
    width: 29px;
    height: 29px;
    position: relative;
    flex: 0 0 29px;
}

.sidebar-brand-icon-sheet {
    position: absolute;
    inset: 3px 8px 3px 1px;
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 8px;
}

.sidebar-brand-icon-fold {
    position: absolute;
    top: 5px;
    right: 7px;
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.96);
    border-right: 2px solid rgba(255, 255, 255, 0.96);
    border-top-right-radius: 6px;
}

.sidebar-brand-icon-line {
    position: absolute;
    left: 7px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
}

.sidebar-brand-icon-line--top {
    top: 10px;
}

.sidebar-brand-icon-line--mid {
    top: 14px;
}

.sidebar-brand-icon-line--bottom {
    top: 18px;
}

.sidebar-brand-icon-wheel {
    position: absolute;
    right: 1px;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-left: none;
    border-radius: 0 999px 999px 0;
}

.sidebar-brand-icon-wheel--top {
    top: 4px;
}

.sidebar-brand-icon-wheel--bottom {
    bottom: 4px;
}

.sidebar-brand-title {
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}

.sidebar-nav {
    display: grid;
    gap: 4px;
    padding: 18px 12px 0;
}

.sidebar-link-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-link-group .sidebar-link {
    flex: 1 1 auto;
    min-width: 0;
}

.sidebar-link {
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}

.sidebar-link i {
    width: 18px;
    text-align: center;
    font-size: 15px;
}

.sidebar-link:hover {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-hover-text);
}

.sidebar-link.is-active {
    background: var(--accent);
    color: var(--accent-contrast);
    box-shadow: none;
}

.sidebar-inline-action {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}

.sidebar-inline-action:hover {
    background: var(--accent-soft-strong);
    color: var(--accent);
    transform: translateY(-1px);
}

.sidebar-link-group .sidebar-link.is-active + .sidebar-inline-action {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.sidebar-admin-switch {
    margin-top: auto;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--sidebar-switch-bg);
    color: var(--sidebar-switch-text);
    min-height: 44px;
    margin-inline: 20px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.sidebar-collapse {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48px;
    height: 48px;
    border: 0;
    border-top-left-radius: 12px;
    background: var(--sidebar-collapse-bg);
    color: var(--sidebar-collapse-text);
    cursor: pointer;
}

.dashboard-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin-left: 274px;
    width: calc(100% - 274px);
    padding-top: 58px;
}

.dashboard-topbar {
    height: 58px;
    background: #232944;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 18px 0 14px;
    position: fixed;
    top: 0;
    left: 274px;
    right: 0;
    z-index: 40;
}

.dashboard-search {
    width: min(100%, 376px);
    height: 40px;
    border-radius: 8px;
    background: #353a56;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.78);
}

.dashboard-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    min-width: 0;
}

.dashboard-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.trips-shell-search {
    position: relative;
    gap: 8px;
    padding-left: 8px;
}

.trips-shell-search-toggle {
    min-width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.trips-shell-search-toggle-label {
    color: #fff;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.trips-shell-search-toggle i:last-child {
    font-size: 11px;
}

.trips-shell-search-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 240px;
    padding: 8px 0;
    border: 1px solid #dbe3f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 44px rgba(16, 24, 40, 0.16);
    z-index: 80;
}

.trips-shell-search-option,
.trips-shell-search-advanced {
    width: 100%;
    min-height: 40px;
    border: 0;
    background: transparent;
    color: #223047;
    font-size: 15px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    cursor: pointer;
}

.trips-shell-search-option:hover,
.trips-shell-search-option.is-active,
.trips-shell-search-advanced:hover {
    background: #f5f8fe;
}

.trips-shell-search-option-check {
    width: 14px;
    color: #22a76f;
    display: inline-flex;
    justify-content: center;
    flex-shrink: 0;
}

.trips-shell-search-advanced {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #eef2f8;
    color: #2960d8;
}

.trip-search-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 90;
}

.trip-search-modal.is-open {
    display: block;
}

.trip-search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
}

.trip-search-modal-panel {
    position: relative;
    width: min(1000px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    overflow: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
}

.trip-search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid #edf2f8;
}

.trip-search-modal-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trip-search-modal-title-row strong {
    font-size: 15px;
    color: #223047;
}

.trip-search-modal-chip {
    min-width: 160px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #cbd7ea;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    color: #223047;
    font-size: 15px;
    font-weight: 500;
}

.trip-search-modal-close {
    width: 40px;
    height: 40px;
    border: 1px solid #dbe3f0;
    border-radius: 10px;
    background: #fff;
    color: #5d6b82;
    cursor: pointer;
}

.trip-search-modal-body {
    padding: 18px 24px 20px;
}

.trip-search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 56px;
}

.trip-search-field {
    display: grid;
    gap: 8px;
}

.trip-search-field span {
    color: #344054;
    font-size: 15px;
}

.trip-search-field input,
.trip-search-field select {
    min-height: 46px;
    width: 100%;
    border: 1px solid #d5ddea;
    border-radius: 10px;
    background: #fff;
    color: #223047;
    padding: 0 14px;
    font-size: 15px;
}

.trip-search-field input:focus,
.trip-search-field select:focus {
    outline: none;
    border-color: #4f8ef7;
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.12);
}

.trip-search-field--range {
    align-content: start;
}

.trip-search-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.trip-search-modal-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    margin-top: 24px;
    border-top: 1px solid #edf2f8;
}

.trip-search-cancel {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #d5ddea;
    border-radius: 10px;
    background: #fff;
    color: #223047;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trips-search-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 16px;
    color: #667085;
}

.trips-search-summary strong {
    color: #223047;
    font-size: 16px;
}

.trips-listing-empty-state {
    padding: 36px 12px;
    border-top: 1px solid #edf2f8;
    text-align: center;
    color: #667085;
}

.trips-listing-empty-state strong {
    display: block;
    margin-bottom: 8px;
    color: #223047;
    font-size: 17px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.topbar-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.18);
    flex: 0 0 auto;
}

.view-pill {
    height: 34px;
    border: 0;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px;
    cursor: pointer;
    line-height: 1;
}

.view-stack {
    display: grid;
    gap: 2px;
    text-align: left;
}

.view-pill .view-mini {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}

.view-pill strong {
    font-size: 14px;
    font-weight: 700;
}

.view-pill i {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
}

.topbar-square,
.topbar-icon,
.avatar-button {
    border: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.topbar-square.primary {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #4f8ef7;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(79, 142, 247, 0.24);
}

.topbar-square.primary:hover,
.topbar-square.primary:focus-visible {
    background: #5c98ff;
}

.topbar-quick-add {
    position: relative;
    display: inline-flex;
    z-index: 55;
}

.quick-add-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 456px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 46px rgba(17, 24, 39, 0.16);
    border: 1px solid #e7ebf3;
    padding: 14px 14px 16px;
    display: none;
    z-index: 40;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
}

.topbar-quick-add.is-open .quick-add-menu {
    display: grid;
}

.quick-add-menu-header {
    grid-column: 1 / -1;
    padding: 2px 0 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #6b7484;
    border-bottom: 1px solid #edf1f7;
    margin-bottom: 4px;
}

.quick-add-menu-item {
    appearance: none;
    border: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.quick-add-menu-item:hover {
    background: #f4f7ff;
    color: #2d5bd1;
    border-color: #dbe7ff;
}

.quick-add-menu-icon {
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: transparent;
    color: #6b7484;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.quick-add-menu-icon i {
    display: none;
}

.quick-add-menu-icon::before {
    content: '+';
    color: #6b7484;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

@media (max-width: 980px) {
    .quick-add-menu {
        width: min(456px, calc(100vw - 28px));
    }
}

.topbar-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.topbar-icon:hover,
.topbar-icon:focus-visible,
.topbar-icon-link:hover,
.topbar-icon-link:focus-visible,
.view-pill:hover,
.view-pill:focus-visible,
.avatar-button:hover,
.avatar-button:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
}

.topbar-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.topbar-icon-link:hover,
.topbar-icon-link:focus-visible {
    color: #fff;
}

.topbar-icon--launcher {
    font-size: 12px;
}

.topbar-launcher {
    width: 14px;
    height: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.topbar-launcher span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.9;
}

.topbar-launcher span:nth-child(1),
.topbar-launcher span:nth-child(3),
.topbar-launcher span:nth-child(7),
.topbar-launcher span:nth-child(9) {
    opacity: 0.75;
}

.avatar-button {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.topbar-popover {
    position: relative;
}

.topbar-popover-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 20px 42px rgba(17, 24, 39, 0.16);
    display: none;
    z-index: 80;
}

[data-topbar-popover].is-open .topbar-popover-menu {
    display: grid;
}

.topbar-popover-heading {
    padding: 14px 16px 10px;
    color: #2b3444;
    font-size: 15px;
    font-weight: 800;
}

.topbar-empty-state,
.topbar-empty-copy {
    padding: 0 16px 14px;
    color: #69758d;
    font-size: 14px;
}

.topbar-empty-illustration {
    width: 84px;
    height: 84px;
    margin: 2px auto 10px;
    border-radius: 50%;
    background: #f4f7fb;
    color: #9aa7bf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.topbar-profile-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #edf1f7;
}

.topbar-profile-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.topbar-profile-head strong {
    display: block;
    color: #243043;
    font-size: 15px;
    font-weight: 800;
}

.topbar-profile-head span {
    display: block;
    color: #748099;
    font-size: 13px;
    margin-top: 2px;
}

.topbar-popover-menu--profile {
    min-width: 250px;
    padding-bottom: 8px;
}

.topbar-popover-menu--users {
    min-width: 170px;
    padding-bottom: 10px;
}

.topbar-popover-menu--profile a {
    display: block;
    padding: 11px 16px;
    color: #344054;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.topbar-popover-menu--profile a:hover,
.topbar-app-item:hover {
    background: #f4f7ff;
}

.topbar-popover-menu--notifications {
    min-width: 280px;
    padding-bottom: 12px;
}

.topbar-popover-menu--notifications .topbar-empty-state {
    padding-bottom: 0;
}

.topbar-popover-menu--apps {
    min-width: 330px;
    padding-bottom: 14px;
}

.topbar-drawer {
    position: fixed;
    top: 58px;
    right: 0;
    width: min(100vw, 390px);
    height: calc(100vh - 58px);
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease;
    z-index: 60;
}

body.has-topbar-drawer-open {
    overflow: hidden;
}

.topbar-drawer.is-open {
    pointer-events: auto;
    opacity: 1;
}

.topbar-drawer-backdrop {
    position: fixed;
    top: 58px;
    left: 0;
    right: min(390px, 32vw);
    bottom: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(17, 24, 39, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 59;
}

.topbar-drawer.is-open .topbar-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.topbar-drawer-panel {
    width: 100%;
    background: #fff;
    border-left: 1px solid #e6ebf4;
    box-shadow: -18px 0 40px rgba(17, 24, 39, 0.10);
    position: relative;
    overflow-y: auto;
    padding: 18px 18px 24px;
    transform: translateX(100%);
    transition: transform 180ms ease;
}

.topbar-drawer.is-open .topbar-drawer-panel {
    transform: translateX(0);
}

.topbar-drawer-panel--apps {
    width: min(100%, 430px);
}

.topbar-drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #edf1f7;
    color: #7a859b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.topbar-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 0 14px;
}

.topbar-drawer-header--apps {
    padding-right: 48px;
}

.topbar-drawer-header h2,
.topbar-drawer-section h3 {
    margin: 0;
    color: #253247;
    font-size: 18px;
    font-weight: 800;
}

.topbar-drawer-filter {
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    padding: 0 10px;
    background: #f4f7fb;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.topbar-drawer-search-toggle {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #f4f7fb;
    color: #65758f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.topbar-drawer-search-toggle:hover,
.topbar-drawer-search-toggle:focus-visible {
    background: #ebeff8;
    color: #2d3a50;
    outline: none;
}

.topbar-drawer-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    margin-bottom: 12px;
    padding: 0 12px;
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    background: #f7f9fd;
    color: #8a97ae;
}

.topbar-drawer-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #233044;
    font-size: 14px;
}

.topbar-drawer-search input::placeholder {
    color: #93a0b6;
}

.topbar-drawer-empty {
    min-height: 250px;
    padding: 24px 8px 8px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 14px;
}

.topbar-drawer-empty-icon {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #f4f7fb;
    color: #a5b0c4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.topbar-drawer-empty p {
    margin: 0;
    color: #6b7487;
    font-size: 16px;
    line-height: 1.45;
}

.topbar-drawer-note-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0 16px;
    border-bottom: 1px solid #edf1f7;
}

.topbar-drawer-note-row:last-of-type {
    border-bottom: 0;
}

.topbar-drawer-note-row strong {
    display: block;
    color: #253247;
    font-size: 14px;
    font-weight: 800;
}

.topbar-drawer-note-row span {
    display: block;
    color: #72809c;
    font-size: 13px;
    margin-top: 2px;
}

.topbar-drawer-note-row a {
    color: #3478f6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.topbar-drawer-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0 16px;
}

.topbar-drawer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.topbar-drawer-card strong {
    display: block;
    color: #243043;
    font-size: 15px;
    font-weight: 800;
}

.topbar-drawer-card span {
    display: block;
    color: #748099;
    font-size: 13px;
    margin-top: 2px;
}

.topbar-drawer-account-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.topbar-drawer-account-links a {
    color: #2f9f52;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.topbar-drawer-account-links a:last-child {
    color: #e74b4b;
}

.topbar-drawer-section {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid #edf1f7;
}

.topbar-drawer-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.topbar-drawer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ffefe9;
    color: #ff6d4d;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.topbar-drawer-links {
    display: grid;
    gap: 2px;
    margin-top: 10px;
}

.topbar-drawer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 10px 8px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.topbar-drawer-links a:hover,
.topbar-drawer-links a:focus-visible {
    background: #f4f7ff;
    outline: none;
}

.topbar-drawer-links i {
    width: 18px;
    text-align: center;
    color: #7182a4;
    flex-shrink: 0;
}

.topbar-drawer-section-label {
    margin-bottom: 10px;
    color: #7d8aa2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.topbar-drawer-divider {
    margin: 16px 0;
    border-top: 1px solid #e8edf5;
}

.topbar-drawer-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2f3d55;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.topbar-drawer-section-title i {
    color: #ffbf3c;
}

.topbar-drawer-callout {
    color: #596579;
    font-size: 14px;
    line-height: 1.45;
}

.topbar-drawer-callout strong {
    display: block;
    margin-top: 4px;
    color: #35507a;
    font-size: 18px;
    font-weight: 800;
}

.topbar-drawer-qr {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    align-items: start;
}

.topbar-drawer-qr-code {
    width: 96px;
    height: 96px;
    border: 1px solid #e0e7f2;
    border-radius: 8px;
    background-color: #fff;
    background-image:
        linear-gradient(90deg, #111 8%, transparent 8% 16%, #111 16% 24%, transparent 24% 32%, #111 32% 40%, transparent 40% 48%, #111 48% 56%, transparent 56% 64%, #111 64% 72%, transparent 72% 80%, #111 80% 88%, transparent 88%),
        linear-gradient(#111 8%, transparent 8% 16%, #111 16% 24%, transparent 24% 32%, #111 32% 40%, transparent 40% 48%, #111 48% 56%, transparent 56% 64%, #111 64% 72%, transparent 72% 80%, #111 80% 88%, transparent 88%);
    background-size: 24px 24px;
    background-position: 0 0;
    box-shadow: inset 0 0 0 8px #fff;
}

.topbar-drawer-qr-copy {
    color: #334155;
    font-size: 14px;
    line-height: 1.45;
}

.topbar-drawer-qr-copy strong {
    display: block;
    margin-top: 4px;
    color: #4a5f80;
    font-size: 13px;
    font-weight: 800;
}

.topbar-drawer-qr-apps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #6a768d;
    font-size: 13px;
    font-weight: 600;
}

.topbar-drawer-qr-apps i {
    font-size: 20px;
}

.topbar-drawer-qr-apps .fa-apple {
    color: #1d1d1f;
}

.topbar-drawer-qr-apps .fa-google-play {
    color: #47a7ff;
}

.topbar-drawer-app-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 10px;
    padding-top: 2px;
}

.topbar-drawer-header--between {
    justify-content: space-between;
}

.org-drawer-manage-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2f73ef;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.org-drawer-search {
    margin-bottom: 18px;
}

.org-drawer-list {
    display: grid;
    gap: 12px;
}

.org-drawer-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    color: #334056;
    text-decoration: none;
    background: #fff;
}

.org-drawer-card.is-current {
    border-left: 3px solid #2ac26a;
}

.org-drawer-card-icon {
    width: 44px;
    height: 44px;
    border: 1px dashed #dce4f2;
    border-radius: 8px;
    color: #68748e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.org-drawer-card-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.org-drawer-card-copy strong {
    color: #24314b;
    font-size: 16px;
    font-weight: 700;
}

.org-drawer-card-copy span,
.org-drawer-card-copy small {
    color: #5f6d86;
    font-size: 13px;
}

.org-drawer-card-check {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #29bb69;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.org-drawer-empty {
    display: none;
    margin-top: 14px;
    padding: 18px;
    border-radius: 10px;
    background: #f6f8fc;
    color: #6c7890;
    text-align: center;
}

.topbar-drawer-app-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topbar-drawer-app-grid .topbar-app-item {
    min-height: 82px;
    background: #fff;
    border: 1px solid #eef2f7;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.topbar-app-item--compact {
    min-height: 72px !important;
}

.topbar-app-item-text {
    display: grid;
    gap: 3px;
    justify-items: center;
}

.topbar-app-item-text strong {
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.topbar-app-item-text small {
    color: #7b879b;
    font-size: 11px;
    text-align: center;
    line-height: 1.25;
}

.topbar-app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 12px;
}

.topbar-app-item {
    min-height: 82px;
    border-radius: 8px;
    text-decoration: none;
    color: #344054;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    padding: 10px 8px;
}

.topbar-app-item i {
    font-size: 24px;
    color: #4f8ef7;
}

.topbar-app-item span {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 980px) {
    .topbar-drawer {
        width: min(100vw, 100%);
    }

    .topbar-drawer-backdrop {
        right: 0;
    }

    .topbar-drawer-panel--apps {
        width: min(100%, 100vw);
    }

    .topbar-drawer-app-grid,
    .topbar-drawer-app-grid--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .getting-started-grid {
        grid-template-columns: 1fr;
    }

    .getting-started-overview {
        border-right: 0;
        border-bottom: 1px solid #eef1f6;
    }

    .getting-started-step {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .getting-started-step-action {
        grid-column: 2;
        justify-self: start;
    }

    .getting-started-more-card {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .getting-started-more-card a {
        grid-column: 2;
        justify-self: start;
    }
}

.dashboard-content {
    padding: 0 20px 18px;
    display: grid;
    gap: 16px;
    background:
        radial-gradient(circle at top left, rgba(79, 142, 247, 0.05), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.hero-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 0 4px 0;
}

.hero-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hero-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e0e6f1;
    color: #596679;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}

.hero-copy h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.hero-copy p {
    margin: 2px 0 0;
    color: #7a8393;
    font-size: 14px;
    font-weight: 600;
}

.hero-links {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 2px;
}

.hero-links a {
    color: #4f8ef7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.help-badge {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    border: 1px solid #b6c7ef;
    background: #fff;
    color: #4f8ef7;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.topbar-action-button {
    min-height: 34px;
    border: 0;
    border-radius: 4px;
    background: #4f8ef7;
    color: #fff;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(79, 142, 247, 0.18);
}

.topbar-action-button.secondary {
    background: #fff;
    color: #4b5566;
    border: 1px solid #d8dff0;
    box-shadow: none;
}

.topbar-icon.square {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    border: 1px solid #d8dff0;
    background: #fff;
    color: #586072;
}

.cards-page .dashboard-content {
    gap: 0;
}

.admin-cards-page .admin-dashboard-content {
    gap: 0;
    padding: 0;
}

.cards-content {
    padding-top: 0;
}

.cards-surface {
    padding-top: 0;
}

.admin-cards-content {
    background: #fff;
}

.admin-cards-pagehead {
    padding: 18px 36px 16px;
    border-bottom: 1px solid #e8edf5;
}

.admin-cards-pagehead h1 {
    margin: 0;
    color: #1f2840;
    font-size: 44px;
    font-weight: 300;
    letter-spacing: -0.03em;
}

.admin-cards-hero {
    display: grid;
    grid-template-columns: minmax(320px, 470px) minmax(420px, 1fr);
    gap: 72px;
    align-items: center;
    padding: 52px 64px 60px;
}

.admin-cards-hero-copy {
    max-width: 460px;
}

.admin-cards-hero-icon,
.admin-cards-benefit-icon {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    border: 1px solid #d8e3fb;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    color: #607296;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.admin-cards-hero-copy h2 {
    margin: 22px 0 14px;
    color: #13294d;
    font-size: 58px;
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.05em;
}

.admin-cards-hero-copy p {
    margin: 0;
    color: #556581;
    font-size: 19px;
    line-height: 1.55;
}

.admin-cards-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.admin-cards-primary,
.admin-cards-secondary {
    min-height: 46px;
    border-radius: 6px;
    border: 1px solid #d4ddef;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.admin-cards-primary {
    background: #3f84f8;
    border-color: #3f84f8;
    color: #fff;
}

.admin-cards-secondary {
    background: #fff;
    color: #26406e;
}

.admin-cards-secondary i,
.admin-cards-primary i {
    font-size: 12px;
}

.admin-cards-popover {
    position: relative;
}

.admin-cards-menu {
    min-width: 226px;
    padding: 6px 0;
}

.admin-cards-menu-link {
    display: block;
    padding: 12px 16px;
    color: #384a68;
    text-decoration: none;
    font-size: 15px;
}

.admin-cards-menu-link:hover {
    background: #f5f7fc;
}

.admin-cards-preview-card {
    max-width: 840px;
}

.admin-cards-preview-frame {
    border: 1px solid #dfe5f7;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 32px rgba(42, 62, 112, 0.08);
    padding: 26px 28px 22px;
}

.admin-cards-preview-header h3 {
    margin: 0 0 18px;
    color: #44517a;
    font-size: 29px;
    font-weight: 500;
}

.admin-cards-preview-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.admin-cards-preview-panel {
    min-height: 124px;
    border: 1px solid #e4e9f5;
    border-radius: 12px;
    padding: 16px 20px;
}

.admin-cards-preview-panel > span {
    color: #abb2d7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-cards-preview-chart {
    position: relative;
    height: 72px;
    margin-top: 12px;
}

.admin-cards-preview-chart i {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #eef2fa;
}

.admin-cards-preview-chart i:nth-child(1) { left: 8%; }
.admin-cards-preview-chart i:nth-child(2) { left: 24%; }
.admin-cards-preview-chart i:nth-child(3) { left: 40%; }
.admin-cards-preview-chart i:nth-child(4) { left: 56%; }
.admin-cards-preview-chart i:nth-child(5) { left: 72%; }
.admin-cards-preview-chart i:nth-child(6) { left: 88%; }

.admin-cards-preview-chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.admin-cards-preview-chart path {
    fill: none;
    stroke: #4689f8;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-cards-preview-stats {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-cards-preview-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-cards-preview-stats strong {
    color: #44517a;
    font-size: 18px;
    font-weight: 600;
}

.admin-cards-preview-stats em {
    color: #4a89f9;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
}

.admin-cards-preview-tabs {
    display: flex;
    gap: 30px;
    margin-top: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8edf7;
}

.admin-cards-preview-tabs span {
    position: relative;
    color: #3d4661;
    font-size: 18px;
    font-weight: 600;
}

.admin-cards-preview-tabs span.is-active {
    color: #4a89f9;
}

.admin-cards-preview-tabs span.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px;
    height: 3px;
    border-radius: 999px;
    background: #4a89f9;
}

.admin-cards-preview-list {
    display: grid;
}

.admin-cards-preview-row {
    display: grid;
    grid-template-columns: 18px minmax(74px, 120px) minmax(56px, 68px) minmax(110px, 1fr) 36px;
    gap: 24px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #eef2fa;
}

.admin-cards-preview-row:last-child {
    border-bottom: 0;
}

.admin-cards-preview-bullet,
.admin-cards-preview-user-avatar {
    border-radius: 999px;
    background: linear-gradient(180deg, #e4e9f9 0%, #d9e1f4 100%);
}

.admin-cards-preview-bullet {
    width: 18px;
    height: 18px;
}

.admin-cards-preview-line {
    height: 8px;
    border-radius: 999px;
    background: #e7ebf7;
}

.admin-cards-preview-line--wide {
    width: 100%;
}

.admin-cards-preview-line--dots {
    width: 100%;
    background:
        radial-gradient(circle, #e7ebf7 3px, transparent 4px) left center / 18px 8px repeat-x;
}

.admin-cards-preview-user {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
}

.admin-cards-preview-user-avatar {
    width: 26px;
    height: 26px;
}

.admin-cards-preview-line--user {
    width: 114px;
}

.admin-cards-preview-count {
    justify-self: end;
    font-size: 16px;
    font-weight: 500;
}

.admin-cards-preview-count--orange {
    color: #f2a73f;
}

.admin-cards-preview-count--amber {
    color: #ef9d34;
}

.admin-cards-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
    color: #122a51;
    font-size: 16px;
}

.admin-cards-preview-pager {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-cards-preview-pager button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #eef2fa;
    color: #7b88a6;
}

.admin-cards-preview-pager strong {
    color: #13294d;
    font-size: 17px;
}

.admin-cards-benefits {
    background: #f3f7fd;
    padding: 48px 64px 64px;
}

.admin-cards-benefits h2 {
    margin: 0 0 26px;
    color: #182b4c;
    font-size: 26px;
    font-weight: 500;
    text-align: center;
}

.admin-cards-benefit-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px;
}

.admin-cards-benefit-card {
    grid-column: span 2;
    min-height: 282px;
    border: 1px solid #d9e5f7;
    border-radius: 16px;
    background: #fff;
    padding: 30px;
}

.admin-cards-benefit-card:nth-child(4),
.admin-cards-benefit-card:nth-child(5) {
    grid-column: span 2;
}

.admin-cards-benefit-card:nth-child(4) {
    grid-column-start: 2;
}

.admin-cards-benefit-card h3 {
    margin: 18px 0 14px;
    color: #182b4c;
    font-size: 22px;
    line-height: 1.34;
    font-weight: 500;
}

.admin-cards-benefit-card p {
    margin: 0;
    color: #5f6f8d;
    font-size: 17px;
    line-height: 1.55;
}

.cards-header-row {
    min-height: 84px;
    padding: 12px 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #edf0f5;
}

.cards-header-row h1 {
    margin: 0;
    color: #2a3242;
    font-size: 28px;
    font-weight: 800;
}

.cards-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cards-dropdown {
    position: relative;
}

.cards-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 164px;
    background: #fff;
    border: 1px solid #e2e7f1;
    border-radius: 4px;
    box-shadow: 0 10px 22px rgba(25, 39, 66, 0.12);
    padding: 4px 0;
    display: none;
    z-index: 10;
}

.cards-dropdown-menu.is-open {
    display: grid;
}

.cards-dropdown-item {
    border: 0;
    background: transparent;
    color: #485264;
    min-height: 34px;
    padding: 0 14px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cards-popover-menu {
    min-width: 228px;
    padding: 4px;
}

.cards-popover-menu--view {
    min-width: 198px;
}

.cards-popover-menu .cards-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.cards-popover-menu .cards-dropdown-item i {
    width: 18px;
    color: #95a0ba;
    text-align: center;
}

.cards-popover-menu .cards-dropdown-item.is-active {
    background: #f1f3fa;
}

.cards-dropdown-item:hover {
    background: #f4f7fc;
}

.cards-dropdown-item.is-disabled,
.expense-primary.is-disabled {
    pointer-events: none;
    opacity: 0.45;
}

.cards-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
    gap: 14px;
    padding-top: 16px;
}

.cards-card-tile {
    overflow: hidden;
    width: 300px;
}

.cards-flow-overlay {
    align-items: flex-start;
    padding: 28px 20px;
}

.cards-flow-modal {
    width: min(100%, 1074px);
}

.cards-flow-modal--loading,
.cards-flow-modal--banks {
    min-height: 728px;
}

.cards-loading-timer {
    padding: 20px 48px 0;
    color: #3b4454;
    font-size: 18px;
}

.cards-loading-timer span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    background: #747d8c;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.cards-loading-stage {
    min-height: 560px;
    display: grid;
    place-items: center;
    gap: 28px;
    align-content: center;
}

.cards-loading-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 32px;
    padding: 0 10px;
    background: #1e1e1e;
    color: #fff;
    font-size: 14px;
}

.cards-loading-spinner {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 7px solid #d4d6dc;
    border-top-color: #aeb2ba;
    animation: cards-spin 1s linear infinite;
}

@keyframes cards-spin {
    to {
        transform: rotate(360deg);
    }
}

.cards-bank-picker {
    padding: 56px 92px 72px;
}

.cards-bank-search {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    border: 1px solid #aeb7c8;
    border-radius: 8px;
    padding: 0 16px;
}

.cards-bank-search i {
    color: #607089;
}

.cards-bank-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #2a3242;
    font-size: 16px;
}

.cards-bank-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 20px;
    margin-top: 34px;
}

.cards-bank-tile {
    min-height: 104px;
    border: 1px solid #dbe1ee;
    border-radius: 14px;
    background: #fff;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 16px;
    color: #334155;
    cursor: pointer;
}

.cards-bank-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 40px;
    color: #2648a7;
    font-size: 18px;
    font-weight: 800;
}

.cards-bank-name {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.cards-card-art {
    min-height: 198px;
    background: linear-gradient(145deg, #3769d9 0%, #3f75e6 42%, #3563c9 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    color: #fff;
}

.cards-card-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.12), transparent 18%),
        radial-gradient(circle at 86% 38%, rgba(255, 255, 255, 0.07), transparent 24%),
        radial-gradient(circle at 78% 50%, rgba(255, 255, 255, 0.08), transparent 28%);
    pointer-events: none;
}

.cards-card-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    color: #7c8ba7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.cards-card-label {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.cards-card-body {
    padding: 12px 14px 14px;
    display: grid;
    gap: 16px;
}

.cards-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cards-card-title-row h2 {
    margin: 0;
    color: #2b3342;
    font-size: 18px;
    font-weight: 800;
}

.cards-badge {
    border-radius: 2px;
    background: #111;
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.cards-card-meta {
    display: grid;
    gap: 4px;
    color: #6b7484;
    font-size: 14px;
}

.cards-card-meta strong {
    color: #2b3342;
    font-weight: 800;
}

.panel {
    background: #fff;
    border: 1px solid #e3e7f1;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.03);
}

.support-banner {
    min-height: 86px;
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 16px 20px;
}

.support-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffe3a4;
    color: #1a2235;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.support-copy h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    color: #1f2937;
}

.support-copy h2 span {
    color: #ff584d;
}

.support-copy p {
    margin: 4px 0 0;
    color: #6c7788;
    font-size: 14px;
}

.support-button {
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    padding: 0 16px;
    background: #4f8ef7;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.summary-grid {
    display: grid;
    grid-template-columns: minmax(270px, 0.92fr) minmax(420px, 1.55fr);
    gap: 14px;
}

.pending-panel,
.quick-add-panel {
    min-height: 164px;
}

.pending-panel h3,
.quick-add-panel h3,
.panel-header h3,
.info-panel h3 {
    margin: 0;
    padding: 10px 14px 8px;
    border-bottom: 1px solid #edf0f5;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    color: #313b4f;
}

.pending-list {
    display: grid;
    gap: 0;
    padding: 8px 14px 12px;
}

.pending-item {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #6b7484;
    font-size: 14px;
    border-bottom: 1px dashed #e5e9f1;
}

.pending-item--link {
    text-decoration: none;
    color: inherit;
    transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.pending-item--link:hover {
    background: #f8fbff;
}

.pending-item--link strong {
    color: #2d5bd1;
}

.pending-item:last-child {
    border-bottom: 0;
}

.pending-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pending-label i {
    width: 16px;
    color: #8c96a8;
}

.pending-label span {
    white-space: nowrap;
}

.pending-item strong {
    color: #586072;
    font-weight: 800;
}

.pending-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pending-dot.orange {
    border: 2px solid #ffb03a;
    background: #fff;
}

.quick-add-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-add-upload-shell {
    position: relative;
    border-right: 1px solid #edf0f5;
}

.quick-add-upload-shell .quick-add-card {
    width: 100%;
    border-right: 0;
}

.quick-add-card {
    min-height: 150px;
    border: 0;
    border-right: 1px solid #edf0f5;
    background: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    text-align: center;
    color: #556170;
    transition: background 120ms ease, transform 120ms ease;
}

.quick-add-card:last-child {
    border-right: 0;
}

.quick-add-card:hover {
    background: #f8fbff;
}

.quick-add-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f6f8fc;
    border: 1px solid #edf0f5;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.upload-card .quick-add-icon {
    color: #28c06f;
}

.quick-add-upload-popover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 18px);
    width: 170px;
    display: none;
    z-index: 8;
}

.quick-add-upload-shell.is-open {
    z-index: 12;
}

.quick-add-upload-shell.is-open .quick-add-upload-popover {
    display: block;
}

.quick-add-upload-popover-card {
    background: #fff;
    border: 1px solid #dde3ef;
    border-radius: 4px;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
    padding: 12px 12px 14px;
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
}

.quick-add-upload-popover-icon {
    width: 44px;
    height: 44px;
    margin-top: -34px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #36c76f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 8px 18px rgba(54, 199, 111, 0.24);
}

.quick-add-upload-popover-card p {
    margin: 0;
    color: #8a95a8;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.quick-add-upload-select {
    min-height: 34px;
    border: 0;
    border-radius: 4px;
    background: #eef4ff;
    color: #4f8ef7;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.quick-add-upload-select--secondary {
    width: 100%;
    background: #f7f9fd;
    color: #42526d;
    border: 1px solid #d7dfef;
}

.quick-add-upload-sources {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 0;
    justify-items: center;
    color: #1e2430;
}

.quick-add-upload-source {
    width: 22px;
    height: 22px;
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #171b25;
    font-size: 16px;
}

.quick-add-upload-note {
    color: #8a95a8;
    font-size: 11px;
    font-weight: 700;
}

.quick-add-upload-source:hover,
.quick-add-upload-source:focus-visible {
    color: #4f8ef7;
    outline: none;
}

.quick-add-copy {
    display: grid;
    gap: 4px;
}

.quick-add-copy strong {
    font-size: 14px;
    font-weight: 700;
    color: #556170;
}

.quick-add-copy span {
    font-size: 13px;
    line-height: 1.35;
    color: #7c8595;
}

.reports-panel {
    padding-bottom: 0;
}

.reports-table-shell {
    padding: 0 0 36px;
}

.admin-reports-list-shell {
    width: 100%;
    min-height: calc(100vh - 170px);
    padding: 0;
}

.reports-table-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 24px 0;
    border-bottom: 1px solid #e8edf6;
}

.reports-table-toolbar[hidden] {
    display: none !important;
}

.reports-table-heading {
    display: flex;
    align-items: flex-end;
    gap: 18px;
}

.admin-reports-list-shell .reports-table-heading {
    display: grid;
    gap: 18px;
}

.reports-table-heading h1 {
    margin: 0;
    color: #18253d;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    padding-bottom: 14px;
}

.admin-reports-list-shell .reports-table-heading h1 {
    color: #111827;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
    padding-bottom: 0;
}

.reports-table-tabs {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reports-table-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    color: #16263f;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.reports-table-tab.is-active {
    color: #3d7df0;
}

.reports-table-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: #4f8ef7;
}

.reports-table-tab-caret {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #465570;
    cursor: pointer;
    margin-left: -8px;
}

.admin-reports-list-shell .reports-table-tab-caret {
    border-radius: 999px;
    background: #eef1f8;
    color: #5d6b84;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.reports-table-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-reports-list-shell .reports-table-toolbar {
    align-items: flex-start;
    padding: 10px 0 0;
    border-bottom-color: #d7dfef;
}

.admin-reports-list-shell .reports-table-actions {
    align-items: flex-start;
    padding-top: 10px;
}

.reports-table-new {
    min-height: 44px;
    padding: 0 20px;
}

.reports-table-icon-btn,
.reports-table-help-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #d6deee;
    border-radius: 6px;
    background: #fff;
    color: #4a5872;
    cursor: pointer;
}

.reports-table-help-btn {
    color: #3d7df0;
    font-size: 24px;
    line-height: 1;
}

.reports-table-help-btn i {
    font-size: 18px;
}

.reports-more-menu {
    position: relative;
}

.reports-more-popover {
    min-width: 202px;
    padding: 8px 0;
    border-radius: 10px;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.16);
}

.reports-more-heading {
    padding: 12px 18px 8px;
    color: #667085;
    font-size: 12px;
    letter-spacing: 0.14em;
}

.reports-more-popover .reports-more-item,
.reports-more-popover .reports-more-action {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    color: #344054;
    font-size: 15px;
    text-align: left;
    text-decoration: none;
}

.reports-more-popover .reports-more-item {
    cursor: pointer;
}

.reports-more-popover .reports-more-item:hover,
.reports-more-popover .reports-more-action:hover {
    background: #f7f9fc;
}

.reports-more-popover .reports-more-item.is-active {
    background: #eef2f7;
    color: #1d2939;
}

.reports-more-divider {
    height: 1px;
    margin: 8px 0;
    background: #eaecf0;
}

.reports-more-popover .reports-more-action i {
    width: 16px;
    color: #98a2b3;
    text-align: center;
}

.reports-more-popover .reports-more-action--danger {
    color: #ef4444;
}

.reports-more-popover .reports-more-action--danger i {
    color: #ef4444;
}

.advances-board-shell {
    padding: 0 0 32px;
}

.advances-board-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 24px 0;
    border-bottom: 1px solid #e8edf6;
}

.advances-board-tabs {
    display: flex;
    align-items: center;
    gap: 14px;
}

.advances-board-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    color: #7a879d;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
}

.advances-board-tab.is-active {
    color: #3d7df0;
}

.advances-board-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: #4f8ef7;
}

.advances-board-tab-caret {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #465570;
    cursor: pointer;
    margin-left: -8px;
}

.advances-board-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.advances-board-record-btn {
    min-height: 44px;
    padding: 0 20px;
}

.advances-list-table-wrap {
    padding: 0 24px;
}

.advances-register-wrap {
    display: grid;
    gap: 30px;
    padding: 28px 24px 0;
}

.advances-register-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.8fr) auto;
    align-items: center;
    gap: 22px;
    padding: 30px 18px;
    border: 1px solid #e7ebf5;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.advances-register-check {
    align-self: start;
    padding-top: 4px;
}

.advances-register-check input {
    width: 21px;
    height: 21px;
    accent-color: #4f8ef7;
}

.advances-register-col {
    min-height: 86px;
    display: grid;
    align-content: start;
    gap: 8px;
    padding-left: 30px;
    border-left: 1px dashed #e2e8f3;
}

.advances-register-col--amount {
    border-left: 0;
    padding-left: 0;
}

.advances-register-col span {
    color: #5d6a8b;
    font-size: 16px;
    font-weight: 500;
}

.advances-register-col strong {
    color: #18243f;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}

.advances-register-col small {
    color: #5d6a8b;
    font-size: 14px;
}

.advances-register-link {
    color: #2f72de;
}

.advances-register-action {
    position: relative;
    justify-self: end;
}

.advances-list-head,
.advances-list-row {
    display: grid;
    grid-template-columns: 40px 1.1fr 1fr 1fr 0.8fr 0.9fr 210px;
    align-items: center;
    gap: 18px;
}

.advances-list-head {
    padding: 18px 12px 16px;
    color: #56657f;
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.advances-list-row {
    padding: 18px 12px;
    border-top: 1px solid #edf1f7;
}

.advances-list-row.is-highlighted {
    background: #f7f8ff;
}

.advances-list-row label input,
.advances-detail-rail-check input {
    width: 21px;
    height: 21px;
    accent-color: #4f8ef7;
}

.advances-list-row a {
    color: #2f72de;
    text-decoration: none;
    font-size: 16px;
}

.advances-list-row span {
    color: #243047;
    font-size: 15px;
}

.advances-list-row strong {
    color: #15233d;
    font-size: 15px;
    font-weight: 600;
}

.advances-list-apply {
    position: relative;
    justify-self: end;
}

.advances-list-apply-btn,
.advances-apply-btn {
    min-height: 44px;
    border: 1px solid #d3dbee;
    border-radius: 6px;
    background: #fff;
    padding: 0 14px;
    color: #243047;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.advances-detail-layout {
    display: grid;
    grid-template-columns: 440px minmax(0, 1fr);
    min-height: 680px;
}

.advances-detail-rail {
    border-right: 1px solid #e8edf6;
    background: #fff;
}

.advances-detail-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid #edf1f7;
}

.advances-detail-rail-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #15233d;
    font-size: 18px;
    font-weight: 600;
}

.advances-detail-rail-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.advances-detail-rail-plus {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: #4f8ef7;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
}

.advances-detail-rail-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #edf1f7;
    text-decoration: none;
}

.advances-detail-rail-item.is-active {
    background: #f7f8ff;
    box-shadow: inset 3px 0 0 #4f8ef7;
}

.advances-detail-rail-item span {
    color: #2f72de;
    font-size: 16px;
}

.advances-detail-rail-item strong {
    color: #15233d;
    font-size: 15px;
    font-weight: 700;
}

.advances-detail-main {
    padding: 18px 24px 28px;
}

.advances-detail-head,
.advances-next-card,
.advances-detail-card,
.advances-detail-footer {
    margin-left: 12px;
}

.advances-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.advances-detail-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.advances-detail-head h1 {
    margin: 0;
    color: #15233d;
    font-size: 18px;
    font-weight: 700;
}

.advances-next-card {
    margin-top: 24px;
    padding: 28px 28px;
    border: 1px solid #d8e0f0;
    border-radius: 6px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.advances-next-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f4f3ff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.advances-next-copy strong {
    display: block;
    color: #15233d;
    font-size: 17px;
}

.advances-next-copy p {
    margin: 4px 0 0;
    color: #253042;
    font-size: 16px;
}

.advances-detail-card {
    margin-top: 22px;
    padding: 0;
    border: 1px solid #d8e0f0;
    border-radius: 6px;
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    overflow: hidden;
}

.advances-detail-amount-panel {
    min-height: 420px;
    background:
        radial-gradient(circle at 8px 8px, rgba(79, 142, 247, 0.08) 0 1px, transparent 1px) 0 0 / 22px 22px,
        #fbfcff;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
}

.advances-detail-coin {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid #2d3650;
    color: #7ea2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.advances-detail-amount-panel span {
    color: #465572;
    font-size: 18px;
}

.advances-detail-amount-panel strong {
    color: #15233d;
    font-size: 26px;
    font-weight: 500;
}

.advances-detail-meta {
    padding: 28px 38px;
    display: grid;
    gap: 0;
}

.advances-detail-meta div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 66px;
    border-bottom: 1px solid #edf1f7;
}

.advances-detail-meta div:last-child {
    border-bottom: 0;
}

.advances-detail-meta span {
    color: #465572;
    font-size: 17px;
}

.advances-detail-meta strong {
    color: #15233d;
    font-size: 17px;
    font-weight: 600;
}

.advances-recorded-chip {
    width: fit-content;
    padding: 6px 14px;
    border: 1px solid #e1e8f3;
    border-radius: 999px;
    background: #fff;
}

.advances-detail-footer {
    margin-top: 28px;
}

.advances-detail-footer-tabs {
    display: flex;
    align-items: center;
    gap: 40px;
    border-bottom: 1px solid #dfe5f1;
}

.advances-detail-footer-tabs a {
    padding: 0 0 14px;
    color: #1f2b3d;
    text-decoration: none;
    font-size: 18px;
}

.advances-detail-footer-tabs a.is-active {
    color: #3d7df0;
    border-bottom: 3px solid #4f8ef7;
}

.advances-comment-box {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding-top: 20px;
}

.advances-comment-box img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.advances-comment-box textarea {
    width: 100%;
    min-height: 90px;
    border: 1px solid #d8e0ef;
    border-radius: 8px;
    padding: 14px 16px;
    resize: vertical;
}

.advances-history-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding-top: 20px;
}

.advances-history-item img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.advances-history-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #1f2b3d;
}

.advances-history-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5f6c85;
    font-size: 14px;
}

.advances-history-copy p {
    margin: 0;
    font-size: 16px;
}

.advances-inline-delete-form {
    margin: 0;
}

.advances-apply-popover {
    min-width: 320px;
    right: 0;
    padding: 0;
}

.advances-apply-empty {
    padding: 18px 22px;
    color: #667085;
    font-size: 16px;
    border-bottom: 1px solid #edf1f7;
}

.advances-apply-item,
.advances-apply-new {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    color: #2f72de;
    text-decoration: none;
    font-size: 16px;
}

.advances-apply-item:hover,
.advances-apply-new:hover {
    background: #f7f9fc;
}

.advance-amount-shell {
    display: grid;
    grid-template-columns: 84px 1fr;
    border: 1px solid #d2d9ea;
    border-radius: 8px;
    overflow: hidden;
}

.advance-amount-currency {
    min-height: 44px;
    border-right: 1px solid #d2d9ea;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #344054;
    background: #fff;
}

.advance-amount-shell input {
    border: 0 !important;
    border-radius: 0 !important;
}

.reports-table-wrap {
    padding: 0 24px;
}

.reports-selection-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    border-top: 1px solid #e7edf8;
    border-bottom: 1px solid #e7edf8;
}

.reports-selection-bar[hidden] {
    display: none !important;
}

.reports-selection-summary {
    color: #1f2d3f;
    font-size: 16px;
    font-style: italic;
    white-space: nowrap;
}

.reports-selection-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.reports-selection-btn {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #d6deee;
    border-radius: 6px;
    background: #fff;
    color: #253042;
    font-size: 15px;
    cursor: pointer;
}

.reports-selection-btn--primary {
    border-color: #4f8ef7;
    background: #4f8ef7;
    color: #fff;
}

.reports-selection-btn--icon {
    width: 44px;
    padding: 0;
    color: #ef4444;
}

.reports-selection-close {
    width: 44px;
    height: 44px;
    border: 1px solid #d6deee;
    border-radius: 6px;
    background: #fff;
    color: #2f3d53;
    cursor: pointer;
}

.reports-list-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.reports-list-table thead th {
    padding: 18px 12px;
    border-bottom: 1px solid #e7edf8;
    color: #56657f;
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 500;
    text-align: left;
}

.reports-list-check {
    width: 52px;
}

.reports-list-icon {
    width: 64px;
    text-align: center !important;
}

.reports-list-table tbody td {
    padding: 18px 12px;
    border-bottom: 1px solid #edf1f7;
    color: #202b3b;
    font-size: 15px;
    vertical-align: middle;
}

.reports-list-table tbody tr.is-highlighted {
    background: #f7f8ff;
}

.reports-list-table input[type="checkbox"] {
    width: 21px;
    height: 21px;
    accent-color: #4f8ef7;
}

.reports-list-code {
    white-space: nowrap;
    color: #263145;
    font-size: 15px;
    font-weight: 500;
}

.reports-list-name a {
    display: inline-block;
    color: #2f72de;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 500;
}

.reports-list-name span {
    display: block;
    margin-top: 8px;
    color: #67758d;
    font-size: 13px;
}

.reports-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 0.16em;
    font-weight: 700;
}

.reports-status-pill.is-draft {
    background: #f1eefb;
    color: #8275ac;
}

.reports-status-pill.is-approved {
    background: #e7f7ef;
    color: #18a06b;
}

.reports-status-pill.is-pending,
.reports-status-pill.is-reimbursement {
    background: #fff7e6;
    color: #b7791f;
}

.reports-status-pill.is-reimbursed,
.reports-status-pill.is-archived {
    background: #eef2f8;
    color: #647086;
}

.reports-status-link {
    text-decoration: none;
}

.reports-approver-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px 0 6px;
    border: 1px solid #d9e1ef;
    border-radius: 999px;
    background: #fff;
    color: #1f2b3d;
    font-size: 14px;
}

.reports-approver-chip img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.reports-approver-empty {
    color: #69768f;
    font-size: 20px;
}

.reports-list-amount {
    white-space: nowrap;
    color: #202b3b;
    font-size: 15px;
    font-weight: 500;
}

.reports-list-icons {
    white-space: nowrap;
    color: #c8cfde;
    font-size: 16px;
    text-align: right;
}

.reports-list-icons i + i {
    margin-left: 14px;
}

.reports-list-empty {
    padding: 32px 16px;
    color: #6b778e;
    font-size: 16px;
    text-align: center;
}

.report-detail-shell {
    padding: 0 0 32px;
}

.report-detail-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 24px;
    border-bottom: 1px solid #e8edf6;
}

.report-detail-top-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.report-detail-top-left strong {
    font-size: 18px;
    color: #1f2b3d;
}

.report-detail-comment-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #dce4f1;
    border-radius: 6px;
    background: #fdfdff;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.report-detail-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-detail-icon-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #d6deee;
    border-radius: 6px;
    background: #fff;
    color: #4a5872;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.report-detail-submit-btn {
    min-height: 42px;
    padding: 0 18px;
}

.report-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr) 260px;
    gap: 24px;
    padding: 28px 24px 22px;
    border-bottom: 1px solid #edf1f7;
}

.report-detail-hero-main h1 {
    margin: 0;
    font-size: 24px;
    color: #1f2b3d;
    font-weight: 500;
}

.report-detail-hero-main p {
    margin: 6px 0 0;
    font-size: 16px;
    color: #5f6f88;
}

.report-detail-hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.report-detail-hero-metrics span,
.report-detail-side-block span {
    display: block;
    color: #5f6f88;
    font-size: 14px;
}

.report-detail-hero-metrics strong {
    display: block;
    margin-top: 4px;
    color: #15233d;
    font-size: 16px;
    font-weight: 700;
}

.report-detail-summary-link {
    display: inline-flex;
    margin-top: 8px;
    color: #2f72de;
    font-size: 14px;
    text-decoration: none;
}

.report-detail-sidebar {
    border-left: 1px solid #edf1f7;
    padding-left: 20px;
    display: grid;
    align-content: start;
    gap: 24px;
}

.report-detail-side-block strong {
    display: block;
    margin-top: 4px;
    color: #1f2b3d;
    font-size: 16px;
    font-weight: 500;
}

.report-detail-approver-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.report-detail-approver-card img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.report-detail-side-block small {
    display: block;
    margin-top: 4px;
    color: #2f72de;
    font-size: 14px;
}

.report-detail-side-link {
    display: inline-flex;
    margin-top: 8px;
    color: #2f72de;
    font-size: 14px;
    text-decoration: none;
}

.report-detail-trip-code {
    color: #2f72de;
}

.report-detail-documents-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.report-detail-documents-add {
    border: 0;
    background: transparent;
    color: #2f72de;
    font-size: 32px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.report-detail-warning {
    margin: 0 24px 22px;
    border: 1px solid #f1d4ba;
    background: #fff;
}

.report-detail-warning-head {
    padding: 14px 18px;
    color: #d55b18;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #f6dfca;
}

.report-detail-warning-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d55b18;
    color: #fff;
    font-size: 12px;
}

.report-detail-warning-body {
    padding: 18px;
    color: #d55b18;
}

.report-detail-warning-body strong {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
}

.report-detail-warning-body p {
    margin: 0;
    font-size: 15px;
}

.report-detail-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 24px;
    padding: 0 18px;
    min-height: 70px;
    background: #f6f7fe;
    border-radius: 6px;
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
}

.report-detail-tabs a {
    border: 0;
    background: transparent;
    padding: 0 0 16px;
    color: #1f2b3d;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.report-detail-tab-tool {
    margin-left: auto;
    width: 36px;
    height: 36px;
    border: 1px solid #d6deee;
    border-radius: 6px;
    background: #fff;
    color: #60708d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.report-detail-tabs a.is-active {
    color: #3d7df0;
    border-bottom: 3px solid #4f8ef7;
}

.report-detail-tabs a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 5px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ebefff;
    color: #6d7ba0;
    font-size: 11px;
}

.report-detail-add-expense {
    margin-left: auto;
    min-height: 36px;
    padding: 0 18px;
    border-radius: 4px;
    background: #e9f1ff;
    color: #3d7df0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.report-detail-expenses {
    display: grid;
    gap: 18px;
    padding: 18px 24px 0;
}

.report-empty-dropzone {
    border: 1px dashed #dce4f5;
    min-height: 450px;
    padding: 40px 24px 34px;
    display: grid;
    place-items: center;
    align-content: center;
    justify-items: center;
    gap: 12px;
    text-align: center;
    background: #fff;
}

.report-empty-dropzone-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 1px solid #ebeff7;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    color: #626e89;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.report-empty-dropzone-copy strong {
    display: block;
    color: #465572;
    font-size: 17px;
    font-weight: 500;
}

.report-empty-dropzone-copy p {
    margin: 4px 0 0;
    color: #66758d;
    font-size: 16px;
}

.report-empty-dropzone-copy a {
    color: #2f72de;
    text-decoration: none;
}

.report-empty-dropzone-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.report-empty-primary,
.report-empty-secondary {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    gap: 8px;
}

.report-empty-primary {
    background: #4f8ef7;
    color: #fff;
    box-shadow: 0 10px 24px rgba(79, 142, 247, 0.24);
}

.report-empty-secondary {
    border: 1px solid #cfd8eb;
    background: #fff;
    color: #22304a;
}

.report-detail-panel {
    padding: 18px 24px 0;
}

.report-detail-panel--emptyable {
    min-height: 540px;
}

.report-detail-empty {
    min-height: 420px;
    display: grid;
    place-items: center;
    align-content: center;
    justify-items: center;
    gap: 18px;
    padding: 32px 20px;
    color: #48556d;
    text-align: center;
}

.report-detail-empty-illustration {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 38%, #f4fbf3 0%, #ffffff 68%);
    color: #59b347;
    font-size: 44px;
}

.report-detail-empty p {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
}

.report-expense-card {
    display: grid;
    grid-template-columns: 24px 120px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: stretch;
    padding: 24px 18px;
    border: 1px solid #e8edf6;
    border-radius: 6px;
    background: #fff;
}

.report-expense-check {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
}

.report-expense-check input {
    width: 21px;
    height: 21px;
    accent-color: #4f8ef7;
}

.report-expense-thumb {
    width: 116px;
    height: 116px;
    border: 1px dashed #d7dff0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #5f6f88;
    font-size: 15px;
    text-align: center;
}

.report-expense-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.report-expense-copy span {
    display: block;
    color: #1f2b3d;
    font-size: 16px;
}

.report-expense-copy strong {
    display: none;
}

.report-expense-amount {
    color: #15233d;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.report-expense-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.report-expense-meta a {
    color: #2f72de;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.report-expense-flag {
    width: 21px;
    height: 21px;
    border: 1px solid #4f5561;
    border-radius: 6px;
    color: #1f2b3d;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.report-expense-copy p {
    margin: 8px 0 0;
    color: #6c7890;
    font-size: 14px;
    line-height: 1.45;
}

.report-expense-side {
    display: grid;
    justify-items: end;
    align-content: start;
    gap: 10px;
    min-width: 92px;
}

.report-expense-tools {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.report-expense-tool {
    color: #3d7df0;
    font-size: 22px;
    line-height: 1;
}

.report-expense-tool.is-warning {
    color: #cfd6e6;
}

.report-expense-tool.is-warning .fa-triangle-exclamation {
    color: #ef5a5a;
}

.report-expense-tool--more {
    color: #606d87;
    font-size: 18px;
}

.expenses-board-shell {
    padding: 0 0 34px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.expenses-board-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.expenses-table-wrap {
    padding: 0 24px;
}

.expenses-list-table thead th {
    font-size: 13px;
    color: #546583;
}

.expenses-list-details {
    min-width: 360px;
}

.expenses-list-detail-wrap {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.expenses-list-thumb {
    width: 56px;
    height: 56px;
    border: 1px dashed #d5ddef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #53688f;
    font-size: 18px;
    font-weight: 700;
    background: #fff;
}

.expenses-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expenses-list-copy span {
    display: block;
    color: #1b2840;
    font-size: 15px;
}

.expenses-list-copy a,
.expenses-list-report a {
    display: inline-block;
    margin-top: 6px;
    color: #2f72de;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.expenses-list-merchant,
.expenses-list-amount {
    color: #233048;
    font-size: 16px;
}

.expenses-list-amount {
    white-space: nowrap;
}

.expenses-list-report span {
    display: block;
    margin-top: 6px;
    color: #5e6f8d;
    font-size: 13px;
}

.expenses-list-report-empty {
    margin-top: 0 !important;
}

.expenses-list-icons {
    white-space: nowrap;
    text-align: center;
}

.expenses-list-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin: 0 4px;
    color: #c7cfdf;
    text-decoration: none;
    font-size: 17px;
}

.expenses-list-icons a:first-child {
    color: #ff8a00;
}

.expenses-board-toolbar .reports-table-actions {
    gap: 10px;
}

.expenses-new-button {
    min-height: 44px;
    padding: 0 0 0 18px;
    overflow: hidden;
}

.expenses-new-button span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.expenses-new-button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: 44px;
    margin-left: 12px;
    background: rgba(0, 0, 0, 0.06);
}

.expenses-new-popover {
    min-width: 190px;
}

.expenses-view-popover {
    min-width: 180px;
}

.expenses-board-empty {
    padding: 52px 28px;
    border: 1px dashed #c8d3e5;
    border-radius: 28px;
    background: linear-gradient(180deg, #fbfdff 0%, #f2f7ff 100%);
    text-align: center;
}

.expenses-board-empty-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid #d7e1f0;
    border-radius: 24px;
    background: #ffffff;
    color: #2f7cf6;
    font-size: 28px;
    box-shadow: 0 18px 28px rgba(47, 124, 246, 0.12);
}

.expenses-board-empty h2 {
    margin: 0;
    color: #182236;
    font-size: 28px;
}

.expenses-board-empty p {
    max-width: 560px;
    margin: 12px auto 0;
    color: #607089;
    font-size: 15px;
}

.expenses-board-empty-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.expenses-empty-stage {
    width: min(100%, 952px);
    margin: 56px auto 0;
    display: grid;
    gap: 0;
    justify-items: center;
}

.expenses-zero-stage {
    min-height: 620px;
    display: grid;
    place-items: center;
    align-content: center;
    justify-items: center;
    gap: 18px;
    padding: 40px 24px 80px;
}

.expenses-zero-illustration {
    position: relative;
    width: 360px;
    height: 150px;
}

.expenses-zero-scooter {
    position: absolute;
    left: 98px;
    top: 48px;
    color: #f6b332;
    font-size: 42px;
    transform: scaleX(-1);
}

.expenses-zero-cloud {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: #edf1fa;
}

.expenses-zero-cloud::before,
.expenses-zero-cloud::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #edf1fa;
}

.expenses-zero-cloud--one {
    top: 20px;
    left: 150px;
    width: 26px;
    height: 10px;
}

.expenses-zero-cloud--one::before {
    left: 4px;
    top: -6px;
    width: 10px;
    height: 10px;
}

.expenses-zero-cloud--one::after {
    left: 12px;
    top: -4px;
    width: 8px;
    height: 8px;
}

.expenses-zero-cloud--two {
    top: 54px;
    right: 58px;
    width: 22px;
    height: 8px;
}

.expenses-zero-cloud--two::before {
    left: 2px;
    top: -5px;
    width: 9px;
    height: 9px;
}

.expenses-zero-cloud--two::after {
    left: 10px;
    top: -3px;
    width: 7px;
    height: 7px;
}

.expenses-zero-hill {
    position: absolute;
    left: 72px;
    right: 44px;
    bottom: 20px;
    height: 54px;
    background:
        radial-gradient(circle at 20% 100%, rgba(195, 203, 221, 0.55) 0 35%, transparent 36%),
        radial-gradient(circle at 55% 100%, rgba(195, 203, 221, 0.55) 0 38%, transparent 39%),
        radial-gradient(circle at 88% 100%, rgba(195, 203, 221, 0.55) 0 32%, transparent 33%);
    opacity: 0.9;
}

.expenses-zero-stage p {
    margin: 0;
    color: #1c2940;
    font-size: 22px;
    font-weight: 400;
}

.expenses-board-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    border-radius: 0;
    background: #fdf1e7;
    color: #6d4a2a;
}

.expenses-board-notice i {
    color: #be6225;
}

.expenses-board-notice a {
    color: #2f72de;
    text-decoration: none;
}

.expenses-board-toolbar {
    margin-bottom: 0;
    padding-top: 14px;
}

.expenses-board-tab-caret {
    display: inline-flex;
    align-items: center;
    color: #5d6b85;
    margin-left: -8px;
}

.expenses-board-bucket-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.expenses-board-bucket-caret {
    width: 24px;
    height: 24px;
    margin-left: -2px;
    border: 0;
    background: transparent;
    color: #7f8ca6;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.expenses-board-bucket-caret.is-active,
.expenses-board-bucket-caret:hover {
    color: #3d7df0;
}

.expenses-board-bucket-caret i {
    font-size: 12px;
    color: currentColor;
}

.expenses-board-bucket-popover {
    min-width: 204px;
    left: 0;
    right: auto;
}

.reports-table-icon-btn.is-active {
    color: #3d7df0;
    border-color: #b8cdfb;
    background: #f4f8ff;
}

.expenses-board-filters {
    padding: 6px 0 0;
    border-top: 1px solid #edf1f8;
    background: #fbfcff;
}

.expenses-board-filters-form {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 10px;
    flex-wrap: wrap;
}

.expenses-board-filter-picker {
    position: relative;
}

.expenses-board-filter-chip {
    min-height: 38px;
    border: 1px solid #cfd8f3;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    cursor: pointer;
}

.expenses-board-filter-chip--icon {
    width: 38px;
    justify-content: center;
    border-radius: 50%;
    background: #253047;
    color: #fff;
    padding: 0;
}

.expenses-board-filter-chip--wide {
    min-width: 0;
    justify-content: flex-start;
    gap: 10px;
}

.expenses-board-filter-chip.has-value {
    border-color: #c3d0f8;
    box-shadow: inset 0 0 0 1px rgba(86, 126, 241, 0.05);
}

.expenses-board-filter-label {
    color: #5a6c8f;
    font-weight: 500;
}

.expenses-board-filter-chip strong {
    color: #31415f;
    font-weight: 500;
}

.expenses-board-filter-chip-clear {
    color: #ef5b63;
    font-size: 23px;
    line-height: 1;
    margin-left: -2px;
}

.expenses-board-filter-clear {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5b6780;
    text-decoration: none;
    margin-left: auto;
    border-radius: 50%;
    border: 1px solid #d8dfef;
    background: #fff;
}

.expenses-board-filter-reset {
    color: #2f72de;
    text-decoration: none;
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
}

.expenses-board-date-popover,
.expenses-board-category-popover {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 50;
    background: #fff;
    border: 1px solid #dde4f2;
    border-radius: 10px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.expenses-board-date-popover[hidden],
.expenses-board-category-popover[hidden] {
    display: none !important;
}

.expenses-board-date-popover {
    width: 820px;
    max-width: calc(100vw - 180px);
    display: grid;
    grid-template-columns: 194px minmax(0, 1fr);
}

.expenses-board-date-presets {
    display: grid;
    border-right: 1px solid #e8edf7;
    padding: 12px 0;
}

.expenses-board-date-preset {
    border: 0;
    background: transparent;
    padding: 11px 26px;
    text-align: left;
    color: #3b4659;
    font-size: 15px;
    cursor: pointer;
}

.expenses-board-date-preset:hover,
.expenses-board-date-preset.is-active {
    background: #f4f7fc;
}

.expenses-board-date-range {
    padding: 18px 18px 14px;
    display: grid;
    gap: 14px;
    align-content: start;
    background: #fff;
}

.expenses-board-date-range label {
    min-height: 48px;
    border: 1px solid #cfd7e8;
    border-radius: 6px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #516079;
}

.expenses-board-date-range input[type="date"] {
    width: 100%;
    border: 0;
    background: transparent;
    color: #334155;
    outline: none;
}

.expenses-board-date-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.expenses-board-date-cancel,
.expenses-board-date-apply {
    min-height: 36px;
    border-radius: 6px;
    padding: 0 16px;
    font-weight: 600;
    cursor: pointer;
}

.expenses-board-date-cancel {
    border: 1px solid #d9e0ef;
    background: #fff;
    color: #364152;
}

.expenses-board-date-apply {
    border: 0;
    background: #4f8ef7;
    color: #fff;
}

.expenses-board-category-popover {
    width: 408px;
    padding: 10px;
}

.expenses-board-category-search {
    position: relative;
    margin-bottom: 10px;
}

.expenses-board-category-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0acc0;
}

.expenses-board-category-search input {
    width: 100%;
    min-height: 38px;
    border: 1px solid #5f94f9;
    border-radius: 3px;
    padding: 0 12px 0 34px;
    outline: none;
}

.expenses-board-category-list {
    max-height: 294px;
    overflow: auto;
    display: grid;
    gap: 2px;
}

.expenses-board-category-option {
    border: 0;
    background: #fff;
    border-radius: 4px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #233248;
    text-align: left;
    cursor: pointer;
}

.expenses-board-category-option:hover,
.expenses-board-category-option.is-selected {
    background: #2f72de;
    color: #fff;
}

.expenses-board-list {
    padding-top: 2px;
}

.expenses-receipt-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 28px;
    padding: 28px 12px 8px;
}

.expenses-receipt-upload-card,
.expenses-receipt-card {
    border: 1px solid #dfe6f5;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.expenses-receipt-upload-card {
    display: grid;
    min-height: 434px;
    border-style: dashed;
}

.expenses-receipt-upload-main {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    padding: 32px 28px 20px;
    text-align: center;
}

.expenses-receipt-upload-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    border: 1px solid #dfe6f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2db97d;
    font-size: 34px;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.expenses-receipt-upload-main strong {
    color: #425372;
    font-size: 18px;
    font-weight: 500;
}

.expenses-receipt-upload-main p {
    margin: 0;
    color: #566883;
    font-size: 16px;
}

.expenses-receipt-upload-main a {
    color: #2f72de;
    text-decoration: none;
}

.expenses-receipt-upload-footer {
    align-self: end;
    padding: 20px 28px 22px;
    border-top: 1px solid #e7edf8;
    color: #556781;
    font-size: 14px;
    line-height: 1.6;
}

.expenses-receipt-upload-footer strong {
    display: block;
    color: #243047;
    font-size: 14px;
    font-weight: 500;
    word-break: break-word;
}

.expenses-receipt-card {
    display: grid;
    grid-template-rows: 292px auto auto;
}

.expenses-receipt-card-media {
    position: relative;
    background: #f7f9fe;
}

.expenses-receipt-card-check {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.expenses-receipt-card-check input {
    width: 22px;
    height: 22px;
    accent-color: #2db97d;
}

.expenses-receipt-card-expand {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    color: #aeb9cf;
    text-decoration: none;
    font-size: 18px;
}

.expenses-receipt-card-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    color: #d0d8e9;
}

.expenses-receipt-card-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expenses-receipt-card-stage.is-placeholder span {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: #eef2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.expenses-receipt-card-body {
    padding: 14px 18px 18px;
    display: grid;
    gap: 8px;
}

.expenses-receipt-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.expenses-receipt-card-meta > span {
    color: #45546f;
    font-size: 16px;
}

.expenses-receipt-card-title {
    color: #2563eb;
    text-decoration: none;
    font-size: 16px;
}

.expenses-receipt-card-amount {
    color: #1f2b3d;
    font-size: 18px;
    font-weight: 500;
}

.expenses-receipt-card-footer {
    min-height: 42px;
    border-top: 1px solid #e8edf6;
    color: #8b96aa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
}

.expenses-receipt-card-footer.is-linked {
    background: #29b879;
    color: #fff;
    border-top-color: #29b879;
}

.expenses-receipt-card-report span {
    display: block;
    font-size: 15px;
}

.expenses-receipt-card-report small {
    display: block;
    font-size: 12px;
    opacity: 0.88;
}

.expenses-receipt-card-tools {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.expenses-receipt-card-divider {
    width: 1px;
    height: 22px;
    background: currentColor;
    opacity: 0.35;
}

.expenses-receipt-card-tools a {
    color: inherit;
    text-decoration: none;
    font-size: 18px;
}

.expenses-calendar-board {
    display: grid;
    gap: 10px;
}

.expenses-calendar-empty {
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 40px 24px;
}

.expenses-calendar-empty p {
    margin: 0;
    color: #5a6783;
    font-size: 18px;
}

.expenses-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 10px 0;
}

.expenses-calendar-month-picker {
    position: relative;
    min-height: 34px;
    padding: 0 30px 0 18px;
    border-radius: 4px;
    background: #edf4ff;
    color: #3e7be6;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
}

.expenses-calendar-month-picker select {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.expenses-calendar-month-picker i {
    position: absolute;
    right: 12px;
}

.expenses-calendar-total {
    color: #4b5871;
    font-size: 16px;
}

.expenses-calendar-total strong {
    color: #172554;
}

.expenses-calendar-weekdays,
.expenses-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.expenses-calendar-weekdays {
    padding: 0 10px;
    color: #2f3b4f;
    font-size: 16px;
}

.expenses-calendar-weekdays > div {
    padding: 12px 10px;
    text-align: center;
}

.expenses-calendar-cell {
    min-height: 176px;
    border-top: 1px solid #e7edf8;
    border-right: 1px solid #e7edf8;
    padding: 18px 18px 16px;
    display: grid;
    align-content: start;
    gap: 8px;
    background: #fff;
}

.expenses-calendar-cell:nth-child(7n) {
    border-right: 0;
}

.expenses-calendar-cell.is-muted {
    color: #c2c8d9;
}

.expenses-calendar-cell.is-today {
    background: #f7f8fd;
}

.expenses-calendar-day {
    color: #c2c8d9;
    font-size: 14px;
}

.expenses-calendar-cell strong {
    color: #111827;
    font-size: 17px;
    font-weight: 500;
}

.expenses-calendar-cell span,
.expenses-calendar-cell small,
.expenses-calendar-cell em {
    color: #334155;
    font-style: normal;
    font-size: 14px;
}

.expenses-empty-dropzone {
    width: 100%;
    min-height: 450px;
    border: 2px dashed #d8def0;
    border-radius: 4px;
    background: #fff;
    display: grid;
    justify-items: center;
    align-content: center;
    padding: 48px 24px 0;
}

.expenses-empty-dropzone-icon {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e7f2;
    border-radius: 50%;
    color: #586682;
    font-size: 34px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.expenses-empty-dropzone-copy {
    margin-top: 22px;
    text-align: center;
}

.expenses-empty-dropzone-copy strong {
    display: block;
    color: #4d6798;
    font-size: 28px;
    font-weight: 500;
}

.expenses-empty-dropzone-copy p {
    margin: 8px 0 0;
    color: #576989;
    font-size: 18px;
}

.expenses-empty-dropzone-copy a,
.expenses-empty-link,
.reports-empty-link {
    color: #4b5fa3;
    text-decoration: none;
}

.expenses-empty-dropzone-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 22px;
}

.expenses-empty-split {
    display: inline-flex;
    align-items: stretch;
}

.expenses-empty-split-main,
.expenses-empty-split-toggle {
    margin: 0;
}

.expenses-empty-split-main {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.expenses-empty-split-toggle {
    min-width: 42px;
    justify-content: center;
    border-left: 1px solid rgba(110, 126, 173, 0.22);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-inline: 0;
}

.expenses-empty-receipts {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 18px 20px;
    border: 1px solid #e5eaf4;
    border-top: 0;
    color: #566883;
    font-size: 15px;
}

.expenses-empty-receipts strong {
    color: #243047;
    font-weight: 500;
}

.expenses-empty-copy {
    border: 0;
    background: transparent;
    color: #3769d8;
    font-weight: 600;
    cursor: pointer;
}

.expenses-empty-link,
.reports-empty-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-size: 16px;
}

.reports-empty-stage {
    min-height: 680px;
    display: grid;
    justify-items: center;
    align-content: center;
    padding: 56px 24px 72px;
}

.reports-empty-stage--approval-list {
    min-height: 520px;
    padding-top: 92px;
    align-content: start;
}

.reports-empty-stage--approval-list .reports-empty-copy {
    max-width: none;
    color: #4f5c83;
    font-size: 20px;
    text-align: center;
}

.reports-empty-stage--approval-list .reports-empty-copy p {
    margin: 0;
}

.reports-empty-illustration {
    position: relative;
    width: 320px;
    height: 188px;
}

.reports-empty-screen {
    position: absolute;
    top: 28px;
    left: 168px;
    width: 92px;
    height: 72px;
    border: 4px solid #e5eaf4;
    border-radius: 8px;
    background: linear-gradient(180deg, #fbfdff 0%, #f1f5fb 100%);
}

.reports-empty-screen::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 54px;
    height: 2px;
    background: #c8d2e4;
    transform: translateX(-50%);
}

.reports-empty-person {
    position: absolute;
    left: 118px;
    bottom: 26px;
    width: 78px;
    height: 98px;
    background:
        radial-gradient(circle at 56% 20%, #595959 0 18px, transparent 19px),
        linear-gradient(180deg, #4f4f4f 0 44%, transparent 44%),
        radial-gradient(circle at 48% 72%, #dfe7f3 0 30px, transparent 31px);
    border-radius: 32px;
    opacity: 0.95;
}

.reports-empty-desk {
    position: absolute;
    left: 76px;
    right: 44px;
    bottom: 16px;
    height: 2px;
    background: #cbd5e3;
}

.reports-empty-copy {
    margin-top: 24px;
    text-align: center;
}

.reports-empty-copy h2 {
    margin: 0;
    color: #4c5f92;
    font-size: 22px;
    font-weight: 500;
}

.reports-empty-copy p {
    margin: 8px 0 0;
    color: #4c5f92;
    font-size: 18px;
}

.reports-empty-cta {
    margin-top: 24px;
}

.report-detail-related-list {
    padding-bottom: 12px;
}

.report-detail-summary {
    padding: 18px 24px 0;
    display: grid;
    justify-content: end;
}

.report-detail-summary-grid {
    min-width: 420px;
    display: grid;
    gap: 16px;
    margin-bottom: 14px;
}

.report-detail-summary-grid div,
.report-detail-summary-total {
    display: grid;
    grid-template-columns: minmax(220px, auto) auto;
    align-items: center;
    gap: 18px;
}

.report-detail-summary-grid span,
.report-detail-summary-total span {
    color: #2b3954;
    font-size: 17px;
}

.report-detail-summary-grid strong,
.report-detail-summary-total strong {
    color: #15233d;
    font-size: 17px;
    font-weight: 700;
    text-align: right;
}

.report-detail-summary-total {
    padding: 18px 22px;
    background: #f4f5ff;
    border-radius: 2px;
}

.report-detail-summary-total span,
.report-detail-summary-total strong {
    font-size: 18px;
}

.report-history-list {
    display: grid;
    gap: 18px;
    max-width: 760px;
}

.report-history-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.report-history-avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.report-history-content {
    padding-bottom: 14px;
    border-bottom: 1px solid #ebf0f7;
}

.report-history-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.report-history-heading strong {
    color: #28406b;
    font-size: 16px;
    font-weight: 500;
}

.report-history-heading span {
    color: #6f7e97;
    font-size: 14px;
}

.report-history-content p {
    margin: 6px 0 0;
    color: #1f2b3d;
    font-size: 16px;
    line-height: 1.6;
}

.report-history-empty {
    color: #6f7e97;
    font-size: 16px;
    padding: 6px 0 12px;
}

.page-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    overflow-x: visible;
    z-index: 300;
}

.page-modal-overlay[hidden] {
    display: none !important;
}

.report-submit-alert {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff1e7;
    color: #d55b18;
    font-size: 16px;
    line-height: 1.5;
}

.reports-tabs {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 4px 14px 0;
    overflow-x: auto;
}

.report-tab {
    min-width: 132px;
    border: 0;
    background: transparent;
    padding: 10px 0 12px;
    text-align: left;
    cursor: pointer;
    color: #1f2937;
    border-bottom: 3px solid transparent;
}

.report-tab-label {
    display: block;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #202b3b;
}

.report-tab-value {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: #202b3b;
    font-weight: 700;
}

.report-tab.is-active {
    border-bottom-color: #4f8ef7;
}

.report-tab.is-active .report-tab-label,
.report-tab.is-active .report-tab-value {
    color: #4f8ef7;
}

.reports-body {
    min-height: 300px;
    border-top: 1px solid #edf0f5;
    padding: 22px 18px 18px;
}

.report-panel {
    display: none;
    min-height: 240px;
}

.report-panel.is-active {
    display: block;
}

.dashboard-report-list {
    display: grid;
    gap: 12px;
}

.dashboard-report-card,
.recent-trip-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 18px;
    border: 1px solid #e7edf7;
    border-radius: 10px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
    text-decoration: none;
}

.dashboard-report-card:hover,
.recent-trip-card:hover {
    border-color: #d7e2f7;
    box-shadow: 0 8px 24px rgba(34, 60, 120, 0.08);
}

.dashboard-report-card-main,
.recent-trip-card-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-report-card-code {
    flex-shrink: 0;
    min-width: 82px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #3d72dd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
}

.dashboard-report-card-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.dashboard-report-card-copy strong,
.recent-trip-card-main strong {
    color: #1f2d40;
    font-size: 18px;
    font-weight: 700;
}

.dashboard-report-card-copy span,
.recent-trip-card-main span,
.recent-trip-card-main small {
    color: #6a7891;
    font-size: 14px;
    line-height: 1.4;
}

.dashboard-report-card-meta {
    display: grid;
    justify-items: end;
    gap: 10px;
    flex-shrink: 0;
}

.dashboard-report-card-meta strong {
    color: #1f2d40;
    font-size: 20px;
    font-weight: 800;
}

.dashboard-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-status-pill.is-approved {
    background: #ebf8ef;
    color: #159957;
}

.dashboard-status-pill.is-pending {
    background: #fff4df;
    color: #c98312;
}

.dashboard-status-pill.is-reimbursement {
    background: #edf1ff;
    color: #4e66d8;
}

.dashboard-status-pill.is-draft {
    background: #edf0f5;
    color: #627087;
}

.reports-start {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
    gap: 28px;
    align-items: stretch;
    padding: 28px 26px 24px;
}

.reports-start-copy {
    display: grid;
    align-content: center;
    gap: 14px;
}

.reports-start-kicker {
    margin: 0;
    color: #4f8ef7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.reports-start-copy h1 {
    margin: 0;
    color: #1f2738;
    font-size: 32px;
    line-height: 1.12;
}

.reports-start-text {
    margin: 0;
    max-width: 520px;
    color: #667185;
    font-size: 15px;
    line-height: 1.58;
}

.reports-start-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.reports-start-note {
    margin: 0;
    color: #8390a5;
    font-size: 13px;
}

.reports-start-preview {
    display: flex;
    justify-content: flex-end;
}

.reports-start-preview-card {
    width: 100%;
    border: 1px solid #dfe5f2;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    box-shadow: 0 16px 30px rgba(23, 33, 61, 0.08);
    padding: 18px 18px 16px;
}

.reports-start-preview-header {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
}

.reports-start-preview-header strong {
    color: #263145;
    font-size: 17px;
}

.reports-start-preview-header span {
    color: #94a0b6;
    font-size: 13px;
}

.reports-start-panels {
    padding: 16px 0 6px;
}

.reports-start-preview-entry {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 106px;
    padding: 12px 0 2px;
}

.reports-start-preview-thumb {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    border: 1px solid #e6ebf5;
    background: #f8faff;
    color: #8b95a8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.reports-start-preview-details {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.reports-start-preview-details strong {
    color: #374154;
    font-size: 16px;
}

.reports-start-preview-details span,
.reports-start-preview-details small {
    color: #97a2b6;
    font-size: 13px;
}

.reports-start-preview-amount {
    color: #45506a;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.reports-start-empty {
    min-height: 140px;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 10px;
    color: #667185;
    font-size: 14px;
}

.reports-workflow,
.reports-more {
    padding: 22px 24px 24px;
}

.reports-section-header {
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f5;
}

.reports-section-header h2 {
    margin: 0;
    color: #1f2738;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.reports-workflow-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
    padding-top: 28px;
}

.reports-workflow-card {
    min-height: 112px;
    border: 1px solid #e4e9f3;
    border-radius: 12px;
    background: #fff;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 16px 12px;
    text-align: center;
    color: #39455a;
    font-size: 13px;
    font-weight: 700;
}

.reports-workflow-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #edf4ff;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.reports-workflow-icon--green {
    background: #e7f8ef;
    color: #2fc46f;
}

.reports-workflow-arrow {
    color: #93a0b6;
    font-size: 22px;
    text-align: center;
}

.reports-more-list {
    display: grid;
    gap: 14px;
    padding-top: 18px;
}

.reports-more-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f5;
}

.reports-more-item:last-child {
    border-bottom: 0;
}

.reports-more-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f7f9fc;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.reports-more-copy {
    display: grid;
    gap: 4px;
}

.reports-more-copy strong {
    color: #253042;
    font-size: 15px;
}

.reports-more-copy p {
    margin: 0;
    color: #738097;
    font-size: 13px;
    line-height: 1.55;
}

.reports-more-item a {
    color: #4f8ef7;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.reports-summary-grid {
    margin-top: 2px;
}

.approvals-workspace {
    padding: 0 0 28px;
    display: grid;
    gap: 18px;
}

.approvals-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 14px 24px 0;
    border-bottom: 1px solid #e7ebf3;
}

.approvals-nav-link {
    position: relative;
    padding: 0 0 16px;
    color: #222c3c;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.approvals-nav-link i {
    color: #55627a;
    font-size: 18px;
}

.approvals-nav-link.is-active {
    color: #3b82f6;
}

.approvals-nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #3b82f6;
}

.approvals-panel {
    display: none;
}

.approvals-panel.is-active {
    display: block;
}

.approvals-board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    padding: 12px 38px 0;
}

.approvals-board-card {
    min-height: 650px;
    border: 1px solid #e3e8f3;
    border-radius: 4px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.approvals-board-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 20px 12px;
}

.approvals-board-header h2 {
    margin: 0;
    color: #11213d;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 500;
}

.approvals-board-count {
    width: 68px;
    height: 64px;
    border-radius: 4px;
    background: #fee8a6;
    color: #8a7440;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.approvals-board-body {
    flex: 1;
    border-top: 1px solid #edf1f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    color: #5c6696;
    font-size: 16px;
}

.approvals-board-body p {
    margin: 0;
}

.approvals-board-row {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #edf1f8;
    border-radius: 4px;
    text-align: left;
    text-decoration: none;
}

.approvals-board-row strong {
    display: block;
    color: #1b2a46;
    font-size: 15px;
}

.approvals-board-row span {
    display: block;
    margin-top: 4px;
    color: #6e7895;
    font-size: 13px;
}

.approvals-list-shell {
    padding: 18px 20px 0;
}

.approvals-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.approvals-filter-menu {
    position: relative;
}

.approvals-filter-menu summary {
    list-style: none;
    cursor: pointer;
    color: #273143;
    font-size: 18px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.approvals-filter-menu summary::-webkit-details-marker {
    display: none;
}

.approvals-filter-menu[open] .approvals-filter-popover {
    display: block;
}

.approvals-filter-popover {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 200px;
    padding: 14px 0;
    border: 1px solid #e6ebf4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
    z-index: 6;
}

.approvals-filter-group-title {
    padding: 0 18px 10px;
    color: #7a84a3;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.approvals-filter-popover a {
    display: block;
    padding: 9px 18px;
    color: #2d384b;
    font-size: 15px;
    text-decoration: none;
}

.approvals-filter-popover a.is-selected {
    margin: 0 6px;
    padding-inline: 12px;
    border-radius: 6px;
    background: #f1f3fa;
}

.approvals-filter-popover a:hover {
    background: #f3f5fb;
}

.approvals-filter-divider {
    height: 1px;
    margin: 10px 0;
    background: #edf1f8;
}

.approvals-filter-custom {
    color: #2f7cf4 !important;
}

.approvals-list-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.approvals-icon-button {
    width: 44px;
    height: 44px;
    border: 1px solid #dbe2ef;
    border-radius: 8px;
    background: #fff;
    color: #3a465d;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.approvals-selection-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 18px;
}

.approvals-selection-copy {
    color: #2f3848;
    font-size: 17px;
    font-style: italic;
    font-weight: 600;
    white-space: nowrap;
}

.approvals-selection-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.approvals-action-button,
.approvals-secondary-button {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #d8dfec;
    border-radius: 6px;
    background: #fff;
    color: #394556;
    font-size: 15px;
    font-weight: 500;
}

.approvals-selection-close,
.approvals-modal-close {
    width: 42px;
    height: 42px;
    border: 1px solid #d8dfec;
    border-radius: 8px;
    background: #fff;
    color: #3f4b61;
    margin-left: auto;
}

.approvals-table-wrap--list {
    border: 1px solid #e8ecf5;
    border-radius: 0;
    box-shadow: none;
}

.admin-reports-list-shell .approvals-table-wrap--list {
    border: 0;
}

.admin-reports-list-shell .approvals-table thead th {
    border-bottom-color: #e6ebf4;
    color: #46577d;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.admin-reports-list-shell .approvals-table tbody td {
    vertical-align: middle;
}

.approvals-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.approvals-table thead th {
    padding: 18px 14px;
    border-bottom: 1px solid #edf1f8;
    color: #5a6691;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.approvals-table tbody td {
    padding: 18px 14px;
    border-bottom: 1px solid #edf1f8;
    color: #2b3547;
    font-size: 15px;
    vertical-align: top;
}

.approvals-row:hover {
    background: #f5f7ff;
}

.approvals-table-check {
    width: 46px;
}

.approvals-table-code {
    white-space: nowrap;
    color: #3c4659;
    font-size: 15px;
    font-weight: 500;
}

.approvals-primary-link {
    color: #2f7cf4;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.approvals-table tbody td span {
    display: block;
    margin-top: 6px;
    color: #697490;
    font-size: 13px;
}

.approvals-person {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.approvals-person img {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid #e7ebf3;
}

.approvals-person strong {
    display: block;
    color: #293345;
    font-size: 17px;
    font-weight: 500;
}

.approvals-person span {
    margin-top: 8px;
}

.approvals-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.approvals-status-pill.is-approved {
    background: #e8fbf2;
    color: #16a26d;
}

.approvals-status-pill.is-pending {
    background: #fff3d6;
    color: #9a6a14;
}

.approvals-status-pill.is-rejected {
    background: #ffe5e5;
    color: #ce3b3b;
}

.approvals-status-pill.is-reimbursed,
.approvals-status-pill.is-archived {
    background: #eef2f8;
    color: #647086;
}

.approvals-table-amount {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
}

.approvals-table-icon,
.approvals-table-icon-cell {
    width: 54px;
    text-align: center;
}

.approvals-row-open {
    color: #54627a;
    font-size: 18px;
    text-decoration: none;
}

.approvals-table--trips .approvals-row:first-child {
    background: #f3f5ff;
}

.approvals-nav--trip-detail {
    padding-top: 14px;
    margin: 0 0 6px;
}

.approvals-empty-table {
    min-height: 240px;
    display: grid;
    place-items: center;
    color: #667198;
    font-size: 17px;
    text-align: center;
}

.approvals-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
}

.approvals-modal[hidden] {
    display: none;
}

.approvals-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.approvals-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 876px);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
}

.approvals-modal-panel--compact {
    width: min(100%, 560px);
}

.approvals-modal-panel--export {
    width: min(100%, 624px);
}

.approvals-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid #edf1f8;
}

.approvals-modal-header strong {
    color: #202a3d;
    font-size: 20px;
    font-weight: 600;
}

.approvals-modal-header--compact strong {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.approvals-modal-body {
    padding: 20px 24px;
}

.approvals-modal-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid #edf1f8;
}

.approvals-modal-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.approvals-modal-row > label {
    padding-top: 12px;
    color: #374254;
    font-size: 16px;
    font-weight: 500;
}

.approvals-modal-row textarea {
    width: 100%;
    min-height: 96px;
    padding: 16px;
    border: 1px solid #d9e0ed;
    border-radius: 8px;
    resize: vertical;
    font: inherit;
}

.approvals-picker .expense-picker-toggle {
    min-height: 46px;
    border-radius: 8px;
}

.approvals-picker-popover {
    width: 100%;
}

.approvals-picker-options {
    max-height: 246px;
}

.approvals-checkbox-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: #434f63;
    font-size: 14px;
}

.approvals-modal-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    border-top: 1px solid #edf1f8;
}

.approvals-primary-button {
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: #3b82f6;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.approvals-compact-form {
    padding: 20px 24px 24px;
}

.approvals-compact-form p {
    margin: 0 0 18px;
    color: #394456;
    font-size: 16px;
    line-height: 1.55;
}

.approvals-export-group {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.approvals-export-group > span {
    color: #e24a4a;
    font-size: 16px;
    font-weight: 600;
}

.approvals-export-group label,
.approvals-checkbox-line {
    cursor: pointer;
}

.approvals-modal-open {
    overflow: hidden;
}

.analytics-page .analytics-surface {
    padding: 20px 36px 36px;
    display: grid;
    gap: 28px;
}

.admin-analytics-page .admin-dashboard-content {
    padding: 0;
    gap: 0;
}

.admin-analytics-content {
    background: #fff;
    padding: 20px 36px 40px;
    display: grid;
    gap: 22px;
}

.admin-analytics-header,
.admin-budget-hero {
    padding-top: 8px;
}

.admin-analytics-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admin-analytics-header h1,
.admin-budget-copy h1 {
    margin: 0;
    color: #1f2d4d;
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1;
    letter-spacing: -1.3px;
    font-weight: 400;
}

.admin-analytics-picker {
    position: relative;
    width: min(100%, 326px);
}

.admin-analytics-picker[open] {
    z-index: 30;
}

.admin-analytics-picker-toggle {
    min-height: 48px;
    border: 1px solid #cfd9ee;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    color: #9aa5c4;
    font-size: 15px;
    list-style: none;
    cursor: pointer;
}

.admin-analytics-picker-toggle::-webkit-details-marker {
    display: none;
}

.admin-analytics-picker-toggle i {
    color: #9aa5c4;
    font-size: 12px;
}

.admin-analytics-picker-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-height: 320px;
    overflow: auto;
    border: 1px solid #d7dff1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 32px rgba(34, 51, 84, 0.14);
    padding: 10px 0;
}

.admin-analytics-picker-item {
    display: block;
    padding: 8px 18px;
    color: #223252;
    font-size: 15px;
    text-decoration: none;
}

.admin-analytics-picker-item:hover {
    background: #f4f7ff;
}

.admin-analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 34px;
    align-items: start;
}

.admin-analytics-card {
    background: #fff;
    border: 1px solid #e3e8f2;
    border-radius: 6px;
    box-shadow: 0 1px 6px rgba(37, 55, 88, 0.08);
    padding: 26px 30px 28px;
}

.admin-analytics-card.is-wide {
    grid-column: 1 / -1;
}

.admin-analytics-card.is-compact {
    min-height: 200px;
}

.admin-analytics-card-header {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.admin-analytics-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-analytics-card-title i {
    color: #253454;
    font-size: 22px;
}

.admin-analytics-card-title h2 {
    margin: 0;
    color: #253454;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.admin-analytics-card-header p {
    margin: 0;
    color: #516487;
    font-size: 17px;
    line-height: 1.45;
}

.admin-analytics-links {
    display: grid;
    gap: 18px;
}

.admin-analytics-links.is-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 34px;
}

.admin-analytics-links.is-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 34px;
}

.admin-analytics-links.is-cols-1 {
    grid-template-columns: 1fr;
}

.admin-analytics-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 32px;
    text-decoration: none;
    color: #253454;
}

.admin-analytics-link i {
    width: 18px;
    color: #7f8eb0;
    font-size: 18px;
}

.admin-analytics-link span {
    color: #253454;
    font-size: 15px;
    line-height: 1.5;
}

.admin-analytics-link:hover span {
    color: #1f5fd1;
}

.admin-budget-hero {
    display: grid;
    grid-template-columns: minmax(320px, 470px) minmax(420px, 1fr);
    gap: 72px;
    align-items: center;
    min-height: calc(100vh - 180px);
}

.admin-budget-hero--detail {
    align-items: start;
}

.admin-budget-copy {
    max-width: 470px;
    padding-left: 90px;
}

.admin-budget-hero--detail .admin-budget-copy {
    padding-top: 24px;
}

.admin-budget-icon {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    border: 1px solid #dfe5f7;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2b3754;
    font-size: 28px;
}

.admin-budget-copy p {
    margin: 20px 0 0;
    color: #556581;
    font-size: 19px;
    line-height: 1.55;
}

.admin-budget-actions {
    margin-top: 26px;
}

.admin-budget-primary,
.admin-budget-secondary {
    min-height: 44px;
    border-radius: 6px;
    border: 1px solid #d4ddef;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.admin-budget-primary {
    background: #3f84f8;
    border-color: #3f84f8;
    color: #fff;
}

.admin-budget-secondary {
    background: #fff;
    color: #26406e;
}

.admin-budget-menu {
    min-width: 202px;
    padding: 6px 0;
}

.admin-budget-menu-link {
    display: block;
    padding: 12px 18px;
    color: #384a68;
    text-decoration: none;
    font-size: 15px;
}

.admin-budget-menu-link:hover {
    background: #f5f7fc;
}

.admin-budget-learn {
    display: inline-block;
    margin-top: 18px;
    color: #2360da;
    text-decoration: none;
    font-size: 18px;
}

.admin-budget-divider {
    width: 100%;
    max-width: 462px;
    height: 1px;
    margin: 14px 0 30px;
    background: #e6ebf5;
}

.admin-budget-preview-card {
    max-width: 840px;
}

.budget-detail-preview-card {
    width: 100%;
    max-width: 900px;
    justify-self: stretch;
}

.budget-detail-preview-card .admin-budget-preview-shell {
    min-height: 0;
}

.budget-detail-preview-card .budget-detail-topbar {
    padding: 22px 32px 18px;
}

.budget-detail-preview-card .budget-detail-divider {
    margin: 0 0 20px;
}

.budget-detail-preview-card .budget-detail-message {
    margin: 0 32px 16px;
}

.budget-detail-preview-card .budget-detail-meta {
    padding: 0 32px 22px;
}

.budget-detail-preview-card .admin-budget-table-wrap {
    margin: 0 32px 0;
}

.budget-detail-preview-card .admin-budget-preview-bottom {
    padding: 14px 32px 18px;
}

.admin-budget-preview-shell {
    border: 1px solid #dfe5f7;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.admin-budget-preview-top {
    padding: 18px 32px;
    border-bottom: 1px solid #edf1f8;
}

.admin-budget-preview-top h2 {
    margin: 0;
    color: #4a5079;
    font-size: 27px;
    font-weight: 500;
}

.admin-budget-preview-meta {
    display: flex;
    gap: 44px;
    padding: 16px 32px 24px;
}

.admin-budget-preview-meta > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-budget-preview-bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f2fc;
    color: #7f89af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-budget-preview-bubble.is-green {
    background: #e8fbef;
    color: #6ab98a;
}

.admin-budget-preview-meta small {
    display: block;
    color: #a0abd1;
    font-size: 12px;
}

.admin-budget-preview-meta strong {
    color: #556180;
    font-size: 16px;
    font-weight: 600;
}

.admin-budget-table-wrap {
    padding: 0 28px 0 28px;
}

.admin-budget-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 10px;
}

.admin-budget-table th,
.admin-budget-table td {
    padding: 16px 14px;
    border-right: 1px solid #ecf0f7;
    border-bottom: 1px solid #ecf0f7;
    text-align: right;
    color: #576684;
    font-size: 13px;
    background: #fff;
}

.admin-budget-table th:first-child,
.admin-budget-table td:first-child {
    text-align: left;
}

.admin-budget-table th {
    background: #f2f3fd;
    color: #a6add1;
    font-size: 13px;
    font-weight: 700;
}

.admin-budget-table td:first-child {
    color: #48557b;
    font-weight: 600;
}

.admin-budget-preview-bottom {
    padding: 14px 18px 16px;
    color: #152c54;
    font-size: 16px;
}

.analytics-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 8px;
}

.analytics-header h1 {
    margin: 0;
    color: #1f2d4d;
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1;
    letter-spacing: -1.3px;
}

.analytics-picker {
    position: relative;
    width: min(100%, 326px);
}

.analytics-picker[open] {
    z-index: 30;
}

.analytics-picker-toggle {
    min-height: 48px;
    border: 1px solid #cfd9ee;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    color: #9aa5c4;
    font-size: 15px;
    list-style: none;
    cursor: pointer;
}

.analytics-picker-toggle::-webkit-details-marker {
    display: none;
}

.analytics-picker-toggle i {
    color: #9aa5c4;
    font-size: 12px;
}

.analytics-picker-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow: auto;
    border: 1px solid #d7dff1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 32px rgba(34, 51, 84, 0.14);
    padding: 10px 0;
}

.analytics-picker-group {
    display: grid;
    gap: 2px;
}

.analytics-picker-title {
    padding: 8px 18px 6px;
    color: #273554;
    font-size: 13px;
    font-weight: 700;
}

.analytics-picker-item {
    display: block;
    padding: 8px 18px 8px 40px;
    color: #223252;
    font-size: 15px;
    text-decoration: none;
}

.analytics-picker-item:hover,
.analytics-picker-item.is-active {
    background: #f4f7ff;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 34px;
    align-items: start;
}

.analytics-card {
    background: #fff;
    border: 1px solid #e3e8f2;
    border-radius: 6px;
    box-shadow: 0 1px 6px rgba(37, 55, 88, 0.08);
    padding: 26px 30px 28px;
    min-height: 310px;
}

.analytics-card--wide {
    grid-column: 1 / -1;
    min-height: 244px;
}

.analytics-card--activity {
    min-height: 176px;
}

.analytics-card-header {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.analytics-card-header > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.analytics-card-header i {
    color: #253454;
    font-size: 22px;
}

.analytics-card-header h2 {
    margin: 0;
    color: #253454;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.analytics-card-header p {
    margin: 0;
    color: #516487;
    font-size: 17px;
    line-height: 1.45;
}

.analytics-link-grid {
    display: grid;
    gap: 0;
}

.analytics-link-grid--expense {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 34px;
}

.analytics-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 32px;
    padding: 0;
    text-decoration: none;
    color: #253454;
}

.analytics-link-item i {
    width: 18px;
    color: #7f8eb0;
    font-size: 18px;
    margin-top: 0;
}

.analytics-link-item span {
    color: #253454;
    font-size: 15px;
    line-height: 1.5;
}

.analytics-link-item.is-active i {
    color: #f0b83d;
}

.analytics-link-grid--stacked {
    gap: 18px;
}

.analytics-link-item:hover span {
    color: #1f5fd1;
}

.empty-state {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    color: #748091;
}

.empty-state p {
    margin: 0;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.45;
}

.empty-state.compact {
    min-height: 200px;
}

.empty-action {
    border: 0;
    border-radius: 4px;
    padding: 8px 18px;
    background: #dfeeff;
    color: #4f8ef7;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.recent-trip {
    min-height: 250px;
}

.recent-trip-card {
    min-height: 190px;
}

.recent-trip-empty {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px 30px;
    text-align: center;
    color: #627087;
}

.recent-trip-empty p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.recent-trip-button {
    height: 44px;
    border: 0;
    border-radius: 4px;
    padding: 0 18px;
    background: #4f8ef7;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(79, 142, 247, 0.18);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-top: 2px;
}

.info-panel {
    min-height: 160px;
}

.info-panel > h3 {
    letter-spacing: 0.2px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 0;
    color: #5c6676;
}

.contact-item i {
    width: 24px;
    color: #1f2937;
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.contact-item a {
    color: #4f8ef7;
    text-decoration: none;
    font-weight: 700;
}

.mobile-panel {
    overflow: hidden;
}

.mobile-wrap {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 12px;
    padding: 14px;
    align-items: center;
}

.mobile-wrap img {
    width: 100%;
    max-width: 116px;
    display: block;
}

.mobile-copy p {
    margin: 0 0 12px;
    color: #5a6476;
    font-size: 14px;
    line-height: 1.45;
}

.store-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e2431;
    font-size: 22px;
}

.resource-list {
    list-style: none;
    padding: 14px;
    margin: 0;
    display: grid;
    gap: 12px;
    color: #465062;
}

.resource-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.resource-list i {
    width: 18px;
    color: #9f60f7;
    text-align: center;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px;
    padding: 24px 180px 8px;
}

.footer-links h4 {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    color: #5e687a;
    letter-spacing: 0.1px;
}

.footer-links h4::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    margin-top: 8px;
    background: #1d2430;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: #546071;
    text-decoration: none;
    font-size: 14px;
}

.dashboard-footer {
    text-align: center;
    color: #7b8493;
    font-size: 13px;
    padding: 18px 12px 16px;
}

.footer-links--b2l {
    display: block;
    column-count: 5;
    column-gap: 44px;
}

.footer-links--b2l article {
    display: inline-block;
    width: 100%;
    margin: 0 0 24px;
    break-inside: avoid;
}

.dashboard-content .page-modal-card {
    text-align: left;
}

.dashboard-content .page-modal-list {
    color: #48505f;
}

@media (max-width: 1180px) {
    .dashboard-shell {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        min-height: auto;
        position: static;
        inset: auto;
    }

    .dashboard-main {
        margin-left: 0;
        width: 100%;
        padding-top: 0;
    }

    .sidebar-admin-switch,
    .sidebar-collapse {
        position: static;
    }

    .sidebar-collapse {
        align-self: flex-end;
        margin-top: 10px;
    }

    .summary-grid,
    .info-grid,
    .footer-links {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-links--b2l {
        display: grid;
        column-count: 1;
        column-gap: 0;
    }

    .footer-links--b2l article {
        margin-bottom: 0;
    }

    .support-banner {
        grid-template-columns: 72px 1fr;
    }

    .support-button {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .support-page-surface {
        background: #f2f5fb;
    }

    .support-page-overlay {
        width: 100%;
        opacity: 0.55;
    }

    .support-request-panel {
        width: min(100%, 430px);
        min-height: auto;
    }

    .report-detail-hero {
        grid-template-columns: 1fr;
    }

    .report-detail-sidebar {
        border-left: 0;
        border-top: 1px solid #edf1f7;
        padding-top: 20px;
        padding-left: 0;
    }

    .report-detail-panel--emptyable {
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .dashboard-topbar {
        height: auto;
        position: static;
        left: auto;
        right: auto;
        padding: 12px;
        flex-wrap: wrap;
    }

    .dashboard-search {
        width: 100%;
    }

    .topbar-right {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-row {
        flex-direction: column;
        gap: 12px;
    }

    .support-banner {
        grid-template-columns: 1fr;
    }

    .support-page-surface {
        padding: 0;
    }

    .support-page-overlay {
        display: none;
    }

    .support-request-panel {
        width: 100%;
        min-height: auto;
        box-shadow: none;
    }

    .getting-started-shell {
        width: 100%;
        padding-inline: 12px;
    }

    .getting-started-hero {
        grid-template-columns: 42px 1fr;
    }

    .getting-started-close {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .getting-started-step,
    .getting-started-more-card {
        gap: 12px;
    }

    .getting-started-admin-list {
        padding-inline: 16px;
    }

    .getting-started-admin-item {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .getting-started-admin-actions {
        padding-inline: 16px;
    }

    .quick-add-grid {
        grid-template-columns: 1fr;
    }

    .quick-add-upload-shell {
        border-right: 0;
        border-bottom: 1px solid #edf0f5;
    }

    .report-detail-topbar,
    .report-detail-hero,
    .report-detail-expenses,
    .report-detail-panel,
    .report-detail-summary {
        padding-left: 16px;
        padding-right: 16px;
    }

    .report-detail-tabs {
        margin: 0 16px;
        padding: 0 14px;
        gap: 18px;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .report-expense-card {
        grid-template-columns: 1fr;
    }

    .report-expense-thumb {
        width: 100%;
        max-width: 116px;
    }

    .report-empty-dropzone {
        min-height: 280px;
        padding: 28px 18px;
    }

    .report-history-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .report-detail-summary {
        justify-content: stretch;
    }

    .report-detail-summary-grid {
        min-width: 0;
    }

    .report-detail-summary-grid div,
    .report-detail-summary-total {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .report-detail-summary-grid strong,
    .report-detail-summary-total strong {
        text-align: left;
    }

    .quick-add-card {
        border-right: 0;
        border-bottom: 1px solid #edf0f5;
    }

    .quick-add-card:last-child {
        border-bottom: 0;
    }

    .quick-add-upload-popover {
        left: 50%;
        top: 100%;
        transform: translate(-50%, 8px);
        width: min(170px, calc(100vw - 36px));
    }

    .recent-trip-body,
    .mobile-wrap {
        grid-template-columns: 1fr;
    }

    .mobile-wrap img {
        max-width: 92px;
    }
}

/* Settings page */
body.settings-page .dashboard-content {
    gap: 14px;
}

.settings-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 2px 0;
}

.settings-head h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.2px;
    color: #1f2d49;
}

.settings-help {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    border: 1px solid #b6c7ef;
    background: #fff;
    color: #4f8ef7;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.settings-tabs {
    display: flex;
    align-items: center;
    gap: 38px;
    border-bottom: 1px solid #e6eaf2;
    padding: 0 2px;
    overflow-x: auto;
}

.settings-tab {
    position: relative;
    border: 0;
    background: transparent;
    padding: 14px 0 15px;
    color: #1f2d49;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.settings-tab.is-active {
    color: #3f84f6;
}

.settings-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #3f84f6;
}

.settings-panel {
    display: none;
    gap: 14px;
}

.settings-panel.is-active {
    display: grid;
}

.settings-card {
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(28, 45, 86, 0.05);
    overflow: hidden;
}

.settings-panel[data-settings-panel="preferences"] .settings-card,
.settings-panel[data-settings-panel="travel"] .settings-card,
.settings-default-card,
.settings-default-editor,
.settings-default-builder,
.settings-default-builder-card,
.settings-default-builder-rows,
.settings-default-row,
.settings-default-row-field,
.settings-default-row-value {
    overflow: visible;
}

.settings-card-wide {
    width: 100%;
}

.settings-card-header {
    padding: 22px 26px 0;
    background: #fff;
    color: #1f2d49;
    font-size: 18px;
    font-weight: 500;
}

.settings-card-body {
    padding: 24px 26px 26px;
}

.settings-card-body p {
    margin: 0;
    color: #5d6779;
    font-size: 14px;
    line-height: 1.55;
}

.settings-divider-line {
    margin: 18px 0;
    height: 1px;
    background: #edf0f5;
}

.settings-primary-action,
.settings-secondary-action {
    border: 0;
    border-radius: 4px;
    min-height: 34px;
    padding: 0 14px;
    background: #4f8ef7;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(79, 142, 247, 0.16);
}

.settings-anchor-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.settings-secondary-action {
    background: #dfeeff;
    color: #4f8ef7;
    box-shadow: none;
}

.settings-dropdown {
    position: relative;
    display: inline-flex;
}

.settings-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 12px;
}

.settings-dropdown-toggle i {
    font-size: 11px;
}

.settings-dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    min-width: 164px;
    background: #fff;
    border: 1px solid #e2e7f1;
    border-radius: 4px;
    box-shadow: 0 10px 22px rgba(25, 39, 66, 0.12);
    padding: 4px 0;
    display: none;
    z-index: 10;
}

.settings-dropdown-menu.is-open {
    display: grid;
}

.settings-dropdown-item {
    border: 0;
    background: transparent;
    color: #485264;
    min-height: 34px;
    padding: 0 14px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.settings-dropdown-item:hover {
    background: #f4f7fc;
}

.settings-loyalty-actions {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.settings-link-action,
.settings-text-link {
    border: 0;
    background: transparent;
    color: #4f8ef7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.button-link {
    display: inline-flex;
    align-items: center;
}

.settings-personal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) 1px minmax(0, 0.88fr);
    gap: 0;
}

.settings-personal-col {
    padding: 12px 18px 14px;
}

.settings-personal-divider {
    background: #edf0f5;
}

.settings-detail-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 38px;
}

.settings-detail-row span {
    color: #6d7584;
    font-size: 14px;
}

.settings-detail-row strong {
    color: #2f3644;
    font-size: 14px;
    font-weight: 700;
}

.settings-bank-table {
    display: grid;
    gap: 12px;
}

.settings-bank-table-head,
.settings-bank-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.35fr) minmax(0, 1fr) 44px;
    gap: 14px;
    align-items: center;
}

.settings-bank-table-head {
    color: #6d7584;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.settings-bank-table-row strong {
    color: #2f3644;
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}

.settings-bank-meta {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #edf0f5;
}

.settings-bank-meta span {
    color: #6d7584;
    font-size: 14px;
}

.settings-bank-meta strong {
    color: #2f3644;
    font-size: 14px;
    font-weight: 700;
}

.settings-bank-edit {
    width: 34px;
    height: 34px;
    border: 1px solid #d8dff0;
    border-radius: 6px;
    background: #fff;
    color: #6e7787;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.settings-bank-edit:hover {
    background: #f5f8ff;
    border-color: #aec8fb;
    color: #4f8ef7;
}

.settings-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    color: #384050;
    font-size: 14px;
}

.settings-check-row input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.settings-policies {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #edf0f5;
}

.settings-subtitle {
    display: inline-block;
    margin-bottom: 10px;
    color: #4f5a6e;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.settings-policy-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2f3644;
    font-size: 14px;
}

.settings-policy-chip strong {
    padding: 2px 6px;
    border-radius: 2px;
    background: #2f7ee6;
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.4px;
}

.settings-two-up {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.settings-inline-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.settings-preference-grid {
    display: grid;
    gap: 24px;
    max-width: 1200px;
}

.settings-preference-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
    align-items: start;
}

.settings-preference-text {
    display: grid;
    gap: 12px;
}

.settings-receipt-help {
    min-height: 92px;
    border-radius: 8px;
    background: #f8fbff;
    border: 1px solid #e7edf8;
    padding: 18px 18px 14px;
}

.settings-receipt-help h4 {
    margin: 0 0 10px;
    color: #4f5a6e;
    font-size: 13px;
    font-weight: 700;
}

.settings-provider-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.provider-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.provider-badge.mail {
    color: #8fa3c6;
    background: #fff;
    border: 1px solid #d8dde6;
}

.provider-badge.gmail {
    color: #ea4335;
    background: #fff;
    border: 1px solid #d8dde6;
}

.provider-badge.outlook {
    color: #0078d4;
    background: #fff;
    border: 1px solid #d8dde6;
}

.settings-defaults {
    display: grid;
    gap: 18px;
}

.settings-defaults h2 {
    margin: 12px 0 0;
    color: #1f2d49;
    font-size: 20px;
    font-weight: 500;
}

.settings-defaults > p {
    margin: 0;
    color: #667892;
    font-size: 15px;
}

.settings-default-card {
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(28, 45, 86, 0.05);
    overflow: visible;
}

.settings-default-card[data-settings-inline-default-card] {
    padding-bottom: 18px;
}

.settings-default-card header {
    min-height: 48px;
    padding: 22px 26px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    color: #1f2d49;
    font-size: 15px;
    font-weight: 700;
    position: relative;
}

.settings-default-card header .settings-bank-edit {
    margin-left: auto;
}

.settings-default-card header i {
    color: #263754;
    font-size: 18px;
}

.settings-default-card header span {
    letter-spacing: 0.2px;
}

.settings-default-copy {
    padding: 0 26px 14px;
}

.settings-default-card header::after {
    content: "";
    position: absolute;
    left: 26px;
    bottom: -13px;
    width: 26px;
    height: 2px;
    background: #3f84f6;
}

.settings-default-card-display {
    padding: 34px 26px 0;
}

.settings-default-card[data-settings-inline-default-card].is-editing .settings-default-card-display {
    display: none;
}

.settings-default-editor {
    display: none;
    padding: 26px 26px 0;
    position: relative;
    z-index: 3;
}

.settings-default-card[data-settings-inline-default-card].is-editing .settings-default-editor {
    display: block;
}

.settings-default-editor-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.settings-summary-table {
    margin: 4px 0 12px;
}

.settings-summary-table--two .settings-bank-table-head,
.settings-summary-table--two .settings-bank-table-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.settings-summary-table--three .settings-bank-table-head,
.settings-summary-table--three .settings-bank-table-row {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) 44px;
}

.settings-summary-table--four .settings-bank-table-head,
.settings-summary-table--four .settings-bank-table-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.72fr) minmax(0, 1.38fr) 44px;
}

.settings-default-copy p {
    margin: 0 0 12px;
    color: #556983;
    font-size: 14px;
    line-height: 1.6;
}

.settings-subtabs {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 4px 0 0;
}

.settings-pill {
    min-height: 32px;
    border: 1px solid #c7cfdf;
    border-radius: 16px;
    background: #fff;
    color: #2e3646;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.settings-pill i {
    font-size: 11px;
    color: #697286;
}

.settings-pill.is-active {
    border-color: #68749b;
    box-shadow: 0 0 0 1px rgba(104, 116, 155, 0.12) inset;
}

.settings-travel-panels {
    display: grid;
    gap: 14px;
}

.settings-travel-panel {
    display: none;
}

.settings-travel-panel.is-active {
    display: block;
}

.settings-empty-state {
    min-height: 206px;
    padding: 26px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    color: #5b6678;
}

.settings-empty-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff1df;
    color: #ff9d29;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.settings-empty-state p {
    max-width: 530px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.settings-empty-state--compact {
    min-height: 0;
    padding: 18px 0 0;
    align-items: flex-start;
    text-align: left;
}

.settings-empty-state--compact .settings-empty-icon {
    width: 30px;
    height: 30px;
}

.settings-empty-state--compact p {
    max-width: none;
}

.settings-empty-state a {
    color: #4f8ef7;
    text-decoration: none;
    font-weight: 700;
}

.settings-document-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
}

.settings-document-toolbar p {
    margin: 0;
    color: #596578;
    font-size: 14px;
    line-height: 1.5;
}

.settings-document-toolbar .settings-anchor-action {
    min-height: 36px;
    padding: 0 16px;
    background: #eaf2ff;
    color: #4b86f5;
    box-shadow: none;
    white-space: nowrap;
}

.settings-document-table {
    border-top: 1px solid #edf0f5;
}

.settings-document-table-head,
.settings-document-table-row {
    display: grid;
    grid-template-columns: minmax(110px, 0.9fr) minmax(120px, 1fr) minmax(170px, 1.5fr) minmax(120px, 0.9fr) minmax(120px, 0.9fr) minmax(120px, 0.9fr) 120px;
    gap: 12px;
    align-items: center;
    padding: 18px 10px;
}

.settings-document-table-head {
    color: #63708a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.settings-document-table-row {
    border-top: 1px solid #edf0f5;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.18s ease;
}

.settings-document-table-row:hover {
    background: #f9fbff;
}

.settings-document-cell {
    color: #2a3346;
    font-size: 14px;
    font-weight: 500;
}

.settings-document-cell--strong {
    font-weight: 600;
}

.settings-document-attachment-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.settings-document-attachment-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    justify-self: start;
    min-width: 48px;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f1efff;
    color: #4c72f1;
    font-size: 14px;
    font-weight: 700;
}

.settings-document-attachment-pill i {
    font-size: 12px;
}

.settings-document-attachment-name {
    min-width: 0;
    color: #7a879b;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.budget-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0 12px;
    color: #2d3646;
    font-size: 15px;
    font-weight: 700;
}

.budget-filter-chip {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #232944;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.budget-select {
    position: relative;
}

.budget-select-trigger {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    cursor: pointer;
}

.budget-select-native {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font: inherit;
    font-weight: inherit;
}

.budget-select-native select {
    min-width: 220px;
    border: 0;
    background: transparent;
    color: #2d3646;
    font: inherit;
    font-weight: 700;
    padding: 0 22px 0 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #2d3646 50%), linear-gradient(135deg, #2d3646 50%, transparent 50%);
    background-position: calc(100% - 14px) 53%, calc(100% - 8px) 53%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.budget-select-native select:focus {
    outline: none;
}

.budget-menu {
    position: absolute;
    left: 38px;
    top: 30px;
    width: 156px;
    background: #fff;
    border: 1px solid #e3e7f1;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.10);
    padding: 4px 0;
    display: none;
    z-index: 6;
}

.budget-menu.is-open {
    display: grid;
}

.budget-menu-item {
    border: 0;
    background: transparent;
    color: #51596b;
    text-align: left;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
}

.budget-menu-item:hover,
.budget-menu-item.is-active {
    background: #f1f5ff;
}

.budget-empty-state {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    text-align: center;
    color: #2d3646;
}

.budget-empty-graphic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #f6f8fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.budget-empty-state p {
    margin: 0;
    font-size: 16px;
}

.budget-empty-window {
    position: relative;
    width: 96px;
    height: 110px;
    border-radius: 6px;
    background: linear-gradient(180deg, #d7dce2 0%, #f0f3f7 100%);
    box-shadow: 0 6px 18px rgba(31, 41, 55, 0.06);
}

.budget-empty-window-bar {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 16px;
    background: #bcc6d3;
    border-radius: 6px 6px 0 0;
}

.budget-empty-window-lines,
.budget-empty-window-chart,
.budget-empty-window-dial,
.budget-empty-window-hand {
    position: absolute;
}

.budget-empty-window-lines {
    left: 16px;
    top: 34px;
    width: 40px;
    height: 34px;
    background:
        linear-gradient(#a5afbc, #a5afbc) 0 0 / 38px 2px no-repeat,
        linear-gradient(#a5afbc, #a5afbc) 0 14px / 30px 2px no-repeat,
        linear-gradient(#a5afbc, #a5afbc) 0 28px / 34px 2px no-repeat;
    opacity: 0.8;
}

.budget-empty-window-chart {
    right: 12px;
    bottom: 18px;
    width: 36px;
    height: 52px;
    border-radius: 4px;
    background:
        radial-gradient(circle, #a5afbc 32%, transparent 36%) 3px 6px / 12px 12px repeat,
        linear-gradient(180deg, #f5f7fa 0%, #e7ebf1 100%);
    border: 1px solid #d5dbe4;
}

.budget-empty-window-dial {
    right: 16px;
    top: 26px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #9ea8b6;
    background: #d8dde4;
}

.budget-empty-window-hand {
    right: 6px;
    bottom: 12px;
    width: 26px;
    height: 42px;
    border-radius: 16px 16px 4px 4px;
    background: linear-gradient(180deg, #adb4bd 0%, #c8cfd8 100%);
    transform: rotate(-28deg);
    transform-origin: center bottom;
    opacity: 0.9;
}

.budget-empty-window-hand::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 18px;
    height: 28px;
    border-radius: 12px 12px 3px 3px;
    background: #d8dde4;
}

body.settings-overlay-open {
    overflow: hidden;
}

.settings-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
}

.settings-overlay.is-visible {
    display: block;
}

.settings-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 33, 49, 0.48);
}

.settings-dialog {
    position: absolute;
    display: none;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.settings-dialog.is-active {
    display: block;
}

.settings-dialog--center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 448px);
    border-radius: 14px;
    overflow: hidden;
}

.settings-dialog--travel-document {
    width: min(96vw, 748px);
    max-height: 90vh;
    overflow: auto;
}

.settings-dialog--expense-category {
    width: min(94vw, 640px);
}

.settings-dialog--drawer {
    top: 0;
    right: 0;
    width: min(100vw, 360px);
    height: 100%;
    border-left: 1px solid #e6eaf2;
    box-shadow: -18px 0 60px rgba(0, 0, 0, 0.16);
}

.settings-dialog-header,
.settings-drawer-header {
    min-height: 58px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}

.settings-dialog-header h3,
.settings-drawer-header h3 {
    margin: 0;
    color: #2c3344;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.settings-dialog-close {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: #f1f3f8;
    color: #798295;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.settings-dialog-body {
    padding: 16px;
}

.settings-dialog-body--travel-document {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(0, 1.15fr);
    gap: 18px;
    align-items: start;
}

.settings-dialog-body--expense-category {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    text-align: left;
}

.settings-dialog-form {
    display: grid;
    gap: 12px;
}

.settings-dialog-form--travel-document {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-dialog-form--expense-category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.settings-field--full {
    grid-column: 1 / -1;
}

.settings-dialog-header--category {
    min-height: 56px;
}

.settings-category-avatar {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding-top: 4px;
}

.settings-category-avatar-box {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    border: 1px solid #e3e8f3;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fd 100%);
    color: #6f7a91;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.settings-category-avatar-change {
    border: 0;
    background: transparent;
    color: #4f8ef7;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.settings-category-subcategory {
    grid-column: 1 / -1;
    align-items: center;
    margin-top: -2px;
}

.settings-category-subcategory span {
    color: #4d5567;
    font-size: 14px;
    font-weight: 500;
}

.settings-field-hint {
    display: block;
    margin-top: 2px;
    color: #667286;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;
}

.settings-category-note {
    grid-column: 1 / -1;
    border-radius: 8px;
    background: #f3f8ff;
    border: 1px solid #dbe8ff;
    padding: 12px 14px;
    color: #2d5d9f;
    font-size: 13px;
    line-height: 1.5;
}

.settings-category-note strong {
    font-weight: 800;
}

.settings-category-note span {
    margin-left: 6px;
}

.travel-document-upload {
    display: grid;
    gap: 10px;
}

.travel-upload-dropzone {
    min-height: 392px;
    border: 1px dashed #d9dfec;
    border-radius: 3px;
    background: #fff;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    color: #72809a;
    cursor: pointer;
}

.travel-upload-dropzone input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.travel-upload-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 1px solid #e1e7f0;
    background: #fff;
    color: #7d8aa6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(21, 35, 61, 0.08);
}

.travel-upload-copy {
    color: #5e6880;
    font-size: 14px;
    line-height: 1.6;
}

.travel-upload-link {
    border: 0;
    background: transparent;
    padding: 0;
    color: #3f84f6;
    font: inherit;
    cursor: pointer;
}

.travel-upload-copy a {
    color: #3f84f6;
    text-decoration: none;
}

.travel-upload-note {
    color: #8590a8;
    font-size: 12px;
    line-height: 1.45;
}

.settings-field-label {
    color: #3f4859 !important;
    font-size: 14px;
    font-weight: 500 !important;
}

.settings-field-label__required {
    color: #f05a5a;
    font-weight: 700;
}

.settings-check-row--document {
    margin-top: -2px;
    align-items: flex-start;
}

.settings-check-row--document span {
    color: #4d5567;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.settings-form-grid {
    display: grid;
    gap: 14px;
}

.settings-form-grid.two-col {
    grid-template-columns: 1fr 1fr;
}

.settings-field {
    display: grid;
    gap: 7px;
}

.settings-field span {
    color: #f05a5a;
    font-size: 14px;
    font-weight: 700;
}

.settings-field input,
.settings-field select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d6dbe7;
    border-radius: 4px;
    background: #fff;
    padding: 0 12px;
    color: #2c3344;
    font-size: 14px;
}

.settings-dialog-text {
    margin: 0 0 12px;
    color: #5d6779;
    font-size: 15px;
    line-height: 1.45;
}

.settings-field select {
    padding-right: 30px;
}

.settings-avatar-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.settings-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f3f8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a4acbc;
    border: 1px solid #e2e7f1;
}

.settings-avatar.current img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.settings-avatar.arrow {
    width: 18px;
    height: 18px;
    border: 0;
    background: transparent;
    color: #d0d5e2;
    font-size: 18px;
}

.settings-avatar.target {
    border-style: dashed;
}

.settings-callout {
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 14px;
}

.settings-callout.warning {
    background: #fff0e0;
    color: #6c5a45;
}

.settings-callout.info {
    background: #dff0fd;
    color: #2e678c;
}

.settings-access-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: #4f5a6e;
    font-size: 14px;
}

.settings-access-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-access-list i {
    color: #24b15e;
}

.settings-dialog-text {
    margin: 0;
    color: #5d6779;
    font-size: 14px;
    line-height: 1.55;
}

.settings-dialog-footer {
    padding: 8px 16px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-dialog-primary {
    min-width: 160px;
}

.settings-drawer-footer {
    padding: 0 16px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.settings-dialog-footer--split {
    justify-content: space-between;
}

.settings-dialog-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-dialog-primary,
.settings-dialog-secondary {
    border: 0;
    min-height: 34px;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.settings-dialog-primary {
    background: #4f8ef7;
    color: #fff;
}

.settings-dialog-secondary {
    background: #e6e8f0;
    color: #4b5566;
}

.settings-trash-button {
    width: 36px;
    height: 36px;
    border: 1px solid #f2d1d1;
    border-radius: 6px;
    background: #fff;
    color: #ea5f5f;
    cursor: pointer;
}

.settings-drawer-body {
    display: grid;
    align-content: start;
    min-height: calc(100% - 59px);
    padding: 24px;
    color: #5b6678;
    font-size: 15px;
    text-align: left;
}

.settings-default-builder {
    display: grid;
    gap: 14px;
}

.settings-default-builder > p {
    margin: 0 0 2px;
    color: #60718b;
    font-size: 14px;
    line-height: 1.5;
}

.settings-default-builder-card {
    border: 1px solid #e3eaf6;
    border-radius: 10px;
    background: #fff;
    padding: 18px 0 12px;
    box-shadow: 0 2px 10px rgba(31, 41, 55, 0.04);
}

.settings-default-builder-head,
.settings-default-row {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr) 30px;
    gap: 18px;
    align-items: start;
    padding: 0 20px;
}

.settings-default-builder-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f7;
    background: #f7f8fe;
    padding-top: 14px;
}

.settings-default-builder-head span {
    color: #7b89a1;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.settings-default-builder-rows {
    display: grid;
    gap: 16px;
}

.settings-default-row {
    position: relative;
}

.settings-default-row-remove {
    width: 24px;
    height: 24px;
    margin-top: 10px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #657089;
    box-shadow: inset 0 0 0 1px #d9deea;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
}

.settings-default-builder-card--inline {
    border: 0;
    border-radius: 0;
    padding: 0 0 12px;
    box-shadow: none;
}

.settings-default-builder-card--inline .settings-default-builder-head {
    margin-bottom: 16px;
    padding: 14px 20px 12px;
    background: #f7f8fe;
    border-bottom: 0;
}

.settings-default-builder-card--inline .settings-default-builder-rows {
    gap: 16px;
}

.settings-default-builder-card--inline .settings-default-add {
    margin-top: 20px;
}

.settings-default-add {
    margin: 14px 16px 0;
    border: 0;
    background: transparent;
    color: #3f84f6;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
}

.settings-pref-picker {
    position: relative;
    z-index: 1;
}

.settings-pref-picker.is-open {
    z-index: 28;
}

.settings-pref-picker-toggle {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d8e0ee;
    border-radius: 6px;
    background: #fff;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #2d3646;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.settings-pref-picker-toggle:hover,
.settings-pref-picker-toggle:focus-visible {
    border-color: #95b7fb;
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.1);
    outline: none;
}

.settings-pref-picker-toggle.has-value {
    border-color: #cfd8ea;
}

.settings-pref-picker-label {
    color: #2d3646;
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
}

.settings-pref-picker-label.is-placeholder {
    color: #9aa4b8;
}

.settings-pref-picker-popover {
    position: fixed;
    top: 0;
    left: 0;
    width: 426px;
    max-width: calc(100vw - 32px);
    z-index: 1400;
    border: 1px solid #b8c7e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(23, 36, 66, 0.16);
    overflow: hidden;
}

.settings-pref-picker-popover[hidden] {
    display: none !important;
}

.settings-pref-picker-search-wrap {
    position: relative;
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #edf1f7;
}

.settings-pref-picker-search-wrap i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa4b8;
    font-size: 14px;
}

.settings-pref-picker-search {
    width: 100%;
    min-height: 40px;
    border: 1px solid #bfcceb;
    border-radius: 6px;
    padding: 0 12px 0 34px;
    color: #2d3646;
    font-size: 14px;
    outline: none;
    background: #f8faff;
}

.settings-pref-picker-search:focus {
    border-color: #4f8ef7;
    box-shadow: 0 0 0 2px rgba(79, 142, 247, 0.14);
    background: #fff;
}

.settings-pref-picker-list {
    max-height: 298px;
    overflow: auto;
    display: grid;
    gap: 2px;
    padding: 4px 6px 6px;
}

.settings-pref-picker-option {
    border: 0;
    background: transparent;
    color: #2d3646;
    text-align: left;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
    cursor: pointer;
}

.settings-pref-picker-option:hover,
.settings-pref-picker-option.is-selected {
    background: linear-gradient(180deg, #3176e6 0%, #2567d7 100%);
    color: #fff;
}
}

.travel-profile-page .dashboard-content {
    gap: 0;
}

.travel-profile-shell .dashboard-main {
    background: #fff;
}

.travel-profile-content {
    padding: 0 0 16px;
}

.travel-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #e9edf6;
}

.travel-page-head h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    color: #2a3243;
    font-weight: 800;
}

.travel-page-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #d9deea;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7484;
    text-decoration: none;
}

.travel-section {
    padding: 18px 20px 0;
}

.travel-section h2 {
    margin: 0 0 18px;
    color: #2b3241;
    font-size: 22px;
    font-weight: 800;
}

.travel-grid {
    display: grid;
    gap: 18px;
}

.travel-address-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: start;
}

.travel-address-column {
    min-width: 0;
    padding: 0 20px 0 0;
}

.travel-address-column + .travel-address-column {
    padding: 0 0 0 20px;
    border-left: 1px solid #e7ebf4;
}

.travel-inline {
    display: grid;
    grid-template-columns: 120px 1fr 1fr 1fr;
    gap: 8px;
}

.travel-inline--name {
    grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.travel-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.travel-two-col.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.travel-address-card .travel-grid {
    gap: 14px;
}

.travel-field {
    display: grid;
    gap: 7px;
}

.travel-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.travel-field > span {
    color: #6d7584;
    font-size: 13px;
    font-weight: 700;
}

.travel-field-spacer {
    visibility: hidden;
}

.travel-helper-link {
    color: #4f8ef7;
    font-size: 13px;
    text-decoration: none;
    font-weight: 700;
}

.travel-field input,
.travel-field textarea,
.travel-field select {
    width: 100%;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    background: #fff;
    min-height: 40px;
    padding: 0 12px;
    color: #2c3445;
    font-size: 14px;
}

.travel-field input:required:invalid,
.travel-field textarea:required:invalid,
.travel-field select:required:invalid {
    border-color: #e15b64;
    box-shadow: 0 0 0 1px rgba(225, 91, 100, 0.14);
}

.travel-field input:required:focus:invalid,
.travel-field textarea:required:focus:invalid,
.travel-field select:required:focus:invalid {
    outline: none;
    border-color: #d6424c;
    box-shadow: 0 0 0 3px rgba(214, 66, 76, 0.16);
}

.travel-field textarea {
    min-height: 68px;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.45;
}

.travel-phone {
    display: grid;
    grid-template-columns: 56px 1fr;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    overflow: hidden;
}

.travel-phone span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8faff;
    color: #4c5566;
    font-size: 14px;
    border-right: 1px solid #d7dce8;
}

.travel-phone input {
    border: 0;
    min-height: 40px;
}

.travel-airport {
    max-width: 240px;
}

.travel-form-shell {
    display: grid;
    gap: 18px;
    padding: 0 20px 24px;
}

.travel-address-card,
.travel-summary-card {
    background: #fff;
    border: 1px solid #e2e7f2;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.03);
    overflow: hidden;
}

.travel-address-card {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.travel-summary-card > header {
    margin-bottom: 16px;
    color: #2a3242;
    font-size: 18px;
    font-weight: 800;
}

.travel-summary-layout {
    display: grid;
    gap: 18px;
    padding: 0 20px 24px;
}

.travel-summary-card {
    padding: 16px 18px 18px;
}

.travel-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
}

.travel-summary-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 32px;
}

.travel-summary-row span {
    color: #6d7584;
    font-size: 14px;
}

.travel-summary-row strong {
    color: #2d3445;
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}

.travel-summary-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.travel-emergency-card {
    display: grid;
    gap: 18px;
}

.travel-emergency-card > p {
    margin: 0;
    color: #5d677c;
    font-size: 14px;
    line-height: 1.5;
}

.travel-emergency-list {
    display: grid;
    gap: 0;
    border-top: 1px solid #e8edf6;
}

.travel-emergency-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) 40px;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e8edf6;
}

.travel-emergency-row-main,
.travel-emergency-row-meta {
    display: grid;
    gap: 4px;
}

.travel-emergency-row-main strong,
.travel-emergency-row-meta span {
    color: #2d3445;
    font-size: 14px;
}

.travel-emergency-row-main span {
    color: #6d7584;
    font-size: 13px;
}

.travel-emergency-dialog {
    width: min(94vw, 674px);
}

.travel-emergency-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
}

.travel-emergency-form__name {
    grid-column: 1 / -1;
}

.travel-emergency-name-row {
    display: grid;
    grid-template-columns: 144px minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.travel-emergency-form .travel-phone {
    grid-template-columns: 80px 1fr;
}

.travel-emergency-form .travel-phone select {
    border: 0;
    border-right: 1px solid #d7dce8;
    border-radius: 0;
    min-height: 42px;
    padding: 0 12px;
    background: #fff;
    color: #4c5566;
    font-size: 14px;
}

.travel-emergency-note,
.travel-emergency-error {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.45;
}

.travel-emergency-note {
    background: #eef5ff;
    color: #5e6f8d;
}

.travel-emergency-error {
    background: #fdecec;
    color: #b53535;
}

.travel-address-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.travel-address-summary h3 {
    margin: 0 0 10px;
    color: #2b3342;
    font-size: 15px;
    font-weight: 800;
}

.travel-address-summary p {
    margin: 0 0 8px;
    color: #4f5968;
    font-size: 14px;
    line-height: 1.5;
}

.travel-note {
    grid-column: 1 / -1;
    background: #eef7ff;
    border-left: 3px solid #74b2ff;
    border-radius: 4px;
    padding: 10px 14px;
    color: #416386;
    font-size: 13px;
    line-height: 1.5;
}

.travel-form-divider {
    grid-column: 1 / -1;
    height: 1px;
    background: #e7ebf4;
}

.travel-form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 0;
}

.travel-form-actions .settings-anchor-action {
    min-width: 72px;
}

.travel-profile-page .settings-message {
    margin: 0 20px 14px;
}

.settings-message {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.settings-success {
    background: #e7f7ec;
    border: 1px solid #b8e4c7;
    color: #176b35;
}

.settings-error {
    background: #fdecec;
    border: 1px solid #f3b5b5;
    color: #b53535;
}

@media (max-width: 1180px) {
    .settings-personal-grid,
    .settings-preference-grid {
        grid-template-columns: 1fr;
    }

    .settings-personal-divider {
        display: none;
    }

    .settings-two-up {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .settings-preference-body {
        grid-template-columns: 1fr;
    }

    .settings-detail-row {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .settings-head {
        align-items: flex-start;
    }

    .budget-empty-state {
        min-height: 320px;
    }

    .budget-empty-graphic {
        width: 144px;
        height: 144px;
        font-size: 46px;
    }

    .settings-dialog--center {
        width: min(94vw, 430px);
    }

    .settings-dialog--drawer {
        width: min(92vw, 360px);
    }

    .settings-form-grid.two-col {
        grid-template-columns: 1fr;
    }

    .settings-dialog-body--travel-document {
        grid-template-columns: 1fr;
    }

    .settings-dialog-form--travel-document {
        grid-template-columns: 1fr;
    }

    .travel-upload-dropzone {
        min-height: 220px;
    }

    .travel-inline,
    .travel-two-col,
    .travel-address-layout {
        grid-template-columns: 1fr;
    }

    .travel-address-column {
        padding-right: 0;
        padding-left: 0;
        border-left: 0;
    }

    .travel-airport {
        max-width: none;
    }

    .travel-emergency-form {
        grid-template-columns: 1fr;
    }

    .travel-emergency-name-row {
        grid-template-columns: 1fr;
    }

    .cards-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-cards-hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 24px 42px;
    }

    .admin-cards-pagehead {
        padding: 18px 24px 16px;
    }

    .admin-cards-pagehead h1 {
        font-size: 34px;
    }

    .admin-cards-hero-copy h2 {
        font-size: 42px;
    }

    .admin-cards-preview-summary {
        grid-template-columns: 1fr;
    }

    .admin-cards-benefits {
        padding: 36px 24px 44px;
    }

    .admin-cards-benefit-grid {
        grid-template-columns: 1fr;
    }

    .admin-cards-benefit-card,
    .admin-cards-benefit-card:nth-child(4),
    .admin-cards-benefit-card:nth-child(5) {
        grid-column: auto;
        grid-column-start: auto;
    }

    .cards-board {
        grid-template-columns: 1fr;
    }

    .cards-card-tile {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .admin-cards-hero-copy h2 {
        font-size: 34px;
    }

    .admin-cards-hero-copy p,
    .admin-cards-benefit-card p {
        font-size: 16px;
    }

    .admin-cards-preview-row {
        grid-template-columns: 18px 1fr 56px;
        gap: 14px;
    }

    .admin-cards-preview-line--dots,
    .admin-cards-preview-user {
        display: none;
    }

    .travel-page-head {
        padding-inline: 14px;
    }

    .travel-section {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* Zoho-like route pages */
.page-surface {
    min-height: calc(100vh - 58px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-surface--white {
    background: #fff;
}

.page-surface--dimmed {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 26px 18px 34px;
    background: rgba(241, 244, 250, 0.92);
}

.page-close-button {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #d9deea;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7484;
    background: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.budget-flow-overlay {
    padding: 24px 20px 28px;
    background: rgba(15, 23, 42, 0.45);
    align-items: flex-start;
    justify-content: center;
}

.budget-flow-modal {
    width: min(92vw, 1260px);
    max-width: 1260px;
    height: min(92vh, 900px);
    max-height: 900px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 24px 90px rgba(15, 23, 42, 0.24);
    overflow: hidden;
    background: #fff;
}

.budget-flow-overlay--user {
    padding: 0;
    background: #fff;
    align-items: stretch;
}

.budget-flow-modal--user {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    background: #fff;
}

.budget-flow-modal .bank-modal-header {
    min-height: 68px;
    padding: 0 24px;
    background: linear-gradient(180deg, #f7f8fd 0%, #f4f6fb 100%);
    border-bottom: 1px solid #e8edf7;
    position: sticky;
    top: 0;
    z-index: 4;
}

.budget-flow-modal--user .bank-modal-header {
    background: #fff;
    border-bottom-color: #edf0f5;
}

.budget-flow-modal--user .budget-form {
    overflow: visible;
}

.budget-flow-header-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.budget-flow-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e6efff;
    color: #3066d4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.budget-flow-header-copy h2 {
    margin: 0;
    color: #22314f;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
}

.budget-flow-modal .bank-modal-copy {
    margin: 18px auto 0;
    width: 100%;
    padding: 0 24px;
    color: #5f6b80;
    font-size: 15px;
    line-height: 1.55;
    box-sizing: border-box;
}

.budget-flow-modal .cards-bulk-alert,
.budget-flow-modal .budget-success-message {
    margin: 14px auto 0;
    width: 100%;
    box-sizing: border-box;
}

.budget-flow-modal .budget-form {
    flex: 1 1 auto;
    width: 100%;
    margin: 0 auto;
    padding: 14px 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    overflow: auto;
    box-sizing: border-box;
}

.budget-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    align-items: start;
}

.budget-user-panel {
    display: grid;
    gap: 16px;
    width: min(100%, 420px);
    margin-bottom: 2px;
}

.budget-user-panel .expense-picker {
    width: 100%;
}

.budget-user-panel .bank-select-field select[disabled] {
    opacity: 1;
    background-color: #fff;
    color: #2e3d59;
    cursor: default;
}

.budget-field {
    min-width: 0;
}

.budget-field--full {
    grid-column: 1 / -1;
}

.budget-flow-modal .bank-select-field {
    min-width: 0;
}

.budget-actuals-section {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e1e7f2;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.budget-actuals-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.budget-actuals-label {
    color: #e03131;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.budget-section-label {
    display: block;
    color: #23304b;
    font-size: 14px;
    font-weight: 800;
}

.budget-section-note {
    color: #6f7b91;
    font-size: 13px;
    line-height: 1.45;
    text-align: right;
}

.budget-actuals-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.budget-actuals-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid #dbe2f1;
    border-radius: 12px;
    background: #fff;
    color: #26324a;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.budget-actuals-card:hover,
.budget-actuals-card:focus-within {
    border-color: #b9c8f3;
    box-shadow: 0 8px 20px rgba(32, 61, 125, 0.08);
    transform: translateY(-1px);
}

.budget-actuals-card input {
    margin-top: 2px;
    flex: 0 0 auto;
}

.budget-actuals-card-copy,
.budget-actuals-card-body {
    display: grid;
    gap: 4px;
}

.budget-actuals-card-copy strong,
.budget-actuals-card-body strong {
    color: #22314f;
    font-size: 14px;
    font-weight: 800;
}

.budget-actuals-card-copy small,
.budget-actuals-card-body small {
    color: #66748c;
    font-size: 13px;
    line-height: 1.45;
}

.budget-specific-toggle {
    padding-top: 2px;
}

.budget-specific-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #22314f;
    font-size: 14px;
    font-weight: 600;
}

.budget-specific-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
}

.budget-specific-fields .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 16px;
    margin: 0;
}

.budget-specific-fields .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
}

.budget-table-shell {
    width: 100%;
    min-width: 0;
    border: 1px solid #e1e7f2;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25, 39, 71, 0.04);
}

.budget-table-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 10px 18px 8px;
    border-bottom: 0;
    background: transparent;
}

.budget-selector-trigger,
.budget-prefill-trigger {
    border: 0;
    background: transparent;
    color: #2f6be4;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.budget-selector-trigger--header {
    justify-self: end;
    color: #2f6be4;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.budget-prefill-trigger--inline {
    margin-left: auto;
}

.budget-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.budget-grid-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    table-layout: fixed;
}

.budget-grid-table th,
.budget-grid-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #edf1f7;
}

.budget-grid-table thead th {
    background: #f7f9fe;
    color: #7f8cae;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
}

.budget-grid-heading-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.budget-grid-table thead th:first-child,
.budget-grid-row-label {
    text-align: left;
}

.budget-grid-table thead th:first-child {
    width: 320px;
}

.budget-grid-row-label {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 320px;
    background: #fff;
    color: #253249;
    font-weight: 700;
    box-shadow: 1px 0 0 #edf1f7;
}

.budget-grid-row-label--tree {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 14px;
}

.budget-grid-row-label--tree span {
    padding-left: 0;
}

.budget-grid-row-label--root,
.budget-grid-row-label--group,
.budget-grid-row-label--subtotal,
.budget-grid-row-label--grand {
    font-weight: 700;
}

.budget-grid-row-label--leaf {
    padding-left: 26px;
}

.budget-grid-tree-toggle {
    width: 20px;
    height: 20px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #2f6be4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.budget-grid-tree-toggle i {
    font-size: 12px;
}

.budget-grid-tree-label {
    min-width: 0;
}

.budget-grid-tree-spacer {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.budget-grid-tree-spacer--leaf {
    width: 20px;
}

.budget-grid-tree-spacer--subtotal,
.budget-grid-tree-spacer--grand {
    width: 20px;
}

.budget-grid-tree-row--group {
    background: #fff;
}

.budget-grid-tree-row--subtotal td,
.budget-grid-tree-row--grand-total td {
    background: #fafbff;
    font-weight: 700;
}

.budget-grid-tree-row--root td {
    background: #fdfdff;
}

.budget-grid-total--empty {
    background: #fff;
}

.budget-grid-total--strong {
    font-weight: 700;
}

.budget-grid-total--grand {
    font-weight: 800;
}

.budget-grid-col-label {
    width: 320px;
}

.budget-grid-col-month {
    width: 88px;
}

.budget-grid-col-total {
    width: 92px;
}

.budget-grid-input {
    width: 100%;
    min-width: 72px;
    height: 32px;
    border: 1px solid #d9dfeb;
    border-radius: 6px;
    padding: 0 8px;
    text-align: center;
    color: #22314f;
    background: #fff;
    font: inherit;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
}

.budget-grid-input:focus {
    outline: none;
    border-color: #3d7df0;
    box-shadow: 0 0 0 3px rgba(61, 125, 240, 0.12);
}

.budget-grid-total-heading,
.budget-grid-total {
    white-space: nowrap;
    text-align: right;
}

.budget-grid-total {
    color: #22314f;
    font-weight: 700;
    background: #fbfcff;
    text-align: center;
}

.budget-grid-empty-row td {
    padding: 0;
    border-bottom: 0;
    background: #fff;
}

.budget-grid-empty-state {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #22314f;
    text-align: center;
}

.budget-grid-empty-state p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #22314f;
}

.budget-grid-table tbody tr {
    height: 52px;
}

.budget-grid-table tbody tr:last-child td {
    border-bottom-color: #e8edf5;
}

.budget-grid-row-label {
    padding-left: 14px;
    font-size: 16px;
}

.budget-grid-row-label span:not(.budget-grid-tree-label) {
    display: inline-block;
    padding-left: 10px;
}

.budget-grid-total-heading {
    width: 92px;
}

.budget-grid-empty-action {
    min-width: 146px;
    justify-content: center;
}

.budget-prefill-panel,
.budget-selector-overlay,
.overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(17, 24, 39, 0.38);
    z-index: 330;
}

.budget-selector-overlay,
.overlay {
    position: fixed;
    padding: 24px 20px 28px;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.46);
}

.budget-prefill-panel[hidden],
.budget-selector-overlay[hidden],
.overlay[hidden] {
    display: none !important;
}

.budget-selector-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.38);
}

.budget-prefill-card,
.budget-selector-dialog,
.category-modal {
    width: min(94vw, 1080px);
    max-height: min(88vh, 820px);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 100px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.budget-selector-dialog,
.category-modal {
    position: relative;
    z-index: 1;
    width: min(94vw, 1080px);
    max-width: 1080px;
    max-height: min(88vh, 820px);
}

.budget-prefill-card-header,
.budget-selector-header,
.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px 18px;
    border-bottom: 1px solid #edf1f6;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.budget-prefill-card-header h3,
.budget-selector-header h3,
.modal-header h2 {
    margin: 0 0 4px;
    color: #22314f;
    font-size: 22px;
    font-weight: 800;
}

.budget-prefill-card-header p,
.budget-selector-header p,
.modal-header p,
.subtitle {
    margin: 0;
    color: #66748c;
    font-size: 14px;
    line-height: 1.45;
}

.budget-selector-header .page-close-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-color: #dce3f1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.budget-selector-header .page-close-button:hover {
    background: #f8faff;
    color: #344767;
}

.budget-prefill-field,
.budget-selector-toolbar,
.category-container {
    padding: 16px 28px 0;
}

.budget-selector-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 18px;
    border-bottom: 1px solid #edf1f6;
    padding-bottom: 16px;
}

.budget-selector-search {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 1px solid #d9dfeb;
    border-radius: 14px;
    background: #fff;
    color: #6f7b91;
    box-sizing: border-box;
}

.budget-selector-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #22314f;
    font: inherit;
    font-size: 14px;
}

.budget-selector-search input::placeholder {
    color: #98a3b8;
}

.budget-selector-select-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #22314f;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.budget-selector-select-all--block {
    display: flex;
    width: 100%;
    padding: 14px 18px 14px;
    border-bottom: 1px solid #edf1f6;
    background: #fff;
    box-sizing: border-box;
}

.budget-selector-select-all--inline {
    justify-self: end;
    padding: 0 4px 0 0;
    white-space: nowrap;
}

.budget-selector-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 16px;
}

.budget-selector-search-wrap i {
    color: #8a96b3;
    font-size: 13px;
}

.budget-prefill-footer,
.budget-selector-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 28px 22px;
    border-top: 1px solid #edf1f6;
    margin-top: auto;
    background: #fff;
}

.budget-selector-list,
.category-container {
    flex: 1 1 auto;
    min-height: 0;
    margin: 16px 28px 0;
    border: 1px solid #dfe6f3;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.budget-selector-items,
.child-categories {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0 12px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #c8d2e6 transparent;
}

.budget-selector-option,
.child-categories label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 18px 8px 14px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.budget-selector-option--child,
.child-categories label {
    padding-left: 30px;
}

.budget-selector-option input {
    margin-top: 2px;
    flex: 0 0 auto;
}

.budget-selector-option-label {
    display: grid;
    gap: 4px;
}

.budget-selector-group,
.tree-node {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

.budget-selector-group-title,
.parent-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px 8px;
    cursor: pointer;
    color: #22314f;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
}

.budget-selector-group-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 2px;
    flex: 0 0 auto;
}

.budget-selector-group-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #4a86f7;
}

.budget-selector-group-toggle {
    color: #6f7f99;
    font-size: 13px;
    transition: transform 0.18s ease;
}

.budget-selector-group-items {
    padding: 0 0 8px 18px;
    display: grid;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
}

.budget-selector-group-items[hidden] {
    display: none;
}

.budget-selector-group + .budget-selector-group {
    margin-top: 2px;
}

.budget-selector-group-title--root {
    font-size: 17px;
    font-weight: 700;
}

.parent-category strong {
    color: #22314f;
    font-size: 16px;
    font-weight: 700;
}

.budget-selector-group-arrow {
    width: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6f7f99;
}

.child-categories {
    padding-left: 50px;
}

.child-categories label {
    width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.budget-selector-group.is-collapsed > .budget-selector-group-title .budget-selector-group-toggle {
    transform: rotate(-90deg);
}

.budget-selector-group:not(.is-collapsed) > .budget-selector-group-title .budget-selector-group-toggle {
    transform: rotate(0deg);
}

.budget-selector-option strong {
    color: #22314f;
    font-size: 14px;
    font-weight: 600;
}

.budget-selector-option small {
    display: block;
    color: #66748c;
    font-size: 13px;
    line-height: 1.45;
}

.budget-selector-option input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: #4a86f7;
}

.budget-selector-option:hover,
.budget-selector-group-title:hover,
.budget-selector-select-all--block:hover,
.budget-selector-select-all--inline:hover {
    background: #f8faff;
}

.budget-selector-footer .expense-primary,
.budget-selector-footer .expense-ghost {
    min-width: 144px;
    min-height: 40px;
    padding: 0 18px;
}

.budget-selector-footer .expense-primary {
    background: #2d6ae6;
    box-shadow: 0 10px 18px rgba(45, 106, 230, 0.18);
}

.budget-selector-footer .expense-primary:hover {
    background: #245bd0;
}

.budget-selector-items::-webkit-scrollbar {
    width: 10px;
}

.budget-selector-items::-webkit-scrollbar-track {
    background: transparent;
}

.budget-selector-items::-webkit-scrollbar-thumb {
    background: #c8d2e6;
    border-radius: 999px;
    border: 2px solid #fff;
}

.budget-selector-overlay {
    align-items: flex-start;
    justify-content: center;
    padding: 24px 20px 28px;
    background: rgba(17, 24, 39, 0.5);
    overflow-y: auto;
}

.budget-selector-backdrop {
    background: transparent;
}

.budget-selector-dialog {
    width: min(94vw, 1080px);
    max-width: 1080px;
    min-width: 0;
    max-height: min(88vh, 820px);
    border-radius: 10px;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
    background: #fff;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.budget-selector-header {
    align-items: flex-start;
    padding: 18px 24px 16px;
    min-height: 58px;
    background: #fff;
    border-bottom: 1px solid #edf1f6;
}

.budget-selector-header-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.budget-selector-header h2 {
    margin: 0;
    color: #172033;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.budget-selector-header p {
    margin: 0;
    color: #5d6679;
    font-size: 14px;
    line-height: 1.5;
}

.budget-selector-header .page-close-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #344055;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
}

.budget-selector-toolbar {
    padding: 16px 24px 0;
    border-bottom: 0;
}

.budget-selector-list {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 24px;
    border: 1px solid #dfe6f4;
    border-top: 0;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    background: #fff;
}

.budget-selector-select-all--block {
    padding: 16px 18px;
    border-bottom-color: #e4e9f3;
    color: #2f3441;
    font-size: 16px;
    font-weight: 400;
    border-radius: 6px 6px 0 0;
    background: #fff;
}

.budget-selector-items {
    max-height: 520px;
    padding: 12px 20px 14px 28px;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.budget-selector-group {
    margin: 0 0 2px;
}

.budget-selector-group-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0 5px;
    color: #2f3441;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    outline: none;
}

.budget-selector-group-summary::-webkit-details-marker {
    display: none;
}

.budget-selector-group-summary--root {
    font-size: 20px;
    font-weight: 500;
}

.budget-selector-group-arrow {
    width: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #596376;
}

.budget-selector-group-body {
    display: grid;
    gap: 5px;
    padding: 0 0 4px 34px;
}

.budget-selector-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
}

.budget-selector-option--child {
    padding-left: 0;
}

.budget-selector-option strong {
    color: #2f3441;
    font-size: 16px;
    font-weight: 400;
}

.budget-selector-option input,
.budget-selector-select-all input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #3f83f8;
}

.budget-selector-footer {
    justify-content: flex-start;
    gap: 10px;
    margin: 0 24px 24px;
    padding: 18px 0 0;
    border-top-color: #e6ebf4;
}

.budget-selector-footer .expense-primary,
.budget-selector-footer .expense-ghost {
    min-width: 0;
    min-height: 44px;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 4px;
}

.budget-selector-footer .expense-primary {
    background: #4087f8;
    box-shadow: none;
}

.budget-selector-footer .expense-ghost {
    color: #111827;
}

.budget-selector-footer .btn-primary,
.budget-selector-footer .btn-secondary {
    cursor: pointer;
    border-radius: 4px;
}

.budget-selector-empty-state {
    padding: 18px;
    color: #5d6679;
    font-size: 14px;
}

.budget-flow-modal .bank-modal-footer {
    margin: 0;
    padding: 18px 24px 22px;
    border-top: 1px solid #edf1f6;
    background: #fff;
}

.budget-detail-shell {
    min-height: calc(100vh - 58px);
    padding: 30px 24px 40px;
    background: #fff;
}

.budget-detail-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 6px 0 18px;
}

.budget-detail-title-block h1 {
    margin: 0;
    color: #283244;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;
}

.budget-detail-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.budget-detail-icon-button,
.budget-detail-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 6px;
    border: 1px solid #d6ddee;
    background: #fff;
    color: #2e3a54;
    text-decoration: none;
}

.budget-detail-icon-button {
    width: 44px;
    font-size: 16px;
}

.budget-detail-primary-button {
    padding: 0 18px;
    background: #4c8df6;
    border-color: #4c8df6;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.budget-detail-divider {
    height: 1px;
    background: #e6ebf4;
    margin: 0 0 26px;
}

.budget-detail-message {
    margin-bottom: 16px;
}

.budget-detail-meta {
    display: flex;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.budget-detail-meta-card {
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #e3e8f2;
    background: #fff;
    box-shadow: 0 10px 28px rgba(27, 43, 77, 0.05);
}

.budget-detail-meta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f6efbd;
    color: #9d8700;
    flex: 0 0 auto;
}

.budget-detail-meta-icon--green {
    background: #dff4e9;
    color: #20945d;
}

.budget-detail-meta-card small {
    display: block;
    color: #778298;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.budget-detail-meta-card strong {
    display: block;
    margin-top: 2px;
    color: #253047;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.budget-detail-grid-shell {
    border: 1px solid #e3e8f2;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(27, 43, 77, 0.04);
}

.budget-detail-table-wrap {
    overflow-x: auto;
}

.budget-detail-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    background: #fff;
}

.budget-detail-table th,
.budget-detail-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #e8edf6;
    border-right: 1px solid #edf1f7;
    color: #22314f;
    font-size: 15px;
    text-align: right;
    white-space: nowrap;
}

.budget-detail-table th:first-child,
.budget-detail-table td:first-child {
    text-align: left;
}

.budget-detail-table thead th {
    background: #f7f8fd;
    color: #5f6d86;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.budget-detail-row-label {
    font-weight: 500;
}

.budget-detail-row-total,
.budget-detail-total-row th {
    font-weight: 700;
}

.budget-detail-total-row th {
    background: #fbfcff;
}

.budget-list-name-link {
    color: #2f6fdb;
    text-decoration: none;
    font-weight: 600;
}

.budget-list-name-link:hover {
    text-decoration: underline;
}

.budget-index-shell {
    display: grid;
    gap: 18px;
    padding-top: 2px;
}

.budget-index-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.budget-index-title-group h1 {
    margin: 0;
    color: #1f2d4d;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -1px;
}

.budget-index-tabs {
    display: flex;
    align-items: flex-end;
    gap: 28px;
    margin-top: 16px;
    border-bottom: 1px solid #dfe6f4;
}

.budget-index-tab {
    position: relative;
    padding: 0 0 12px;
    color: #23314d;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}

.budget-index-tab:hover {
    color: #2f6be4;
}

.budget-index-tab.is-active {
    color: #2f6be4;
}

.budget-index-tab.is-active::after {
    content: '';
    position: absolute;
    inset: auto 0 -1px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #4b84f7;
}

.budget-index-popover {
    position: relative;
}

.budget-index-new-button {
    border: 0;
    border-radius: 6px;
    min-height: 44px;
    padding: 0 16px;
    background: #4a86f7;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(14, 45, 111, 0.08);
}

.budget-index-new-button i {
    font-size: 12px;
}

.budget-index-menu {
    min-width: 210px;
    right: 0;
}

.budget-index-card {
    border: 1px solid #dfe6f4;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.budget-index-table-wrap {
    overflow-x: auto;
}

.budget-index-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
}

.budget-index-table th,
.budget-index-table td {
    padding: 16px 22px;
    border-bottom: 1px solid #e9edf6;
    text-align: left;
}

.budget-index-table th {
    background: #fafbfe;
    color: #7f8cae;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.budget-index-table td {
    color: #253454;
    font-size: 16px;
}

.budget-index-empty {
    color: #6f7e9e;
    padding-top: 28px;
    padding-bottom: 28px;
}

@media (max-width: 1024px) {
    .budget-index-header {
        flex-direction: column;
        align-items: stretch;
    }

    .budget-index-popover {
        align-self: flex-end;
    }
}

@media (max-width: 768px) {
    .budget-index-title-group h1 {
        font-size: 30px;
    }

    .budget-index-tabs {
        gap: 20px;
        overflow-x: auto;
        padding-bottom: 1px;
    }

    .budget-index-tab {
        font-size: 16px;
        white-space: nowrap;
    }

    .budget-index-new-button {
        min-height: 42px;
        font-size: 15px;
    }
}

.support-page-surface {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    min-height: calc(100vh - 58px);
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(242, 245, 251, 0.96) 0%, rgba(242, 245, 251, 0.92) 72%, rgba(255, 255, 255, 0.98) 72%, rgba(255, 255, 255, 0.98) 100%);
}

.support-page-overlay {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(100% - 430px);
    background: rgba(28, 37, 57, 0.08);
}

.support-request-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    min-height: calc(100vh - 58px);
    border-radius: 0;
    border: 0;
    box-shadow: -20px 0 65px rgba(13, 23, 40, 0.14);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.support-request-header {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-bottom: 1px solid #edf1f6;
    position: relative;
}

.support-request-header h1 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    color: #283244;
    text-align: center;
}

.support-request-flash {
    margin: 18px 28px 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
}

.support-request-flash--success {
    background: #eef9f2;
    color: #1f7a3f;
    border: 1px solid #c8ead2;
}

.support-request-flash--error {
    background: #fff4f3;
    color: #c3382d;
    border: 1px solid #f2c6c2;
}

.support-request-form {
    padding: 30px 28px 28px;
    display: grid;
    gap: 26px;
}

.support-field {
    display: grid;
    gap: 12px;
}

.support-field > span {
    font-size: 14px;
    font-weight: 500;
    color: #ef4f57;
}

.support-field--required > span {
    color: #f05a5a;
}

.support-field textarea,
.support-field input[type="text"],
.support-field input[type="tel"] {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cad3e4;
    border-radius: 4px;
    background: #fff;
    padding: 10px 14px;
    color: #2c3445;
    font-size: 14px;
}

.support-field textarea {
    min-height: 170px;
    resize: vertical;
}

.support-upload {
    display: grid;
    gap: 8px;
}

.support-upload input[type="file"] {
    width: 100%;
    border: 1px dashed #d7dce8;
    border-radius: 4px;
    background: #fff;
    padding: 12px 14px;
    color: #2c3445;
    font-size: 14px;
}

.support-hint {
    margin: -6px 0 0;
    color: #7a8496;
    font-size: 12px;
    line-height: 1.45;
}

.support-input-icon {
    position: relative;
    display: block;
}

.support-input-icon input {
    padding-right: 42px;
}

.support-input-icon > i {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #8792a8;
    font-size: 16px;
    pointer-events: none;
}

.support-input-icon--calendar {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
}

.support-input-icon--calendar input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-right: 14px;
}

.support-input-icon-badge {
    border: 1px solid #cad3e4;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background: #f6f8fc;
    color: #3e4759;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
}

.support-form-grid {
    display: grid;
    gap: 14px;
}

.support-submit-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.support-submit {
    height: 44px;
    border: 0;
    border-radius: 4px;
    padding: 0 16px;
    background: #4f8ef7;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(79, 142, 247, 0.18);
}

.getting-started-page .dashboard-content {
    padding: 0;
    gap: 0;
}

.getting-started-surface {
    padding: 16px 0 24px;
    background: #fff;
}

.getting-started-shell {
    width: min(100%, 760px);
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.getting-started-hero {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
}

.getting-started-hero-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #28324d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.getting-started-hero-copy h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    color: #243047;
}

.getting-started-hero-copy p {
    margin: 4px 0 0;
    color: #6f7a8b;
    font-size: 14px;
}

.getting-started-close {
    align-self: start;
}

.getting-started-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.85fr);
    gap: 0;
}

.getting-started-panel {
    overflow: hidden;
}

.getting-started-overview,
.getting-started-help {
    min-height: 260px;
}

.getting-started-overview {
    border-right: 1px solid #eef1f6;
}

.getting-started-overview h2,
.getting-started-help h2,
.getting-started-more h2 {
    margin: 0;
    padding: 16px 0 10px;
    text-align: center;
    font-size: 18px;
    color: #28324d;
}

.getting-started-video {
    margin: 16px auto 30px;
    width: min(100%, 420px);
    aspect-ratio: 1.65 / 1;
    border: 1px solid #b7cdf6;
    border-radius: 4px;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.75) 0 18%, transparent 18% 100%),
        linear-gradient(135deg, rgba(79, 142, 247, 0.03), rgba(79, 142, 247, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
}

.getting-started-play {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #4f8ef7;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 16px rgba(79, 142, 247, 0.22);
}

.getting-started-links {
    list-style: none;
    margin: 0;
    padding: 8px 0 16px;
    display: grid;
    gap: 12px;
}

.getting-started-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b485f;
    text-decoration: none;
    font-size: 14px;
}

.getting-started-links a:hover {
    color: #4f8ef7;
}

.getting-started-strip {
    background: #4f8ef7;
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 0 22px;
}

.getting-started-strip h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.getting-started-step-list {
    padding: 14px 22px 18px;
    display: grid;
    gap: 18px;
}

.getting-started-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.getting-started-step-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: #f5f7fb;
    color: #3d465a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.getting-started-step-copy h3 {
    margin: 0;
    font-size: 18px;
    color: #28324d;
}

.getting-started-step-copy p {
    margin: 4px 0 0;
    color: #6f7a8b;
    font-size: 14px;
    line-height: 1.45;
}

.getting-started-step-action {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 4px;
    background: #4f8ef7;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.getting-started-home,
.getting-started-expense-view {
    display: grid;
    gap: 20px;
}

.getting-started-home.is-hidden,
.getting-started-expense-view.is-hidden {
    display: none;
}

.getting-started-expense-view {
    width: 100%;
}

.getting-started-expense-view .page-surface {
    padding: 0;
    background: transparent;
}

.getting-started-more {
    margin-top: 14px;
}

.getting-started-more-grid {
    display: grid;
    gap: 0;
    padding: 14px 22px 18px;
}

.getting-started-more-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eef1f6;
}

.getting-started-more-card:last-child {
    border-bottom: 0;
}

.getting-started-more-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #28324d;
}

.getting-started-more-card h3 {
    margin: 0;
    font-size: 16px;
    color: #28324d;
}

.getting-started-more-card p {
    margin: 3px 0 0;
    color: #6f7a8b;
    font-size: 14px;
    line-height: 1.45;
}

.getting-started-more-card a {
    color: #4f8ef7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.getting-started-admin {
    padding-bottom: 16px;
}

.getting-started-admin h2 {
    margin: 0;
    padding: 16px 0 14px;
    text-align: center;
    font-size: 18px;
    color: #4f8ef7;
    font-weight: 600;
}

.getting-started-admin-list {
    padding: 0 22px;
    display: grid;
    gap: 16px;
}

.getting-started-admin-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.getting-started-admin-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #3f4654;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4f6fb;
}

.getting-started-admin-item h3 {
    margin: 0;
    font-size: 16px;
    color: #2b3342;
}

.getting-started-admin-item p {
    margin: 4px 0 0;
    color: #5e687a;
    font-size: 14px;
    line-height: 1.45;
}

.getting-started-admin-actions {
    padding: 18px 22px 4px;
    border-top: 1px solid #eef1f6;
    margin-top: 10px;
}

.getting-started-admin-button {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 4px;
    background: #4f8ef7;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.getting-started-page .getting-started-info-grid {
    margin-top: 6px;
    padding-top: 0;
}

.getting-started-page .getting-started-footer-links {
    padding: 18px 8px 8px;
}

.getting-started-page .getting-started-footer-links .footer-links {
    padding-inline: 0;
}

.trip-modal,
.bank-modal {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 20px 70px rgba(20, 31, 54, 0.18);
    overflow: hidden;
}

.trip-modal {
    width: min(100%, 600px);
}

.trip-modal-header,
.bank-modal-header {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid #eef1f6;
}

.trip-modal-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #243047;
    font-size: 16px;
    font-weight: 800;
}

.trip-modal-body {
    padding: 14px;
    display: grid;
    gap: 14px;
    background: linear-gradient(180deg, #f9fafe 0, #fff 18%);
}

.trip-card {
    border: 1px solid #e2e7f2;
    border-radius: 12px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.03);
}

.trip-field {
    display: grid;
    gap: 7px;
}

.trip-field + .trip-field {
    margin-top: 14px;
}

.trip-field > span {
    color: #f05a5a;
    font-size: 14px;
    font-weight: 700;
}

.trip-field input,
.trip-field textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    background: #fff;
    padding: 0 12px;
    color: #2c3445;
    font-size: 14px;
}

.trip-field textarea {
    min-height: 70px;
    padding: 10px 12px;
    resize: vertical;
}

.trip-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.trip-type-option {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 84px;
    border: 1px solid #d9e1ef;
    border-radius: 4px;
    padding: 14px 14px 12px 36px;
    color: #2b3342;
    cursor: pointer;
}

.trip-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.trip-type-dot {
    position: absolute;
    top: 16px;
    left: 14px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #b8c3d7;
    background: #fff;
}

.trip-type-option.is-selected {
    border-color: #4f8ef7;
    box-shadow: inset 0 0 0 1px #4f8ef7;
}

.trip-type-option.is-selected .trip-type-dot {
    border-color: #4f8ef7;
    box-shadow: inset 0 0 0 4px #4f8ef7;
}

.trip-type-option strong {
    font-size: 14px;
    font-weight: 800;
}

.trip-type-option small {
    color: #657087;
    font-size: 13px;
    line-height: 1.4;
}

.trip-modal-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px 16px;
}

.trip-primary,
.trip-secondary {
    min-height: 38px;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.trip-primary {
    border: 0;
    background: #4f8ef7;
    color: #fff;
    box-shadow: 0 10px 18px rgba(79, 142, 247, 0.18);
}

.trip-secondary {
    border: 1px solid #d8dff0;
    background: #fff;
    color: #4b5566;
    box-shadow: none;
}

.trips-surface {
    padding: 28px 24px 34px;
    background: #fff;
}

.trips-hero {
    max-width: 1120px;
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1.02fr);
    gap: 26px;
    align-items: start;
    padding: 64px 0 24px;
}

.trips-hero-copy {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 0 8px 0 0;
}

.trips-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid #e4eaf6;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #44506a;
    font-size: 22px;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.04);
}

.trips-hero-copy h1 {
    margin: 0;
    color: #1f2a44;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.18;
}

.trips-hero-copy p {
    margin: 0;
    max-width: 560px;
    color: #5f6e86;
    font-size: 15px;
    line-height: 1.55;
}

.trips-hero-action {
    width: fit-content;
    min-height: 34px;
    padding-inline: 14px;
    margin-top: 4px;
    font-size: 14px;
}

.trips-shared-block {
    display: grid;
    gap: 10px;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid #e6ebf5;
}

.trips-shared-block span {
    color: #44506a;
    font-size: 14px;
    font-weight: 600;
}

.trips-shared-block a {
    width: fit-content;
    color: #4f8ef7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.trips-shared-block a i {
    font-size: 11px;
    margin-left: 5px;
}

.trips-hero-preview {
    display: flex;
    justify-content: flex-end;
}

.trips-preview-card {
    width: min(100%, 470px);
    border: 1px solid #dce4f4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(79, 142, 247, 0.03), 0 12px 28px rgba(17, 24, 39, 0.04);
    overflow: hidden;
}

.trips-preview-card-head {
    padding: 16px 18px 8px;
    display: grid;
    gap: 4px;
}

.trips-preview-card-head strong {
    color: #364055;
    font-size: 16px;
    font-weight: 700;
}

.trips-preview-card-head span {
    color: #99a3b6;
    font-size: 12px;
}

.trips-preview-card-body {
    padding: 0 18px 16px;
    display: grid;
    gap: 12px;
}

.trips-preview-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr)) 1.1fr;
    gap: 8px;
}

.trips-preview-tabs span,
.trips-preview-tabs button {
    height: 42px;
    border: 1px solid #e5eaf5;
    border-radius: 6px;
    background: #f5f7fc;
    color: #9aa4b7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.trips-preview-tabs .is-active {
    background: #eaf2ff;
    color: #4f8ef7;
    box-shadow: inset 0 -3px 0 #4f8ef7;
}

.trips-preview-tabs button {
    width: 100%;
    padding: 0 12px;
    color: #a1a9bc;
    font-size: 14px;
    font-weight: 700;
}

.trips-preview-journey {
    border: 1px solid #e3e9f6;
    border-radius: 10px;
    background: #fff;
    min-height: 100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.trips-preview-stop {
    display: grid;
    gap: 3px;
    color: #8b95a7;
}

.trips-preview-stop strong {
    color: #39425a;
    font-size: 16px;
    font-weight: 700;
}

.trips-preview-stop span {
    color: #a5afc0;
    font-size: 12px;
}

.trips-preview-stop small {
    color: #c0c7d3;
    font-size: 11px;
}

.trips-preview-stop--right {
    text-align: right;
    justify-items: end;
}

.trips-preview-play {
    display: grid;
    place-items: center;
}

.trips-preview-play span {
    width: 48px;
    height: 38px;
    border-radius: 8px;
    border: 2px solid #4f8ef7;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 1px 2px rgba(79, 142, 247, 0.08);
}

.trips-preview-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px 12px;
    border-top: 1px solid #eef1f7;
    color: #44506a;
    font-size: 13px;
    font-weight: 600;
}

.trips-section {
    max-width: 1120px;
    margin: 0 auto 22px;
    padding: 34px 26px 30px;
    background: #fbfcff;
    border: 1px solid #e8edf8;
    border-radius: 14px;
}

.trips-section-header {
    display: flex;
    justify-content: center;
    padding-bottom: 24px;
    margin-bottom: 18px;
    border-bottom: 1px solid #edf1f7;
}

.trips-section-header h2 {
    margin: 0;
    color: #2b3343;
    font-size: 18px;
    font-weight: 700;
}

.trips-flow {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.trips-flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.trips-flow-row--top {
    margin-top: -6px;
}

.trips-flow-card {
    width: 120px;
    min-height: 108px;
    border: 1px solid #edf1f7;
    border-radius: 8px;
    background: #fff;
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 12px 10px;
    color: #667188;
    text-align: center;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.03);
}

.trips-flow-card strong {
    color: #687086;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.trips-flow-icon {
    color: #6d76a6;
    font-size: 18px;
}

.trips-flow-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4f8ef7;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: -2px;
}

.trips-flow-avatar--green {
    background: #55bf6a;
}

.trips-flow-card--approval {
    position: relative;
    width: 170px;
    min-height: 108px;
    padding-bottom: 14px;
}

.trips-flow-choice {
    width: calc(100% - 18px);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.trips-flow-choice--reject {
    background: #ffeaea;
    color: #ff6b6b;
}

.trips-flow-choice--approve {
    background: #ecf9ec;
    color: #50b659;
}

.trips-flow-arrow {
    color: #8791a7;
    font-size: 22px;
    font-weight: 700;
}

.trips-flow-arrow--down {
    width: 100%;
    text-align: center;
    margin-top: -4px;
}

.trips-flow-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #687086;
    font-size: 14px;
    padding-top: 8px;
}

.trips-flow-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trips-flow-legend i {
    color: #4f8ef7;
}

.trips-flow-legend span:nth-child(2) i {
    color: #55bf6a;
}

.trips-flow-legend span:nth-child(3) i {
    color: #e2a120;
}

.trips-more-panel {
    max-width: 1120px;
    margin: 0 auto 28px;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 14px;
}

.trips-more-list {
    display: grid;
    gap: 18px;
}

.trips-more-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f7;
}

.trips-more-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.trips-more-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e1e7f3;
    color: #69768c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.trips-more-copy strong {
    display: block;
    color: #2c3445;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.trips-more-copy p {
    margin: 0;
    color: #728095;
    font-size: 13px;
    line-height: 1.5;
}

.trips-more-item a {
    color: #4f8ef7;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.trips-more-item a i {
    margin-left: 4px;
    font-size: 11px;
}

.trips-summary-strip {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.trips-summary-pill {
    border: 1px solid #edf1f7;
    border-radius: 12px;
    background: #fff;
    padding: 14px 16px;
    display: grid;
    gap: 4px;
}

.trips-summary-pill span {
    color: #738093;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.trips-summary-pill strong {
    color: #233048;
    font-size: 24px;
    font-weight: 800;
}

.trips-page .trips-surface {
    padding: 30px 24px 40px;
    background: linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.trips-page .trips-hero {
    max-width: 1120px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 36px;
    align-items: center;
    padding: 72px 0 24px;
}

.trips-page .trips-hero-copy {
    gap: 12px;
    padding-right: 0;
    max-width: 560px;
}

.trips-page .trips-hero-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    border: 1px solid #e2e8f5;
    color: #3f4b67;
}

.trips-page .trips-hero-copy h1 {
    color: #223047;
    font-size: 30px;
    line-height: 1.14;
}

.trips-page .trips-hero-copy p {
    max-width: 590px;
    color: #667487;
    font-size: 15px;
    line-height: 1.6;
}

.trips-page .trips-hero-action {
    min-height: 34px;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 700;
}

.trips-page .trips-shared-block {
    gap: 8px;
    margin-top: 10px;
    padding-top: 12px;
}

.trips-page .trips-shared-block span {
    color: #44506a;
}

.trips-page .trips-hero-preview {
    justify-content: flex-end;
}

.trips-page .trips-preview-card {
    width: min(100%, 470px);
    border: 1px solid #dce4f4;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(79, 142, 247, 0.03), 0 12px 28px rgba(17, 24, 39, 0.04);
}

.trips-page .trips-preview-card-head {
    padding: 18px 18px 8px;
}

.trips-page .trips-preview-card-head strong {
    color: #39425a;
    font-size: 16px;
}

.trips-page .trips-preview-card-head span {
    color: #9aa4b7;
    font-size: 12px;
}

.trips-page .trips-preview-card-body {
    padding: 0 18px 16px;
}

.trips-page .trips-preview-tabs {
    grid-template-columns: repeat(6, minmax(0, 1fr)) 1.25fr;
}

.trips-page .trips-preview-tabs span,
.trips-page .trips-preview-tabs button {
    height: 44px;
    border-color: #e5eaf5;
    background: #f6f8fc;
}

.trips-page .trips-preview-tabs .is-active {
    background: #eaf2ff;
    color: #4f8ef7;
    box-shadow: inset 0 -3px 0 #4f8ef7;
}

.trips-page .trips-preview-tabs button {
    font-size: 14px;
    color: #a1a9bc;
}

.trips-page .trips-preview-journey {
    min-height: 102px;
    padding: 14px 16px;
    border-color: #e3e9f6;
    border-radius: 10px;
}

.trips-page .trips-preview-stop strong {
    color: #39425a;
    font-size: 16px;
}

.trips-page .trips-preview-stop span {
    color: #a5afc0;
}

.trips-page .trips-preview-stop small {
    color: #c0c7d3;
}

.trips-page .trips-preview-play span {
    width: 48px;
    height: 38px;
    border-radius: 8px;
}

.trips-page .trips-preview-card-footer {
    padding: 10px 16px 12px;
    color: #44506a;
}

.trips-page .trips-preview-pager button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #edf2fb;
    color: #6f7c8f;
}

.trips-page .trips-section {
    max-width: 1120px;
    margin: 0 auto 22px;
    padding: 34px 26px 30px;
    background: #fbfcff;
    border: 1px solid #e8edf8;
    border-radius: 14px;
}

.trips-page .trips-section-header {
    padding-bottom: 24px;
    margin-bottom: 18px;
}

.trips-page .trips-section-header h2 {
    color: #2b3343;
    font-size: 18px;
}

.trips-page .trips-flow {
    gap: 18px;
}

.trips-page .trips-flow-row {
    gap: 12px;
}

.trips-page .trips-flow-card {
    width: 120px;
    min-height: 108px;
    border-color: #edf1f7;
    border-radius: 8px;
}

.trips-page .trips-flow-card strong {
    font-size: 11px;
    line-height: 1.35;
}

.trips-page .trips-flow-card--approval {
    width: 170px;
}

.trips-page .trips-flow-arrow {
    color: #8791a7;
    font-size: 22px;
}

.trips-page .trips-flow-legend {
    gap: 16px;
    color: #687086;
}

.trips-page .trips-more-panel {
    max-width: 1120px;
    margin: 0 auto 28px;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 14px;
}

.trips-page .trips-more-list {
    gap: 18px;
}

.trips-page .trips-more-item {
    gap: 14px;
    padding-bottom: 18px;
    border-bottom-color: #edf1f7;
}

.trips-page .trips-more-icon {
    border-color: #e1e7f3;
    color: #69768c;
}

.trips-page .trips-more-copy strong {
    color: #2c3445;
    font-size: 16px;
}

.trips-page .trips-more-copy p {
    color: #728095;
    font-size: 13px;
    line-height: 1.5;
}

.trips-page .trips-more-item a {
    color: #4f8ef7;
}

.trips-page .trips-summary-strip {
    display: none;
}

body.admin-trips-page {
    background: #f7f9fc;
}

body.admin-reports-page {
    background: #f7f9fc;
}

body.admin-advances-page {
    background: #f7f9fc;
}

body.admin-batch-payments-page {
    background: #f7f9fc;
}

.admin-batch-payments-content {
    padding: 28px 38px 44px;
    gap: 40px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 120px, rgba(248, 250, 255, 0.98) 120px 100%);
}

.admin-batch-payments-hero,
.admin-batch-payments-section {
    width: min(100%, 1300px);
    margin: 0 auto;
}

.admin-batch-payments-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
    gap: 48px;
    align-items: center;
    padding: 32px 10px 0;
}

.admin-batch-payments-hero-copy {
    max-width: 520px;
}

.admin-batch-payments-hero-icon {
    width: 78px;
    height: 78px;
    border: 1px solid #e0e7f5;
    border-radius: 18px;
    background: #fff;
    color: #33415e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 12px 24px rgba(22, 37, 74, 0.04);
}

.admin-batch-payments-hero-copy h1 {
    margin: 18px 0 12px;
    color: #172844;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.admin-batch-payments-hero-copy > p {
    margin: 0;
    color: #596a8b;
    font-size: 16px;
    line-height: 1.65;
    max-width: 470px;
}

.admin-batch-payments-new-link {
    margin-top: 22px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    background: #4a83f5;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.admin-batch-payments-preview-card {
    border: 1px solid #dee5f3;
    border-radius: 18px;
    background: #fff;
    padding: 16px 18px 18px;
    box-shadow: 0 16px 38px rgba(24, 39, 75, 0.04);
}

.admin-batch-payments-preview-shell {
    border: 3px solid #ecebfb;
    border-radius: 18px;
    padding: 22px 28px 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.admin-batch-payments-preview-header strong {
    display: block;
    color: #33415e;
    font-size: 25px;
    font-weight: 500;
}

.admin-batch-payments-preview-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebeff7;
    flex-wrap: wrap;
}

.admin-batch-payments-preview-tabs span {
    position: relative;
    color: #4d5c79;
    font-size: 15px;
    font-weight: 600;
}

.admin-batch-payments-preview-tabs .is-active {
    color: #3f7ef0;
}

.admin-batch-payments-preview-tabs .is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 3px;
    border-radius: 999px;
    background: #4a83f5;
}

.admin-batch-payments-preview-list {
    display: grid;
    gap: 8px;
    padding: 16px 0 10px;
}

.admin-batch-payments-preview-row {
    display: grid;
    grid-template-columns: 24px minmax(84px, 0.9fr) minmax(60px, 0.55fr) 76px 60px 60px;
    gap: 18px;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid #eff2f8;
}

.admin-batch-payments-preview-row:last-child {
    border-bottom: 0;
}

.admin-batch-payments-preview-check,
.admin-batch-payments-preview-line,
.admin-batch-payments-preview-status {
    display: block;
}

.admin-batch-payments-preview-check {
    width: 16px;
    height: 16px;
    border: 1px solid #e0e6f4;
    border-radius: 3px;
    background: #fff;
}

.admin-batch-payments-preview-line {
    height: 8px;
    border-radius: 999px;
    background: #eaedfb;
}

.admin-batch-payments-preview-line--wide {
    width: 86px;
}

.admin-batch-payments-preview-line--mid {
    width: 58px;
}

.admin-batch-payments-preview-line--small {
    width: 58px;
}

.admin-batch-payments-preview-status {
    width: 58px;
    height: 16px;
    border-radius: 4px;
}

.admin-batch-payments-preview-status--yellow {
    background: #fbf3cc;
}

.admin-batch-payments-preview-status--green {
    background: #daf5d4;
}

.admin-batch-payments-preview-status--muted {
    background: #f3f5fb;
}

.admin-batch-payments-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #eef2f8;
}

.admin-batch-payments-preview-footer > span {
    color: #243754;
    font-size: 15px;
}

.admin-batch-payments-preview-pager {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-batch-payments-preview-pager button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f5fb;
    color: #6c7a93;
}

.admin-batch-payments-preview-pager strong {
    color: #172844;
    font-size: 15px;
    font-weight: 700;
}

.admin-batch-payments-section {
    padding: 42px 38px 44px;
    border: 1px solid #e2e8f4;
    border-radius: 8px;
    background: linear-gradient(180deg, #fbfcff 0%, #f9fbff 100%);
}

.admin-batch-payments-section h2 {
    margin: 0 0 34px;
    color: #172844;
    font-size: clamp(34px, 3vw, 46px);
    text-align: center;
    font-weight: 500;
}

.admin-batch-payments-flow-board {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.admin-batch-payments-flow-top,
.admin-batch-payments-flow-bottom {
    display: grid;
    gap: 18px;
    align-items: center;
}

.admin-batch-payments-flow-top {
    grid-template-columns: repeat(4, minmax(136px, 1fr) 28px);
}

.admin-batch-payments-flow-top > :last-child {
    grid-column: 7;
}

.admin-batch-payments-flow-bottom {
    grid-template-columns: minmax(136px, 1fr) 28px minmax(136px, 1fr);
    justify-content: end;
    margin-left: 334px;
}

.admin-batch-payments-flow-card {
    min-height: 126px;
    width: 136px;
    padding: 26px 14px 18px;
    border: 1px solid #e6ebf7;
    border-radius: 14px;
    background: #fff;
    color: #64718d;
    text-align: center;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 12px;
    box-shadow: 0 10px 26px rgba(24, 39, 75, 0.04);
}

.admin-batch-payments-flow-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.admin-batch-payments-flow-icon {
    color: #6b79a3;
    font-size: 30px;
}

.admin-batch-payments-flow-arrow {
    color: #7f8db0;
    font-size: 28px;
    text-align: center;
}

.admin-batch-payments-flow-turn {
    width: 168px;
    height: 88px;
    margin-left: 500px;
    border-right: 2px dashed #9ea8c3;
    border-bottom: 2px dashed #9ea8c3;
    border-bottom-right-radius: 22px;
}

.admin-batch-payments-learn-more {
    margin: 40px auto 0;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #4a83f5;
    border-radius: 8px;
    background: #fff;
    color: #4a83f5;
    text-decoration: none;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.admin-advances-content {
    padding: 28px 38px 44px;
    gap: 40px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 120px, rgba(248, 250, 255, 0.98) 120px 100%);
}

.admin-advances-hero,
.admin-advances-section {
    width: min(100%, 1300px);
    margin: 0 auto;
}

.admin-advances-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr);
    gap: 48px;
    align-items: center;
    padding: 32px 10px 0;
}

.admin-advances-hero-copy {
    max-width: 520px;
}

.admin-advances-hero-icon {
    width: 78px;
    height: 78px;
    border: 1px solid #e0e7f5;
    border-radius: 18px;
    background: #fff;
    color: #33415e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 12px 24px rgba(22, 37, 74, 0.04);
}

.admin-advances-hero-copy h1 {
    margin: 18px 0 12px;
    color: #172844;
    font-size: clamp(40px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.admin-advances-hero-copy > p {
    margin: 0;
    color: #596a8b;
    font-size: 16px;
    line-height: 1.65;
}

.admin-advances-record-link {
    margin-top: 22px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    background: #4a83f5;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.admin-advances-hero-links {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e3e9f4;
}

.admin-advances-hero-links strong {
    color: #172844;
    font-size: 15px;
    font-weight: 500;
}

.admin-advances-hero-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #316de6;
    text-decoration: none;
    font-size: 16px;
    width: fit-content;
}

.admin-advances-preview-card {
    border: 1px solid #dee5f3;
    border-radius: 18px;
    background: #fff;
    padding: 16px 18px 18px;
    box-shadow: 0 16px 38px rgba(24, 39, 75, 0.04);
}

.admin-advances-preview-shell {
    border: 3px solid #ecebfb;
    border-radius: 18px;
    padding: 22px 28px 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.admin-advances-preview-header strong {
    display: block;
    color: #33415e;
    font-size: 25px;
    font-weight: 500;
}

.admin-advances-preview-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebeff7;
    flex-wrap: wrap;
}

.admin-advances-preview-tabs span {
    position: relative;
    color: #4d5c79;
    font-size: 15px;
    font-weight: 600;
}

.admin-advances-preview-tabs .is-active {
    color: #3f7ef0;
}

.admin-advances-preview-tabs .is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 3px;
    border-radius: 999px;
    background: #4a83f5;
}

.admin-advances-preview-list {
    display: grid;
    gap: 10px;
    padding: 16px 0 10px;
}

.admin-advances-preview-row {
    display: grid;
    grid-template-columns: 96px 1.1fr 0.58fr 76px 98px;
    gap: 18px;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid #eff2f8;
}

.admin-advances-preview-row:last-child {
    border-bottom: 0;
}

.admin-advances-preview-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-advances-preview-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd0cf, #7ba6f7);
}

.admin-advances-preview-pill,
.admin-advances-preview-lines span {
    display: block;
    border-radius: 999px;
    background: #eaedfb;
}

.admin-advances-preview-pill {
    width: 60px;
    height: 12px;
}

.admin-advances-preview-lines {
    display: grid;
    gap: 9px;
}

.admin-advances-preview-lines span {
    height: 8px;
}

.admin-advances-preview-lines span:first-child {
    width: 122px;
}

.admin-advances-preview-lines span:last-child {
    width: 86px;
}

.admin-advances-preview-lines--short span {
    width: 62px !important;
}

.admin-advances-preview-status {
    width: 76px;
    height: 22px;
    border-radius: 6px;
}

.admin-advances-preview-status--yellow {
    background: #fbf3cc;
}

.admin-advances-preview-status--green {
    background: #daf5d4;
}

.admin-advances-preview-row strong {
    color: #546685;
    font-size: 16px;
    font-weight: 500;
    text-align: right;
}

.admin-advances-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #eef2f8;
}

.admin-advances-preview-footer > span {
    color: #243754;
    font-size: 15px;
}

.admin-advances-preview-pager {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-advances-preview-pager button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f5fb;
    color: #6c7a93;
}

.admin-advances-preview-pager strong {
    color: #172844;
    font-size: 15px;
    font-weight: 700;
}

.admin-advances-section {
    padding: 42px 38px 44px;
    border: 1px solid #e2e8f4;
    border-radius: 8px;
    background: linear-gradient(180deg, #fbfcff 0%, #f9fbff 100%);
}

.admin-advances-section h2 {
    margin: 0 0 34px;
    color: #172844;
    font-size: clamp(34px, 3vw, 46px);
    text-align: center;
    font-weight: 500;
}

.admin-advances-flow-board {
    display: grid;
    gap: 26px;
}

.admin-advances-flow-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

.admin-advances-flow-card {
    position: relative;
    min-height: 118px;
    padding: 28px 18px 18px;
    border: 1px solid #e6ebf7;
    border-radius: 14px;
    background: #fff;
    color: #64718d;
    text-align: center;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 10px;
    box-shadow: 0 10px 26px rgba(24, 39, 75, 0.04);
}

.admin-advances-flow-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.admin-advances-flow-role {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(24, 39, 75, 0.18);
}

.admin-advances-flow-role--submitter {
    background: #4b7ff2;
}

.admin-advances-flow-role--approver {
    background: #67bf57;
}

.admin-advances-flow-role--admin {
    background: #f0aa17;
}

.admin-advances-flow-icon {
    color: #6b79a3;
    font-size: 30px;
    margin-top: 4px;
}

.admin-advances-flow-card--approval {
    gap: 12px;
}

.admin-advances-flow-decision {
    width: 100%;
    min-height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.admin-advances-flow-decision--reject {
    background: #fff1f1;
    color: #ff6a63;
}

.admin-advances-flow-decision--approve {
    background: #eefbe9;
    color: #6fcb5f;
}

.admin-advances-flow-connector {
    height: 1px;
    background: #e2e8f4;
}

.admin-advances-flow-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: #4f6286;
    font-size: 18px;
    font-weight: 500;
}

.admin-advances-flow-legend span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.admin-advances-flow-legend i {
    font-size: 30px;
}

.admin-advances-flow-legend span:nth-child(1) i {
    color: #4b7ff2;
}

.admin-advances-flow-legend span:nth-child(2) i {
    color: #67bf57;
}

.admin-advances-flow-legend span:nth-child(3) i {
    color: #f0aa17;
}

.admin-advances-section--quick {
    background: transparent;
    border: 0;
    padding-top: 24px;
    padding-bottom: 12px;
}

.admin-advances-section--quick h2 {
    margin-bottom: 26px;
}

.admin-advances-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 30px;
    max-width: 780px;
    margin: 0 auto;
}

.admin-advances-quick-card {
    min-height: 196px;
    padding: 30px 30px 26px;
    border: 1px solid #dde5f3;
    border-radius: 8px;
    background: #fff;
}

.admin-advances-quick-card h3 {
    margin: 0 0 18px;
    color: #172844;
    font-size: 20px;
    font-weight: 500;
}

.admin-advances-quick-card p {
    margin: 0;
    color: #5a6d8d;
    font-size: 16px;
    line-height: 1.55;
}

.admin-advances-quick-card a {
    display: inline-block;
    margin-top: 8px;
    color: #316de6;
    text-decoration: none;
    font-size: 16px;
}

.admin-advances-learn-more {
    margin: 28px auto 0;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #4a83f5;
    border-radius: 8px;
    background: #fff;
    color: #4a83f5;
    text-decoration: none;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.admin-reports-content {
    padding: 28px 38px 44px;
    gap: 40px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 120px, rgba(248, 250, 255, 0.98) 120px 100%);
}

.admin-reports-hero,
.admin-reports-section {
    width: min(100%, 1300px);
    margin: 0 auto;
}

.admin-reports-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr);
    gap: 48px;
    align-items: center;
    padding: 32px 10px 0;
}

.admin-reports-hero-copy {
    max-width: 520px;
}

.admin-reports-hero-icon {
    width: 78px;
    height: 78px;
    border: 1px solid #e0e7f5;
    border-radius: 18px;
    background: #fff;
    color: #33415e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 12px 24px rgba(22, 37, 74, 0.04);
}

.admin-reports-hero-copy h1 {
    margin: 18px 0 12px;
    color: #172844;
    font-size: clamp(40px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.admin-reports-hero-copy > p {
    margin: 0;
    color: #596a8b;
    font-size: 16px;
    line-height: 1.65;
}

.admin-reports-hero-links {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e3e9f4;
}

.admin-reports-hero-links strong {
    color: #172844;
    font-size: 15px;
    font-weight: 500;
}

.admin-reports-hero-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #316de6;
    text-decoration: none;
    font-size: 16px;
    width: fit-content;
}

.admin-reports-archive-link {
    margin-top: 18px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #cfd8ea;
    border-radius: 8px;
    background: #fff;
    color: #243754;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    box-shadow: 0 8px 18px rgba(24, 39, 75, 0.03);
}

.admin-reports-archive-link i:last-child {
    color: #5b6d89;
    font-size: 12px;
}

.admin-reports-preview-card {
    border: 1px solid #dee5f3;
    border-radius: 18px;
    background: #fff;
    padding: 16px 18px 18px;
    box-shadow: 0 16px 38px rgba(24, 39, 75, 0.04);
}

.admin-reports-preview-shell {
    border: 3px solid #ecebfb;
    border-radius: 18px;
    padding: 22px 28px 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.admin-reports-preview-header strong {
    display: block;
    color: #33415e;
    font-size: 25px;
    font-weight: 500;
}

.admin-reports-preview-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebeff7;
    flex-wrap: wrap;
}

.admin-reports-preview-tabs span {
    position: relative;
    color: #4d5c79;
    font-size: 15px;
    font-weight: 600;
}

.admin-reports-preview-tabs .is-active {
    color: #3f7ef0;
}

.admin-reports-preview-tabs .is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 3px;
    border-radius: 999px;
    background: #4a83f5;
}

.admin-reports-preview-list {
    display: grid;
    gap: 10px;
    padding: 16px 0 10px;
}

.admin-reports-preview-row {
    display: grid;
    grid-template-columns: 96px 1.1fr 0.58fr 76px 98px;
    gap: 18px;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid #eff2f8;
}

.admin-reports-preview-row:last-child {
    border-bottom: 0;
}

.admin-reports-preview-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-reports-preview-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd0cf, #7ba6f7);
}

.admin-reports-preview-pill,
.admin-reports-preview-lines span {
    display: block;
    border-radius: 999px;
    background: #eaedfb;
}

.admin-reports-preview-pill {
    width: 60px;
    height: 12px;
}

.admin-reports-preview-lines {
    display: grid;
    gap: 9px;
}

.admin-reports-preview-lines span {
    height: 8px;
}

.admin-reports-preview-lines span:first-child {
    width: 122px;
}

.admin-reports-preview-lines span:last-child {
    width: 86px;
}

.admin-reports-preview-lines--short span {
    width: 62px !important;
}

.admin-reports-preview-status {
    width: 76px;
    height: 22px;
    border-radius: 6px;
}

.admin-reports-preview-status--yellow {
    background: #fbf3cc;
}

.admin-reports-preview-status--green {
    background: #daf5d4;
}

.admin-reports-preview-row strong {
    color: #546685;
    font-size: 16px;
    font-weight: 500;
    text-align: right;
}

.admin-reports-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #eef2f8;
}

.admin-reports-preview-footer > span {
    color: #243754;
    font-size: 15px;
}

.admin-reports-preview-pager {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-reports-preview-pager button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f5fb;
    color: #6c7a93;
}

.admin-reports-preview-pager strong {
    color: #172844;
    font-size: 15px;
    font-weight: 700;
}

.admin-reports-section {
    padding: 42px 38px 44px;
    border: 1px solid #e2e8f4;
    border-radius: 8px;
    background: linear-gradient(180deg, #fbfcff 0%, #f9fbff 100%);
}

.admin-reports-section h2 {
    margin: 0 0 34px;
    color: #172844;
    font-size: clamp(34px, 3vw, 46px);
    text-align: center;
    font-weight: 500;
}

.admin-reports-flow-board {
    display: grid;
    gap: 26px;
}

.admin-reports-flow-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: center;
}

.admin-reports-flow-card {
    position: relative;
    min-height: 118px;
    padding: 28px 18px 18px;
    border: 1px solid #e6ebf7;
    border-radius: 14px;
    background: #fff;
    color: #64718d;
    text-align: center;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 10px;
    box-shadow: 0 10px 26px rgba(24, 39, 75, 0.04);
}

.admin-reports-flow-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.admin-reports-flow-role {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(24, 39, 75, 0.18);
}

.admin-reports-flow-role--submitter {
    background: #4b7ff2;
}

.admin-reports-flow-role--approver {
    background: #67bf57;
}

.admin-reports-flow-role--admin {
    background: #f0aa17;
}

.admin-reports-flow-icon {
    color: #6b79a3;
    font-size: 30px;
    margin-top: 4px;
}

.admin-reports-flow-card--approval {
    gap: 12px;
}

.admin-reports-flow-decision {
    width: 100%;
    min-height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.admin-reports-flow-decision--reject {
    background: #fff1f1;
    color: #ff6a63;
}

.admin-reports-flow-decision--approve {
    background: #eefbe9;
    color: #6fcb5f;
}

.admin-reports-flow-arrow {
    display: none;
}

.admin-reports-flow-connector {
    height: 1px;
    background: #e2e8f4;
}

.admin-reports-flow-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: #4f6286;
    font-size: 18px;
    font-weight: 500;
}

.admin-reports-flow-legend span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.admin-reports-flow-legend i {
    font-size: 30px;
}

.admin-reports-flow-legend span:nth-child(1) i {
    color: #4b7ff2;
}

.admin-reports-flow-legend span:nth-child(2) i {
    color: #67bf57;
}

.admin-reports-flow-legend span:nth-child(3) i {
    color: #f0aa17;
}

.admin-reports-section--quick {
    background: transparent;
    border: 0;
    padding-top: 24px;
    padding-bottom: 12px;
}

.admin-reports-section--quick h2 {
    margin-bottom: 26px;
}

.admin-reports-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 30px;
}

.admin-reports-quick-card {
    min-height: 196px;
    padding: 30px 30px 26px;
    border: 1px solid #dde5f3;
    border-radius: 8px;
    background: #fff;
}

.admin-reports-quick-card h3 {
    margin: 0 0 18px;
    color: #172844;
    font-size: 20px;
    font-weight: 500;
}

.admin-reports-quick-card p {
    margin: 0;
    color: #5a6d8d;
    font-size: 16px;
    line-height: 1.55;
}

.admin-reports-quick-card a {
    display: inline-block;
    margin-top: 8px;
    color: #316de6;
    text-decoration: none;
    font-size: 16px;
}

.admin-reports-learn-more {
    margin: 28px auto 0;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #4a83f5;
    border-radius: 8px;
    background: #fff;
    color: #4a83f5;
    text-decoration: none;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.admin-trips-content {
    padding: 24px 36px 40px;
    gap: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 120px, rgba(248, 250, 255, 0.98) 120px 100%);
}

.admin-trips-listing-panel {
    width: min(100%, 1570px);
    margin: 0 auto;
    padding-top: 14px;
}

.admin-trips-listing-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.admin-trips-listing-titlebar h1 {
    margin: 0;
    color: #172033;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 400;
}

.admin-trips-listing-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-trips-documents-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    color: #1769ff;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
}

.admin-trips-tool-button,
.admin-trips-help-button {
    width: 42px;
    height: 42px;
    border: 1px solid #d8e1f1;
    border-radius: 6px;
    background: #fff;
    color: #27344d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
}

.admin-trips-help-button {
    border-color: #1769ff;
    color: #1769ff;
    font-size: 26px;
    font-weight: 600;
}

.admin-trips-tool-popover {
    position: relative;
}

.admin-trips-tool-menu {
    min-width: 180px;
    padding: 8px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.16);
}

.admin-reports-list-shell .reports-more-popover {
    min-width: 230px;
    border-radius: 4px;
}

.admin-trips-tool-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    color: #344054;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
}

.admin-trips-tool-item i {
    width: 16px;
    color: #98a2b3;
    text-align: center;
    flex-shrink: 0;
}

.admin-trips-tool-item:hover {
    background: #f7f9fc;
}

.admin-trips-listing-panel .trips-listing-head {
    padding-bottom: 2px;
}

.admin-trips-listing-panel .trips-listing-tabs {
    gap: 26px;
    align-items: flex-end;
}

.admin-trips-listing-panel .trips-listing-tab {
    padding: 0 0 12px;
    font-size: 18px;
    font-weight: 400;
}

.admin-trips-listing-panel .trips-listing-table {
    margin-top: 2px;
}

.admin-trips-listing-panel .trips-listing-row {
    grid-template-columns: 44px 136px minmax(240px, 1.12fr) 0.92fr 0.72fr 0.92fr 44px;
    gap: 14px;
}

.admin-trips-listing-panel .trips-listing-row--head {
    padding-top: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f8;
    color: #455473;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.admin-trips-listing-panel .trips-listing-empty-state {
    min-height: 240px;
    padding: 44px 12px 36px;
    color: #405078;
    font-size: 20px;
    line-height: 1.45;
}

.admin-trips-hero,
.admin-trips-section {
    width: min(100%, 1300px);
    margin: 0 auto;
}

.admin-trips-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr);
    gap: 48px;
    align-items: center;
    padding: 32px 10px 0;
}

.admin-trips-hero-copy {
    max-width: 520px;
}

.admin-trips-hero-icon {
    width: 78px;
    height: 78px;
    border: 1px solid #e0e7f5;
    border-radius: 18px;
    background: #fff;
    color: #33415e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 12px 24px rgba(22, 37, 74, 0.04);
}

.admin-trips-hero-copy h1 {
    margin: 18px 0 12px;
    color: #172844;
    font-size: clamp(40px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.admin-trips-hero-copy > p {
    margin: 0;
    color: #596a8b;
    font-size: 16px;
    line-height: 1.65;
}

.admin-trips-hero-links {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e3e9f4;
}

.admin-trips-hero-links strong {
    color: #172844;
    font-size: 15px;
    font-weight: 500;
}

.admin-trips-hero-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #316de6;
    text-decoration: none;
    font-size: 16px;
    width: fit-content;
}

.admin-trips-archive-link {
    margin-top: 18px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #cfd8ea;
    border-radius: 8px;
    background: #fff;
    color: #243754;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    box-shadow: 0 8px 18px rgba(24, 39, 75, 0.03);
}

.admin-trips-archive-link i:last-child {
    color: #5b6d89;
    font-size: 12px;
}

.admin-trips-preview-card {
    border: 1px solid #dee5f3;
    border-radius: 18px;
    background: #fff;
    padding: 16px 18px 18px;
    box-shadow: 0 16px 38px rgba(24, 39, 75, 0.04);
}

.admin-trips-preview-shell {
    border: 3px solid #ecebfb;
    border-radius: 18px;
    padding: 22px 28px 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.admin-trips-preview-header strong {
    display: block;
    color: #33415e;
    font-size: 25px;
    font-weight: 500;
}

.admin-trips-preview-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebeff7;
}

.admin-trips-preview-tabs span,
.admin-trips-preview-tabs a {
    position: relative;
    color: #4d5c79;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.admin-trips-preview-tabs .is-active {
    color: #3f7ef0;
}

.admin-trips-preview-tabs .is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 3px;
    border-radius: 999px;
    background: #4a83f5;
}

.admin-trips-preview-list {
    display: grid;
    gap: 10px;
    padding: 16px 0 10px;
}

.admin-trips-preview-row {
    display: grid;
    grid-template-columns: 96px 1.2fr 0.6fr 76px auto;
    gap: 18px;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid #eff2f8;
}

.admin-trips-preview-row:last-child {
    border-bottom: 0;
}

.admin-trips-preview-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-trips-preview-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd0cf, #7ba6f7);
}

.admin-trips-preview-pill,
.admin-trips-preview-lines span,
.admin-trips-preview-actions span {
    display: block;
    border-radius: 999px;
    background: #eaedfb;
}

.admin-trips-preview-pill {
    width: 60px;
    height: 12px;
}

.admin-trips-preview-lines {
    display: grid;
    gap: 10px;
}

.admin-trips-preview-lines span {
    height: 10px;
}

.admin-trips-preview-lines span:first-child {
    width: 100%;
}

.admin-trips-preview-lines span:last-child {
    width: 72%;
}

.admin-trips-preview-lines--short span {
    width: 100%;
}

.admin-trips-preview-status {
    height: 22px;
    border-radius: 4px;
}

.admin-trips-preview-status--yellow {
    background: #fff5c8;
}

.admin-trips-preview-status--green {
    background: #dcf6d3;
}

.admin-trips-preview-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.admin-trips-preview-actions span {
    width: 24px;
    height: 24px;
}

.admin-trips-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    color: #1e2b45;
}

.admin-trips-preview-footer > span {
    font-size: 15px;
}

.admin-trips-preview-pager {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-trips-preview-pager button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f4f6fb;
    color: #7f8ba4;
}

.admin-trips-preview-pager strong {
    font-size: 14px;
}

.admin-trips-section {
    border: 1px solid #e2e8f4;
    border-radius: 6px;
    background: #fff;
    padding: 34px 38px 40px;
}

.admin-trips-section h2 {
    margin: 0 0 28px;
    text-align: center;
    color: #172844;
    font-size: 27px;
    font-weight: 500;
}

.admin-trips-flow-board {
    position: relative;
    padding: 26px 0 0;
    border-top: 1px solid #e7ecf5;
}

.admin-trips-flow-row {
    display: grid;
    align-items: center;
    gap: 18px;
}

.admin-trips-flow-row--primary {
    grid-template-columns: 1fr 28px 1fr 28px 1.3fr 28px 116px;
}

.admin-trips-flow-row--secondary {
    grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;
    margin-top: 64px;
}

.admin-trips-flow-card {
    position: relative;
    min-height: 108px;
    padding: 24px 18px 18px;
    border: 1px solid #e8edf6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(23, 40, 84, 0.05);
    text-align: center;
}

.admin-trips-flow-card p {
    margin: 0;
    color: #5f6d89;
    font-size: 14px;
    line-height: 1.45;
}

.admin-trips-flow-role {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.14);
}

.admin-trips-flow-role--submitter {
    background: #3e7ded;
}

.admin-trips-flow-role--approver {
    background: #58b448;
}

.admin-trips-flow-role--admin {
    background: #f0ac00;
}

.admin-trips-flow-icon {
    display: block;
    margin: 4px auto 12px;
    color: #6978a0;
    font-size: 28px;
}

.admin-trips-flow-card--approval {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 14px;
}

.admin-trips-flow-decision {
    min-height: 36px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.admin-trips-flow-decision--reject {
    background: #fff1f1;
    color: #ff6f61;
}

.admin-trips-flow-decision--approve {
    background: #edfbe9;
    color: #51b05e;
}

.admin-trips-flow-card--muted {
    background: #f7f9fc;
}

.admin-trips-flow-arrow {
    color: #7483a4;
    font-size: 32px;
    text-align: center;
}

.admin-trips-flow-gate {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    transform: rotate(45deg);
    border-radius: 14px;
    background: #626bad;
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    box-shadow: 0 16px 28px rgba(60, 72, 131, 0.16);
}

.admin-trips-flow-gate strong {
    transform: rotate(-45deg);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.admin-trips-flow-gate-yes,
.admin-trips-flow-gate-no {
    position: absolute;
    transform: rotate(-45deg);
    font-size: 12px;
    font-weight: 700;
}

.admin-trips-flow-gate-yes {
    right: -24px;
    top: 38px;
    color: #58b448;
}

.admin-trips-flow-gate-no {
    left: 38px;
    bottom: -18px;
    color: #4c79f0;
}

.admin-trips-flow-connector {
    position: absolute;
    border-color: #85a5ff;
    border-style: dashed;
    pointer-events: none;
}

.admin-trips-flow-connector--top {
    top: 2px;
    right: 214px;
    width: 318px;
    height: 42px;
    border-width: 2px 2px 0 0;
    border-radius: 0 18px 0 0;
}

.admin-trips-flow-connector--bottom {
    right: 212px;
    top: 186px;
    width: 540px;
    height: 28px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 18px;
}

.admin-trips-flow-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid #e7ecf5;
    color: #4f6288;
    font-size: 16px;
}

.admin-trips-flow-legend span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-trips-flow-legend i {
    font-size: 18px;
}

.admin-trips-flow-legend span:nth-child(1) i {
    color: #3e7ded;
}

.admin-trips-flow-legend span:nth-child(2) i {
    color: #58b448;
}

.admin-trips-flow-legend span:nth-child(3) i {
    color: #f0ac00;
}

.admin-trips-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.admin-trips-quick-card {
    min-height: 196px;
    padding: 28px 30px;
    border: 1px solid #e1e7f4;
    border-radius: 8px;
    background: #fff;
}

.admin-trips-quick-card h3 {
    margin: 0 0 14px;
    color: #172844;
    font-size: 18px;
    font-weight: 500;
}

.admin-trips-quick-card p {
    margin: 0;
    color: #566a8d;
    font-size: 16px;
    line-height: 1.6;
}

.admin-trips-quick-card a {
    display: inline-block;
    margin-top: 10px;
    color: #2f6fe5;
    text-decoration: none;
    font-size: 16px;
}

.admin-trips-learn-more {
    margin: 40px auto 0;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #8caef8;
    border-radius: 8px;
    color: #3f7ef0;
    text-decoration: none;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.trips-surface {
    padding: 24px;
    background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.trips-getting-started {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 22px;
    align-items: stretch;
    padding: 24px;
}

.trips-getting-started-copy {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 18px 8px 18px 4px;
}

.trips-getting-started-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid #dde5f4;
    background: #fff;
    color: #3c4c67;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.trips-kicker {
    margin: 0;
    color: #4f8ef7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.trips-hero-copy h1 {
    margin: 0;
    color: #233048;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.12;
}

.trips-getting-started-copy h1 {
    margin: 0;
    color: #233048;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.12;
}

.trips-getting-started-copy p {
    margin: 0;
    max-width: 600px;
    color: #667487;
    font-size: 15px;
    line-height: 1.55;
}

.trips-getting-started-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 6px;
}

.trips-more-row {
    display: grid;
    gap: 3px;
    padding-top: 10px;
}

.trips-more-row strong {
    color: #243047;
    font-size: 13px;
    font-weight: 800;
}

.trips-more-row span {
    color: #738093;
    font-size: 13px;
    line-height: 1.45;
}

.trips-getting-started-preview {
    border: 1px solid #e4eaf6;
    border-radius: 16px;
    background: #f7f9ff;
    padding: 16px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.trips-preview-top {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 1fr);
    gap: 12px;
    align-items: stretch;
}

.trips-preview-left,
.trips-preview-right {
    border: 1px solid #e4eaf6;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.trips-receipt-art {
    min-height: 180px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
    border: 1px solid #e0e7f5;
    display: grid;
    place-items: center;
    gap: 6px;
    color: #5d6b83;
    text-align: center;
}

.trips-receipt-art span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.trips-receipt-art strong {
    color: #233048;
    font-size: 24px;
    font-weight: 800;
}

.trips-receipt-art i {
    font-size: 46px;
    color: #4f8ef7;
}

.trips-preview-caption strong {
    color: #233048;
    font-size: 18px;
    font-weight: 800;
}

.trips-preview-caption p {
    margin: 0;
    color: #667487;
    font-size: 14px;
    line-height: 1.5;
}

.trips-preview-summary-card {
    border-radius: 14px;
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
    border: 1px solid #e6edf9;
    padding: 16px;
    display: grid;
    gap: 10px;
}

.trips-preview-summary-card strong {
    color: #233048;
    font-size: 22px;
    font-weight: 800;
}

.trips-preview-summary-card p {
    margin: 0;
    color: #6f7c8f;
    font-size: 13px;
    line-height: 1.45;
}

.trips-preview-mini-list {
    display: grid;
    gap: 10px;
}

.trips-preview-mini-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid #e4eaf6;
    padding: 10px 12px;
}

.trips-preview-mini-item span {
    color: #738093;
    font-size: 12px;
    font-weight: 700;
}

.org-currency-table--expanded .org-currency-row {
    display: grid;
    grid-template-columns: minmax(280px, 1.6fr) 0.7fr 0.9fr 0.9fr 56px;
    align-items: center;
}

.org-currency-table--expanded .org-currency-row--head span:last-child,
.policy-list-head span:last-child {
    text-align: right;
}

.org-modal-card--narrow {
    width: min(100%, 620px);
}

.org-modal-copy {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.policy-list-shell {
    margin-top: 18px;
}

.policy-list-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 340px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #f8fbff;
}

.policy-list-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
}

.policy-list-table {
    margin-top: 18px;
    border-top: 1px solid #dfe6f0;
}

.policy-list-head,
.policy-list-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.6fr) minmax(180px, 0.9fr) 56px;
    gap: 16px;
    align-items: center;
    padding: 16px 10px;
    border-bottom: 1px solid #e8edf4;
}

.policy-list-head {
    color: #5f6d85;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.policy-list-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-list-name a {
    color: #2368eb;
    text-decoration: none;
    font-weight: 500;
}

.policy-list-name em {
    padding: 5px 10px;
    border-radius: 6px;
    background: #2fad54;
    color: #fff;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
}

.policy-wizard-shell {
    display: grid;
    gap: 20px;
}

.policy-wizard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.policy-wizard-header h1 {
    margin: 0;
    color: #172844;
    font-size: 32px;
    font-weight: 700;
}

.policy-wizard-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
}

.policy-wizard-steps {
    display: grid;
    gap: 16px;
    align-content: start;
    padding-top: 6px;
}

.policy-wizard-step {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #64748b;
}

.policy-wizard-step span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #cfd8e6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.policy-wizard-step.is-active,
.policy-wizard-step.is-complete {
    color: #172844;
}

.policy-wizard-step.is-active span {
    border-color: #3b82f6;
    background: #3b82f6;
    color: #fff;
}

.policy-wizard-step.is-complete span {
    border-color: #22c55e;
    background: #22c55e;
    color: #fff;
}

.policy-wizard-panel {
    min-width: 0;
}

.policy-wizard-form {
    display: grid;
    gap: 20px;
}

.policy-wizard-copy h2,
.policy-upload-card h3,
.policy-surcharge-card h3,
.policy-vehicles-card h3,
.policy-mileage-rates-card h3 {
    margin: 0;
    color: #172844;
}

.policy-wizard-copy p,
.policy-upload-card p,
.policy-surcharge-card p,
.policy-vehicles-card p,
.policy-mileage-rates-card p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.6;
}

.policy-form-grid {
    display: grid;
    gap: 18px;
}

.policy-field {
    display: grid;
    gap: 8px;
}

.policy-field span {
    color: #172844;
    font-size: 14px;
    font-weight: 600;
}

.policy-field input,
.policy-field textarea,
.policy-field select,
.policy-inline-row input,
.policy-inline-row select,
.policy-category-row input[type="number"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
}

.policy-field textarea {
    min-height: 116px;
    padding: 14px;
    resize: vertical;
}

.policy-field select[multiple] {
    min-height: 132px;
    padding: 14px;
}

.policy-check-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #172844;
}

.policy-upload-card,
.policy-surcharge-card,
.policy-vehicles-card,
.policy-mileage-rates-card {
    padding: 22px;
    border: 1px solid #e5ebf4;
    border-radius: 18px;
    background: #fff;
}

.policy-upload-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 16px;
    padding: 0 18px;
    border: 1px dashed #c8d4e7;
    border-radius: 12px;
    color: #2368eb;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.policy-upload-box input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.policy-surcharge-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.policy-percent-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
}

.policy-percent-input em {
    min-height: 48px;
    border: 1px solid #dbe3ef;
    border-left: 0;
    border-radius: 0 12px 12px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    color: #475569;
    background: #f8fbff;
}

.policy-percent-input input {
    border-radius: 12px 0 0 12px;
}

.policy-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.policy-category-table {
    border-top: 1px solid #dfe6f0;
}

.policy-category-head,
.policy-category-row {
    display: grid;
    grid-template-columns: 84px minmax(220px, 1.4fr) minmax(150px, 1fr) minmax(150px, 1fr) 160px;
    gap: 16px;
    align-items: center;
    padding: 14px 10px;
    border-bottom: 1px solid #e8edf4;
}

.policy-category-head {
    color: #5f6d85;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.policy-category-row strong {
    color: #172844;
    font-weight: 500;
}

.policy-mileage-grid {
    display: grid;
    gap: 18px;
}

.policy-mileage-unit {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.policy-mileage-unit > span {
    color: #172844;
    font-weight: 600;
}

.policy-mileage-unit label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
}

.policy-inline-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.policy-inline-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.8fr) minmax(0, 1fr);
    gap: 12px;
}

.org-action-menu-link {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    color: #2f3b4c;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.org-action-menu-link--danger {
    color: #dc2626;
}

.org-action-menu-static {
    display: block;
    color: #64748b;
    line-height: 1.5;
}

.trips-preview-mini-item strong {
    color: #233048;
    font-size: 16px;
    font-weight: 800;
}

.trips-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #e4eaf6;
    padding-top: 6px;
    color: #6f7c8f;
    font-size: 13px;
}

.trips-preview-pager {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trips-preview-pager button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #edf2fb;
    color: #6f7c8f;
    cursor: pointer;
}

.trips-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    margin-top: 18px;
}

.trips-hero-stats {
    display: none;
}

.trips-list-panel,
.trips-side-panel {
    padding-bottom: 18px;
}

.trips-list {
    display: grid;
    gap: 10px;
    padding: 0 18px 18px;
}

.trip-card-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #e4eaf6;
    border-radius: 14px;
    background: #fff;
    padding: 16px 18px;
}

.trip-card-row-main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.trip-card-row-main strong {
    color: #243047;
    font-size: 16px;
    font-weight: 800;
}

.trip-card-row-main p {
    margin: 0;
    color: #6c7789;
    font-size: 14px;
}

.trip-card-row-meta {
    display: grid;
    gap: 6px;
    justify-items: end;
    text-align: right;
    flex-shrink: 0;
}

.trip-card-row-meta span {
    color: #738093;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trip-card-row-meta strong {
    color: #243047;
    font-size: 13px;
    font-weight: 800;
}

.trip-row-badge {
    width: fit-content;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trip-row-badge.is-planned {
    background: #edf3ff;
    color: #4f8ef7;
}

.trip-row-badge.is-active {
    background: #e8f8ef;
    color: #1f8a4c;
}

.trip-row-badge.is-complete {
    background: #f1f5f9;
    color: #546176;
}

.trip-row-badge.is-muted {
    background: #f3f4f6;
    color: #6b7280;
}

.trips-empty {
    padding: 28px 18px 24px;
    display: grid;
    gap: 10px;
    text-align: center;
    justify-items: center;
}

.trips-empty strong {
    color: #243047;
    font-size: 18px;
    font-weight: 800;
}

.trips-empty p {
    margin: 0;
    color: #6f7c8f;
    font-size: 14px;
    line-height: 1.5;
    max-width: 340px;
}

.trips-tip-list {
    display: grid;
    gap: 12px;
    padding: 0 18px 18px;
}

.trips-tip {
    border: 1px solid #e4eaf6;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    display: grid;
    gap: 6px;
}

.trips-tip strong {
    color: #243047;
    font-size: 14px;
    font-weight: 800;
}

.trips-tip span {
    color: #6f7c8f;
    font-size: 13px;
    line-height: 1.5;
}

.trips-spotlight {
    display: grid;
    gap: 14px;
    padding: 0 18px 18px;
}

.trips-spotlight-preview {
    border: 1px solid #e4eaf6;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
    padding: 14px;
    display: grid;
    gap: 12px;
}

.trips-spotlight-screen {
    border-radius: 14px;
    padding: 16px;
    min-height: 136px;
    display: grid;
    align-content: start;
    gap: 8px;
}

.trips-spotlight-screen--top {
    background:
        radial-gradient(circle at top right, rgba(79, 142, 247, 0.14), transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e6edf9;
}

.trips-spotlight-screen--bottom {
    background: linear-gradient(135deg, #edf5ff 0%, #ffffff 100%);
    border: 1px solid #dfe8f9;
}

.trips-spotlight-chip {
    width: fit-content;
    border-radius: 999px;
    background: #eaf2ff;
    color: #4f8ef7;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trips-spotlight-chip--muted {
    background: #eef2f7;
    color: #667387;
}

.trips-spotlight-screen strong {
    color: #243047;
    font-size: 17px;
    font-weight: 800;
}

.trips-spotlight-screen p {
    margin: 0;
    color: #667487;
    font-size: 13px;
    line-height: 1.5;
}

.trips-spotlight-mini-stats {
    display: grid;
    gap: 3px;
}

.trips-spotlight-mini-stats span {
    color: #728095;
    font-size: 12px;
    font-weight: 700;
}

.trips-spotlight-mini-stats strong {
    color: #233048;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.trip-create-surface {
    padding: 24px 24px 30px;
    background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
}

.trip-create-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 360px;
    gap: 20px;
    align-items: start;
    max-width: 1240px;
    margin: 0 auto;
}

.trip-create-panel {
    padding: 24px;
}

.trip-create-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.trip-create-kicker {
    margin: 0 0 8px;
    color: #4f8ef7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.trip-create-header h1 {
    margin: 0;
    color: #233048;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}

.trip-create-copy {
    margin: 10px 0 0;
    max-width: 720px;
    color: #68758a;
    font-size: 15px;
    line-height: 1.55;
}

.trip-banner {
    margin: 0 0 16px;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
}

.trip-banner--success {
    background: #e8f8ef;
    color: #1f8a4c;
}

.trip-banner--error {
    background: #feecec;
    color: #d14343;
}

.trip-create-form {
    display: grid;
    gap: 18px;
}

.trip-create-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.trip-form-field {
    display: grid;
    gap: 8px;
}

.trip-form-field > span {
    color: #354258;
    font-size: 14px;
    font-weight: 700;
}

.trip-form-field > small {
    color: #7b8798;
    font-size: 13px;
    line-height: 1.45;
}

.trip-form-field input,
.trip-form-field select,
.trip-form-field textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d8e0ef;
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
    color: #243047;
    font-size: 14px;
}

.trip-form-field textarea {
    min-height: 96px;
    padding: 10px 12px;
    resize: vertical;
}

.trip-form-field--wide {
    grid-column: 1 / -1;
}

.trip-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.trip-type-option {
    position: relative;
    display: grid;
    gap: 6px;
    min-height: 92px;
    border: 1px solid #d9e1ef;
    border-radius: 12px;
    padding: 16px 16px 14px 40px;
    color: #2b3342;
    background: #fff;
    cursor: pointer;
}

.trip-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.trip-type-dot {
    position: absolute;
    top: 18px;
    left: 14px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #b8c3d7;
    background: #fff;
}

.trip-type-option.is-selected {
    border-color: #4f8ef7;
    box-shadow: inset 0 0 0 1px #4f8ef7;
}

.trip-type-option.is-selected .trip-type-dot {
    border-color: #4f8ef7;
    box-shadow: inset 0 0 0 4px #4f8ef7;
}

.trip-type-option strong {
    font-size: 14px;
    font-weight: 800;
}

.trip-type-option small {
    color: #657087;
    font-size: 13px;
    line-height: 1.4;
}

.trip-cover-dropzone {
    border: 1px dashed #b8c9ef;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcff 0%, #f5f8ff 100%);
    min-height: 170px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
    cursor: pointer;
}

.trip-cover-dropzone input {
    display: none;
}

.trip-cover-dropzone strong {
    color: #243047;
    font-size: 15px;
}

.trip-cover-dropzone small {
    color: #708096;
    font-size: 13px;
}

.trip-cover-dropzone-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: inset 0 0 0 1px rgba(79, 142, 247, 0.14);
}

.trip-create-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trip-preview-panel {
    position: sticky;
    top: 84px;
    display: grid;
    gap: 16px;
    padding: 18px;
}

.trip-preview-frame {
    position: relative;
    min-height: 250px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e3e9f6;
    background: linear-gradient(180deg, #f7faff 0%, #fff 100%);
}

.trip-preview-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trip-preview-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    color: #758196;
    background:
        radial-gradient(circle at 50% 40%, rgba(79, 142, 247, 0.1), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 255, 0.95) 100%);
}

.trip-preview-placeholder i {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #ebf2ff;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.trip-preview-placeholder strong {
    color: #243047;
    font-size: 15px;
}

.trip-preview-placeholder span {
    max-width: 220px;
    font-size: 13px;
    line-height: 1.45;
}

.trip-preview-summary {
    display: grid;
    gap: 14px;
}

.trip-preview-summary-top {
    display: grid;
    gap: 10px;
}

.trip-preview-badge {
    width: fit-content;
    border-radius: 999px;
    background: #eaf2ff;
    color: #4f8ef7;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trip-preview-summary-top strong {
    color: #233048;
    font-size: 20px;
    font-weight: 800;
}

.trip-preview-summary-top p {
    margin: 0;
    color: #667487;
    font-size: 14px;
    line-height: 1.5;
}

.trip-preview-meta {
    display: grid;
    gap: 10px;
    padding-top: 2px;
}

.trip-preview-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #edf1f7;
}

.trip-preview-row span {
    color: #728095;
    font-size: 13px;
}

.trip-preview-row strong {
    color: #243047;
    font-size: 13px;
    font-weight: 800;
    text-align: right;
}

.is-hidden {
    display: none !important;
}

.report-modal,
.advance-modal {
    width: min(100%, 520px);
    overflow: visible !important;
    transform: none !important;
}

.report-modal {
    overflow: visible !important;
}

.reports-bulk-modal {
    width: min(100%, 880px);
}

.advance-modal {
    width: min(100%, 420px);
    overflow: visible !important;
}

.trip-modal.report-modal,
.trip-modal.advance-modal,
.trip-modal.report-modal .trip-modal-body,
.trip-modal.advance-modal .trip-modal-body,
.trip-modal.report-modal .trip-card,
.trip-modal.advance-modal .trip-card {
    overflow: visible !important;
}

.report-modal-body,
.advance-modal-body {
    gap: 12px;
    position: relative;
    overflow: visible !important;
}

.advance-modal .trip-card,
.advance-modal .advance-field,
.advance-modal .expense-picker {
    overflow: visible;
}

.advance-modal .expense-picker {
    position: relative;
    z-index: 9999;
}

.advance-modal .expense-picker-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    z-index: 99999;
}

.report-modal .trip-card,
.report-modal .report-field,
.report-modal .expense-picker {
    overflow: visible;
}

.report-modal .expense-picker {
    position: relative;
    z-index: 9999;
}

.report-modal .expense-picker-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    z-index: 99999;
}

.report-field,
.advance-field {
    display: grid;
    gap: 7px;
}

.report-field + .report-field,
.advance-field + .advance-field {
    margin-top: 14px;
}

.report-field > span,
.advance-field > span {
    color: #68728a;
    font-size: 14px;
    font-weight: 700;
}

.report-field--required > span,
.advance-field--required > span {
    color: #f05a5a;
}

.report-field input,
.report-field select,
.report-field textarea,
.advance-field input,
.advance-field select,
.advance-field textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    background: #fff;
    padding: 0 12px;
    color: #2c3445;
    font-size: 14px;
}

.report-field .expense-picker-toggle,
.advance-field .expense-picker-toggle {
    min-height: 46px;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    padding: 0 14px;
    background: #fff;
    color: #2c3445;
}

.report-field .expense-picker-label,
.advance-field .expense-picker-label {
    font-size: 15px;
}

.report-field .expense-picker-popover,
.advance-field .expense-picker-popover {
    width: 100%;
    min-width: 100%;
    border-radius: 4px;
    padding: 10px;
}

.report-field .expense-picker-search,
.advance-field .expense-picker-search {
    min-height: 40px;
    border-color: #6da3ff;
    border-radius: 4px;
    padding: 0 12px 0 30px;
}

.report-field .expense-picker-option,
.advance-field .expense-picker-option {
    align-items: flex-start;
    padding: 10px 12px;
}

.report-field .expense-picker-option i,
.advance-field .expense-picker-option i {
    margin-top: 2px;
}

.report-field .expense-picker-copy strong,
.advance-field .expense-picker-copy strong {
    font-size: 14px;
}

.report-field .expense-picker-copy span,
.advance-field .expense-picker-copy span {
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
}

.report-field textarea,
.advance-field textarea {
    min-height: 82px;
    padding: 10px 12px;
    resize: vertical;
}

.report-duration-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.report-field--ghost > span {
    visibility: hidden;
}

.advance-amount-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0;
}

.advance-amount-row select,
.advance-amount-row input {
    border-radius: 4px 0 0 4px;
}

.advance-amount-row input {
    border-left: 0;
    border-radius: 0 4px 4px 0;
}

.report-modal-footer,
.advance-modal-footer {
    padding-top: 0;
}

.reports-bulk-body {
    gap: 0;
}

.reports-bulk-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.reports-bulk-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: #344054;
    font-size: 14px;
}

.reports-bulk-form select,
.reports-bulk-form textarea,
.reports-bulk-form input[type="date"] {
    width: 100%;
}

.expense-page .dashboard-content,
.cards-connect-page .dashboard-content,
.cards-import-page .dashboard-content,
.transactions-page .dashboard-content,
.trip-page .dashboard-content {
    padding: 0;
    gap: 0;
}

.expense-page .page-surface--white {
    min-height: calc(100vh - 58px);
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}

.expense-start-page .dashboard-content {
    padding: 0;
    gap: 0;
}

.expense-start-surface {
    padding: 0 0 28px;
    background: #fff;
}

.expense-start-shell {
    width: min(100%, 1080px);
    margin: 0 auto;
    display: grid;
    gap: 62px;
    padding: 84px 0 0;
}

.expense-start-home,
.getting-started-expense-view {
    display: grid;
    gap: 62px;
}

.expense-start-hero {
    min-height: 340px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    gap: 30px;
    align-items: center;
    padding: 40px 28px 28px;
}

.expense-start-hero-copy {
    padding-left: 4px;
}

.expense-start-mark {
    width: 38px;
    height: 38px;
    border: 1px solid #dfe5f2;
    border-radius: 10px;
    color: #303a4e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: #fff;
}

.expense-start-hero h1 {
    margin: 0;
    color: #243047;
    font-size: 31px;
    line-height: 1.2;
    font-weight: 800;
}

.expense-start-hero p {
    margin: 12px 0 0;
    max-width: 390px;
    color: #667185;
    font-size: 15px;
    line-height: 1.55;
}

.expense-start-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.expense-start-autoscan {
    position: relative;
}

.expense-start-autoscan-item--file {
    position: relative;
    overflow: hidden;
}

.expense-start-autoscan-item--file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.expense-start-autoscan-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 30;
    width: 186px;
    padding: 6px 0;
    border: 1px solid #dfe5f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(22, 33, 60, 0.12);
    display: none;
}

.expense-start-autoscan.is-open .expense-start-autoscan-menu {
    display: grid;
}

.expense-start-autoscan-item {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 0 14px;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.expense-start-autoscan-item:hover {
    background: #f5f8fc;
}

.expense-start-autoscan-item i {
    width: 16px;
    color: #8d97ab;
    font-size: 12px;
}

.expense-start-cloud-menu {
    position: absolute;
    left: 194px;
    top: calc(100% + 6px);
    z-index: 31;
    width: 180px;
    padding: 6px 0;
    border: 1px solid #dfe5f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(22, 33, 60, 0.12);
    display: none;
}

.expense-start-cloud-menu.is-open {
    display: grid;
}

.expense-start-cloud-item {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 0 14px;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.expense-start-cloud-item:hover,
.expense-start-cloud-item:focus-visible {
    background: #f5f8fc;
    outline: none;
}

.expense-start-cloud-item i {
    width: 16px;
    color: #8d97ab;
    font-size: 12px;
}

.expense-start-autoscan-status {
    margin-top: 8px;
    max-width: 186px;
    color: #667185;
    font-size: 12px;
    line-height: 1.4;
    min-height: 17px;
}

.expense-start-btn {
    min-height: 34px;
    border: 1px solid #d9e0ee;
    border-radius: 4px;
    background: #fff;
    color: #354055;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.expense-start-btn--primary {
    background: #4f8ef7;
    border-color: #4f8ef7;
    color: #fff;
}

.expense-start-btn--primary i {
    font-size: 10px;
}

.expense-start-preview {
    display: flex;
    justify-content: flex-end;
}

.expense-start-preview-card {
    width: min(100%, 548px);
    border: 1px solid #dde4f2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(38, 55, 94, 0.06);
    overflow: hidden;
}

.expense-start-preview-visual {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    min-height: 314px;
}

.expense-start-receipt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #fbfcff 0%, #f2f5fb 100%);
    border-right: 1px dashed #e3e8f3;
    padding: 18px 14px;
}

.expense-start-receipt-top {
    width: 118px;
    height: 140px;
    border-radius: 12px 12px 10px 10px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
    position: relative;
}

.expense-start-receipt-top::before {
    content: 'RECEIPT';
    position: absolute;
    left: 18px;
    top: 18px;
    font-size: 10px;
    color: #7c8799;
    letter-spacing: 0.08em;
}

.expense-start-receipt-top::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    height: 10px;
    background: repeating-linear-gradient(90deg, #a9b4c7 0 3px, transparent 3px 7px);
}

.expense-start-receipt-line {
    height: 4px;
    border-radius: 999px;
    background: #dbe1ee;
}

.expense-start-receipt-line.w-78 { width: 78px; }
.expense-start-receipt-line.w-64 { width: 64px; }
.expense-start-receipt-line.w-58 { width: 58px; }
.expense-start-receipt-line.w-70 { width: 70px; }

.expense-start-receipt-barcode {
    width: 96px;
    height: 16px;
    margin-top: 4px;
    background:
        repeating-linear-gradient(90deg, #8a94a8 0 2px, transparent 2px 5px);
}

.expense-start-preview-note {
    padding: 20px 18px 18px;
    display: grid;
    align-content: start;
    gap: 8px;
}

.expense-start-preview-date,
.expense-start-preview-merchant,
.expense-start-preview-meta,
.expense-start-preview-desc-label {
    color: #7a8597;
    font-size: 13px;
}

.expense-start-preview-title {
    color: #324055;
    font-size: 17px;
    font-weight: 800;
}

.expense-start-preview-merchant {
    margin-bottom: 8px;
}

.expense-start-preview-amount-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0 0;
}

.expense-start-play {
    width: 36px;
    height: 36px;
    border: 2px solid #4f8ef7;
    border-radius: 6px;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.expense-start-preview-amount {
    color: #8b95a8;
    font-size: 43px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.03em;
}

.expense-start-preview-meta {
    margin-top: -2px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef1f6;
}

.expense-start-preview-desc-label {
    margin-top: 6px;
}

.expense-start-preview-desc {
    color: #253043;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.expense-start-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 0 18px;
    border-top: 1px solid #eef1f6;
    color: #243047;
    font-size: 14px;
    font-weight: 700;
}

.expense-start-preview-pager {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #6a7487;
}

.expense-start-preview-pager button {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: #eef2f8;
    color: #6e7688;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.expense-start-section {
    padding: 0;
    overflow: hidden;
}

.expense-start-section-head {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eef1f6;
}

.expense-start-section-head h2 {
    margin: 0;
    color: #243047;
    font-size: 22px;
    font-weight: 700;
}

.expense-start-automation {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
    padding: 18px 18px 22px;
}

.expense-start-automation-nav {
    border: 1px solid #eef1f6;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.expense-start-automation-item {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-bottom: 1px solid #eef1f6;
    background: #fff;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #3a465d;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.expense-start-automation-item:last-child {
    border-bottom: 0;
}

.expense-start-automation-item i {
    width: 28px;
    height: 28px;
    border: 1px solid #e2e7f2;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #727ca0;
    font-size: 13px;
    background: #fff;
}

.expense-start-automation-item.is-active {
    font-weight: 700;
}

.expense-start-automation-body {
    min-height: 250px;
    padding: 0 6px;
}

.expense-start-automation-body h3 {
    margin: 0;
    color: #243047;
    font-size: 18px;
    font-weight: 700;
}

.expense-start-automation-body p {
    margin: 10px 0 0;
    color: #667185;
    font-size: 14px;
    line-height: 1.55;
    max-width: 520px;
}

.expense-start-select {
    display: inline-flex;
    margin-top: 18px;
}

.expense-start-select select {
    min-height: 32px;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    padding: 0 12px;
    background: #fff;
    color: #344055;
    font-size: 13px;
    font-weight: 700;
}

.expense-start-automation-note {
    margin-top: 30px !important;
    color: #667185;
}

.expense-start-automation-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.expense-start-automation-icons span {
    width: 20px;
    height: 20px;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.expense-start-how {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) 18px 180px 18px 180px;
    gap: 12px;
    align-items: center;
    padding: 24px 18px 30px;
}

.expense-start-how-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.expense-start-mini-card {
    min-height: 54px;
    border: 1px solid #e6ebf4;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #4b5770;
    font-size: 13px;
    font-weight: 700;
}

.expense-start-mini-card i,
.expense-start-big-card i {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #7e85b3;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.expense-start-how-arrow {
    color: #7e85b3;
    font-size: 20px;
    text-align: center;
}

.expense-start-big-card {
    min-height: 124px;
    border: 1px solid #e6ebf4;
    border-radius: 6px;
    background: #fff;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 12px;
    color: #4b5770;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 14px;
}

.expense-start-big-card i {
    width: 34px;
    height: 34px;
    font-size: 14px;
}

.expense-start-more-list {
    display: grid;
    gap: 0;
    padding: 0 18px 8px;
}

.expense-start-more-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid #eef1f6;
}

.expense-start-more-item:last-child {
    border-bottom: 0;
}

.expense-start-more-icon {
    width: 34px;
    height: 34px;
    border: 1px solid #e2e7f2;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7c869a;
    font-size: 14px;
    background: #fff;
}

.expense-start-more-copy h3 {
    margin: 0;
    color: #243047;
    font-size: 15px;
    font-weight: 700;
}

.expense-start-more-copy p {
    margin: 6px 0 0;
    color: #667185;
    font-size: 14px;
    line-height: 1.5;
    max-width: 680px;
}

.expense-start-more-item a {
    color: #4f8ef7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.expense-start-more-item a i {
    font-size: 11px;
}

.transactions-surface {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 58px);
    background: #fff;
}

.transactions-header {
    min-height: 56px;
    padding: 14px 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #f7f7fd;
}

.expense-tabs--transactions {
    gap: 28px;
}

.page-close-button--inline {
    margin-left: auto;
}

.transactions-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 26px 34px 18px;
}

.transactions-title {
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1f2937;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

.transactions-title i {
    font-size: 11px;
    color: #111827;
}

.transactions-filter {
    width: 42px;
    height: 42px;
    border: 1px solid #d6dce8;
    border-radius: 4px;
    background: #fff;
    color: #60708f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
}

.transactions-board {
    padding: 0 34px 24px;
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
}

.transactions-table th {
    padding: 12px 12px 14px;
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
    color: #5a6c98;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: left;
}

.transactions-select-col {
    width: 42px;
}

.transactions-amount-col {
    text-align: right;
}

.transactions-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.transactions-check input {
    width: 16px;
    height: 16px;
    accent-color: #4f8ef7;
}

.transactions-empty-state {
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d7fb0;
    font-size: 18px;
    text-align: center;
    padding-bottom: 60px;
}

.transactions-actions {
    width: 1%;
    white-space: nowrap;
}

.transactions-match-form {
    margin: 0;
}

.transactions-match-button {
    min-height: 34px;
    border: 1px solid #d7def0;
    border-radius: 999px;
    background: #f6f9ff;
    color: #4f8ef7;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.advances-page .dashboard-content {
    padding: 0;
    gap: 0;
}

.advances-surface {
    position: relative;
    min-height: calc(100vh - 58px);
    overflow: hidden;
    background: #fff;
}

.advances-header {
    min-height: 60px;
    padding: 14px 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #eceff6;
    background: #f8f9fe;
}

.advances-tabs-wrap {
    min-width: 0;
}

.expense-tabs--advances {
    gap: 20px;
}

.expense-tab--button {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 2px;
}

.advances-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.advances-show-button {
    min-height: 30px;
    border: 1px solid #d2d8e7;
    border-radius: 4px;
    background: #fff;
    color: #4d5b76;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
}

.advances-empty-state {
    width: min(100%, 860px);
    margin: 0 auto;
    min-height: calc(100vh - 118px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 34px 24px 44px;
    color: #5c6886;
}

.advances-empty-art {
    width: 220px;
    height: 130px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advances-empty-scene {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ecf5ff 0, #dcecff 55%, #cfe2ff 100%);
    color: #3c88f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 16px 34px rgba(79, 142, 247, 0.12);
}

.advances-empty-state h1 {
    margin: 0;
    color: #58647f;
    font-size: 22px;
    font-weight: 500;
}

.advances-empty-state p {
    margin: 8px 0 0;
    color: #7382a5;
    font-size: 18px;
    line-height: 1.45;
}

.advances-record-button {
    margin-top: 18px;
}

.advances-learn-link {
    margin-top: 18px;
    color: #6a83b6;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.advances-learn-link:hover {
    color: #4f8ef7;
}

.advance-drawer {
    position: fixed;
    top: 58px;
    right: 0;
    width: min(100%, 390px);
    height: calc(100vh - 58px);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 180ms ease, opacity 180ms ease;
    z-index: 60;
}

.advance-drawer.is-open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.advance-drawer-backdrop {
    position: fixed;
    top: 58px;
    left: 0;
    right: 390px;
    bottom: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(17, 24, 39, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 50;
}

.advances-surface.drawer-open .advance-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.advance-drawer-card {
    width: 100%;
    background: #f9fbff;
    border-left: 1px solid #e6ebf4;
    box-shadow: -18px 0 40px rgba(17, 24, 39, 0.08);
    position: relative;
    overflow-y: auto;
    padding: 18px 18px 24px;
}

.advance-drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #edf1f7;
    color: #7a859b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.advance-drawer-art {
    padding-top: 26px;
    display: flex;
    justify-content: center;
}

.advance-drawer-circle {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #eaf3ff 0, #ddecff 58%, #cfe4ff 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f82f3;
    font-size: 46px;
    box-shadow: 0 20px 34px rgba(60, 136, 245, 0.16);
}

.advance-drawer-card h2 {
    margin: 18px 0 0;
    color: #24405f;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
}

.advance-drawer-lead {
    margin: 18px 10px 0;
    color: #ff6348;
    font-size: 17px;
    line-height: 1.6;
    text-align: center;
}

.advance-drawer-cta {
    margin: 18px auto 0;
    min-height: 38px;
    border: 0;
    border-radius: 4px;
    padding: 0 16px;
    background: #1f5b8f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: block;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(31, 91, 143, 0.22);
}

.advance-start-page .dashboard-content {
    padding: 0;
    gap: 0;
}

.advance-start-surface {
    padding: 0 0 28px;
    background: #fff;
}

.advance-start-shell {
    width: min(100%, 1080px);
    margin: 0 auto;
    display: grid;
    gap: 62px;
    padding: 84px 0 0;
}

.advance-start-hero {
    min-height: 340px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    gap: 30px;
    align-items: center;
    padding: 38px 28px 28px;
}

.advance-start-copy {
    display: grid;
    gap: 14px;
    align-content: center;
}

.advance-start-mark {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid #e7ecf4;
    color: #1f2738;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #fff;
}

.advance-start-copy h1 {
    margin: 0;
    color: #1f2738;
    font-size: 32px;
    line-height: 1.12;
}

.advance-start-copy p {
    margin: 0;
    max-width: 430px;
    color: #5f6c82;
    font-size: 15px;
    line-height: 1.55;
}

.advance-start-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.advance-start-preview {
    display: flex;
    justify-content: flex-end;
}

.advance-start-preview-card {
    width: 100%;
    border: 1px solid #dfe5f2;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    box-shadow: 0 16px 30px rgba(23, 33, 61, 0.08);
    padding: 18px;
}

.advance-start-preview-visual {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    min-height: 236px;
    border-radius: 10px;
    border: 1px solid #edf1f8;
    background: #fff;
    overflow: hidden;
}

.advance-start-preview-left {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 18px;
    background: linear-gradient(180deg, #f7f9ff 0%, #f1f5ff 100%);
}

.advance-start-coin {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #e5eaf7;
    color: #5c6c92;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.46);
}

.advance-start-amount-label {
    color: #92a0ba;
    font-size: 13px;
}

.advance-start-amount {
    color: #3b4660;
    font-size: 30px;
    font-weight: 600;
}

.advance-start-preview-right {
    display: grid;
    gap: 12px;
    padding: 26px 18px;
    align-content: start;
}

.advance-start-preview-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    color: #8090aa;
    font-size: 13px;
}

.advance-start-preview-row strong {
    color: #4a5670;
    font-weight: 700;
}

.advance-start-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 2px 0;
    color: #222f44;
    font-size: 14px;
    font-weight: 700;
}

.advance-start-section {
    padding: 22px 24px 24px;
}

.advance-start-section-head {
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f5;
}

.advance-start-section-head h2 {
    margin: 0;
    color: #1f2738;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.advance-start-flow {
    display: grid;
    gap: 20px;
    padding-top: 28px;
}

.advance-start-flow-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.advance-start-flow-row--secondary {
    width: min(100%, 520px);
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.advance-start-flow-card {
    min-height: 132px;
    position: relative;
    background: #fff;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 18px 14px;
    text-align: center;
    color: #39455a;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #e4e9f3;
    border-radius: 12px;
}

.advance-start-flow-card--approval {
    padding-top: 48px;
}

.advance-start-flow-avatar {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #edf4ff;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.advance-start-flow-avatar--approver {
    background: #ebf8ef;
    color: #2c9350;
}

.advance-start-flow-avatar--admin {
    background: #fff6dc;
    color: #af7d00;
}

.advance-start-flow-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #edf4ff;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.advance-start-flow-choice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.advance-start-flow-choice--reject {
    background: #fff1f0;
    color: #cc5b5b;
}

.advance-start-flow-choice--approve {
    background: #edf8ef;
    color: #2c9350;
}

.advance-start-flow-arrow {
    color: #93a0b6;
    font-size: 22px;
    text-align: center;
}

.advance-start-flow-arrow--down {
    font-size: 20px;
}

.advance-start-flow-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 10px;
    color: #6e7b94;
    font-size: 13px;
    font-weight: 700;
}

.advance-start-flow-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.advance-start-flow-legend i {
    color: #4f8ef7;
}

.advance-start-more-list {
    display: grid;
    gap: 14px;
    padding-top: 18px;
}

.advance-start-more-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f5;
}

.advance-start-more-item:last-child {
    border-bottom: 0;
}

.advance-start-more-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f7f9fc;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.advance-start-more-copy {
    display: grid;
    gap: 4px;
}

.advance-start-more-copy h3 {
    margin: 0;
    color: #253042;
    font-size: 15px;
}

.advance-start-more-copy p {
    margin: 0;
    color: #738097;
    font-size: 13px;
    line-height: 1.55;
}

.advance-start-more-item a {
    color: #4f8ef7;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.advance-drawer-copy {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #dfe6f2;
}

.advance-drawer-copy h3 {
    margin: 0 0 12px;
    color: #2c3f59;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.advance-drawer-copy p {
    margin: 0 0 16px;
    color: #2c3f59;
    font-size: 16px;
    line-height: 1.55;
}

.advance-drawer-note {
    color: #6f7e96 !important;
    font-size: 14px !important;
    font-style: italic;
}

@media (max-width: 980px) {
    .advance-drawer {
        width: min(100%, 100vw);
    }

    .advance-drawer-backdrop {
        right: 0;
    }

    .advances-empty-state {
        min-height: calc(100vh - 118px);
    }

    .reports-start {
        grid-template-columns: 1fr;
    }

    .reports-start-copy h1 {
        font-size: 28px;
    }

    .reports-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reports-workflow-arrow {
        display: none;
    }

    .reports-more-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .reports-more-item a {
        grid-column: 2;
        justify-self: start;
    }
}

.expense-subnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 12px 18px 0;
    background: #f7f7fd;
    border-bottom: 1px solid #eef1f6;
}

.expense-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    overflow-x: auto;
}

.expense-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 3px solid transparent;
    color: #2d3646;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.expense-tab.is-active {
    color: #4f8ef7;
    border-bottom-color: #4f8ef7;
}

.expense-form-layout {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.66fr) minmax(0, 0.94fr);
    gap: 26px;
    padding: 24px 24px 16px;
    align-items: stretch;
}

.expense-form-layout.is-itemized {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.02fr);
}

.expense-receipt-panel {
    min-height: calc(100vh - 220px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #dbe1ee;
    background: #fff;
    padding: 32px 24px;
}

.expense-upload-card {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 16px;
}

.expense-upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    color: #62708b;
}

.expense-upload-dropzone.is-hidden,
.expense-upload-preview.is-hidden,
.expense-upload-preview-image.is-hidden,
.expense-upload-file-card.is-hidden {
    display: none !important;
}

.expense-upload-dropzone i {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid #e0e6f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7786a1;
    font-size: 24px;
    background: #fff;
}

.expense-upload-dropzone strong {
    color: #4f5b73;
    font-size: 17px;
    font-weight: 500;
}

.expense-upload-dropzone strong span {
    color: #4f8ef7;
}

.expense-upload-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border: 1px dashed #d9e1ef;
    border-radius: 999px;
    padding: 0 12px;
    background: #fff;
    color: #4f8ef7;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.expense-upload-inline input {
    display: none;
}

.expense-upload-inline--secondary {
    border-style: solid;
}

.expense-upload-preview {
    width: min(100%, 560px);
    border: 1px solid #e3e8f3;
    background: #fff;
    display: grid;
    grid-template-rows: minmax(260px, 1fr) auto;
}

.expense-upload-preview-stage {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fbfcff;
}

.expense-upload-preview-stage.is-file {
    background: linear-gradient(180deg, #fafcff 0%, #f5f7fd 100%);
}

.expense-upload-preview-image {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.expense-upload-file-card {
    width: 180px;
    min-height: 220px;
    border: 1px solid #e1e7f3;
    background: #fff;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    color: #53627d;
    text-align: center;
    padding: 18px;
}

.expense-upload-file-card i {
    font-size: 40px;
    color: #6b7c98;
}

.expense-upload-file-card strong {
    font-size: 28px;
    font-weight: 600;
    color: #1f2b44;
}

.expense-upload-file-card span {
    font-size: 14px;
    word-break: break-word;
}

.expense-upload-preview-toolbar {
    min-height: 56px;
    border-top: 1px solid #e6ebf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
}

.expense-upload-preview-name {
    color: #4c5b77;
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.expense-recent-list {
    width: min(100%, 360px);
    margin-top: 18px;
    display: grid;
    gap: 10px;
    align-self: flex-start;
    justify-self: center;
}

.expense-recent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #425067;
}

.expense-recent-head strong {
    font-size: 14px;
}

.expense-recent-head a {
    color: #4f8ef7;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.expense-recent-items {
    display: grid;
    gap: 8px;
}

.expense-recent-item {
    display: grid;
    gap: 2px;
    padding: 11px 12px;
    border: 1px solid #e5eaf4;
    border-radius: 12px;
    text-decoration: none;
    background: #fff;
    color: #233048;
}

.expense-recent-item strong {
    font-size: 14px;
}

.expense-recent-item span,
.expense-recent-item small {
    color: #6f7b92;
    font-size: 12px;
}

.expense-recent-item.is-active {
    border-color: #8eb7ff;
    box-shadow: 0 0 0 1px rgba(79, 142, 247, 0.18);
}

.expense-recent-empty {
    padding: 12px;
    border: 1px dashed #d9e1ef;
    border-radius: 12px;
    color: #7b879b;
    font-size: 13px;
    line-height: 1.5;
    background: #fafcff;
}

.expense-form-panel {
    min-height: calc(100vh - 220px);
    display: grid;
    gap: 18px;
    align-content: start;
    padding-right: 0;
}

.expense-banner {
    margin: 0 24px 6px;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
}

.expense-banner--success {
    background: #eaf8ef;
    color: #1e8f4f;
}

.expense-banner--error {
    background: #feecec;
    color: #d14343;
}

.expense-banner--info {
    background: #edf4ff;
    color: #3f72c4;
}

.expense-field {
    display: grid;
    gap: 6px;
}

.expense-field > span {
    color: #19263d;
    font-size: 15px;
    font-weight: 500;
}

.expense-field--accent > span {
    color: #f05a5a;
}

.expense-field-help {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #738096;
    font-size: 12px;
}

.expense-field-help a,
.expense-inline-link {
    border: 0;
    background: transparent;
    color: #4f8ef7;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
}

.expense-detail-card {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #e5eaf4;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.expense-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.expense-detail-head strong {
    display: block;
    color: #233048;
    font-size: 18px;
    font-weight: 800;
}

.expense-detail-head span {
    color: #6f7b92;
    font-size: 13px;
}

.expense-detail-pill {
    border: 1px solid #d9e1ef;
    border-radius: 999px;
    padding: 5px 10px;
    color: #4f8ef7;
    background: #edf4ff;
    font-size: 12px;
    font-weight: 800;
}

.expense-detail-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.expense-detail-actions a {
    color: #4f8ef7;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.expense-detail-action-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #4f8ef7;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.expense-category-picker {
    position: relative;
    display: block;
    width: 100%;
}

.expense-category-toggle {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d7dff0;
    border-radius: 3px;
    background: #fff;
    padding: 0 16px;
    color: #2c3445;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
}

.expense-category-toggle i {
    color: #98a2b3;
    font-size: 11px;
}

.expense-category-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
}

.expense-category-picker.is-open .expense-category-toggle,
.expense-category-toggle:focus {
    border-color: #6da3ff;
    box-shadow: 0 0 0 1px rgba(109, 163, 255, 0.34);
    outline: none;
}

.expense-category-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    width: 100%;
    min-width: 320px;
    border: 1px solid #d5dcef;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.14);
    padding: 6px;
    display: grid;
    gap: 8px;
}

.expense-category-popover[hidden] {
    display: none !important;
}

.expense-category-search {
    width: 100%;
    min-height: 34px;
    border: 1px solid #cfd8ea;
    border-radius: 3px;
    padding: 0 10px 0 24px;
    background: transparent;
    color: #243047;
    outline: none;
}

.expense-category-search:focus {
    border-color: #6da3ff;
    box-shadow: 0 0 0 1px rgba(109, 163, 255, 0.25);
}

.expense-category-list {
    display: grid;
    gap: 2px;
    max-height: 250px;
    overflow: auto;
    padding-right: 2px;
}

.expense-category-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 0;
    border-radius: 3px;
    background: #fff;
    padding: 8px 10px;
    color: #243047;
    cursor: pointer;
    text-align: left;
}

.expense-category-option i {
    width: 18px;
    color: #4f8ef7;
    text-align: center;
    flex: 0 0 18px;
}

.expense-category-option span {
    flex: 1;
    min-width: 0;
    font-size: 13px;
}

.expense-category-option:hover,
.expense-category-option.is-selected {
    background: #1f72e8;
    color: #fff;
}

.expense-category-option:hover i,
.expense-category-option.is-selected i {
    color: #fff;
}

.expense-category-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 8px 2px 2px;
    border-top: 1px solid #edf0f5;
    font-size: 12px;
}

.expense-category-footer a {
    color: #4f8ef7;
    text-decoration: none;
    font-weight: 700;
}

.expense-picker-manage-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.expense-picker-manage-link i {
    font-size: 11px;
}

.expense-picker-footer a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.expense-picker-footer a:first-child {
    font-size: 13px;
}

.expense-picker-search-wrap {
    position: relative;
}

.expense-picker-search-wrap i {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8ca;
    font-size: 11px;
    pointer-events: none;
}

body.expense-category-overlay-open {
    overflow: hidden;
}

.expense-category-overlay {
    position: fixed;
    inset: 0;
    z-index: 1350;
    display: none;
}

.expense-category-overlay.is-visible {
    display: block;
}

.expense-category-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 33, 49, 0.48);
}

.expense-category-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(94vw, 624px);
    max-height: calc(100vh - 56px);
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.expense-category-dialog form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.expense-category-header {
    min-height: 58px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}

.expense-category-header h3 {
    margin: 0;
    color: #1f293b;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.1px;
}

.expense-category-close {
    width: 32px;
    height: 32px;
    border: 1px solid #dde3ef;
    border-radius: 50%;
    background: #fff;
    color: #7f889a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.expense-category-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 20px 24px 16px;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.expense-category-avatar {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding-top: 2px;
}

.expense-category-avatar-box {
    width: 98px;
    height: 98px;
    border-radius: 10px;
    border: 1px solid #e7ecf6;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    color: #66b65b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.expense-category-avatar-change {
    border: 0;
    background: transparent;
    color: #4f8ef7;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.expense-category-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.expense-category-field,
.expense-category-subcategory,
.expense-category-note {
    grid-column: 1 / -1;
}

.expense-category-field--wide {
    grid-column: 1 / -1;
}

.expense-category-field {
    display: grid;
    gap: 8px;
}

.expense-category-field > span {
    color: #394355;
    font-size: 15px;
    font-weight: 500;
}

.expense-category-field--required > span {
    color: #f05a5a;
}

.expense-category-label-help {
    margin-left: 3px;
    color: #bbc2d3;
    font-size: 11px;
    vertical-align: middle;
}

.expense-category-field input,
.expense-category-field select,
.expense-category-field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cfd7e8;
    border-radius: 4px;
    background: #fff;
    padding: 0 14px;
    color: #2c3445;
    font-size: 15px;
}

.expense-category-field textarea {
    min-height: 96px;
    padding: 12px 14px;
    resize: vertical;
}

.expense-category-subcategory-field[hidden] {
    display: none;
}

.expense-policy-picker {
    position: relative;
}

.expense-category-dialog .expense-picker-toggle,
.expense-policy-toggle {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cfd7e8;
    border-radius: 4px;
    background: #fff;
    padding: 0 14px;
    color: #2c3445;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.expense-category-dialog .expense-picker.is-open .expense-picker-toggle,
.expense-category-dialog .expense-picker-toggle:focus,
.expense-policy-toggle:focus {
    border-color: #6da3ff;
    box-shadow: 0 0 0 1px rgba(109, 163, 255, 0.34);
    outline: none;
}

.expense-category-dialog .expense-picker-label,
.expense-policy-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #8a94ad;
}

.expense-category-dialog .expense-picker.has-value .expense-picker-label,
.expense-category-dialog .expense-picker.is-open .expense-picker-label,
.expense-policy-toggle.has-value .expense-policy-label,
.expense-policy-picker.is-open .expense-policy-label {
    color: #2c3445;
}

.expense-category-dialog .expense-picker-toggle i,
.expense-policy-toggle i {
    color: #96a1b6;
    font-size: 12px;
    flex: 0 0 auto;
}

.expense-category-dialog .expense-picker-popover,
.expense-policy-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    width: 100%;
    min-width: 320px;
    border: 1px solid #d9e0ef;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.14);
    padding: 8px;
    display: grid;
    gap: 8px;
}

.expense-category-dialog .expense-picker-popover[hidden],
.expense-policy-popover[hidden] {
    display: none !important;
}

.expense-category-dialog .expense-picker-search-wrap,
.expense-policy-search-wrap {
    position: relative;
}

.expense-category-dialog .expense-picker-search-wrap i,
.expense-policy-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8ca;
    font-size: 14px;
    pointer-events: none;
}

.expense-category-dialog .expense-picker-search,
.expense-policy-search {
    width: 100%;
    min-height: 40px;
    border: 1px solid #5d93f8;
    border-radius: 3px;
    padding: 0 12px 0 32px;
    background: #fff;
    color: #243047;
    outline: none;
}

.expense-category-dialog .expense-picker-search:focus,
.expense-policy-search:focus {
    border-color: #6da3ff;
    box-shadow: 0 0 0 1px rgba(109, 163, 255, 0.25);
}

.expense-category-dialog .expense-picker-list,
.expense-policy-list {
    display: grid;
    gap: 2px;
    max-height: 260px;
    overflow: auto;
    padding-right: 2px;
}

.expense-category-dialog .expense-picker-option,
.expense-policy-option {
    width: 100%;
    border: 0;
    border-radius: 3px;
    background: #fff;
    padding: 10px 12px;
    color: #243047;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expense-category-dialog .expense-picker-option:hover,
.expense-category-dialog .expense-picker-option.is-selected {
    background: #2f72de;
    color: #fff;
}

.expense-category-dialog .expense-picker-option:hover i,
.expense-category-dialog .expense-picker-option.is-selected i,
.expense-category-dialog .expense-picker-option:hover .expense-picker-copy strong,
.expense-category-dialog .expense-picker-option.is-selected .expense-picker-copy strong {
    color: #fff;
}

.expense-policy-option:hover,
.expense-policy-option.is-selected {
    background: #f3f6fb;
}

.expense-policy-option-check {
    width: 16px;
    height: 16px;
    border: 1px solid #b9c3d8;
    border-radius: 2px;
    background: #fff;
    flex: 0 0 16px;
    position: relative;
}

.expense-policy-option-check.is-checked {
    border-color: #4f8ef7;
    background: #4f8ef7;
}

.expense-policy-option-check.is-checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.expense-policy-option-label {
    font-size: 14px;
    font-weight: 500;
    color: #2f3644;
}

.expense-category-field small {
    color: #667286;
    font-size: 13px;
    line-height: 1.45;
}

.expense-category-subcategory {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    padding: 12px 0 14px;
    border-top: 1px solid #edf0f5;
}

.expense-category-subcategory input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #4f8ef7;
    flex: 0 0 auto;
}

.expense-category-subcategory span {
    color: #4d5567;
    font-size: 15px;
    font-weight: 500;
}

.expense-category-note {
    border-radius: 8px;
    background: #dff0fd;
    padding: 12px 14px;
    color: #2e678c;
    font-size: 13px;
    line-height: 1.5;
}

.expense-category-note strong {
    font-weight: 800;
}

.expense-category-note span {
    margin-left: 6px;
}

.expense-category-table {
    border: 1px solid #e3e8f3;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin-top: 2px;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.04);
}

.expense-category-table-head,
.expense-category-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 10px;
}

.expense-category-table-head {
    min-height: 34px;
    padding: 0 14px;
    background: #f6f8fd;
    color: #4f5a6e;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e8edf7;
}

.expense-category-table-row {
    min-height: 40px;
    padding: 0 14px;
    border-top: 1px solid #f0f3f9;
    color: #2f3644;
    font-size: 13px;
}

.expense-category-table-head + .expense-category-table-row {
    border-top: 0;
}

.expense-category-table-row strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 700;
}

.expense-category-table-row strong i {
    color: #4f8ef7;
    font-size: 14px;
    flex: 0 0 auto;
}

.expense-category-table-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #556170;
}

.expense-category-footer {
    padding: 14px 24px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #edf0f5;
    background: #fff;
    flex: 0 0 auto;
}

.expense-category-primary,
.expense-category-secondary {
    min-height: 42px;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.expense-category-primary {
    border: 0;
    background: linear-gradient(180deg, #4f8ef7 0%, #3f7ff0 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(79, 142, 247, 0.18);
    min-width: 128px;
}

.expense-category-secondary {
    border: 1px solid #d8dff0;
    background: #fff;
    color: #4b5566;
    min-width: 76px;
    box-shadow: none;
}

.expense-category-primary:hover {
    background: #3f7ff0;
}

.expense-category-secondary:hover {
    background: #f8faff;
}

.expense-picker {
    position: relative;
    display: block;
    width: 100%;
}

.expense-picker-toggle {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d7dff0;
    border-radius: 3px;
    background: #fff;
    padding: 0 16px;
    color: #2c3445;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
}

.expense-picker-toggle i {
    color: #98a2b3;
    font-size: 11px;
}

.expense-picker-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
}

.expense-picker-label.is-placeholder,
.expense-category-label.is-placeholder {
    color: #8c99b2;
}

.expense-picker.is-open .expense-picker-toggle,
.expense-picker-toggle:focus {
    border-color: #6da3ff;
    box-shadow: 0 0 0 1px rgba(109, 163, 255, 0.34);
    outline: none;
}

.expense-picker-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    width: 100%;
    min-width: 332px;
    border: 1px solid #d5dcef;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.14);
    padding: 6px;
    display: grid;
    gap: 8px;
}

.expense-picker-popover[hidden] {
    display: none !important;
}

.expense-picker-search {
    width: 100%;
    min-height: 34px;
    border: 1px solid #cfd8ea;
    border-radius: 3px;
    padding: 0 10px;
    background: #fff;
    color: #243047;
    outline: none;
}

.expense-picker-search:focus {
    border-color: #6da3ff;
    box-shadow: 0 0 0 1px rgba(109, 163, 255, 0.25);
}

.expense-picker-list {
    display: grid;
    gap: 2px;
    max-height: 246px;
    overflow: auto;
    padding-right: 2px;
}

.expense-picker-section {
    padding: 10px 10px 4px;
    color: #4b5565;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.expense-picker-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 0;
    border-radius: 3px;
    background: #fff;
    padding: 7px 10px;
    color: #243047;
    cursor: pointer;
    text-align: left;
}

.expense-picker-option i {
    width: 18px;
    color: #4f8ef7;
    text-align: center;
    flex: 0 0 18px;
}

.expense-picker-copy {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
}

.expense-picker-copy strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.expense-picker-copy span {
    display: block;
    color: #6f7b91;
    font-size: 12px;
    line-height: 1.35;
}

.expense-picker-option:hover,
.expense-picker-option.is-selected {
    background: #1f72e8;
    color: #fff;
}

.expense-picker-option:hover i,
.expense-picker-option.is-selected i,
.expense-picker-option:hover .expense-picker-copy span,
.expense-picker-option.is-selected .expense-picker-copy span {
    color: #fff;
}

.expense-picker-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 8px 4px 4px;
    border-top: 1px solid #edf0f5;
    font-size: 12px;
}

.expense-picker-footer a {
    color: #4f8ef7;
    text-decoration: none;
    font-weight: 700;
}

.expense-picker--inline {
    width: 100%;
    min-width: 72px;
}

.expense-picker--inline .expense-picker-toggle {
    min-width: 72px;
    padding-inline: 10px;
}

.expense-picker--inline .expense-picker-label {
    font-size: 13px;
}

.expense-picker--compact .expense-picker-popover {
    min-width: 280px;
}

.expense-form-panel.is-itemized {
    align-content: start;
    padding-top: 18px;
}

.expense-form-panel.is-itemized .expense-field,
.expense-form-panel.is-itemized .expense-amount-row,
.expense-form-panel.is-itemized .expense-itemize-panel {
    max-width: 100%;
}

.expense-form-panel [hidden] {
    display: none !important;
}

.expense-itemize-panel {
    margin-top: 8px;
}

.expense-itemize-switch {
    margin-top: 2px;
}

.expense-itemize-panel-title {
    display: none;
}

.expense-itemize-table {
    display: grid;
    border: 1px solid #dfe6f5;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    box-shadow: none;
}

.expense-itemize-head,
.expense-itemize-row {
    display: grid;
    grid-template-columns: 44px minmax(150px, 1.15fr) minmax(150px, 0.95fr) minmax(88px, 0.55fr) 34px;
    align-items: center;
}

.expense-itemize-head {
    min-height: 56px;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #dfe6f5;
    color: #4c5b77;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.expense-itemize-head > span {
    height: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    border-left: 1px solid #e3e9f4;
}

.expense-itemize-check-col,
.expense-itemize-action-col {
    padding: 0 !important;
    border-left: 0 !important;
}

.expense-itemize-amount-col {
    text-align: right;
    justify-content: flex-end;
    color: #ef545f;
}

.expense-itemize-head > span:nth-child(2) {
    color: #ef545f;
}

.expense-itemize-body {
    display: grid;
}

.expense-itemize-row {
    min-height: 74px;
    padding: 0;
    border-bottom: 1px solid #e7ecf7;
    background: #fff;
}

.expense-itemize-row > * {
    min-width: 0;
}

.expense-itemize-row:last-child {
    border-bottom: 0;
}

.expense-itemize-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.expense-itemize-check input,
.expense-itemize-head input {
    width: 19px;
    height: 19px;
    accent-color: #2f72de;
}

.expense-itemize-row > .expense-picker {
    width: 100%;
    height: 100%;
    padding: 0;
    border-left: 1px solid #e3e9f4;
}

.expense-itemize-row > .expense-picker .expense-picker-toggle,
.expense-itemize-row > input {
    min-height: 74px;
    border-color: transparent;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.expense-itemize-row > .expense-picker .expense-picker-toggle {
    padding-inline: 16px 10px;
}

.expense-itemize-row > .expense-picker.is-open .expense-picker-toggle,
.expense-itemize-row > .expense-picker .expense-picker-toggle:focus,
.expense-itemize-row > input:focus {
    border-color: #a7c1ff;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(109, 163, 255, 0.2);
}

.expense-itemize-row > .expense-picker .expense-picker-popover {
    z-index: 45;
    margin-inline: 8px;
}

.expense-itemize-row > input {
    min-width: 0;
    border: 0;
    border-left: 1px solid #e3e9f4;
    color: #2c3445;
    padding: 0 16px;
    font-size: 15px;
}

.expense-itemize-row > input[data-expense-itemize-amount] {
    text-align: right;
    padding-right: 16px;
    color: #7182a3;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.expense-itemize-remove,
.expense-itemize-add {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.expense-itemize-remove {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff4d5d;
    border-left: 1px solid #e3e9f4;
    border-radius: 0;
    font-size: 20px;
}

.expense-itemize-remove:hover {
    background: #fff4f5;
}

.expense-itemize-footer {
    display: grid;
    grid-template-columns: 44px minmax(150px, 1.15fr) minmax(150px, 0.95fr) minmax(88px, 0.55fr) 34px;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #fff;
    border-top: 1px solid #dfe6f5;
}

.expense-itemize-add {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 0 18px;
    color: #2f72de;
    font-size: 14px;
    font-weight: 500;
    justify-content: flex-start;
    grid-column: 1 / span 2;
}

.expense-itemize-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 0 20px;
    background: #f7f8fd;
    color: #394355;
    border-left: 1px solid #e3e9f4;
    grid-column: 3 / span 3;
}

.expense-itemize-total span {
    font-size: 15px;
    color: #42506a;
}

.expense-itemize-total strong {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin-left: auto;
}

.expense-form-panel.is-itemized .expense-itemize-table {
    margin-top: 8px;
}

.expense-form-layout.is-itemized .expense-receipt-panel {
    justify-content: center;
}

.expense-field input,
.expense-field select,
.expense-field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d7dff0;
    border-radius: 4px;
    background: #fff;
    padding: 0 16px;
    color: #2c3445;
    font-size: 15px;
}

.expense-field textarea {
    min-height: 84px;
    padding: 12px 16px;
    resize: vertical;
}

.expense-label-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.expense-label-line a {
    color: #4f8ef7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.expense-inline-link.is-active {
    color: #2f72de;
}

.expense-inline-link--back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.expense-inline-link--back i {
    font-size: 12px;
}

.expense-amount-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.expense-amount-input {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    border: 1px solid #d7dce8;
    border-radius: 4px;
    overflow: hidden;
}

.expense-amount-input select,
.expense-amount-input input {
    border: 0;
    border-radius: 0;
}

.expense-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 18px;
    color: #4c5566;
    font-size: 15px;
    white-space: nowrap;
}

.expense-check-row--itemized {
    padding-top: 14px;
}

.expense-check-row i {
    color: #a5afc0;
    font-size: 12px;
}

.expense-footnote {
    border-top: 1px solid #edf0f5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 0;
    color: #5c6678;
    font-size: 13px;
    line-height: 1.4;
}

.expense-footnote img {
    width: 18px;
    height: 18px;
}

.expense-footnote a,
.import-note a,
.bank-terms-check a {
    color: #4f8ef7;
    text-decoration: none;
    font-weight: 700;
}

.expense-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 0;
}

.expense-actions--center {
    justify-content: flex-start;
    padding-top: 14px;
    border-top: 1px solid #edf0f5;
}

.expense-actions--left {
    justify-content: flex-start;
}

.expense-primary,
.expense-secondary,
.expense-ghost {
    min-height: 32px;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.expense-primary {
    border: 0;
    background: #4f8ef7;
    color: #fff;
    box-shadow: 0 10px 18px rgba(79, 142, 247, 0.18);
}

.expense-primary--small {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
}

.expense-secondary,
.expense-ghost {
    border: 1px solid #d8dff0;
    background: #fff;
    color: #4b5566;
    box-shadow: none;
}

.expense-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding: 16px 18px 18px;
    border-top: 1px solid #edf0f5;
    background: #fff;
}

.expense-bottom-bar .expense-footnote {
    flex: 1;
    border-top: 0;
    padding-top: 0;
}

.expense-bottom-bar .expense-actions {
    flex: 0 0 auto;
}

.expense-bottom-bar .expense-primary,
.expense-bottom-bar .expense-secondary,
.expense-bottom-bar .expense-ghost {
    min-height: 32px;
    padding: 0 15px;
}

.expense-detail-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    min-height: calc(100vh - 154px);
}

.expense-detail-list {
    border-right: 1px solid #e3e8f3;
    background: #fff;
    display: grid;
    grid-template-rows: auto 1fr;
}

.expense-detail-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid #e3e8f3;
}

.expense-detail-list-head h2 {
    margin: 0;
    color: #1d2840;
    font-size: 18px;
    font-weight: 600;
}

.expense-detail-list-actions,
.expense-detail-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.expense-detail-icon-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #d9e1ef;
    border-radius: 4px;
    background: #fff;
    color: #44516a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.expense-detail-list-body {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 18px 24px;
}

.expense-detail-list-body p {
    margin: 60px 0 0;
    color: #64748b;
    font-size: 16px;
    text-align: center;
}

.expense-detail-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e3e8f3;
    border-radius: 8px;
    text-decoration: none;
    color: #22314b;
}

.expense-detail-view {
    padding: 18px 36px 36px;
    display: grid;
    align-content: start;
    gap: 22px;
}

.expense-detail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.expense-detail-top h1 {
    margin: 0;
    color: #1b2840;
    font-size: 20px;
    font-weight: 600;
}

.expense-detail-associated {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #dfe5f2;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.expense-detail-associated-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
}

.expense-detail-associated-card + .expense-detail-associated-card {
    border-left: 1px solid #e6ebf5;
}

.expense-detail-associated-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f2f4fd;
    color: #5b6a84;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.expense-detail-associated-card small {
    display: block;
    color: #60708b;
    font-size: 14px;
    margin-bottom: 4px;
}

.expense-detail-associated-card strong {
    color: #2f72de;
    font-size: 15px;
    font-weight: 500;
}

.expense-detail-card-shell {
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr);
    border: 1px solid #dfe5f2;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.expense-detail-receipt {
    min-height: 528px;
    padding: 28px 20px;
    border-right: 1px solid #e6ebf5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.expense-detail-receipt .expense-upload-dropzone {
    width: 100%;
    min-height: 470px;
    border: 1px dashed #dfe5f2;
    justify-content: center;
}

.expense-detail-receipt-frame {
    width: 100%;
    min-height: 470px;
    border: 1px solid #e6ebf5;
    display: grid;
    grid-template-rows: 1fr auto;
    background: #fff;
}

.expense-detail-receipt-stage {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: #fbfcff;
}

.expense-detail-receipt-stage--file {
    background: linear-gradient(180deg, #fafcff 0%, #f5f7fd 100%);
}

.expense-detail-receipt-image {
    max-width: 100%;
    max-height: 390px;
    object-fit: contain;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.expense-detail-file-card {
    width: 180px;
    min-height: 220px;
    border: 1px solid #e1e7f3;
    background: #fff;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    color: #53627d;
}

.expense-detail-file-card i {
    font-size: 40px;
    color: #6b7c98;
}

.expense-detail-file-card strong {
    font-size: 28px;
    font-weight: 600;
    color: #1f2b44;
}

.expense-detail-file-card span {
    font-size: 14px;
}

.expense-detail-receipt-toolbar {
    min-height: 50px;
    border-top: 1px solid #e6ebf5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
}

.expense-detail-tool {
    width: 36px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #4c5b77;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.expense-detail-tool.is-active {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f8fbff;
}

.expense-detail-tool--danger {
    color: #ef4444;
}

.expense-detail-tool-separator {
    width: 1px;
    height: 18px;
    background: #e2e8f0;
    margin: 0 4px;
}

.expense-detail-summary {
    padding: 28px 24px;
    display: grid;
    align-content: start;
    gap: 24px;
    background:
        radial-gradient(circle at 12px 12px, rgba(80, 114, 222, 0.05) 2px, transparent 2px) 0 0/28px 28px,
        #fcfdff;
}

.expense-detail-meta {
    display: grid;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e6ebf5;
}

.expense-detail-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-size: 15px;
}

.expense-detail-meta-row strong {
    font-size: 18px;
    font-weight: 700;
}

.expense-detail-amount-block {
    display: grid;
    gap: 10px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e6ebf5;
}

.expense-detail-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border: 1px solid #d7dff0;
    border-radius: 999px;
    padding: 4px 10px;
    background: #fff;
    color: #5d6b86;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.expense-detail-amount-block strong {
    color: #14233d;
    font-size: 28px;
    font-weight: 500;
}

.expense-detail-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid #dfe5f2;
}

.expense-detail-tabs button {
    border: 0;
    background: transparent;
    padding: 0 0 12px;
    color: #1d2840;
    font-size: 16px;
    cursor: pointer;
}

.expense-detail-tabs button.is-active {
    color: #2f72de;
    border-bottom: 2px solid #2f72de;
}

.expense-detail-info {
    display: grid;
}

.expense-detail-info-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid #e6ebf5;
}

.expense-detail-info-row span {
    color: #516177;
    font-size: 16px;
}

.expense-detail-info-row strong {
    color: #0f172a;
    font-size: 16px;
    font-weight: 500;
}

.bulk-expense-panel {
    padding: 12px 0 24px;
}

.expense-field--report {
    max-width: 320px;
    padding: 0 18px;
}

.bulk-grid-wrap {
    margin-top: 12px;
    overflow-x: auto;
    border-top: 1px solid #edf0f5;
}

.bulk-grid-head,
.bulk-grid-row {
    display: grid;
    grid-template-columns: 28px 52px 180px 180px 180px 160px 160px 130px 140px 160px;
    align-items: center;
    min-width: 1360px;
}

.bulk-grid-head {
    min-height: 42px;
    color: #f05a5a;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #edf0f5;
}

.bulk-grid-head > span {
    padding: 0 10px;
}

.bulk-grid-row {
    min-height: 58px;
    border-bottom: 1px solid #edf0f5;
}

.bulk-grid-row > input,
.bulk-grid-row > select,
.bulk-amount-cell input,
.bulk-amount-cell select {
    min-height: 38px;
    border: 1px solid #d7dce8;
    border-radius: 0;
    background: #fff;
    padding: 0 10px;
    color: #2c3445;
    font-size: 14px;
}

.bulk-grid-row > .expense-picker,
.bulk-grid-row > .expense-category-picker {
    align-self: stretch;
    padding: 0 8px;
    min-width: 0;
}

.bulk-grid-row > .expense-picker .expense-picker-popover,
.bulk-grid-row > .expense-category-picker .expense-category-popover {
    width: 100%;
    min-width: 320px;
    max-width: 100%;
}

.expense-picker--compact .expense-picker-toggle,
.expense-category-picker--compact .expense-category-toggle {
    min-height: 38px;
    padding-inline: 10px;
}

.expense-picker--compact .expense-picker-label,
.expense-category-picker--compact .expense-category-label {
    font-size: 13px;
}

.bulk-row-index {
    color: #596276;
    text-align: center;
    font-size: 14px;
}

.bulk-row-add {
    width: 38px;
    height: 38px;
    border: 1px dashed #d6dbe8;
    border-radius: 4px;
    background: #fff;
    color: #51627b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.bulk-amount-cell {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
}

.bulk-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bulk-check input {
    width: 16px;
    height: 16px;
}

.bulk-add-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px 0;
    color: #4f8ef7;
    text-decoration: none;
    font-weight: 700;
}

.cards-from-surface {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-empty-state {
    width: min(100%, 420px);
    display: grid;
    gap: 14px;
    text-align: center;
    padding: 24px 20px 32px;
}

.cards-empty-illustration {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    margin: 0 auto;
    background: #f8f9fd;
    border: 1px solid #e2e7f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f0a52f;
    font-size: 26px;
}

.cards-empty-state h2 {
    margin: 0;
    color: #2d3748;
    font-size: 18px;
    font-weight: 800;
}

.cards-empty-actions {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cards-dropdown--center .cards-dropdown-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.cards-dropdown-item {
    display: block;
    width: 100%;
    text-decoration: none;
}

.bank-modal {
    width: min(92vw, 920px);
}

.bank-modal--selector {
    width: min(92vw, 560px);
}

.bank-modal-header h2 {
    margin: 0;
    color: #2c3344;
    font-size: 18px;
    font-weight: 800;
}

.bank-modal-copy {
    margin: 14px 18px 12px;
    color: #5d6779;
    font-size: 14px;
    line-height: 1.45;
}

.bank-terms-box {
    margin: 0 18px;
    border: 1px solid #e2e7f2;
    border-radius: 8px;
    background: #f6f7fb;
    padding: 12px;
}

.bank-terms-sheet {
    height: 330px;
    overflow: auto;
    background: #fff;
    border: 1px solid #d3d9e7;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    padding: 18px 24px;
}

.bank-terms-sheet h3 {
    margin: 0 0 16px;
    color: #2a3243;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
}

.bank-terms-sheet h4 {
    margin: 16px 0 8px;
    color: #2f3748;
    font-size: 14px;
    font-weight: 800;
}

.bank-terms-sheet p {
    margin: 0 0 10px;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}

.bank-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 18px 0;
    color: #4c5566;
    font-size: 14px;
}

.bank-select {
    display: grid;
    gap: 14px;
    margin: 0 18px;
}

.bank-select-field {
    display: grid;
    gap: 8px;
    width: 100%;
}

.bank-select-field > span {
    color: #68728a;
    font-size: 14px;
    font-weight: 700;
}

.bank-select-field--required > span {
    color: #ef4444;
}

.bank-select-field > input,
.bank-select-field > select,
.bank-select-field > textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    padding: 0 12px;
    background: #fff;
    box-sizing: border-box;
    color: #2e3d59;
    font: inherit;
}

.bank-select-field > textarea {
    min-height: 70px;
    padding: 10px 12px;
    resize: vertical;
}

.bank-modal-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 18px 0;
    border-top: 1px solid #edf0f5;
    margin-top: 18px;
}

.cards-bulk-modal {
    width: min(100%, 920px);
}

.cards-bulk-modal .bank-modal-header {
    min-height: 56px;
    padding: 0 24px;
    border-bottom: 1px solid #edf0f5;
}

.cards-bulk-modal .bank-modal-header h2 {
    font-size: 20px;
    font-weight: 500;
}

.cards-bulk-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 24px 0;
    padding: 12px 16px;
    border-left: 4px solid #ef7f8a;
    border-radius: 4px;
    background: #fbeaed;
    color: #8c3242;
    font-size: 15px;
    line-height: 1.45;
}

.cards-bulk-alert-icon {
    font-size: 20px;
    line-height: 1;
    color: #bf4055;
    flex: 0 0 auto;
}

.cards-bulk-alert-close {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8f5960;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cards-bulk-alert-close:hover {
    background: rgba(143, 89, 96, 0.08);
    color: #5f2d36;
}

.cards-bulk-copy {
    margin: 16px 24px 0;
    color: #5a6480;
    font-size: 16px;
    line-height: 1.4;
}

.cards-bulk-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 24px 0;
}

.cards-bulk-logo-chip {
    width: 68px;
    height: 56px;
    border: 1px solid #e2e7f2;
    border-radius: 8px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.cards-bulk-logo-chip--amex {
    color: #1173d1;
}

.cards-bulk-logo-chip--mastercard {
    color: #e95543;
}

.cards-bulk-logo-chip--visa {
    color: #334f9b;
}

.cards-bulk-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding: 16px 0 0;
    border-top: 1px solid #edf0f5;
}

.cards-bulk-modal .bank-select {
    margin: 12px 24px 0;
    gap: 18px 28px;
}

.cards-bulk-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-bulk-field--full {
    grid-column: 1 / -1;
}

.cards-bulk-field > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ef4444;
    font-size: 16px;
    font-weight: 500;
}

.cards-bulk-help-icon {
    color: #9aa4b7;
    font-size: 12px;
}

.cards-bulk-field > textarea {
    min-height: 118px;
    padding: 10px 12px;
    resize: vertical;
}

.cards-bulk-note {
    margin: 0 24px;
    color: #5b667d;
    font-size: 13px;
    line-height: 1.45;
}

.cards-bulk-modal .bank-modal-footer {
    margin: 2px 24px 0;
    padding: 16px 0 18px;
    border-top: 1px solid #edf0f5;
}

.admin-batch-payments-report-shell {
    width: min(96vw, 1880px);
    max-height: min(92vh, 940px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-batch-payments-report-topbar {
    min-height: 58px;
    padding-inline: 20px;
    align-items: center;
}

.admin-batch-payments-report-title {
    display: grid;
    gap: 2px;
}

.admin-batch-payments-report-title h2 {
    margin: 0;
    color: #24324b;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.admin-batch-payments-report-title p {
    margin: 0;
    color: #5d6c87;
    font-size: 14px;
}

.admin-batch-payments-report-title p strong {
    color: #2f3d59;
    font-weight: 500;
}

.admin-batch-payments-report-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 16px 20px 0;
    background: #fff;
}

.admin-batch-payments-report-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-batch-payments-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d8ddee;
    border-radius: 999px;
    background: #fff;
    color: #2e3d59;
    font-size: 14px;
    box-shadow: none;
}

.admin-batch-payments-filter-pill span {
    color: #5c6780;
}

.admin-batch-payments-filter-pill strong {
    color: #8290ac;
    font-weight: 400;
}

.admin-batch-payments-filter-pill i {
    color: #a2adbe;
}

.admin-batch-payments-filter-pill--more {
    padding-inline: 12px 14px;
    gap: 8px;
}

.admin-batch-payments-filter-pill--more i {
    color: #2a76f6;
}

.admin-batch-payments-filter-link {
    color: #2a76f6;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.admin-batch-payments-filter-link--muted {
    color: #7f8ca7;
}

.admin-batch-payments-report-table {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    border: 1px solid #e4e8f1;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

.admin-batch-payments-report-head {
    display: grid;
    grid-template-columns: 44px 1.12fr 0.8fr 1.1fr 0.75fr 1.1fr 0.95fr 1.12fr;
    align-items: center;
    min-height: 54px;
    padding: 0 14px;
    border-bottom: 1px solid #e4e8f1;
    background: #fafbfe;
    color: #6f7b94;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-batch-payments-report-head span {
    min-width: 0;
}

.admin-batch-payments-report-head input {
    width: 18px;
    height: 18px;
    margin: 0;
    border-radius: 4px;
}

.admin-batch-payments-report-empty {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    color: #5d6f9b;
    font-size: 18px;
    text-align: center;
}

.admin-batch-payments-report-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding: 16px 20px 18px;
    border-top: 1px solid #e9edf5;
    background: #fff;
}

.admin-batch-payments-report-footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-batch-payments-report-footer-right {
    color: #425168;
    font-size: 14px;
    font-weight: 500;
}


.import-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 18px 0;
}

.import-header h1 {
    margin: 0;
    color: #2a3243;
    font-size: 20px;
    font-weight: 800;
}

.import-header .page-close-button {
    position: absolute;
    right: 18px;
    top: 12px;
}

.import-stepper {
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 14px 18px 24px;
    flex-wrap: wrap;
}

.import-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8a94a8;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.import-step strong {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e7edf9;
    color: #5b6a84;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.import-step.is-active,
.import-step.is-complete {
    color: #2d3a52;
}

.import-step.is-active strong {
    background: #4f8ef7;
    color: #fff;
}

.import-step.is-complete strong {
    background: #49b36b;
    color: #fff;
}

.import-form-shell {
    display: flex;
    justify-content: center;
    padding: 0 18px 24px;
}

.import-form {
    width: min(100%, 430px);
    display: grid;
    gap: 14px;
}

.import-field {
    display: grid;
    gap: 6px;
}

.import-field > span {
    color: #f05a5a;
    font-size: 14px;
    font-weight: 700;
}

.import-field input,
.import-field select,
.import-field textarea {
    min-height: 40px;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    padding: 0 12px;
    color: #2c3445;
    font-size: 14px;
    background: #fff;
}

.import-radios {
    display: flex;
    gap: 18px;
    align-items: center;
}

.import-radios label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2d3445;
    font-size: 14px;
}

.import-upload-shell {
    width: min(100%, 500px);
    margin: 0 auto;
    display: grid;
    gap: 14px;
    padding: 0 18px 24px;
}

.import-upload-box {
    border: 1px solid #d9dfec;
    border-radius: 4px;
    background: #fff;
    padding: 18px;
}

.import-upload-target {
    min-height: 300px;
    border: 1px dashed #d6dbe8;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: #5f6d84;
}

.import-upload-target i {
    color: #4f8ef7;
    font-size: 34px;
}

.import-upload-target strong {
    color: #3f4a60;
    font-size: 14px;
    font-weight: 800;
}

.import-upload-target a {
    color: #4f8ef7;
    text-decoration: none;
    font-weight: 700;
}

.import-upload-target small {
    color: #8b94a7;
    font-size: 12px;
}

.import-note {
    margin: 0;
    color: #4c5566;
    font-size: 14px;
}

.bank-terms-check--inline {
    margin: 0;
}

.import-field--compact {
    max-width: 210px;
}

.reports-import-page .page-surface--white {
    min-height: calc(100vh - 58px);
    display: flex;
    flex-direction: column;
    background: #fff;
}

.report-import-shell {
    flex: 1;
    display: grid;
    gap: 24px;
    justify-items: center;
    padding: 0 18px 26px;
}

.report-import-stage {
    width: min(100%, 980px);
}

.report-import-upload-shell {
    width: min(100%, 560px);
}

.report-import-dropzone {
    min-height: 254px;
    padding: 24px 18px;
}

.report-import-file-meta {
    margin-top: 12px;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #3f4a60;
}

.report-import-file-meta.is-hidden {
    display: none;
}

.report-import-file-meta i {
    color: #4f8ef7;
    font-size: 32px;
}

.report-import-file-meta strong {
    font-size: 14px;
    font-weight: 800;
}

.report-import-file-remove {
    border: 0;
    background: transparent;
    color: #4f8ef7;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.report-import-dropzone.is-filled {
    border-color: #dfe5f2;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.report-import-dropzone.is-dragover {
    border-color: #4f8ef7;
    background: #f5f9ff;
}

.report-import-map-shell {
    width: min(100%, 760px);
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.report-import-map-summary {
    display: grid;
    gap: 8px;
}

.report-import-map-summary p {
    margin: 0;
    color: #39455a;
    font-size: 14px;
}

.report-import-map-note {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background: #eaf6ff;
    color: #3d7eb7;
    padding: 0 12px;
    font-size: 13px;
}

.report-import-map-note i {
    font-size: 14px;
}

.report-import-map-count {
    color: #39455a;
}

.report-import-map-count span {
    color: #ff8a3d;
}

.report-import-map-head {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 1fr);
    gap: 18px;
    color: #7d8797;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 0 0;
    border-top: 1px solid #edf0f5;
}

.report-import-map-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 1fr);
    gap: 16px 18px;
    align-items: center;
}

.report-import-map-label {
    color: #525d6f;
    font-size: 14px;
}

.report-import-map-label--required {
    color: #f05a5a;
}

.report-import-map-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 12px;
    align-items: center;
}

.report-import-map-control select {
    min-height: 40px;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    background: #fff;
    color: #2c3445;
    font-size: 14px;
    padding: 0 12px;
}

.report-import-format {
    max-width: 150px;
}

.report-import-finish {
    width: min(100%, 420px);
    margin: 0 auto;
    padding: 36px 28px;
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.report-import-finish-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #e8f8ef;
    color: #31b56a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.report-import-finish h2 {
    margin: 0;
    color: #273042;
    font-size: 22px;
}

.report-import-finish p {
    margin: 0;
    color: #667185;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1180px) {
    .expense-form-layout {
        grid-template-columns: 1fr;
    }

    .expense-receipt-panel {
        min-height: 320px;
    }

    .cards-empty-actions {
        justify-content: flex-start;
    }

    .bulk-grid-wrap {
        border-bottom: 1px solid #edf0f5;
    }

    .trips-page .trips-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 28px;
    }

    .approvals-list-head,
    .approvals-selection-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .approvals-board-grid {
        grid-template-columns: 1fr;
    }

    .approvals-board-card {
        min-height: 420px;
    }

    .advances-register-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 18px;
    }

    .advances-register-col,
    .advances-register-col--amount {
        padding-left: 0;
        border-left: 0;
    }

    .advances-register-action {
        justify-self: start;
    }

    .analytics-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-analytics-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .analytics-picker {
        width: min(100%, 100%);
    }

    .admin-analytics-picker {
        width: min(100%, 100%);
    }

    .expenses-board-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .admin-analytics-grid {
        grid-template-columns: 1fr;
    }

    .analytics-link-grid--expense {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-analytics-links.is-cols-3,
    .admin-analytics-links.is-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-budget-hero {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: auto;
    }

    .admin-budget-copy {
        padding-left: 0;
    }

    .admin-budget-preview-meta {
        flex-direction: column;
        gap: 16px;
    }

    .trips-page .trips-hero-preview {
        justify-content: flex-start;
    }

    .trips-board-header {
        flex-direction: column;
    }

    .trip-board-card-top {
        grid-template-columns: 1fr;
    }

    .trips-board-tabs {
        width: 100%;
    }

    .advance-start-hero {
        grid-template-columns: 1fr;
    }

    .advance-start-copy h1 {
        font-size: 28px;
    }

    .advance-start-flow-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .advance-start-flow-arrow {
        display: none;
    }

    .advance-start-more-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .advance-start-more-item a {
        grid-column: 2;
        justify-self: start;
    }

    .report-import-map-head,
    .report-import-map-grid {
        grid-template-columns: 1fr;
    }

    .report-import-map-control {
        grid-template-columns: 1fr;
    }

    .report-import-format {
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .page-surface--dimmed {
        padding-inline: 12px;
    }

    .trip-modal {
        width: 100%;
    }

    .trip-type-grid {
        grid-template-columns: 1fr;
    }

    .trip-create-surface {
        padding-inline: 12px;
        padding-top: 16px;
    }

    .trip-create-shell {
        grid-template-columns: 1fr;
    }

    .trip-create-panel {
        padding: 18px;
    }

    .budget-flow-modal .bank-modal-header,
    .budget-flow-modal .bank-modal-copy,
    .budget-flow-modal .budget-form,
    .budget-flow-modal .budget-success-message,
    .budget-flow-modal .cards-bulk-alert {
        width: 100%;
    }

    .budget-flow-modal .bank-modal-header,
    .budget-flow-modal .budget-form {
        padding-inline: 16px;
    }

    .budget-form-grid,
    .budget-actuals-options,
    .budget-specific-fields .row {
        grid-template-columns: 1fr;
    }

    .budget-actuals-title-row {
        flex-direction: column;
    }

    .budget-section-note {
        text-align: left;
    }

    .budget-table-topline {
        align-items: flex-start;
    }

    .budget-prefill-trigger--inline {
        margin-left: 0;
    }

    .budget-flow-modal .bank-modal-footer {
        padding-inline: 16px;
    }

    .budget-selector-overlay {
        padding: 12px;
    }

    .budget-selector-dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
    }

    .budget-selector-header,
    .budget-selector-toolbar {
        padding-inline: 14px;
    }

    .budget-selector-list,
    .budget-selector-footer {
        margin-inline: 14px;
    }

    .budget-selector-items {
        padding-inline: 18px 14px;
    }

    .budget-selector-group-body {
        padding-left: 24px;
    }

    .trip-preview-panel {
        position: static;
    }

    .trips-surface {
        padding-inline: 12px;
        padding-top: 16px;
    }

    .trips-page .trips-surface {
        padding-inline: 12px;
        padding-top: 16px;
    }

    .trips-page .trips-hero {
        padding: 16px 0 20px;
        gap: 18px;
    }

    .trips-page .trips-hero-copy h1 {
        font-size: 26px;
    }

    .trips-page .trips-hero-copy p {
        font-size: 14px;
    }

    .trips-page .trips-preview-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .trips-page .trips-preview-tabs button {
        grid-column: 1 / -1;
    }

    .trips-page .trips-preview-journey {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trips-page .trips-preview-stop--right {
        text-align: left;
        justify-items: start;
    }

    .trips-page .trips-preview-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .trips-page .trips-section,
    .trips-page .trips-more-panel {
        padding: 22px 16px;
    }

    .trips-page .trips-flow-row {
        gap: 10px;
    }

    .trips-page .trips-flow-arrow {
        width: 100%;
        text-align: center;
        margin: -2px 0;
    }

    .trips-page .trips-flow-row--top {
        margin-top: 0;
    }

    .trips-page .trips-more-item {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .trips-page .trips-more-item a {
        grid-column: 2;
    }

    .trips-page .trips-flow-card,
    .trips-page .trips-flow-card--approval {
        width: 100%;
        max-width: 240px;
    }

    .trips-page .trips-flow-legend {
        gap: 12px;
    }

    .trips-page .trips-flow-choice {
        width: calc(100% - 12px);
    }

    .trips-getting-started,
    .trips-lower-grid {
        grid-template-columns: 1fr;
    }

    .trips-getting-started-preview {
        padding: 12px;
    }

    .trips-preview-top {
        grid-template-columns: 1fr;
    }

    .trips-preview-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .trip-card-row {
        flex-direction: column;
    }

    .trip-card-row-meta {
        justify-items: start;
        text-align: left;
    }

    .trips-board-panel {
        padding: 18px 16px 16px;
    }

    .trips-board-tabs {
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .trip-board-card {
        padding: 14px;
    }

    .trip-board-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .trip-board-approval {
        flex-wrap: wrap;
    }

    .expense-subnav {
        padding-inline: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .expense-form-layout {
        padding-inline: 14px;
        grid-template-columns: 1fr;
    }

    .expense-amount-row {
        grid-template-columns: 1fr;
    }

    .expense-check-row {
        padding-top: 0;
    }

    .expense-itemize-table {
        overflow-x: auto;
    }

    .expense-itemize-head,
    .expense-itemize-row {
        min-width: 760px;
    }

    .expense-itemize-footer {
        grid-template-columns: 1fr;
    }

    .expense-itemize-total {
        border-left: 0;
        border-top: 1px solid #e3e9f4;
    }

    .expense-actions {
        flex-wrap: wrap;
    }

    .expense-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        padding-inline: 14px;
    }

    .expense-bottom-bar .expense-actions {
        flex-wrap: wrap;
    }

    .expenses-board-empty {
        padding: 34px 18px;
    }

    .expenses-table-wrap {
        overflow-x: auto;
    }

    .expense-start-shell {
        width: 100%;
        padding-top: 20px;
        gap: 28px;
    }

    .expense-start-home,
    .getting-started-expense-view {
        gap: 28px;
    }

    .expense-start-hero {
        grid-template-columns: 1fr;
        padding: 22px 18px;
    }

    .expense-start-preview {
        justify-content: stretch;
    }

    .expense-start-preview-card {
        width: 100%;
    }

    .expense-start-preview-visual {
        grid-template-columns: 1fr;
    }

    .expense-start-receipt {
        border-right: 0;
        border-bottom: 1px dashed #e3e8f3;
    }

    .expense-start-automation {
        grid-template-columns: 1fr;
    }

    .expense-start-how {
        grid-template-columns: 1fr;
    }

    .expense-start-how-arrow {
        display: none;
    }

    .expense-start-how-grid {
        grid-template-columns: 1fr;
    }

    .expense-start-more-item {
        grid-template-columns: 1fr;
    }

    .expense-start-more-item a {
        margin-top: -2px;
    }

    .advance-start-shell {
        width: 100%;
        padding-top: 20px;
        gap: 28px;
    }

    .advance-start-hero {
        padding: 22px 18px;
    }

    .advance-start-preview {
        justify-content: stretch;
    }

    .advance-start-preview-card {
        width: 100%;
    }

    .advance-start-preview-visual {
        grid-template-columns: 1fr;
    }

    .advance-start-preview-right {
        border-top: 1px solid #edf1f8;
    }

    .advance-start-preview-row {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .advance-start-section {
        padding-inline: 16px;
    }

    .advance-start-flow {
        gap: 16px;
    }

    .advance-start-flow-row {
        grid-template-columns: 1fr;
    }

    .advance-start-flow-arrow {
        display: none;
    }

    .advance-start-more-item {
        grid-template-columns: 1fr;
    }

    .advance-start-more-item a {
        margin-top: -2px;
        grid-column: auto;
    }

    .approvals-workspace {
        gap: 14px;
    }

    .approvals-nav,
    .approvals-list-shell {
        padding-inline: 14px;
    }

    .approvals-board-grid {
        padding-inline: 14px;
    }

    .approvals-table {
        min-width: 860px;
    }

    .approvals-table-wrap {
        overflow-x: auto;
    }

.analytics-page .analytics-surface {
    padding-inline: 14px;
}

.admin-analytics-content {
    padding-inline: 14px;
}

.admin-budget-copy h1 {
    font-size: 34px;
}

.admin-budget-copy p {
    font-size: 16px;
}

.admin-budget-table-wrap {
    overflow-x: auto;
}

.analytics-link-grid--expense,
.analytics-link-grid--stacked {
    grid-template-columns: 1fr;
}

.admin-analytics-links.is-cols-3,
.admin-analytics-links.is-cols-2 {
    grid-template-columns: 1fr;
    gap: 16px;
}

    .bank-terms-box,
    .bank-modal-copy,
    .bank-modal-footer,
    .bank-select,
    .cards-bulk-alert,
    .cards-bulk-copy,
    .cards-bulk-logo-row,
    .cards-bulk-note,
    .cards-bulk-modal .bank-modal-footer {
        margin-left: 14px;
        margin-right: 14px;
    }

    .cards-bulk-modal .bank-modal-header {
        padding-inline: 14px;
    }

    .cards-bulk-alert {
        margin-top: 14px;
    }

    .cards-bulk-grid {
        grid-template-columns: 1fr;
    }

    .cards-bulk-field--full {
        grid-column: auto;
    }

    .bulk-grid-head,
.bulk-grid-row {
        min-width: 1220px;
    }
}

.trip-entry-page .trip-type-option {
    appearance: none;
    text-align: left;
}

.trip-entry-page .trip-type-option::before {
    content: none;
}

.trip-entry-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 50px 24px 24px;
    background: rgba(36, 40, 51, 0.64);
    z-index: 40;
}

.trip-entry-modal {
    width: min(876px, 100%);
    max-height: calc(100vh - 74px);
    overflow: auto;
    position: relative;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0 116px, #f5f4ff 116px 100%);
    box-shadow: 0 28px 70px rgba(16, 24, 40, 0.22);
}

.trip-entry-modal::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 58px;
    height: 180px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.52) 0 8%, transparent 8% 18%, rgba(255, 255, 255, 0.42) 18% 28%, transparent 28% 38%, rgba(255, 255, 255, 0.34) 38% 49%, transparent 49% 59%, rgba(255, 255, 255, 0.3) 59% 69%, transparent 69% 100%),
        linear-gradient(180deg, rgba(236, 234, 255, 0.92), rgba(245, 244, 255, 0.18));
    opacity: 0.95;
    pointer-events: none;
}

.trip-entry-hero {
    height: 124px;
}

.trip-entry-hero-surface {
    height: 100%;
}

.trip-entry-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px;
    padding: 0 24px 0 22px;
    border-bottom: 1px solid #eff1f8;
    background: #fff;
    position: relative;
    z-index: 1;
}

.trip-entry-header-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.trip-entry-title-wrap {
    display: grid;
    gap: 4px;
}

.trip-entry-header-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #344055;
    font-size: 18px;
}

.trip-entry-title-wrap h1 {
    margin: 0;
    color: #12233f;
    font-size: 20px;
    font-weight: 500;
}

.trip-entry-close {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8deea;
    border-radius: 50%;
    color: #566378;
    text-decoration: none;
    background: #fff;
}

.trip-entry-banner {
    margin: 16px 20px 0;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
}

.trip-entry-banner--success {
    background: #e8f8ef;
    color: #1f8a4c;
}

.trip-entry-banner--error {
    background: #feecec;
    color: #d14343;
}

.trip-entry-form {
    display: grid;
    gap: 18px;
    padding: 0 26px 20px;
    position: relative;
    z-index: 1;
}

.trip-entry-form--zoho {
    margin-top: -88px;
}

.trip-entry-section {
    display: grid;
    gap: 22px;
    padding: 24px;
    border: 1px solid #dfe5f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.trip-entry-label,
.trip-entry-field > span {
    color: #ef545f;
    font-size: 15px;
    font-weight: 500;
}

.trip-entry-field--muted > span {
    color: #313a4d;
    font-weight: 500;
}

.trip-entry-field {
    display: grid;
    gap: 10px;
}

.trip-entry-field input,
.trip-entry-field textarea,
.trip-country-trigger {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cfd7e8;
    border-radius: 5px;
    background: #fff;
    padding: 0 16px;
    color: #31405d;
    font-size: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.trip-entry-field input {
    max-width: 382px;
}

.trip-entry-field input::placeholder,
.trip-entry-field textarea::placeholder {
    color: #97a3bc;
}

.trip-entry-field textarea {
    min-height: 96px;
    padding: 14px 16px;
    resize: vertical;
}

.trip-entry-field--muted textarea {
    padding-top: 14px;
}

.trip-entry-hint,
.trip-entry-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.trip-entry-hint {
    color: #6b778d;
}

.trip-entry-error {
    color: #d14343;
    font-weight: 600;
}

.trip-type-option {
    position: relative;
    display: block;
    min-height: 110px;
    padding: 18px 18px 18px 42px;
    border: 1px solid #d7deef;
    border-radius: 4px;
    background: #fff;
    text-align: left;
    color: #334155;
    cursor: pointer;
}

.trip-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.trip-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.trip-type-dot {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 14px;
    top: 21px;
    border: 2px solid #b7c1d9;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.trip-type-option.is-selected {
    border-color: #2c6ee6;
    box-shadow: 0 0 0 1px #2c6ee6 inset;
}

.trip-type-option.is-selected .trip-type-dot {
    border-color: #2c6ee6;
    background: radial-gradient(circle at center, #2c6ee6 0 35%, #fff 36% 100%);
}

.trip-type-copy {
    display: grid;
    gap: 6px;
    padding-top: 2px;
    min-width: 0;
}

.trip-type-copy strong {
    font-size: 17px;
    font-weight: 700;
    color: #26324c;
    line-height: 1.25;
}

.trip-type-copy small {
    color: #6d7a92;
    font-size: 15px;
    line-height: 1.45;
}

.trip-type-option:focus-visible,
.trip-country-trigger:focus-visible,
.trip-country-option:focus-visible,
.trip-visa-option:focus-visible,
.trip-planner-pill:focus-visible,
.trip-planner-add:focus-visible,
.trip-planner-remove:focus-visible,
.trip-tab:focus-visible,
.trip-action-icon:focus-visible {
    outline: 2px solid #4f8ef7;
    outline-offset: 2px;
}

.trip-country-picker {
    position: relative;
}

.trip-country-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    color: #97a3bc;
}

.trip-country-trigger span {
    min-width: 0;
}

.trip-country-trigger.has-value {
    color: #31405d;
}

.trip-country-trigger.is-open {
    border-color: #5d93f8;
    box-shadow: 0 0 0 1px #5d93f8;
}

.trip-country-trigger.is-open i {
    transform: rotate(180deg);
}

.trip-entry-inline-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: 12px;
    align-items: end;
}

.trip-entry-inline-grid.is-hidden {
    display: none;
}

.trip-entry-field-label-dark {
    color: #313a4d !important;
}

.trip-country-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 10px 8px 8px;
    border: 1px solid #dbe3f4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.18);
    z-index: 30;
    display: grid;
    gap: 8px;
}

.trip-country-menu[hidden] {
    display: none !important;
}

.trip-country-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #5d93f8;
    border-radius: 6px;
    background: #fff;
    color: #8d9ab1;
}

.trip-country-search {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: #31405d;
    font-size: 15px;
}

.trip-country-search:focus {
    outline: none;
}

.trip-country-list {
    display: grid;
    gap: 2px;
    max-height: 280px;
    overflow: auto;
}

.trip-country-option {
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #22304a;
    font-size: 16px;
    text-align: left;
    padding: 12px 14px;
    cursor: pointer;
}

.trip-country-option:hover,
.trip-country-option.is-selected {
    background: #2c6ee6;
    color: #fff;
}

.trip-country-empty {
    padding: 10px 12px;
    color: #6d7a92;
    font-size: 14px;
}

.trip-visa-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    min-height: 46px;
    align-items: center;
    padding-top: 2px;
}

.trip-visa-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #313a4d;
    font-size: 16px;
    cursor: pointer;
}

.trip-visa-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.trip-visa-dot {
    width: 22px;
    height: 22px;
    border: 1.8px solid #afbbd8;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.trip-visa-option.is-selected .trip-visa-dot {
    border-color: #2c6ee6;
    background: radial-gradient(circle at center, #2c6ee6 0 35%, #fff 36% 100%);
}

.trip-entry-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 26px 24px;
}

.trip-entry-actions .trip-submit-button {
    min-height: 44px;
    border-radius: 4px;
    padding: 0 16px;
    background: #3f82f3;
}

.trip-entry-actions .trip-submit-button:hover {
    background: #2e74ea;
}

.trip-entry-actions .trip-secondary-button {
    min-height: 44px;
    border-radius: 4px;
}

.trip-entry-divider {
    height: 1px;
    margin: 4px 26px 0;
    background: #e6eaf2;
}

.trip-submit-button {
    min-height: 44px;
    border: 0;
    border-radius: 4px;
    padding: 0 16px;
    background: #3f82f3;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.trip-submit-button:hover {
    background: #2e74ea;
}

.trip-secondary-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cad4e7;
    border-radius: 4px;
    padding: 0 16px;
    background: #fff;
    color: #2e3b52;
    font-weight: 500;
    text-decoration: none;
}

.trip-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
    padding: 24px 24px 36px;
}

.trip-detail-layout.is-approved-view {
    grid-template-columns: minmax(0, 1fr) 280px;
}

.trip-detail-main {
    min-width: 0;
}

.trip-detail-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.trip-detail-title-block h1 {
    margin: 0;
    color: #233048;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.trip-detail-approval-mark {
    color: #293345;
    font-size: 22px;
}

.trip-detail-subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 6px;
}

.trip-detail-number {
    color: #4f5970;
    font-size: 14px;
    font-weight: 700;
}

.trip-detail-status {
    border-radius: 999px;
    background: #eef4ff;
    color: #2d63d2;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
}

.trip-detail-layout.is-approved-view .trip-detail-status {
    background: #ddf7ea;
    color: #18a06a;
}

.trip-detail-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trip-action-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e1ef;
    border-radius: 8px;
    background: #fff;
    color: #5d6b82;
    text-decoration: none;
    cursor: pointer;
}

.trip-submit-button {
    min-height: 36px;
    border: 0;
    border-radius: 8px;
    padding: 0 18px;
    background: #4f8ef7;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.trip-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.trip-submit-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1250;
    padding: 18px;
}

.trip-submit-modal.is-open {
    display: flex;
}

.trip-submit-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 28, 40, 0.56);
}

.trip-submit-panel {
    position: relative;
    width: min(100%, 624px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
    z-index: 1;
    overflow: visible;
    max-height: calc(100vh - 36px);
}

.trip-submit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 22px;
    border-bottom: 1px solid #eceff6;
    background: #fff;
}

.trip-submit-header strong {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
}

.trip-submit-close {
    width: 30px;
    height: 30px;
    border: 1px solid #d9dfec;
    border-radius: 50%;
    background: #fff;
    color: #667085;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
}

.trip-submit-dialog-form {
    display: grid;
    gap: 16px;
    padding: 20px 24px 20px;
    overflow: visible;
}

.trip-submit-field {
    position: relative;
    display: grid;
    gap: 10px;
    color: #344054;
    font-size: 14px;
}

.trip-submit-field span {
    font-weight: 500;
}

.trip-submit-picker-shell {
    position: relative;
    display: block;
    cursor: pointer;
}

.trip-submit-picker {
    min-height: 46px;
    width: 100%;
    border: 1px solid #cfd7e6;
    border-radius: 6px;
    padding: 0 48px 0 14px;
    background: #fff;
    color: #22304a;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    text-align: left;
    box-shadow: none;
    position: relative;
}

.trip-submit-picker.is-selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

.trip-submit-picker.has-chip {
    justify-content: space-between;
}

.trip-submit-picker:disabled {
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
}

.trip-submit-picker-label {
    display: grid;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.3;
}

.trip-submit-picker.has-chip .trip-submit-picker-label {
    background: transparent;
    color: #22304a;
    border-radius: 0;
    padding: 0;
    min-height: 0;
    max-width: calc(100% - 28px);
    font-weight: 500;
    display: block;
    max-width: 100%;
}

.trip-submit-picker-label strong,
.trip-submit-picker-label span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trip-submit-picker-label strong {
    font-size: 15px;
    font-weight: 400;
    color: #98a2b3;
}

.trip-submit-picker-label span {
    color: #5b6d8b;
    font-size: 12px;
    font-weight: 600;
}

.trip-submit-picker.has-chip .trip-submit-picker-label span {
    color: #4d5d77;
}

.trip-submit-picker.has-chip .trip-submit-picker-label strong {
    color: #1f2937;
    font-weight: 500;
}

.trip-submit-picker.has-chip .trip-submit-picker-label strong,
.trip-submit-picker.has-chip .trip-submit-picker-label span {
    display: inline;
    white-space: nowrap;
}

.trip-submit-picker-clear {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    padding: 0;
    z-index: 2;
}

.trip-submit-picker-clear[hidden] {
    display: none !important;
}

.trip-submit-picker-clear:hover {
    color: #dc2626;
}

.trip-submit-picker .fa-chevron-down,
.trip-submit-picker-caret {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
    font-size: 12px;
    pointer-events: none;
}

.trip-submit-picker-popover {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    padding: 8px;
    border: 1px solid #d5deed;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    display: grid;
    gap: 8px;
    z-index: 25;
}

.trip-submit-picker-popover[hidden] {
    display: none !important;
}

.trip-submit-picker-search {
    width: 100%;
    min-height: 40px;
    border: 1px solid #6ea0ff;
    border-radius: 6px;
    padding: 0 12px;
    background: #f6f8ff;
    outline: none;
    font-size: 14px;
    color: #22304a;
}

.trip-submit-picker-search:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.trip-submit-picker-list {
    display: grid;
    gap: 8px;
    max-height: 214px;
    overflow: auto;
    padding-right: 2px;
}

.trip-submit-picker-empty {
    padding: 10px 12px;
    color: #64748b;
    font-size: 13px;
}

.trip-submit-picker-option {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 6px;
    padding: 10px 12px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    color: #23324e;
}

.trip-submit-picker-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #e8eef9;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trip-submit-picker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trip-submit-picker-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.trip-submit-picker-copy strong {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.trip-submit-picker-copy span {
    font-size: 13px;
    color: #4d5d77;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trip-submit-picker-email-line {
    cursor: pointer;
    color: #2563eb;
    text-decoration: none;
    text-underline-offset: 2px;
}

.trip-submit-picker-option:hover,
.trip-submit-picker-option.is-selected {
    background: linear-gradient(180deg, #2f74de 0%, #2b6fd7 100%);
    color: #fff;
}

.trip-submit-picker-option:hover span,
.trip-submit-picker-option.is-selected span {
    color: rgba(255, 255, 255, 0.9);
}

.trip-submit-help {
    margin: 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.45;
}

.trip-submit-help-link {
    border: 0;
    background: transparent;
    padding: 0;
    color: #2563eb;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.trip-submit-signed-in,
.trip-approver-signed-in {
    margin: 10px 0 0;
    color: #6a778b;
    font-size: 12px;
    line-height: 1.4;
}

.trip-submit-signed-in {
    display: none;
}

.trip-submit-signed-in strong,
.trip-approver-signed-in strong {
    color: #233048;
    font-weight: 800;
}

.trip-submit-error {
    margin: -4px 0 0;
    color: #d14343;
    font-size: 12px;
    min-height: 16px;
}

.trip-submit-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #eef2f6;
    position: relative;
    z-index: 1;
}

.trip-submit-confirm,
.trip-submit-cancel {
    min-height: 44px;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.trip-submit-confirm {
    border: 0;
    background: #3b82f6;
    color: #fff;
}

.trip-submit-confirm:disabled {
    background: #9bc0fb;
    opacity: 1;
    cursor: not-allowed;
}

.trip-submit-cancel {
    border: 1px solid #d0d7e5;
    background: #fff;
    color: #344054;
}

.trip-submit-field.is-invalid .trip-submit-picker {
    border-color: #d14343;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(209, 67, 67, 0.16);
}

.trip-more-menu {
    position: relative;
}

.trip-more-popover {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 180px;
    border: 1px solid #dbe3f4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.18);
    z-index: 10;
}

.trip-more-menu.is-open .trip-more-popover {
    display: block;
}

.trip-location-popover {
    position: fixed;
    z-index: 50;
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid #dbe3f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.18);
}

.trip-location-search {
    width: 100%;
    min-height: 38px;
    border: 1px solid #cfd8ea;
    border-radius: 8px;
    padding: 0 12px;
}

.trip-location-list {
    max-height: 250px;
    overflow: auto;
    display: grid;
    gap: 6px;
}

.trip-location-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border: 0;
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
}

.trip-location-option:hover {
    background: #eef4ff;
}

.trip-location-option-main {
    min-width: 0;
    display: grid;
}

.trip-location-option-main strong {
    color: #243047;
    font-size: 14px;
    font-weight: 800;
}

.trip-location-option-main small {
    color: #6a778b;
    font-size: 12px;
    margin-top: 2px;
}

.trip-location-option-country {
    color: #51627b;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.trip-location-empty {
    padding: 10px 12px;
    color: #6a778b;
    font-size: 13px;
}

.trip-preference-popover {
    position: fixed;
    z-index: 50;
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid #dbe3f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.18);
}

.trip-preference-popover[hidden] {
    display: none !important;
}

.trip-preference-search {
    width: 100%;
    min-height: 38px;
    border: 1px solid #cfd8ea;
    border-radius: 8px;
    padding: 0 12px;
}

.trip-preference-list {
    max-height: 250px;
    overflow: auto;
    display: grid;
    gap: 6px;
}

.trip-preference-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 0;
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
}

.trip-preference-option:hover,
.trip-preference-option.is-selected {
    background: #eef4ff;
}

.trip-preference-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5d6b82;
    font-size: 14px;
}

.trip-preference-option-main {
    min-width: 0;
    display: grid;
}

.trip-preference-option-main strong {
    color: #243047;
    font-size: 14px;
    font-weight: 800;
}

.trip-preference-empty {
    padding: 10px 12px;
    color: #6a778b;
    font-size: 13px;
}

.trip-more-popover a,
.trip-more-popover button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #243047;
    text-decoration: none;
    padding: 10px 12px;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.trip-more-popover .is-danger {
    color: #d14343;
}

.trip-overview-card,
.trip-tabs,
.trip-documents-panel {
    padding: 22px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}

.trip-documents-panel--approval {
    padding-top: 0;
}

.trip-traveler-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e6ebf5;
    border-radius: 10px;
    background: #fff;
}

.trip-traveler-card-top {
    height: 48px;
    background: linear-gradient(180deg, #edf0fb 0%, #e8ebf8 100%);
}

.trip-traveler-card-body {
    display: grid;
    justify-items: start;
    padding: 0 18px 18px;
}

.trip-traveler-avatar {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.trip-traveler-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trip-traveler-card-body strong {
    margin-top: 12px;
    color: #243047;
    font-size: 18px;
    font-weight: 700;
}

.trip-traveler-card-body span {
    margin-top: 4px;
    color: #4f5f79;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trip-traveler-link {
    margin-top: 18px;
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
}

.trip-approval-side-section {
    margin-top: 26px;
}

.trip-approver-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    min-height: 34px;
    padding: 0 12px 0 6px;
    border: 1px solid #d9e1ef;
    border-radius: 999px;
    background: #fff;
    color: #1f2b3d;
    font-size: 14px;
}

.trip-approver-chip img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.trip-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 32px;
}

.trip-overview-grid span {
    display: block;
    margin-bottom: 6px;
    color: #6a778b;
    font-size: 13px;
}

.trip-overview-grid strong {
    color: #243047;
    font-size: 14px;
    font-weight: 800;
}

.trip-tabs {
    margin-top: 18px;
    padding: 18px 0 0;
}

.trip-tab-bar {
    display: flex;
    gap: 22px;
    padding: 0 18px;
    border-bottom: 1px solid #eef2fb;
    margin-bottom: 0;
    background: #f8faff;
    border-radius: 14px;
    min-height: 48px;
    align-items: flex-end;
}

.trip-tab {
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    padding: 12px 2px 11px;
    border-radius: 0;
    color: #233048;
    font-weight: 700;
    cursor: pointer;
}

.trip-tab.is-active {
    border-bottom-color: #4f8ef7;
    color: #4f8ef7;
    box-shadow: none;
}

.trip-tab-panel {
    display: none;
    padding-top: 18px;
}

.trip-tab-panel.is-active {
    display: block;
}

.trip-itinerary-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-height: 320px;
    text-align: center;
    padding: 28px 0 20px;
}

.trip-itinerary-empty-illustration {
    width: 128px;
    height: 128px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(180deg, #edf3ff, #ffffff);
    color: #8ba4ea;
    font-size: 44px;
}

.trip-itinerary-empty h2 {
    margin: 0;
    color: #233048;
    font-size: 20px;
    font-weight: 800;
}

.trip-itinerary-empty p {
    max-width: 420px;
    margin: 0;
    color: #6a778b;
    line-height: 1.55;
}

.trip-itinerary-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 14px;
}

.trip-itinerary-button {
    min-height: 36px;
    border: 1px solid #c9d5ef;
    border-radius: 8px;
    background: #fff;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2d63d2;
    text-decoration: none;
    font-weight: 700;
}

.trip-itinerary-button.is-primary {
    border-color: #4f8ef7;
    background: #4f8ef7;
    color: #fff;
}

.trip-itinerary-list {
    display: grid;
    gap: 14px;
}

.trip-itinerary-addbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin: 0 0 14px;
}

.trip-itinerary-addbar-label {
    color: #51607c;
    font-size: 14px;
    font-weight: 700;
}

.trip-itinerary-addbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trip-itinerary-addpill {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #c9d5ef;
    border-radius: 8px;
    background: #fff;
    color: #2d63d2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 0 12px;
}

.trip-itinerary-addpill.is-primary {
    border-style: solid;
    border-color: #4f8ef7;
    background: #f7fbff;
}

.trip-itinerary-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 20px;
    align-items: start;
}

.trip-itinerary-content {
    min-width: 0;
}

.trip-itinerary-mode {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.trip-itinerary-mode-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.trip-itinerary-mode-head span {
    display: block;
    color: #233048;
    font-size: 18px;
    font-weight: 800;
}

.trip-itinerary-mode-head strong {
    display: block;
    color: #6a778b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.trip-itinerary-card {
    border: 1px solid #e6ebf5;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.04);
}

.trip-itinerary-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
}

.trip-itinerary-card-title {
    display: grid;
    gap: 8px;
}

.trip-itinerary-card-title strong {
    color: #233048;
    font-size: 15px;
    font-weight: 800;
}

.trip-itinerary-badge {
    border-radius: 999px;
    background: #eef4ff;
    color: #2d63d2;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
}

.trip-itinerary-card-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 12px;
}

.trip-itinerary-mini-button {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9d5ef;
    border-radius: 8px;
    background: #fff;
    color: #2d63d2;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 0 12px;
}

.trip-itinerary-card-body {
    padding: 0 16px 16px;
}

.trip-itinerary-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 0;
}

.trip-itinerary-detail-item dt {
    color: #7b8798;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.trip-itinerary-detail-item dd {
    margin: 5px 0 0;
    color: #243047;
    font-size: 14px;
    font-weight: 700;
}

.trip-itinerary-description {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef2fb;
}

.trip-itinerary-description strong {
    display: block;
    color: #7b8798;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.trip-itinerary-description p {
    margin: 6px 0 0;
    color: #4f5970;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.trip-itinerary-rail {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 10px;
    padding: 10px 8px;
    border: 1px solid #dbe3f4;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f7faff);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.trip-itinerary-rail-item {
    width: 44px;
    min-height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid #dbe3f4;
    border-radius: 14px;
    background: #f8fbff;
    color: #243047;
    cursor: pointer;
    padding: 0;
}

.trip-itinerary-rail-item i {
    color: #6d7ea5;
    font-size: 16px;
}

.trip-itinerary-rail-item.is-active {
    border-color: #4f8ef7;
    background: #eef4ff;
    box-shadow: 0 0 0 2px rgba(79, 142, 247, 0.12);
}

.trip-itinerary-rail-item.is-empty {
    opacity: 0.45;
}

.trip-itinerary-rail-item:disabled {
    cursor: not-allowed;
}

.trip-itinerary-shell .trip-itinerary-actions {
    justify-content: flex-start;
    margin-top: 2px;
}

.trip-history-list {
    display: grid;
    gap: 12px;
}

.trip-history-item {
    border: 1px solid #e6ebf5;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}

.trip-history-item strong {
    display: block;
    color: #233048;
    font-size: 14px;
}

.trip-history-item p {
    margin: 8px 0 0;
    color: #4f5970;
    line-height: 1.5;
}

.trip-history-item span {
    display: block;
    margin-top: 10px;
    color: #7b8798;
    font-size: 12px;
}

.trip-related-list {
    display: grid;
    gap: 14px;
}

.trip-empty-state {
    min-height: 430px;
    display: grid;
    place-items: center;
    align-content: center;
    justify-items: center;
    gap: 12px;
    text-align: center;
    padding: 40px 20px 20px;
    background: #fff;
}

.trip-empty-state-icon {
    width: 120px;
    height: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, #f2f6ff 0%, #ffffff 68%);
    color: #f0b23a;
    font-size: 44px;
}

.trip-empty-state-icon--green {
    color: #4cb245;
}

.trip-empty-state h2 {
    margin: 0;
    color: #41506a;
    font-size: 22px;
    font-weight: 500;
}

.trip-empty-state p {
    max-width: 440px;
    margin: 0;
    color: #6f7b91;
    line-height: 1.55;
    font-size: 14px;
}

.trip-empty-state-button {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: #4f8ef7;
    color: #fff;
    padding: 0 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(79, 142, 247, 0.25);
}

.trip-related-item,
.trip-related-empty {
    border: 1px solid #e6ebf5;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.trip-related-empty {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.trip-related-empty h2 {
    margin: 0;
    color: #233048;
    font-size: 18px;
    font-weight: 800;
}

.trip-related-empty p,
.trip-related-empty-note,
.trip-related-description,
.trip-related-note {
    margin: 0;
    color: #6a778b;
    line-height: 1.5;
    font-size: 13px;
}

.trip-related-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.trip-related-item-head strong {
    color: #233048;
    font-size: 14px;
    font-weight: 800;
}

.trip-related-pill {
    border-radius: 999px;
    background: #eef4ff;
    color: #2d63d2;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    white-space: nowrap;
}

.trip-related-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 10px;
}

.trip-related-meta span {
    color: #6a778b;
    font-size: 12px;
    font-weight: 700;
}

.trip-related-link {
    display: inline-flex;
    margin-top: 10px;
    color: #2d63d2;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.trip-related-link--button {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.trip-sidebar-section {
    border: 1px solid #e6ebf5;
    border-radius: 16px;
    background: #fff;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.trip-sidebar-section > strong {
    display: block;
    margin-bottom: 12px;
    color: #233048;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.trip-approver-person {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.trip-approver-person.is-approved {
    grid-template-columns: minmax(0, 1fr);
}

.trip-approver-person.is-approved .trip-approver-avatar {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.trip-approver-person.is-approved > div {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.trip-approver-avatar {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef4ff;
    color: #2d63d2;
    font-size: 16px;
}

.trip-approver-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trip-approver-person strong {
    display: block;
    color: #233048;
    font-size: 14px;
    font-weight: 800;
}

.trip-approver-person span,
.trip-approver-person small {
    display: block;
    color: #6a778b;
    font-size: 12px;
    margin-top: 2px;
}

.trip-documents-panel {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trip-documents-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
}

.trip-documents-add {
    width: 28px;
    height: 28px;
    border: 1px solid #c9d5ef;
    border-radius: 6px;
    background: #fff;
    color: #2d63d2;
    cursor: pointer;
}

.trip-documents-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    border: 1px dashed #dbe3f4;
    border-radius: 14px;
    color: #7b8798;
    background: #fafcff;
}

.trip-documents-form {
    display: none;
}

.trip-documents-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.trip-document-item {
    border: 1px solid #e6ebf5;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}

.trip-document-item strong {
    display: block;
    color: #243047;
    font-size: 14px;
}

.trip-document-item span {
    display: block;
    margin-top: 6px;
    color: #7b8798;
    font-size: 12px;
}

.trip-documents-actions {
    margin-top: 14px;
}

.trip-documents-actions a {
    color: #2d63d2;
    text-decoration: none;
    font-weight: 700;
}

.trip-comments-drawer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 45;
}

.trip-approval-drawer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 50;
}

.trip-approval-drawer.is-open {
    display: block;
}

.trip-approval-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 29, 46, 0.42);
}

.trip-approval-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(430px, 100%);
    height: 100%;
    background: #fff;
    box-shadow: -20px 0 48px rgba(16, 24, 40, 0.18);
    display: flex;
    flex-direction: column;
}

.trip-approval-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 22px 18px;
}

.trip-approval-drawer-header strong {
    color: #1f2937;
    font-size: 24px;
    font-weight: 800;
}

.trip-approval-drawer-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #eef2f7;
    color: #667085;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.trip-approval-drawer-body {
    padding: 0 18px 22px;
}

.trip-approval-summary-card {
    position: relative;
    padding: 18px 18px 22px;
    background: #fff;
    border: 1px solid #ebf0f7;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.trip-approval-summary-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: calc(100% - 32px);
    height: 34px;
    background: #fff;
    border-left: 1px solid #23c58c;
    border-right: 1px solid #23c58c;
    border-bottom: 1px solid #23c58c;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(-50%);
}

.trip-approval-summary-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    padding: 5px 12px;
    border-radius: 4px;
    background: #dcf7ea;
    color: #20a874;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.trip-approval-summary-person {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.trip-approval-summary-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 2px #d7f5e8;
}

.trip-approval-summary-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trip-approval-summary-person strong {
    display: block;
    color: #3a4760;
    font-size: 18px;
    font-weight: 500;
}

.trip-approval-summary-person span {
    display: block;
    margin-top: 2px;
    color: #5d6b82;
    font-size: 14px;
}

.trip-approval-summary-dates {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e8edf5;
}

.trip-approval-summary-dates p {
    margin: 0 0 6px;
    color: #49566e;
    font-size: 13px;
}

.trip-itinerary-mini-button.is-ghost {
    border: 1px solid #d9e1ef;
    background: #fff;
    color: #5d6b82;
}

.trip-comments-drawer.is-open {
    display: block;
}

.trip-comments-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 29, 46, 0.46);
}

.trip-comments-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(380px, 100%);
    height: 100%;
    background: #fff;
    box-shadow: -18px 0 42px rgba(16, 24, 40, 0.18);
    display: flex;
    flex-direction: column;
}

.trip-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #eef2fb;
}

.trip-comments-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f1f4fb;
    color: #5d6b82;
    cursor: pointer;
}

.trip-comments-form {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.trip-comments-form textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid #d8e0ef;
    border-radius: 12px;
    padding: 12px;
    resize: vertical;
}

.trip-comments-form .trip-primary {
    width: fit-content;
}

.trip-planner-shell {
    padding: 24px;
}

.trip-planner-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.trip-planner-kicker {
    margin: 0 0 4px;
    color: #7b8798;
    font-size: 12px;
}

.trip-planner-head h1 {
    margin: 0;
    color: #233048;
    font-size: 24px;
    font-weight: 800;
}

.trip-planner-close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e1ef;
    border-radius: 50%;
    color: #6a778b;
    text-decoration: none;
    background: #fff;
}

.trip-planner-layout {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 280px;
    gap: 18px;
}

.trip-planner-rail {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 10px;
    border: 1px solid #dbe3f4;
    border-radius: 18px;
    background: #fff;
    position: sticky;
    top: 24px;
}

.trip-planner-rail-item {
    min-height: 88px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #243047;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
}

.trip-planner-rail-item i {
    font-size: 18px;
    color: #6d7ea5;
}

.trip-planner-rail-item.is-active {
    border-color: #d7e3fb;
    background: #f4f8ff;
    color: #2d63d2;
}

.trip-planner-rail-item.is-active i {
    color: #2d63d2;
}

.trip-planner-main {
    min-width: 0;
}

.trip-planner-form {
    display: grid;
    gap: 16px;
}

.trip-planner-section {
    padding: 18px 18px 20px;
    border: 1px solid #dbe3f4;
    border-radius: 18px;
    background: #fff;
}

.trip-planner-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.trip-planner-section-head h2 {
    margin: 0;
    color: #233048;
    font-size: 28px;
    font-weight: 800;
}

.trip-planner-swap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trip-planner-pill {
    border: 1px solid #d9e1ef;
    border-radius: 6px;
    background: #fff;
    padding: 8px 12px;
    color: #233048;
    font-weight: 700;
    cursor: pointer;
}

.trip-planner-pill.is-active {
    border-color: #4f8ef7;
    background: #eef4ff;
    color: #2d63d2;
}

.trip-planner-rows {
    display: grid;
    gap: 14px;
}

.trip-planner-card {
    border: 1px solid #dbe3f4;
    border-radius: 16px;
    background: #fff;
    padding: 14px;
}

.trip-planner-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.trip-planner-remove {
    width: 30px;
    height: 30px;
    border: 1px solid #f1c8c8;
    border-radius: 6px;
    background: #fff;
    color: #e15b5b;
    cursor: pointer;
}

.trip-planner-grid {
    display: grid;
    gap: 12px;
}

.trip-planner-grid--flight {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trip-planner-grid--hotel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trip-planner-grid--car-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trip-planner-grid--car-dates {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trip-planner-grid--basic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trip-planner-grid label {
    display: grid;
    gap: 8px;
    color: #ef6670;
    font-size: 14px;
    font-weight: 700;
}

.trip-planner-location-field {
    position: relative;
}

.trip-planner-date-field {
    position: relative;
}

.trip-planner-date-wrap {
    position: relative;
    display: block;
}

.trip-planner-date-wrap input[type="date"] {
    padding-right: 40px;
}

.trip-planner-date-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7890;
    pointer-events: none;
    font-size: 14px;
}

.trip-planner-grid label span,
.trip-planner-description span {
    color: #ef6670;
    font-size: 14px;
    font-weight: 700;
}

.trip-planner-grid input,
.trip-planner-description textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d8e0ef;
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
    color: #243047;
    font-size: 14px;
}

.trip-planner-description {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.trip-planner-description textarea {
    min-height: 82px;
    padding: 12px;
    resize: vertical;
}

.trip-planner-location-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    display: flex;
    flex-direction: column;
    border: 1px solid #d8e0ef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    z-index: 40;
    max-height: 280px;
    overflow: hidden;
}

.trip-planner-location-menu[hidden] {
    display: none !important;
}

.trip-planner-location-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #e6ebf5;
    background: #f8faff;
}

.trip-planner-location-search i {
    color: #97a3b8;
    font-size: 13px;
    flex: 0 0 auto;
}

.trip-planner-location-search-input {
    flex: 1 1 auto;
    border: 0;
    outline: none;
    background: transparent;
    color: #243047;
    font-size: 14px;
    min-height: 22px;
    padding: 0;
}

.trip-planner-location-search-input::placeholder {
    color: #97a3b8;
}

.trip-planner-location-results {
    display: grid;
    gap: 2px;
    padding: 6px;
    overflow: auto;
    max-height: 220px;
}

.trip-planner-location-option {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    padding: 10px 12px;
    text-align: left;
    color: #243047;
    cursor: pointer;
    display: grid;
    gap: 3px;
}

.trip-planner-location-option:hover,
.trip-planner-location-option:focus-visible {
    background: #f3f7ff;
    outline: none;
}

.trip-planner-location-option strong {
    font-size: 14px;
    font-weight: 800;
}

.trip-planner-location-option span,
.trip-planner-location-empty {
    color: #6a778b;
    font-size: 12px;
    line-height: 1.4;
}

.trip-planner-location-empty {
    padding: 10px 12px;
}

.trip-planner-wide {
    grid-column: 1 / -1;
}

.trip-planner-preferences {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.trip-planner-preferences--car {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trip-planner-car-stack {
    display: grid;
    gap: 12px;
}

.trip-planner-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trip-planner-add {
    margin-top: 12px;
    border: 1px solid #c9d5ef;
    border-radius: 8px;
    background: #fff;
    padding: 10px 14px;
    color: #2d63d2;
    font-weight: 700;
    cursor: pointer;
}

.trip-planner-summary {
    position: sticky;
    top: 24px;
    padding: 18px;
}

.trip-planner-summary > strong {
    display: block;
    margin-bottom: 10px;
    color: #233048;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.trip-planner-summary > p {
    color: #6a778b;
}

.trip-planner-summary-list {
    display: grid;
    gap: 10px;
}

.trip-planner-summary-item {
    border: 1px solid #e6ebf5;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}

.trip-planner-summary-item span {
    display: block;
    color: #7b8798;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.trip-planner-summary-item strong {
    display: block;
    margin-top: 6px;
    color: #233048;
    font-size: 14px;
}

@media (max-width: 1180px) {
    .trip-detail-layout,
    .trip-planner-layout {
        grid-template-columns: 1fr;
    }

    .trip-documents-panel,
    .trip-planner-summary,
    .trip-planner-rail {
        position: static;
    }
}

@media (max-width: 760px) {
    .trip-entry-backdrop {
        padding: 12px;
    }

    .trip-entry-modal {
        max-height: calc(100vh - 24px);
    }

    .trip-entry-modal-header,
    .trip-entry-form,
    .trip-entry-banner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .trip-entry-two-col,
    .trip-entry-inline-grid,
    .trip-overview-grid,
    .trip-planner-grid--flight,
    .trip-planner-grid--hotel,
    .trip-planner-grid--car-locations,
    .trip-planner-grid--car-dates,
    .trip-planner-grid--basic,
    .trip-planner-preferences,
    .trip-planner-preferences--car,
    .trip-itinerary-detail-grid {
        grid-template-columns: 1fr;
    }

    .trip-itinerary-shell {
        grid-template-columns: 1fr;
    }

    .trip-itinerary-rail {
        position: static;
        grid-auto-flow: column;
        grid-template-columns: repeat(6, minmax(44px, 1fr));
        overflow-x: auto;
    }

    .trip-itinerary-addbar {
        align-items: flex-start;
    }

    .trip-detail-header,
    .trip-planner-head,
    .trip-planner-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .trip-comments-panel {
        width: 100%;
    }
}

.trips-recent-panel {
    margin-top: 20px;
    padding: 20px;
}

.trips-recent-list {
    display: grid;
    gap: 12px;
}

.trips-recent-item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #e6ebf5;
    border-radius: 14px;
    background: #fff;
    color: #243047;
    text-decoration: none;
}

.trips-recent-item strong {
    font-size: 15px;
}

.trips-recent-item span,
.trips-recent-item small {
    color: #6a778b;
}

.trips-recent-empty {
    margin: 0;
    color: #6a778b;
}

.trips-board-panel {
    margin-top: 20px;
    padding: 22px 20px 20px;
}

.trips-board-header {
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.trips-board-header > div {
    display: grid;
    gap: 6px;
}

.trips-board-header p {
    margin: 0;
    max-width: 760px;
    color: #6a778b;
    font-size: 14px;
    line-height: 1.55;
}

.trips-board-action {
    flex-shrink: 0;
}

.trips-board-tabs {
    display: inline-flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e7ecf6;
}

.trips-board-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 14px;
    color: #70809a;
    text-decoration: none;
    font-weight: 800;
}

.trips-board-tab strong {
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef3fb;
    color: #4b5e7e;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
}

.trips-board-tab.is-active {
    color: #4f8ef7;
}

.trips-board-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 999px;
    background: #4f8ef7;
}

.trips-board-tab.is-active strong {
    background: #eaf2ff;
    color: #4f8ef7;
}

.trips-board-list {
    display: grid;
    gap: 12px;
}

.trip-board-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e2e8f4;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    text-decoration: none;
    color: #243047;
    box-shadow: 0 8px 26px rgba(17, 24, 39, 0.04);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.trip-board-card:hover {
    transform: translateY(-1px);
    border-color: #cfdaf0;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.trip-board-card-top {
    display: grid;
    grid-template-columns: minmax(220px, 1.15fr) minmax(180px, 0.65fr) minmax(160px, 0.6fr);
    gap: 18px;
    align-items: center;
}

.trip-board-card-preview {
    position: relative;
    overflow: hidden;
    min-height: 124px;
    border-radius: 14px;
    padding: 18px 18px 16px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.45)),
        linear-gradient(135deg, #f7f9ff 0%, #eef3ff 100%);
    border: 1px solid #edf1fb;
    display: grid;
    align-content: center;
    gap: 6px;
}

.trip-board-card-preview::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 12px;
    border: 1px solid rgba(79, 142, 247, 0.06);
    pointer-events: none;
}

.trip-board-card-number {
    color: #7d88a4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trip-board-card-preview strong {
    color: #24416f;
    font-size: 18px;
    font-weight: 800;
}

.trip-board-card-preview small {
    color: #5f708f;
    font-size: 13px;
    line-height: 1.4;
}

.trip-board-badge {
    width: fit-content;
    margin-top: 6px;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trip-board-badge.is-approved {
    background: #e4f8ed;
    color: #1c8850;
}

.trip-board-badge.is-pending {
    background: #fff4d8;
    color: #9a6a11;
}

.trip-board-badge.is-rejected {
    background: #ffe9ea;
    color: #c73434;
}

.trip-board-badge.is-draft {
    background: #edf2fb;
    color: #4f5e7a;
}

.trip-board-badge.is-archived {
    background: #eef2f7;
    color: #53627a;
}

.trip-board-card-meta {
    display: grid;
    gap: 6px;
    align-self: start;
}

.trip-board-card-meta span {
    color: #7b879d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trip-board-card-meta strong {
    color: #223047;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 800;
}

.trip-board-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 2px;
    border-top: 1px solid #edf1f7;
}

.trip-board-approval {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #6e7c93;
    font-size: 13px;
    font-weight: 700;
}

.trip-board-approval span {
    flex-shrink: 0;
}

.trip-board-approval strong {
    color: #2d3850;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trip-board-approval-avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd870;
    box-shadow: 0 3px 10px rgba(17, 24, 39, 0.08);
}

.trip-board-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #ef8a42;
    background: #fff7ef;
    flex-shrink: 0;
}

.trip-board-note {
    margin: 14px 0 0;
    color: #6a778b;
    font-size: 13px;
}

.trips-listing-panel {
    margin-top: 0;
    padding: 18px 0 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.trips-listing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 18px;
    border-bottom: 1px solid #e8edf6;
}

.trips-listing-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trips-listing-tab {
    padding: 10px 0;
    color: #212d43;
    font-size: 20px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

.trips-listing-tab.is-active {
    color: #4f8ef7;
    border-bottom-color: #4f8ef7;
}

.trips-listing-caret,
.trips-listing-more,
.trips-listing-help {
    width: 40px;
    height: 40px;
    border: 1px solid #d9e1ef;
    border-radius: 8px;
    background: #fff;
    color: #5d6b82;
    cursor: pointer;
}

.trips-listing-caret {
    border: 0;
    width: 28px;
    background: transparent;
}

.trips-listing-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trips-listing-filter,
.trips-listing-sort {
    position: relative;
}

.trips-listing-new {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    text-decoration: none;
}

.trips-listing-filter-menu,
.trips-listing-sort-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 230px;
    padding: 10px 0;
    border: 1px solid #e5ebf5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.14);
    display: none;
    z-index: 30;
}

.trips-listing-filter[data-topbar-popover].is-open .trips-listing-filter-menu,
.trips-listing-sort[data-topbar-popover].is-open .trips-listing-sort-menu {
    display: block;
}

.expense-detail-report-shell {
    padding: 22px 22px 28px;
    display: grid;
    gap: 18px;
}

.expense-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.expense-report-header-main {
    display: grid;
    gap: 8px;
}

.expense-report-breadcrumb-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.expense-report-nav-button {
    width: 42px;
    height: 42px;
    border: 1px solid #dbe3f1;
    border-radius: 8px;
    background: #f5f7fc;
    color: #46556f;
    cursor: pointer;
}

.expense-report-breadcrumb {
    color: #2167d7;
    font-size: 14px;
    font-weight: 600;
}

.expense-report-header-main h1 {
    margin: 0;
    color: #16233b;
    font-size: 18px;
    font-weight: 600;
}

.expense-report-header-main h1 span {
    color: #7e8ba3;
    padding: 0 5px;
}

.expense-report-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.expense-report-icon-button,
.expense-report-export-button,
.expense-report-close-button,
.expense-report-outline-button,
.expense-report-primary-button,
.expense-report-secondary-button,
.expense-report-table-tool {
    border: 1px solid #d8e1f0;
    background: #fff;
    color: #20314d;
    border-radius: 6px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    text-decoration: none;
    cursor: pointer;
}

.expense-report-icon-button {
    width: 42px;
    padding: 0;
}

.expense-report-export-button {
    min-width: 94px;
}

.expense-report-close-button {
    width: 42px;
    padding: 0;
    color: #ef4444;
}

.expense-report-toolbar-card {
    border: 1px solid #e7ecf6;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.expense-report-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 18px;
    flex-wrap: wrap;
}

.expense-report-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #233452;
    font-size: 15px;
}

.expense-report-filter-label i {
    color: #374a6c;
}

.expense-report-static-select,
.expense-report-select,
.expense-report-date-input,
.expense-report-criteria-when {
    min-height: 44px;
    border: 1px solid #d9e2f0;
    border-radius: 6px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #263752;
}

.expense-report-static-select {
    min-width: 140px;
    justify-content: space-between;
}

.expense-report-select {
    position: relative;
    min-width: 152px;
    padding-right: 36px;
}

.expense-report-select--wide {
    min-width: 188px;
}

.expense-report-select--value {
    min-width: 260px;
}

.expense-report-smart-select {
    position: relative;
    min-width: 152px;
}

.expense-report-smart-select--wide {
    min-width: 188px;
}

.expense-report-smart-select--value {
    min-width: 480px;
}

.expense-report-smart-select--recipient {
    width: 100%;
}

.expense-report-smart-toggle {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9e2f0;
    border-radius: 6px;
    background: #fff;
    color: #263752;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px;
    cursor: pointer;
    text-align: left;
}

.expense-report-smart-toggle.has-value {
    border-color: #2f72de;
    box-shadow: 0 0 0 1px rgba(47, 114, 222, 0.08) inset;
}

.expense-report-smart-toggle--tag {
    min-height: 48px;
}

.expense-report-smart-tag-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.expense-report-smart-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: #e9eefb;
    color: #2f4a79;
}

.expense-report-smart-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 60;
    width: 100%;
    background: #fff;
    border: 1px solid #dbe4f4;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.14);
    padding: 10px;
}

.expense-report-smart-menu[hidden] {
    display: none !important;
}

.expense-report-smart-menu--value,
.expense-report-smart-menu--recipient {
    padding: 10px;
}

.expense-report-smart-search {
    position: relative;
    margin-bottom: 10px;
}

.expense-report-smart-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0acc0;
}

.expense-report-smart-search input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #5f94f9;
    border-radius: 3px;
    padding: 0 12px 0 34px;
    outline: none;
}

.expense-report-smart-list {
    max-height: 240px;
    overflow: auto;
    display: grid;
    gap: 2px;
}

.expense-report-smart-heading {
    padding: 8px 8px 6px;
    color: #4a5b7a;
    font-size: 15px;
}

.expense-report-smart-option,
.expense-report-recipient-option {
    width: 100%;
    border: 0;
    background: #fff;
    border-radius: 4px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #233248;
    text-align: left;
    cursor: pointer;
}

.expense-report-smart-option:hover,
.expense-report-smart-option.is-selected,
.expense-report-recipient-option:hover,
.expense-report-recipient-option.is-selected {
    background: #2f72de;
    color: #fff;
}

.expense-report-recipient-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #d6f3df;
    color: #1e5d3c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.expense-report-recipient-copy {
    display: grid;
    gap: 2px;
}

.expense-report-recipient-copy strong {
    font-size: 15px;
}

.expense-report-recipient-copy span {
    font-size: 14px;
}

.expense-report-select select {
    appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    color: #4b5c77;
    outline: none;
    font: inherit;
    cursor: pointer;
}

.expense-report-select i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #7f8ba2;
}

.expense-report-outline-button {
    border-color: #2f72de;
    color: #2f72de;
}

.expense-report-primary-button {
    border-color: #5d99f8;
    background: #5d99f8;
    color: #fff;
}

.expense-report-secondary-button {
    min-width: 80px;
}

.expense-report-more-filters {
    border-top: 1px solid #ebf0f7;
    padding: 26px 24px 24px;
    display: grid;
    gap: 18px;
    background: #fff;
}

.expense-report-more-filters[hidden] {
    display: none !important;
}

.expense-report-error-box {
    position: relative;
    border: 1px solid #f2cbd1;
    background: #fcf0f2;
    color: #842029;
    border-radius: 4px;
    padding: 14px 44px 14px 18px;
}

.expense-report-error-box ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.expense-report-error-close {
    position: absolute;
    right: 12px;
    top: 12px;
    border: 0;
    background: transparent;
    color: #8c7c7f;
    cursor: pointer;
}

.expense-report-criteria-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.expense-report-criteria-index {
    width: 46px;
    height: 46px;
    border: 1px solid #e1e8f3;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #334155;
    font-size: 24px;
    font-weight: 500;
}

.expense-report-criteria-when {
    min-width: 124px;
    justify-content: flex-start;
    background: #f6f8fe;
}

.expense-report-date-input {
    min-width: 260px;
}

.expense-report-date-input input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #4b5c77;
    outline: none;
    font: inherit;
}

.expense-report-remove-criteria,
.expense-report-add-criteria {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #2563eb;
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;
}

.expense-report-remove-criteria {
    color: #fb6c6c;
    font-size: 20px;
}

.expense-report-add-criteria[disabled] {
    opacity: 0.9;
    cursor: not-allowed;
}

.expense-report-more-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.expense-report-table-card {
    border: 1px solid #e7ecf6;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.expense-report-table-tools {
    padding: 14px 18px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-bottom: 1px solid #edf2f7;
}

.expense-report-table-tool {
    min-height: 36px;
    color: #233452;
}

.expense-report-table-tool strong {
    font-weight: 700;
}

.expense-report-table-tool em {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f72de;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
}

.expense-report-action-popover {
    position: relative;
}

.expense-report-export-menu,
.expense-report-group-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 55;
    min-width: 330px;
    background: #fff;
    border: 1px solid #dbe3f1;
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.14);
    padding: 10px 0;
}

.expense-report-group-menu {
    min-width: 190px;
    padding: 10px;
}

.expense-report-export-menu[hidden],
.expense-report-group-menu[hidden] {
    display: none !important;
}

.expense-report-export-heading {
    padding: 10px 20px 8px;
    color: #60708d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.expense-report-export-item {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 12px 20px;
    text-align: left;
    color: #334155;
    font-size: 15px;
    cursor: pointer;
}

.expense-report-export-item:hover,
.expense-report-export-item.is-active {
    background: #f1f5fb;
}

.expense-report-group-clear {
    color: #ef4444;
    font-size: 22px;
    line-height: 1;
}

.expense-report-title-block {
    min-height: 162px;
    padding: 36px 18px 24px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
}

.expense-report-title-block span {
    color: #4c5f7d;
    font-size: 15px;
}

.expense-report-title-block h2 {
    margin: 0;
    color: #122440;
    font-size: 23px;
    font-weight: 600;
}

.expense-report-title-block p {
    margin: 0;
    color: #4f6485;
    font-size: 15px;
}

.expense-report-table-wrap {
    overflow: auto;
}

.expense-report-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.expense-report-table thead th {
    padding: 18px 24px;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    color: #596d8e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.expense-report-table tbody td {
    padding: 18px 24px;
    border-bottom: 1px solid #f2f5fa;
    color: #1f304a;
    font-size: 14px;
    vertical-align: middle;
}

.expense-report-report-cell {
    display: grid;
    gap: 4px;
}

.expense-report-report-cell strong {
    font-size: 14px;
    font-weight: 600;
    color: #14243d;
}

.expense-report-report-cell span {
    color: #7a879d;
    font-size: 12px;
}

.expense-report-receipt-pill {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f2f5fa;
    color: #97a4b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.expense-report-receipt-pill.has-receipt {
    background: #eaf3ff;
    color: #2f72de;
}

.expense-report-empty-cell {
    text-align: center;
    color: #6f7d95 !important;
    padding: 96px 24px !important;
    font-size: 18px !important;
}

.expense-report-schedule-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
}

.expense-report-schedule-modal.is-open {
    display: block;
}

.expense-report-schedule-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(17, 24, 39, 0.56);
}

.expense-report-schedule-panel {
    position: relative;
    width: min(100%, 624px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    margin: 18px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.26);
}

.expense-report-schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid #edf2f7;
}

.expense-report-schedule-header h2 {
    margin: 0;
    color: #13233d;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.expense-report-schedule-close {
    width: 32px;
    height: 32px;
    border: 1px solid #d7deec;
    border-radius: 999px;
    background: #fff;
    color: #526178;
    cursor: pointer;
}

.expense-report-schedule-form {
    padding: 18px 24px 18px;
    display: grid;
    gap: 18px;
}

.expense-report-schedule-section {
    display: grid;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2f7;
}

.expense-report-schedule-section:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.expense-report-schedule-label {
    color: #344154;
    font-size: 14px;
}

.expense-report-schedule-label--required {
    color: #ec3c3c;
}

.expense-report-schedule-label--required::after {
    content: ' *';
}

.expense-report-frequency-grid,
.expense-report-format-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.expense-report-frequency-card,
.expense-report-format-card {
    min-width: 112px;
    min-height: 52px;
    border: 1px solid #d7e0f0;
    border-radius: 8px;
    background: #f7f9fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    color: #344154;
    cursor: pointer;
}

.expense-report-frequency-card input,
.expense-report-format-card input {
    accent-color: #2f72de;
}

.expense-report-frequency-card.is-active,
.expense-report-format-card.is-active {
    border-color: #2f72de;
    background: #fff;
}

.expense-report-schedule-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.expense-report-schedule-field {
    display: grid;
    gap: 8px;
}

.expense-report-schedule-field span {
    color: #344154;
    font-size: 14px;
}

.expense-report-schedule-field input,
.expense-report-schedule-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d7e0f0;
    border-radius: 6px;
    padding: 0 14px;
    outline: none;
}

.expense-report-schedule-form textarea {
    min-height: 70px;
    padding: 12px 14px;
    resize: vertical;
}

.expense-report-time-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.expense-report-time-select {
    position: relative;
    width: 74px;
}

.expense-report-time-select select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d7e0f0;
    border-radius: 6px;
    padding: 0 30px 0 14px;
    appearance: none;
    background: #fff;
    outline: none;
}

.expense-report-time-select i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #78869e;
    pointer-events: none;
}

.expense-report-time-sep {
    color: #25324b;
    font-size: 24px;
}

.expense-report-schedule-field small,
.expense-report-schedule-hint {
    color: #5f6f8c;
    font-size: 12px;
    margin: 0;
}

.expense-report-schedule-attach {
    background: #f7f9fd;
    border-radius: 8px;
    padding: 18px 20px 22px;
    border-bottom: 0;
}

.expense-report-schedule-note {
    margin: -4px 0 0;
    color: #5b6c8a;
    font-size: 15px;
}

.expense-report-schedule-note span {
    color: #1fa046;
}

.expense-report-schedule-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 8px;
}

.expense-report-customize-modal,
.expense-report-analytics-drawer {
    position: fixed;
    inset: 0;
    z-index: 88;
    display: none;
}

.expense-report-customize-modal.is-open,
.expense-report-analytics-drawer.is-open {
    display: block;
}

.expense-report-customize-panel {
    position: relative;
    width: min(100%, 1074px);
    margin: 18px auto;
    max-height: calc(100vh - 36px);
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
}

.expense-report-customize-body {
    padding: 18px 24px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.expense-report-customize-list-wrap h3 {
    margin: 0 0 14px;
    color: #5f6f8c;
    font-size: 16px;
    font-weight: 500;
}

.expense-report-customize-box {
    border: 1px solid #dbe3f1;
    border-radius: 10px;
    overflow: hidden;
    min-height: 536px;
    background: #fff;
}

.expense-report-customize-search {
    position: relative;
    min-height: 46px;
    border-bottom: 1px solid #dbe3f1;
}

.expense-report-customize-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #46556f;
}

.expense-report-customize-search input {
    width: 100%;
    min-height: 46px;
    border: 0;
    outline: none;
    padding: 0 14px 0 46px;
}

.expense-report-customize-list {
    max-height: 490px;
    overflow: auto;
    padding: 8px 12px;
    display: grid;
    gap: 4px;
}

.expense-report-customize-item {
    width: 100%;
    border: 0;
    background: #fff;
    color: #374151;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 18px;
    text-align: left;
    cursor: pointer;
}

.expense-report-customize-item:hover {
    background: #f5f7fc;
}

.expense-report-customize-item.is-static {
    cursor: default;
}

.expense-report-customize-arrow {
    display: grid;
    place-items: center;
    min-height: 536px;
    color: #5f6f8c;
    font-size: 28px;
}

.expense-report-customize-footer {
    padding: 20px 24px;
    border-top: 1px solid #edf2f7;
}

.expense-report-analytics-backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
}

.expense-report-analytics-panel {
    position: relative;
    width: 314px;
    height: 100%;
    background: #fff;
    box-shadow: 18px 0 40px rgba(15, 23, 42, 0.12);
    padding: 18px 12px 20px;
}

.expense-report-analytics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 12px 18px;
}

.expense-report-analytics-header h2 {
    margin: 0;
    color: #16233b;
    font-size: 24px;
}

.expense-report-analytics-close {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #ef4444;
    font-size: 24px;
    cursor: pointer;
}

.expense-report-analytics-picker {
    padding: 0 12px 14px;
}

.expense-report-analytics-picker-toggle {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dbe3f1;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
}

.expense-report-analytics-groups {
    display: grid;
    gap: 4px;
}

.expense-report-analytics-group-toggle {
    width: 100%;
    border: 0;
    background: #fff;
    border-radius: 10px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    color: #223047;
    cursor: pointer;
}

.expense-report-analytics-group.is-open .expense-report-analytics-group-toggle,
.expense-report-analytics-group-toggle:hover {
    background: #f7f9fd;
}

.expense-report-analytics-group-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.expense-report-analytics-group-list {
    padding: 2px 12px 10px 38px;
    display: grid;
    gap: 2px;
}

.expense-report-analytics-link {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: #223047;
    text-decoration: none;
    font-size: 16px;
}

.expense-report-analytics-link:hover,
.expense-report-analytics-link.is-active {
    background: #f3f5fa;
}

.activity-log-shell {
    padding: 22px 24px 30px;
    background: #f7f9fc;
}

.activity-log-header,
.activity-log-filters,
.activity-log-card-top,
.activity-log-footer,
.activity-audit-header,
.activity-audit-sidebar-head,
.activity-audit-meta-row,
.activity-audit-version-item,
.activity-log-byline,
.activity-log-filter-group,
.activity-log-pagination,
.activity-log-pager {
    display: flex;
    align-items: center;
}

.activity-log-header,
.activity-log-card-top,
.activity-log-footer,
.activity-audit-header,
.activity-audit-sidebar-head {
    justify-content: space-between;
}

.activity-log-heading {
    display: grid;
    gap: 8px;
}

.activity-log-breadcrumb {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2f6fed;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.activity-log-header h1,
.activity-audit-header h1 {
    margin: 0;
    color: #1f2937;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
}

.activity-log-header h1 span {
    color: #9aa4b2;
    font-weight: 500;
}

.activity-log-export,
.activity-log-run,
.activity-audit-back,
.activity-audit-compare {
    border: 1px solid #dbe1ea;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font: inherit;
}

.activity-log-export {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    cursor: pointer;
}

.activity-log-export-menu {
    position: relative;
}

.activity-log-export-menu summary {
    list-style: none;
}

.activity-log-export-menu summary::-webkit-details-marker {
    display: none;
}

.activity-log-export-list {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    padding: 8px;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    display: grid;
    gap: 4px;
    z-index: 20;
}

.activity-log-export-list a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
}

.activity-log-export-list a:hover {
    background: #f4f8ff;
    color: #2f6fed;
}

.activity-log-filters,
.activity-log-card,
.activity-audit-card,
.activity-audit-sidebar {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.activity-log-filters {
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding: 18px 20px;
}

.activity-log-filter-group {
    flex-wrap: wrap;
    gap: 14px;
}

.activity-log-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #344256;
    font-weight: 600;
}

.activity-log-select,
.activity-log-date-input {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid #dfe6f0;
    border-radius: 12px;
    background: #fbfcfe;
    color: #475569;
}

.activity-log-select span,
.activity-log-date-input span {
    color: #6b7280;
}

.activity-log-select select,
.activity-log-date-input input {
    border: 0;
    background: transparent;
    color: #111827;
    font: inherit;
    outline: none;
}

.activity-log-run {
    padding: 12px 22px;
    border-color: #5bc596;
    background: #58c98c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.activity-log-card {
    margin-top: 22px;
    overflow: hidden;
}

.activity-log-card-top {
    padding: 22px 24px 18px;
    border-bottom: 1px solid #edf2f7;
}

.activity-log-summary-head {
    display: grid;
    justify-items: center;
    width: 100%;
    gap: 10px;
    padding: 54px 16px 18px;
    color: #64748b;
    text-align: center;
}

.activity-log-summary-head span {
    font-size: 15px;
}

.activity-log-summary-head strong {
    color: #1f2937;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.activity-log-customize {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #3b4758;
    font: inherit;
    cursor: pointer;
}

.activity-log-customize em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f6fed;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
}

.activity-log-table-wrap {
    overflow-x: auto;
}

.activity-log-table {
    width: 100%;
    border-collapse: collapse;
}

.activity-log-table thead th {
    padding: 20px 24px;
    color: #5f6d80;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.activity-log-table tbody td {
    padding: 20px 24px;
    border-top: 1px solid #edf2f7;
    vertical-align: top;
    color: #2f3b4c;
    font-size: 15px;
}

.activity-log-table tbody tr:nth-child(odd) {
    background: #f6f8fe;
}

.activity-log-date-cell {
    white-space: nowrap;
    color: #334155;
}

.activity-log-entity {
    display: grid;
    gap: 6px;
}

.activity-log-entity strong {
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
}

.activity-log-entity span {
    color: #6b7280;
}

.activity-log-description {
    display: grid;
    gap: 10px;
}

.activity-log-description p {
    margin: 0;
    color: #364152;
    line-height: 1.6;
}

.activity-log-byline {
    gap: 10px;
    color: #597086;
    flex-wrap: wrap;
}

.activity-log-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.activity-log-badge.is-created {
    background: #e8fff1;
    color: #16834a;
}

.activity-log-badge.is-updated {
    background: #edf4ff;
    color: #2f6fed;
}

.activity-log-badge.is-approved {
    background: #ecfdf3;
    color: #1d8b5b;
}

.activity-log-badge.is-deleted {
    background: #fff1f2;
    color: #dc2626;
}

.activity-log-badge.is-neutral {
    background: #f1f5f9;
    color: #475569;
}

.activity-log-link-cell {
    white-space: nowrap;
}

.activity-log-link-cell a {
    color: #2f6fed;
    font-weight: 600;
    text-decoration: none;
}

.activity-log-empty {
    padding: 44px 24px;
    color: #64748b;
    text-align: center;
}

.activity-log-footer {
    padding: 18px 24px 22px;
    border-top: 1px solid #edf2f7;
    color: #334155;
}

.activity-log-pagination,
.activity-log-pager {
    gap: 16px;
}

.activity-log-per-page {
    padding: 10px 14px;
    border: 1px solid #dbe1ea;
    border-radius: 12px;
    background: #fbfcfe;
}

.activity-log-pager a {
    color: #2f6fed;
    text-decoration: none;
}

.activity-log-pager a.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.activity-audit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.activity-audit-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 15px;
}

.activity-audit-breadcrumb a {
    color: #2f6fed;
    text-decoration: none;
}

.activity-audit-header {
    gap: 16px;
    margin-bottom: 18px;
}

.activity-audit-header p {
    margin: 0 0 6px;
    color: #64748b;
    font-size: 15px;
}

.activity-audit-back,
.activity-audit-compare {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
}

.activity-audit-card {
    padding: 22px 24px 28px;
}

.activity-audit-card-top {
    margin-bottom: 18px;
}

.activity-audit-version-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 10px 10px 10px 0;
    background: #2f6fed;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.activity-audit-hero {
    padding: 18px 20px 24px;
    border-bottom: 1px solid #edf2f7;
}

.activity-audit-hero h2 {
    margin: 0 0 14px;
    color: #18212f;
    font-size: 28px;
    font-weight: 700;
}

.activity-audit-hero p {
    margin: 0;
    color: #526174;
    font-size: 16px;
    line-height: 1.7;
}

.activity-audit-section {
    padding: 24px 20px 0;
}

.activity-audit-section h3 {
    margin: 0 0 18px;
    color: #1f2937;
    font-size: 18px;
    font-weight: 700;
}

.activity-audit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 34px;
}

.activity-audit-field {
    display: grid;
    gap: 8px;
}

.activity-audit-field span,
.activity-audit-meta-row span {
    color: #64748b;
    font-size: 15px;
}

.activity-audit-field strong,
.activity-audit-meta-row strong {
    color: #1f2937;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.activity-audit-meta {
    display: grid;
    gap: 14px;
}

.activity-audit-meta-row {
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
}

.activity-audit-sidebar {
    position: sticky;
    top: 24px;
    height: fit-content;
    padding: 24px;
}

.activity-audit-sidebar-head {
    margin-bottom: 16px;
}

.activity-audit-sidebar-head h2 {
    margin: 0;
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
}

.activity-audit-version-list {
    display: grid;
    gap: 16px;
}

.activity-audit-version-item {
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.activity-audit-version-item.is-active {
    background: #f4f8ff;
}

.activity-audit-version-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #eff4ff;
    color: #2f6fed;
    font-weight: 700;
}

.activity-audit-version-item.is-active .activity-audit-version-badge {
    background: #2f6fed;
    color: #fff;
}

.activity-audit-version-copy {
    display: grid;
    gap: 8px;
}

.activity-audit-version-copy strong,
.activity-audit-version-copy span {
    color: #334155;
    font-size: 15px;
}

@media (max-width: 960px) {
    .expense-detail-report-shell {
        padding: 16px;
    }

    .expense-report-header,
    .expense-report-filter-row,
    .expense-report-criteria-row,
    .expense-report-more-actions {
        align-items: stretch;
    }

    .expense-report-header,
    .expense-report-header-actions,
    .expense-report-filter-row,
    .expense-report-criteria-row,
    .expense-report-more-actions {
        flex-direction: column;
    }

    .expense-report-icon-button,
    .expense-report-export-button,
    .expense-report-close-button,
    .expense-report-outline-button,
    .expense-report-primary-button,
    .expense-report-secondary-button,
    .expense-report-static-select,
    .expense-report-select,
    .expense-report-smart-select,
    .expense-report-date-input,
    .expense-report-criteria-when {
        width: 100%;
    }

    .expense-report-table-tools {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .expense-report-smart-select--value,
    .expense-report-schedule-two-col {
        grid-template-columns: 1fr;
    }

    .expense-report-schedule-panel {
        width: calc(100% - 20px);
        margin: 10px;
    }

    .expense-report-customize-panel {
        width: calc(100% - 20px);
        margin: 10px;
    }

    .expense-report-customize-body {
        grid-template-columns: 1fr;
    }

    .expense-report-customize-arrow {
        min-height: auto;
        padding: 8px 0;
    }

    .activity-log-shell {
        padding: 16px;
    }

    .activity-log-header,
    .activity-log-filters,
    .activity-log-footer,
    .activity-audit-header,
    .activity-audit-meta-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .activity-log-header h1,
    .activity-audit-header h1 {
        font-size: 28px;
    }

    .activity-log-card-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .activity-log-summary-head {
        justify-items: flex-start;
        padding: 0;
        text-align: left;
    }

    .activity-audit-layout,
    .activity-audit-grid {
        grid-template-columns: 1fr;
    }

    .activity-audit-sidebar {
        position: static;
    }

    .activity-log-table thead th,
    .activity-log-table tbody td {
        padding: 16px;
    }

    .policy-wizard-layout {
        grid-template-columns: 1fr;
    }

    .policy-wizard-steps {
        grid-auto-flow: row;
    }

    .policy-list-head,
    .policy-list-row,
    .policy-category-head,
    .policy-category-row,
    .org-currency-table--expanded .org-currency-row,
    .policy-inline-row {
        grid-template-columns: 1fr;
    }

    .policy-surcharge-head,
    .policy-actions,
    .policy-mileage-unit {
        align-items: flex-start;
        flex-direction: column;
    }
}

.trips-listing-filter-heading,
.trips-listing-sort-heading {
    padding: 8px 18px 10px;
    color: #7a869b;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.trips-listing-filter-link,
.trips-listing-sort-link,
.trips-listing-sort-refresh {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    color: #2f3848;
    text-decoration: none;
    font-size: 15px;
    border: 0;
    background: #fff;
}

.trips-listing-filter-link:hover,
.trips-listing-filter-link.is-active,
.trips-listing-sort-link:hover,
.trips-listing-sort-link.is-active,
.trips-listing-sort-refresh:hover {
    background: #f4f7fd;
}

.trips-listing-filter-custom {
    width: calc(100% - 16px);
    margin: 8px;
    min-height: 44px;
    border: 0;
    border-top: 1px solid #edf1f7;
    background: #fff;
    color: #1f6fff;
    text-align: left;
    padding: 14px 10px 4px;
    font-size: 15px;
    cursor: pointer;
}

.trips-listing-sort-refresh {
    border-top: 1px solid #edf1f7;
}

.trips-listing-sort-refresh i {
    color: #8390a7;
}

.trips-help-drawer {
    position: fixed;
    inset: 0;
    z-index: 70;
    pointer-events: none;
}

.trips-help-drawer[aria-hidden="false"] {
    pointer-events: auto;
}

.trips-help-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.08);
    opacity: 0;
    transition: opacity 180ms ease;
}

.trips-help-drawer[aria-hidden="false"] .trips-help-backdrop {
    opacity: 1;
}

.trips-help-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(410px, 100%);
    height: 100%;
    background: #fff;
    border-left: 1px solid #e6ecf7;
    box-shadow: -18px 0 44px rgba(15, 23, 42, 0.12);
    transform: translateX(100%);
    transition: transform 220ms ease;
    display: grid;
    grid-template-rows: auto auto auto 1fr;
}

.trips-help-drawer[aria-hidden="false"] .trips-help-panel {
    transform: translateX(0);
}

.trips-help-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 28px;
    border-bottom: 1px solid #edf1f7;
}

.trips-help-header h2 {
    margin: 0;
    color: #2a3343;
    font-size: 22px;
}

.trips-help-close {
    width: 34px;
    height: 34px;
    border: 1px solid #dbe2ef;
    border-radius: 50%;
    background: #fff;
    color: #67748a;
}

.trips-help-search {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 0;
    padding: 20px 28px;
}

.trips-help-category,
.trips-help-search input {
    min-height: 46px;
    border: 1px solid #d8e0ee;
    background: #fff;
    color: #546176;
    font-size: 15px;
}

.trips-help-category {
    border-right: 0;
    border-radius: 8px 0 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trips-help-search input {
    border-radius: 0 8px 8px 0;
    padding: 0 14px;
}

.trips-help-links,
.trips-help-faqs {
    padding: 0 28px;
}

.trips-help-links a,
.trips-help-faq {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid #edf1f7;
    background: transparent;
    color: #2f3848;
    text-decoration: none;
    font-size: 16px;
    text-align: left;
}

.trips-help-links a span,
.trips-help-faq span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.trips-help-links a i:last-child,
.trips-help-faq i:last-child {
    color: #5a677c;
}

.trips-help-faqs {
    overflow: auto;
    padding-bottom: 28px;
}

.trips-listing-table {
    display: grid;
}

.trips-listing-row {
    display: grid;
    grid-template-columns: 44px 140px minmax(260px, 1.1fr) 0.8fr 0.7fr 0.9fr 44px;
    align-items: center;
    gap: 16px;
}

.trips-listing-row--shared {
    grid-template-columns: 44px minmax(160px, 0.95fr) 140px minmax(220px, 1.1fr) 0.8fr 0.7fr 0.9fr 44px;
}

.trips-listing-row--head {
    padding: 18px 12px 16px;
    color: #6d7a92;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trips-listing-row--item {
    padding: 18px 12px;
    border-top: 1px solid #edf2f8;
    color: #223047;
    text-decoration: none;
    transition: background 160ms ease;
}

.trips-listing-row--item:hover {
    background: #fafcff;
}

.trips-listing-cell input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #4f8ef7;
}

.trips-listing-cell--details {
    display: grid;
    gap: 8px;
}

.trips-listing-cell--details strong {
    color: #2960d8;
    font-size: 16px;
    font-weight: 500;
}

.trips-listing-cell--details small {
    color: #667085;
    font-size: 13px;
}

.trips-listing-approver {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px 0 8px;
    border: 1px solid #e2e8f3;
    border-radius: 999px;
    background: #fff;
}

.trips-listing-approver img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.trips-listing-approver span {
    color: #223047;
    font-size: 14px;
    white-space: nowrap;
}

.trips-listing-empty {
    color: #98a2b3;
}

.trips-listing-cell--icon {
    display: flex;
    justify-content: flex-end;
    color: #ef8a42;
}

.trip-board-drawer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 55;
}

.trip-board-drawer.is-open {
    display: block;
}

.trip-board-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.34);
}

.trip-board-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100%;
    background: #fff;
    box-shadow: -18px 0 44px rgba(15, 23, 42, 0.16);
    display: flex;
    flex-direction: column;
}

.trip-board-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #edf2f9;
}

.trip-board-drawer-header strong {
    display: block;
    color: #223047;
    font-size: 24px;
    font-weight: 800;
}

.trip-board-drawer-header span {
    display: block;
    margin-top: 6px;
    color: #748197;
    font-size: 13px;
    font-weight: 700;
}

.trip-board-drawer-close {
    width: 32px;
    height: 32px;
    border: 1px solid #dbe3f2;
    border-radius: 10px;
    background: #fff;
    color: #637089;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.trip-board-drawer-body {
    display: grid;
    gap: 20px;
    padding: 20px;
}

.trip-board-drawer-status {
    display: flex;
}

.trip-board-drawer-meta {
    display: grid;
    gap: 14px;
    margin: 0;
}

.trip-board-drawer-meta div {
    display: grid;
    gap: 4px;
}

.trip-board-drawer-meta dt {
    color: #7b879d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trip-board-drawer-meta dd {
    margin: 0;
    color: #223047;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.trip-board-drawer-approver {
    display: grid;
    gap: 10px;
}

.trip-board-drawer-approver > span {
    color: #7b879d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trip-board-drawer-approver-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid #e6ebf5;
    border-radius: 16px;
    padding: 14px;
    background: #fbfcff;
}

.trip-board-drawer-approver-card img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.trip-board-drawer-approver-card strong {
    display: block;
    color: #233048;
    font-size: 15px;
    font-weight: 800;
}

.trip-board-drawer-approver-card small {
    display: block;
    margin-top: 4px;
    color: #6a778b;
    font-size: 13px;
}

.trip-board-drawer-footer {
    margin-top: auto;
    padding: 18px 20px 22px;
    border-top: 1px solid #edf2f9;
}

.trip-board-drawer-footer .trip-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.trips-empty p {
    margin: 0;
    color: #6a778b;
    font-size: 14px;
    line-height: 1.55;
}
/* =====================
   DARK/LIGHT THEMES
===================== */

body.dark-pane .admin-sidebar{
    background:var(--sidebar-bg);
    color:var(--sidebar-text);
}

body.light-pane .admin-sidebar{
    background:var(--sidebar-bg);
    color:var(--sidebar-text);
    border-right:1px solid var(--sidebar-border);
}

body.dark-pane .admin-topbar,
body.light-pane .admin-topbar{
    background:var(--admin-topbar-bg);
}


/* =====================
   ACCENT COLORS
===================== */

.theme-green{
    --accent:#22c55e;
}

.theme-blue{
    --accent:#3b82f6;
}

.theme-red{
    --accent:#ef4444;
}

.theme-orange{
    --accent:#f97316;
}


/* active menu */

.sidebar-link.is-active{
    background:var(--accent);
    color:#fff;
}


/* buttons */

.topbar-square.primary{
    background:var(--accent);
}


/* tabs */

.admin-dashboard-tab.is-active{
    color:var(--accent);
    border-bottom:2px solid var(--accent);
}


/* switch button */

.sidebar-admin-switch{
    border-color:var(--accent);
}


/* icons */

.admin-dashboard-panel-button{
    background:var(--accent);
}
/* Trip preferences settings */
.trip-pref-tabs {
    display: flex;
    gap: 24px;
    align-items: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    margin: 0 0 24px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.trip-pref-tab {
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    padding: 0 0 14px;
    text-decoration: none;
    white-space: nowrap;
}

.trip-pref-tab.is-active {
    border-bottom: 3px solid #3b82f6;
    color: #2563eb;
}

.trip-pref-form {
    display: grid;
    gap: 20px;
}

.trip-pref-card {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    padding: 24px;
}

.trip-pref-card h2 {
    color: #0f172a;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 18px;
}

.trip-pref-card-head {
    margin-bottom: 18px;
}

.trip-pref-grid {
    display: grid;
    gap: 16px;
}

.trip-pref-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trip-pref-card label {
    color: #334155;
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.trip-pref-card label span {
    display: block;
    margin-bottom: 8px;
}

.trip-pref-card input[type="text"],
.trip-pref-card input[type="number"],
.trip-pref-card select {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 12px;
    color: #0f172a;
    font-size: 15px;
    min-height: 48px;
    padding: 12px 14px;
    width: 100%;
}

.trip-pref-checklist {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.trip-pref-check,
.trip-pref-radio {
    align-items: flex-start;
    display: flex !important;
    gap: 12px;
}

.trip-pref-check input,
.trip-pref-radio input {
    margin-top: 4px;
}

.trip-pref-check span,
.trip-pref-radio span {
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.trip-pref-radio-group {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.trip-pref-table-head {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.trip-pref-table-wrap {
    overflow-x: auto;
}

.trip-pref-table {
    border-collapse: collapse;
    min-width: 640px;
    width: 100%;
}

.trip-pref-table th,
.trip-pref-table td {
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    padding: 16px 14px;
    text-align: center;
    vertical-align: middle;
}

.trip-pref-table th {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trip-pref-table td:nth-child(2) {
    color: #0f172a;
    font-weight: 600;
    text-align: left;
}

.trip-pref-table input[type="checkbox"] {
    accent-color: #2563eb;
    height: 16px;
    width: 16px;
}

.report-settings-form-card {
    border: 1px solid #e6edf5;
    border-radius: 20px;
    background: #fff;
    padding: 28px 32px;
}

.report-settings-form-grid {
    display: grid;
    gap: 18px;
    max-width: 720px;
}

.report-settings-form-grid textarea {
    min-height: 104px;
    resize: vertical;
}

.report-preferences-shell .expense-pref-card p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.report-settings-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin-top: 18px;
    padding: 0 14px;
    border: 1px solid #dde7f6;
    border-radius: 10px;
    background: #f8fbff;
    color: #61738f;
    font-size: 14px;
    font-weight: 600;
}

.report-custom-status-box {
    border: 1px solid #e6edf5;
    border-radius: 14px;
    background: #fff;
    padding: 18px 20px;
}

.report-custom-status-box p {
    margin: 0 0 18px !important;
}

.report-custom-status-head,
.report-custom-status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
    align-items: center;
}

.report-custom-status-head {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-bottom: 10px;
}

.report-custom-status-row + .report-custom-status-row {
    margin-top: 12px;
}

.report-custom-status-row input,
.report-custom-status-row select {
    min-height: 46px;
    border: 1px solid #d7dfec;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
}

.report-custom-status-add,
.report-inline-add-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #2563eb;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.advance-settings-page {
    display: grid;
    gap: 24px;
}

.advance-preferences-shell {
    width: min(100%, 620px);
}

.advance-preferences-main {
    display: grid;
    gap: 0;
}

.advance-pref-card {
    padding: 22px 0;
    border-top: 1px solid #e7edf6;
}

.advance-pref-card:first-child {
    border-top: 0;
    padding-top: 0;
}

.advance-pref-card h2 {
    margin: 0;
    color: #172844;
    font-size: 21px;
    font-weight: 500;
}

.advance-pref-section-head p {
    margin: 10px 0 0;
    color: #66758f;
    font-size: 14px;
    line-height: 1.6;
    max-width: 560px;
}

.advance-custom-status-box {
    margin-top: 18px;
    padding: 14px 16px 16px;
    border: 1px solid #e4eaf5;
    border-radius: 8px;
    background: #fff;
}

.advance-custom-status-head,
.advance-custom-status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
}

.advance-custom-status-head {
    color: #6a768f;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-bottom: 14px;
}

.advance-custom-status-row {
    align-items: center;
}

.advance-custom-status-row input,
.advance-custom-status-row select {
    min-height: 46px;
    border: 1px solid #d7dfed;
    border-radius: 6px;
    background: #fff;
    padding: 10px 14px;
    font-size: 15px;
    color: #172844;
}

.advance-inline-add {
    margin-top: 18px;
    border: 0;
    background: transparent;
    color: #2f6ee5;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    cursor: pointer;
}

.advance-fields-shell {
    display: grid;
    gap: 18px;
    max-width: 1180px;
}

.advance-fields-table {
    width: 100%;
    min-width: 100%;
    table-layout: fixed;
}

.advance-fields-table th,
.advance-fields-table td {
    text-align: center;
    padding-top: 18px;
    padding-bottom: 18px;
}

.advance-fields-table td:nth-child(2) {
    text-align: left;
}

.advance-fields-table th:nth-child(1),
.advance-fields-table td:nth-child(1) {
    width: 18%;
}

.advance-fields-table th:nth-child(2),
.advance-fields-table td:nth-child(2) {
    width: 44%;
}

.advance-fields-table th:nth-child(3),
.advance-fields-table td:nth-child(3),
.advance-fields-table th:nth-child(4),
.advance-fields-table td:nth-child(4) {
    width: 19%;
}

.advance-fields-table .trip-layout-checkbox {
    justify-content: center;
}

.advance-fields-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.advance-fields-search {
    min-width: 280px;
    max-width: 420px;
    width: 100%;
    min-height: 44px;
    border: 1px solid #dbe3f1;
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #6b7892;
}

.advance-fields-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #172844;
    font-size: 15px;
}

.advance-fields-actions {
    margin-left: auto;
}

.advance-field-sort {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.advance-fields-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
}

.advance-fields-table tbody tr {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.advance-fields-table tbody tr:hover {
    background: #f8fbff;
}

.advance-field-toggle-wrap {
    justify-content: center;
}

.advance-field-name-btn {
    border: 0;
    background: transparent;
    padding: 0;
    color: #172844;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.advance-field-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.advance-field-action-btn,
.advance-field-page-btn {
    border: 1px solid #dbe3f1;
    background: #fff;
    color: #2f6ee5;
    border-radius: 999px;
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.advance-field-action-btn--danger {
    color: #e34d59;
}

.advance-fields-empty-row td {
    padding: 34px 18px;
    text-align: center;
    color: #6a768f;
}

.advance-fields-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 4px;
}

.advance-field-page-text {
    color: #6a768f;
    font-size: 14px;
    font-weight: 600;
}

.advance-field-modal {
    width: min(92vw, 860px);
}

.advance-field-modal-body {
    padding: 24px 28px 0;
}

.advance-field-modal-card {
    display: grid;
    gap: 16px;
}

.advance-field-label {
    display: grid;
    gap: 8px;
}

.advance-field-label > span {
    color: #172844;
    font-size: 15px;
    font-weight: 500;
}

.advance-field-label--required > span::after {
    content: ' *';
    color: #e34d59;
}

.advance-field-label input[type="text"],
.advance-field-label select {
    min-height: 46px;
    border: 1px solid #d7dfed;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 15px;
    color: #172844;
    background: #fff;
}

.advance-field-label--inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.advance-field-label--inline span::after {
    content: none;
}

.advance-field-modal-footer {
    padding: 18px 28px 24px;
}

.advance-approval-shell {
    max-width: 1200px;
}

.advance-approval-shell h2 {
    margin: 0 0 18px;
    color: #172844;
    font-size: 22px;
    font-weight: 500;
}

.advance-approval-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.advance-approval-card {
    min-height: 180px;
    padding: 20px 18px;
    border: 1px solid #dee6f2;
    border-radius: 6px;
    background: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    cursor: pointer;
    position: relative;
}

.advance-approval-card.is-active {
    background: #f6f6fd;
}

.advance-approval-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.advance-approval-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #c8d2e7;
    position: relative;
    margin-top: 4px;
}

.advance-approval-card.is-active .advance-approval-dot {
    border-color: #2f6ee5;
}

.advance-approval-card.is-active .advance-approval-dot::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #2f6ee5;
}

.advance-approval-copy strong {
    display: block;
    color: #172844;
    font-size: 20px;
    font-weight: 500;
}

.advance-approval-copy p {
    margin: 10px 0 0;
    color: #68748e;
    font-size: 15px;
    line-height: 1.55;
}

.advance-links-shell {
    display: grid;
    gap: 0;
}

.advance-links-location-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #eceff8;
    border-radius: 10px 10px 0 0;
    background: #f8f9fe;
    color: #5d6a85;
    font-size: 16px;
}

.advance-links-empty-state {
    min-height: 640px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 40px 24px 54px;
    border-top: 1px solid #eceff8;
}

.advance-links-empty-art {
    position: relative;
    width: 520px;
    height: 330px;
    margin: 0 auto 18px;
}

.advance-links-window {
    position: absolute;
    top: 2px;
    left: 56px;
    width: 360px;
    height: 210px;
    border: 1px solid #e2e7f2;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.06);
}

.advance-links-window-dot {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e6f0;
    box-shadow: 12px 0 0 #e2e6f0, 24px 0 0 #e2e6f0;
}

.advance-links-window-menu {
    position: absolute;
    top: 58px;
    left: 18px;
    width: 78px;
    height: 118px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f9 100%);
    box-shadow: inset 0 0 0 1px rgba(225, 232, 243, 0.8);
}

.advance-links-window-item {
    position: absolute;
    left: 28px;
    width: 54px;
    height: 8px;
    border-radius: 999px;
    background: #dfe5ef;
}

.advance-links-window-item--one {
    top: 92px;
}

.advance-links-window-item--two {
    top: 122px;
}

.advance-links-action-pill {
    position: absolute;
    top: 58px;
    right: 26px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    background: #4f8ef7;
    color: #fff;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}

.advance-links-url-pill {
    position: absolute;
    right: 22px;
    bottom: 18px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid #dae2ef;
    background: #fff;
    color: #3b6ee5;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}

.advance-links-person {
    position: absolute;
    right: 118px;
    bottom: -8px;
    width: 132px;
    height: 228px;
    background: transparent;
}

.advance-links-person::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #44496a;
    box-shadow: 0 26px 0 0 #f8faff;
}

.advance-links-person::after {
    content: '';
    position: absolute;
    left: 28px;
    bottom: 0;
    width: 76px;
    height: 168px;
    background:
        linear-gradient(180deg, transparent 0 14px, #fff 14px 100%);
    border: 1px solid #dbe2ef;
    border-top: 0;
    border-radius: 34px 34px 18px 18px;
    clip-path: polygon(12% 0, 88% 0, 100% 18%, 84% 100%, 16% 100%, 0 18%);
}

.advance-links-person span {
    position: absolute;
    inset: 58px 0 0;
    display: block;
}

.advance-links-person span::before,
.advance-links-person span::after {
    content: '';
    position: absolute;
    background: #44496a;
}

.advance-links-person span::before {
    left: 58px;
    top: 70px;
    width: 28px;
    height: 8px;
    border-radius: 999px;
    transform: rotate(-55deg);
    transform-origin: left center;
}

.advance-links-person span::after {
    left: 40px;
    top: 84px;
    width: 28px;
    height: 8px;
    border-radius: 999px;
    transform: rotate(26deg);
    transform-origin: left center;
}

.advance-links-empty-state h3,
.advance-validation-empty-state h3 {
    margin: 0;
    color: #172844;
    font-size: 24px;
    font-weight: 700;
}

.advance-links-empty-state p,
.advance-validation-empty-state p {
    max-width: 540px;
    margin: 12px auto 0;
    color: #63718c;
    font-size: 16px;
    line-height: 1.6;
}

.advance-links-empty-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.advance-validation-empty-state {
    min-height: 640px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 40px 24px 54px;
    border-top: 1px solid #eceff8;
}

.advance-validation-empty-state .report-validation-empty-art {
    margin-bottom: 28px;
    transform: translateX(6px);
}

.advance-validation-empty-state .report-validation-empty-board {
    inset: 14px 46px 0;
}

.advance-validation-empty-state .report-validation-empty-node--gold {
    top: 46px;
    left: 198px;
}

.advance-validation-empty-state .report-validation-empty-node--pink {
    top: 92px;
    left: 190px;
}

.advance-validation-empty-state .report-validation-empty-node--green {
    top: 122px;
    left: 190px;
}

.advance-validation-empty-state .report-validation-empty-card {
    left: 240px;
}

.report-type-filter-bar {
    width: fit-content;
    min-width: 84px;
}

.report-validation-builder {
    display: grid;
    gap: 22px;
}

.report-validation-name-field {
    max-width: 420px;
}

.report-validation-canvas {
    display: grid;
    gap: 14px;
}

.report-validation-canvas h2 {
    margin: 0;
    color: #172844;
    font-size: 20px;
    font-weight: 700;
}

.report-validation-stage {
    min-height: 460px;
    border: 1px solid #e4ebfb;
    border-radius: 18px;
    background-image: radial-gradient(circle, rgba(59, 130, 246, 0.12) 1px, transparent 1.3px);
    background-size: 10px 10px;
    background-color: #fcfdff;
    padding: 26px 30px;
    position: relative;
}

.report-validation-when {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #ffab1f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    box-shadow: 0 16px 32px rgba(255, 171, 31, 0.26);
}

.report-validation-line {
    width: 2px;
    height: 66px;
    background: #9baed2;
    margin-left: 44px;
}

.report-validation-add-button {
    min-height: 54px;
    padding: 0 18px;
    border: 1px dashed #7aa2ea;
    border-radius: 12px;
    background: #fff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.report-validation-modal[hidden] {
    display: none !important;
}

.report-validation-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
}

.report-validation-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
}

.report-validation-modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 1080px);
    margin: 110px auto 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.24);
    overflow: hidden;
}

.report-validation-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid #edf2fa;
}

.report-validation-modal-head h3 {
    margin: 0;
    color: #172844;
    font-size: 22px;
    font-weight: 800;
}

.report-validation-modal-body {
    padding: 24px;
}

.report-validation-modal-body > p {
    margin: 0 0 16px;
    color: #334155;
    font-size: 15px;
}

.report-validation-modal-row {
    display: grid;
    grid-template-columns: 54px 92px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 18px;
    align-items: center;
}

.report-validation-row-index {
    width: 46px;
    height: 46px;
    border: 1px solid #dfe7f4;
    border-radius: 50%;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.report-validation-modal-row select,
.report-validation-modal-row input,
.report-validation-modal-body textarea {
    min-height: 46px;
    border: 1px solid #d6deee;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
}

.report-validation-modal-body textarea {
    width: min(100%, 520px);
    min-height: 96px;
    resize: vertical;
}

.report-validation-modal-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 20px;
    color: #64748b;
    font-size: 14px;
}

.report-validation-empty-state {
    gap: 18px;
}

.report-validation-empty-art {
    position: relative;
    width: 420px;
    height: 220px;
}

.report-validation-empty-board {
    position: absolute;
    inset: 16px 38px 0;
    border: 1px solid #dde6f4;
    border-bottom: 2px solid #cfd8e6;
    border-radius: 8px 8px 0 0;
    background: #f9fbfe;
}

.report-validation-empty-node,
.report-validation-empty-card {
    position: absolute;
}

.report-validation-empty-node {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.report-validation-empty-node--gold {
    top: 52px;
    left: 192px;
    background: #f3c44d;
}

.report-validation-empty-node--pink {
    top: 90px;
    left: 180px;
    width: 26px;
    height: 10px;
    border-radius: 999px;
    background: #f6a8ad;
}

.report-validation-empty-node--green {
    top: 118px;
    left: 180px;
    width: 26px;
    height: 10px;
    border-radius: 999px;
    background: #86d9ad;
}

.report-validation-empty-card {
    width: 82px;
    height: 22px;
    border-radius: 4px;
    background: #dce6f4;
    left: 230px;
}

.report-validation-empty-card--one { top: 84px; }
.report-validation-empty-card--two { top: 112px; }
.report-validation-empty-card--three { top: 140px; }

.report-validation-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    background: #e9f4ff;
    color: #2a5f8f;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 980px) {
    .report-custom-status-head,
    .report-custom-status-row,
    .report-validation-modal-row {
        grid-template-columns: 1fr;
    }

    .report-validation-modal-card {
        margin: 24px 14px;
        width: auto;
    }

    .report-validation-stage {
        min-height: 340px;
    }
}

.trip-pref-placeholder {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.trip-pref-modal-checks {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.trip-layouts-page {
    display: grid;
    gap: 24px;
}

.trip-layouts-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.trip-layouts-page-header h2 {
    margin: 0;
    color: #172844;
    font-size: 40px;
    font-weight: 700;
}

.trip-layout-empty-state {
    min-height: 620px;
    border: 1px solid #e6edf7;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    display: grid;
    justify-items: center;
    align-content: center;
    padding: 48px 32px 56px;
    text-align: center;
}

.trip-layout-empty-art {
    position: relative;
    width: min(100%, 520px);
    height: 260px;
    margin-bottom: 18px;
}

.trip-layout-card {
    position: absolute;
    top: 14px;
    width: 188px;
    min-height: 210px;
    border: 3px solid #dbe4f6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 44px rgba(37, 99, 235, 0.07);
    padding: 0 12px 14px;
}

.trip-layout-card--left {
    left: 80px;
    transform: rotate(-1deg);
}

.trip-layout-card--right {
    right: 72px;
    transform: rotate(1deg);
}

.trip-layout-card-head {
    display: block;
    margin: 0 -12px 14px;
    padding: 14px 18px;
    border-radius: 18px 18px 0 0;
    background: #e6ecfb;
    color: #3b6dde;
    font-size: 19px;
    font-weight: 800;
}

.trip-layout-card-line {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: #edf1fb;
    margin-bottom: 12px;
}

.trip-layout-card-line--large {
    width: 88%;
    height: 42px;
    border-radius: 12px;
}

.trip-layout-card-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.trip-layout-card-icons i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eef4ff;
    color: #5a6e95;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.trip-layout-figure {
    position: absolute;
    right: 22px;
    bottom: 0;
    width: 112px;
    height: 220px;
}

.trip-layout-figure-head,
.trip-layout-figure-body,
.trip-layout-figure-arm {
    position: absolute;
    display: block;
    background: #57627f;
}

.trip-layout-figure-head {
    top: 14px;
    right: 34px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.trip-layout-figure-body {
    top: 40px;
    right: 18px;
    width: 18px;
    height: 140px;
    border-radius: 999px;
    transform: rotate(10deg);
    box-shadow: -20px 86px 0 -6px #57627f, -38px 142px 0 -6px #57627f;
}

.trip-layout-figure-arm {
    top: 86px;
    right: 42px;
    width: 70px;
    height: 4px;
    border-radius: 999px;
    transform: rotate(-25deg);
}

.trip-layout-empty-state h3 {
    margin: 0;
    color: #172844;
    font-size: 30px;
    font-weight: 800;
}

.trip-layout-empty-state p {
    max-width: 690px;
    margin: 14px 0 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.65;
}

.trip-layout-empty-actions {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin-top: 24px;
}

.trip-layout-learn-link {
    color: #2563eb;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.trip-layout-list {
    display: grid;
    gap: 14px;
}

.trip-layout-summary-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border: 1px solid #dfe8f5;
    border-radius: 18px;
    background: #fff;
}

.trip-layout-summary-card strong {
    display: block;
    color: #172844;
    font-size: 18px;
    font-weight: 800;
}

.trip-layout-summary-card p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.trip-layout-summary-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.trip-layout-summary-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2853a6;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.trip-layout-builder {
    display: grid;
    gap: 24px;
}

.trip-layout-builder-section {
    border: 1px solid #e6edf5;
    border-radius: 20px;
    background: #fff;
    padding: 28px 32px;
}

.trip-layout-builder-grid {
    display: grid;
    grid-template-columns: minmax(280px, 500px);
    gap: 22px;
}

.trip-layout-label {
    display: grid;
    gap: 8px;
}

.trip-layout-label span {
    color: #243754;
    font-size: 15px;
    font-weight: 700;
}

.trip-layout-label--required span {
    color: #e11d48;
}

.trip-layout-label input,
.trip-layout-label select,
.trip-layout-label textarea,
.trip-layout-table input[type="text"],
.trip-layout-table select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d7e1ee;
    border-radius: 10px;
    background: #fff;
    color: #172844;
    font-size: 15px;
    padding: 10px 14px;
}

.trip-layout-label textarea {
    min-height: 96px;
    resize: vertical;
}

.trip-layout-label--wide {
    max-width: 500px;
}

.trip-layout-builder-title h2 {
    margin: 0;
    color: #172844;
    font-size: 20px;
    font-weight: 800;
}

.trip-layout-note {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 14px;
    margin-top: 18px;
    margin-bottom: 20px;
    padding: 18px 22px;
    border-radius: 12px;
    background: #dff0ff;
    color: #14558b;
}

.trip-layout-note i {
    margin-top: 3px;
}

.trip-layout-note p {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
}

.trip-layout-note ol {
    margin: 0;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.6;
}

.trip-layout-table-wrap {
    overflow-x: auto;
}

.trip-layout-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

.trip-layout-table th,
.trip-layout-table td {
    border: 1px solid #e7edf6;
    padding: 16px 12px;
    vertical-align: middle;
}

.trip-layout-table th {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trip-layout-table td input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #3b82f6;
}

.trip-layout-table-field {
    color: #172844;
    font-size: 15px;
    font-weight: 700;
}

.trip-layout-table-field i {
    margin-left: 6px;
    color: #98a2b3;
    font-size: 12px;
}

.trip-layout-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.trip-layout-actions {
    display: flex;
    gap: 12px;
}

.expense-settings-page {
    gap: 20px;
}

.expense-settings-tabs {
    margin-top: 18px;
}

.expense-preferences-shell {
    display: grid;
    gap: 20px;
}

.expense-preferences-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 34px;
    align-items: start;
}

.expense-preferences-main {
    display: grid;
    gap: 26px;
}

.expense-pref-card {
    padding: 28px 0;
    border-top: 1px solid #e7edf6;
}

.expense-pref-card:first-child {
    border-top: 0;
    padding-top: 0;
}

.expense-pref-card h2 {
    margin: 0 0 16px;
    color: #172844;
    font-size: 20px;
    font-weight: 800;
}

.expense-pref-card--toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid #e4eaf5;
    border-radius: 12px;
    background: #fff;
}

.expense-pref-toggle-copy {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #172844;
}

.expense-pref-toggle-copy strong {
    font-size: 16px;
    font-weight: 700;
}

.expense-pref-toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #1f2f4d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.expense-pref-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.expense-pref-section-head p {
    max-width: 560px;
    margin: 10px 0 0;
    color: #556888;
    font-size: 15px;
    line-height: 1.6;
}

.expense-pref-inline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 22px;
    color: #172844;
    font-size: 16px;
}

.expense-pref-currency-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 8px;
    padding: 0 10px;
    border-radius: 6px;
    background: #23b35a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.expense-pref-checkline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #172844;
    font-size: 15px;
    line-height: 1.55;
}

.expense-pref-checkline input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: #3b82f6;
    flex: 0 0 auto;
}

.expense-pref-inline-form {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.expense-pref-inline-form input,
.expense-pref-inline-form select {
    min-height: 38px;
    border: 1px solid #cfd9eb;
    border-radius: 6px;
    padding: 0 14px;
    background: #fff;
    color: #172844;
    font-size: 15px;
}

.expense-pref-inline-form input {
    width: 122px;
}

.expense-pref-inline-form select {
    min-width: 110px;
}

.expense-pref-quick-links {
    border: 1px solid #e4eaf4;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.expense-pref-quick-links strong {
    display: block;
    padding: 18px 20px;
    border-bottom: 1px solid #e9eef7;
    color: #51627e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.expense-pref-quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #eef2f8;
    color: #2563eb;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.expense-pref-quick-links a:first-of-type {
    border-top: 0;
}

.expense-field-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.expense-field-usage {
    color: #2563eb;
    font-size: 15px;
}

.expense-fields-shell,
.expense-taxes-page,
.expense-gst-form {
    display: grid;
    gap: 24px;
}

.expense-fields-table {
    min-width: 760px;
}

.expense-layout-empty-state .trip-layout-card-head {
    font-size: 16px;
}

.expense-tax-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.expense-tax-table-wrap {
    overflow-x: auto;
}

.expense-tax-table {
    min-width: 640px;
}

.expense-tax-empty-cell {
    min-height: 340px;
    text-align: center;
    color: #697791;
    font-size: 18px;
}

.expense-gst-card {
    max-width: 940px;
    padding: 0;
    border-top: 1px solid #e7edf6;
}

.expense-gst-registration-row {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-radius: 10px;
    background: #f5f6fe;
    color: #172844;
    font-size: 16px;
}

.expense-gst-fields {
    display: grid;
    gap: 22px;
    max-width: 940px;
}

.expense-gst-fields[hidden],
.expense-gst-inline-check[hidden],
.expense-gst-percentage[hidden],
[data-gst-gstin-wrap][hidden],
[data-gst-composition-wrap][hidden],
[data-gst-percentage-wrap][hidden] {
    display: none !important;
}

.expense-gst-inline-check {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
}

.expense-gst-percentage {
    max-width: 612px;
}

.expense-gst-percentage-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
}

.expense-gst-percentage-wrap input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.expense-gst-percentage-wrap em {
    min-height: 46px;
    border: 1px solid #d7e1ee;
    border-left: 0;
    border-radius: 0 10px 10px 0;
    background: #f5f7fd;
    color: #172844;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 15px;
}

.trip-links-page {
    display: grid;
    gap: 18px;
}

.trip-links-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.trip-links-page-header h2 {
    margin: 0;
    color: #172844;
    font-size: 40px;
    font-weight: 700;
}

.trip-links-log-link {
    color: #2563eb;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.trip-links-location-bar {
    min-height: 58px;
    border-radius: 12px;
    background: #f4f6fe;
    color: #51627e;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    font-size: 16px;
}

.trip-links-empty-state {
    min-height: 620px;
    border: 1px solid #e6edf7;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    display: grid;
    justify-items: center;
    align-content: center;
    padding: 48px 32px 56px;
    text-align: center;
}

.trip-links-empty-art {
    position: relative;
    width: min(100%, 500px);
    height: 260px;
    margin-bottom: 18px;
}

.trip-links-browser-card {
    position: absolute;
    left: 52px;
    top: 18px;
    width: 360px;
    height: 220px;
    border: 4px solid #dfe6f7;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 46px rgba(37, 99, 235, 0.08);
}

.trip-links-dot {
    position: absolute;
    left: 18px;
    top: 16px;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #edf1fb;
}

.trip-links-list-lines {
    position: absolute;
    left: 18px;
    top: 50px;
    width: 138px;
    padding: 14px 12px;
    border-radius: 10px;
    background: #f1f4fc;
    display: grid;
    gap: 10px;
}

.trip-links-list-lines span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: #d7deef;
}

.trip-links-action-pill {
    position: absolute;
    right: 42px;
    top: 62px;
    min-width: 110px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    background: #4f84f5;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
}

.trip-links-url-pill {
    position: absolute;
    right: 16px;
    bottom: 18px;
    min-width: 200px;
    min-height: 50px;
    padding: 0 16px 0 54px;
    border: 2px solid #aebcdd;
    border-radius: 12px;
    color: #5472cb;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 800;
}

.trip-links-link-icon {
    position: absolute;
    right: 214px;
    bottom: 18px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #30305f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.trip-links-person {
    position: absolute;
    right: 84px;
    bottom: -2px;
    width: 68px;
    height: 162px;
    border-radius: 30px 30px 12px 12px;
    border: 2px solid #7d86aa;
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
    transform: skew(-4deg);
}

.trip-links-empty-state h3 {
    margin: 0;
    color: #172844;
    font-size: 30px;
    font-weight: 800;
}

.trip-links-empty-state p {
    max-width: 660px;
    margin: 14px 0 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.65;
}

.trip-links-empty-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.trip-custom-action-builder {
    display: grid;
    gap: 12px;
}

.trip-custom-action-section {
    border-top: 1px solid #e7edf6;
    padding-top: 24px;
}

.trip-custom-action-grid {
    display: grid;
    grid-template-columns: minmax(320px, 488px);
    gap: 22px;
}

.trip-custom-action-combo {
    width: 100%;
}

.trip-custom-action-combo-toggle {
    min-height: 48px;
    border-radius: 8px;
}

.trip-custom-action-combo-panel {
    width: 100%;
}

.trip-custom-action-section-title {
    color: #172844;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 18px;
}

.trip-custom-action-criteria-list {
    display: grid;
    gap: 14px;
}

.trip-custom-action-criteria-row {
    display: grid;
    grid-template-columns: 48px 132px minmax(160px, 200px) minmax(160px, 200px) minmax(220px, 1fr);
    gap: 18px;
    align-items: center;
}

.trip-custom-action-criteria-index {
    width: 48px;
    height: 48px;
    border: 1px solid #e3e8f5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #172844;
    font-size: 24px;
}

.trip-custom-action-when,
.trip-custom-action-inline-select select,
.trip-custom-action-inline-input input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d7e1ee;
    border-radius: 8px;
    background: #fff;
    color: #172844;
    font-size: 15px;
    padding: 10px 14px;
}

.trip-custom-action-when {
    background: #f4f6fe;
    text-align: left;
}

.trip-custom-action-add-criteria {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.trip-code-editor {
    border: 1px solid #dbe4f2;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.trip-code-editor-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #e7edf6;
}

.trip-code-editor-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trip-code-editor-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 2px solid #2e7af2;
    color: #2e7af2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.trip-code-editor-brand strong,
.trip-code-editor-signature {
    color: #172844;
}

.trip-code-editor-brand small {
    display: block;
    color: #64748b;
}

.trip-code-editor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #172844;
    font-size: 14px;
}

.trip-code-editor-meta em {
    color: #16a34a;
    font-style: normal;
}

.trip-code-editor-body {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 430px;
}

.trip-code-editor-sidebar {
    padding: 16px 10px 16px 16px;
    background: #fafbfd;
    border-right: 1px solid #e7edf6;
    overflow: auto;
}

.trip-code-editor-group + .trip-code-editor-group {
    margin-top: 18px;
}

.trip-code-editor-group span {
    display: block;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.trip-code-editor-group button {
    width: 100%;
    min-height: 46px;
    margin-bottom: 8px;
    border: 1px dashed #ccd5e8;
    background: #fff;
    color: #172844;
    text-align: left;
    padding: 0 14px;
    cursor: pointer;
}

.trip-code-editor-main {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.trip-code-editor-signature,
.trip-code-editor-footer {
    padding: 16px 18px;
    color: #2563eb;
    font-size: 15px;
}

.trip-code-editor-signature span {
    color: #dc2626;
}

.trip-code-editor-textarea {
    width: 100%;
    min-height: 300px;
    border: 0;
    border-top: 1px solid #edf2fa;
    border-bottom: 1px solid #edf2fa;
    resize: vertical;
    padding: 18px;
    background: #fff;
    color: #475569;
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
    line-height: 1.8;
}

.trip-custom-link-url {
    display: block;
    position: relative;
}

.trip-custom-link-url > span,
.trip-custom-share-label span {
    display: block;
    margin-bottom: 12px;
    color: #e11d48;
    font-size: 15px;
    font-weight: 700;
}

.trip-custom-link-url-head {
    position: absolute;
    top: 0;
    right: 0;
}

.trip-custom-link-placeholder-button {
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 15px;
    cursor: pointer;
}

.trip-custom-link-url textarea {
    width: min(100%, 1150px);
    min-height: 168px;
    border: 1px solid #d7e1ee;
    border-radius: 8px;
    padding: 14px;
    font-size: 15px;
    resize: vertical;
}

.trip-placeholder-panel {
    width: min(100%, 950px);
    margin-top: 8px;
    border: 1px solid #e5eaf6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.trip-placeholder-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trip-placeholder-column {
    padding: 16px 14px;
    border-right: 1px solid #edf2fa;
}

.trip-placeholder-column:last-child {
    border-right: 0;
}

.trip-placeholder-column strong {
    display: block;
    margin-bottom: 14px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.trip-placeholder-option {
    width: 100%;
    min-height: 36px;
    border: 0;
    background: transparent;
    color: #172844;
    text-align: left;
    padding: 0 12px;
    border-radius: 8px;
    cursor: pointer;
}

.trip-placeholder-option:hover {
    background: #f4f7ff;
}

.trip-custom-share-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trip-custom-share-card {
    position: relative;
    min-width: 168px;
    min-height: 48px;
    padding: 0 42px 0 38px;
    border: 1px solid #cdd7e8;
    border-radius: 8px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    color: #172844;
    font-size: 15px;
    cursor: pointer;
}

.trip-custom-share-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.trip-custom-share-card::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 1.5px solid #8ea1c3;
    border-radius: 50%;
    transform: translateY(-50%);
}

.trip-custom-share-card.is-active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1) inset;
}

.trip-custom-share-card.is-active::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    transform: translateY(-50%);
}

.trip-custom-share-card i {
    position: absolute;
    right: 12px;
    color: #67789a;
}

.trip-field-builder .org-user-field-label select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #fff;
    color: #243754;
    font-size: 15px;
    padding: 0 14px;
}

.trip-field-preview-empty {
    margin-top: 34px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #62728b;
    font-size: 15px;
    text-align: center;
}

.trip-approval-builder {
    display: grid;
    gap: 24px;
    width: min(100%, 1240px);
}

.trip-approval-type-form {
    width: min(100%, 1240px);
}

.trip-approval-type-shell {
    border-bottom: 1px solid #e6edf5;
    padding-bottom: 28px;
}

.trip-approval-type-shell h2 {
    color: #172844;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px;
}

.trip-approval-type-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trip-approval-type-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 6px;
    cursor: pointer;
    display: grid;
    gap: 14px;
    grid-template-columns: 18px 1fr;
    min-height: 154px;
    padding: 22px 20px;
}

.trip-approval-type-card input {
    display: none;
}

.trip-approval-type-card.is-active {
    background: #f5f7ff;
}

.trip-approval-type-dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1.5px solid #9fb2d6;
    margin-top: 3px;
    position: relative;
}

.trip-approval-type-card.is-active .trip-approval-type-dot {
    border-color: #2563eb;
}

.trip-approval-type-card.is-active .trip-approval-type-dot::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    background: #2563eb;
}

.trip-approval-type-copy strong {
    color: #172844;
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
}

.trip-approval-type-copy p {
    color: #55657e;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.trip-approval-type-copy a {
    color: #2563eb;
    text-decoration: none;
}

.trip-approval-custom-panel {
    margin-top: 26px;
    border: 1px solid #e6edf5;
    border-radius: 20px;
    overflow: hidden;
    background: #f7f9ff;
}

.trip-approval-custom-hero {
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 34px 24px 20px;
    background: linear-gradient(180deg, #f4f7ff 0%, #eef3ff 100%);
}

.trip-approval-custom-art {
    position: relative;
    width: 320px;
    height: 130px;
    margin-bottom: 20px;
}

.trip-approval-custom-line,
.trip-approval-custom-node,
.trip-approval-custom-avatar {
    position: absolute;
}

.trip-approval-custom-line {
    background: #59bdd2;
}

.trip-approval-custom-line--vertical {
    left: 56px;
    top: 6px;
    width: 3px;
    height: 62px;
}

.trip-approval-custom-line--branch-top {
    left: 56px;
    top: 33px;
    width: 74px;
    height: 3px;
    border-top-right-radius: 8px;
}

.trip-approval-custom-line--branch-bottom {
    left: 56px;
    top: 68px;
    width: 118px;
    height: 3px;
    border-top-right-radius: 8px;
}

.trip-approval-custom-node--start {
    left: 47px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #59bdd2;
}

.trip-approval-custom-node--decision {
    left: 104px;
    top: 54px;
    width: 28px;
    height: 28px;
    background: #59bdd2;
    transform: rotate(45deg);
}

.trip-approval-custom-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.12);
    font-size: 16px;
}

.trip-approval-custom-avatar--top,
.trip-approval-custom-avatar--mid {
    background: #89d7ee;
    color: #18546a;
}

.trip-approval-custom-avatar--top {
    left: 128px;
    top: 12px;
}

.trip-approval-custom-avatar--mid {
    left: 168px;
    top: 47px;
}

.trip-approval-custom-avatar--end {
    top: 47px;
}

.trip-approval-custom-avatar--gold {
    left: 218px;
    background: #ffe59d;
    color: #9a6b00;
}

.trip-approval-custom-avatar--pink {
    left: 266px;
    background: #ffc6e1;
    color: #96356a;
}

.trip-approval-custom-hero h3 {
    max-width: 680px;
    margin: 0;
    color: #172844;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
}

.trip-approval-custom-hero p {
    margin: 12px 0 0;
    color: #68788f;
    font-size: 16px;
}

.save-btn--inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    text-decoration: none;
}

.trip-approval-saved-list {
    display: grid;
    gap: 12px;
    padding: 22px 20px 0;
}

.trip-approval-saved-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid #dfe8f5;
    border-radius: 16px;
    background: #fff;
}

.trip-approval-saved-card strong {
    color: #172844;
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.trip-approval-saved-card p {
    margin: 6px 0 0;
    color: #65748b;
    font-size: 14px;
    line-height: 1.5;
}

.trip-approval-saved-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.trip-approval-saved-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2853a6;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.trip-approval-note-card {
    padding: 24px 20px 26px;
    border-top: 1px solid #e6edf5;
    background: #fff;
}

.trip-approval-note-card strong {
    color: #1e9f47;
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}

.trip-approval-note-card ul {
    margin: 0;
    padding-left: 22px;
    color: #5a6881;
    line-height: 1.7;
}

.trip-approval-note-card li + li {
    margin-top: 8px;
}

.trip-approval-section {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 20px;
    padding: 28px 32px;
}

.trip-approval-section h2 {
    color: #172844;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
}

.trip-approval-section > p {
    color: #6c7b91;
    font-size: 15px;
    margin: 0 0 20px;
}

.trip-approval-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trip-approval-label {
    display: grid;
    gap: 8px;
}

.trip-approval-label--full {
    grid-column: 1 / -1;
}

.trip-approval-label-text {
    color: #243754;
    font-size: 15px;
    font-weight: 700;
}

.trip-approval-label-text--required {
    color: #e11d48;
}

.trip-approval-label input,
.trip-approval-label textarea,
.trip-approval-inline-select select,
.trip-approval-inline-input input {
    width: 100%;
    background: #fff;
    border: 1px solid #d7e1ee;
    border-radius: 14px;
    color: #172844;
    font-size: 15px;
    min-height: 50px;
    padding: 12px 14px;
}

.trip-approval-label textarea {
    min-height: 120px;
    resize: vertical;
}

.trip-approval-criteria-list {
    display: grid;
    gap: 14px;
}

.trip-approval-criteria-row {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 42px 88px minmax(220px, 1.4fr) minmax(150px, .9fr) minmax(170px, 1fr) 32px;
}

.trip-approval-criteria-index,
.trip-approval-level-badge {
    align-items: center;
    background: #eff4ff;
    border: 1px solid #d8e5ff;
    border-radius: 999px;
    color: #2563eb;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.trip-approval-when {
    background: #fff;
    border: 1px solid #d7e1ee;
    border-radius: 14px;
    color: #243754;
    font-size: 14px;
    font-weight: 700;
    min-height: 48px;
}

.trip-approval-combo-toggle {
    min-height: 50px;
}

.trip-approval-combo-panel {
    max-height: 320px;
    overflow: hidden;
}

.trip-approval-combo-group {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 10px 14px 6px;
    text-transform: uppercase;
}

.trip-approval-remove {
    align-items: center;
    background: transparent;
    border: 0;
    color: #ef4444;
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.trip-approval-add-criteria,
.trip-approval-add-level {
    background: transparent;
    border: 0;
    color: #2563eb;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    margin-top: 16px;
    padding: 0;
}

.trip-approval-mode-row {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-bottom: 24px;
}

.trip-approval-mode {
    align-items: center;
    color: #243754;
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    gap: 10px;
}

.trip-approval-mode input,
.trip-approval-inline-select select {
    accent-color: #2563eb;
}

.trip-approval-levels {
    display: grid;
    gap: 16px;
}

.trip-approval-level-row {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 42px minmax(220px, 350px) 32px;
}

.trip-approval-level-combo {
    border: 1px solid #d7e1ee;
    border-radius: 14px;
    min-height: 50px;
    overflow: visible;
}

.trip-approval-actions {
    display: flex;
    gap: 12px;
}

.trip-approval-builder button:hover,
.trip-approval-builder a:hover,
.trip-approval-builder select:hover,
.trip-approval-builder input:hover,
.trip-approval-builder textarea:hover {
    transition: all 0.18s ease;
}

.trip-approval-builder input:focus,
.trip-approval-builder textarea:focus,
.trip-approval-builder select:focus {
    border-color: #4f8ef7;
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.12);
    outline: none;
}

@media (max-width: 1080px) {
    .trip-approval-type-grid {
        grid-template-columns: 1fr;
    }

    .trip-approval-grid {
        grid-template-columns: 1fr;
    }

    .trip-approval-criteria-row {
        grid-template-columns: 42px 88px 1fr;
    }

    .trip-approval-inline-select,
    .trip-approval-inline-input {
        grid-column: 2 / -1;
    }

    .trip-approval-remove {
        grid-column: 3;
        justify-self: end;
    }
}

@media (max-width: 768px) {
    .trip-layouts-page-header,
    .trip-layout-summary-card,
    .trip-layout-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .expense-preferences-grid,
    .expense-gst-registration-row,
    .expense-gst-inline-check {
        grid-template-columns: 1fr;
    }

    .expense-pref-section-head,
    .expense-pref-inline-row,
    .expense-field-actions,
    .expense-tax-actions,
    .expense-pref-inline-form {
        flex-direction: column;
        align-items: stretch;
    }

    .trip-layout-builder-section {
        border-radius: 16px;
        padding: 20px;
    }

    .trip-layout-builder-grid {
        grid-template-columns: 1fr;
    }

    .trip-layout-empty-state {
        min-height: auto;
        padding: 32px 18px 40px;
    }

    .trip-layout-empty-art {
        height: 210px;
        transform: scale(0.88);
        transform-origin: top center;
    }

    .trip-layout-empty-state h3 {
        font-size: 24px;
    }

    .trip-layout-summary-meta {
        justify-content: flex-start;
    }

    .trip-links-page-header,
    .trip-links-empty-actions,
    .trip-custom-share-options {
        flex-direction: column;
        align-items: stretch;
    }

    .trip-custom-action-grid,
    .trip-custom-action-criteria-row,
    .trip-placeholder-columns,
    .trip-code-editor-body {
        grid-template-columns: 1fr;
    }

    .trip-links-empty-state {
        min-height: auto;
        padding: 32px 18px 40px;
    }

    .trip-links-empty-art {
        transform: scale(0.82);
        transform-origin: top center;
        height: 220px;
    }

    .expense-pref-card--toggle {
        align-items: flex-start;
    }

    .expense-tax-empty-cell {
        min-height: 220px;
    }

    .trip-custom-action-criteria-row {
        gap: 12px;
    }

    .trip-custom-link-url textarea,
    .trip-placeholder-panel {
        width: 100%;
    }

    .trip-approval-section {
        border-radius: 16px;
        padding: 20px;
    }

    .trip-approval-section h2 {
        font-size: 24px;
    }

    .trip-approval-level-row {
        grid-template-columns: 42px 1fr 32px;
    }

    .trip-approval-level-combo {
        grid-column: 1 / span 2;
    }

    .trip-approval-saved-card {
        flex-direction: column;
    }

    .trip-approval-saved-meta {
        justify-content: flex-start;
    }

    .trip-approval-custom-art {
        transform: scale(0.85);
        transform-origin: top center;
    }
}

@media (max-width: 768px) {
    .trip-pref-grid--two {
        grid-template-columns: 1fr;
    }

    .trip-pref-card {
        border-radius: 14px;
        padding: 18px;
    }

    .trip-pref-card h2 {
        font-size: 22px;
    }
}

@media (max-width: 1180px) {
    .admin-advances-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .admin-advances-preview-card,
    .admin-advances-section,
    .admin-advances-hero {
        width: 100%;
    }

    .admin-advances-flow-row,
    .admin-advances-quick-grid {
        grid-template-columns: 1fr;
    }

    .admin-reports-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .admin-reports-preview-card,
    .admin-reports-section,
    .admin-reports-hero {
        width: 100%;
    }

    .admin-reports-flow-row,
    .admin-reports-quick-grid {
        grid-template-columns: 1fr;
    }

    .admin-trips-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .admin-trips-preview-card,
    .admin-trips-section,
    .admin-trips-hero {
        width: 100%;
    }

    .admin-trips-flow-row--primary,
    .admin-trips-flow-row--secondary,
    .admin-trips-quick-grid {
        grid-template-columns: 1fr;
    }

    .admin-trips-flow-arrow {
        transform: rotate(90deg);
    }

    .admin-trips-flow-connector {
        display: none;
    }
}

@media (max-width: 760px) {
    .admin-advances-content {
        padding: 18px 14px 28px;
        gap: 24px;
    }

    .admin-advances-hero {
        padding-top: 14px;
    }

    .admin-advances-hero-copy h1 {
        font-size: 34px;
    }

    .admin-advances-preview-shell,
    .admin-advances-section {
        padding: 18px 16px 20px;
    }

    .admin-advances-preview-tabs {
        gap: 14px;
    }

    .admin-advances-preview-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px 0;
    }

    .admin-advances-preview-row strong {
        text-align: left;
    }

    .admin-advances-flow-legend {
        flex-direction: column;
        gap: 14px;
    }

    .admin-advances-quick-card {
        min-height: 0;
        padding: 22px 18px;
    }

    .admin-reports-content {
        padding: 18px 14px 28px;
        gap: 24px;
    }

    .admin-reports-hero {
        padding-top: 14px;
    }

    .admin-reports-hero-copy h1 {
        font-size: 34px;
    }

    .admin-reports-preview-shell,
    .admin-reports-section {
        padding: 18px 16px 20px;
    }

    .admin-reports-preview-tabs {
        gap: 14px;
    }

    .admin-reports-preview-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px 0;
    }

    .admin-reports-preview-row strong {
        text-align: left;
    }

    .admin-reports-flow-legend {
        flex-direction: column;
        gap: 14px;
    }

    .admin-reports-quick-card {
        min-height: 0;
        padding: 22px 18px;
    }

    .admin-trips-content {
        padding: 18px 14px 28px;
        gap: 24px;
    }

    .admin-trips-hero {
        padding-top: 14px;
    }

    .admin-trips-hero-copy h1 {
        font-size: 34px;
    }

    .admin-trips-preview-shell,
    .admin-trips-section {
        padding: 18px 16px 20px;
    }

    .admin-trips-preview-tabs {
        gap: 14px;
        flex-wrap: wrap;
    }

    .admin-trips-preview-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px 0;
    }

    .admin-trips-preview-actions {
        justify-content: flex-start;
    }

    .admin-trips-flow-legend {
        flex-direction: column;
        gap: 14px;
    }

    .admin-trips-quick-card {
        min-height: 0;
        padding: 22px 18px;
    }
}

body.admin-travel-documents-page {
    background: #f7f9fc;
}

.travel-documents-content {
    padding: 28px 36px 40px;
}

.travel-documents-shell {
    display: grid;
    gap: 18px;
}

.travel-documents-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.travel-documents-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e2d49;
    font-size: 18px;
}

.travel-documents-breadcrumb a {
    color: #1e2d49;
    text-decoration: none;
}

.travel-documents-breadcrumb strong {
    color: #4a86f7;
    font-size: 22px;
    font-weight: 500;
}

.travel-documents-primary {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    background: #4a86f7;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.travel-documents-alert {
    max-width: 520px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.travel-documents-alert--error {
    color: #bd1f2d;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.travel-documents-alert--success {
    color: #166534;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
}

.travel-documents-create-card {
    border: 1px solid #dfe6f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(33, 47, 78, 0.08);
}

.travel-documents-create-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #e8edf6;
}

.travel-documents-create-head h2 {
    margin: 0;
    color: #172844;
    font-size: 22px;
    font-weight: 600;
}

.travel-documents-create-head p {
    margin: 6px 0 0;
    color: #64748b;
}

.travel-documents-close-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.travel-documents-close-link:hover,
.travel-documents-close-link:focus-visible {
    background: #f3f5fd;
    color: #172844;
}

.travel-documents-create-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 24px;
}

.travel-documents-create-form label {
    display: grid;
    gap: 8px;
    color: #45597e;
    font-size: 13px;
    font-weight: 700;
}

.travel-documents-create-form select,
.travel-documents-create-form input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d8e0ef;
    border-radius: 8px;
    padding: 0 12px;
    color: #172844;
    background: #fff;
    font: inherit;
}

.travel-documents-file-field input {
    padding: 9px 12px;
}

.travel-documents-create-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 6px;
}

.travel-documents-create-actions button,
.travel-documents-create-actions a {
    min-height: 42px;
    border-radius: 8px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
}

.travel-documents-create-actions button {
    border: 0;
    background: #4a86f7;
    color: #fff;
    cursor: pointer;
}

.travel-documents-create-actions a {
    border: 1px solid #d8e0ef;
    color: #45597e;
    background: #fff;
}

.travel-documents-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dfe6f3;
}

.travel-documents-tab {
    position: relative;
    color: #1d2944;
    text-decoration: none;
    font-size: 18px;
    padding-bottom: 8px;
}

.travel-documents-tab.is-active {
    color: #3f7ef0;
}

.travel-documents-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 3px;
    border-radius: 999px;
    background: #4a86f7;
}

.travel-documents-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #f3f5fd;
}

.travel-documents-filter-chip {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1f2740;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.travel-documents-department {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid #d8e0ef;
    border-radius: 999px;
    overflow: visible;
    background: #fff;
}

.travel-documents-department span {
    padding: 0 18px;
    color: #45597e;
    border-right: 1px solid #e4eaf5;
}

.travel-documents-department select {
    min-width: 220px;
    height: 38px;
    border: 0;
    outline: 0;
    padding: 0 16px;
    background: transparent;
    color: #5d6f91;
}

.travel-documents-table-wrap {
    overflow-x: auto;
    background: #fff;
}

.travel-documents-table {
    width: 100%;
    border-collapse: collapse;
}

.travel-documents-table th,
.travel-documents-table td {
    padding: 18px 10px;
    border-bottom: 1px solid #e8edf6;
    text-align: left;
}

.travel-documents-table th {
    color: #586886;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.travel-documents-table td {
    color: #172844;
    font-size: 14px;
}

.travel-documents-empty {
    padding: 88px 16px !important;
    text-align: center !important;
    color: #6d7b94 !important;
    font-size: 18px !important;
}

.travel-documents-attachment {
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #edf4ff;
    color: #2d6ae8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.travel-documents-attachment--empty {
    background: #f2f4f8;
    color: #7b88a3;
}

@media (max-width: 760px) {
    .travel-documents-content {
        padding: 18px 14px 28px;
    }

    .travel-documents-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .travel-documents-create-form {
        grid-template-columns: 1fr;
    }

    .travel-documents-tabs {
        gap: 18px;
        overflow-x: auto;
    }

    .travel-documents-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .travel-documents-department {
        width: 100%;
    }

    .travel-documents-department select {
        min-width: 0;
        width: 100%;
    }
}
.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.35);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.category-modal{
    width:950px;
    background:#fff;
    border-radius:8px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.modal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 22px;
    border-bottom:1px solid #e5e7eb;
}

.modal-header h2{
    margin:0;
    font-size:30px;
    font-weight:600;
}

.close-btn{
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
}

.subtitle{
    padding:20px 22px;
    margin:0;
    color:#666;
}

.category-container{
    margin:0 22px;
    border:1px solid #e5e7eb;
    border-radius:6px;
    height:500px;
    overflow-y:auto;
}

.select-all{
    padding:18px;
    border-bottom:1px solid #e5e7eb;
}

.parent-category{
    padding:18px;
    cursor:pointer;
    font-size:20px;
    display:flex;
    gap:10px;
    align-items:center;
}

.child-categories{
    padding-left:50px;
}

.child-categories label{
    display:block;
    padding:10px 0;
    font-size:17px;
}

.modal-footer{
    padding:18px 22px;
    border-top:1px solid #e5e7eb;
}

.btn-primary{
    background:#3b82f6;
    color:white;
    border:none;
    padding:10px 22px;
    border-radius:5px;
    cursor:pointer;
}

.btn-secondary{
    background:white;
    border:1px solid #d1d5db;
    padding:10px 22px;
    border-radius:5px;
    margin-left:10px;
    cursor:pointer;
}
.page-modal-overlay{
    position:fixed;
    inset:0;
    z-index:9999;
}

.budget-selector-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.budget-selector-dialog{
    position:relative;
    width:950px;
    max-width:95%;
    height:720px;
    margin:40px auto;
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(0,0,0,.25);
}

.budget-selector-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 24px;
    border-bottom:1px solid #e5e7eb;
}

.budget-selector-header h2{
    margin:0;
    font-size:30px;
    font-weight:600;
}

.modal-close-btn{
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#f3f4f6;
    font-size:28px;
    cursor:pointer;
}

.budget-selector-description{
    padding:20px 24px;
    font-size:18px;
    color:#444;
}

.budget-selector-body{
    margin:0 24px;
    height:470px;
    overflow-y:auto;
    border:1px solid #e5e7eb;
    border-radius:6px;
}

.select-all-row{
    padding:18px 25px;
    border-bottom:1px solid #ececec;
    font-size:22px;
}

.category-tree{
    padding:15px 25px 30px;
}

.tree-parent{
    font-size:18px;
    margin:10px 0;
    display:flex;
    align-items:center;
    gap:10px;
}

.child-parent{
    margin-left:20px;
}

.arrow{
    color:#4b5563;
}

.tree-child-group{
    margin-bottom:15px;
}

.tree-item{
    display:block;
    margin-left:50px;
    padding:10px 0;
    font-size:18px;
    color:#333;
}

.tree-item input{
    margin-right:10px;
    width:18px;
    height:18px;
}

.budget-selector-footer{
    padding:18px 24px;
    border-top:1px solid #e5e7eb;
}

.btn-add{
    background:#2f80ff;
    color:#fff;
    border:none;
    padding:12px 28px;
    border-radius:5px;
    cursor:pointer;
    font-size:16px;
}

.btn-cancel{
    margin-left:10px;
    background:#fff;
    border:1px solid #d1d5db;
    padding:12px 25px;
    border-radius:5px;
    cursor:pointer;
}

/* Budget selector redesign */
.budget-selector-overlay{
    align-items:flex-start;
    justify-content:center;
    padding:16px;
    background:rgba(15, 23, 42, .56);
    overflow-y:auto;
}

.budget-selector-overlay[hidden]{
    display:none !important;
}

.budget-selector-backdrop{
    background:rgba(15, 23, 42, .56);
}

.budget-selector-dialog{
    height:auto;
    width:min(1100px, calc(100vw - 32px));
    max-width:calc(100vw - 32px);
    max-height:calc(100vh - 32px);
    margin:16px auto;
    border-radius:10px;
    box-shadow:0 30px 80px rgba(15, 23, 42, .28);
    display:flex;
    flex-direction:column;
}

.budget-selector-header{
    align-items:flex-start;
    gap:16px;
    padding:20px 24px 14px;
    border-bottom:1px solid #edf1f7;
}

.budget-selector-header h2{
    font-size:28px;
    line-height:1.15;
    font-weight:500;
    color:#1f2a44;
}

.modal-close-btn{
    width:48px;
    height:48px;
    background:#f4f6fb;
    color:#1f2a44;
    font-size:30px;
    line-height:1;
    transition:background-color .15s ease, transform .15s ease;
}

.modal-close-btn:hover{
    background:#e9eef9;
    transform:translateY(-1px);
}

.budget-selector-description{
    padding:16px 24px 18px;
    line-height:1.45;
    color:#525866;
}

.budget-selector-toolbar{
    padding:0 24px 10px;
}

.budget-selector-select-all{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#344054;
    font-size:17px;
    font-weight:400;
    cursor:pointer;
    user-select:none;
}

.budget-selector-select-all input{
    width:18px;
    height:18px;
    margin:0;
    accent-color:#4a86f7;
}

.budget-selector-body{
    height:auto;
    margin:0 24px;
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    border:1px solid #e2e8f3;
    border-radius:6px;
    background:#fff;
    padding:4px 0 14px;
    scrollbar-gutter:stable;
}

.budget-selector-group{
    margin:0;
}

.budget-selector-group + .budget-selector-group{
    margin-top:2px;
}

.budget-selector-group-summary{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 20px 9px;
    color:#273147;
    font-size:19px;
    font-weight:500;
    cursor:pointer;
    list-style:none;
    outline:none;
}

.budget-selector-group-summary::-webkit-details-marker{
    display:none;
}

.budget-selector-group-summary--root{
    padding-top:14px;
    font-size:20px;
}

.budget-selector-group-arrow{
    width:18px;
    min-width:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#6b7280;
    transition:transform .15s ease;
}

.budget-selector-group.is-collapsed > .budget-selector-group-summary .budget-selector-group-arrow i{
    transform:rotate(-90deg);
}

.budget-selector-group-body{
    padding:0 0 2px 0;
}

.budget-selector-group-body--nested{
    padding-left:18px;
}

.budget-selector-node{
    width:100%;
}

.budget-selector-option{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:8px 20px 8px 54px;
    color:#2f3647;
    cursor:pointer;
}

.budget-selector-option--child{
    padding-left:54px;
}

.budget-selector-option--parent{
    padding-left:54px;
    font-weight:500;
}

.budget-selector-option input{
    width:18px;
    height:18px;
    margin-top:2px;
    accent-color:#4a86f7;
    flex:0 0 auto;
}

.budget-selector-option-label{
    display:flex;
    flex-direction:column;
    gap:3px;
    min-width:0;
}

.budget-selector-option strong{
    color:#2f3647;
    font-size:16px;
    font-weight:400;
}

.budget-selector-option small{
    color:#7b8496;
    font-size:13px;
    line-height:1.35;
}

.budget-selector-option:hover,
.budget-selector-group-summary:hover,
.budget-selector-select-all:hover{
    background:#f8faff;
}

.budget-selector-footer{
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px 24px 20px;
    margin-top:16px;
    border-top:1px solid #edf1f7;
}

.budget-selector-footer .expense-primary,
.budget-selector-footer .expense-ghost{
    min-width:88px;
    min-height:44px;
    padding:0 18px;
    border-radius:6px;
}

.budget-selector-footer .expense-primary{
    background:#4a86f7;
    box-shadow:none;
}

.budget-selector-footer .expense-primary:hover{
    background:#3476ef;
}

.budget-selector-footer .expense-ghost{
    margin-left:0;
}

.budget-selector-body::-webkit-scrollbar{
    width:12px;
}

.budget-selector-body::-webkit-scrollbar-track{
    background:#f5f7fb;
}

.budget-selector-body::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:999px;
    border:3px solid #f5f7fb;
}

.budget-selector-dialog{
    position:relative;
    z-index:1;
}

/* Zoho-style admin analytics report shell */
body.admin-analytics-page.expense-details-report-page {
    background: #f5f6fb;
    overflow-x: hidden;
}

body.admin-analytics-page.expense-details-report-page .admin-shell {
    --admin-analytics-rail: 90px;
    min-height: 100vh;
    background: #f5f6fb;
}

body.admin-analytics-page.expense-details-report-page .dashboard-sidebar.admin-sidebar {
    width: var(--admin-analytics-rail);
    min-width: var(--admin-analytics-rail);
    background: #f2f4fb;
    border-right: 1px solid #e3e8f4;
    color: #111827;
    z-index: 55;
}

body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-brand {
    height: 58px;
    justify-content: center;
    padding: 0;
    background: #202840;
    border-bottom: 0;
}

body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-brand-title {
    display: none;
}

body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-nav {
    gap: 4px;
    padding: 18px 10px 0;
}

body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-link {
    width: 70px;
    height: 68px;
    padding: 7px 5px;
    border-radius: 7px;
    color: #07142d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    text-align: center;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
}

body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-link i {
    width: auto;
    font-size: 18px;
}

body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-link:hover {
    background: #e9eefb;
    color: #07142d;
}

body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-link.is-active {
    background: #3f86f7;
    color: #fff;
    box-shadow: none;
}

body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-admin-switch {
    width: 70px;
    min-height: 84px;
    margin: auto 10px 18px;
    padding: 8px 6px;
    border: 0;
    border-radius: 7px;
    background: #e8ebff;
    color: #111827;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
}

body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-admin-switch i {
    font-size: 17px;
}

body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-collapse {
    width: 90px;
    height: 48px;
    border-radius: 0;
    background: #e8ebff;
    color: #111827;
}

body.admin-analytics-page.expense-details-report-page .admin-main {
    width: calc(100% - var(--admin-analytics-rail));
    margin-left: var(--admin-analytics-rail);
    padding-top: 58px;
    background: #f5f6fb;
    position: relative;
    z-index: 1;
}

body.admin-analytics-page.expense-details-report-page .admin-main::before {
    content: none;
}

body.admin-analytics-page.expense-details-report-page .admin-topbar {
    left: var(--admin-analytics-rail);
    right: 0;
    height: 58px;
    padding: 0 18px 0 20px;
    background: #202840;
    border-bottom: 0;
    color: #fff;
    z-index: 50;
}

body.admin-analytics-page.expense-details-report-page .admin-topbar .dashboard-search {
    width: 376px;
    height: 40px;
    background: #333a56;
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.82);
}

body.admin-analytics-page.expense-details-report-page .admin-topbar .dashboard-search input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

body.admin-analytics-page.expense-details-report-page .admin-topbar .view-pill,
body.admin-analytics-page.expense-details-report-page .admin-topbar .topbar-icon,
body.admin-analytics-page.expense-details-report-page .admin-topbar .topbar-icon-link {
    color: #fff;
}

body.admin-analytics-page.expense-details-report-page .admin-topbar .view-mini {
    color: rgba(255, 255, 255, 0.68);
}

body.admin-analytics-page.expense-details-report-page .admin-topbar .topbar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    background: #fff;
}

body.admin-analytics-page.expense-details-report-page .admin-topbar .topbar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.admin-analytics-page.expense-details-report-page .admin-analytics-content {
    min-height: calc(100vh - 58px);
    padding: 0;
    gap: 0;
    background: #f5f6fb;
    display: block;
    overflow: visible;
}

body.admin-analytics-page.expense-details-report-page .expense-detail-report-shell {
    min-height: calc(100vh - 58px);
    width: 100%;
    max-width: none;
    padding: 0;
    gap: 0;
    display: flex;
    flex-direction: column;
    background: #f5f6fb;
    position: relative;
    z-index: 2;
}

body.admin-analytics-page.expense-details-report-page .expense-report-header {
    min-height: 90px;
    padding: 20px 20px 18px;
    background: #fff;
    border-bottom: 1px solid #e4e9f2;
}

body.admin-analytics-page.expense-details-report-page .expense-report-toolbar-card {
    border: 0;
    border-bottom: 1px solid #e4e9f2;
    border-radius: 0;
    background: #fff;
}

body.admin-analytics-page.expense-details-report-page .expense-report-filter-row {
    padding: 12px 20px;
    min-height: 56px;
}

body.admin-analytics-page.expense-details-report-page .expense-report-table-card {
    margin: 20px;
    border-color: #e1e7f2;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    flex: 1 1 auto;
    min-height: 635px;
}

body.admin-analytics-page.expense-details-report-page .expense-report-table-tools {
    min-height: 54px;
    padding: 10px 18px;
    border-bottom: 1px solid #e8edf5;
}

body.admin-analytics-page.expense-details-report-page .expense-report-title-block {
    min-height: 162px;
    padding: 36px 18px 24px;
}

body.admin-analytics-page.expense-details-report-page .expense-report-table thead th {
    background: #f7f8fc;
}

body.admin-analytics-page.expense-details-report-page .expense-report-empty-cell {
    height: 260px;
}

@media (max-width: 900px) {
    body.admin-analytics-page.expense-details-report-page .admin-shell {
        --admin-analytics-rail: 76px;
    }

    body.admin-analytics-page.expense-details-report-page .dashboard-sidebar.admin-sidebar {
        width: var(--admin-analytics-rail);
        min-width: var(--admin-analytics-rail);
    }

    body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-link,
    body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-admin-switch {
        width: 58px;
        font-size: 11px;
    }

    body.admin-analytics-page.expense-details-report-page .admin-sidebar .sidebar-collapse {
        width: 76px;
    }

    body.admin-analytics-page.expense-details-report-page .admin-topbar .dashboard-search {
        width: min(320px, 48vw);
    }
}

/* Keep the admin analytics landing page visually aligned with report details. */
body.admin-analytics-page.analytics-page:not(.expense-details-report-page) {
    background: #f5f6fb;
    overflow-x: hidden;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-shell {
    --admin-analytics-rail: 90px;
    min-height: 100vh;
    background: #f5f6fb;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .dashboard-sidebar.admin-sidebar {
    width: var(--admin-analytics-rail);
    min-width: var(--admin-analytics-rail);
    background: #f2f4fb;
    border-right: 1px solid #e3e8f4;
    color: #07142d;
    z-index: 55;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-brand {
    height: 58px;
    justify-content: center;
    padding: 0;
    background: #202840;
    border-bottom: 0;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-brand-title {
    display: none;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-nav {
    gap: 4px;
    padding: 18px 10px 0;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-link {
    width: 70px;
    height: 68px;
    padding: 7px 5px;
    border-radius: 7px;
    color: #07142d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    text-align: center;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-link i {
    width: auto;
    font-size: 18px;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-link:hover {
    background: #e9eefb;
    color: #07142d;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-link.is-active {
    background: #3f86f7;
    color: #fff;
    box-shadow: none;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-admin-switch {
    width: 70px;
    min-height: 84px;
    margin: auto 10px 18px;
    padding: 8px 6px;
    border: 0;
    border-radius: 7px;
    background: #e8ebff;
    color: #111827;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-collapse {
    width: 90px;
    height: 48px;
    border-radius: 0;
    background: #e8ebff;
    color: #111827;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-main {
    width: calc(100% - var(--admin-analytics-rail));
    margin-left: var(--admin-analytics-rail);
    padding-top: 58px;
    background: #f5f6fb;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-topbar {
    left: var(--admin-analytics-rail);
    right: 0;
    height: 58px;
    padding: 0 18px 0 20px;
    background: #202840;
    border-bottom: 0;
    color: #fff;
    z-index: 50;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-topbar .dashboard-search {
    width: 470px;
    max-width: 42vw;
    height: 40px;
    background: #333a56;
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.82);
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-topbar .dashboard-search input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-topbar .view-pill,
body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-topbar .topbar-icon,
body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-topbar .topbar-icon-link,
body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-topbar .avatar-button {
    color: #fff;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-topbar .view-mini {
    color: rgba(255, 255, 255, 0.68);
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-content {
    min-height: calc(100vh - 58px);
    padding: 18px 24px 34px;
    gap: 20px;
    background: #f5f6fb;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-header {
    padding: 0;
    min-height: 52px;
    gap: 20px;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-header h1 {
    color: #1f2d4d;
    font-size: 52px;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 400;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-picker {
    width: min(100%, 408px);
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-picker-toggle {
    min-height: 60px;
    border-color: #ccd7ed;
    background: #fff;
    color: #99a4c0;
    font-size: 18px;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-grid {
    grid-template-columns: 1fr;
    gap: 34px;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-card {
    border: 1px solid #dde5f2;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    padding: 32px 36px 34px;
    background: #fff;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-card-header p {
    color: #506487;
    font-size: 20px;
    line-height: 1.45;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-links.is-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 48px;
}

body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-link {
    color: #0f2850;
    font-size: 18px;
}

@media (max-width: 900px) {
    body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-shell {
        --admin-analytics-rail: 76px;
    }

    body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .dashboard-sidebar.admin-sidebar {
        width: var(--admin-analytics-rail);
        min-width: var(--admin-analytics-rail);
    }

    body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-link,
    body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-admin-switch {
        width: 58px;
        font-size: 11px;
    }

    body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-sidebar .sidebar-collapse {
        width: 76px;
    }

    body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-topbar .dashboard-search {
        width: min(320px, 48vw);
    }

    body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-links.is-cols-3,
    body.admin-analytics-page.analytics-page:not(.expense-details-report-page) .admin-analytics-links.is-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Compact Zoho-like analytics drawer */
body.expense-details-report-page .expense-report-analytics-drawer {
    z-index: 120;
}

body.expense-details-report-page .expense-report-analytics-panel {
    width: min(292px, calc(100vw - 90px));
    margin-left: 90px;
    padding: 22px 14px 18px;
    box-shadow: 12px 0 28px rgba(15, 23, 42, 0.12);
    overflow-y: auto;
    scrollbar-width: thin;
}

body.expense-details-report-page .expense-report-analytics-backdrop {
    left: 90px;
}

@media (max-width: 900px) {
    body.expense-details-report-page .expense-report-analytics-panel {
        width: min(292px, calc(100vw - 76px));
        margin-left: 76px;
    }

    body.expense-details-report-page .expense-report-analytics-backdrop {
        left: 76px;
    }
}

body.expense-details-report-page .expense-report-analytics-header {
    padding: 0 10px 18px;
}

body.expense-details-report-page .expense-report-analytics-header h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
}

body.expense-details-report-page .expense-report-analytics-close {
    width: 30px;
    height: 30px;
    color: #ef4444;
    font-size: 22px;
}

body.expense-details-report-page .expense-report-analytics-picker {
    padding: 0 10px 16px;
}

body.expense-details-report-page .expense-report-analytics-picker-toggle {
    min-height: 46px;
    border-color: #cfd9ee;
    border-radius: 6px;
    color: #334155;
    font-size: 15px;
    overflow: hidden;
}

body.expense-details-report-page .expense-report-analytics-picker-toggle span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.expense-details-report-page .expense-report-analytics-groups {
    gap: 2px;
}

body.expense-details-report-page .expense-report-analytics-group-toggle {
    min-height: 40px;
    border-radius: 6px;
    padding: 0 10px;
    color: #172844;
    background: transparent;
}

body.expense-details-report-page .expense-report-analytics-group.is-open .expense-report-analytics-group-toggle,
body.expense-details-report-page .expense-report-analytics-group-toggle:hover {
    background: #f4f6fb;
}

body.expense-details-report-page .expense-report-analytics-group-toggle span {
    min-width: 0;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
}

body.expense-details-report-page .expense-report-analytics-group-toggle span i {
    color: #8090aa;
    font-size: 15px;
}

body.expense-details-report-page .expense-report-analytics-group-toggle > i {
    color: #64748b;
    font-size: 13px;
    transition: transform 120ms ease;
}

body.expense-details-report-page .expense-report-analytics-group.is-open .expense-report-analytics-group-toggle > i {
    transform: rotate(90deg);
}

body.expense-details-report-page .expense-report-analytics-group-list {
    padding: 4px 0 8px 26px;
    gap: 1px;
}

body.expense-details-report-page .expense-report-analytics-link {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 7px;
    color: #111827;
    font-size: 16px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.expense-details-report-page .expense-report-analytics-link:hover,
body.expense-details-report-page .expense-report-analytics-link.is-active {
    background: #f1f3f8;
    color: #07142d;
}
