/* Component styles — generated by build.rs. Do not edit. */

/* ===== components/badge/badge.css ===== */
.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }
.badge--valid, .badge--completed { background: var(--green-bg); color: var(--green); }
.badge--invalid, .badge--failed { background: var(--red-bg); color: var(--red); }
.badge--warning, .badge--processing { background: var(--yellow-bg); color: #b8860b; }
.badge--unknown, .badge--empty, .badge--pending { background: var(--gray-bg); color: var(--muted); }


/* ===== components/breadcrumbs/breadcrumbs.css ===== */
.breadcrumbs { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--orange-red); }
.breadcrumbs__sep { color: var(--border); }
.breadcrumbs__current { color: var(--dark-burgundy); font-weight: 600; }


/* ===== components/button/button.css ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    border-radius: 4px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange-red); color: #fff; }
.btn-primary:hover { background: #c04525; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.btn-secondary { background: var(--white); color: var(--dark-burgundy); border-color: var(--dark-burgundy); }
.btn-secondary:hover { background: #f0e6e9; color: var(--dark-burgundy); }
.btn-ghost { background: transparent; color: var(--dark-burgundy); border-color: var(--border); }
.btn-ghost:hover { background: var(--gray-bg); color: var(--dark-burgundy); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { filter: brightness(0.93); color: #fff; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.btn-lg { padding: 0.8rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled, .btn[disabled] { opacity: 0.55; cursor: not-allowed; }


/* ===== components/card/card.css ===== */
.card { background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.card--flush { padding: 0; overflow: hidden; }
.card__header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid #e5e7eb; }
.card--flush .card__header { margin: 0; padding: 1.5rem; }
.card__title { margin: 0; font-size: 1.25rem; font-weight: 700; }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.page-header__title { margin: 0; font-size: 1.5rem; font-weight: 700; }
.page-header__sub { color: #4b5563; margin: 0.25rem 0 0; }
.page-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.page-actions form { margin: 0; }
.section-title { margin: 2rem 0 1rem; }


/* ===== components/code_block/code-block.css ===== */
.code-block {
    tab-size: 2;
}

.code-block code {
    display: block;
    min-width: max-content;
}

.code-block .hl-keyword { color: #fb7185; }
.code-block .hl-func { color: #c084fc; }
.code-block .hl-string { color: #86efac; }
.code-block .hl-key { color: #93c5fd; }
.code-block .hl-bool { color: #fbbf24; }
.code-block .hl-number { color: #67e8f9; }
.code-block .hl-comment { color: #94a3b8; font-style: italic; }
.code-block .hl-variable { color: #fde68a; }
.code-block .hl-type { color: #7dd3fc; }


/* ===== components/copy_button/copy-button.css ===== */
.copy-button { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.7rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); color: var(--dark-burgundy); cursor: pointer; font-size: 0.85rem; font-weight: 600; }
.copy-button:hover { background: var(--gray-bg); }
.copy-button.is-copied { background: var(--green-bg); color: var(--green); border-color: var(--green); }


/* ===== components/csv_uploader/csv-uploader.css ===== */
.csv-uploader { background: #fff; }
.csv-uploader__tabs { display: flex; border-bottom: 1px solid #e5e7eb; }
.csv-uploader__tab {
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    color: #6b7280;
}
.csv-uploader__tab:hover { color: var(--orange-red); }
.csv-uploader__tab.is-active { color: var(--orange-red); border-bottom-color: var(--orange-red); }
.csv-uploader__body { padding: 1.5rem; }
.csv-uploader__panel.is-hidden { display: none; }
.csv-uploader__textarea { min-height: 220px; }
.csv-uploader__preview {
    min-height: 100px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #f9fafb;
    padding: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-content: flex-start;
}
.email-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f0e6e9;
    color: var(--dark-burgundy);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.email-tag__remove { border: 0; background: transparent; color: var(--orange-red); cursor: pointer; padding: 0; }
.csv-uploader__count { color: #4b5563; font-size: 0.9rem; }
.csv-uploader__drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 2rem;
    border: 2px dashed #d1d5db;
    border-radius: 6px;
    color: #4b5563;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
}
.csv-uploader__drop.is-active,
.csv-uploader__drop:hover { border-color: var(--orange-red); background: #fff7ed; }
.csv-uploader__drop i { font-size: 1.875rem; color: var(--orange-red); margin-bottom: 0.5rem; }
.csv-uploader__sample { border: 1px solid #d1d5db; border-radius: 4px; overflow: hidden; }
.csv-uploader__sample table.data { min-width: 0; }
.csv-uploader__sample table.data th,
.csv-uploader__sample table.data td { padding: 0.5rem 1rem; }
.csv-uploader__check { display: flex; align-items: center; gap: 0.5rem; padding: 0 1.5rem 1.5rem; font-size: 0.9rem; }
.csv-uploader__hint { font-size: 0.85rem; margin: 0.25rem 0 0 1.6rem; }


/* ===== components/developer_section/developer-section.css ===== */
.dev-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-top: 1.5rem; overflow: hidden; }
.dev-section__header { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; background: none; border: none; cursor: pointer; font-weight: 700; color: var(--dark-burgundy); font-size: 1rem; }
.dev-section__chevron { transition: transform 0.2s; }
.dev-section.is-open .dev-section__chevron { transform: rotate(180deg); }
.dev-section__body { padding: 0 1.25rem 1.25rem; }
.dev-section__body.is-collapsed { display: none; }
.dev-section .code-block { background: #2a1620; color: #f5e6ec; padding: 1rem; border-radius: var(--radius-sm); overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.82rem; margin: 0.5rem 0 1rem; white-space: pre; }


/* ===== components/empty_state/empty-state.css ===== */
.empty-state { text-align: center; padding: 3rem 1.5rem; background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state__icon { font-size: 2.5rem; color: var(--accent-yellow); margin-bottom: 0.75rem; }
.empty-state__title { margin: 0 0 0.4rem; }
.empty-state__message { color: var(--muted); max-width: 460px; margin: 0 auto 1.25rem; }


/* ===== components/features/features.css ===== */
.features { padding: 3.5rem 0; }
.features__title { margin-bottom: 0.25rem; }
.features__sub { margin-bottom: 2rem; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent-yellow); }
.feature-card i { font-size: 1.5rem; color: var(--orange-red); margin-bottom: 0.75rem; }
.feature-card h3 { margin-bottom: 0.4rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: 0.92rem; }


/* ===== components/flash/flash.css ===== */
.flash-wrap {
    position: fixed;
    top: calc(64px + 1rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: min(720px, calc(100vw - 2rem));
    padding: 0;
    pointer-events: none;
}
.flash {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
}
.flash--notice { background: var(--green-bg); color: var(--green); }
.flash--alert { background: var(--red-bg); color: var(--red); }
.flash__text { flex: 1; }
.flash__close { background: none; border: 0; color: inherit; cursor: pointer; padding: 0.2rem 0.35rem; border-radius: var(--radius-sm); opacity: 0.7; font-size: 1rem; line-height: 1; }
.flash__close:hover, .flash__close:focus-visible { opacity: 1; background: rgba(0, 0, 0, 0.06); }


/* ===== components/footer/footer.css ===== */
.site-footer { background: var(--dark-burgundy); color: #f3e9ec; margin-top: 4rem; flex-shrink: 0; }
body.app .site-footer { margin-top: 0; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; flex-wrap: wrap; }
.site-footer__logo { font-size: 1.3rem; font-weight: 800; color: #fff; }
.site-footer__logo-not { color: var(--accent-yellow); }
.site-footer__tag { max-width: 320px; color: #d8c4cc; margin-top: 0.5rem; }
.site-footer__cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.site-footer__heading { color: var(--accent-yellow); font-size: 0.95rem; margin-bottom: 0.6rem; }
.site-footer__cols a { display: block; color: #e9dade; margin-bottom: 0.4rem; font-size: 0.9rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); text-align: center; padding: 1.2rem; font-size: 0.85rem; color: #cdb6bf; }


/* ===== components/header/header.css ===== */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header__logo { font-size: 1.35rem; font-weight: 800; }
.site-header__logo-bounce { color: var(--dark-burgundy); }
.site-header__logo-not { color: var(--orange-red); }
.site-header__nav { display: flex; gap: 1.5rem; }
.site-header__nav a { color: var(--ink); font-weight: 500; }
.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.site-header__credits { font-weight: 600; color: var(--dark-burgundy); font-size: 0.9rem; white-space: nowrap; }
.site-header__credits:hover { text-decoration: none; color: var(--orange-red); }
/* Mobile: the inline nav collapses into a <details> menu (no JS, keyboard accessible). */
.site-header__menu { display: none; position: relative; margin-left: auto; margin-right: 0.75rem; }
.site-header__menu summary { list-style: none; cursor: pointer; padding: 0.45rem 0.6rem; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--ink); }
.site-header__menu summary::-webkit-details-marker { display: none; }
.site-header__menu[open] summary { background: var(--gray-bg); }
.site-header__menu-panel { position: absolute; right: 0; top: calc(100% + 0.5rem); min-width: 12rem; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0.4rem; z-index: 60; }
.site-header__menu-panel a { color: var(--ink); padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); font-weight: 500; }
.site-header__menu-panel a:hover { background: var(--gray-bg); text-decoration: none; }
@media (max-width: 760px) {
    .site-header__nav { display: none; }
    .site-header__menu { display: block; }
    .site-header__actions { gap: 0.6rem; }
    /* Keep "credits" for screen readers but save width on phones (icon + number is enough). */
    .site-header__credits-unit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}


/* ===== components/hero/hero.css ===== */
.hero { background: linear-gradient(160deg, #fff 0%, var(--light-bg) 100%); padding: 4rem 0 3rem; }
.hero__inner { text-align: center; }
.hero__badge { display: inline-block; background: var(--yellow-bg); color: #b8860b; padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 700; font-size: 0.85rem; margin-bottom: 1.25rem; }
.hero__title { font-size: 2.8rem; max-width: 760px; margin: 0 auto 1rem; }
.hero__title span { color: var(--orange-red); }
.hero__sub { font-size: 1.1rem; color: var(--muted); max-width: 620px; margin: 0 auto 1.75rem; }
.hero__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.hero__facts { display: flex; gap: 2.5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.hero__fact { display: flex; flex-direction: column; }
.hero__fact strong { font-size: 1.6rem; color: var(--dark-burgundy); }
.hero__fact span { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 640px) { .hero__title { font-size: 2rem; } }


/* ===== components/how_it_works/how-it-works.css ===== */
.how { padding: 3.5rem 0; background: var(--white); }
.how__grid { margin-top: 2rem; }
.how__step { text-align: center; padding: 1rem; }
.how__num { width: 48px; height: 48px; border-radius: 50%; background: var(--orange-red); color: #fff; font-weight: 800; font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.how__step p { color: var(--muted); margin: 0; }


/* ===== components/pagination/pagination.css ===== */
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-top: 1px solid #e5e7eb; flex-wrap: wrap; }
.pagination__summary { color: var(--muted); font-size: 0.85rem; }
.pagination__pages { display: flex; gap: 0.3rem; align-items: center; }
.pagination__btn { min-width: 34px; height: 34px; padding: 0 0.5rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-size: 0.85rem; }
.pagination__btn:hover { background: var(--gray-bg); text-decoration: none; }
.pagination__btn.is-active { background: var(--orange-red); color: #fff; border-color: var(--orange-red); }
.pagination__ellipsis { color: var(--muted); padding: 0 0.25rem; }


/* ===== components/password_field/password-field.css ===== */
.password-field__wrap { position: relative; }
.password-field__wrap .form-input { padding-right: 2.6rem; }
.password-field__toggle { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.95rem; }
.password-field__toggle:hover { color: var(--dark-burgundy); }


/* ===== components/payment_form/payment_form.css ===== */
.payment-form__heading { font-size: 1.1rem; margin-bottom: 1rem; }
.payment-form__presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
.payment-form__preset {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    color: #111827;
    text-align: center;
}
.payment-form__preset span { color: #6b7280; font-size: 0.875rem; }
.payment-form__preset:hover { border-color: #d1d5db; }
.payment-form__preset.is-selected { background: #eff6ff; border-color: #3b82f6; box-shadow: 0 0 0 3px #bfdbfe; }
.payment-form__amount-wrap { position: relative; display: flex; align-items: center; }
.payment-form__amount-wrap > span { position: absolute; color: #6b7280; font-size: 0.9rem; }
.payment-form__amount-wrap > span:first-child { left: 0.75rem; }
.payment-form__amount-wrap > span:last-child { right: 0.75rem; }
.payment-form__amount-wrap .form-input { padding-left: 1.75rem; padding-right: 3.25rem; }
.payment-form__summary { border: 1px solid #e5e7eb; border-radius: 8px; padding: 1rem; margin: 1rem 0; display: flex; flex-direction: column; gap: 0.65rem; }
.payment-form__new-balance { border-top: 1px solid #e5e7eb; padding-top: 0.75rem; margin-top: 0.25rem; }
.payment-form__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.payment-form__actions .btn { justify-content: center; }
.secure-payment {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    padding: 1rem;
    margin-top: 1rem;
}
.secure-payment p { margin: 0.25rem 0 0; font-size: 0.9rem; }
.payment-form__note { font-size: 0.8rem; text-align: center; margin-top: 0.75rem; }
@media (max-width: 560px) { .payment-form__presets { grid-template-columns: repeat(2, 1fr); } .payment-form__actions { grid-template-columns: 1fr; } }
.secure-payment--test { background: #fffbeb; border-color: #fde68a; color: #92400e; }


/* ===== components/pricing_calculator/pricing-calculator.css ===== */
.calc { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; }
.calc__count { font-size: 1.4rem; font-weight: 800; color: var(--dark-burgundy); }
.calc__slider { width: 100%; margin: 1rem 0 0.25rem; accent-color: var(--orange-red); }
.calc__scale { display: flex; justify-content: space-between; font-size: 0.75rem; margin-bottom: 0.75rem; }
.calc__price { font-size: 1.1rem; }
.calc__price strong { color: var(--orange-red); font-size: 1.3rem; }
.calc__note { font-size: 0.82rem; margin: 0.5rem 0 0; }


/* ===== components/pricing_home/pricing_home.css ===== */
.pricing { padding: 3.5rem 0; }
.pricing__grid { margin: 2rem 0; align-items: stretch; }
.pricing-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; position: relative; }
.pricing-card--popular { border-color: var(--orange-red); box-shadow: var(--shadow-lg); }
.pricing-card__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--orange-red); color: #fff; padding: 0.2rem 0.8rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.pricing-card__price { font-size: 2.4rem; font-weight: 800; color: var(--dark-burgundy); }
.pricing-card ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; flex: 1; }
.pricing-card li { padding: 0.35rem 0; color: var(--ink); font-size: 0.9rem; }
.pricing-card li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 0.5rem; }
.pricing__calc { max-width: 560px; margin: 0 auto; }
.pricing-card > p.muted { min-height: 3.2em; } /* subtitles wrap differently; keep feature lists aligned */


/* ===== components/progress_bar/progress-bar.css ===== */
.progress { height: 8px; background: var(--gray-bg); border-radius: 999px; overflow: hidden; min-width: 80px; }
.progress__fill { height: 100%; background: var(--accent-yellow); border-radius: 999px; transition: width 0.4s; }


/* ===== components/sidebar/sidebar.css ===== */
.sidebar { width: 16rem; background: var(--white); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 1rem; flex-shrink: 0; }
.sidebar__logo { font-size: 1.3rem; font-weight: 800; color: var(--dark-burgundy); padding: 0 0.6rem 1.25rem; }
.sidebar__logo-not { color: var(--orange-red); }
.sidebar__nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.sidebar__heading { color: #6b7280; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; padding: 0.5rem 0.75rem; }
.sidebar__heading--spaced { margin-top: 1.5rem; }
.sidebar__link { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; }
.sidebar__link i { width: 18px; text-align: center; color: var(--muted); }
.sidebar__link:hover { background: var(--gray-bg); text-decoration: none; }
.sidebar__link.is-active { background: var(--orange-red); color: #fff; }
.sidebar__link.is-active i { color: #fff; }
.sidebar__logout-form { margin: 0.5rem 0 0; }
.sidebar__logout { color: var(--red); width: 100%; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
/* Mobile: one horizontally scrollable row of nav chips (section headings hidden). */
@media (max-width: 860px) {
    .sidebar { width: 100%; height: auto; padding: 0.5rem 0.75rem; border-right: 0; border-bottom: 1px solid var(--border); }
    .sidebar__nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 0.35rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .sidebar__nav::-webkit-scrollbar { display: none; }
    .sidebar__heading { display: none; }
    .sidebar__link { flex: 0 0 auto; white-space: nowrap; padding: 0.45rem 0.75rem; font-size: 0.9rem; }
    .sidebar__logout-form { margin: 0; flex: 0 0 auto; }
    .sidebar__logout { width: auto; }
}


/* ===== components/stat_card/stat-card.css ===== */
.stat-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; min-height: 128px; }
.stat-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.stat-card__icon { width: 48px; height: 48px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; flex: 0 0 auto; }
.stat-card--burgundy .stat-card__icon { background: #f3e7ec; color: var(--dark-burgundy); }
.stat-card--orange .stat-card__icon { background: #fbe6de; color: var(--orange-red); }
.stat-card--green .stat-card__icon { background: var(--green-bg); color: var(--green); }
.stat-card--yellow .stat-card__icon { background: var(--yellow-bg); color: #b8860b; }
.stat-card__value { font-size: 1.85rem; font-weight: 800; color: var(--dark-burgundy); line-height: 1.1; margin-top: 0.25rem; }
.stat-card__label { font-size: 0.95rem; color: #4b5563; }
.stat-card__note { margin-top: 1rem; font-size: 0.875rem; color: #4b5563; }
/* Let the text column shrink so a long value can never push the icon out of the card. */
.stat-card__body { min-width: 0; }
.stat-card__value--compact { font-size: 1.25rem; line-height: 1.25; margin-top: 0.45rem; }


/* ===== components/testimonials/testimonials.css ===== */
.testimonials { padding: 3.5rem 0; background: var(--white); }
.testimonials__grid { margin-top: 2rem; }
.testimonial { background: var(--light-bg); border-radius: var(--radius); padding: 1.5rem; }
.testimonial p { font-style: italic; color: var(--ink); }
.testimonial__who { display: flex; align-items: center; gap: 0.7rem; margin-top: 1rem; }
.testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--dark-burgundy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial__who small { color: var(--muted); display: block; }


/* ===== components/topbar/topbar.css ===== */
.app-shell { display: flex; min-height: 0; }
.app-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.app-content { padding: 2rem 1rem; flex: 1; max-width: 1140px; width: 100%; margin: 0 auto; }
.topbar { height: 64px; background: var(--white); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 1.25rem; padding: 0 1.75rem; }
.topbar__spacer { flex: 1; }
.topbar__credits { font-weight: 600; color: var(--dark-burgundy); }
.topbar__user { display: flex; align-items: center; gap: 0.55rem; }
.topbar__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--dark-burgundy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.topbar__name { font-weight: 600; font-size: 0.9rem; }
@media (max-width: 860px) { .app-shell { flex-direction: column; } }

