.fferp-shell,
.fferp-access-card {
    --fferp-ink: #0b1734;
    --fferp-muted: #66758f;
    --fferp-line: #dfe8f3;
    --fferp-panel: #ffffff;
    --fferp-soft: #f5f8fc;
    --fferp-blue: #087cf0;
    --fferp-green: #0aa66f;
    box-sizing: border-box;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--fferp-ink);
}

.fferp-shell *,
.fferp-access-card * { box-sizing: border-box; }

.fferp-access-card {
    width: min(760px, calc(100% - 32px));
    margin: 48px auto;
    padding: 30px;
    border: 1px solid var(--fferp-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(19, 43, 78, .10);
}

.fferp-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    width: min(1540px, calc(100vw - 36px));
    min-height: 760px;
    margin: 24px auto;
    overflow: hidden;
    border: 1px solid var(--fferp-line);
    border-radius: 22px;
    background: #f4f7fb;
    box-shadow: 0 24px 70px rgba(18, 44, 78, .12);
}

.fferp-sidebar {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 18px;
    background: linear-gradient(180deg, #09244d 0%, #071a37 100%);
    color: #fff;
}

.fferp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px 24px;
}

.fferp-brand__mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #18c982, #0b8ff4);
    font-weight: 900;
}

.fferp-brand strong,
.fferp-brand small { display: block; }
.fferp-brand small { margin-top: 2px; color: #9fb2ce; }

.fferp-nav-toggle {
    display: none;
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 700;
}

.fferp-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fferp-nav__link {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 10px 13px;
    border-radius: 10px;
    color: #c9d7ea !important;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none !important;
    transition: .18s ease;
}

.fferp-nav__link:hover,
.fferp-nav__link.is-active {
    background: linear-gradient(90deg, rgba(18, 197, 132, .95), rgba(9, 135, 179, .78));
    color: #fff !important;
}

.fferp-sidebar__footer {
    margin-top: auto;
    padding: 18px 8px 0;
    color: #a8bad2;
    font-size: 12px;
}

.fferp-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: #14ce82;
    box-shadow: 0 0 0 4px rgba(20, 206, 130, .14);
}

.fferp-main {
    min-width: 0;
    padding: 26px;
}

.fferp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.fferp-topbar h1 {
    margin: 3px 0 0;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
}

.fferp-eyebrow {
    color: var(--fferp-muted);
    font-size: 13px;
    font-weight: 650;
}

