:root {
    --feyalma-green: #0f9f75;
    --feyalma-green-dark: #08765b;
    --feyalma-cyan: #78cbd2;
    --feyalma-lime: #b8d978;
    --feyalma-yellow: #f4cf31;
    --feyalma-ink: #13202b;
    --feyalma-muted: #64748b;
    --feyalma-line: #e6ebef;
    --feyalma-soft: #f6f9f8;
    --feyalma-card: #ffffff;
}

/* Subtle global polish */
.fi-body {
    background:
        radial-gradient(circle at 85% 5%, rgba(120, 203, 210, .10), transparent 24rem),
        radial-gradient(circle at 18% 95%, rgba(184, 217, 120, .09), transparent 26rem),
        #f8fafb;
}

.fi-sidebar {
    border-right: 1px solid rgba(226, 232, 240, .9);
}

.fi-topbar nav {
    border-bottom: 1px solid rgba(226, 232, 240, .8);
    backdrop-filter: blur(12px);
}

.fi-wi-stats-overview-stat,
.fi-section {
    border-radius: 1rem !important;
    border-color: var(--feyalma-line) !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .045) !important;
}

.fi-btn {
    border-radius: .75rem !important;
}

/* Welcome hero */
.feyalma-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 2rem;
    min-height: 230px;
    padding: 2.15rem 2.35rem;
    border: 1px solid rgba(15, 159, 117, .13);
    border-radius: 1.35rem;
    background:
        linear-gradient(120deg, rgba(255,255,255,.98) 0%, rgba(246,251,249,.98) 55%, rgba(237,249,247,.94) 100%);
    box-shadow: 0 18px 55px rgba(15, 23, 42, .07);
}

.feyalma-hero::before,
.feyalma-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.feyalma-hero::before {
    width: 280px;
    height: 280px;
    right: -70px;
    top: -100px;
    background: rgba(120, 203, 210, .15);
}

.feyalma-hero::after {
    width: 190px;
    height: 190px;
    right: 100px;
    bottom: -120px;
    background: rgba(244, 207, 49, .12);
}

.feyalma-hero__content {
    position: relative;
    z-index: 2;
    align-self: center;
}

.feyalma-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .85rem;
    color: var(--feyalma-green-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
}

.feyalma-hero__dot {
    display: inline-block;
    width: .55rem;
    height: .55rem;
    border-radius: 999px;
    background: var(--feyalma-green);
    box-shadow: 0 0 0 5px rgba(15, 159, 117, .10);
}

.feyalma-hero h2 {
    max-width: 760px;
    margin: 0;
    color: var(--feyalma-ink);
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -.025em;
}

.feyalma-hero p {
    max-width: 760px;
    margin: .9rem 0 0;
    color: var(--feyalma-muted);
    font-size: .98rem;
    line-height: 1.65;
}

.feyalma-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.15rem;
}

.feyalma-hero__chips span {
    padding: .42rem .65rem;
    border: 1px solid rgba(15, 159, 117, .12);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #405466;
    font-size: .76rem;
    font-weight: 650;
}

.feyalma-hero__brand {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    min-height: 175px;
}

.feyalma-hero__brand img {
    position: relative;
    z-index: 2;
    width: 128px;
    height: 128px;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(15, 159, 117, .12));
}

.feyalma-hero__brand-orbit {
    position: absolute;
    width: 172px;
    height: 172px;
    border-radius: 999px;
    border: 1px dashed rgba(15, 159, 117, .22);
    box-shadow:
        inset 0 0 0 18px rgba(255,255,255,.36),
        0 0 0 16px rgba(120,203,210,.05);
}

/* Quick actions */
.feyalma-section {
    padding: 1.55rem;
    border: 1px solid var(--feyalma-line);
    border-radius: 1.2rem;
    background: rgba(255,255,255,.95);
    box-shadow: 0 12px 35px rgba(15, 23, 42, .045);
}

