﻿: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;
}

* {
    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.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;
}

.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);
}

.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-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);
}

@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;
    }
}

@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;
    }

    .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;
    }

    .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;
    }

    .otp-modal {
        padding: 28px 18px 24px;
    }

    .otp-phone {
        font-size: 16px;
    }

    .callback-pill {
        right: 10px;
        bottom: 12px;
    }
}

.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:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)),
        radial-gradient(circle at top left, rgba(84, 133, 255, 0.08), transparent 38%),
        #f6f8fc;
}

.dashboard-sidebar {
    width: 202px;
    min-height: 100vh;
    background: linear-gradient(180deg, #f3f5fb 0%, #f6f7fc 100%);
    border-right: 1px solid #e2e7f1;
    padding: 14px 12px 16px;
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    flex-shrink: 0;
    z-index: 30;
}

.sidebar-brand {
    height: 52px;
    display: flex;
    align-items: center;
    color: #f7f9ff;
    background: #22283f;
    border-radius: 0 0 0 0;
    margin: -14px -12px 10px;
    padding: 0 14px;
}

.brand-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: lowercase;
}

.sidebar-nav {
    display: grid;
    gap: 4px;
    padding-top: 2px;
}

.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 10px;
    color: #5c6678;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    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: rgba(59, 117, 255, 0.07);
    color: #2648a7;
}

.sidebar-link.is-active {
    background: linear-gradient(90deg, #4f8ef7 0%, #4f8ef7 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(79, 142, 247, 0.18);
}

.sidebar-inline-action {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 6px;
    background: rgba(79, 142, 247, 0.14);
    color: #4f8ef7;
    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: rgba(79, 142, 247, 0.22);
    color: #2f6cf0;
    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: 0;
    border-radius: 8px;
    background: #e9ecfb;
    color: #405060;
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.sidebar-collapse {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-top-left-radius: 10px;
    background: #eef1f8;
    color: #647083;
    cursor: pointer;
}

.dashboard-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin-left: 202px;
    width: calc(100% - 202px);
}

.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: sticky;
    top: 0;
    z-index: 20;
}

.dashboard-search {
    width: min(100%, 360px);
    height: 34px;
    border-radius: 8px;
    background: #353a56;
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    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);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.trial-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    white-space: nowrap;
}

.trial-pill a {
    color: #58a1ff;
    text-decoration: none;
    font-weight: 700;
}

.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: 30px;
    height: 30px;
    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;
}

.quick-add-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 210px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.2);
    border: 1px solid #e7ebf3;
    padding: 10px 0 8px;
    display: none;
    z-index: 40;
}

.topbar-quick-add.is-open .quick-add-menu {
    display: grid;
}

.quick-add-menu-header {
    padding: 0 14px 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #6b7484;
}

.quick-add-menu-item {
    appearance: none;
    border: 0;
    background: transparent;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.quick-add-menu-item:hover {
    background: #f4f7ff;
    color: #2d5bd1;
}

.quick-add-menu-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef4ff;
    color: #4f8ef7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.topbar-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    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: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.12);
    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-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: 10px 20px 18px;
    display: grid;
    gap: 16px;
    min-height: calc(100vh - 58px);
    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: 12px 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;
}

.cards-content {
    padding-top: 0;
}

.cards-surface {
    padding-top: 0;
}

.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 input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.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;
    cursor: pointer;
}

.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;
}

.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-heading {
    display: flex;
    align-items: flex-end;
    gap: 18px;
}

.reports-table-heading h1 {
    margin: 0;
    color: #18253d;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    padding-bottom: 14px;
}

.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: #7a879d;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
}

.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;
}

.reports-table-actions {
    display: flex;
    align-items: center;
    gap: 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-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-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-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-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-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-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: center;
    justify-content: center;
    padding: 24px;
    z-index: 300;
}