.fferp-user-chip {
    display: flex;
    max-width: 320px;
    align-items: center;
    gap: 10px;
    padding: 7px 8px 7px 14px;
    border: 1px solid var(--fferp-line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
}
.fferp-user-chip span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fferp-user-chip a {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf5ff;
    color: #0767c4 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}
.fferp-user-chip a:hover { background: #dfeeff; }

.fferp-hero,
.fferp-panel,
.fferp-form,
.fferp-placeholder,
.fferp-test-panel {
    border: 1px solid var(--fferp-line);
    border-radius: 17px;
    background: var(--fferp-panel);
    box-shadow: 0 8px 25px rgba(18, 44, 78, .055);
}

.fferp-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
}

.fferp-hero h2,
.fferp-page-intro h2,
.fferp-placeholder h2 {
    margin: 9px 0 7px;
    font-size: 25px;
}

.fferp-hero p,
.fferp-page-intro p,
.fferp-placeholder p,
.fferp-panel p {
    margin: 0;
    color: var(--fferp-muted);
    line-height: 1.65;
}

.fferp-badge,
.fferp-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.fferp-badge { background: #e8f3ff; color: #106acb; }
.fferp-status--ready { background: #e4faef; color: #077a4b; }
.fferp-status--pending { background: #fff5dc; color: #966500; }

.fferp-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0;
}

.fferp-metric-card {
    min-width: 0;
    padding: 19px;
    border: 1px solid var(--fferp-line);
    border-radius: 15px;
    background: #fff;
}

.fferp-metric-card__label,
.fferp-metric-card strong,
.fferp-metric-card small { display: block; }
.fferp-metric-card__label { margin-bottom: 8px; color: var(--fferp-muted); font-size: 12px; }
.fferp-metric-card strong { overflow-wrap: anywhere; font-size: 17px; }
.fferp-metric-card small { margin-top: 6px; color: #7b899e; line-height: 1.45; }

.fferp-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 16px;
}

.fferp-panel { padding: 22px; }
.fferp-panel__header { margin-bottom: 16px; }
.fferp-panel h3 { margin: 0 0 5px; font-size: 19px; }

.fferp-checklist,
.fferp-roadmap {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fferp-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #edf2f7;
}
.fferp-checklist li:last-child { border-bottom: 0; }
.fferp-checklist li span {
    display: grid;
    flex: 0 0 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
}
.fferp-checklist .is-done span { background: #dff8ec; color: #078652; }
.fferp-checklist .is-pending span { background: #fff1cf; color: #9c6a00; }

.fferp-setup-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #f2d995;
    border-radius: 13px;
    background: #fff9e9;
}
.fferp-setup-callout p { margin-top: 4px; }

.fferp-roadmap li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.fferp-roadmap > li > span {
    display: grid;
    flex: 0 0 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: #edf3fa;
    color: #50627b;
    font-weight: 800;
}
.fferp-roadmap li.is-current > span { background: #e3f8ef; color: #078652; }
.fferp-roadmap strong,
.fferp-roadmap small { display: block; }
.fferp-roadmap small { margin-top: 2px; color: var(--fferp-muted); }

.fferp-test-panel {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
}

.fferp-page-intro { margin-bottom: 17px; }
.fferp-form { padding: 24px; }
.fferp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.fferp-field { display: flex; flex-direction: column; gap: 7px; }
.fferp-field--wide { grid-column: 1 / -1; }
.fferp-field > span { font-size: 13px; font-weight: 750; }
.fferp-field b { color: #df3c52; }
.fferp-field small { color: var(--fferp-muted); line-height: 1.5; }
.fferp-field input,
.fferp-field textarea,
.fferp-field select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cfdbe9;
    border-radius: 10px;
    background: #fff;
    color: var(--fferp-ink);
    font: inherit;
}
.fferp-field textarea { resize: vertical; }
.fferp-field input:focus,
.fferp-field textarea:focus,
.fferp-field select:focus {
    border-color: #5ba6f1;
    outline: 3px solid rgba(8, 124, 240, .10);
}
.fferp-field select:disabled { background: #edf2f7; color: #718096; }

.fferp-form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--fferp-line);
}

.fferp-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 0;
    border-radius: 10px;
    background: var(--fferp-blue);
    color: #fff !important;
    font-weight: 750;
    text-decoration: none !important;
    cursor: pointer;
}
.fferp-button:hover { filter: brightness(.96); }
.fferp-button:disabled { cursor: not-allowed; opacity: .72; }
.fferp-button--secondary { background: #e8f3ff; color: #106acb !important; }
.fferp-text-link { color: #146fce !important; font-weight: 700; text-decoration: none !important; }

.fferp-placeholder {
    max-width: 760px;
    padding: 34px;
}
.fferp-placeholder .fferp-button { margin-top: 20px; }

.fferp-notice {
    margin-bottom: 16px;
    padding: 13px 15px;
    border-radius: 11px;
    font-weight: 700;
}
.fferp-notice--success { border: 1px solid #a7e4ca; background: #e8faF2; color: #087a4d; }

@media (max-width: 1080px) {
    .fferp-shell { grid-template-columns: 220px minmax(0, 1fr); }
    .fferp-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fferp-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .fferp-shell {
        display: block;
        width: min(100% - 18px, 100%);
        margin: 10px auto;
        border-radius: 16px;
    }
    .fferp-sidebar { padding: 16px; }
    .fferp-brand { padding-bottom: 14px; }
    .fferp-nav-toggle { display: block; }
    .fferp-nav { display: none; }
    .fferp-nav.is-open { display: flex; }
    .fferp-sidebar__footer { display: none; }
    .fferp-main { padding: 17px; }
    .fferp-topbar,
    .fferp-hero,
    .fferp-setup-callout { align-items: flex-start; flex-direction: column; }
    .fferp-user-chip { max-width: 100%; }
    .fferp-metric-grid,
    .fferp-form-grid { grid-template-columns: 1fr; }
    .fferp-field--wide { grid-column: auto; }
    .fferp-form-actions,
    .fferp-test-panel { align-items: flex-start; flex-direction: column; }
}

/* FinancialFlow ERP V2 — Sales Integration v0.4.0 */
.fferp-hero--compact { margin-bottom: 16px; }
.fferp-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px;
    border: 1px solid var(--fferp-line);
    border-radius: 14px;
    background: #fff;
}
.fferp-subnav__link {
    padding: 9px 13px;
    border-radius: 9px;
    color: #52647d !important;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
}
.fferp-subnav__link:hover,
.fferp-subnav__link.is-active { background: #eaf4ff; color: #0872d8 !important; }

.fferp-form--embedded {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.fferp-form-stack { display: grid; gap: 15px; }
.fferp-content-grid--accounts { grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); }
.fferp-panel--spaced { margin-top: 16px; }
.fferp-panel__header--split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}
.fferp-quick-links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.fferp-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--fferp-line);
    border-radius: 12px;
}
.fferp-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: #fff;
    font-size: 13px;
}
.fferp-table th,
.fferp-table td {
    padding: 12px 13px;
    border-bottom: 1px solid #e9eff6;
    text-align: left;
    vertical-align: middle;
}
.fferp-table th {
    background: #f4f8fc;
    color: #53647b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.fferp-table tbody tr:last-child td { border-bottom: 0; }
.fferp-table tbody tr:hover { background: #fbfdff; }
.fferp-table form { margin: 0; }
.fferp-table-action {
    padding: 0;
    border: 0;
    background: none;
    color: #0b71d1 !important;
    font: inherit;
    font-weight: 750;
    text-decoration: none !important;
    cursor: pointer;
}
.fferp-actions-cell { display: flex; align-items: center; gap: 12px; }
.fferp-empty { padding: 26px !important; color: var(--fferp-muted); text-align: center !important; }
.fferp-total-row td { background: #f4f8fc; font-weight: 800; }
.fferp-system-label { display: block; margin-top: 4px; color: #7990ab; font-size: 10px; }

.fferp-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}
.fferp-pill.is-green { background: #e4faef; color: #087b4e; }
.fferp-pill.is-yellow { background: #fff3d5; color: #966500; }
.fferp-pill.is-gray { background: #edf2f7; color: #65758c; }

.fferp-journal-builder {
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid var(--fferp-line);
    border-radius: 13px;
    background: #fff;
}
.fferp-journal-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.3fr) minmax(150px, 1fr) minmax(115px, .55fr) minmax(115px, .55fr) 36px;
    gap: 9px;
    align-items: center;
    padding: 9px;
    border-bottom: 1px solid #edf2f7;
}
.fferp-journal-row:last-child { border-bottom: 0; }
.fferp-journal-row--head {
    padding-top: 10px;
    padding-bottom: 10px;
    background: #f4f8fc;
    color: #5d6d83;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.fferp-journal-row label { min-width: 0; }
.fferp-journal-row input,
.fferp-journal-row select {
    width: 100%;
    min-height: 40px;
    padding: 8px 9px;
    border: 1px solid #cfdae7;
    border-radius: 8px;
    background: #fff;
    color: var(--fferp-ink);
    font: inherit;
}
.fferp-journal-row input:focus,
.fferp-journal-row select:focus { border-color: #5ba6f1; outline: 3px solid rgba(8,124,240,.1); }
.fferp-remove-row {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: #fff0f2;
    color: #d63b53;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}
.fferp-journal-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
}
.fferp-journal-total {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: #62738a;
    font-size: 12px;
}
.fferp-journal-total strong { display: block; margin-top: 2px; color: var(--fferp-ink); font-size: 14px; }
.fferp-balance-state {
    padding: 7px 10px;
    border-radius: 9px;
    background: #fff0f2;
    color: #bd3148;
    font-weight: 800;
}
.fferp-balance-state.is-balanced { background: #e4faef; color: #087b4e; }
.fferp-journal-detail { margin-bottom: 16px; border-color: #b9d7f4; }

.fferp-inline-filter {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.fferp-inline-filter label { display: grid; gap: 5px; color: #66758f; font-size: 11px; font-weight: 750; }
.fferp-inline-filter input {
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #cfdbe9;
    border-radius: 9px;
    background: #fff;
    font: inherit;
}
.fferp-balance-banner {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 800;
}
.fferp-balance-banner.is-balanced { border: 1px solid #a7e4ca; background: #e8faf2; color: #087a4d; }
.fferp-balance-banner.is-unbalanced { border: 1px solid #f0b3bd; background: #fff0f2; color: #a92d42; }

.fferp-notice--error { border: 1px solid #f0b3bd; background: #fff0f2; color: #a92d42; }
.fferp-notice--warning { border: 1px solid #efd591; background: #fff8e3; color: #8a6200; }

@media (max-width: 1180px) {
    .fferp-content-grid--accounts { grid-template-columns: 1fr; }
    .fferp-journal-row { grid-template-columns: minmax(160px, 1.1fr) minmax(130px, .9fr) 110px 110px 34px; }
}

@media (max-width: 760px) {
    .fferp-subnav { flex-wrap: nowrap; overflow-x: auto; }
    .fferp-subnav__link { white-space: nowrap; }
    .fferp-panel__header--split,
    .fferp-journal-controls,
    .fferp-quick-links,
    .fferp-inline-filter { align-items: stretch; flex-direction: column; }
    .fferp-journal-builder { overflow-x: auto; }
    .fferp-journal-row { min-width: 760px; }
    .fferp-journal-total { justify-content: flex-start; }
}

.fferp-shell .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* v0.4 — customer, jasa, invoice, piutang, dan penerimaan */
.fferp-content-grid--master { grid-template-columns: minmax(0, 1.8fr) minmax(290px, .85fr); }
.fferp-content-grid--banking { grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr); }
.fferp-table-subtext {
    display: block;
    max-width: 360px;
    margin-top: 4px;
    overflow: hidden;
    color: var(--fferp-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fferp-empty-cell { padding: 28px !important; color: var(--fferp-muted); text-align: center; }
.fferp-pill.is-red { background: #fff0f2; color: #ad3045; }
.fferp-button--danger { border-color: #f2b7c1 !important; background: #fff0f2 !important; color: #b52f46 !important; }

.fferp-flow-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fferp-flow-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
}
.fferp-flow-list li > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: #e5f8ef;
    color: #087b4e;
    font-size: 12px;
    font-weight: 900;
}
.fferp-flow-list strong,
.fferp-flow-list small { display: block; }
.fferp-flow-list small { margin-top: 2px; color: var(--fferp-muted); line-height: 1.45; }
.fferp-roadmap--compact { margin-top: 20px; }

.fferp-invoice-builder {
    overflow: hidden;
    margin: 18px 0 0;
    border: 1px solid var(--fferp-line);
    border-radius: 13px;
    background: #fff;
}
.fferp-invoice-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) minmax(190px, 1.25fr) 82px 125px 130px 34px;
    gap: 9px;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--fferp-line);
}
.fferp-invoice-row:last-child { border-bottom: 0; }
.fferp-invoice-row--head {
    background: #f4f8fc;
    color: #5d6d83;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.fferp-invoice-row label { min-width: 0; }
.fferp-invoice-row input,
.fferp-invoice-row select {
    width: 100%;
    min-height: 40px;
    padding: 8px 9px;
    border: 1px solid #cfdae7;
    border-radius: 8px;
    background: #fff;
    color: var(--fferp-ink);
    font: inherit;
}
.fferp-invoice-row input:focus,
.fferp-invoice-row select:focus { border-color: #5ba6f1; outline: 3px solid rgba(8,124,240,.1); }
.fferp-invoice-row > strong { color: var(--fferp-ink); font-size: 13px; text-align: right; }
.fferp-invoice-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 14px 0 18px;
}
.fferp-invoice-total {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: var(--fferp-muted);
    font-size: 11px;
}
.fferp-invoice-total span { min-width: 110px; text-align: right; }
.fferp-invoice-total strong { display: block; margin-top: 3px; color: var(--fferp-ink); font-size: 14px; }

.fferp-detail-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.fferp-invoice-document { padding: 24px; }
.fferp-invoice-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
}
.fferp-invoice-header h2 { margin: 4px 0 12px; font-size: 28px; }
.fferp-invoice-header p { color: var(--fferp-muted); line-height: 1.55; }
.fferp-invoice-meta {
    display: grid;
    min-width: 230px;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--fferp-line);
    border-radius: 12px;
    background: var(--fferp-soft);
}
.fferp-invoice-meta span { color: var(--fferp-muted); font-size: 11px; }
.fferp-invoice-meta strong { display: block; margin-top: 2px; color: var(--fferp-ink); font-size: 13px; }
.fferp-invoice-summary {
    display: grid;
    width: min(520px, 100%);
    margin: 18px 0 0 auto;
    border: 1px solid var(--fferp-line);
    border-radius: 12px;
    overflow: hidden;
}
.fferp-invoice-summary span {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 13px;
    border-bottom: 1px solid var(--fferp-line);
    color: var(--fferp-muted);
    font-size: 12px;
}
.fferp-invoice-summary span:last-child { border-bottom: 0; }
.fferp-invoice-summary strong { color: var(--fferp-ink); }
.fferp-invoice-summary .is-total { background: #edf7ff; color: #0a5caa; font-size: 14px; font-weight: 800; }
.fferp-invoice-notes { margin-top: 18px; padding: 14px; border-radius: 11px; background: var(--fferp-soft); }
.fferp-invoice-notes p { margin: 5px 0 0; color: var(--fferp-muted); }
.fferp-action-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 18px;
}
.fferp-action-panel h3 { margin: 0 0 4px; }
.fferp-action-panel p { margin: 0; }
.fferp-panel-note { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--fferp-line); }

.fferp-account-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin: 16px 0;
}
.fferp-account-card {
    padding: 17px;
    border: 1px solid var(--fferp-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(18,44,78,.045);
}
.fferp-account-card span,
.fferp-account-card strong,
.fferp-account-card small { display: block; }
.fferp-account-card span { color: var(--fferp-muted); font-size: 11px; font-weight: 750; }
.fferp-account-card strong { margin: 8px 0 4px; font-size: 21px; }
.fferp-account-card small { color: var(--fferp-muted); }

@media (max-width: 1200px) {
    .fferp-content-grid--master,
    .fferp-content-grid--banking { grid-template-columns: 1fr; }
    .fferp-invoice-row { grid-template-columns: minmax(170px, 1.1fr) minmax(180px, 1.2fr) 80px 115px 125px 34px; }
}

@media (max-width: 760px) {
    .fferp-invoice-builder { overflow-x: auto; }
    .fferp-invoice-row { min-width: 850px; }
    .fferp-invoice-controls,
    .fferp-invoice-header,
    .fferp-action-panel,
    .fferp-detail-toolbar { align-items: stretch; flex-direction: column; }
    .fferp-invoice-total { justify-content: flex-start; }
    .fferp-invoice-total span { text-align: left; }
    .fferp-invoice-meta { min-width: 0; }
}

/* v0.4.0 additions used by the integrated sales workflow */
.fferp-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--fferp-muted);
    font-size: 13px;
    line-height: 1.45;
}
.fferp-checkbox input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--fferp-blue);
}
.fferp-form-actions form { margin: 0; }
.fferp-invoice-row output {
    display: block;
    color: var(--fferp-ink);
    font-size: 13px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}
.fferp-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}
.fferp-detail-grid > div {
    padding: 13px;
    border: 1px solid var(--fferp-line);
    border-radius: 11px;
    background: var(--fferp-soft);
}
.fferp-detail-grid span,
.fferp-detail-grid strong { display: block; }
.fferp-detail-grid span { color: var(--fferp-muted); font-size: 11px; }
.fferp-detail-grid strong { margin-top: 4px; overflow-wrap: anywhere; font-size: 14px; }
.fferp-detail-note {
    margin-top: 15px;
    padding: 14px;
    border-radius: 11px;
    background: var(--fferp-soft);
}
.fferp-detail-note p { margin: 5px 0 0; }
.fferp-account-card h3 { margin: 5px 0 0; font-size: 16px; }

@media (max-width: 900px) {
    .fferp-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .fferp-detail-grid { grid-template-columns: 1fr; }
}

/* FinancialFlow ERP V2 — Pengeluaran dan Laporan v0.5.0 */
.fferp-content-grid--expenses {
    grid-template-columns: minmax(0, 1.8fr) minmax(310px, .82fr);
}
.fferp-table--expenses { min-width: 980px; }
.fferp-table-action--danger { color: #b52f46 !important; }

.fferp-subnav--reports {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}
.fferp-subnav--reports .fferp-subnav__link { white-space: nowrap; }

.fferp-report-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid var(--fferp-line);
    border-radius: 14px;
    background: #fff;
}
.fferp-report-filter label {
    display: grid;
    min-width: 165px;
    gap: 6px;
    color: #617089;
    font-size: 11px;
    font-weight: 800;
}
.fferp-report-filter input,
.fferp-report-filter select {
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #cdd9e7;
    border-radius: 9px;
    background: #fff;
    color: var(--fferp-ink);
    font: inherit;
}
.fferp-report-filter__wide { min-width: 240px !important; }
.fferp-report-filter__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.fferp-report-sheet {
    padding: 24px;
    border: 1px solid var(--fferp-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(20, 45, 76, .055);
}
.fferp-report-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 2px solid #dce7f2;
}
.fferp-report-header h2 { margin: 4px 0 5px; font-size: 21px; }
.fferp-report-header p { max-width: 620px; margin: 0; color: var(--fferp-muted); line-height: 1.5; }
.fferp-report-brand { color: #0872d8; font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.fferp-report-header__meta { display: grid; min-width: 230px; gap: 4px; text-align: right; }
.fferp-report-header__meta strong { color: var(--fferp-ink); font-size: 17px; }
.fferp-report-header__meta span,
.fferp-report-header__meta small { color: var(--fferp-muted); }

.fferp-report-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.fferp-report-summary-grid article,
.fferp-aging-grid article {
    padding: 15px;
    border: 1px solid var(--fferp-line);
    border-radius: 12px;
    background: #f8fbfe;
}
.fferp-report-summary-grid span,
.fferp-aging-grid span { display: block; color: var(--fferp-muted); font-size: 11px; font-weight: 750; }
.fferp-report-summary-grid strong,
.fferp-aging-grid strong { display: block; margin-top: 7px; color: var(--fferp-ink); font-size: 19px; }
.fferp-report-summary-grid article.is-positive { border-color: #b9e8d2; background: #ecfaf4; }
.fferp-report-summary-grid article.is-positive strong { color: #087b4e; }
.fferp-report-summary-grid article.is-negative { border-color: #f0b7c1; background: #fff1f3; }
.fferp-report-summary-grid article.is-negative strong { color: #b52f46; }

.fferp-statement-section {
    margin-top: 18px;
    break-inside: avoid;
}
.fferp-statement-section h3 {
    margin: 0;
    padding: 10px 12px;
    border-radius: 9px 9px 0 0;
    background: #eff6fc;
    color: #233d5c;
    font-size: 14px;
}
.fferp-statement-lines { border-right: 1px solid var(--fferp-line); border-left: 1px solid var(--fferp-line); }
.fferp-statement-line,
.fferp-statement-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--fferp-line);
    font-size: 13px;
}
.fferp-statement-line span b { margin-right: 7px; color: #536984; }
.fferp-statement-line.is-empty { color: var(--fferp-muted); }
.fferp-statement-total {
    border: 1px solid var(--fferp-line);
    border-radius: 0 0 9px 9px;
    background: #f7fafc;
    font-weight: 850;
}
.fferp-statement-total--grand {
    margin-top: 20px;
    border-radius: 10px;
    background: #eaf7f1;
    color: #087b4e;
    font-size: 16px;
}

.fferp-balance-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}
.fferp-balance-sheet-grid > div { display: grid; gap: 18px; }
.fferp-balance-sheet-grid .fferp-statement-section { margin-top: 0; }

.fferp-ledger-block,
.fferp-journal-report-block {
    margin-bottom: 20px;
    break-inside: avoid;
}
.fferp-ledger-heading,
.fferp-journal-report-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px;
    border: 1px solid var(--fferp-line);
    border-bottom: 0;
    border-radius: 11px 11px 0 0;
    background: #eef6fc;
}
.fferp-ledger-heading strong,
.fferp-ledger-heading small,
.fferp-journal-report-heading strong,
.fferp-journal-report-heading span,
.fferp-journal-report-heading small { display: block; }
.fferp-ledger-heading small,
.fferp-journal-report-heading span,
.fferp-journal-report-heading small { margin-top: 3px; color: var(--fferp-muted); }
.fferp-journal-report-heading > div:last-child { text-align: right; }
.fferp-ledger-closing {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    padding: 10px 13px;
    border: 1px solid var(--fferp-line);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #f7fafc;
}
.fferp-ledger-closing span { color: var(--fferp-muted); }

.fferp-aging-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.fferp-aging-grid strong { font-size: 16px; }
.fferp-report-note {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff8e5;
    color: #7b5b0b;
    font-size: 12px;
    line-height: 1.55;
}
.fferp-empty-report {
    padding: 38px 20px;
    border: 1px dashed #cdd9e7;
    border-radius: 12px;
    color: var(--fferp-muted);
    text-align: center;
}
.fferp-report-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 13px;
    border-top: 1px solid var(--fferp-line);
    color: var(--fferp-muted);
    font-size: 10px;
}

@media (max-width: 1200px) {
    .fferp-content-grid--expenses { grid-template-columns: 1fr; }
    .fferp-aging-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .fferp-report-filter,
    .fferp-report-filter__actions,
    .fferp-report-header,
    .fferp-ledger-heading,
    .fferp-journal-report-heading,
    .fferp-report-footer { align-items: stretch; flex-direction: column; }
    .fferp-report-filter label,
    .fferp-report-filter__wide { width: 100%; min-width: 0 !important; }
    .fferp-report-filter__actions { width: 100%; margin-left: 0; }
    .fferp-report-filter__actions .fferp-button { width: 100%; }
    .fferp-report-sheet { padding: 16px; }
    .fferp-report-header__meta,
    .fferp-journal-report-heading > div:last-child { min-width: 0; text-align: left; }
    .fferp-report-summary-grid,
    .fferp-balance-sheet-grid { grid-template-columns: 1fr; }
    .fferp-aging-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print {
    @page { margin: 14mm; size: A4 portrait; }
    html, body { background: #fff !important; }
    #wpadminbar,
    .site-header,
    .site-footer,
    header.elementor-location-header,
    footer.elementor-location-footer,
    .fferp-sidebar,
    .fferp-topbar,
    .fferp-no-print { display: none !important; }
    html { margin-top: 0 !important; }
    .fferp-shell {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }
    .fferp-main { padding: 0 !important; }
    .fferp-report-sheet {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .fferp-report-header { margin-bottom: 14px; }
    .fferp-report-summary-grid article,
    .fferp-aging-grid article,
    .fferp-statement-section,
    .fferp-ledger-block,
    .fferp-journal-report-block { break-inside: avoid; }
    .fferp-table-wrap { overflow: visible !important; border-color: #b9c4cf !important; }
    .fferp-table { min-width: 0 !important; font-size: 9px !important; }
    .fferp-table th,
    .fferp-table td { padding: 6px 7px !important; }
    a { color: inherit !important; text-decoration: none !important; }
}

/* v0.6 — PDF, Excel, dan link laporan read-only */
.fferp-report-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 16px;
    margin: 0 0 16px;
    border: 1px solid var(--fferp-border, #d8e3ef);
    border-radius: 14px;
    background: #fff;
}

.fferp-report-actions__downloads {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fferp-button--excel {
    background: #087a53;
    border-color: #087a53;
}

.fferp-button--share {
    white-space: nowrap;
    background: #6d3bd1;
    border-color: #6d3bd1;
}

.fferp-share-create-form {
    display: flex;
    align-items: end;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.fferp-share-create-form label {
    display: grid;
    gap: 4px;
    min-width: 130px;
}

.fferp-share-create-form label span {
    color: #60738d;
    font-size: 11px;
    font-weight: 700;
}

.fferp-share-create-form select {
    min-height: 39px;
    padding: 7px 30px 7px 10px;
    border: 1px solid #cddbe9;
    border-radius: 9px;
    background: #fff;
    color: #0a1c35;
}

.fferp-share-notice {
    display: grid;
    gap: 10px;
    padding: 16px;
    margin: 0 0 16px;
    border: 1px solid #8adab8;
    border-radius: 14px;
    background: #eafbf3;
    color: #075d3c;
}

.fferp-share-notice > div:first-child strong,
.fferp-share-notice > div:first-child span {
    display: block;
}

.fferp-share-notice > div:first-child span,
.fferp-share-notice small {
    margin-top: 3px;
    color: #3f735f;
    font-size: 12px;
}

.fferp-share-notice__copy {
    display: flex;
    gap: 8px;
}

.fferp-share-notice__copy input {
    flex: 1 1 420px;
    min-width: 0;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid #a7d8c3;
    border-radius: 9px;
    background: #fff;
    color: #0a3e2c;
}

.fferp-link-button--danger {
    color: #bd2f3c;
}

.fferp-status--warning {
    background: #fff2d6;
    color: #9b5b00;
}

.fferp-status--muted {
    background: #edf1f5;
    color: #627188;
}

@media (max-width: 900px) {
    .fferp-share-create-form {
        margin-left: 0;
        width: 100%;
    }

    .fferp-report-actions > .fferp-text-link {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .fferp-report-actions,
    .fferp-report-actions__downloads,
    .fferp-share-create-form,
    .fferp-share-notice__copy {
        display: grid;
        grid-template-columns: 1fr;
    }

    .fferp-report-actions .fferp-button,
    .fferp-share-create-form label,
    .fferp-share-create-form select {
        width: 100%;
    }
}

/* FinancialFlow ERP V2 v1.1.0 - white-label branding, account management, and users */
.fferp-shell,
.fferp-access-card {
    --fferp-primary: #102A55;
    --fferp-accent: #2B43C6;
    --fferp-sidebar: #08264B;
    --fferp-report-header: #102A55;
    --fferp-blue: var(--fferp-accent);
}

.fferp-sidebar {
    background: linear-gradient(180deg, var(--fferp-sidebar) 0%, color-mix(in srgb, var(--fferp-sidebar) 82%, #000 18%) 100%);
}

@supports not (background: color-mix(in srgb, #000 50%, #fff 50%)) {
    .fferp-sidebar { background: var(--fferp-sidebar); }
}

.fferp-nav__link:hover,
.fferp-nav__link.is-active {
    background: linear-gradient(90deg, var(--fferp-accent), color-mix(in srgb, var(--fferp-accent) 66%, #0aa66f 34%));
}

.fferp-button { background: var(--fferp-accent); }
.fferp-button--secondary { background: color-mix(in srgb, var(--fferp-accent) 10%, #fff 90%); color: var(--fferp-accent) !important; }
.fferp-text-link,
.fferp-table-action { color: var(--fferp-accent) !important; }
.fferp-badge { background: color-mix(in srgb, var(--fferp-accent) 10%, #fff 90%); color: var(--fferp-accent); }
.fferp-subnav__link:hover,
.fferp-subnav__link.is-active { background: color-mix(in srgb, var(--fferp-accent) 10%, #fff 90%); color: var(--fferp-accent) !important; }

.fferp-brand {
    min-height: 78px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}
.fferp-brand__logo {
    display: block;
    width: 100%;
    max-width: 184px;
    max-height: 62px;
    object-fit: contain;
    object-position: left center;
    padding: 5px 7px;
    border-radius: 11px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 24px rgba(0,0,0,.13);
}
.fferp-brand__copy { min-width: 0; padding-left: 2px; }
.fferp-brand__copy strong { overflow-wrap: anywhere; color: #fff; font-size: 14px; line-height: 1.3; }
.fferp-brand__copy small { color: rgba(255,255,255,.68); font-size: 10px; }

.fferp-access-card--branded { text-align: center; }
.fferp-access-card--branded > img {
    display: block;
    width: min(280px, 84%);
    max-height: 110px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.fferp-settings-section { margin-bottom: 16px; }
.fferp-branding-form { padding: 0; border: 0; background: transparent; box-shadow: none; }
.fferp-branding-form > .fferp-panel:last-of-type { margin-bottom: 0; }
.fferp-field-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.fferp-logo-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.fferp-logo-picker {
    padding: 16px;
    border: 1px solid var(--fferp-line);
    border-radius: 14px;
    background: var(--fferp-soft);
}
.fferp-logo-preview {
    display: grid;
    min-height: 132px;
    place-items: center;
    padding: 16px;
    border: 1px dashed #c7d5e6;
    border-radius: 12px;
    background: #fff;
}
.fferp-logo-preview img { display: block; max-width: 100%; max-height: 94px; object-fit: contain; }
.fferp-logo-preview--square img { width: 92px; height: 92px; object-fit: contain; }
.fferp-logo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 13px; }
.fferp-logo-picker > small { display: block; margin-top: 10px; color: var(--fferp-muted); line-height: 1.45; }
.fferp-logo-actions .fferp-text-link { padding: 7px 0; border: 0; background: transparent; cursor: pointer; }

.fferp-color-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.fferp-color-field { display: grid; gap: 8px; }
.fferp-color-field > span { font-size: 13px; font-weight: 800; }
.fferp-color-field > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid #cfdbe9;
    border-radius: 11px;
    background: #fff;
}
.fferp-color-field input[type="color"] { width: 46px; height: 34px; padding: 1px; border: 0; background: transparent; cursor: pointer; }
.fferp-color-field code { color: var(--fferp-ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }

.fferp-content-grid--users { grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); }
.fferp-inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fferp-inline-form select { min-height: 36px; max-width: 230px; padding: 6px 9px; border: 1px solid #cfdbe9; border-radius: 8px; background: #fff; }
.fferp-table-subtext { display: block; margin-top: 3px; color: var(--fferp-muted); font-size: 11px; }
.fferp-muted { color: var(--fferp-muted); font-size: 12px; }
.fferp-pill.is-blue { background: color-mix(in srgb, var(--fferp-accent) 12%, #fff 88%); color: var(--fferp-accent); }
.fferp-table-action--danger { color: #b52f46 !important; }

.fferp-account-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding: 13px;
    border: 1px solid var(--fferp-line);
    border-radius: 13px;
    background: var(--fferp-soft);
}
.fferp-filter-form { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.fferp-filter-form .fferp-field { min-width: 150px; }
.fferp-filter-form .fferp-field:first-child { min-width: min(280px, 100%); flex: 1 1 220px; }
.fferp-filter-actions { display: flex; align-items: center; gap: 10px; }
.fferp-account-side-stack { display: grid; align-content: start; gap: 16px; }
.fferp-table-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fferp-system-label { display: block; margin-top: 4px; color: var(--fferp-accent); font-size: 10px; font-weight: 800; }

.fferp-report-header {
    border-bottom-color: color-mix(in srgb, var(--fferp-report-header) 28%, #fff 72%);
}
.fferp-report-brand { color: var(--fferp-report-header) !important; }
.fferp-report-identity { display: flex; min-width: 0; align-items: flex-start; gap: 15px; }
.fferp-report-logo {
    flex: 0 0 auto;
    width: 150px;
    max-height: 66px;
    object-fit: contain;
    object-position: left top;
}
.fferp-report-company { min-width: 0; }
.fferp-report-contact { margin-top: 3px !important; font-size: 11px; }
.fferp-report-signature {
    width: min(310px, 100%);
    margin: 30px 0 0 auto;
    padding-top: 24px;
    text-align: center;
}
.fferp-report-signature__space { display: block; height: 48px; }
.fferp-report-signature strong,
.fferp-report-signature span { display: block; }
.fferp-report-signature span { margin-top: 4px; color: var(--fferp-muted); font-size: 12px; }
.fferp-report-custom-footer { margin-top: 18px; color: var(--fferp-muted); font-size: 11px; text-align: center; }

@media (max-width: 1180px) {
    .fferp-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fferp-content-grid--users { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .fferp-brand { min-height: auto; }
    .fferp-brand__logo { max-width: 170px; }
    .fferp-logo-settings-grid,
    .fferp-color-grid { grid-template-columns: 1fr; }
    .fferp-account-toolbar,
    .fferp-filter-form { align-items: stretch; flex-direction: column; }
    .fferp-filter-form .fferp-field { width: 100%; min-width: 0; }
    .fferp-filter-actions { flex-wrap: wrap; }
    .fferp-report-identity { display: block; }
    .fferp-report-logo { width: 138px; margin-bottom: 12px; }
}

@media print {
    .fferp-report-logo { width: 130px; max-height: 58px; }
    .fferp-report-signature { break-inside: avoid; }
}
/* FinancialFlow ERP V2 v1.2.0 — interactive production dashboard */
.fferp-shell {
    --fferp-app-bg: #f5f8fc;
    --fferp-appbar: rgba(255, 255, 255, .96);
    --fferp-card: #fff;
    --fferp-card-soft: #f8fbff;
    --fferp-text: #0a1733;
    --fferp-text-soft: #61718b;
    --fferp-border: #dfe8f3;
    --fferp-shadow: 0 10px 32px rgba(29, 55, 91, .065);
    --fferp-green: #11b979;
    --fferp-green-soft: #e4fbf1;
    --fferp-blue: #2186f5;
    --fferp-blue-soft: #e8f3ff;
    --fferp-purple: #8a42f4;
    --fferp-purple-soft: #f1e8ff;
    --fferp-orange: #f57a17;
    --fferp-orange-soft: #fff0e2;
    --fferp-teal: #12aaa0;
    --fferp-teal-soft: #ddf8f5;
    grid-template-columns: 228px minmax(0, 1fr);
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    margin: 0 calc(50% - 50vw);
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: var(--fferp-app-bg);
    box-shadow: none;
    color: var(--fferp-text);
    transition: grid-template-columns .24s ease;
}

.fferp-shell .fferp-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.fferp-workspace {
    display: grid;
    min-width: 0;
    min-height: 100vh;
    grid-template-rows: 64px minmax(0, 1fr);
}

.fferp-sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 100vh;
    min-height: 680px;
    padding: 16px 14px;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(180deg, color-mix(in srgb, var(--fferp-sidebar) 94%, #07162e 6%) 0%, color-mix(in srgb, var(--fferp-sidebar) 72%, #020914 28%) 100%);
    box-shadow: 8px 0 34px rgba(5, 24, 54, .08);
}

.fferp-brand {
    min-height: 72px;
    padding: 0 3px 18px;
    gap: 9px;
}

.fferp-brand__logo--horizontal {
    width: 100%;
    max-width: 188px;
    max-height: 58px;
    padding: 5px 7px;
    border-radius: 9px;
    object-fit: contain;
    object-position: left center;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 9px 25px rgba(0, 0, 0, .15);
}

.fferp-brand__logo--square {
    display: none;
    width: 46px;
    height: 46px;
    padding: 4px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
}

.fferp-brand__copy strong {
    font-size: 13px;
    letter-spacing: -.01em;
}

.fferp-brand__copy small {
    max-width: 188px;
    font-size: 9px;
    line-height: 1.35;
}

.fferp-nav-toggle {
    display: none;
    align-items: center;
    gap: 9px;
}

.fferp-nav {
    gap: 0;
}

.fferp-nav-group {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
}

.fferp-nav-group__label {
    display: block;
    padding: 0 4px 5px;
    color: rgba(202, 218, 240, .57);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fferp-nav__link {
    position: relative;
    min-height: 41px;
    gap: 11px;
    padding: 9px 11px;
    border-radius: 10px;
    color: rgba(234, 241, 252, .88) !important;
    font-size: 12px;
    font-weight: 680;
}

.fferp-nav__link::after {
    position: absolute;
    inset: 5px auto 5px 0;
    width: 3px;
    border-radius: 999px;
    background: transparent;
    content: "";
}

.fferp-nav__link:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff !important;
}

.fferp-nav__link.is-active {
    background: linear-gradient(100deg, color-mix(in srgb, var(--fferp-accent) 86%, #08c987 14%), color-mix(in srgb, var(--fferp-accent) 72%, #0797a5 28%));
    color: #fff !important;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--fferp-accent) 26%, transparent 74%);
}

.fferp-nav__link.is-active::after {
    background: #fff;
}

.fferp-nav__icon {
    display: grid;
    width: 22px;
    place-items: center;
}

.fferp-nav__icon .fferp-icon {
    width: 17px;
    height: 17px;
}

.fferp-nav__text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fferp-sidebar-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 13px 12px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px;
    background: rgba(255, 255, 255, .055);
    color: #fff;
}

.fferp-sidebar-card__icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(247, 182, 42, .15);
    color: #ffc94d;
}

.fferp-sidebar-card__icon .fferp-icon {
    width: 18px;
    height: 18px;
}

.fferp-sidebar-card > div {
    min-width: 0;
}

.fferp-sidebar-card strong,
.fferp-sidebar-card small,
.fferp-sidebar-card span {
    display: block;
}

.fferp-sidebar-card strong {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fferp-sidebar-card small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .62);
    font-size: 8px;
}

.fferp-sidebar-card span {
    margin-top: 7px;
    color: rgba(255, 255, 255, .67);
    font-size: 8px;
}

.fferp-sidebar-card i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border-radius: 50%;
    background: #16d98a;
    box-shadow: 0 0 0 3px rgba(22, 217, 138, .1);
}

.fferp-appbar {
    position: sticky;
    top: 0;
    z-index: 25;
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(260px, auto) minmax(260px, 420px) auto;
    align-items: center;
    gap: 22px;
    padding: 0 25px;
    border-bottom: 1px solid var(--fferp-border);
    background: var(--fferp-appbar);
    box-shadow: 0 5px 24px rgba(38, 65, 101, .055);
    backdrop-filter: blur(14px);
}

.fferp-appbar__left,
.fferp-appbar__actions,
.fferp-user-menu {
    display: flex;
    min-width: 0;
    align-items: center;
}

.fferp-appbar__left {
    gap: 14px;
}

.fferp-appbar__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.fferp-appbar__identity strong {
    overflow: hidden;
    color: var(--fferp-text);
    font-size: 17px;
    font-weight: 850;
    letter-spacing: -.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fferp-appbar__identity span {
    padding-left: 14px;
    border-left: 1px solid var(--fferp-border);
    color: var(--fferp-text-soft);
    font-size: 10px;
    white-space: nowrap;
}

.fferp-icon-button {
    position: relative;
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #38516d;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.fferp-icon-button:hover {
    background: #eef4fb;
    color: var(--fferp-accent);
    transform: translateY(-1px);
}

.fferp-icon-button .fferp-icon {
    width: 18px;
    height: 18px;
}

.fferp-command {
    position: relative;
    width: 100%;
}

.fferp-command__input {
    display: flex;
    height: 39px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: #f3f6fa;
    color: #60758e;
    transition: .18s ease;
}

.fferp-command__input:focus-within {
    border-color: color-mix(in srgb, var(--fferp-accent) 35%, #d8e4f0 65%);
    background: #fff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fferp-accent) 9%, transparent 91%);
}

.fferp-command__input .fferp-icon {
    width: 16px;
    height: 16px;
}

.fferp-command__input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--fferp-text);
    font: inherit;
    font-size: 11px;
}

.fferp-command__input input::-webkit-search-cancel-button {
    cursor: pointer;
}

.fferp-command__results {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    left: 0;
    z-index: 80;
    max-height: 390px;
    padding: 8px;
    overflow-y: auto;
    border: 1px solid var(--fferp-border);
    border-radius: 14px;
    background: var(--fferp-card);
    box-shadow: 0 18px 50px rgba(20, 43, 75, .18);
}

.fferp-command__results > a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px;
    border-radius: 10px;
    color: var(--fferp-text) !important;
    text-decoration: none !important;
}

.fferp-command__results > a:hover,
.fferp-command__results > a.is-keyboard-active {
    background: var(--fferp-card-soft);
}

.fferp-command__results > a > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
    background: color-mix(in srgb, var(--fferp-accent) 10%, #fff 90%);
    color: var(--fferp-accent);
}

.fferp-command__results strong,
.fferp-command__results small {
    display: block;
}

.fferp-command__results strong {
    font-size: 12px;
}

.fferp-command__results small {
    margin-top: 2px;
    color: var(--fferp-text-soft);
    font-size: 9px;
}

.fferp-command__empty {
    margin: 0;
    padding: 16px;
    color: var(--fferp-text-soft);
    font-size: 11px;
    text-align: center;
}

.fferp-appbar__actions {
    justify-content: flex-end;
    gap: 4px;
}

.fferp-popover {
    position: relative;
}

.fferp-popover__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 90;
    width: min(340px, calc(100vw - 30px));
    padding: 10px;
    border: 1px solid var(--fferp-border);
    border-radius: 15px;
    background: var(--fferp-card);
    box-shadow: 0 18px 55px rgba(20, 43, 75, .2);
}

.fferp-notification-badge {
    position: absolute;
    top: 1px;
    right: 0;
    display: grid;
    min-width: 16px;
    height: 16px;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ef3548;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
}

.fferp-popover__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 7px 11px;
    border-bottom: 1px solid var(--fferp-border);
}

.fferp-popover__header strong {
    font-size: 13px;
}

.fferp-popover__header span {
    color: var(--fferp-text-soft);
    font-size: 9px;
}

.fferp-notification-panel > a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 10px 8px;
    border-radius: 10px;
    color: var(--fferp-text) !important;
    text-decoration: none !important;
}

.fferp-notification-panel > a:hover {
    background: var(--fferp-card-soft);
}

.fferp-notification-panel > a > span,
.fferp-notification-empty .fferp-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
}

.fferp-notification-panel > a > span.is-purple { background: var(--fferp-purple-soft); color: var(--fferp-purple); }
.fferp-notification-panel > a > span.is-blue { background: var(--fferp-blue-soft); color: var(--fferp-blue); }
.fferp-notification-panel > a > span.is-orange { background: var(--fferp-orange-soft); color: var(--fferp-orange); }
.fferp-notification-panel strong,
.fferp-notification-panel small {
    display: block;
}
.fferp-notification-panel strong { font-size: 11px; }
.fferp-notification-panel small { margin-top: 2px; color: var(--fferp-text-soft); font-size: 9px; }

.fferp-notification-empty {
    display: grid;
    min-height: 130px;
    place-items: center;
    align-content: center;
    gap: 9px;
    color: var(--fferp-green);
    font-size: 11px;
    text-align: center;
}

.fferp-notification-empty .fferp-icon {
    padding: 8px;
    background: var(--fferp-green-soft);
}

.fferp-user-menu {
    gap: 9px;
    margin-left: 4px;
    padding-left: 8px;
    border-left: 1px solid var(--fferp-border);
}

.fferp-user-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fferp-accent), color-mix(in srgb, var(--fferp-accent) 60%, #12b7dc 40%));
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--fferp-accent) 25%, transparent 75%);
}

.fferp-user-menu__copy {
    min-width: 0;
}

.fferp-user-menu__copy strong,
.fferp-user-menu__copy small {
    display: block;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fferp-user-menu__copy strong {
    font-size: 10px;
}

.fferp-user-menu__copy small {
    margin-top: 1px;
    color: var(--fferp-text-soft);
    font-size: 8px;
}

.fferp-user-menu__logout {
    display: grid;
    width: 22px;
    height: 30px;
    place-items: center;
    color: var(--fferp-text-soft) !important;
}

.fferp-user-menu__logout .fferp-icon {
    width: 13px;
    height: 13px;
}

.fferp-main {
    min-width: 0;
    padding: 27px 31px 42px;
    background:
        radial-gradient(circle at 76% -8%, color-mix(in srgb, var(--fferp-accent) 5%, transparent 95%), transparent 34%),
        var(--fferp-app-bg);
}

.fferp-dashboard {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.fferp-dashboard-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.fferp-dashboard-heading h1 {
    margin: 0;
    color: var(--fferp-text);
    font-size: clamp(25px, 2.25vw, 34px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.fferp-dashboard-heading p {
    margin: 5px 0 0;
    color: var(--fferp-text-soft);
    font-size: 12px;
}

.fferp-period-select {
    display: flex;
    min-width: 150px;
    height: 37px;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid var(--fferp-border);
    border-radius: 9px;
    background: var(--fferp-card);
    color: #46617e;
    box-shadow: 0 5px 15px rgba(27, 53, 86, .04);
}

.fferp-period-select .fferp-icon {
    width: 14px;
    height: 14px;
}

.fferp-period-select .fferp-icon:last-child {
    width: 12px;
    height: 12px;
}

.fferp-period-select select {
    min-width: 0;
    flex: 1;
    appearance: none;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--fferp-text);
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.fferp-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.fferp-dashboard-metric {
    position: relative;
    min-width: 0;
    min-height: 157px;
    padding: 17px 18px 10px;
    overflow: hidden;
    border: 1px solid var(--fferp-border);
    border-radius: 15px;
    background: var(--fferp-card);
    box-shadow: var(--fferp-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}

.fferp-dashboard-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(29, 55, 91, .1);
}

.fferp-dashboard-metric__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.fferp-dashboard-metric__icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 11px;
}

.fferp-dashboard-metric__icon .fferp-icon {
    width: 21px;
    height: 21px;
    stroke-width: 2;
}

.fferp-dashboard-metric.is-green .fferp-dashboard-metric__icon { background: var(--fferp-green-soft); color: var(--fferp-green); }
.fferp-dashboard-metric.is-blue .fferp-dashboard-metric__icon { background: var(--fferp-blue-soft); color: var(--fferp-blue); }
.fferp-dashboard-metric.is-purple .fferp-dashboard-metric__icon { background: var(--fferp-purple-soft); color: var(--fferp-purple); }
.fferp-dashboard-metric.is-orange .fferp-dashboard-metric__icon { background: var(--fferp-orange-soft); color: var(--fferp-orange); }

.fferp-dashboard-metric__top > div {
    min-width: 0;
}

.fferp-dashboard-metric__label,
.fferp-dashboard-metric strong,
.fferp-dashboard-trend {
    display: block;
}

.fferp-dashboard-metric__label {
    color: #283956;
    font-size: 10px;
    font-weight: 730;
}

.fferp-dashboard-metric strong {
    margin-top: 4px;
    overflow: hidden;
    color: var(--fferp-text);
    font-size: clamp(16px, 1.45vw, 22px);
    font-weight: 850;
    letter-spacing: -.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fferp-dashboard-trend {
    margin-top: 7px;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.fferp-dashboard-trend.is-up { color: #079d64; }
.fferp-dashboard-trend.is-down { color: #d54155; }
.fferp-dashboard-trend.is-flat { color: #728199; }

.fferp-dashboard-trend em {
    margin-left: 3px;
    color: var(--fferp-text-soft);
    font-style: normal;
    font-weight: 500;
}

.fferp-dashboard-spark {
    position: absolute;
    right: 8px;
    bottom: 3px;
    left: 58px;
    z-index: 1;
    width: calc(100% - 66px);
    height: 54px;
    overflow: visible;
}

.fferp-dashboard-spark .spark-area {
    opacity: .1;
}

.fferp-dashboard-spark .spark-line {
    fill: none;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.fferp-dashboard-metric.is-green .spark-line { stroke: var(--fferp-green); }
.fferp-dashboard-metric.is-green .spark-area { fill: var(--fferp-green); }
.fferp-dashboard-metric.is-blue .spark-line { stroke: var(--fferp-blue); }
.fferp-dashboard-metric.is-blue .spark-area { fill: var(--fferp-blue); }
.fferp-dashboard-metric.is-purple .spark-line { stroke: var(--fferp-purple); }
.fferp-dashboard-metric.is-purple .spark-area { fill: var(--fferp-purple); }
.fferp-dashboard-metric.is-orange .spark-line { stroke: var(--fferp-orange); }
.fferp-dashboard-metric.is-orange .spark-area { fill: var(--fferp-orange); }

.fferp-dashboard-primary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(270px, .82fr) minmax(245px, .65fr);
    gap: 14px;
    margin-bottom: 16px;
}

.fferp-dashboard-secondary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(330px, .85fr);
    gap: 14px;
}

.fferp-dashboard-panel {
    min-width: 0;
    border: 1px solid var(--fferp-border);
    border-radius: 16px;
    background: var(--fferp-card);
    box-shadow: var(--fferp-shadow);
}

.fferp-dashboard-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 18px 0;
}

.fferp-dashboard-panel__header h2 {
    margin: 0;
    color: var(--fferp-text);
    font-size: 18px;
    font-weight: 840;
    letter-spacing: -.025em;
}

.fferp-dashboard-panel__header p {
    margin: 4px 0 0;
    color: var(--fferp-text-soft);
    font-size: 10px;
}

.fferp-dashboard-panel__header > a {
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid var(--fferp-border);
    border-radius: 8px;
    background: var(--fferp-card-soft);
    color: #3c526d !important;
    font-size: 9px;
    font-weight: 750;
    text-decoration: none !important;
}

.fferp-dashboard-panel__header > a:hover {
    border-color: color-mix(in srgb, var(--fferp-accent) 28%, var(--fferp-border) 72%);
    color: var(--fferp-accent) !important;
}

.fferp-chart-tabs {
    display: flex;
    flex: 0 0 auto;
    padding: 3px;
    border-radius: 9px;
    background: #f2f5f9;
}

.fferp-chart-tabs button {
    min-width: 64px;
    padding: 7px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #65758e;
    font: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.fferp-chart-tabs button.is-active {
    background: #fff;
    color: var(--fferp-blue);
    box-shadow: 0 2px 8px rgba(28, 57, 92, .08);
}

.fferp-chart {
    position: relative;
    min-height: 282px;
    padding: 7px 13px 0;
}

.fferp-chart svg {
    display: block;
    width: 100%;
    height: 282px;
    overflow: visible;
}

.fferp-chart .chart-grid {
    stroke: #e2eaf3;
    stroke-width: 1;
    stroke-dasharray: 3 3;
    vector-effect: non-scaling-stroke;
}

.fferp-chart .chart-axis-label,
.fferp-chart .chart-x-label {
    fill: #62738b;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
}

.fferp-chart .chart-bar {
    fill: url(#fferp-chart-bar-gradient);
    cursor: pointer;
    transition: opacity .15s ease;
}

.fferp-chart .chart-bar:hover {
    opacity: .78;
}

.fferp-chart .chart-profit-area {
    fill: url(#fferp-chart-profit-gradient);
    opacity: .18;
}

.fferp-chart .chart-profit-line {
    fill: none;
    stroke: var(--fferp-green);
    stroke-width: 2.3;
    vector-effect: non-scaling-stroke;
}

.fferp-chart .chart-point {
    fill: var(--fferp-green);
    stroke: #fff;
    stroke-width: 2;
    cursor: pointer;
    vector-effect: non-scaling-stroke;
}

.fferp-chart .chart-empty-label {
    fill: #8a99ad;
    font-size: 12px;
    text-anchor: middle;
}

.fferp-chart-tooltip {
    position: absolute;
    z-index: 8;
    min-width: 155px;
    padding: 10px 12px;
    border-radius: 9px;
    background: #0c1a33;
    color: #fff;
    box-shadow: 0 12px 30px rgba(6, 19, 40, .28);
    pointer-events: none;
    transform: translate(-50%, calc(-100% - 10px));
}

.fferp-chart-tooltip strong,
.fferp-chart-tooltip span {
    display: block;
}

.fferp-chart-tooltip strong {
    margin-bottom: 5px;
    font-size: 10px;
}

.fferp-chart-tooltip span {
    margin-top: 3px;
    font-size: 9px;
}

.fferp-chart-tooltip i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
}

.fferp-chart-legend {
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 0 18px 15px;
    color: #4f617a;
    font-size: 9px;
}

.fferp-chart-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fferp-chart-legend i {
    display: block;
    width: 11px;
    height: 5px;
    border-radius: 2px;
}

.fferp-chart-legend .is-primary i { background: var(--fferp-blue); }
.fferp-chart-legend .is-profit i { background: var(--fferp-green); }

.fferp-insight-list {
    display: grid;
    gap: 8px;
    padding: 14px 14px 16px;
}

.fferp-insight-item {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid;
    border-radius: 9px;
    color: var(--fferp-text) !important;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
}

.fferp-insight-item:hover {
    transform: translateX(2px);
    box-shadow: 0 6px 15px rgba(30, 59, 94, .07);
}

.fferp-insight-item.is-green { border-color: #bcecd7; background: #effcf6; }
.fferp-insight-item.is-blue { border-color: #c9e2fb; background: #f2f8ff; }
.fferp-insight-item.is-orange { border-color: #f7d6b8; background: #fff8f1; }
.fferp-insight-item.is-purple { border-color: #ddc8fa; background: #faf6ff; }

.fferp-insight-item__icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 8px;
    box-shadow: 0 5px 12px rgba(20, 49, 83, .08);
}

.fferp-insight-item__icon .fferp-icon {
    width: 15px;
    height: 15px;
}

.fferp-insight-item.is-green .fferp-insight-item__icon { background: #daf8ea; color: #0aa765; }
.fferp-insight-item.is-blue .fferp-insight-item__icon { background: #dff0ff; color: #1887e9; }
.fferp-insight-item.is-orange .fferp-insight-item__icon { background: #ffead7; color: #f07816; }
.fferp-insight-item.is-purple .fferp-insight-item__icon { background: #eee2ff; color: #8841ee; }

.fferp-insight-item strong,
.fferp-insight-item small {
    display: block;
}

.fferp-insight-item strong {
    font-size: 10px;
}

.fferp-insight-item small {
    margin-top: 3px;
    color: var(--fferp-text-soft);
    font-size: 8px;
}

.fferp-quick-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 14px;
}

.fferp-quick-action-grid > a {
    display: grid;
    min-height: 82px;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 10px 5px;
    border: 1px solid;
    border-radius: 10px;
    color: inherit !important;
    text-align: center;
    text-decoration: none !important;
    transition: transform .17s ease, box-shadow .17s ease;
}

.fferp-quick-action-grid > a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(32, 62, 98, .11);
}

.fferp-quick-action-grid .fferp-icon {
    width: 22px;
    height: 22px;
}

.fferp-quick-action-grid span {
    font-size: 9px;
    font-weight: 800;
    line-height: 1.25;
}

.fferp-quick-action-grid .is-green { border-color: #21c88a; background: linear-gradient(145deg, #17c98b, #029a73); color: #fff !important; }
.fferp-quick-action-grid .is-blue { border-color: #b6d9fb; background: #edf6ff; color: #0878e4 !important; }
.fferp-quick-action-grid .is-purple { border-color: #ddc9fb; background: #f5edff; color: #7a33e8 !important; }
.fferp-quick-action-grid .is-orange { border-color: #f5d5b8; background: #fff1e4; color: #e9630d !important; }
.fferp-quick-action-grid .is-teal { border-color: #b8e8e2; background: #e7faf7; color: #078c84 !important; }
.fferp-quick-action-grid .is-slate { border-color: #d7e0eb; background: #f4f7fa; color: #405672 !important; }

.fferp-activity-panel,
.fferp-cash-panel {
    min-height: 225px;
}

.fferp-dashboard-table-wrap {
    padding: 12px 18px 17px;
    overflow-x: auto;
}

.fferp-dashboard-table {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 9px;
}

.fferp-dashboard-table th {
    padding: 7px 8px;
    border-top: 1px solid var(--fferp-border);
    border-bottom: 1px solid var(--fferp-border);
    background: #f3f7fb;
    color: #32465f;
    font-size: 8px;
    text-align: left;
    text-transform: uppercase;
}

.fferp-dashboard-table th:first-child {
    border-left: 1px solid var(--fferp-border);
    border-radius: 7px 0 0 7px;
}

.fferp-dashboard-table th:last-child {
    border-right: 1px solid var(--fferp-border);
    border-radius: 0 7px 7px 0;
}

.fferp-dashboard-table td {
    padding: 8px;
    border-bottom: 1px solid #edf2f7;
    color: #263a55;
    vertical-align: middle;
}

.fferp-dashboard-table td strong,
.fferp-dashboard-table td small {
    display: block;
}

.fferp-dashboard-table td small {
    margin-top: 2px;
    color: var(--fferp-text-soft);
    font-size: 8px;
}

.fferp-activity-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}

.fferp-activity-label .fferp-icon {
    width: 13px;
    height: 13px;
}

.fferp-activity-label.is-sales,
.fferp-activity-label.is-receipt { color: #0876dc; }
.fferp-activity-label.is-expense { color: #e96d13; }
.fferp-activity-label.is-customer,
.fferp-activity-label.is-service { color: #7b35df; }
.fferp-activity-label.is-accounting,
.fferp-activity-label.is-journal { color: #0a9b70; }

.fferp-dashboard-status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
}

.fferp-dashboard-status.is-done { background: #ddf8eb; color: #078753; }
.fferp-dashboard-status.is-draft { background: #fff1d7; color: #a26600; }

.fferp-dashboard-empty {
    padding: 28px !important;
    color: var(--fferp-text-soft) !important;
    text-align: center;
}

.fferp-cash-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 14px 16px;
}

.fferp-cash-account {
    min-width: 0;
    min-height: 104px;
    padding: 13px;
    border: 1px solid;
    border-radius: 11px;
}

.fferp-cash-account.is-green { border-color: #cceee0; background: linear-gradient(135deg, #effcf6, #f8fffb); }
.fferp-cash-account.is-blue { border-color: #d2e5f9; background: linear-gradient(135deg, #f1f8ff, #fafcff); }

.fferp-cash-account__top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fferp-cash-account__top > span {
    display: grid;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    place-items: center;
    border-radius: 8px;
}

.fferp-cash-account.is-green .fferp-cash-account__top > span { background: #d8f7e8; color: #09a966; }
.fferp-cash-account.is-blue .fferp-cash-account__top > span { background: #dfedff; color: #1479e8; }

.fferp-cash-account__top .fferp-icon {
    width: 15px;
    height: 15px;
}

.fferp-cash-account__top > div {
    min-width: 0;
    flex: 1;
}

.fferp-cash-account__top strong,
.fferp-cash-account__top small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fferp-cash-account__top strong { font-size: 9px; }
.fferp-cash-account__top small { margin-top: 1px; color: var(--fferp-text-soft); font-size: 8px; }

.fferp-cash-account__top em {
    padding: 3px 6px;
    border-radius: 999px;
    background: #dff8eb;
    color: #078753;
    font-size: 7px;
    font-style: normal;
    font-weight: 800;
}

.fferp-cash-account > b {
    display: block;
    margin-top: 13px;
    overflow: hidden;
    color: var(--fferp-text);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fferp-dashboard.is-loading {
    opacity: .68;
    pointer-events: none;
}

.fferp-dashboard.is-loading::after {
    position: fixed;
    top: 76px;
    right: 24px;
    z-index: 120;
    padding: 8px 12px;
    border: 1px solid var(--fferp-border);
    border-radius: 9px;
    background: var(--fferp-card);
    color: var(--fferp-text-soft);
    box-shadow: var(--fferp-shadow);
    content: "Memperbarui dashboard…";
    font-size: 10px;
}

/* Collapsed desktop sidebar */
.fferp-shell.is-sidebar-collapsed {
    grid-template-columns: 82px minmax(0, 1fr);
}

.fferp-shell.is-sidebar-collapsed .fferp-sidebar {
    padding-right: 12px;
    padding-left: 12px;
}

.fferp-shell.is-sidebar-collapsed .fferp-brand {
    align-items: center;
}

.fferp-shell.is-sidebar-collapsed .fferp-brand__logo--horizontal,
.fferp-shell.is-sidebar-collapsed .fferp-brand__copy,
.fferp-shell.is-sidebar-collapsed .fferp-nav-group__label,
.fferp-shell.is-sidebar-collapsed .fferp-nav__text,
.fferp-shell.is-sidebar-collapsed .fferp-sidebar-card > div {
    display: none;
}

.fferp-shell.is-sidebar-collapsed .fferp-brand__logo--square {
    display: block;
}

.fferp-shell.is-sidebar-collapsed .fferp-nav__link {
    justify-content: center;
    padding-right: 8px;
    padding-left: 8px;
}

.fferp-shell.is-sidebar-collapsed .fferp-sidebar-card {
    justify-content: center;
    padding: 10px;
}

/* Dark mode is local to the FinancialFlow shell and never changes the WordPress theme. */
.fferp-shell.is-dark {
    --fferp-app-bg: #0d1625;
    --fferp-appbar: rgba(15, 25, 41, .96);
    --fferp-card: #142033;
    --fferp-card-soft: #19283d;
    --fferp-text: #edf4ff;
    --fferp-text-soft: #9aabc1;
    --fferp-border: #26364c;
    --fferp-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

.fferp-shell.is-dark .fferp-command__input,
.fferp-shell.is-dark .fferp-chart-tabs,
.fferp-shell.is-dark .fferp-dashboard-table th {
    background: #19283d;
}

.fferp-shell.is-dark .fferp-command__input:focus-within,
.fferp-shell.is-dark .fferp-chart-tabs button.is-active,
.fferp-shell.is-dark .fferp-period-select,
.fferp-shell.is-dark .fferp-field input,
.fferp-shell.is-dark .fferp-field select,
.fferp-shell.is-dark .fferp-field textarea,
.fferp-shell.is-dark .fferp-panel,
.fferp-shell.is-dark .fferp-form,
.fferp-shell.is-dark .fferp-hero,
.fferp-shell.is-dark .fferp-placeholder {
    background: var(--fferp-card);
    color: var(--fferp-text);
}

.fferp-shell.is-dark .fferp-chart .chart-grid {
    stroke: #2d3e55;
}

.fferp-shell.is-dark .fferp-chart .chart-axis-label,
.fferp-shell.is-dark .fferp-chart .chart-x-label {
    fill: #94a6bd;
}

.fferp-shell.is-dark .fferp-insight-item.is-green { border-color: #285842; background: #173528; }
.fferp-shell.is-dark .fferp-insight-item.is-blue { border-color: #284d72; background: #172d46; }
.fferp-shell.is-dark .fferp-insight-item.is-orange { border-color: #654224; background: #38291d; }
.fferp-shell.is-dark .fferp-insight-item.is-purple { border-color: #543879; background: #302544; }
.fferp-shell.is-dark .fferp-cash-account.is-green { border-color: #285842; background: #173528; }
.fferp-shell.is-dark .fferp-cash-account.is-blue { border-color: #284d72; background: #172d46; }
.fferp-shell.is-dark .fferp-quick-action-grid .is-blue,
.fferp-shell.is-dark .fferp-quick-action-grid .is-purple,
.fferp-shell.is-dark .fferp-quick-action-grid .is-orange,
.fferp-shell.is-dark .fferp-quick-action-grid .is-teal,
.fferp-shell.is-dark .fferp-quick-action-grid .is-slate {
    background: #19283d;
}

@media (max-width: 1320px) {
    .fferp-appbar {
        grid-template-columns: minmax(220px, auto) minmax(220px, 340px) auto;
        gap: 14px;
        padding: 0 18px;
    }
    .fferp-appbar__identity span { display: none; }
    .fferp-dashboard-primary-grid {
        grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr);
    }
    .fferp-quick-action-panel {
        grid-column: 1 / -1;
    }
    .fferp-quick-action-grid {
        grid-template-columns: repeat(6, minmax(100px, 1fr));
    }
}

@media (max-width: 1080px) {
    .fferp-shell {
        grid-template-columns: 1fr;
    }
    .fferp-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 100;
        width: 244px;
        transform: translateX(-105%);
        transition: transform .22s ease;
    }
    .fferp-shell.is-mobile-nav-open .fferp-sidebar {
        transform: translateX(0);
    }
    .fferp-shell.is-sidebar-collapsed {
        grid-template-columns: 1fr;
    }
    .fferp-shell.is-sidebar-collapsed .fferp-brand__logo--horizontal,
    .fferp-shell.is-sidebar-collapsed .fferp-brand__copy,
    .fferp-shell.is-sidebar-collapsed .fferp-nav-group__label,
    .fferp-shell.is-sidebar-collapsed .fferp-nav__text,
    .fferp-shell.is-sidebar-collapsed .fferp-sidebar-card > div {
        display: initial;
    }
    .fferp-shell.is-sidebar-collapsed .fferp-brand__logo--square { display: none; }
    .fferp-shell.is-sidebar-collapsed .fferp-nav__link { justify-content: flex-start; }
    .fferp-shell.is-sidebar-collapsed .fferp-sidebar-card { justify-content: flex-start; }
    .fferp-workspace { grid-column: 1; }
    .fferp-dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fferp-dashboard-primary-grid,
    .fferp-dashboard-secondary-grid { grid-template-columns: 1fr; }
    .fferp-quick-action-panel { grid-column: auto; }
    .fferp-quick-action-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fferp-cash-account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .fferp-appbar {
        grid-template-columns: auto minmax(170px, 1fr) auto;
        padding: 0 12px;
    }
    .fferp-appbar__identity { display: none; }
    .fferp-command__input { height: 37px; }
    .fferp-user-menu__copy { display: none; }
    .fferp-user-menu { padding-left: 4px; border-left: 0; }
    .fferp-main { padding: 22px 18px 34px; }
    .fferp-dashboard-panel__header { flex-wrap: wrap; }
}

@media (max-width: 620px) {
    .fferp-appbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 6px;
    }
    .fferp-command__input { padding: 0 9px; }
    .fferp-command__input input { font-size: 10px; }
    .fferp-appbar__actions > .fferp-icon-button[data-theme-toggle] { display: none; }
    .fferp-user-avatar { width: 31px; height: 31px; flex-basis: 31px; }
    .fferp-dashboard-heading { align-items: stretch; flex-direction: column; }
    .fferp-period-select { width: 100%; }
    .fferp-dashboard-metrics { grid-template-columns: 1fr; }
    .fferp-dashboard-metric { min-height: 145px; }
    .fferp-chart-tabs { width: 100%; }
    .fferp-chart-tabs button { flex: 1; min-width: 0; }
    .fferp-chart { padding-right: 4px; padding-left: 4px; }
    .fferp-chart svg { height: 245px; }
    .fferp-quick-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fferp-cash-account-grid { grid-template-columns: 1fr; }
    .fferp-dashboard-panel__header { padding-right: 14px; padding-left: 14px; }
    .fferp-dashboard-table-wrap { padding-right: 12px; padding-left: 12px; }
}

@media print {
    .fferp-sidebar,
    .fferp-appbar,
    .fferp-dashboard-heading,
    .fferp-quick-action-panel,
    .fferp-insight-panel,
    .fferp-test-panel {
        display: none !important;
    }
    .fferp-shell,
    .fferp-workspace {
        display: block;
        width: 100%;
        min-height: 0;
        margin: 0;
        background: #fff;
    }
    .fferp-main { padding: 0; background: #fff; }
}


/* v1.2 compatibility and interaction details */
.fferp-period-control {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--fferp-border);
    border-radius: 10px;
    background: var(--fferp-card);
    box-shadow: 0 5px 15px rgba(27, 53, 86, .04);
}

.fferp-period-control > .fferp-icon-button {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    border-radius: 7px;
}

.fferp-month-picker {
    display: flex;
    min-width: 130px;
    align-items: center;
    gap: 7px;
    padding: 0 6px;
    color: #46617e;
}

.fferp-month-picker .fferp-icon {
    width: 14px;
    height: 14px;
}

.fferp-month-picker input {
    width: 106px;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--fferp-text);
    font: inherit;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
}

.fferp-dashboard-trend {
    display: flex;
    align-items: center;
    gap: 3px;
}

.fferp-dashboard-trend .fferp-icon {
    width: 13px;
    height: 13px;
}

.fferp-dashboard-trend b {
    font-weight: 850;
}

.fferp-dashboard-trend em {
    margin-left: 1px;
}

.fferp-chart-legend i.is-primary { background: var(--fferp-blue); }
.fferp-chart-legend i.is-profit { background: var(--fferp-green); }

.fferp-dashboard-status.is-info { background: #e8f3ff; color: #176fc4; }
.fferp-dashboard-status.is-muted { background: #edf1f5; color: #68778c; }

.fferp-receivable-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 14px 16px;
    padding: 10px 12px;
    border: 1px solid var(--fferp-border);
    border-radius: 10px;
    background: var(--fferp-card-soft);
}

.fferp-receivable-summary span {
    color: var(--fferp-text-soft);
    font-size: 9px;
}

.fferp-receivable-summary strong {
    color: var(--fferp-text);
    font-size: 12px;
}

.fferp-dashboard-loading {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background: rgba(244, 247, 251, .62);
    backdrop-filter: blur(3px);
}

.fferp-dashboard-loading span {
    width: 34px;
    height: 34px;
    border: 3px solid #d8e3ef;
    border-top-color: var(--fferp-accent);
    border-radius: 50%;
    animation: fferp-v12-spin .75s linear infinite;
}

.fferp-dashboard-loading b {
    color: #354861;
    font-size: 11px;
}

.fferp-dashboard-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 130;
    max-width: 340px;
    padding: 12px 15px;
    border-radius: 11px;
    background: #14223a;
    color: #fff;
    box-shadow: 0 16px 36px rgba(6, 18, 38, .24);
    font-size: 11px;
    font-weight: 650;
}

.fferp-dashboard-toast.is-error { background: #a82f42; }

@keyframes fferp-v12-spin { to { transform: rotate(360deg); } }

.fferp-notification-panel > div > a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 10px 8px;
    border-radius: 10px;
    color: var(--fferp-text) !important;
    text-decoration: none !important;
}

.fferp-notification-panel > div > a:hover { background: var(--fferp-card-soft); }

.fferp-notification-panel > div > a > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 9px;
}

.fferp-notification-panel > div > a > span.is-danger { background: #ffe8ec; color: #d33a51; }
.fferp-notification-panel > div > a > span.is-warning { background: var(--fferp-orange-soft); color: var(--fferp-orange); }
.fferp-notification-panel > div > a > span.is-info { background: var(--fferp-blue-soft); color: var(--fferp-blue); }

.fferp-notification-panel > div > a strong,
.fferp-notification-panel > div > a small { display: block; }
.fferp-notification-panel > div > a strong { font-size: 11px; }
.fferp-notification-panel > div > a small { margin-top: 2px; color: var(--fferp-text-soft); font-size: 9px; }

.fferp-command__results > a > div { min-width: 0; }

.fferp-activity-label.is-payment { color: #0a9b70; }
.fferp-activity-label.is-invoice { color: #0876dc; }
.fferp-activity-label.is-expense { color: #e96d13; }
.fferp-activity-label.is-customer { color: #7b35df; }
.fferp-activity-label.is-journal { color: #0a9b70; }

.fferp-shell.is-dark .fferp-period-control,
.fferp-shell.is-dark .fferp-month-picker,
.fferp-shell.is-dark .fferp-receivable-summary {
    background: var(--fferp-card);
    color: var(--fferp-text);
}

.fferp-shell.is-dark .fferp-dashboard-loading {
    background: rgba(13, 22, 37, .72);
}

.fferp-shell.is-dark .fferp-dashboard-loading b { color: var(--fferp-text); }

@media (max-width: 1080px) {
    .fferp-shell::after {
        position: fixed;
        inset: 0;
        z-index: 95;
        display: none;
        background: rgba(3, 13, 28, .46);
        content: "";
        backdrop-filter: blur(2px);
    }
    .fferp-shell.is-mobile-nav-open::after { display: block; }
    .fferp-shell.is-mobile-nav-open .fferp-sidebar { z-index: 110; }
}

@media (max-width: 620px) {
    .fferp-period-control { width: 100%; justify-content: space-between; }
    .fferp-month-picker { flex: 1; justify-content: center; }
    .fferp-month-picker input { width: 112px; }
    .fferp-dashboard-toast { right: 14px; bottom: 14px; left: 14px; max-width: none; }
}

/* Native hidden state must win over component display declarations. */
.fferp-dashboard-loading[hidden],
.fferp-dashboard-toast[hidden],
.fferp-popover__panel[hidden],
.fferp-command__results[hidden],
.fferp-chart-tooltip[hidden] {
    display: none !important;
}

/* Dynamic dashboard SVG and refreshed-row compatibility. */
.fferp-dashboard-spark .spark-dot {
    r: 2.7;
    stroke: #fff;
    stroke-width: 1.4;
}
.fferp-dashboard-metric.is-green .spark-dot { fill: var(--fferp-green); }
.fferp-dashboard-metric.is-blue .spark-dot { fill: var(--fferp-blue); }
.fferp-dashboard-metric.is-purple .spark-dot { fill: var(--fferp-purple); }
.fferp-dashboard-metric.is-orange .spark-dot { fill: var(--fferp-orange); }
.fferp-chart .chart-hit { fill: transparent; cursor: crosshair; }
.fferp-dashboard-status.is-info { background: #e4f1ff; color: #126bbd; }
.fferp-dashboard-status.is-muted { background: #eef2f6; color: #607089; }

.fferp-notification-panel [data-notification-list] > a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 10px 8px;
    border-radius: 10px;
    color: var(--fferp-text) !important;
    text-decoration: none !important;
}
.fferp-notification-panel [data-notification-list] > a:hover { background: var(--fferp-card-soft); }
.fferp-notification-panel [data-notification-list] > a > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 9px;
}
.fferp-notification-panel [data-notification-list] > a > span .fferp-icon { width: 16px; height: 16px; }
.fferp-notification-panel [data-notification-list] > a > span.is-danger { background: #ffe8eb; color: #df344b; }
.fferp-notification-panel [data-notification-list] > a > span.is-warning { background: var(--fferp-orange-soft); color: var(--fferp-orange); }
.fferp-notification-panel [data-notification-list] > a > span.is-info { background: var(--fferp-blue-soft); color: var(--fferp-blue); }


/* v1.2.1 hotfix: reliable off-canvas navigation on phones and tablets. */
body.fferp-mobile-nav-lock {
    overflow: hidden !important;
    overscroll-behavior: none;
}

@media (max-width: 1080px) {
    .fferp-sidebar {
        visibility: hidden;
        pointer-events: none;
        transition: transform .22s ease, visibility 0s linear .22s;
    }

    .fferp-shell.is-mobile-nav-open .fferp-sidebar {
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .fferp-sidebar .fferp-nav {
        display: flex;
    }

    .fferp-sidebar .fferp-nav-toggle {
        display: flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
}
