/* A restrained glass finish keeps the interface legible during long work sessions. */
.fi-body {
    background: radial-gradient(ellipse at 88% 0%, #e5f3f5 0, transparent 32rem),
        linear-gradient(145deg, #f5f8fa 0%, #eaf1f5 100%);
    color: #17354b;
}

.fi-topbar {
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(24, 74, 102, .1);
    box-shadow: 0 5px 24px rgba(18, 57, 78, .05);
    backdrop-filter: blur(14px);
}

.fi-sidebar {
    background: linear-gradient(180deg, #f8fcfd 0%, #edf5f7 100%);
    border-inline-end: 1px solid #dbe9ed;
}

.fi-sidebar-item-btn {
    border-radius: .7rem;
    transition: background-color .18s ease, box-shadow .18s ease;
}

.fi-sidebar-item.fi-active .fi-sidebar-item-btn {
    background: linear-gradient(135deg, #e0f1f2, #eff9f8);
    box-shadow: inset 3px 0 #009c72, 0 1px 3px rgba(13, 74, 83, .08);
}

.fi-header-heading {
    color: #123a55;
    letter-spacing: -.035em;
}

.fi-section, .fi-ta-ctn, .fi-wi-stats-overview-stat {
    background: linear-gradient(160deg, #fff 0%, #fff 68%, #f5fafb 100%);
    border: 1px solid rgba(159, 188, 198, .32);
    box-shadow: 0 12px 32px rgba(25, 65, 84, .07), 0 2px 6px rgba(25, 65, 84, .04), inset 0 1px 0 #fff;
}

.fi-section-header, .fi-ta-header-toolbar {
    background: linear-gradient(180deg, rgba(244, 250, 251, .8), rgba(255, 255, 255, .65));
}

.fi-ta-header-cell {
    background-color: #f3f8fa;
}

.fi-ta-row:not(.fi-ta-group-header-row):hover {
    background-color: #f2f9fa;
}

.fi-btn:not(.fi-outlined):not(.fi-disabled):not([disabled]) {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, .07));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 8px rgba(23, 58, 76, .15);
}

.fi-btn, .fi-badge {
    letter-spacing: .005em;
}

.fi-badge {
    font-weight: 650;
}

.fi-input-wrp {
    box-shadow: inset 0 1px 2px rgba(22, 54, 72, .04), 0 1px 2px rgba(22, 54, 72, .04);
}

@media (prefers-reduced-motion: reduce) {
    .fi-sidebar-item-btn { transition: none; }
}

.case-link-panel { display: grid; gap: 1rem; }
.case-link-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.case-eyebrow { color: #173a52; font-size: .95rem; font-weight: 700; }
.case-muted { color: #526b7a; font-size: .875rem; line-height: 1.55; }
.case-small { font-size: .8rem; }
.case-status { border-radius: 999px; padding: .2rem .65rem; font-size: .75rem; font-weight: 700; }
.case-status { color: #126143; background: #def5e9; }
.case-link-controls, .case-link-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.case-link-input { min-width: min(100%, 18rem); flex: 1; border: 1px solid #cbdde4; border-radius: .55rem; background: #f8fbfc; padding: .7rem .85rem; color: #24465b; font-size: .875rem; }
.case-link-input:focus-visible, .case-action:focus-visible { outline: 3px solid #87c8df; outline-offset: 2px; }
.case-action { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid transparent; border-radius: .55rem; padding: .65rem .9rem; font-size: .875rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.case-action-primary { background: #07496d; color: #fff; }
.case-action-primary:hover { background: #063c5a; }
.case-action-whatsapp { background: #087b4a; color: #fff; }
.case-action-whatsapp:hover { background: #06663e; }
.case-action-secondary { background: #fff; border-color: #afcbd6; color: #174d69; }
.case-action-secondary:hover { background: #edf7f9; }
.case-copy-feedback { flex-basis: 100%; color: #315c50; font-size: .8rem; }
.case-notice { border-radius: .65rem; padding: .85rem 1rem; font-size: .875rem; line-height: 1.5; }
.case-notice-warning { border: 1px solid #ead29a; background: #fff8e9; color: #6c4d12; }
.case-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