.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-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-icon-button {
    width: 44px;
    height: 44px;
    border: 1px solid #dbe2ef;
    border-radius: 8px;
    background: #fff;
    color: #3a465d;
    font-size: 20px;
}

.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;
}

.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 22px 28px;
    display: grid;
    gap: 18px;
}

.analytics-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-top: 4px;
}

.analytics-header h1 {
    margin: 0;
    color: #1c2434;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1;
    letter-spacing: -1px;
}

.analytics-header p {
    max-width: 820px;
    margin: 10px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.6;
}

.analytics-search {
    width: min(100%, 260px);
    display: grid;
    gap: 8px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.analytics-search-box {
    min-height: 48px;
    border: 1px solid #dbe2ef;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.analytics-search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1d2433;
}

.analytics-search-box i {
    color: #96a0b5;
    font-size: 12px;
}

.analytics-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.analytics-summary-pill {
    min-height: 88px;
    padding: 16px 18px;
    border: 1px solid #e6ebf4;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
    display: grid;
    gap: 6px;
    align-content: center;
}

.analytics-summary-pill strong {
    color: #1f5fd1;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}

.analytics-summary-pill span {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

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

.analytics-card {
    background: #fff;
    border: 1px solid #e6ebf4;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.05);
    padding: 18px 18px 16px;
    min-height: 260px;
}

.analytics-card--wide {
    grid-column: 1 / -1;
}

.analytics-card--activity {
    max-width: 50%;
}

.analytics-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.analytics-insight-card {
    min-height: 240px;
}

.analytics-insight-list {
    display: grid;
    gap: 10px;
}

.analytics-insight-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid #edf1f7;
}

.analytics-insight-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.analytics-insight-row strong {
    display: block;
    color: #1e2635;
    font-size: 14px;
    font-weight: 700;
}

.analytics-insight-row small {
    display: block;
    margin-top: 3px;
    color: #6b7280;
    font-size: 12px;
}

.analytics-insight-row span {
    color: #1f5fd1;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.analytics-insight-empty {
    padding: 18px 0 6px;
    color: #6b7280;
    font-size: 14px;
}

.analytics-card-header {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.analytics-card-header > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.analytics-card-header i {
    color: #667085;
    font-size: 18px;
}

.analytics-card-header h2 {
    margin: 0;
    color: #1d2636;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.analytics-card-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
}

.analytics-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
}

.analytics-link-list {
    display: grid;
    gap: 10px;
}

.analytics-link-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 54px;
    padding: 8px 0;
    text-decoration: none;
}

.analytics-link-item i {
    width: 18px;
    color: #7a86a1;
    font-size: 16px;
    margin-top: 2px;
}

.analytics-link-item strong {
    display: block;
    color: #1e2635;
    font-size: 14px;
    font-weight: 700;
}

.analytics-link-item small {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.45;
}

.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;
}

.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%;
    }

    .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;
    }

    .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;
        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: 10px 4px 0;
}

.settings-head h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #2a3243;
}

.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: 22px;
    border-bottom: 1px solid #e6eaf2;
    padding: 0 4px;
    overflow-x: auto;
}

.settings-tab {
    position: relative;
    border: 0;
    background: transparent;
    padding: 12px 0 13px;
    color: #2d3646;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.settings-tab.is-active {
    color: #4f8ef7;
}

.settings-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #4f8ef7;
}

.settings-panel {
    display: none;
    gap: 14px;
}

.settings-panel.is-active {
    display: grid;
}

.settings-card {
    background: #fff;
    border: 1px solid #e3e7f1;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.03);
    overflow: hidden;
}

.settings-card-wide {
    width: 100%;
}

.settings-card-header {
    padding: 12px 18px;
    background: #f4f5fb;
    color: #2d3646;
    font-size: 15px;
    font-weight: 800;
}

.settings-card-body {
    padding: 18px;
}

.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;
}

.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: 18px;
    max-width: 1180px;
}

.settings-preference-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 192px;
    gap: 14px;
    align-items: start;
}