.feyalma-section__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.feyalma-section__kicker {
    display: block;
    margin-bottom: .2rem;
    color: var(--feyalma-green);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.feyalma-section__heading h3 {
    margin: 0;
    color: var(--feyalma-ink);
    font-size: 1.15rem;
    font-weight: 800;
}

.feyalma-section__heading p {
    max-width: 530px;
    margin: 0;
    color: var(--feyalma-muted);
    font-size: .82rem;
    text-align: right;
}

.feyalma-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.feyalma-quick-card {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 96px;
    gap: .85rem;
    padding: 1rem;
    border: 1px solid var(--feyalma-line);
    border-radius: 1rem;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    a.feyalma-quick-card:hover {
        transform: translateY(-2px);
        border-color: rgba(15, 159, 117, .28);
        box-shadow: 0 12px 25px rgba(15, 23, 42, .07);
    }
}

.feyalma-quick-card__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: .8rem;
}

.feyalma-quick-card__icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.feyalma-quick-card__icon--green { background: #e9f8f2; color: #07805e; }
.feyalma-quick-card__icon--blue  { background: #eaf6f8; color: #278a96; }
.feyalma-quick-card__icon--amber { background: #fff7dc; color: #b68600; }
.feyalma-quick-card__icon--muted { background: #f1f5f9; color: #64748b; }

.feyalma-quick-card__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .22rem;
}

.feyalma-quick-card__copy strong {
    color: var(--feyalma-ink);
    font-size: .88rem;
    font-weight: 750;
}

.feyalma-quick-card__copy small {
    color: var(--feyalma-muted);
    font-size: .73rem;
    line-height: 1.4;
}

.feyalma-quick-card__arrow {
    margin-left: auto;
    color: var(--feyalma-green);
    font-size: 1.1rem;
    font-weight: 800;
}

.feyalma-quick-card--coming {
    background: #fafbfc;
}

.feyalma-coming-badge {
    position: absolute;
    right: .75rem;
    top: .65rem;
    padding: .22rem .42rem;
    border-radius: 999px;
    background: #eef2f6;
    color: #64748b;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .04em;
}

/* Login polish */
.fi-simple-layout {
    background:
        radial-gradient(circle at 20% 20%, rgba(120,203,210,.13), transparent 25rem),
        radial-gradient(circle at 80% 80%, rgba(184,217,120,.12), transparent 26rem),
        #f7faf9;
}

.fi-simple-main {
    border-radius: 1.2rem !important;
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: 0 22px 70px rgba(15,23,42,.08) !important;
}

@media (max-width: 1024px) {
    .feyalma-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .feyalma-hero {
        grid-template-columns: 1fr;
        padding: 1.4rem;
    }

    .feyalma-hero__brand {
        display: none;
    }

    .feyalma-section__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .feyalma-section__heading p {
        text-align: left;
    }

    .feyalma-quick-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
 | FEYALMA V2 - Premium login experience
 | -------------------------------------------------------------------------- */

body:has(.feyalma-login-shell) .fi-simple-layout {
    min-height: 100vh;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 10% 12%, rgba(120, 203, 210, .16), transparent 28rem),
        radial-gradient(circle at 92% 88%, rgba(184, 217, 120, .14), transparent 30rem),
        linear-gradient(135deg, #f7faf9 0%, #fbfcfb 52%, #f8faf7 100%);
}

body:has(.feyalma-login-shell) .fi-simple-main {
    width: min(1160px, 100%) !important;
    max-width: 1160px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(214, 224, 230, .95) !important;
    border-radius: 1.75rem !important;
    background: #fff !important;
    box-shadow: 0 32px 90px rgba(15, 23, 42, .12) !important;
}

body:has(.feyalma-login-shell) .fi-simple-header {
    display: none !important;
}

body:has(.feyalma-login-shell) .fi-simple-main > .fi-logo,
body:has(.feyalma-login-shell) .fi-simple-main > img {
    display: none !important;
}

.feyalma-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    min-height: 650px;
}

.feyalma-login-story {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 2.3rem 2.5rem 2.15rem;
    background:
        radial-gradient(circle at 86% 16%, rgba(120, 203, 210, .28), transparent 14rem),
        radial-gradient(circle at 20% 95%, rgba(244, 207, 49, .16), transparent 18rem),
        linear-gradient(145deg, #effaf7 0%, #f7fbf8 48%, #eef8f8 100%);
    border-right: 1px solid rgba(15, 159, 117, .10);
}

.feyalma-login-story::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .28;
    background-image:
        linear-gradient(rgba(15, 159, 117, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 159, 117, .08) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom right, rgba(0,0,0,.7), transparent 70%);
}

.feyalma-login-story__watermark {
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    right: -95px;
    bottom: -95px;
    object-fit: contain;
    opacity: .085;
    filter: saturate(.8);
    transform: rotate(-7deg);
    pointer-events: none;
}

.feyalma-login-story__top {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.feyalma-login-story__logo {
    width: 172px;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.feyalma-login-story__version {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    height: 1.55rem;
    padding: 0 .55rem;
    border: 1px solid rgba(15, 159, 117, .16);
    border-radius: 999px;
    background: rgba(255,255,255,.68);
    color: var(--feyalma-green-dark);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.feyalma-login-story__content {
    max-width: 650px;
    margin: 2.6rem 0 2rem;
}

.feyalma-login-story__eyebrow,
.feyalma-login-panel__eyebrow {
    display: inline-flex;
    color: var(--feyalma-green-dark);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.feyalma-login-story h1 {
    max-width: 650px;
    margin: .85rem 0 0;
    color: var(--feyalma-ink);
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1.04;
    font-weight: 850;
    letter-spacing: -.04em;
}

.feyalma-login-story__content > p {
    max-width: 610px;
    margin: 1.15rem 0 0;
    color: #536777;
    font-size: 1rem;
    line-height: 1.68;
}

.feyalma-login-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .48rem;
    margin-top: 1.35rem;
}

.feyalma-login-flow span {
    padding: .46rem .68rem;
    border: 1px solid rgba(15, 159, 117, .12);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #3f5665;
    font-size: .72rem;
    font-weight: 700;
    box-shadow: 0 5px 16px rgba(15,23,42,.03);
}

.feyalma-login-flow b {
    color: var(--feyalma-green);
    font-size: .86rem;
}

.feyalma-login-story__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .72rem;
}

.feyalma-login-story__benefits article {
    min-width: 0;
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    padding: .9rem;
    border: 1px solid rgba(15, 159, 117, .10);
    border-radius: 1rem;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(8px);
}

.feyalma-login-story__benefit-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: .65rem;
    background: rgba(15, 159, 117, .10);
    color: var(--feyalma-green-dark);
}

.feyalma-login-story__benefit-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.feyalma-login-story__benefits strong,
.feyalma-login-story__benefits small {
    display: block;
}

.feyalma-login-story__benefits strong {
    color: var(--feyalma-ink);
    font-size: .78rem;
    line-height: 1.25;
    font-weight: 780;
}

.feyalma-login-story__benefits small {
    margin-top: .25rem;
    color: #657887;
    font-size: .65rem;
    line-height: 1.35;
}

.feyalma-login-panel {
    display: grid;
    place-items: center;
    padding: 2.2rem 2.5rem;
    background: #fff;
}

.feyalma-login-panel__inner {
    width: min(100%, 390px);
}

.feyalma-login-panel__mobile-brand {
    display: none;
    margin-bottom: 1.6rem;
}

.feyalma-login-panel__mobile-brand img {
    width: 160px;
    max-height: 54px;
    object-fit: contain;
    object-position: left center;
}

.feyalma-login-panel h2 {
    margin: .75rem 0 0;
    color: var(--feyalma-ink);
    font-size: 1.85rem;
    line-height: 1.15;
    font-weight: 820;
    letter-spacing: -.025em;
}

.feyalma-login-panel__intro {
    margin: .65rem 0 1.65rem;
    color: var(--feyalma-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.feyalma-login-form .fi-input-wrp {
    border-radius: .8rem !important;
}

.feyalma-login-form .fi-btn {
    min-height: 2.9rem;
    font-weight: 750;
}

.feyalma-login-panel__security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: 1.35rem;
    padding-top: 1rem;
    border-top: 1px solid var(--feyalma-line);
    color: #7a8995;
    font-size: .7rem;
    text-align: center;
}

.feyalma-login-panel__security svg {
    flex: 0 0 auto;
    width: .9rem;
    height: .9rem;
}

@media (max-width: 1000px) {
    .feyalma-login-shell {
        grid-template-columns: 1fr;
    }

    .feyalma-login-story {
        min-height: 390px;
        border-right: 0;
        border-bottom: 1px solid rgba(15, 159, 117, .10);
    }

    .feyalma-login-story__content {
        margin: 1.9rem 0 1.6rem;
    }

    .feyalma-login-story h1 {
        max-width: 760px;
        font-size: clamp(1.8rem, 5vw, 2.7rem);
    }

    .feyalma-login-panel {
        padding: 2.4rem 2rem;
    }
}

@media (max-width: 700px) {
    body:has(.feyalma-login-shell) .fi-simple-layout {
        padding: .75rem;
    }

    body:has(.feyalma-login-shell) .fi-simple-main {
        border-radius: 1.25rem !important;
    }

    .feyalma-login-story {
        display: none;
    }

    .feyalma-login-panel {
        min-height: calc(100vh - 1.5rem);
        padding: 2rem 1.35rem;
    }

    .feyalma-login-panel__mobile-brand {
        display: block;
    }

    .feyalma-login-panel__inner {
        width: 100%;
        max-width: 390px;
    }
}

/* FEYALMA DASHBOARD PERIOD REFINEMENT */

.feyalma-period-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(15, 159, 117, .12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(8px);
}

.feyalma-period-panel__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .12rem;
}

.feyalma-period-panel__label {
    color: var(--feyalma-green-dark);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.feyalma-period-panel__copy strong {
    color: var(--feyalma-ink);
    font-size: .88rem;
    font-weight: 750;
}

.feyalma-period-panel__copy small {
    color: var(--feyalma-muted);
    font-size: .7rem;
}

.feyalma-period-switcher {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .3rem;
    padding: .25rem;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: .8rem;
    background: rgba(248, 250, 252, .9);
}

.feyalma-period-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .48rem .7rem;
    border-radius: .6rem;
    color: #526577;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.feyalma-period-switcher a.is-active {
    background: #fff;
    color: var(--feyalma-green-dark);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

@media (hover: hover) and (pointer: fine) {
    .feyalma-period-switcher a:not(.is-active):hover {
        background: rgba(255, 255, 255, .75);
        color: var(--feyalma-green-dark);
    }
}

.feyalma-hero__updated {
    margin-top: .8rem;
    color: #82909e;
    font-size: .68rem;
}

a.fi-wi-stats-overview-stat,
.fi-wi-stats-overview-stat a {
    cursor: pointer;
}

@media (max-width: 900px) {
    .feyalma-period-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .feyalma-period-switcher {
        width: 100%;
    }

    .feyalma-period-switcher a {
        flex: 1 1 auto;
    }
}

@media (max-width: 560px) {
    .feyalma-period-switcher {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* FEYALMA DASHBOARD REFINEMENT FIX 1 */

.feyalma-hero__chips {
    justify-content: center;
}

.feyalma-hero__updated {
    text-align: center;
}

.feyalma-quick-grid {
    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));
}

/* FEYALMA DASHBOARD REFINEMENT FIX 3 */

.feyalma-hero__updated {
    margin-top: .55rem;
}

.feyalma-section__heading--compact {
    align-items: flex-start;
    justify-content: flex-start;
}

.feyalma-section__heading--compact > div {
    width: 100%;
}

.feyalma-section__heading--compact p {
    margin-top: .35rem;
}\n\n/* FEYALMA DASHBOARD FIX 4 — QUICK ACTIONS ALIGNMENT */

.feyalma-section__heading--compact p {
    margin: .35rem 0 0 0 !important;
    padding: 0;
    max-width: none !important;
    text-align: left !important;
}\n

/* FEYALMA REPORTS & ANALYTICS 15.9 */

.feyalma-report-hero {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.8rem;
    border: 1px solid rgba(14, 165, 164, .14);
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at 88% 12%, rgba(20, 184, 166, .13), transparent 28%),
        radial-gradient(circle at 72% 100%, rgba(250, 204, 21, .12), transparent 24%),
        linear-gradient(135deg, #ffffff 0%, #f7fdfc 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.feyalma-report-hero__kicker {
    display: inline-block;
    margin-bottom: .55rem;
    color: #0f9f75;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .11em;
}

.feyalma-report-hero h2 {
    max-width: 780px;
    margin: 0;
    color: #142230;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}

.feyalma-report-hero p {
    max-width: 820px;
    margin: .8rem 0 0;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.7;
}

.feyalma-report-hero__period {
    min-width: 230px;
    align-self: center;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .86);
}

.feyalma-report-hero__period span,
.feyalma-report-hero__period small,
.feyalma-report-hero__period strong {
    display: block;
}

.feyalma-report-hero__period span {
    color: #0f9f75;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.feyalma-report-hero__period strong {
    margin-top: .25rem;
    color: #172534;
    font-size: .9rem;
}

.feyalma-report-hero__period small {
    margin-top: .2rem;
    color: #7c8a99;
    font-size: .7rem;
}

.feyalma-report-domain-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feyalma-report-domain {
    padding: 1rem;
    border: 1px solid #dbe6ec;
    border-radius: 1rem;
    background: #fff;
}

.feyalma-report-domain__heading {
    margin-bottom: .85rem;
}

.feyalma-report-domain__heading span,
.feyalma-report-domain__heading strong {
    display: block;
}

.feyalma-report-domain__heading span {
    color: #0f9f75;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.feyalma-report-domain__heading strong {
    margin-top: .2rem;
    color: #475569;
    font-size: .75rem;
    font-weight: 650;
    line-height: 1.45;
}

.feyalma-report-kpi-grid {
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feyalma-report-kpi-card {
    min-height: 126px;
    padding: .85rem;
    border: 1px solid #e4edf1;
    border-radius: .85rem;
    background: #fbfdfd;
}

.feyalma-report-kpi-card > span,
.feyalma-report-kpi-card > strong,
.feyalma-report-kpi-card > small,
.feyalma-report-kpi-card > em {
    display: block;
}

.feyalma-report-kpi-card > span {
    color: #64748b;
    font-size: .69rem;
    font-weight: 700;
}

.feyalma-report-kpi-card > strong {
    margin-top: .36rem;
    color: #142230;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.feyalma-report-kpi-card > small {
    margin-top: .35rem;
    color: #738397;
    font-size: .64rem;
    line-height: 1.45;
}

.feyalma-report-kpi-card > em {
    margin-top: .45rem;
    font-size: .62rem;
    font-style: normal;
    font-weight: 700;
}

.feyalma-report-kpi-card > em.is-up {
    color: #059669;
}

.feyalma-report-kpi-card > em.is-down {
    color: #dc2626;
}

.feyalma-report-kpi-card > em.is-neutral {
    color: #64748b;
}

.feyalma-report-analysis-card {
    padding: 1rem;
    border: 1px solid #cfe8df;
    border-radius: .9rem;
    background: #f7fcfa;
}

.feyalma-report-analysis-card--warning {
    border-color: #f6dfae;
    background: #fffaf0;
}

.feyalma-report-analysis-card--info {
    border-color: #cfe0ef;
    background: #f6fafc;
}

.feyalma-report-analysis-card span {
    color: #0f9f75;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .07em;
}

.feyalma-report-analysis-card p {
    margin: .55rem 0 0;
    color: #243444;
    font-size: .78rem;
    line-height: 1.65;
}

.feyalma-report-chart-shell {
    overflow: hidden;
    padding-top: .25rem;
}

.feyalma-report-chart-shell svg {
    width: 100%;
    min-height: 210px;
}

.feyalma-chart-grid {
    stroke: #dbe5ec;
    stroke-width: 1;
}

.feyalma-chart-line {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feyalma-chart-line--sales {
    stroke: #14b8a6;
}

.feyalma-chart-line--cash {
    stroke: #3b82f6;
    stroke-dasharray: 10 9;
}

.feyalma-chart-line--supplier {
    stroke: #6366f1;
}

.feyalma-chart-line--repayment {
    stroke: #f59e0b;
    stroke-dasharray: 10 9;
}

.feyalma-report-chart-labels {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-top: -.2rem;
    color: #64748b;
    font-size: .62rem;
    text-align: center;
}

.feyalma-report-chart-legend {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: .7rem;
    color: #64748b;
    font-size: .66rem;
}

.feyalma-report-chart-legend span::before {
    display: inline-block;
    width: .55rem;
    height: .55rem;
    margin-right: .35rem;
    border-radius: 999px;
    content: "";
    vertical-align: middle;
}

.feyalma-report-chart-legend .is-sales::before {
    background: #14b8a6;
}

.feyalma-report-chart-legend .is-cash::before {
    background: #3b82f6;
}

.feyalma-report-chart-legend .is-supplier::before {
    background: #6366f1;
}

.feyalma-report-chart-legend .is-repayment::before {
    background: #f59e0b;
}

.feyalma-aging-bar {
    display: flex;
    overflow: hidden;
    height: 1.15rem;
    border-radius: 999px;
    background: #eef3f6;
}

.feyalma-aging-bar span {
    min-width: 0;
}

.feyalma-aging-bar .is-current,
.feyalma-aging-grid .is-current {
    background: #14b8a6;
}

.feyalma-aging-bar .is-1-29,
.feyalma-aging-grid .is-1-29 {
    background: #facc15;
}

.feyalma-aging-bar .is-30-59,
.feyalma-aging-grid .is-30-59 {
    background: #fb923c;
}

.feyalma-aging-bar .is-60,
.feyalma-aging-grid .is-60 {
    background: #ef4444;
}

.feyalma-aging-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.feyalma-aging-grid > div {
    padding: .7rem;
    border: 1px solid #e5edf1;
    border-radius: .75rem;
}

.feyalma-aging-grid .dot {
    display: inline-block;
    width: .5rem;
    height: .5rem;
    border-radius: 999px;
}

.feyalma-aging-grid small,
.feyalma-aging-grid strong {
    display: block;
}

.feyalma-aging-grid small {
    margin-top: .25rem;
    color: #718096;
    font-size: .63rem;
}

.feyalma-aging-grid strong {
    margin-top: .2rem;
    color: #172534;
    font-size: .75rem;
}

.feyalma-signal-list {
    display: grid;
    gap: .7rem;
}

.feyalma-signal {
    display: flex;
    gap: .7rem;
    padding: .8rem;
    border: 1px solid #e5edf1;
    border-radius: .8rem;
    background: #fbfdfd;
}

.feyalma-signal > span {
    width: .48rem;
    min-width: .48rem;
    height: .48rem;
    margin-top: .28rem;
    border-radius: 999px;
    background: #0ea5e9;
}

.feyalma-signal--danger > span {
    background: #ef4444;
}

.feyalma-signal--warning > span {
    background: #f59e0b;
}

.feyalma-signal--success > span {
    background: #10b981;
}

.feyalma-signal strong {
    display: block;
    color: #243444;
    font-size: .72rem;
}

.feyalma-signal p {
    margin: .18rem 0 0;
    color: #64748b;
    font-size: .68rem;
    line-height: 1.5;
}

.feyalma-report-table-shell {
    border: 1px solid #e5edf1;
    border-radius: .9rem;
}

.feyalma-report-table-shell table {
    border-collapse: separate;
    border-spacing: 0;
}

.feyalma-report-table-shell th {
    padding: .75rem;
    border-bottom: 1px solid #e5edf1;
    color: #64748b;
    background: #f8fafc;
    font-size: .65rem;
    font-weight: 750;
}

.feyalma-report-table-shell td {
    padding: .75rem;
    border-bottom: 1px solid #f0f4f7;
    color: #334155;
    font-size: .7rem;
}

.feyalma-report-table-shell tr:last-child td {
    border-bottom: 0;
}

.feyalma-report-history-kpi {
    padding: .85rem;
    border: 1px solid #e5edf1;
    border-radius: .8rem;
    background: #fbfdfd;
}

.feyalma-report-history-kpi span,
.feyalma-report-history-kpi strong {
    display: block;
}

.feyalma-report-history-kpi span {
    color: #718096;
    font-size: .64rem;
}

.feyalma-report-history-kpi strong {
    margin-top: .25rem;
    color: #172534;
    font-size: .9rem;
}

.feyalma-report-status {
    display: inline-flex;
    padding: .28rem .5rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: .62rem;
    font-weight: 750;
}

.feyalma-report-link {
    color: #0f8f75;
    font-size: .67rem;
    font-weight: 700;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .feyalma-report-link:hover {
        text-decoration: underline;
    }
}

@media (max-width: 1180px) {
    .feyalma-report-domain-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .feyalma-report-hero {
        flex-direction: column;
    }

    .feyalma-report-hero__period {
        width: 100%;
        min-width: 0;
    }

    .feyalma-report-kpi-grid,
    .feyalma-aging-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .feyalma-report-kpi-grid,
    .feyalma-aging-grid {
        grid-template-columns: 1fr;
    }
}

/* FEYALMA REPORTS & ANALYTICS 15.9 — UI POLISH */

.feyalma-report-hero--compact {
    align-items: center;
    gap: 1.25rem;
    padding: 1.15rem 1.25rem;
}

.feyalma-report-hero--compact .feyalma-report-hero__kicker {
    margin-bottom: .3rem;
}

.feyalma-report-hero--compact h2 {
    max-width: 420px;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.25;
}

.feyalma-report-hero__intro {
    min-width: 250px;
    flex: 1 1 32%;
}

.feyalma-report-context-grid {
    display: grid;
    flex: 1 1 68%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.feyalma-report-context-item {
    min-width: 0;
    padding: .72rem .8rem;
    border: 1px solid #e2eaee;
    border-radius: .8rem;
    background: rgba(255, 255, 255, .9);
}

.feyalma-report-context-item span,
.feyalma-report-context-item strong {
    display: block;
}

.feyalma-report-context-item span {
    color: #0f9f75;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .07em;
}

.feyalma-report-context-item strong {
    margin-top: .24rem;
    color: #1f2f3d;
    font-size: .72rem;
    line-height: 1.4;
}

.feyalma-report-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}

.feyalma-report-summary-grid .feyalma-report-analysis-card {
    min-width: 0;
    height: 100%;
}

.feyalma-signal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .7rem;
}

.feyalma-signal-grid .feyalma-signal {
    height: 100%;
}

.feyalma-report-trends-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.feyalma-report-trend-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #e5edf1;
    border-radius: .95rem;
    background: #fbfdfd;
}

.feyalma-report-trend-card__heading strong,
.feyalma-report-trend-card__heading span {
    display: block;
}

.feyalma-report-trend-card__heading strong {
    color: #243444;
    font-size: .82rem;
}

.feyalma-report-trend-card__heading span {
    margin-top: .2rem;
    color: #64748b;
    font-size: .67rem;
    line-height: 1.45;
}

.feyalma-report-chart-shell--compact {
    margin-top: .6rem;
}

.feyalma-report-chart-shell--compact svg {
    min-height: 155px;
}

.feyalma-report-trend-reading {
    margin-top: .75rem;
    padding: .65rem .75rem;
    border-radius: .75rem;
    background: #f1f7f6;
}

.feyalma-report-trend-reading span,
.feyalma-report-trend-reading strong {
    display: block;
}

.feyalma-report-trend-reading span {
    color: #0f9f75;
    font-size: .6rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feyalma-report-trend-reading strong {
    margin-top: .2rem;
    color: #334155;
    font-size: .68rem;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .feyalma-report-hero--compact {
        align-items: stretch;
        flex-direction: column;
    }

    .feyalma-report-context-grid {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .feyalma-report-context-grid,
    .feyalma-report-summary-grid,
    .feyalma-report-trends-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FEYALMA LOT 15.11 — CREDIT ELIGIBILITY STATUS
   ========================================================= */

.feyalma-customer-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

.feyalma-customer-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid transparent;
    border-radius: 9999px;
    padding: 0.18rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.feyalma-customer-status--active {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.feyalma-customer-status--suspended {
    border-color: #fde68a;
    background: #fffbeb;
    color: #b45309;
}

.feyalma-customer-status--inactive {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.feyalma-customer-status--unknown {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #475569;
}

.feyalma-credit-eligibility {
    border: 1px solid;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
}

.feyalma-credit-eligibility__heading {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.4rem;
}

.feyalma-credit-eligibility--active {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #065f46;
}

.feyalma-credit-eligibility--suspended {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.feyalma-credit-eligibility--inactive {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}