.settings-preference-text {
    display: grid;
    gap: 12px;
}

.settings-receipt-help {
    min-height: 70px;
    border-radius: 0;
    background: #f6f7fe;
    padding: 12px 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: 14px;
}

.settings-defaults h2 {
    margin: 12px 0 0;
    color: #2d3646;
    font-size: 18px;
    font-weight: 800;
}

.settings-defaults > p {
    margin: 0;
    color: #6a7384;
    font-size: 14px;
}

.settings-default-card {
    background: #fff;
    border: 1px solid #e3e7f1;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.03);
    overflow: visible;
}

.settings-default-card[data-settings-inline-default-card] {
    padding-bottom: 14px;
}

.settings-default-card header {
    min-height: 44px;
    padding: 18px 26px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    color: #2f3644;
    font-size: 14px;
    font-weight: 800;
    position: relative;
}

.settings-default-card header .settings-bank-edit {
    margin-left: auto;
}

.settings-default-card header i {
    color: #647083;
    font-size: 14px;
}

.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: -12px;
    width: 24px;
    height: 2px;
    background: #4f8ef7;
}

.settings-default-card-display {
    padding: 30px 26px 0;
}

.settings-default-card[data-settings-inline-default-card].is-editing .settings-default-card-display {
    display: none;
}

.settings-default-editor {
    display: none;
    padding: 22px 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: 18px;
}

.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 10px;
    color: #556170;
    font-size: 14px;
    line-height: 1.45;
}

.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;
    color: #5c6678;
    font-size: 14px;
    line-height: 1.5;
}

.settings-default-builder-card {
    border: 1px solid #e4e8f2;
    border-radius: 8px;
    background: #fff;
    padding: 18px 0 12px;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.04);
}

.settings-default-builder-head,
.settings-default-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr) 36px;
    gap: 12px;
    align-items: start;
    padding: 0 16px;
}

.settings-default-builder-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f7;
}

.settings-default-builder-head span {
    color: #586890;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.settings-default-builder-rows {
    display: grid;
    gap: 12px;
}

.settings-default-row {
    position: relative;
}

.settings-default-row-remove {
    width: 24px;
    height: 24px;
    margin-top: 10px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #657089;
    box-shadow: inset 0 0 0 1px #d9deea;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.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: 0 16px 12px;
    background: #fafbff;
    border-bottom: 0;
}

.settings-default-builder-card--inline .settings-default-builder-rows {
    gap: 14px;
}

.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;
}

.settings-pref-picker-toggle {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d6dceb;
    border-radius: 4px;
    background: #fff;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #2d3646;
    font-size: 14px;
    cursor: pointer;
}

.settings-pref-picker-toggle.has-value {
    border-color: #4f8ef7;
}

.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: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    border: 1px solid #d7ddea;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.14);
    overflow: hidden;
}

.settings-pref-picker-search-wrap {
    position: relative;
    padding: 10px;
    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 #cfd8ea;
    border-radius: 4px;
    padding: 0 12px 0 34px;
    color: #2d3646;
    font-size: 14px;
    outline: none;
}

.settings-pref-picker-search:focus {
    border-color: #4f8ef7;
    box-shadow: 0 0 0 2px rgba(79, 142, 247, 0.14);
}

.settings-pref-picker-list {
    max-height: 248px;
    overflow: auto;
    display: grid;
}

.settings-pref-picker-option {
    border: 0;
    background: transparent;
    color: #2d3646;
    text-align: left;
    padding: 12px 18px;
    font-size: 14px;
    cursor: pointer;
}

.settings-pref-picker-option:hover,
.settings-pref-picker-option.is-selected {
    background: #2f6fd4;
    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 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;
    }

    .cards-board {
        grid-template-columns: 1fr;
    }

    .cards-card-tile {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .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);
}

.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;
}

.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%, 430px);
    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: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid #eef1f6;
}

.support-request-kicker {
    margin: 0 0 3px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #788399;
}

.support-request-header h1 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    color: #243047;
}

.support-request-copy {
    margin: 0;
    padding: 14px 16px 0;
    color: #657087;
    font-size: 14px;
    line-height: 1.5;
}

.support-request-flash {
    margin: 14px 16px 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: 14px 16px 18px;
    display: grid;
    gap: 18px;
}

.support-field {
    display: grid;
    gap: 8px;
}

.support-field > span {
    font-size: 14px;
    font-weight: 700;
    color: #243047;
}

.support-field--required > span {
    font-size: 14px;
    font-weight: 700;
    color: #f05a5a;
}

.support-field textarea,
.support-field input[type="text"],
.support-field input[type="tel"] {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    background: #fff;
    padding: 10px 12px;
    color: #2c3445;
    font-size: 14px;
}

.support-field textarea {
    min-height: 126px;
    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: 11px 12px;
    color: #2c3445;
    font-size: 14px;
}

.support-upload small {
    color: #7a8496;
    font-size: 12px;
}

.support-hint {
    margin: -8px 0 0;
    color: #7a8496;
    font-size: 12px;
    line-height: 1.45;
}

.support-form-grid {
    display: grid;
    gap: 14px;
}

.support-submit-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 6px;
}

.support-submit {
    height: 38px;
    border: 0;
    border-radius: 4px;
    padding: 0 18px;
    background: #4f8ef7;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(79, 142, 247, 0.18);
}

.support-back-link {
    color: #4f8ef7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.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;
}

.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;
}

.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);
}

.advance-modal {
    width: min(100%, 420px);
}

.report-modal-body,
.advance-modal-body {
    gap: 12px;
}

.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;
}

.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-preview-pager {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.advance-start-preview-pager button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #eef2f8;
    color: #8d98ad;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.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-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
}

.advance-start-mini-card {
    min-height: 110px;
    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;
}

.advance-start-mini-card i {
    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-arrow {
    color: #93a0b6;
    font-size: 22px;
    text-align: center;
}

.advance-start-flow-note {
    width: min(100%, 240px);
    margin: -2px auto 0;
    display: grid;
    gap: 8px;
    place-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f4;
    background: #fff;
    color: #52607a;
    font-size: 12px;
    text-align: center;
}

.advance-start-flow-note i {
    color: #4f8ef7;
    font-size: 16px;
}

.advance-start-flow-note strong {
    color: #3d4a63;
    font-size: 12px;
}

.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: 8px;
    margin: 0 18px;
}

.bank-select span {
    color: #68728a;
    font-size: 14px;
    font-weight: 700;
}

.bank-select select {
    min-height: 40px;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    padding: 0 12px;
    background: #fff;
}

.bank-modal-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 18px 0;
    border-top: 1px solid #edf0f5;
    margin-top: 18px;
}

.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;
    }

    .analytics-summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .expenses-board-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .analytics-insights {
        grid-template-columns: 1fr;
    }

    .analytics-card--activity {
        max-width: 100%;
    }

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

    .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-grid {
        grid-template-columns: repeat(2, 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;
    }

    .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-grid {
        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;
    }

    .analytics-summary-strip,
    .analytics-link-grid {
        grid-template-columns: 1fr;
    }

    .bank-terms-box,
    .bank-modal-copy,
    .bank-modal-footer,
    .bank-select {
        margin-left: 14px;
        margin-right: 14px;
    }

    .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-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-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: grid;
    gap: 2px;
    padding: 8px;
    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: 240px;
    overflow: auto;
}

.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-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-new {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    text-decoration: none;
}

.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--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;
}
.signin-switch{
    margin-top:16px;
    text-align:center;
    font-size:15px;
    color:#555;
}

.signin-link{
    color:#0d6efd;
    font-weight:600;
    text-decoration:none;
    margin-left:6px;
}

.signin-link:hover{
    text-decoration:underline;
}
