/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-2rb3sa3rg6] {
    min-height: 100vh;
    display: flex;
    background: var(--iwelia-bg);
}

.app-main[b-2rb3sa3rg6] {
    min-width: 0;
    flex: 1;
}

.sidebar[b-2rb3sa3rg6] {
    width: 304px;
    flex: 0 0 304px;
    background: var(--iwelia-surface);
    border-right: 1px solid var(--iwelia-border);
}

.top-row[b-2rb3sa3rg6] {
    position: sticky;
    top: 0;
    z-index: 5;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: .8rem 2rem;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(220, 231, 237, .62);
    backdrop-filter: blur(16px);
}

.top-title[b-2rb3sa3rg6] {
    position: absolute;
    left: 2rem;
    margin: 0;
    color: var(--iwelia-ink);
    font-size: 1.42rem;
    font-weight: var(--iwelia-weight-semibold);
    line-height: 1;
}

.global-search[b-2rb3sa3rg6] {
    width: min(640px, 100%);
    height: 42px;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 0 .75rem 0 .9rem;
    color: var(--iwelia-muted);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 8px 22px rgba(8, 35, 55, .04);
}

.search-icon[b-2rb3sa3rg6] {
    width: 15px;
    height: 15px;
    position: relative;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.search-icon[b-2rb3sa3rg6]::after {
    content: "";
    width: 7px;
    height: 2px;
    position: absolute;
    right: -5px;
    bottom: -3px;
    background: currentColor;
    border-radius: 2px;
    transform: rotate(45deg);
}

.global-search input[b-2rb3sa3rg6] {
    width: 100%;
    min-width: 0;
    color: var(--iwelia-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: .9rem;
}

.global-search kbd[b-2rb3sa3rg6] {
    min-width: 42px;
    padding: .2rem .35rem;
    color: #8a98a7;
    background: var(--iwelia-soft);
    border: 1px solid var(--iwelia-border);
    border-radius: 6px;
    box-shadow: none;
    font-size: .72rem;
    font-weight: var(--iwelia-weight-medium);
}

.top-actions[b-2rb3sa3rg6] {
    position: absolute;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.icon-button[b-2rb3sa3rg6] {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--iwelia-ink);
    background: transparent;
    border: 0;
    border-radius: var(--iwelia-radius);
    box-shadow: none;
}

.icon-button[b-2rb3sa3rg6]::before,
.filter-button[b-2rb3sa3rg6]::after {
    content: "";
    display: block;
}

.gift-button[b-2rb3sa3rg6]::before {
    width: 20px;
    height: 20px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 12v10H4V12m18-5H2v5h20zM12 22V7m0 0H7.5a2.5 2.5 0 1 1 0-5C11 2 12 7 12 7Zm0 0h4.5a2.5 2.5 0 1 0 0-5C13 2 12 7 12 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 12v10H4V12m18-5H2v5h20zM12 22V7m0 0H7.5a2.5 2.5 0 1 1 0-5C11 2 12 7 12 7Zm0 0h4.5a2.5 2.5 0 1 0 0-5C13 2 12 7 12 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-button[b-2rb3sa3rg6] {
    position: relative;
}

.notification-button[b-2rb3sa3rg6]::before {
    width: 20px;
    height: 20px;
    background: currentColor;
    border: 0;
    border-radius: 0;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M18 8a6 6 0 1 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M18 8a6 6 0 1 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-button span[b-2rb3sa3rg6] {
    min-width: 17px;
    height: 17px;
    position: absolute;
    top: -5px;
    right: -4px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--iwelia-red);
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: var(--iwelia-weight-bold);
}

.filter-button[b-2rb3sa3rg6]::before {
    width: 19px;
    height: 19px;
    background: currentColor;
    border: 0;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M4 7h5m4 0h7M4 17h11m4 0h1M9 4v6m6 4v6'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M4 7h5m4 0h7M4 17h11m4 0h1M9 4v6m6 4v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.filter-button[b-2rb3sa3rg6]::after {
    content: none;
}

.top-new-button[b-2rb3sa3rg6] {
    min-height: 40px;
    padding: 0 1rem;
    color: #fff;
    background: linear-gradient(135deg, #062f48, #063e5d);
    border: 0;
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 22px rgba(8, 35, 55, .14);
    font-size: .82rem;
    font-weight: var(--iwelia-weight-semibold);
}

.top-new-button[b-2rb3sa3rg6]::before {
    content: "+";
    margin-right: .38rem;
}

@media (max-width: 860px) {
    .page[b-2rb3sa3rg6] {
        flex-direction: column;
    }

    .sidebar[b-2rb3sa3rg6] {
        width: 100%;
        flex-basis: auto;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .top-row[b-2rb3sa3rg6] {
        flex-wrap: wrap;
        padding: .75rem 1rem;
        justify-content: flex-start;
    }

    .top-title[b-2rb3sa3rg6] {
        position: static;
    }

    .top-actions[b-2rb3sa3rg6] {
        position: static;
    }
}

#blazor-error-ui[b-2rb3sa3rg6] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-2rb3sa3rg6] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.brand-row[b-i5bq3axrf4] {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.15rem 1.15rem .9rem;
}

.brand-link img[b-i5bq3axrf4] {
    display: block;
    width: 190px;
    height: auto;
}

.navbar-toggler[b-i5bq3axrf4] {
    appearance: none;
    cursor: pointer;
    width: 42px;
    height: 38px;
    position: absolute;
    top: 1.35rem;
    right: 1rem;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    background: #fff;
}

.navbar-toggler[b-i5bq3axrf4]::before {
    content: "☰";
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--iwelia-ink);
}

.nav-scrollable[b-i5bq3axrf4] {
    display: none;
    padding: .15rem 1rem 1rem;
}

.navbar-toggler:checked ~ .nav-scrollable[b-i5bq3axrf4] {
    display: block;
}

.nav-section[b-i5bq3axrf4] {
    display: grid;
    gap: .18rem;
}

.nav-secondary[b-i5bq3axrf4] {
    margin-top: 1.25rem;
}

.nav-item[b-i5bq3axrf4] {
    font-size: .94rem;
}

.nav-item[b-i5bq3axrf4]  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: .74rem;
    padding: 0 .85rem;
    color: #355066;
    border-radius: var(--iwelia-radius);
    text-decoration: none;
    font-weight: 620;
}

.nav-item[b-i5bq3axrf4]  a.active {
    color: #0a6471;
    background: linear-gradient(90deg, rgba(40, 120, 240, .11), rgba(34, 198, 214, .08));
    box-shadow: inset 3px 0 0 var(--iwelia-blue);
}

.nav-item[b-i5bq3axrf4]  .nav-link:hover {
    color: var(--iwelia-teal);
    background: var(--iwelia-soft);
}

.nav-icon[b-i5bq3axrf4] {
    width: 22px;
    height: 22px;
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: inherit;
}

.nav-icon[b-i5bq3axrf4]::before,
.nav-icon[b-i5bq3axrf4]::after {
    content: "";
    display: block;
    box-sizing: border-box;
}

.nav-icon[b-i5bq3axrf4]::before {
    width: 20px;
    height: 20px;
    background: currentColor;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    clip-path: none !important;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.nav-icon[b-i5bq3axrf4]::after {
    display: none !important;
}

.icon-dashboard[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z'/%3E%3C/svg%3E");
}

.icon-calendar[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

.icon-phone[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.icon-chat[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
}

.icon-contact[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.icon-bolt[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m13 2-10 12h9l-1 8 10-12h-9z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m13 2-10 12h9l-1 8 10-12h-9z'/%3E%3C/svg%3E");
}

.icon-channel[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4m16-4a2 2 0 1 0 0-4 2 2 0 0 0 0 4m0 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4M6 10l12-4M6 11l12 7'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4m16-4a2 2 0 1 0 0-4 2 2 0 0 0 0 4m0 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4M6 10l12-4M6 11l12 7'/%3E%3C/svg%3E");
}

.icon-report[b-i5bq3axrf4]::before {
    width: 17px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.icon-report[b-i5bq3axrf4]::after {
    width: 10px;
    height: 8px;
    position: absolute;
    bottom: 5px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.icon-insight[b-i5bq3axrf4]::before {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-insight[b-i5bq3axrf4]::after {
    width: 6px;
    height: 6px;
    position: absolute;
    background: var(--iwelia-yellow);
    border-radius: 50%;
}

.icon-settings[b-i5bq3axrf4]::before {
    width: 18px;
    height: 18px;
    border: 3px dotted currentColor;
    border-radius: 50%;
}

.icon-help[b-i5bq3axrf4]::before {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-help[b-i5bq3axrf4]::after {
    content: "?";
    position: absolute;
    font-size: .8rem;
    font-weight: 900;
}

.icon-team[b-i5bq3axrf4]::before {
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: 9px 5px 0 -5px currentColor, -9px 5px 0 -5px currentColor;
}

.icon-integration[b-i5bq3axrf4]::before {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-integration[b-i5bq3axrf4]::after {
    width: 18px;
    height: 2px;
    position: absolute;
    background: currentColor;
    transform: rotate(-42deg);
}

.icon-news[b-i5bq3axrf4]::before {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-news[b-i5bq3axrf4]::after {
    width: 6px;
    height: 6px;
    position: absolute;
    background: var(--iwelia-cyan);
    border-radius: 50%;
}

.nav-badge[b-i5bq3axrf4] {
    min-width: 22px;
    height: 20px;
    display: grid;
    place-items: center;
    margin-left: auto;
    color: var(--iwelia-blue);
    background: rgba(40, 120, 240, .1);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: var(--iwelia-weight-bold);
}

.workspace-card[b-i5bq3axrf4],
.user-card[b-i5bq3axrf4] {
    margin: 1.35rem .1rem 0;
    padding: .9rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow-soft);
}

.workspace-card span[b-i5bq3axrf4],
.workspace-card small[b-i5bq3axrf4],
.user-card small[b-i5bq3axrf4] {
    display: block;
    color: var(--iwelia-muted);
    font-size: .76rem;
}

.workspace-card strong[b-i5bq3axrf4],
.user-card strong[b-i5bq3axrf4] {
    display: block;
    margin-top: .25rem;
    color: var(--iwelia-ink);
    font-size: .9rem;
}

.workspace-card small[b-i5bq3axrf4] {
    width: fit-content;
    margin-top: .35rem;
    padding: .18rem .45rem;
    color: var(--iwelia-blue);
    background: rgba(40, 120, 240, .1);
    border-radius: 6px;
    font-weight: var(--iwelia-weight-semibold);
}

.user-card[b-i5bq3axrf4] {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem;
}

.user-avatar[b-i5bq3axrf4] {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 50%;
}

@media (min-width: 861px) {
    .navbar-toggler[b-i5bq3axrf4] {
        display: none;
    }

    .nav-scrollable[b-i5bq3axrf4] {
        min-height: calc(100vh - 86px);
        display: flex;
        flex-direction: column;
    }

    .user-card[b-i5bq3axrf4] {
        margin-top: auto;
    }
}

@media (max-width: 860px) {
    .brand-row[b-i5bq3axrf4] {
        height: 72px;
    }

    .brand-link img[b-i5bq3axrf4] {
        width: 150px;
    }
}

.icon-report[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 3v18h18M8 17V9m5 8V5m5 12v-6'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 3v18h18M8 17V9m5 8V5m5 12v-6'/%3E%3C/svg%3E");
}

.icon-insight[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 21a9 9 0 1 0-9-9 9 9 0 0 0 9 9Zm3.5-12.5-2.4 5.3-5.3 2.4 2.4-5.3z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 21a9 9 0 1 0-9-9 9 9 0 0 0 9 9Zm3.5-12.5-2.4 5.3-5.3 2.4 2.4-5.3z'/%3E%3C/svg%3E");
}

.icon-team[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2m7-10a4 4 0 1 0 0-8 4 4 0 0 0 0 8m13 10v-2a4 4 0 0 0-3-3.87m-3-12a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2m7-10a4 4 0 1 0 0-8 4 4 0 0 0 0 8m13 10v-2a4 4 0 0 0-3-3.87m-3-12a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.icon-settings[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm8-3.5a7.9 7.9 0 0 0-.1-1l2-1.5-2-3.5-2.4 1a7.2 7.2 0 0 0-1.7-1L15.5 3h-4l-.3 3a7.2 7.2 0 0 0-1.7 1l-2.4-1-2 3.5 2 1.5a7.9 7.9 0 0 0 0 2l-2 1.5 2 3.5 2.4-1a7.2 7.2 0 0 0 1.7 1l.3 3h4l.3-3a7.2 7.2 0 0 0 1.7-1l2.4 1 2-3.5-2-1.5c.1-.3.1-.7.1-1Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm8-3.5a7.9 7.9 0 0 0-.1-1l2-1.5-2-3.5-2.4 1a7.2 7.2 0 0 0-1.7-1L15.5 3h-4l-.3 3a7.2 7.2 0 0 0-1.7 1l-2.4-1-2 3.5 2 1.5a7.9 7.9 0 0 0 0 2l-2 1.5 2 3.5 2.4-1a7.2 7.2 0 0 0 1.7 1l.3 3h4l.3-3a7.2 7.2 0 0 0 1.7-1l2.4 1 2-3.5-2-1.5c.1-.3.1-.7.1-1Z'/%3E%3C/svg%3E");
}

.icon-integration[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M10 13a5 5 0 0 0 7.1 0l2.8-2.8a5 5 0 0 0-7.1-7.1L11.2 4.7M14 11a5 5 0 0 0-7.1 0L4.1 13.8a5 5 0 0 0 7.1 7.1l1.6-1.6'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M10 13a5 5 0 0 0 7.1 0l2.8-2.8a5 5 0 0 0-7.1-7.1L11.2 4.7M14 11a5 5 0 0 0-7.1 0L4.1 13.8a5 5 0 0 0 7.1 7.1l1.6-1.6'/%3E%3C/svg%3E");
}

.icon-help[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M9.1 9a3 3 0 1 1 5.8 1c-.5 1.1-1.5 1.5-2.1 2.3-.4.4-.6.9-.6 1.7M12 18h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M9.1 9a3 3 0 1 1 5.8 1c-.5 1.1-1.5 1.5-2.1 2.3-.4.4-.6.9-.6 1.7M12 18h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'/%3E%3C/svg%3E");
}

.icon-news[b-i5bq3axrf4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3l1.6 4.4L18 9l-4.4 1.6L12 15l-1.6-4.4L6 9l4.4-1.6ZM19 14l.8 2.2L22 17l-2.2.8L19 20l-.8-2.2L16 17l2.2-.8ZM5 14l.8 2.2L8 17l-2.2.8L5 20l-.8-2.2L2 17l2.2-.8Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3l1.6 4.4L18 9l-4.4 1.6L12 15l-1.6-4.4L6 9l4.4-1.6ZM19 14l.8 2.2L22 17l-2.2.8L19 20l-.8-2.2L16 17l2.2-.8ZM5 14l.8 2.2L8 17l-2.2.8L5 20l-.8-2.2L2 17l2.2-.8Z'/%3E%3C/svg%3E");
}

.user-avatar.user-initials[b-i5bq3axrf4] {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #062f3f, #078fa0);
    font-size: .8rem;
    font-weight: var(--iwelia-weight-semibold);
    text-transform: uppercase;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-6rjbr9w80q],
.components-reconnect-repeated-attempt-visible[b-6rjbr9w80q],
.components-reconnect-failed-visible[b-6rjbr9w80q],
.components-pause-visible[b-6rjbr9w80q],
.components-resume-failed-visible[b-6rjbr9w80q],
.components-rejoining-animation[b-6rjbr9w80q] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-6rjbr9w80q],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-6rjbr9w80q],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-6rjbr9w80q],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-6rjbr9w80q],
#components-reconnect-modal.components-reconnect-retrying[b-6rjbr9w80q],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-6rjbr9w80q],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-6rjbr9w80q],
#components-reconnect-modal.components-reconnect-failed[b-6rjbr9w80q],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-6rjbr9w80q] {
    display: block;
}


#components-reconnect-modal[b-6rjbr9w80q] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-6rjbr9w80q 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-6rjbr9w80q 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-6rjbr9w80q 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-6rjbr9w80q]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-6rjbr9w80q 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-6rjbr9w80q {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-6rjbr9w80q {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-6rjbr9w80q {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-6rjbr9w80q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-6rjbr9w80q] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-6rjbr9w80q] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-6rjbr9w80q] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-6rjbr9w80q] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-6rjbr9w80q] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-6rjbr9w80q] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-6rjbr9w80q 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-6rjbr9w80q] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-6rjbr9w80q {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Activate.razor.rz.scp.css */
.login-page[b-c8cbqcq7v3] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 48%) 1fr;
    background: #fff;
}

.login-shell[b-c8cbqcq7v3] {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem;
}

.lang-switcher[b-c8cbqcq7v3] {
    display: flex;
    gap: .5rem;
    align-items: center;
    justify-content: flex-end;
    width: min(100%, 430px);
    font-size: .82rem;
}

.lang-switcher button[b-c8cbqcq7v3] {
    padding: .15rem .1rem;
    color: var(--iwelia-muted);
    background: transparent;
    border: 0;
    font-weight: var(--iwelia-weight-semibold);
    cursor: pointer;
}

.lang-switcher button.active[b-c8cbqcq7v3] {
    color: var(--iwelia-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lang-switcher span[b-c8cbqcq7v3] {
    color: var(--iwelia-border-strong);
}

.login-logo[b-c8cbqcq7v3] {
    width: min(248px, 66vw);
    height: auto;
}

.login-card[b-c8cbqcq7v3] {
    width: min(100%, 430px);
    padding: 1.85rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow);
}

.login-card h1[b-c8cbqcq7v3] {
    margin: 0 0 1.65rem;
    font-size: 1.55rem;
    font-weight: var(--iwelia-weight-bold);
}

.login-card .intro[b-c8cbqcq7v3] {
    margin: 0 0 1.35rem;
    color: var(--iwelia-muted);
    font-size: .9rem;
}

.field[b-c8cbqcq7v3] {
    display: grid;
    gap: .45rem;
    margin-bottom: 1.1rem;
    font-size: .82rem;
    font-weight: var(--iwelia-weight-semibold);
}

.field input[b-c8cbqcq7v3] {
    width: 100%;
    height: 44px;
    padding: 0 .9rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.primary-action[b-c8cbqcq7v3] {
    width: 100%;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--iwelia-radius);
    font-size: .9rem;
    font-weight: var(--iwelia-weight-semibold);
    color: #fff;
    background: linear-gradient(135deg, #06293f, #064d70);
    border: 0;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(8, 35, 55, .16);
}

.signup-copy[b-c8cbqcq7v3] {
    margin: 1.25rem 0 0;
    color: var(--iwelia-muted);
    text-align: center;
}

.signup-copy a[b-c8cbqcq7v3] {
    color: var(--iwelia-teal);
    text-decoration: none;
    font-weight: var(--iwelia-weight-semibold);
}

.login-footer[b-c8cbqcq7v3] {
    display: grid;
    gap: .6rem;
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.login-art[b-c8cbqcq7v3] {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 45%, rgba(34, 198, 214, .16), transparent 30%),
        linear-gradient(135deg, #f8fbfc, #eaf8fb);
}

.login-art[b-c8cbqcq7v3]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(7, 143, 160, .22) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .35;
}

.login-watermark[b-c8cbqcq7v3] {
    position: absolute;
    top: 50%;
    right: 6%;
    width: 62%;
    aspect-ratio: 120 / 87;
    overflow: hidden;
    opacity: .12;
    transform: translateY(-50%);
}

.login-watermark img[b-c8cbqcq7v3] {
    /* Muestra solo el símbolo del logo (recorte 0,11,120,87 de iwelia-logo.png de 340x98) */
    width: 283.3%;
    max-width: none;
    height: auto;
    margin-left: 0;
    margin-top: -9.2%;
}

@media (max-width: 900px) {
    .login-page[b-c8cbqcq7v3] {
        grid-template-columns: 1fr;
    }

    .login-art[b-c8cbqcq7v3] {
        min-height: 220px;
        order: -1;
    }
}

@media (max-width: 560px) {
    .login-card[b-c8cbqcq7v3] {
        padding: 1.25rem;
    }
}
/* /Components/Pages/Appointments.razor.rz.scp.css */
.appointments-page[b-oq9jcibnrt] {
    display: grid;
    gap: 1rem;
}

.page-heading[b-oq9jcibnrt] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.page-heading h2[b-oq9jcibnrt] {
    margin: 0;
    font-size: 1.35rem;
    font-weight: var(--iwelia-weight-bold);
}

.page-heading p[b-oq9jcibnrt] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
    font-size: .92rem;
}

.page-state[b-oq9jcibnrt] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 1.5rem;
    color: var(--iwelia-muted);
}

.alert-retry[b-oq9jcibnrt] {
    margin-left: .6rem;
    padding: .15rem .7rem;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: .8rem;
    cursor: pointer;
}

.save-message[b-oq9jcibnrt] {
    margin: 0;
}

.new-button[b-oq9jcibnrt] {
    min-height: 40px;
    padding: 0 1rem;
    color: #fff;
    background: linear-gradient(135deg, #062f48, #063e5d);
    border: 1px solid transparent;
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 22px rgba(8, 35, 55, .14);
    font-size: .82rem;
    font-weight: 680;
    cursor: pointer;
    white-space: nowrap;
}

.new-button[b-oq9jcibnrt]::before {
    content: "+";
    margin-right: .35rem;
}

.new-button:disabled[b-oq9jcibnrt] {
    opacity: .55;
    cursor: wait;
}

.tool-button[b-oq9jcibnrt] {
    min-height: 40px;
    min-width: 40px;
    padding: 0 .7rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 10px 22px rgba(8, 35, 55, .05);
    font-weight: 680;
    font-size: .85rem;
    cursor: pointer;
    white-space: nowrap;
}

.tool-button:disabled[b-oq9jcibnrt] {
    opacity: .55;
    cursor: wait;
}

.danger-button[b-oq9jcibnrt] {
    color: var(--iwelia-red);
    border-color: #f3c2c2;
}

.status-badge[b-oq9jcibnrt] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.status-enabled[b-oq9jcibnrt] {
    color: #08714d;
    background: #ddf8ed;
}

.status-disabled[b-oq9jcibnrt] {
    color: #455769;
    background: #eef3f6;
}

.status-pending[b-oq9jcibnrt] {
    color: #8a4b00;
    background: #ffeecd;
}

.status-completed[b-oq9jcibnrt] {
    color: #0a6471;
    background: #dff3f5;
}

.muted[b-oq9jcibnrt] {
    color: var(--iwelia-muted);
    font-size: .88rem;
}

/* ---- Tabs ---- */

.tabs[b-oq9jcibnrt] {
    display: flex;
    gap: .2rem;
    border-bottom: 1px solid var(--iwelia-border);
}

.tabs button[b-oq9jcibnrt] {
    padding: .55rem .9rem;
    color: var(--iwelia-muted);
    background: transparent;
    border: 0;
    font-size: .92rem;
    font-weight: var(--iwelia-weight-medium);
    cursor: pointer;
}

.tabs button.active[b-oq9jcibnrt] {
    color: var(--iwelia-ink);
    font-weight: var(--iwelia-weight-semibold);
    box-shadow: inset 0 -2px 0 var(--iwelia-teal);
}

/* ---- Calendar toolbar ---- */

.calendar-toolbar[b-oq9jcibnrt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .8rem;
    padding: .7rem .9rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow-soft);
}

.date-nav[b-oq9jcibnrt] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.today-button[b-oq9jcibnrt] {
    min-width: 0;
}

.date-label[b-oq9jcibnrt] {
    margin-left: .3rem;
    font-size: 1.05rem;
}

.calendar-tools[b-oq9jcibnrt] {
    display: flex;
    align-items: flex-end;
    gap: .7rem;
    flex-wrap: wrap;
}

.segmented[b-oq9jcibnrt] {
    display: inline-flex;
    padding: 3px;
    background: var(--iwelia-soft);
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.segmented button[b-oq9jcibnrt] {
    min-height: 34px;
    padding: 0 .85rem;
    color: var(--iwelia-muted);
    background: transparent;
    border: 0;
    border-radius: 6px;
    font-weight: var(--iwelia-weight-semibold);
    font-size: .85rem;
    cursor: pointer;
}

.segmented button.active[b-oq9jcibnrt] {
    color: #fff;
    background: var(--iwelia-ink-2);
}

.filter-field[b-oq9jcibnrt] {
    display: grid;
    gap: .2rem;
    font-size: .78rem;
    color: var(--iwelia-muted);
}

.filter-field select[b-oq9jcibnrt],
.field input[b-oq9jcibnrt],
.field select[b-oq9jcibnrt] {
    height: 40px;
    padding: 0 .6rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border-strong);
    border-radius: var(--iwelia-radius);
    font: inherit;
    font-size: .9rem;
}

.filter-field select:focus[b-oq9jcibnrt],
.field input:focus[b-oq9jcibnrt],
.field select:focus[b-oq9jcibnrt] {
    outline: 2px solid rgba(40, 120, 240, .35);
    outline-offset: 1px;
}

/* ---- Day agenda (Tantôt-style: one column per professional) ---- */

.agenda-scroll[b-oq9jcibnrt] {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow-soft);
}

.agenda-day[b-oq9jcibnrt] {
    display: grid;
    min-width: 720px;
}

.agenda-corner[b-oq9jcibnrt] {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff;
    border-bottom: 1px solid var(--iwelia-border);
}

.agenda-staff-header[b-oq9jcibnrt] {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .35rem .5rem;
    padding: .65rem .7rem;
    background: #fff;
    border-bottom: 1px solid var(--iwelia-border);
    border-left: 1px solid var(--iwelia-border);
}

.agenda-staff-header strong[b-oq9jcibnrt] {
    font-size: .95rem;
}

.agenda-staff-header small[b-oq9jcibnrt] {
    color: var(--iwelia-muted);
    font-size: .76rem;
}

.staff-dot[b-oq9jcibnrt] {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    align-self: center;
    border-radius: 50%;
}

.agenda-time-gutter[b-oq9jcibnrt] {
    border-right: 1px solid var(--iwelia-border);
}

.agenda-time-label[b-oq9jcibnrt] {
    height: 48px;
    padding: .2rem .45rem 0 0;
    color: var(--iwelia-muted);
    border-bottom: 1px solid #eef3f6;
    font-size: .72rem;
    text-align: right;
}

.agenda-column[b-oq9jcibnrt] {
    position: relative;
    border-left: 1px solid var(--iwelia-border);
}

.agenda-cell[b-oq9jcibnrt] {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #eef3f6;
    cursor: pointer;
}

.agenda-cell:nth-child(even)[b-oq9jcibnrt] {
    border-bottom-color: var(--iwelia-border);
}

.agenda-cell:hover[b-oq9jcibnrt],
.agenda-cell:focus-visible[b-oq9jcibnrt] {
    background: rgba(7, 143, 160, .07);
    outline: none;
}

.agenda-cell.drop-target[b-oq9jcibnrt] {
    background: rgba(40, 120, 240, .12);
    box-shadow: inset 0 0 0 2px var(--iwelia-blue);
}

.appointment-block[b-oq9jcibnrt] {
    position: absolute;
    left: 4px;
    right: 4px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: .3rem .5rem;
    color: #fff;
    background: var(--iwelia-teal);
    border: 1px solid transparent;
    border-radius: var(--iwelia-radius);
    box-shadow: 0 4px 10px rgba(8, 35, 55, .12);
    font-size: .78rem;
    line-height: 1.25;
    cursor: grab;
}

.appointment-block:active[b-oq9jcibnrt] {
    cursor: grabbing;
}

.appointment-block.dragging[b-oq9jcibnrt] {
    opacity: .45;
}

.appointment-block.moving[b-oq9jcibnrt] {
    opacity: .6;
    cursor: wait;
}

.appointment-time[b-oq9jcibnrt] {
    font-size: .72rem;
    font-weight: var(--iwelia-weight-bold);
    opacity: .92;
}

.appointment-client[b-oq9jcibnrt] {
    font-weight: var(--iwelia-weight-bold);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appointment-service[b-oq9jcibnrt] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: .92;
}

.appointment-status[b-oq9jcibnrt] {
    font-size: .68rem;
    opacity: .85;
}

.appointment-block.status-pending[b-oq9jcibnrt] {
    color: #92400e;
    background: #fef3c7;
    border-color: #f59e0b;
}

.appointment-block.status-completed[b-oq9jcibnrt] {
    color: #08714d;
    background: #ddf8ed;
    border-color: #19a974;
}

.appointment-block.status-noshow[b-oq9jcibnrt] {
    color: #455769;
    background: #eef3f6;
    border-color: var(--iwelia-border-strong);
}

.appointment-block.status-cancelled[b-oq9jcibnrt] {
    color: var(--iwelia-muted);
    background: #f1f5f7;
    border-color: var(--iwelia-border);
    text-decoration: line-through;
    opacity: .75;
}

.now-line[b-oq9jcibnrt] {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    height: 2px;
    background: var(--iwelia-red);
    pointer-events: none;
}

.now-line[b-oq9jcibnrt]::before {
    content: "";
    position: absolute;
    left: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    background: var(--iwelia-red);
    border-radius: 50%;
}

.agenda-hint[b-oq9jcibnrt] {
    margin: .55rem 0 0;
    color: var(--iwelia-muted);
    font-size: .82rem;
}

/* ---- Week agenda: one column per professional, days stacked ---- */

.agenda-week[b-oq9jcibnrt] {
    display: grid;
    min-width: 720px;
}

.week-column[b-oq9jcibnrt] {
    min-width: 0;
    border-left: 1px solid var(--iwelia-border);
}

.week-column:first-child[b-oq9jcibnrt] {
    border-left: 0;
}

.week-staff-header[b-oq9jcibnrt] {
    position: static;
}

.week-day[b-oq9jcibnrt] {
    min-height: 96px;
    padding: .5rem;
    border-top: 1px solid var(--iwelia-border);
}

.week-day.is-today[b-oq9jcibnrt] {
    background: var(--iwelia-soft);
}

.week-day.drop-target[b-oq9jcibnrt] {
    background: rgba(40, 120, 240, .1);
    box-shadow: inset 0 0 0 2px var(--iwelia-blue);
}

.week-day-header[b-oq9jcibnrt] {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    padding: 0;
    color: var(--iwelia-ink);
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: var(--iwelia-weight-semibold);
    cursor: pointer;
    text-align: left;
}

.week-day-header .status-badge[b-oq9jcibnrt] {
    min-height: 22px;
    padding: 0 .5rem;
    font-size: .68rem;
}

.week-day-count[b-oq9jcibnrt] {
    margin-left: auto;
    color: var(--iwelia-muted);
    font-size: .75rem;
    font-weight: var(--iwelia-weight-regular);
}

.week-day-empty[b-oq9jcibnrt] {
    width: 100%;
    margin-top: .5rem;
    padding: .6rem;
    color: var(--iwelia-muted);
    background: transparent;
    border: 1px dashed var(--iwelia-border-strong);
    border-radius: var(--iwelia-radius);
    font-size: .8rem;
    cursor: pointer;
}

.week-day-empty:hover[b-oq9jcibnrt] {
    background: var(--iwelia-soft);
}

.week-appointment[b-oq9jcibnrt] {
    display: grid;
    gap: .1rem;
    margin-top: .45rem;
    padding: .45rem .6rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-left: 4px solid var(--iwelia-teal);
    border-radius: var(--iwelia-radius);
    font-size: .8rem;
    line-height: 1.3;
    cursor: grab;
}

.week-appointment:active[b-oq9jcibnrt] {
    cursor: grabbing;
}

.week-appointment.dragging[b-oq9jcibnrt] {
    opacity: .45;
}

.week-appointment-time[b-oq9jcibnrt] {
    font-weight: var(--iwelia-weight-bold);
}

.week-appointment.status-pending[b-oq9jcibnrt] {
    background: #fef3c7;
    border-color: #f59e0b;
    border-left-color: #f59e0b;
    color: #92400e;
}

.week-appointment.status-completed[b-oq9jcibnrt] {
    background: #ddf8ed;
    border-color: #19a974;
    border-left-color: #19a974;
    color: #08714d;
}

.week-appointment.status-noshow[b-oq9jcibnrt] {
    background: #eef3f6;
    color: #455769;
}

.week-appointment.status-cancelled[b-oq9jcibnrt] {
    color: var(--iwelia-muted);
    text-decoration: line-through;
    opacity: .75;
}

/* ---- Empty state ---- */

.empty-state[b-oq9jcibnrt] {
    padding: 2rem 1rem;
    background: var(--iwelia-soft);
    border: 1px dashed var(--iwelia-border-strong);
    border-radius: var(--iwelia-radius);
    text-align: center;
}

.empty-state h3[b-oq9jcibnrt] {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
}

.empty-state p[b-oq9jcibnrt] {
    margin: 0 0 1rem;
    color: var(--iwelia-muted);
}

/* ---- Admin (staff / services) ---- */

.admin-layout[b-oq9jcibnrt] {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(520px, 1.15fr);
    gap: .9rem;
}

.settings-panel[b-oq9jcibnrt] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.panel-heading[b-oq9jcibnrt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-heading h2[b-oq9jcibnrt] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.panel-heading p[b-oq9jcibnrt] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
    font-size: .88rem;
}

.settings-form[b-oq9jcibnrt] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1rem;
}

.field[b-oq9jcibnrt] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.field.full[b-oq9jcibnrt] {
    grid-column: 1 / -1;
}

.checkbox-field[b-oq9jcibnrt] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.checkbox-field input[type="checkbox"][b-oq9jcibnrt] {
    width: 18px;
    height: 18px;
    accent-color: var(--iwelia-teal);
}

.day-checkboxes[b-oq9jcibnrt],
.check-list[b-oq9jcibnrt] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .9rem;
}

.day-checkboxes label[b-oq9jcibnrt],
.check-list label[b-oq9jcibnrt] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .88rem;
    cursor: pointer;
}

.day-checkboxes input[b-oq9jcibnrt],
.check-list input[b-oq9jcibnrt] {
    width: 17px;
    height: 17px;
    accent-color: var(--iwelia-teal);
}

.form-actions[b-oq9jcibnrt] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .6rem;
}

.form-actions.full[b-oq9jcibnrt] {
    grid-column: 1 / -1;
}

.item-list[b-oq9jcibnrt] {
    display: grid;
    gap: .6rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.item-card[b-oq9jcibnrt] {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .8rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.item-main[b-oq9jcibnrt] {
    display: grid;
    gap: .15rem;
    flex: 1;
    min-width: 0;
}

.item-main small[b-oq9jcibnrt] {
    color: var(--iwelia-muted);
    font-size: .8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.matrix-panel[b-oq9jcibnrt] {
    margin-top: .9rem;
}

.matrix-scroll[b-oq9jcibnrt] {
    overflow-x: auto;
    margin-top: 1rem;
}

.matrix-table[b-oq9jcibnrt] {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.matrix-table th[b-oq9jcibnrt],
.matrix-table td[b-oq9jcibnrt] {
    padding: .55rem .7rem;
    border-bottom: 1px solid var(--iwelia-border);
    text-align: center;
}

.matrix-table th:first-child[b-oq9jcibnrt],
.matrix-table td:first-child[b-oq9jcibnrt] {
    text-align: left;
}

.matrix-table th small[b-oq9jcibnrt] {
    color: var(--iwelia-muted);
    font-weight: var(--iwelia-weight-regular);
}

.matrix-table input[type="checkbox"][b-oq9jcibnrt] {
    width: 18px;
    height: 18px;
    accent-color: var(--iwelia-teal);
}

/* ---- Drawer (create / detail) ---- */

.drawer-backdrop[b-oq9jcibnrt] {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(8, 35, 55, .35);
}

.drawer[b-oq9jcibnrt] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 21;
    width: min(460px, 100%);
    overflow-y: auto;
    padding: 1.1rem;
    background: #fff;
    box-shadow: -18px 0 45px rgba(8, 35, 55, .18);
}

.drawer-header[b-oq9jcibnrt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.drawer-header h3[b-oq9jcibnrt] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: var(--iwelia-weight-bold);
}

.drawer-form[b-oq9jcibnrt] {
    display: grid;
    gap: .8rem;
}

.drawer-summary[b-oq9jcibnrt] {
    margin: 0;
    padding: .7rem .8rem;
    background: var(--iwelia-soft);
    border-radius: var(--iwelia-radius);
    font-size: .88rem;
}

.slot-grid[b-oq9jcibnrt] {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.slot-button[b-oq9jcibnrt] {
    min-height: 40px;
    padding: .35rem .7rem;
    background: #fff;
    border: 1px solid var(--iwelia-border-strong);
    border-radius: var(--iwelia-radius);
    font-size: .88rem;
    font-weight: var(--iwelia-weight-semibold);
    cursor: pointer;
}

.slot-button small[b-oq9jcibnrt] {
    display: block;
    font-weight: var(--iwelia-weight-regular);
    color: var(--iwelia-muted);
}

.slot-button.selected[b-oq9jcibnrt] {
    color: #fff;
    background: var(--iwelia-ink-2);
    border-color: transparent;
}

.slot-button.selected small[b-oq9jcibnrt] {
    color: rgba(255, 255, 255, .85);
}

.detail-body[b-oq9jcibnrt] {
    display: grid;
    gap: .6rem;
}

.detail-line[b-oq9jcibnrt] {
    margin: 0;
}

.detail-actions[b-oq9jcibnrt] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.detail-body h4[b-oq9jcibnrt] {
    margin: .6rem 0 0;
    font-size: .95rem;
    font-weight: var(--iwelia-weight-bold);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
    .admin-layout[b-oq9jcibnrt] {
        grid-template-columns: 1fr;
    }

    .calendar-toolbar[b-oq9jcibnrt] {
        flex-direction: column;
        align-items: stretch;
    }

    .calendar-tools[b-oq9jcibnrt] {
        align-items: stretch;
    }

    .settings-form[b-oq9jcibnrt] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-heading[b-oq9jcibnrt] {
        flex-direction: column;
        align-items: flex-start;
    }

    .agenda-time-label[b-oq9jcibnrt] {
        font-size: .68rem;
    }

    .item-card[b-oq9jcibnrt] {
        flex-wrap: wrap;
    }
}

/* ---- List view (SAE-051): one row per booking, same filters ---- */

.appointment-list[b-oq9jcibnrt] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .5rem;
}

.appointment-list-item[b-oq9jcibnrt] {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: .8rem 1rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-left: 4px solid var(--iwelia-border-strong);
    border-radius: var(--iwelia-radius);
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.appointment-list-item:hover[b-oq9jcibnrt] {
    border-color: var(--iwelia-border-strong);
    box-shadow: 0 10px 22px rgba(8, 35, 55, .06);
}

.appointment-list-item.status-confirmed[b-oq9jcibnrt] {
    border-left-color: var(--iwelia-teal);
}

.appointment-list-item.status-pending[b-oq9jcibnrt] {
    border-left-color: #f59e0b;
    background: #fffdf5;
}

.appointment-list-item.status-cancelled[b-oq9jcibnrt],
.appointment-list-item.status-noshow[b-oq9jcibnrt] {
    opacity: .75;
}

.appointment-list-time[b-oq9jcibnrt] {
    font-weight: 680;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.appointment-list-main[b-oq9jcibnrt] {
    display: grid;
    gap: .1rem;
    min-width: 0;
}

.appointment-list-main strong[b-oq9jcibnrt] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appointment-list-main small[b-oq9jcibnrt] {
    color: var(--iwelia-muted);
    font-size: .85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .appointment-list-item[b-oq9jcibnrt] {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }

    .appointment-list-time[b-oq9jcibnrt] {
        grid-column: 1;
    }

    .appointment-list-main[b-oq9jcibnrt] {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}
/* /Components/Pages/Catalog.razor.rz.scp.css */
.catalog-page[b-nba7jorfzr] {
    display: grid;
    gap: 1rem;
}

.catalog-header[b-nba7jorfzr] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.catalog-header h1[b-nba7jorfzr] {
    margin: 0;
    font-size: 1.35rem;
    font-weight: var(--iwelia-weight-bold);
}

.catalog-header p[b-nba7jorfzr] {
    max-width: 72ch;
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.catalog-add-button[b-nba7jorfzr] {
    flex-shrink: 0;
    text-decoration: none;
}

.catalog-layout[b-nba7jorfzr] {
    display: grid;
    grid-template-columns: minmax(520px, 1.15fr) minmax(360px, .85fr);
    gap: .9rem;
    align-items: start;
}

.catalog-side[b-nba7jorfzr] {
    display: grid;
    gap: .9rem;
}

.catalog-panel[b-nba7jorfzr] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.panel-heading[b-nba7jorfzr],
.form-actions[b-nba7jorfzr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-heading h2[b-nba7jorfzr] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.panel-heading p[b-nba7jorfzr] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.status-badge[b-nba7jorfzr] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.status-enabled[b-nba7jorfzr] {
    color: #08714d;
    background: #ddf8ed;
}

.status-disabled[b-nba7jorfzr] {
    color: #455769;
    background: #eef3f6;
}

.save-message[b-nba7jorfzr] {
    margin: 0;
}

.unavailable-note[b-nba7jorfzr] {
    margin: 1rem 0 0;
    color: var(--iwelia-muted);
}

.empty-state[b-nba7jorfzr] {
    display: grid;
    gap: .5rem;
    justify-items: start;
    padding: 1.5rem 1rem;
    border-top: 1px solid var(--iwelia-border);
    margin-top: 1rem;
}

.empty-state h3[b-nba7jorfzr] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.empty-state p[b-nba7jorfzr] {
    max-width: 62ch;
    margin: 0;
    color: var(--iwelia-muted);
}

.catalog-grid[b-nba7jorfzr] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: .8rem;
    margin-top: 1rem;
}

.catalog-card[b-nba7jorfzr] {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.catalog-card-photo[b-nba7jorfzr] {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--iwelia-soft);
    border-bottom: 1px solid var(--iwelia-border);
}

.catalog-card-photo img[b-nba7jorfzr] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-card-initial[b-nba7jorfzr] {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #062f3f, #078fa0);
    font-size: 3rem;
    font-weight: var(--iwelia-weight-bold);
}

.catalog-no-photo[b-nba7jorfzr] {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: rgba(8, 35, 55, .72);
    color: #fff;
    font-size: .75rem;
    font-weight: var(--iwelia-weight-semibold);
}

.catalog-card-body[b-nba7jorfzr] {
    display: grid;
    gap: .5rem;
    padding: .8rem;
    align-content: start;
}

.catalog-card-title[b-nba7jorfzr] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .6rem;
}

.catalog-card-title h3[b-nba7jorfzr] {
    margin: 0;
    font-size: 1rem;
    font-weight: var(--iwelia-weight-bold);
    overflow-wrap: anywhere;
}

.catalog-price[b-nba7jorfzr] {
    flex-shrink: 0;
    color: var(--iwelia-teal);
    font-weight: var(--iwelia-weight-bold);
    white-space: nowrap;
}

.catalog-card-description[b-nba7jorfzr] {
    margin: 0;
    color: var(--iwelia-muted);
    font-size: .9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-card-footer[b-nba7jorfzr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: wrap;
}

.catalog-card-actions[b-nba7jorfzr] {
    display: flex;
    gap: .1rem;
    flex-wrap: wrap;
}

.ghost-button[b-nba7jorfzr] {
    border: 0;
    background: none;
    color: var(--iwelia-teal);
    font-weight: var(--iwelia-weight-semibold);
    padding: .35rem .5rem;
    border-radius: .5rem;
    cursor: pointer;
}

.ghost-button:disabled[b-nba7jorfzr] {
    color: var(--iwelia-muted);
    cursor: not-allowed;
}

.danger-button[b-nba7jorfzr] {
    color: var(--iwelia-red);
}

.delete-confirm[b-nba7jorfzr] {
    display: grid;
    gap: .6rem;
    padding: .7rem;
    border: 1px solid #f3c2c2;
    border-radius: .5rem;
    background: #fdf3f3;
    font-size: .9rem;
}

.delete-confirm-actions[b-nba7jorfzr] {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.catalog-form[b-nba7jorfzr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1rem;
}

.catalog-form .field[b-nba7jorfzr] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
    align-content: start;
}

.catalog-form .field.full[b-nba7jorfzr] {
    grid-column: 1 / -1;
}

.catalog-form .field small[b-nba7jorfzr] {
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.catalog-form input[b-nba7jorfzr],
.catalog-form select[b-nba7jorfzr],
.catalog-form textarea[b-nba7jorfzr] {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font: inherit;
}

.catalog-form textarea[b-nba7jorfzr] {
    resize: vertical;
}

.catalog-form input:disabled[b-nba7jorfzr],
.catalog-form select:disabled[b-nba7jorfzr],
.catalog-form textarea:disabled[b-nba7jorfzr] {
    background: var(--iwelia-soft);
    color: var(--iwelia-muted);
}

.toggle-field[b-nba7jorfzr] {
    display: flex;
    align-items: center;
    gap: .5rem;
    grid-column: 1 / -1;
    font-size: .9rem;
}

.photo-preview[b-nba7jorfzr] {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
}

.form-actions[b-nba7jorfzr] {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.page-state[b-nba7jorfzr] {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem;
}

.page-state.alert[b-nba7jorfzr] {
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .catalog-layout[b-nba7jorfzr] {
        grid-template-columns: 1fr;
    }

    .catalog-header[b-nba7jorfzr] {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .catalog-form[b-nba7jorfzr] {
        grid-template-columns: 1fr;
    }

    .catalog-grid[b-nba7jorfzr] {
        grid-template-columns: 1fr;
    }

    .form-actions[b-nba7jorfzr] {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn[b-nba7jorfzr] {
        width: 100%;
    }
}
/* /Components/Pages/Contacts.razor.rz.scp.css */
.contacts-page[b-skj1o7t8dg] {
    display: grid;
    gap: 1rem;
}

.page-state[b-skj1o7t8dg] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 120px;
    padding: 1.5rem;
    color: var(--iwelia-muted);
    text-align: center;
}

.page-state.empty-state[b-skj1o7t8dg] {
    background: #fff;
    border: 1px dashed var(--iwelia-border-strong);
    border-radius: var(--iwelia-radius);
}

.page-state.alert[b-skj1o7t8dg] {
    justify-content: space-between;
    min-height: 0;
    text-align: left;
}

.retry-button[b-skj1o7t8dg] {
    min-height: 38px;
    padding: 0 .9rem;
    color: #fff;
    background: var(--iwelia-teal);
    border: 0;
    border-radius: var(--iwelia-radius);
    font-weight: var(--iwelia-weight-semibold);
    white-space: nowrap;
}

.eyebrow[b-skj1o7t8dg] {
    margin: 0 0 .25rem;
    color: var(--iwelia-teal);
    font-size: .76rem;
    font-weight: var(--iwelia-weight-bold);
    text-transform: uppercase;
}

.page-heading h1[b-skj1o7t8dg] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: var(--iwelia-weight-bold);
}

.page-heading p[b-skj1o7t8dg] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.directory-toolbar[b-skj1o7t8dg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    padding: .8rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow-soft);
}

.directory-search[b-skj1o7t8dg] {
    flex: 1 1 260px;
    min-width: 220px;
    height: 42px;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 0 .75rem;
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.directory-search input[b-skj1o7t8dg] {
    width: 100%;
    color: var(--iwelia-ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.segment-tabs[b-skj1o7t8dg] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.segment-tabs button[b-skj1o7t8dg] {
    min-height: 38px;
    padding: 0 .8rem;
    color: var(--iwelia-muted);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    font-weight: var(--iwelia-weight-semibold);
}

.segment-tabs button span[b-skj1o7t8dg] {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-left: .3rem;
    padding: 0 .3rem;
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
    border-radius: 999px;
    font-size: .78rem;
}

.segment-tabs button.active[b-skj1o7t8dg] {
    color: #fff;
    background: var(--iwelia-teal);
    border-color: var(--iwelia-teal);
}

.segment-tabs button.active span[b-skj1o7t8dg] {
    color: var(--iwelia-ink);
    background: #fff;
}

.channel-select[b-skj1o7t8dg] {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--iwelia-muted);
    font-weight: var(--iwelia-weight-semibold);
}

.channel-select select[b-skj1o7t8dg] {
    height: 42px;
    padding: 0 .8rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.directory-grid[b-skj1o7t8dg] {
    display: grid;
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
}

.contact-list-panel[b-skj1o7t8dg],
.contact-detail-panel[b-skj1o7t8dg] {
    min-width: 0;
}

.contact-list[b-skj1o7t8dg] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .6rem;
}

.contact-item[b-skj1o7t8dg] {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: start;
    padding: .8rem;
    text-align: left;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow-soft);
    cursor: pointer;
}

.contact-item.selected[b-skj1o7t8dg] {
    border-color: var(--iwelia-teal);
    box-shadow: 0 0 0 1px var(--iwelia-teal), var(--iwelia-shadow-soft);
}

.avatar[b-skj1o7t8dg] {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #062f3f, #078fa0);
    border-radius: 50%;
    font-weight: var(--iwelia-weight-semibold);
    font-size: .82rem;
    flex-shrink: 0;
}

.avatar.large[b-skj1o7t8dg] {
    width: 64px;
    height: 64px;
    font-size: 1.15rem;
}

.photo-avatar[b-skj1o7t8dg] {
    object-fit: cover;
}

.item-copy[b-skj1o7t8dg] {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.item-copy strong[b-skj1o7t8dg] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-copy > span[b-skj1o7t8dg] {
    color: var(--iwelia-muted);
    font-size: .88rem;
}

.item-copy small[b-skj1o7t8dg] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--iwelia-muted);
    font-size: .84rem;
}

.item-meta[b-skj1o7t8dg] {
    display: grid;
    gap: .3rem;
    justify-items: end;
    text-align: right;
}

.item-meta time[b-skj1o7t8dg] {
    color: var(--iwelia-muted);
    font-size: .8rem;
    white-space: nowrap;
}

.item-badges[b-skj1o7t8dg] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .3rem;
}

.recurrence-badge[b-skj1o7t8dg],
.open-badge[b-skj1o7t8dg],
.unread-badge[b-skj1o7t8dg],
.status-badge[b-skj1o7t8dg] {
    font-style: normal;
    font-size: .74rem;
    font-weight: var(--iwelia-weight-semibold);
    padding: .15rem .5rem;
    border-radius: 999px;
    white-space: nowrap;
}

.recurrence-badge.new[b-skj1o7t8dg] {
    color: var(--iwelia-blue);
    background: rgba(40, 120, 240, .1);
}

.recurrence-badge.recurrent[b-skj1o7t8dg] {
    color: var(--iwelia-green);
    background: rgba(25, 169, 116, .12);
}

.open-badge[b-skj1o7t8dg] {
    color: var(--iwelia-teal);
    background: rgba(7, 143, 160, .1);
}

.unread-badge[b-skj1o7t8dg] {
    color: #fff;
    background: var(--iwelia-teal);
}

.status-badge.open[b-skj1o7t8dg] {
    color: var(--iwelia-green);
    background: rgba(25, 169, 116, .12);
}

.status-badge.closed[b-skj1o7t8dg] {
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
}

.channel-chips[b-skj1o7t8dg] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .3rem;
}

.channel-chip[b-skj1o7t8dg] {
    font-style: normal;
    font-size: .74rem;
    font-weight: var(--iwelia-weight-semibold);
    padding: .15rem .5rem;
    border-radius: 999px;
    white-space: nowrap;
}

.channel-chip.whatsapp[b-skj1o7t8dg] {
    color: var(--iwelia-green);
    background: rgba(25, 169, 116, .12);
}

.channel-chip.web[b-skj1o7t8dg] {
    color: var(--iwelia-teal);
    background: rgba(7, 143, 160, .1);
}

.channel-chip.instagram[b-skj1o7t8dg] {
    color: var(--iwelia-violet);
    background: rgba(124, 92, 255, .1);
}

.channel-chip.manual[b-skj1o7t8dg] {
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
}

.channel-chip.other[b-skj1o7t8dg] {
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
}

.contact-detail-panel[b-skj1o7t8dg] {
    display: grid;
    gap: .9rem;
}

.profile-card[b-skj1o7t8dg],
.history-card[b-skj1o7t8dg] {
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow-soft);
}

.profile-head[b-skj1o7t8dg] {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.profile-head strong[b-skj1o7t8dg] {
    display: block;
    font-size: 1.25rem;
}

.profile-head small[b-skj1o7t8dg] {
    color: var(--iwelia-muted);
}

.profile-facts[b-skj1o7t8dg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .7rem 1rem;
    margin: 1.1rem 0 0;
}

.profile-facts div[b-skj1o7t8dg] {
    display: grid;
    gap: .15rem;
}

.profile-facts dt[b-skj1o7t8dg] {
    color: var(--iwelia-muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.profile-facts dd[b-skj1o7t8dg] {
    margin: 0;
    overflow-wrap: anywhere;
}

.profile-metrics[b-skj1o7t8dg] {
    display: flex;
    gap: 1.5rem;
    margin: 1.1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--iwelia-border);
}

.profile-metrics div[b-skj1o7t8dg] {
    display: grid;
    gap: .1rem;
}

.profile-metrics dd[b-skj1o7t8dg] {
    margin: 0;
    font-size: 1.35rem;
    font-weight: var(--iwelia-weight-bold);
}

.profile-metrics dt[b-skj1o7t8dg] {
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.detail-channels[b-skj1o7t8dg] {
    justify-content: flex-start;
    margin-top: 1rem;
}

.history-card h2[b-skj1o7t8dg] {
    margin: 0 0 .9rem;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.empty-history[b-skj1o7t8dg] {
    margin: 0;
    color: var(--iwelia-muted);
}

.history-list[b-skj1o7t8dg] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .6rem;
}

.history-item[b-skj1o7t8dg] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem .9rem;
    color: var(--iwelia-ink);
    text-decoration: none;
    background: var(--iwelia-soft);
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.history-item:hover[b-skj1o7t8dg] {
    border-color: var(--iwelia-teal);
}

.history-main[b-skj1o7t8dg] {
    display: grid;
    gap: .35rem;
    min-width: 0;
}

.history-title[b-skj1o7t8dg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
}

.history-main small[b-skj1o7t8dg] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--iwelia-muted);
}

.history-meta[b-skj1o7t8dg] {
    display: grid;
    gap: .2rem;
    justify-items: end;
    text-align: right;
    flex-shrink: 0;
}

.history-meta time[b-skj1o7t8dg],
.history-meta > span[b-skj1o7t8dg] {
    color: var(--iwelia-muted);
    font-size: .82rem;
    white-space: nowrap;
}

.history-meta strong[b-skj1o7t8dg] {
    color: var(--iwelia-teal);
    font-size: .88rem;
    white-space: nowrap;
}

@media (max-width: 1020px) {
    .directory-grid[b-skj1o7t8dg] {
        grid-template-columns: 1fr;
    }

    .contact-list-panel[b-skj1o7t8dg] {
        order: 1;
    }

    .contact-detail-panel[b-skj1o7t8dg] {
        order: 2;
    }
}

@media (max-width: 640px) {
    .directory-toolbar[b-skj1o7t8dg] {
        flex-direction: column;
        align-items: stretch;
    }

    .directory-search[b-skj1o7t8dg] {
        flex-basis: auto;
    }

    .segment-tabs button[b-skj1o7t8dg] {
        flex: 1 1 auto;
    }

    .channel-select[b-skj1o7t8dg] {
        justify-content: space-between;
    }

    .channel-select select[b-skj1o7t8dg] {
        flex: 1;
    }

    .history-item[b-skj1o7t8dg] {
        flex-direction: column;
        gap: .6rem;
    }

    .history-meta[b-skj1o7t8dg] {
        justify-items: start;
        text-align: left;
    }

    .profile-metrics[b-skj1o7t8dg] {
        flex-wrap: wrap;
        gap: 1rem;
    }
}
/* /Components/Pages/ConversationDetail.razor.rz.scp.css */
.detail-page[b-6pg0xbd9p3] {
    display: grid;
    gap: .55rem;
    background: #fff;
    min-height: 0;
}

.conversation-detail-grid[b-6pg0xbd9p3] {
    height: calc(100dvh - 116px);
    min-height: 560px;
    display: grid;
    grid-template-columns: 384px minmax(540px, 1fr) 372px;
    gap: .75rem;
    overflow: hidden;
}

.inbox-panel[b-6pg0xbd9p3],
.chat-surface[b-6pg0xbd9p3],
.context-rail > section[b-6pg0xbd9p3] {
    min-height: 0;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
    overflow: hidden;
}

.inbox-panel[b-6pg0xbd9p3] {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    min-width: 0;
    padding: .8rem;
}

.tabs[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .2rem;
    margin-bottom: .9rem;
    border-bottom: 1px solid var(--iwelia-border);
}

.tabs button[b-6pg0xbd9p3],
.channel-filter button[b-6pg0xbd9p3],
.composer-tabs button[b-6pg0xbd9p3] {
    color: var(--iwelia-muted);
    background: transparent;
    border: 0;
    border-radius: var(--iwelia-radius);
    font-weight: 650;
}

.tabs button[b-6pg0xbd9p3] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    flex: 1 1 0;
    white-space: nowrap;
    min-width: 0;
    padding: .55rem .35rem .72rem;
    border-radius: 0;
    font-size: .78rem;
}

.tabs span[b-6pg0xbd9p3] {
    min-width: 20px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: var(--iwelia-blue);
    background: rgba(40, 120, 240, .09);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: var(--iwelia-weight-semibold);
}

.tabs button.active[b-6pg0xbd9p3] {
    color: var(--iwelia-ink);
}

.tabs button.active[b-6pg0xbd9p3]::after {
    content: "";
    height: 3px;
    position: absolute;
    left: .45rem;
    right: .45rem;
    bottom: -1px;
    background: var(--iwelia-blue);
    border-radius: 999px;
}

.channel-filter[b-6pg0xbd9p3] {
    display: flex;
    gap: .58rem;
    margin: .85rem 0;
    overflow: visible;
}

.channel-filter button[b-6pg0xbd9p3] {
    width: 30px;
    height: 30px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 0;
    flex: 0 0 auto;
    border: 0;
    border-radius: var(--iwelia-radius);
}

.channel-filter button.active[b-6pg0xbd9p3] {
    color: var(--iwelia-teal);
    background: rgba(40, 120, 240, .09);
    border: 1px solid rgba(34, 198, 214, .22);
}

.channel-filter button[b-6pg0xbd9p3]::before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    border-radius: 5px;
    background: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.channel-filter span[b-6pg0xbd9p3] {
    font-size: .75rem;
}

.channel-filter em[b-6pg0xbd9p3] {
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: var(--iwelia-teal);
    background: rgba(34, 198, 214, .12);
    border-radius: 999px;
    font-size: .68rem;
    font-style: normal;
    font-weight: var(--iwelia-weight-semibold);
}

.channel-filter .channel-all[b-6pg0xbd9p3] {
    width: auto;
    padding: 0 .55rem;
}

/* SAE-052: channel buttons show the real count next to the icon. */
.channel-filter button.channel-counted[b-6pg0xbd9p3] {
    width: auto;
    padding: 0 .5rem;
}

.channel-all[b-6pg0xbd9p3]::before {
    background:
        linear-gradient(var(--iwelia-teal) 0 0) 0 0 / 6px 6px no-repeat,
        linear-gradient(var(--iwelia-blue) 0 0) 10px 0 / 6px 6px no-repeat,
        linear-gradient(var(--iwelia-yellow) 0 0) 0 10px / 6px 6px no-repeat,
        linear-gradient(var(--iwelia-green) 0 0) 10px 10px / 6px 6px no-repeat;
}

.channel-whatsapp[b-6pg0xbd9p3]::before,
.channel-icon.whatsapp[b-6pg0xbd9p3] {
    background: var(--iwelia-green);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a9.6 9.6 0 0 0-8.4 14.3L2.5 21.5l5.4-1.1A9.6 9.6 0 1 0 12 2Zm0 2a7.6 7.6 0 0 1 6.4 11.7A7.6 7.6 0 0 1 8.2 18.4l-.4-.2-2.7.6.6-2.6-.3-.4A7.6 7.6 0 0 1 12 4Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a9.6 9.6 0 0 0-8.4 14.3L2.5 21.5l5.4-1.1A9.6 9.6 0 1 0 12 2Zm0 2a7.6 7.6 0 0 1 6.4 11.7A7.6 7.6 0 0 1 8.2 18.4l-.4-.2-2.7.6.6-2.6-.3-.4A7.6 7.6 0 0 1 12 4Z'/%3E%3C/svg%3E");
}

.channel-mail[b-6pg0xbd9p3]::before,
.channel-icon.mail[b-6pg0xbd9p3] {
    background: var(--iwelia-blue);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 5h18v14H3zm2 3.2V17h14V8.2l-7 5zM6.5 7l5.5 3.9L17.5 7z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 5h18v14H3zm2 3.2V17h14V8.2l-7 5zM6.5 7l5.5 3.9L17.5 7z'/%3E%3C/svg%3E");
}

.channel-instagram[b-6pg0xbd9p3]::before,
.channel-icon.instagram[b-6pg0xbd9p3] {
    background: var(--iwelia-violet);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.5-3.1a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.5-3.1a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2Z'/%3E%3C/svg%3E");
}

.channel-web[b-6pg0xbd9p3]::before,
.channel-icon.web[b-6pg0xbd9p3] {
    background: var(--iwelia-teal);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.5 9h-3.2a15 15 0 0 0-1.1-5 8 8 0 0 1 4.3 5ZM12 4.1c.7 1 1.6 3 1.9 6.9h-3.8c.3-3.9 1.2-5.9 1.9-6.9ZM4.5 13h3.2a15 15 0 0 0 1.1 5 8 8 0 0 1-4.3-5Zm3.2-2H4.5a8 8 0 0 1 4.3-5 15 15 0 0 0-1.1 5Zm4.3 8.9c-.7-1-1.6-3-1.9-6.9h3.8c-.3 3.9-1.2 5.9-1.9 6.9Zm3.2-1.9a15 15 0 0 0 1.1-5h3.2a8 8 0 0 1-4.3 5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.5 9h-3.2a15 15 0 0 0-1.1-5 8 8 0 0 1 4.3 5ZM12 4.1c.7 1 1.6 3 1.9 6.9h-3.8c.3-3.9 1.2-5.9 1.9-6.9ZM4.5 13h3.2a15 15 0 0 0 1.1 5 8 8 0 0 1-4.3-5Zm3.2-2H4.5a8 8 0 0 1 4.3-5 15 15 0 0 0-1.1 5Zm4.3 8.9c-.7-1-1.6-3-1.9-6.9h3.8c-.3 3.9-1.2 5.9-1.9 6.9Zm3.2-1.9a15 15 0 0 0 1.1-5h3.2a8 8 0 0 1-4.3 5Z'/%3E%3C/svg%3E");
}

.channel-phone[b-6pg0xbd9p3]::before,
.channel-icon.phone[b-6pg0xbd9p3] {
    background: var(--iwelia-orange);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.4a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.2 1z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.4a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.2 1z'/%3E%3C/svg%3E");
}

/* SAE-052: Manual channel (a conversation started by hand in the panel). */
.channel-manual[b-6pg0xbd9p3]::before,
.channel-icon.manual[b-6pg0xbd9p3] {
    background: var(--iwelia-muted);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E");
}

.channel-more[b-6pg0xbd9p3]::before {
    background: var(--iwelia-muted);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 6h16v2H4zm3 5h10v2H7zm3 5h4v2h-4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 6h16v2H4zm3 5h10v2H7zm3 5h4v2h-4z'/%3E%3C/svg%3E");
}

.channel-more[b-6pg0xbd9p3] {
    color: var(--iwelia-muted);
    font-weight: 900;
}

.conversation-list[b-6pg0xbd9p3] {
    display: grid;
    align-content: start;
    gap: .35rem;
    min-height: 0;
    overflow-y: auto;
    padding-right: .15rem;
}

.conversation-item[b-6pg0xbd9p3] {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: .65rem;
    padding: .7rem;
    color: inherit;
    border: 1px solid transparent;
    border-radius: var(--iwelia-radius);
    text-decoration: none;
}

.conversation-item:hover[b-6pg0xbd9p3],
.conversation-item.selected[b-6pg0xbd9p3] {
    background: linear-gradient(135deg, rgba(40, 120, 240, .1), rgba(255, 255, 255, 1));
    border-color: rgba(40, 120, 240, .22);
}

.avatar[b-6pg0xbd9p3],
.customer-mini > span[b-6pg0xbd9p3] {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #062f3f, #078fa0);
    border-radius: 50%;
    font-weight: var(--iwelia-weight-semibold);
    font-size: .82rem;
}

.photo-avatar[b-6pg0xbd9p3] {
    background-color: transparent;
    background-size: cover;
    background-position: center;
    color: transparent;
    object-fit: cover;
}

.photo-one[b-6pg0xbd9p3] {
    background-image: url("/demo/avatar-male-1.png") !important;
}

.photo-two[b-6pg0xbd9p3] {
    background-image: url("/demo/avatar-female-1.png") !important;
}

.photo-three[b-6pg0xbd9p3] {
    background-image: url("/demo/avatar-male-2.png") !important;
}

.photo-four[b-6pg0xbd9p3] {
    background-image: url("/demo/avatar-female-2.png") !important;
}

.item-copy[b-6pg0xbd9p3] {
    min-width: 0;
}

.item-copy strong[b-6pg0xbd9p3],
.item-copy small[b-6pg0xbd9p3],
.item-meta time[b-6pg0xbd9p3],
.item-meta em[b-6pg0xbd9p3] {
    display: block;
}

.item-copy small[b-6pg0xbd9p3] {
    overflow: hidden;
    color: var(--iwelia-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-line[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin: .18rem 0;
    color: var(--iwelia-muted);
    font-size: .74rem;
    font-weight: 580;
}

.channel-icon[b-6pg0xbd9p3],
.channel-dot[b-6pg0xbd9p3] {
    width: 15px;
    height: 15px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 0;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.item-meta[b-6pg0xbd9p3] {
    display: grid;
    justify-items: end;
    gap: .3rem;
}

.item-meta time[b-6pg0xbd9p3] {
    color: var(--iwelia-muted);
    font-size: .75rem;
}

.item-meta em[b-6pg0xbd9p3] {
    min-width: 20px;
    height: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--iwelia-blue);
    border-radius: 7px;
    font-size: .68rem;
    font-style: normal;
    font-weight: var(--iwelia-weight-semibold);
}

.chat-surface[b-6pg0xbd9p3] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-width: 0;
}

.chat-header[b-6pg0xbd9p3],
.customer-mini[b-6pg0xbd9p3],
.composer-tabs[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
}

.chat-header[b-6pg0xbd9p3] {
    display: block;
    padding: 0;
    border-bottom: 1px solid var(--iwelia-border);
}

.chat-header-main[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem .75rem;
}

.chat-header-meta[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: .58rem 1rem;
    color: var(--iwelia-muted);
    border-top: 1px solid var(--iwelia-border);
    font-size: .76rem;
    font-weight: var(--iwelia-weight-medium);
}

.chat-header-meta a[b-6pg0xbd9p3] {
    margin-left: auto;
    color: var(--iwelia-teal);
    font-weight: var(--iwelia-weight-semibold);
    text-decoration: none;
}

.chat-header-meta a[b-6pg0xbd9p3]::after {
    content: ">";
    margin-left: .45rem;
}

.customer-mini[b-6pg0xbd9p3] {
    gap: .75rem;
    min-width: 0;
}

.customer-mini > span[b-6pg0xbd9p3] {
    flex: 0 0 auto;
}

.customer-copy[b-6pg0xbd9p3] {
    min-width: 140px;
}

.customer-mini h1[b-6pg0xbd9p3],
.customer-mini p[b-6pg0xbd9p3] {
    margin: 0;
}

.customer-mini h1[b-6pg0xbd9p3] {
    font-size: 1.25rem;
    font-weight: var(--iwelia-weight-semibold);
}

.customer-mini p[b-6pg0xbd9p3],
.customer-mini small[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    gap: .32rem;
    color: var(--iwelia-muted);
}

.customer-mini small[b-6pg0xbd9p3] {
    display: block;
    margin-top: .18rem;
    font-size: .75rem;
}

.identity-grid[b-6pg0xbd9p3] {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: .55rem;
    min-width: min(440px, 52vw);
}

.identity-chip[b-6pg0xbd9p3] {
    display: grid;
    gap: .12rem;
    min-width: 0;
    padding: .45rem .6rem;
    background: #f8fbfd;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.identity-chip em[b-6pg0xbd9p3],
.identity-chip strong[b-6pg0xbd9p3] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.identity-chip em[b-6pg0xbd9p3] {
    color: var(--iwelia-muted);
    font-size: .66rem;
    font-style: normal;
    font-weight: var(--iwelia-weight-semibold);
    text-transform: uppercase;
}

.identity-chip strong[b-6pg0xbd9p3] {
    color: var(--iwelia-ink);
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.chat-actions[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .4rem;
    flex-wrap: wrap;
}

.chat-icon[b-6pg0xbd9p3] {
    width: 34px;
    height: 34px;
    position: relative;
    color: var(--iwelia-muted);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.chat-icon[b-6pg0xbd9p3]::before {
    content: "";
    width: 17px;
    height: 17px;
    position: absolute;
    inset: 8px;
    background: currentColor;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.chat-icon.assign[b-6pg0xbd9p3]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8m10-3v6m3-3h-6'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8m10-3v6m3-3h-6'/%3E%3C/svg%3E");
}

.chat-icon.tag[b-6pg0xbd9p3]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20.6 13.1 13.1 20.6a2 2 0 0 1-2.8 0L3 13.3V3h10.3l7.3 7.3a2 2 0 0 1 0 2.8ZM7.5 7.5h.01'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20.6 13.1 13.1 20.6a2 2 0 0 1-2.8 0L3 13.3V3h10.3l7.3 7.3a2 2 0 0 1 0 2.8ZM7.5 7.5h.01'/%3E%3C/svg%3E");
}

.chat-icon.clock[b-6pg0xbd9p3]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 8v5l3 2m7-3a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 8v5l3 2m7-3a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z'/%3E%3C/svg%3E");
}

.chat-icon.more[b-6pg0xbd9p3]::before {
    width: 4px;
    height: 4px;
    inset: 15px;
    border-radius: 50%;
    box-shadow: -7px 0 0 currentColor, 7px 0 0 currentColor;
}

.pending-button[b-6pg0xbd9p3] {
    min-height: 34px;
    padding: 0 .8rem;
    color: #27465e;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.status-badge[b-6pg0xbd9p3] {
    display: inline-block;
    padding: .35rem .65rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.status-open[b-6pg0xbd9p3] {
    color: #08714d;
    background: #ddf8ed;
}

.status-closed[b-6pg0xbd9p3] {
    color: #455769;
    background: #eef3f6;
}

.chat-panel[b-6pg0xbd9p3] {
    display: grid;
    align-content: start;
    gap: .9rem;
    min-height: 0;
    overflow-y: auto;
    padding: 1.2rem;
    background:
        radial-gradient(circle at 20% 8%, rgba(34, 198, 214, .09), transparent 24%),
        #fbfdfe;
}

.message-row[b-6pg0xbd9p3] {
    display: flex;
}

.message-incoming[b-6pg0xbd9p3] {
    justify-content: flex-start;
}

.message-outgoing[b-6pg0xbd9p3] {
    justify-content: flex-end;
}

.message-bubble[b-6pg0xbd9p3] {
    max-width: min(72%, 620px);
    padding: .9rem 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(8, 35, 55, .04);
}

.message-outgoing .message-bubble[b-6pg0xbd9p3] {
    background: #e8faee;
    border-color: #d2f2dc;
    border-bottom-right-radius: 6px;
}

.message-incoming .message-bubble[b-6pg0xbd9p3] {
    border-bottom-left-radius: 6px;
}

.message-unread .message-bubble[b-6pg0xbd9p3] {
    border-color: rgba(40, 120, 240, .36);
    box-shadow: 0 10px 24px rgba(40, 120, 240, .09);
}

.message-unread .message-bubble[b-6pg0xbd9p3]::before {
    content: "Nuevo";
    display: block;
    margin-bottom: .35rem;
    color: var(--iwelia-blue);
    font-size: .68rem;
    font-weight: var(--iwelia-weight-semibold);
    text-transform: uppercase;
}

.sender-label[b-6pg0xbd9p3] {
    display: block;
    margin-bottom: .25rem;
    color: var(--iwelia-teal);
    font-size: .72rem;
    font-weight: var(--iwelia-weight-bold);
    text-transform: uppercase;
}

.message-bubble p[b-6pg0xbd9p3] {
    margin: 0;
    line-height: 1.45;
}

.message-attachment[b-6pg0xbd9p3] {
    margin-top: .65rem;
}

.message-attachment img[b-6pg0xbd9p3],
.message-attachment video[b-6pg0xbd9p3] {
    display: block;
    width: min(100%, 360px);
    max-height: 280px;
    object-fit: contain;
    background: #eef5f8;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.message-attachment audio[b-6pg0xbd9p3] {
    width: min(100%, 320px);
}

.message-attachment a[b-6pg0xbd9p3] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: .5rem .65rem;
    color: var(--iwelia-blue);
    background: #f4f8fb;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    font-size: .82rem;
    font-weight: var(--iwelia-weight-semibold);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.message-bubble time[b-6pg0xbd9p3] {
    display: block;
    margin-top: .45rem;
    color: var(--iwelia-muted);
    font-size: .72rem;
    text-align: right;
}

.next-action[b-6pg0xbd9p3] {
    padding: 1rem;
    background: linear-gradient(135deg, #f6fdff, #fff);
    border: 1px solid rgba(34, 198, 214, .28);
    border-radius: var(--iwelia-radius);
}

.next-action span[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--iwelia-teal);
    font-weight: var(--iwelia-weight-bold);
}

.next-action p[b-6pg0xbd9p3],
.info-panel p[b-6pg0xbd9p3],
.info-panel li[b-6pg0xbd9p3] {
    color: var(--iwelia-muted);
}

.next-action button[b-6pg0xbd9p3],
.composer-box button[b-6pg0xbd9p3] {
    min-height: 38px;
    padding: 0 .85rem;
    color: #fff;
    background: var(--iwelia-blue);
    border: 0;
    border-radius: var(--iwelia-radius);
    font-weight: var(--iwelia-weight-semibold);
}

.composer[b-6pg0xbd9p3] {
    padding: 1rem;
    background: #fff;
    border-top: 1px solid var(--iwelia-border);
}

.composer-tabs[b-6pg0xbd9p3] {
    gap: .4rem;
    margin-bottom: .6rem;
}

.composer-tabs button[b-6pg0xbd9p3] {
    padding: .45rem .65rem;
    color: var(--iwelia-muted);
    background: transparent;
    border: 0;
    border-radius: var(--iwelia-radius);
    font-weight: var(--iwelia-weight-semibold);
}

.composer-tabs button.active[b-6pg0xbd9p3] {
    color: var(--iwelia-teal);
    background: rgba(34, 198, 214, .12);
}

.composer-tools[b-6pg0xbd9p3] {
    display: flex;
    gap: .35rem;
    margin-bottom: .55rem;
    overflow-x: auto;
}

.composer-tools button[b-6pg0xbd9p3] {
    min-height: 30px;
    padding: 0 .55rem;
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
    border: 1px solid var(--iwelia-border);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: var(--iwelia-weight-semibold);
    white-space: nowrap;
}

.composer-file-button[b-6pg0xbd9p3] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .55rem;
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
    border: 1px solid var(--iwelia-border);
    border-radius: 999px;
    cursor: pointer;
    font-size: .76rem;
    font-weight: var(--iwelia-weight-semibold);
    white-space: nowrap;
}

.composer-file-button input[b-6pg0xbd9p3] {
    display: none;
}

.selected-attachment[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: -.2rem 0 .55rem;
    padding: .45rem .6rem;
    color: var(--iwelia-ink);
    background: #f4f8fb;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    font-size: .78rem;
}

.selected-attachment span[b-6pg0xbd9p3] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-attachment button[b-6pg0xbd9p3] {
    flex: 0 0 auto;
    color: var(--iwelia-red);
    background: transparent;
    border: 0;
    font-weight: var(--iwelia-weight-semibold);
}

.composer-box[b-6pg0xbd9p3] {
    min-height: 82px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem;
    color: var(--iwelia-muted);
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.composer-box textarea[b-6pg0xbd9p3] {
    width: 100%;
    min-height: 56px;
    max-height: 120px;
    resize: vertical;
    color: var(--iwelia-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
}

.composer-box button[b-6pg0xbd9p3] {
    align-self: end;
}

.composer-box button:disabled[b-6pg0xbd9p3] {
    opacity: .55;
    cursor: not-allowed;
}

.composer-error[b-6pg0xbd9p3] {
    margin: .5rem 0 0;
    color: var(--iwelia-red);
    font-size: .8rem;
    font-weight: var(--iwelia-weight-medium);
}

.context-rail[b-6pg0xbd9p3] {
    display: grid;
    align-content: start;
    gap: .75rem;
    min-height: 0;
    overflow-y: auto;
}

.context-rail > section[b-6pg0xbd9p3] {
    padding: .95rem;
}

.profile-stats[b-6pg0xbd9p3] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 1rem 0 0;
    padding-top: .8rem;
    border-top: 1px solid var(--iwelia-border);
    text-align: center;
}

.profile-contact[b-6pg0xbd9p3] {
    display: grid;
    gap: .38rem;
    margin-top: .9rem;
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.profile-contact span[b-6pg0xbd9p3] {
    display: grid;
    grid-template-columns: 16px 1fr;
    align-items: center;
    gap: .45rem;
}

.profile-contact span[b-6pg0xbd9p3]::before {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--iwelia-muted);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.contact-phone[b-6pg0xbd9p3]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.4a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.2 1z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.4a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.2 1z'/%3E%3C/svg%3E");
}

.contact-whatsapp-id[b-6pg0xbd9p3]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a9.6 9.6 0 0 0-8.4 14.3L2.5 21.5l5.4-1.1A9.6 9.6 0 1 0 12 2Zm0 2a7.6 7.6 0 0 1 6.4 11.7A7.6 7.6 0 0 1 8.2 18.4l-.4-.2-2.7.6.6-2.6-.3-.4A7.6 7.6 0 0 1 12 4Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a9.6 9.6 0 0 0-8.4 14.3L2.5 21.5l5.4-1.1A9.6 9.6 0 1 0 12 2Zm0 2a7.6 7.6 0 0 1 6.4 11.7A7.6 7.6 0 0 1 8.2 18.4l-.4-.2-2.7.6.6-2.6-.3-.4A7.6 7.6 0 0 1 12 4Z'/%3E%3C/svg%3E");
}

/* SAE-052: channel line in the profile card (Web / Instagram / Manual). */
.contact-channel[b-6pg0xbd9p3]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.5 9h-3.2a15 15 0 0 0-1.1-5 8 8 0 0 1 4.3 5ZM12 4.1c.7 1 1.6 3 1.9 6.9h-3.8c.3-3.9 1.2-5.9 1.9-6.9ZM4.5 13h3.2a15 15 0 0 0 1.1 5 8 8 0 0 1-4.3-5Zm3.2-2H4.5a8 8 0 0 1 4.3-5 15 15 0 0 0-1.1 5Zm4.3 8.9c-.7-1-1.6-3-1.9-6.9h3.8c-.3 3.9-1.2 5.9-1.9 6.9Zm3.2-1.9a15 15 0 0 0 1.1-5h3.2a8 8 0 0 1-4.3 5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.5 9h-3.2a15 15 0 0 0-1.1-5 8 8 0 0 1 4.3 5ZM12 4.1c.7 1 1.6 3 1.9 6.9h-3.8c.3-3.9 1.2-5.9 1.9-6.9ZM4.5 13h3.2a15 15 0 0 0 1.1 5 8 8 0 0 1-4.3-5Zm3.2-2H4.5a8 8 0 0 1 4.3-5 15 15 0 0 0-1.1 5Zm4.3 8.9c-.7-1-1.6-3-1.9-6.9h3.8c-.3 3.9-1.2 5.9-1.9 6.9Zm3.2-1.9a15 15 0 0 0 1.1-5h3.2a8 8 0 0 1-4.3 5Z'/%3E%3C/svg%3E");
}

.contact-email[b-6pg0xbd9p3]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 5h18v14H3zm2 3.2V17h14V8.2l-7 5zM6.5 7l5.5 3.9L17.5 7z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 5h18v14H3zm2 3.2V17h14V8.2l-7 5zM6.5 7l5.5 3.9L17.5 7z'/%3E%3C/svg%3E");
}

.contact-location[b-6pg0xbd9p3]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E");
}

.contact-since[b-6pg0xbd9p3]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E");
}

.profile-stats dt[b-6pg0xbd9p3] {
    color: var(--iwelia-muted);
    font-size: .72rem;
}

.profile-stats dd[b-6pg0xbd9p3] {
    margin: 0 0 .1rem;
    font-weight: var(--iwelia-weight-bold);
}

.info-panel h2[b-6pg0xbd9p3] {
    margin: 0 0 .55rem;
    font-size: 1rem;
    font-weight: var(--iwelia-weight-bold);
}

.positive[b-6pg0xbd9p3] {
    color: var(--iwelia-green);
}

.info-panel ul[b-6pg0xbd9p3] {
    display: grid;
    gap: .45rem;
    margin: 0;
    padding-left: 1rem;
}

.detail-state[b-6pg0xbd9p3] {
    min-height: calc(100vh - 128px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.empty-state[b-6pg0xbd9p3] {
    color: var(--iwelia-muted);
    border-style: dashed;
}

@media (max-width: 1120px) {
    .conversation-detail-grid[b-6pg0xbd9p3] {
        height: auto;
        min-height: calc(100dvh - 116px);
        overflow: visible;
        grid-template-columns: 1fr;
    }

    .chat-surface[b-6pg0xbd9p3] {
        min-height: calc(100dvh - 116px);
    }

    .identity-grid[b-6pg0xbd9p3] {
        min-width: min(390px, 46vw);
    }
}

@media (max-width: 640px) {
    .chat-header[b-6pg0xbd9p3] {
        align-items: flex-start;
        flex-direction: column;
    }

    .chat-header-main[b-6pg0xbd9p3] {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-mini[b-6pg0xbd9p3] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .identity-grid[b-6pg0xbd9p3] {
        width: 100%;
        min-width: 0;
    }

    .message-bubble[b-6pg0xbd9p3] {
        max-width: 100%;
    }

    .profile-stats[b-6pg0xbd9p3] {
        grid-template-columns: 1fr;
    }
}

/* Handoff: insignia de atención y panel de escalación/análisis. */
.status-human-requested[b-6pg0xbd9p3] {
    color: #8a4b00;
    background: #ffeecd;
}

.status-human[b-6pg0xbd9p3] {
    color: #27465e;
    background: #dcecf8;
}

.handoff-take[b-6pg0xbd9p3] {
    min-height: 34px;
    padding: 0 .8rem;
    color: #fff;
    background: #08714d;
    border: 1px solid #08714d;
    border-radius: var(--iwelia-radius);
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.handoff-take:disabled[b-6pg0xbd9p3],
.pending-button:disabled[b-6pg0xbd9p3] {
    opacity: .6;
}

.handoff-error[b-6pg0xbd9p3] {
    margin: .5rem 0 0;
    color: #9a1c1c;
    font-size: .85rem;
}

.handoff-panel h2[b-6pg0xbd9p3] {
    margin-bottom: .6rem;
}

.handoff-panel dl[b-6pg0xbd9p3] {
    display: grid;
    gap: .45rem;
    margin: 0;
    font-size: .88rem;
}

.handoff-panel dl div[b-6pg0xbd9p3] {
    display: grid;
    gap: .1rem;
}

.handoff-panel dt[b-6pg0xbd9p3] {
    color: var(--iwelia-muted);
    font-size: .76rem;
    font-weight: var(--iwelia-weight-semibold);
}

.handoff-panel dd[b-6pg0xbd9p3] {
    margin: 0;
}

.handoff-panel .handoff-separator[b-6pg0xbd9p3] {
    margin: .8rem 0;
    border: 0;
    border-top: 1px solid var(--iwelia-border);
}

/* Handoff: insignias también en la bandeja lateral del detalle. */
.attention-badge[b-6pg0xbd9p3] {
    display: inline-block;
    width: fit-content;
    padding: .15rem .5rem;
    margin-top: .3rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: var(--iwelia-weight-semibold);
}

.attention-pending[b-6pg0xbd9p3] {
    color: #8a4b00;
    background: #ffeecd;
}

.attention-human[b-6pg0xbd9p3] {
    color: #27465e;
    background: #dcecf8;
}

.item-copy .escalation-reason[b-6pg0xbd9p3] {
    color: #8a4b00;
    font-style: italic;
    white-space: normal;
}

/* SAE-049 (copiloto): suggested-reply draft panel, right above the composer. */
.suggested-reply[b-6pg0xbd9p3] {
    padding: .9rem 1rem;
    background: linear-gradient(135deg, #f6fdff, #fff);
    border: 1px solid rgba(34, 198, 214, .35);
    border-top: 1px solid var(--iwelia-border);
    border-radius: 0;
}

.suggested-reply-caution[b-6pg0xbd9p3] {
    background: linear-gradient(135deg, #fffaf0, #fff);
    border-color: rgba(216, 142, 0, .45);
}

.suggested-reply-header[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.suggested-reply-header h2[b-6pg0xbd9p3] {
    margin: 0;
    color: var(--iwelia-ink);
    font-size: .95rem;
    font-weight: var(--iwelia-weight-bold);
}

.suggested-reply-badge[b-6pg0xbd9p3] {
    padding: .25rem .6rem;
    color: var(--iwelia-teal);
    background: rgba(34, 198, 214, .12);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: var(--iwelia-weight-semibold);
    white-space: nowrap;
}

.suggested-reply-loading[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-top: .7rem;
    color: var(--iwelia-muted);
    font-size: .85rem;
    font-weight: var(--iwelia-weight-medium);
}

.suggested-reply-loading .spinner-border[b-6pg0xbd9p3] {
    width: 1.1rem;
    height: 1.1rem;
    border-width: .15rem;
}

.suggested-reply-note[b-6pg0xbd9p3] {
    margin: .7rem 0 0;
    color: var(--iwelia-muted);
    font-size: .85rem;
    line-height: 1.5;
}

.suggested-reply-warning[b-6pg0xbd9p3] {
    margin: .7rem 0 0;
    padding: .55rem .7rem;
    color: #7a4d00;
    background: #fff3d6;
    border: 1px solid rgba(216, 142, 0, .35);
    border-radius: var(--iwelia-radius);
    font-size: .83rem;
    font-weight: var(--iwelia-weight-medium);
    line-height: 1.45;
}

.suggested-reply-error[b-6pg0xbd9p3] {
    margin: .7rem 0 0;
    color: #9a1c1c;
    font-size: .85rem;
    font-weight: var(--iwelia-weight-medium);
    line-height: 1.5;
}

.suggested-reply-draft[b-6pg0xbd9p3] {
    margin: .7rem 0 0;
    padding: .75rem .85rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    font-size: .9rem;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.suggested-reply-sources[b-6pg0xbd9p3] {
    margin: .55rem 0 0;
    color: var(--iwelia-muted);
    font-size: .76rem;
}

.suggested-reply-actions[b-6pg0xbd9p3] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .8rem;
    flex-wrap: wrap;
}

.suggested-reply-primary[b-6pg0xbd9p3] {
    min-height: 38px;
    padding: 0 .9rem;
    color: #fff;
    background: var(--iwelia-blue);
    border: 0;
    border-radius: var(--iwelia-radius);
    font-size: .82rem;
    font-weight: var(--iwelia-weight-semibold);
}

.suggested-reply-ghost[b-6pg0xbd9p3] {
    min-height: 38px;
    padding: 0 .9rem;
    color: #27465e;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    font-size: .82rem;
    font-weight: var(--iwelia-weight-semibold);
}

.suggested-reply-dismiss[b-6pg0xbd9p3] {
    color: #9a1c1c;
}

.suggested-reply-primary:disabled[b-6pg0xbd9p3],
.suggested-reply-ghost:disabled[b-6pg0xbd9p3] {
    opacity: .55;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .suggested-reply-actions[b-6pg0xbd9p3] {
        flex-direction: column;
        align-items: stretch;
    }

    .suggested-reply-actions button[b-6pg0xbd9p3] {
        width: 100%;
    }
}
/* /Components/Pages/Conversations.razor.rz.scp.css */
.conversations-page[b-gsopklxu2f] {
    display: grid;
    gap: .55rem;
    background: #fff;
    min-height: 0;
}

.page-heading[b-gsopklxu2f],
.conversation-header[b-gsopklxu2f],
.customer-mini[b-gsopklxu2f],
.tabs[b-gsopklxu2f],
.composer-tabs[b-gsopklxu2f] {
    display: flex;
    align-items: center;
}

.page-heading[b-gsopklxu2f] {
    justify-content: flex-end;
    gap: 1rem;
    min-height: 40px;
}

.heading-tools[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
}

.tool-button[b-gsopklxu2f],
.new-button[b-gsopklxu2f] {
    min-height: 40px;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 10px 22px rgba(8, 35, 55, .05);
    font-weight: 680;
}

.tool-button[b-gsopklxu2f] {
    width: 40px;
    position: relative;
}

.tool-button[b-gsopklxu2f]::before,
.tool-button[b-gsopklxu2f]::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.tool-button.gift[b-gsopklxu2f]::before {
    width: 16px;
    height: 15px;
    inset: 12px;
    border: 2px solid var(--iwelia-ink);
    border-top-width: 5px;
    border-radius: 4px;
}

.tool-button.bell[b-gsopklxu2f]::before {
    width: 16px;
    height: 18px;
    inset: 10px 12px;
    border: 2px solid var(--iwelia-ink);
    border-radius: 10px 10px 7px 7px;
}

.tool-button.bell span[b-gsopklxu2f] {
    min-width: 17px;
    height: 17px;
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--iwelia-red);
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: .62rem;
}

.tool-button.filter[b-gsopklxu2f]::before {
    width: 18px;
    height: 18px;
    inset: 10px;
    background: currentColor;
    border: 0;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M4 7h5m4 0h7M4 17h11m4 0h1M9 4v6m6 4v6'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M4 7h5m4 0h7M4 17h11m4 0h1M9 4v6m6 4v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.new-button[b-gsopklxu2f] {
    padding: 0 1rem;
    color: #fff;
    background: linear-gradient(135deg, #062f48, #063e5d);
    border-color: transparent;
    box-shadow: 0 12px 22px rgba(8, 35, 55, .14);
    font-size: .82rem;
}

.new-button[b-gsopklxu2f]::before {
    content: "+";
    margin-right: .35rem;
}

.conversation-workspace[b-gsopklxu2f] {
    height: calc(100dvh - 116px);
    min-height: 560px;
    display: grid;
    grid-template-columns: 384px minmax(540px, 1fr) 372px;
    gap: .75rem;
    overflow: hidden;
}

.inbox-panel[b-gsopklxu2f],
.conversation-preview[b-gsopklxu2f],
.context-panel[b-gsopklxu2f] {
    min-width: 0;
    min-height: 0;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow-soft);
    overflow: hidden;
}

.inbox-panel[b-gsopklxu2f],
.context-panel[b-gsopklxu2f] {
    padding: .8rem;
}

.inbox-panel[b-gsopklxu2f] {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
}

.context-panel[b-gsopklxu2f] {
    overflow-y: auto;
}

.tabs[b-gsopklxu2f] {
    justify-content: space-between;
    gap: .2rem;
    margin-bottom: .9rem;
    border-bottom: 1px solid var(--iwelia-border);
}

.tabs button[b-gsopklxu2f],
.channel-filter button[b-gsopklxu2f],
.composer-tabs button[b-gsopklxu2f] {
    color: var(--iwelia-muted);
    background: transparent;
    border: 0;
    border-radius: var(--iwelia-radius);
    font-weight: 650;
}

.tabs button[b-gsopklxu2f] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    flex: 1 1 0;
    white-space: nowrap;
    min-width: 0;
    padding: .55rem .35rem .72rem;
    border-radius: 0;
    font-size: .78rem;
}

.tabs button.active[b-gsopklxu2f] {
    color: var(--iwelia-ink);
    background: transparent;
}

.tabs button.active[b-gsopklxu2f]::after {
    content: "";
    height: 3px;
    position: absolute;
    left: .55rem;
    right: .55rem;
    bottom: -1px;
    background: var(--iwelia-blue);
    border-radius: 999px;
}

.tabs span[b-gsopklxu2f] {
    margin-left: 0;
    min-width: 20px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    background: rgba(40, 120, 240, .09);
    border-radius: 999px;
    color: var(--iwelia-blue);
    font-size: .68rem;
    font-weight: var(--iwelia-weight-semibold);
}

.channel-filter[b-gsopklxu2f] {
    display: flex;
    gap: .58rem;
    margin: .85rem 0;
    overflow: visible;
}

.channel-filter button[b-gsopklxu2f] {
    width: 30px;
    height: 30px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 0;
    flex: 0 0 auto;
    color: var(--iwelia-muted);
    border: 0;
    border-radius: var(--iwelia-radius);
}

.channel-filter button.active[b-gsopklxu2f] {
    color: var(--iwelia-teal);
    background: rgba(34, 198, 214, .1);
    border: 1px solid rgba(34, 198, 214, .22);
}

.channel-filter button[b-gsopklxu2f]::before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    border-radius: 5px;
    background: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.channel-filter span[b-gsopklxu2f] {
    font-size: .75rem;
}

.channel-filter em[b-gsopklxu2f] {
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: var(--iwelia-teal);
    background: rgba(34, 198, 214, .12);
    border-radius: 999px;
    font-size: .68rem;
    font-style: normal;
    font-weight: var(--iwelia-weight-semibold);
}

.channel-filter .channel-all[b-gsopklxu2f] {
    width: auto;
    padding: 0 .55rem;
}

/* SAE-052: channel buttons show the real count next to the icon. */
.channel-filter button.channel-counted[b-gsopklxu2f] {
    width: auto;
    padding: 0 .5rem;
}

.channel-all[b-gsopklxu2f]::before {
    background:
        linear-gradient(var(--iwelia-teal) 0 0) 0 0 / 6px 6px no-repeat,
        linear-gradient(var(--iwelia-blue) 0 0) 10px 0 / 6px 6px no-repeat,
        linear-gradient(var(--iwelia-yellow) 0 0) 0 10px / 6px 6px no-repeat,
        linear-gradient(var(--iwelia-green) 0 0) 10px 10px / 6px 6px no-repeat;
}

.channel-whatsapp[b-gsopklxu2f]::before,
.channel-icon.whatsapp[b-gsopklxu2f] {
    background: var(--iwelia-green);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a9.6 9.6 0 0 0-8.4 14.3L2.5 21.5l5.4-1.1A9.6 9.6 0 1 0 12 2Zm0 2a7.6 7.6 0 0 1 6.4 11.7A7.6 7.6 0 0 1 8.2 18.4l-.4-.2-2.7.6.6-2.6-.3-.4A7.6 7.6 0 0 1 12 4Zm-3.1 4.2c-.2 0-.5.1-.7.4-.2.3-.8.8-.8 1.9s.8 2.2.9 2.4c.1.1 1.6 2.5 3.9 3.4 1.9.7 2.3.5 2.7.5.4 0 1.3-.5 1.5-1 .2-.5.2-.9.1-1-.1-.1-.2-.2-.5-.3l-1.6-.8c-.2-.1-.4-.1-.6.1l-.7.9c-.1.2-.3.2-.5.1-.3-.1-1-.4-1.8-1.1-.7-.6-1.1-1.4-1.3-1.6-.1-.2 0-.4.1-.5l.4-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5l-.8-1.8c-.2-.4-.4-.4-.6-.4Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a9.6 9.6 0 0 0-8.4 14.3L2.5 21.5l5.4-1.1A9.6 9.6 0 1 0 12 2Zm0 2a7.6 7.6 0 0 1 6.4 11.7A7.6 7.6 0 0 1 8.2 18.4l-.4-.2-2.7.6.6-2.6-.3-.4A7.6 7.6 0 0 1 12 4Zm-3.1 4.2c-.2 0-.5.1-.7.4-.2.3-.8.8-.8 1.9s.8 2.2.9 2.4c.1.1 1.6 2.5 3.9 3.4 1.9.7 2.3.5 2.7.5.4 0 1.3-.5 1.5-1 .2-.5.2-.9.1-1-.1-.1-.2-.2-.5-.3l-1.6-.8c-.2-.1-.4-.1-.6.1l-.7.9c-.1.2-.3.2-.5.1-.3-.1-1-.4-1.8-1.1-.7-.6-1.1-1.4-1.3-1.6-.1-.2 0-.4.1-.5l.4-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5l-.8-1.8c-.2-.4-.4-.4-.6-.4Z'/%3E%3C/svg%3E");
}

.channel-mail[b-gsopklxu2f]::before,
.channel-icon.mail[b-gsopklxu2f] {
    background: var(--iwelia-blue);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 5h18v14H3zm2 3.2V17h14V8.2l-7 5zM6.5 7l5.5 3.9L17.5 7z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 5h18v14H3zm2 3.2V17h14V8.2l-7 5zM6.5 7l5.5 3.9L17.5 7z'/%3E%3C/svg%3E");
}

.channel-instagram[b-gsopklxu2f]::before,
.channel-icon.instagram[b-gsopklxu2f] {
    background: var(--iwelia-violet);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.5-3.1a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.5-3.1a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2Z'/%3E%3C/svg%3E");
}

.channel-messenger[b-gsopklxu2f]::before,
.channel-icon.messenger[b-gsopklxu2f] {
    background: #0084ff;
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2C6.5 2 2 6.1 2 11.3c0 2.9 1.4 5.5 3.6 7.2-.1 1.1-.6 2.6-1.6 3.9 0 0 2.6.2 4.7-1.3.9.3 1.9.4 3.3.4 5.5 0 10-4.1 10-9.3S17.5 2 12 2Zm1.6 4.2-4.9 6.2h2.6l-.9 5 5-6.3h-2.6l.8-4.9Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2C6.5 2 2 6.1 2 11.3c0 2.9 1.4 5.5 3.6 7.2-.1 1.1-.6 2.6-1.6 3.9 0 0 2.6.2 4.7-1.3.9.3 1.9.4 3.3.4 5.5 0 10-4.1 10-9.3S17.5 2 12 2Zm1.6 4.2-4.9 6.2h2.6l-.9 5 5-6.3h-2.6l.8-4.9Z'/%3E%3C/svg%3E");
}

.channel-web[b-gsopklxu2f]::before,
.channel-icon.web[b-gsopklxu2f] {
    background: var(--iwelia-teal);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.5 9h-3.2a15 15 0 0 0-1.1-5 8 8 0 0 1 4.3 5ZM12 4.1c.7 1 1.6 3 1.9 6.9h-3.8c.3-3.9 1.2-5.9 1.9-6.9ZM4.5 13h3.2a15 15 0 0 0 1.1 5 8 8 0 0 1-4.3-5Zm3.2-2H4.5a8 8 0 0 1 4.3-5 15 15 0 0 0-1.1 5Zm4.3 8.9c-.7-1-1.6-3-1.9-6.9h3.8c-.3 3.9-1.2 5.9-1.9 6.9Zm3.2-1.9a15 15 0 0 0 1.1-5h3.2a8 8 0 0 1-4.3 5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.5 9h-3.2a15 15 0 0 0-1.1-5 8 8 0 0 1 4.3 5ZM12 4.1c.7 1 1.6 3 1.9 6.9h-3.8c.3-3.9 1.2-5.9 1.9-6.9ZM4.5 13h3.2a15 15 0 0 0 1.1 5 8 8 0 0 1-4.3-5Zm3.2-2H4.5a8 8 0 0 1 4.3-5 15 15 0 0 0-1.1 5Zm4.3 8.9c-.7-1-1.6-3-1.9-6.9h3.8c-.3 3.9-1.2 5.9-1.9 6.9Zm3.2-1.9a15 15 0 0 0 1.1-5h3.2a8 8 0 0 1-4.3 5Z'/%3E%3C/svg%3E");
}

.channel-phone[b-gsopklxu2f]::before {
    background: var(--iwelia-orange);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.4a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.2 1z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.4a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.2 1z'/%3E%3C/svg%3E");
}

/* SAE-052: Manual channel (a conversation started by hand in the panel). */
.channel-manual[b-gsopklxu2f]::before,
.channel-icon.manual[b-gsopklxu2f] {
    background: var(--iwelia-muted);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E");
}

.channel-more[b-gsopklxu2f]::before {
    background: var(--iwelia-muted);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 6h16v2H4zm3 5h10v2H7zm3 5h4v2h-4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 6h16v2H4zm3 5h10v2H7zm3 5h4v2h-4z'/%3E%3C/svg%3E");
}

.channel-icon.phone[b-gsopklxu2f] {
    background: var(--iwelia-orange);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.4a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.2 1z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.4a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.2 1z'/%3E%3C/svg%3E");
}

.channel-more[b-gsopklxu2f] {
    color: var(--iwelia-muted);
    font-weight: 900;
}

.conversation-list[b-gsopklxu2f] {
    display: grid;
    align-content: start;
    gap: .35rem;
    min-height: 0;
    overflow-y: auto;
    padding-right: .15rem;
}

.conversation-item[b-gsopklxu2f] {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: .65rem;
    width: 100%;
    padding: .7rem;
    color: inherit;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--iwelia-radius);
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    text-align: left;
}

.conversation-item:hover[b-gsopklxu2f],
.conversation-item.selected[b-gsopklxu2f] {
    background: linear-gradient(135deg, rgba(40, 120, 240, .1), rgba(255, 255, 255, 1));
    border-color: rgba(40, 120, 240, .22);
}

.avatar[b-gsopklxu2f],
.customer-mini > span[b-gsopklxu2f] {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #062f3f, #078fa0);
    border-radius: 50%;
    font-weight: var(--iwelia-weight-semibold);
    font-size: .82rem;
}

.photo-avatar[b-gsopklxu2f] {
    background-color: transparent;
    background-size: cover;
    background-position: center;
    color: transparent;
    object-fit: cover;
}

.photo-one[b-gsopklxu2f] {
    background-image: url("/demo/avatar-male-1.png") !important;
}

.photo-two[b-gsopklxu2f] {
    background-image: url("/demo/avatar-female-1.png") !important;
}

.photo-three[b-gsopklxu2f] {
    background-image: url("/demo/avatar-male-2.png") !important;
}

.photo-four[b-gsopklxu2f] {
    background-image: url("/demo/avatar-female-2.png") !important;
}

.item-copy[b-gsopklxu2f] {
    min-width: 0;
}

.item-copy strong[b-gsopklxu2f],
.item-copy small[b-gsopklxu2f],
.item-meta time[b-gsopklxu2f],
.item-meta em[b-gsopklxu2f] {
    display: block;
}

.item-copy small[b-gsopklxu2f] {
    overflow: hidden;
    color: var(--iwelia-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-line[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin: .18rem 0;
    color: var(--iwelia-muted);
    font-size: .74rem;
    font-weight: 580;
}

.channel-icon[b-gsopklxu2f],
.channel-dot[b-gsopklxu2f] {
    width: 15px;
    height: 15px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 0;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.item-meta[b-gsopklxu2f] {
    display: grid;
    justify-items: end;
    gap: .3rem;
}

.item-meta time[b-gsopklxu2f] {
    color: var(--iwelia-muted);
    font-size: .75rem;
}

.item-meta em[b-gsopklxu2f] {
    min-width: 20px;
    height: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--iwelia-blue);
    border-radius: 6px;
    font-size: .68rem;
    font-style: normal;
    font-weight: var(--iwelia-weight-semibold);
}

.conversation-preview[b-gsopklxu2f] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.conversation-header[b-gsopklxu2f] {
    display: block;
    padding: 0;
    border-bottom: 1px solid var(--iwelia-border);
}

.conversation-header-main[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem .75rem;
}

.conversation-header-meta[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: .58rem 1rem;
    color: var(--iwelia-muted);
    border-top: 1px solid var(--iwelia-border);
    font-size: .76rem;
    font-weight: var(--iwelia-weight-medium);
}

.conversation-header-meta a[b-gsopklxu2f] {
    margin-left: auto;
    color: var(--iwelia-teal);
    font-weight: var(--iwelia-weight-semibold);
    text-decoration: none;
}

.conversation-header-meta a[b-gsopklxu2f]::after {
    content: ">";
    margin-left: .45rem;
}

.customer-mini[b-gsopklxu2f] {
    gap: .7rem;
    min-width: 0;
}

.customer-copy[b-gsopklxu2f] {
    min-width: 140px;
}

.customer-mini small[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    gap: .32rem;
    color: var(--iwelia-muted);
}

.identity-grid[b-gsopklxu2f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: .55rem;
    min-width: min(440px, 52vw);
}

.identity-chip[b-gsopklxu2f] {
    display: grid;
    gap: .12rem;
    min-width: 0;
    padding: .45rem .6rem;
    background: #f8fbfd;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.identity-chip em[b-gsopklxu2f],
.identity-chip strong[b-gsopklxu2f] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.identity-chip em[b-gsopklxu2f] {
    color: var(--iwelia-muted);
    font-size: .66rem;
    font-style: normal;
    font-weight: var(--iwelia-weight-semibold);
    text-transform: uppercase;
}

.identity-chip strong[b-gsopklxu2f] {
    color: var(--iwelia-ink);
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.conversation-actions[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.action-icon[b-gsopklxu2f] {
    width: 34px;
    height: 34px;
    position: relative;
    color: #345169;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.action-icon[b-gsopklxu2f]::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    width: 17px;
    height: 17px;
    inset: 8px;
    background: currentColor;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.action-icon.more[b-gsopklxu2f]::before {
    width: 4px;
    height: 4px;
    inset: 15px;
    background: var(--iwelia-muted);
    border-radius: 50%;
    box-shadow: -7px 0 0 var(--iwelia-muted), 7px 0 0 var(--iwelia-muted);
}

.action-icon.assign[b-gsopklxu2f]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8m10-3v6m3-3h-6'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8m10-3v6m3-3h-6'/%3E%3C/svg%3E");
}

.action-icon.tag[b-gsopklxu2f]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20.6 13.1 13.1 20.6a2 2 0 0 1-2.8 0L3 13.3V3h10.3l7.3 7.3a2 2 0 0 1 0 2.8ZM7.5 7.5h.01'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20.6 13.1 13.1 20.6a2 2 0 0 1-2.8 0L3 13.3V3h10.3l7.3 7.3a2 2 0 0 1 0 2.8ZM7.5 7.5h.01'/%3E%3C/svg%3E");
}

.action-icon.clock[b-gsopklxu2f]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 8v5l3 2m7-3a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 8v5l3 2m7-3a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z'/%3E%3C/svg%3E");
}

.pending-button[b-gsopklxu2f] {
    min-height: 34px;
    padding: 0 .8rem;
    color: #27465e;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.message-canvas[b-gsopklxu2f] {
    display: grid;
    align-content: start;
    gap: .8rem;
    min-height: 0;
    overflow-y: auto;
    padding: 1.1rem;
    background: #fbfdfe;
}

.message[b-gsopklxu2f] {
    max-width: min(72%, 560px);
    padding: .9rem 1rem;
    border: 1px solid var(--iwelia-border);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(8, 35, 55, .04);
}

.message p[b-gsopklxu2f] {
    margin: 0;
}

.message-attachment[b-gsopklxu2f] {
    margin-top: .65rem;
}

.message-attachment img[b-gsopklxu2f],
.message-attachment video[b-gsopklxu2f] {
    display: block;
    width: min(100%, 360px);
    max-height: 280px;
    object-fit: contain;
    background: #eef5f8;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.message-attachment audio[b-gsopklxu2f] {
    width: min(100%, 320px);
}

.message-attachment a[b-gsopklxu2f] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: .5rem .65rem;
    color: var(--iwelia-blue);
    background: #f4f8fb;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    font-size: .82rem;
    font-weight: var(--iwelia-weight-semibold);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.message time[b-gsopklxu2f] {
    display: block;
    margin-top: .45rem;
    color: var(--iwelia-muted);
    font-size: .74rem;
    text-align: right;
}

.message.incoming[b-gsopklxu2f] {
    background: #fff;
    border-bottom-left-radius: 6px;
}

.message.unread[b-gsopklxu2f] {
    border-color: rgba(40, 120, 240, .36);
    box-shadow: 0 10px 24px rgba(40, 120, 240, .09);
}

.message.unread[b-gsopklxu2f]::before {
    content: "Nuevo";
    display: block;
    margin-bottom: .35rem;
    color: var(--iwelia-blue);
    font-size: .68rem;
    font-weight: var(--iwelia-weight-semibold);
    text-transform: uppercase;
}

.message.outgoing[b-gsopklxu2f] {
    justify-self: end;
    background: #e8faee;
    border-color: #d2f2dc;
    border-bottom-right-radius: 6px;
}

.next-action span[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--iwelia-teal);
    font-weight: var(--iwelia-weight-semibold);
}

.next-action p[b-gsopklxu2f] {
    color: var(--iwelia-muted);
}

.next-action button[b-gsopklxu2f],
.composer-box button[b-gsopklxu2f] {
    min-height: 38px;
    padding: 0 .85rem;
    color: #fff;
    background: var(--iwelia-blue);
    border: 0;
    border-radius: var(--iwelia-radius);
    font-weight: var(--iwelia-weight-semibold);
}

.composer[b-gsopklxu2f] {
    padding: .85rem 1rem 1rem;
    background: #fff;
    border-top: 1px solid var(--iwelia-border);
}

.composer-tabs[b-gsopklxu2f] {
    gap: .4rem;
    margin-bottom: .6rem;
}

.composer-tabs button[b-gsopklxu2f] {
    padding: .45rem .65rem;
}

.composer-tabs button.active[b-gsopklxu2f] {
    color: var(--iwelia-teal);
    background: rgba(34, 198, 214, .12);
}

.composer-tools[b-gsopklxu2f] {
    display: flex;
    gap: .35rem;
    margin-bottom: .55rem;
    overflow-x: auto;
}

.composer-tools button[b-gsopklxu2f] {
    min-height: 30px;
    padding: 0 .55rem;
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
    border: 1px solid var(--iwelia-border);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: var(--iwelia-weight-semibold);
    white-space: nowrap;
}

.composer-file-button[b-gsopklxu2f] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .55rem;
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
    border: 1px solid var(--iwelia-border);
    border-radius: 999px;
    cursor: pointer;
    font-size: .76rem;
    font-weight: var(--iwelia-weight-semibold);
    white-space: nowrap;
}

.composer-file-button input[b-gsopklxu2f] {
    display: none;
}

.selected-attachment[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: -.2rem 0 .55rem;
    padding: .45rem .6rem;
    color: var(--iwelia-ink);
    background: #f4f8fb;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    font-size: .78rem;
}

.selected-attachment span[b-gsopklxu2f] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-attachment button[b-gsopklxu2f] {
    flex: 0 0 auto;
    color: var(--iwelia-red);
    background: transparent;
    border: 0;
    font-weight: var(--iwelia-weight-semibold);
}

.composer-box[b-gsopklxu2f] {
    min-height: 82px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem;
    color: var(--iwelia-muted);
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.composer-box textarea[b-gsopklxu2f] {
    width: 100%;
    min-height: 56px;
    max-height: 120px;
    resize: vertical;
    color: var(--iwelia-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
}

.composer-box button[b-gsopklxu2f] {
    align-self: end;
}

.composer-box button:disabled[b-gsopklxu2f] {
    opacity: .55;
    cursor: not-allowed;
}

.composer-error[b-gsopklxu2f] {
    margin: .5rem 0 0;
    color: var(--iwelia-red);
    font-size: .8rem;
    font-weight: var(--iwelia-weight-medium);
}

.profile-card[b-gsopklxu2f],
.insight-card[b-gsopklxu2f],
.next-action[b-gsopklxu2f] {
    padding: .9rem;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.profile-contact[b-gsopklxu2f] {
    display: grid;
    gap: .38rem;
    margin-top: .9rem;
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.profile-contact span[b-gsopklxu2f] {
    display: grid;
    grid-template-columns: 16px 1fr;
    align-items: center;
    gap: .45rem;
}

.profile-contact span[b-gsopklxu2f]::before {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--iwelia-muted);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.contact-phone[b-gsopklxu2f]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.4a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.2 1z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.4a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .6 3.6 1 1 0 0 1-.2 1z'/%3E%3C/svg%3E");
}

.contact-whatsapp-id[b-gsopklxu2f]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a9.6 9.6 0 0 0-8.4 14.3L2.5 21.5l5.4-1.1A9.6 9.6 0 1 0 12 2Zm0 2a7.6 7.6 0 0 1 6.4 11.7A7.6 7.6 0 0 1 8.2 18.4l-.4-.2-2.7.6.6-2.6-.3-.4A7.6 7.6 0 0 1 12 4Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a9.6 9.6 0 0 0-8.4 14.3L2.5 21.5l5.4-1.1A9.6 9.6 0 1 0 12 2Zm0 2a7.6 7.6 0 0 1 6.4 11.7A7.6 7.6 0 0 1 8.2 18.4l-.4-.2-2.7.6.6-2.6-.3-.4A7.6 7.6 0 0 1 12 4Z'/%3E%3C/svg%3E");
}

/* SAE-052: channel line in the profile card (Web / Instagram / Manual). */
.contact-channel[b-gsopklxu2f]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.5 9h-3.2a15 15 0 0 0-1.1-5 8 8 0 0 1 4.3 5ZM12 4.1c.7 1 1.6 3 1.9 6.9h-3.8c.3-3.9 1.2-5.9 1.9-6.9ZM4.5 13h3.2a15 15 0 0 0 1.1 5 8 8 0 0 1-4.3-5Zm3.2-2H4.5a8 8 0 0 1 4.3-5 15 15 0 0 0-1.1 5Zm4.3 8.9c-.7-1-1.6-3-1.9-6.9h3.8c-.3 3.9-1.2 5.9-1.9 6.9Zm3.2-1.9a15 15 0 0 0 1.1-5h3.2a8 8 0 0 1-4.3 5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.5 9h-3.2a15 15 0 0 0-1.1-5 8 8 0 0 1 4.3 5ZM12 4.1c.7 1 1.6 3 1.9 6.9h-3.8c.3-3.9 1.2-5.9 1.9-6.9ZM4.5 13h3.2a15 15 0 0 0 1.1 5 8 8 0 0 1-4.3-5Zm3.2-2H4.5a8 8 0 0 1 4.3-5 15 15 0 0 0-1.1 5Zm4.3 8.9c-.7-1-1.6-3-1.9-6.9h3.8c-.3 3.9-1.2 5.9-1.9 6.9Zm3.2-1.9a15 15 0 0 0 1.1-5h3.2a8 8 0 0 1-4.3 5Z'/%3E%3C/svg%3E");
}

.contact-email[b-gsopklxu2f]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 5h18v14H3zm2 3.2V17h14V8.2l-7 5zM6.5 7l5.5 3.9L17.5 7z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 5h18v14H3zm2 3.2V17h14V8.2l-7 5zM6.5 7l5.5 3.9L17.5 7z'/%3E%3C/svg%3E");
}

.contact-location[b-gsopklxu2f]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E");
}

.contact-since[b-gsopklxu2f]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E");
}

.profile-card dl[b-gsopklxu2f],
.profile-metrics[b-gsopklxu2f] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 1rem 0 0;
    padding-top: .8rem;
    border-top: 1px solid var(--iwelia-border);
    text-align: center;
}

.profile-card dt[b-gsopklxu2f] {
    color: var(--iwelia-muted);
    font-size: .72rem;
}

.profile-card dd[b-gsopklxu2f] {
    margin: 0 0 .1rem;
    font-weight: var(--iwelia-weight-bold);
}

.insight-card[b-gsopklxu2f],
.next-action[b-gsopklxu2f],
.tag-list[b-gsopklxu2f] {
    margin-top: .75rem;
}

.insight-card h2[b-gsopklxu2f] {
    margin: 0 0 .5rem;
    font-size: .86rem;
    font-weight: var(--iwelia-weight-semibold);
}

.insight-card > strong[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--iwelia-green);
}

.status-card strong i[b-gsopklxu2f],
.mood-card strong i[b-gsopklxu2f] {
    width: 13px;
    height: 13px;
    display: inline-block;
    background: var(--iwelia-green);
    border-radius: 50%;
}

.mood-card strong i[b-gsopklxu2f] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20ZM8 9.5a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Zm8 0a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Zm-8.1 4.2a4.8 4.8 0 0 0 8.2 0l-1.6-.9a3 3 0 0 1-5 0z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20ZM8 9.5a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Zm8 0a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Zm-8.1 4.2a4.8 4.8 0 0 0 8.2 0l-1.6-.9a3 3 0 0 1-5 0z'/%3E%3C/svg%3E");
}

.insight-card > span[b-gsopklxu2f] {
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.channel-row[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: .15rem 0 0;
    border-top: 0;
}

.channel-row span[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    gap: .42rem;
}

.mini-timeline[b-gsopklxu2f] {
    display: grid;
    gap: .42rem;
    margin: 0;
    padding: 0;
    color: var(--iwelia-muted);
    font-size: .74rem;
    list-style: none;
}

.mini-timeline li[b-gsopklxu2f] {
    display: grid;
    grid-template-columns: 70px 1fr 16px;
    align-items: center;
    gap: .4rem;
}

.tag-list[b-gsopklxu2f] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.tag-list span[b-gsopklxu2f],
.tag-list button[b-gsopklxu2f] {
    min-height: 28px;
    padding: 0 .55rem;
    color: #355066;
    background: #f4f7fa;
    border: 1px solid var(--iwelia-border);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: var(--iwelia-weight-semibold);
}

.tag-list button[b-gsopklxu2f] {
    color: var(--iwelia-blue);
    background: #fff;
}

.page-state[b-gsopklxu2f] {
    min-height: calc(100vh - 128px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.empty-state[b-gsopklxu2f] {
    color: var(--iwelia-muted);
    border-style: dashed;
}

@media (max-width: 1420px) {
    .conversation-workspace[b-gsopklxu2f] {
        height: auto;
        min-height: calc(100dvh - 116px);
        overflow: visible;
        grid-template-columns: 330px minmax(460px, 1fr);
    }

    .context-panel[b-gsopklxu2f] {
        grid-column: 1 / -1;
    }

    .identity-grid[b-gsopklxu2f] {
        min-width: min(390px, 46vw);
    }
}

@media (max-width: 900px) {
    .page-heading[b-gsopklxu2f] {
        align-items: flex-start;
        flex-direction: column;
    }

    .conversation-workspace[b-gsopklxu2f] {
        grid-template-columns: 1fr;
    }

    .conversation-preview[b-gsopklxu2f] {
        min-height: calc(100dvh - 116px);
    }

    .conversation-header-main[b-gsopklxu2f] {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-mini[b-gsopklxu2f] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .identity-grid[b-gsopklxu2f] {
        width: 100%;
        min-width: 0;
    }

    .message[b-gsopklxu2f] {
        max-width: 100%;
    }
}

/* Handoff: filtro "Pendientes de humano" e insignias de atención. */
.handoff-filter[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    padding: .45rem .2rem .65rem;
    border-bottom: 1px solid var(--iwelia-border);
    margin-bottom: .6rem;
}

.handoff-filter label[b-gsopklxu2f] {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--iwelia-ink);
    font-size: .85rem;
    font-weight: var(--iwelia-weight-semibold);
    cursor: pointer;
}

.attention-badge[b-gsopklxu2f] {
    display: inline-block;
    width: fit-content;
    padding: .15rem .5rem;
    margin-top: .3rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: var(--iwelia-weight-semibold);
}

.attention-pending[b-gsopklxu2f] {
    color: #8a4b00;
    background: #ffeecd;
}

.attention-human[b-gsopklxu2f] {
    color: #27465e;
    background: #dcecf8;
}

.item-copy .escalation-reason[b-gsopklxu2f] {
    color: #8a4b00;
    font-style: italic;
    white-space: normal;
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
.dashboard-page[b-gioua0hyq4] {
    display: grid;
    gap: 1rem;
}

.dashboard-header[b-gioua0hyq4],
.dashboard-actions[b-gioua0hyq4],
.panel-heading[b-gioua0hyq4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-header[b-gioua0hyq4] {
    min-height: 48px;
    justify-content: flex-end;
}

.dashboard-actions[b-gioua0hyq4] {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ghost-button[b-gioua0hyq4],
.primary-button[b-gioua0hyq4] {
    min-height: 40px;
    padding: 0 .95rem;
    border-radius: var(--iwelia-radius);
    font-size: .84rem;
    font-weight: 650;
    white-space: nowrap;
}

.ghost-button[b-gioua0hyq4] {
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
}

.primary-button[b-gioua0hyq4] {
    color: #fff;
    background: linear-gradient(135deg, #062c45, #075b82);
    border: 0;
    box-shadow: 0 12px 22px rgba(8, 35, 55, .14);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.filter-select[b-gioua0hyq4] {
    cursor: pointer;
}

.automation-button[b-gioua0hyq4]::before {
    content: "+";
    margin-right: .5rem;
    font-weight: 900;
}

.updated-label[b-gioua0hyq4] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--iwelia-muted);
    font-size: .86rem;
}

.updated-label i[b-gioua0hyq4] {
    width: 15px;
    height: 15px;
    display: inline-block;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.updated-label i[b-gioua0hyq4]::after {
    content: "";
    width: 5px;
    height: 5px;
    display: block;
    margin: -2px 0 0 -2px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(-45deg);
}

.metric-grid[b-gioua0hyq4] {
    display: grid;
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    gap: .85rem;
}

.metric-card[b-gioua0hyq4],
.panel[b-gioua0hyq4] {
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 14px 35px rgba(8, 35, 55, .045);
}

.metric-card[b-gioua0hyq4] {
    min-height: 126px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 54px;
    gap: .7rem;
    overflow: hidden;
    padding: 1.05rem 1.15rem;
}

.metric-card span[b-gioua0hyq4] {
    display: block;
    color: #61758a;
    font-size: .86rem;
    font-weight: 560;
}

.metric-card strong[b-gioua0hyq4] {
    display: block;
    margin: .35rem 0;
    color: var(--iwelia-ink);
    font-size: 1.85rem;
    line-height: 1;
}

.metric-card small[b-gioua0hyq4] {
    color: var(--iwelia-muted);
    font-size: .76rem;
}

.metric-card em[b-gioua0hyq4] {
    margin-right: .28rem;
    font-style: normal;
    font-weight: var(--iwelia-weight-semibold);
}

.metric-icon[b-gioua0hyq4] {
    width: 46px;
    height: 46px;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    justify-self: end;
    color: #fff;
    background: linear-gradient(135deg, #078fa0, #06b6c8);
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(7, 143, 160, .24);
}

.metric-icon.star[b-gioua0hyq4] {
    background: linear-gradient(135deg, #f5c84b, #f59e0b);
}

.metric-icon.bot[b-gioua0hyq4] {
    background: linear-gradient(135deg, #078fa0, #0c6f7f);
}

.metric-icon.alert[b-gioua0hyq4] {
    background: linear-gradient(135deg, #e14d4d, #b93232);
}

.metric-icon.people[b-gioua0hyq4] {
    background: linear-gradient(135deg, #72bdf7, #3b82f6);
}

.metric-icon[b-gioua0hyq4]::before,
.metric-icon[b-gioua0hyq4]::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.metric-icon[b-gioua0hyq4]::before {
    width: 21px;
    height: 21px;
    background: currentColor;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.metric-icon[b-gioua0hyq4]::after {
    display: none !important;
}

.metric-icon.chat[b-gioua0hyq4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
}

.metric-icon.timer[b-gioua0hyq4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 8v5l3 2M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 8v5l3 2M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z'/%3E%3C/svg%3E");
}

.metric-icon.contact[b-gioua0hyq4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2m7-10a4 4 0 1 0 0-8 4 4 0 0 0 0 8m13 2 2 2 4-4'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2m7-10a4 4 0 1 0 0-8 4 4 0 0 0 0 8m13 2 2 2 4-4'/%3E%3C/svg%3E");
}

.metric-icon.people[b-gioua0hyq4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2m7-10a4 4 0 1 0 0-8 4 4 0 0 0 0 8m13 8v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2m7-10a4 4 0 1 0 0-8 4 4 0 0 0 0 8m13 8v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.metric-icon.alert[b-gioua0hyq4]::before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0ZM12 9v4m0 4h.01'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0ZM12 9v4m0 4h.01'/%3E%3C/svg%3E");
}

.trend-up[b-gioua0hyq4] {
    color: var(--iwelia-green) !important;
}

.trend-down[b-gioua0hyq4],
.danger-time[b-gioua0hyq4] {
    color: var(--iwelia-red) !important;
}

.dashboard-grid[b-gioua0hyq4] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .68fr) minmax(330px, .86fr);
    gap: .85rem;
}

.panel[b-gioua0hyq4] {
    min-width: 0;
    padding: 1rem 1.1rem;
}

.activity-panel[b-gioua0hyq4],
.mood-panel[b-gioua0hyq4],
.cases-panel[b-gioua0hyq4],
.open-panel[b-gioua0hyq4],
.ai-cost-panel[b-gioua0hyq4] {
    grid-column: span 2;
}

.panel-heading h2[b-gioua0hyq4] {
    margin: 0;
    color: var(--iwelia-ink);
    font-size: 1rem;
    font-weight: var(--iwelia-weight-semibold);
}

.panel-heading h2 span[b-gioua0hyq4] {
    margin-left: .2rem;
    color: var(--iwelia-muted);
    font-size: .82rem;
    font-weight: 650;
}

.period-label[b-gioua0hyq4] {
    color: var(--iwelia-muted);
    font-size: .78rem;
    font-weight: 650;
}

.panel-note[b-gioua0hyq4] {
    margin: .8rem 0 0;
    color: var(--iwelia-muted);
    font-size: .78rem;
}

.empty-state[b-gioua0hyq4] {
    margin: 1rem 0;
    padding: 1.2rem 1rem;
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
    border: 1px dashed var(--iwelia-border-strong);
    border-radius: var(--iwelia-radius);
    font-size: .86rem;
    text-align: center;
}

.chart-legend[b-gioua0hyq4] {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    margin-top: .4rem;
    color: var(--iwelia-muted);
    font-size: .78rem;
}

.legend-dot[b-gioua0hyq4] {
    width: 18px;
    height: 3px;
    align-self: center;
    border-radius: 999px;
    background: var(--iwelia-ink-2);
}

.legend-dot.ai[b-gioua0hyq4] {
    background: var(--iwelia-teal);
}

.legend-dot.human[b-gioua0hyq4] {
    background: #66b5ff;
}

.legend-dot.positive[b-gioua0hyq4] {
    background: var(--iwelia-green);
}

.legend-dot.neutral[b-gioua0hyq4] {
    background: var(--iwelia-yellow);
}

.legend-dot.negative[b-gioua0hyq4] {
    background: var(--iwelia-red);
}

/* CSS bar charts (no chart library): one column per day. */
.bar-chart[b-gioua0hyq4] {
    display: flex;
    align-items: stretch;
    gap: 3px;
    min-height: 190px;
    margin-top: .9rem;
    overflow-x: auto;
    padding-bottom: .2rem;
}

.bar-col[b-gioua0hyq4] {
    flex: 1 0 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    min-width: 0;
}

.bar-value[b-gioua0hyq4] {
    color: var(--iwelia-muted);
    font-size: .68rem;
    font-weight: var(--iwelia-weight-bold);
    white-space: nowrap;
}

.bar-track[b-gioua0hyq4] {
    width: 100%;
    max-width: 34px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    background: var(--iwelia-soft);
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.bar-fill[b-gioua0hyq4] {
    width: 100%;
    background: linear-gradient(180deg, var(--iwelia-cyan), var(--iwelia-teal));
    border-radius: 4px 4px 0 0;
}

.bar-track.stacked[b-gioua0hyq4] {
    flex-direction: column-reverse;
}

.bar-seg[b-gioua0hyq4] {
    width: 100%;
}

.bar-seg.positive[b-gioua0hyq4] {
    background: var(--iwelia-green);
}

.bar-seg.neutral[b-gioua0hyq4] {
    background: var(--iwelia-yellow);
}

.bar-seg.negative[b-gioua0hyq4] {
    background: var(--iwelia-red);
}

.bar-label[b-gioua0hyq4] {
    color: var(--iwelia-muted);
    font-size: .68rem;
    white-space: nowrap;
}

.metric-list[b-gioua0hyq4],
.sentiment-list[b-gioua0hyq4],
.channel-bars[b-gioua0hyq4] {
    display: grid;
    gap: .7rem;
    margin: 0;
}

.metric-list div[b-gioua0hyq4],
.sentiment-list div[b-gioua0hyq4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .7rem;
    border-top: 1px solid var(--iwelia-border);
}

.metric-list div:first-child[b-gioua0hyq4],
.sentiment-list div:first-child[b-gioua0hyq4] {
    border-top: 0;
    padding-top: 0;
}

.metric-list dd[b-gioua0hyq4],
.sentiment-list dd[b-gioua0hyq4] {
    margin: 0;
    font-weight: var(--iwelia-weight-bold);
}

.metric-list dt[b-gioua0hyq4],
.sentiment-list dt[b-gioua0hyq4] {
    color: var(--iwelia-muted);
}

.panel-link[b-gioua0hyq4] {
    color: #07798a;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
    text-decoration: none;
    justify-self: center;
    padding: .42rem .82rem;
}

table[b-gioua0hyq4] {
    width: 100%;
    border-collapse: collapse;
    margin-top: .8rem;
}

th[b-gioua0hyq4],
td[b-gioua0hyq4] {
    padding: .8rem .6rem;
    border-top: 1px solid var(--iwelia-border);
    text-align: left;
    vertical-align: middle;
}

th[b-gioua0hyq4] {
    color: var(--iwelia-muted);
    font-size: .73rem;
    font-weight: var(--iwelia-weight-bold);
}

td:first-child[b-gioua0hyq4] {
    display: flex;
    align-items: center;
    gap: .65rem;
}

td strong[b-gioua0hyq4],
td small[b-gioua0hyq4] {
    display: block;
}

td small[b-gioua0hyq4] {
    max-width: 270px;
    color: var(--iwelia-muted);
    font-size: .72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

td.need-cell[b-gioua0hyq4] {
    max-width: 220px;
    font-size: .84rem;
}

.avatar[b-gioua0hyq4] {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: #06334a;
    border-radius: 50%;
    font-size: .76rem;
    font-weight: var(--iwelia-weight-bold);
}

.channel[b-gioua0hyq4] {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    border-radius: 6px;
}

.channel[b-gioua0hyq4]::before {
    content: "";
    box-sizing: border-box;
}

.channel.wa[b-gioua0hyq4] {
    background: #19c46b;
}

.channel.mail[b-gioua0hyq4] {
    background: #3478f6;
}

.channel.mail[b-gioua0hyq4]::before {
    width: 13px;
    height: 9px;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.channel.ig[b-gioua0hyq4] {
    background: linear-gradient(135deg, #f97316, #bc2bdc);
}

.channel.web[b-gioua0hyq4] {
    background: #09a3b5;
}

.channel.web[b-gioua0hyq4]::before {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.channel.wa[b-gioua0hyq4]::before {
    width: 13px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 7px;
}

.channel.ig[b-gioua0hyq4]::before {
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.waiting-time[b-gioua0hyq4] {
    color: var(--iwelia-orange);
    font-weight: var(--iwelia-weight-bold);
}

.success-time[b-gioua0hyq4] {
    color: var(--iwelia-green);
    font-weight: var(--iwelia-weight-bold);
}

.status[b-gioua0hyq4] {
    display: inline-block;
    padding: .25rem .55rem;
    border-radius: 7px;
    font-size: .75rem;
    font-weight: var(--iwelia-weight-bold);
}

.status.waiting[b-gioua0hyq4] {
    color: #a36500;
    background: #fff1d2;
}

.status.risk[b-gioua0hyq4] {
    color: #b93232;
    background: #ffe5e5;
}

.status.active[b-gioua0hyq4] {
    color: #08714d;
    background: #dcf8ec;
}

.count-pill[b-gioua0hyq4] {
    margin-left: .45rem;
    padding: .22rem .55rem;
    color: var(--iwelia-teal);
    background: rgba(34, 198, 214, .12);
    border-radius: 999px;
    font-size: .78rem;
}

.sentiment-row[b-gioua0hyq4] {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: .9rem;
    align-items: center;
    margin-top: .8rem;
}

.donut-score[b-gioua0hyq4] {
    width: 116px;
    height: 116px;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
}

.donut-score strong[b-gioua0hyq4] {
    font-size: 1.6rem;
    line-height: 1;
}

.donut-score span[b-gioua0hyq4] {
    color: var(--iwelia-green);
    font-size: .78rem;
    font-weight: var(--iwelia-weight-bold);
}

.sentiment-list i[b-gioua0hyq4] {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-right: .5rem;
    border-radius: 50%;
}

.sentiment-list .positive[b-gioua0hyq4] {
    background: var(--iwelia-green);
}

.sentiment-list .neutral[b-gioua0hyq4] {
    background: var(--iwelia-yellow);
}

.sentiment-list .negative[b-gioua0hyq4] {
    background: var(--iwelia-red);
}

.sentiment-list dd span[b-gioua0hyq4] {
    color: var(--iwelia-muted);
    font-weight: 650;
}

.channel-bars div[b-gioua0hyq4] {
    display: grid;
    grid-template-columns: 142px 1fr;
    gap: .75rem;
    align-items: center;
}

.channel-bars dt[b-gioua0hyq4] {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.channel-bars dd[b-gioua0hyq4] {
    display: grid;
    grid-template-columns: minmax(70px, 1fr) 48px 54px;
    gap: .55rem;
    align-items: center;
    margin: 0;
}

.channel-bars dd i[b-gioua0hyq4] {
    height: 10px;
    background: linear-gradient(90deg, var(--iwelia-teal), var(--iwelia-cyan));
    border-radius: 999px;
}

.channel-bars strong[b-gioua0hyq4] {
    font-size: .82rem;
}

.channel-bars em[b-gioua0hyq4] {
    color: var(--iwelia-green);
    font-size: .74rem;
    font-style: normal;
    font-weight: var(--iwelia-weight-bold);
}

.channel-bars em.down[b-gioua0hyq4] {
    color: var(--iwelia-red);
}

.need-bars div[b-gioua0hyq4] {
    grid-template-columns: minmax(120px, 1.1fr) 1fr;
}

.need-bars dt[b-gioua0hyq4] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .84rem;
}

.need-bars dd[b-gioua0hyq4] {
    grid-template-columns: minmax(70px, 1fr) 32px 110px;
}

.need-bars dd em[b-gioua0hyq4] {
    color: var(--iwelia-muted);
    font-weight: 650;
    text-align: right;
}

.unmet-list[b-gioua0hyq4],
.opportunity-list[b-gioua0hyq4] {
    display: grid;
    gap: .7rem;
    margin: .9rem 0 0;
    padding: 0;
    list-style: none;
}

.unmet-list li[b-gioua0hyq4],
.opportunity-list li[b-gioua0hyq4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem .2rem;
    border-top: 1px solid var(--iwelia-border);
    font-size: .86rem;
}

.unmet-list li:first-child[b-gioua0hyq4],
.opportunity-list li:first-child[b-gioua0hyq4] {
    border-top: 0;
}

.unmet-list strong[b-gioua0hyq4],
.opportunity-list strong[b-gioua0hyq4] {
    display: block;
}

.unmet-list span[b-gioua0hyq4],
.opportunity-list span[b-gioua0hyq4] {
    display: block;
    margin-top: .15rem;
    color: var(--iwelia-muted);
    font-size: .8rem;
}

.opportunity-list small[b-gioua0hyq4] {
    display: block;
    margin-top: .25rem;
    color: var(--iwelia-muted);
    font-size: .74rem;
}

.budget-bar[b-gioua0hyq4] {
    height: 10px;
    margin-top: 1rem;
    background: #edf2f5;
    border-radius: 999px;
    overflow: hidden;
}

.budget-bar i[b-gioua0hyq4] {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--iwelia-teal), var(--iwelia-cyan));
    border-radius: 999px;
}

.page-state[b-gioua0hyq4] {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

@media (max-width: 1500px) {
    .metric-grid[b-gioua0hyq4] {
        grid-template-columns: repeat(3, minmax(170px, 1fr));
    }

    .dashboard-grid[b-gioua0hyq4] {
        grid-template-columns: minmax(0, 1fr) minmax(310px, .72fr);
    }

    .activity-panel[b-gioua0hyq4],
    .mood-panel[b-gioua0hyq4],
    .cases-panel[b-gioua0hyq4],
    .open-panel[b-gioua0hyq4],
    .ai-cost-panel[b-gioua0hyq4] {
        grid-column: span 2;
    }
}

@media (max-width: 980px) {
    .dashboard-header[b-gioua0hyq4] {
        align-items: flex-start;
        flex-direction: column;
    }

    .metric-grid[b-gioua0hyq4],
    .dashboard-grid[b-gioua0hyq4] {
        grid-template-columns: 1fr;
    }

    .activity-panel[b-gioua0hyq4],
    .mood-panel[b-gioua0hyq4],
    .cases-panel[b-gioua0hyq4],
    .open-panel[b-gioua0hyq4],
    .ai-cost-panel[b-gioua0hyq4] {
        grid-column: auto;
    }

    .panel[b-gioua0hyq4] {
        overflow-x: auto;
    }
}

@media (max-width: 640px) {
    .dashboard-actions[b-gioua0hyq4] {
        width: 100%;
        justify-content: stretch;
    }

    .dashboard-actions > *[b-gioua0hyq4] {
        flex: 1 1 100%;
    }

    .sentiment-row[b-gioua0hyq4],
    .channel-bars div[b-gioua0hyq4],
    .channel-bars dd[b-gioua0hyq4] {
        grid-template-columns: 1fr;
    }
}

/* ---- Daily summary (SAE-051) ---- */

.daily-summary-panel[b-gioua0hyq4] {
    margin-bottom: 1rem;
}

.daily-summary-panel .panel-heading p[b-gioua0hyq4] {
    margin: .25rem 0 0;
    color: var(--iwelia-muted);
    font-size: .88rem;
}

.daily-summary-grid[b-gioua0hyq4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.daily-summary-block[b-gioua0hyq4] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.daily-summary-block h3[b-gioua0hyq4] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .5rem;
    font-size: 1rem;
}

.daily-summary-counts[b-gioua0hyq4] {
    margin: 0 0 .6rem;
    color: var(--iwelia-muted);
    font-size: .85rem;
}

.daily-summary-big[b-gioua0hyq4] {
    margin: .2rem 0 .6rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.daily-summary-big small[b-gioua0hyq4] {
    font-size: .85rem;
    font-weight: 400;
    color: var(--iwelia-muted);
}

.daily-summary-list[b-gioua0hyq4] {
    list-style: none;
    margin: 0 0 .6rem;
    padding: 0;
    display: grid;
    gap: .45rem;
}

.daily-summary-list a[b-gioua0hyq4] {
    display: grid;
    gap: .1rem;
    padding: .55rem .65rem;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.daily-summary-list a:hover[b-gioua0hyq4] {
    border-color: var(--iwelia-border-strong);
    background: var(--iwelia-surface, #f8fafc);
}

.daily-summary-list strong[b-gioua0hyq4] {
    font-size: .9rem;
}

.daily-summary-list span[b-gioua0hyq4] {
    font-size: .85rem;
    color: var(--iwelia-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.daily-summary-list em[b-gioua0hyq4] {
    font-size: .8rem;
    font-style: normal;
    color: var(--iwelia-muted);
}

.daily-summary-link[b-gioua0hyq4] {
    font-size: .85rem;
    font-weight: 680;
}

.daily-summary-metrics[b-gioua0hyq4] {
    margin-top: .4rem;
}

.daily-summary-settings[b-gioua0hyq4] {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: .8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--iwelia-border);
}

.daily-summary-settings .field[b-gioua0hyq4] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.daily-summary-settings .field input[b-gioua0hyq4] {
    height: 40px;
    padding: 0 .6rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border-strong);
    border-radius: var(--iwelia-radius);
    font: inherit;
    font-size: .9rem;
}

.daily-summary-settings .field input:focus[b-gioua0hyq4] {
    outline: 2px solid rgba(40, 120, 240, .35);
    outline-offset: 1px;
}

.daily-summary-settings .checkbox-field[b-gioua0hyq4] {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 40px;
    font-size: .9rem;
}

.daily-summary-settings .checkbox-field input[type="checkbox"][b-gioua0hyq4] {
    width: 18px;
    height: 18px;
    accent-color: var(--iwelia-teal);
}

.daily-summary-panel .new-button[b-gioua0hyq4] {
    min-height: 40px;
    padding: 0 1rem;
    color: #fff;
    background: linear-gradient(135deg, #062f48, #063e5d);
    border: 1px solid transparent;
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 22px rgba(8, 35, 55, .14);
    font-size: .82rem;
    font-weight: 680;
    cursor: pointer;
    white-space: nowrap;
}

.daily-summary-panel .new-button:disabled[b-gioua0hyq4] {
    opacity: .55;
    cursor: wait;
}

.daily-summary-panel .tool-button[b-gioua0hyq4] {
    min-height: 40px;
    padding: 0 .7rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 10px 22px rgba(8, 35, 55, .05);
    font-weight: 680;
    font-size: .85rem;
    cursor: pointer;
    white-space: nowrap;
}

.daily-summary-panel .tool-button:disabled[b-gioua0hyq4] {
    opacity: .55;
    cursor: wait;
}

.daily-summary-panel .save-message[b-gioua0hyq4] {
    align-self: center;
    font-size: .85rem;
    color: var(--iwelia-green, #15803d);
}

.daily-summary-panel .alert-retry[b-gioua0hyq4] {
    margin-left: .6rem;
    padding: .15rem .7rem;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: .8rem;
    cursor: pointer;
}

@media (max-width: 1500px) {
    .daily-summary-grid[b-gioua0hyq4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .daily-summary-grid[b-gioua0hyq4] {
        grid-template-columns: 1fr;
    }

    .daily-summary-settings[b-gioua0hyq4] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Components/Pages/ForgotPassword.razor.rz.scp.css */
.login-page[b-104jkl5e31] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 48%) 1fr;
    background: #fff;
}

.login-shell[b-104jkl5e31] {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem;
}

.lang-switcher[b-104jkl5e31] {
    display: flex;
    gap: .5rem;
    align-items: center;
    justify-content: flex-end;
    width: min(100%, 430px);
    font-size: .82rem;
}

.lang-switcher button[b-104jkl5e31] {
    padding: .15rem .1rem;
    color: var(--iwelia-muted);
    background: transparent;
    border: 0;
    font-weight: var(--iwelia-weight-semibold);
    cursor: pointer;
}

.lang-switcher button.active[b-104jkl5e31] {
    color: var(--iwelia-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lang-switcher span[b-104jkl5e31] {
    color: var(--iwelia-border-strong);
}

.login-logo[b-104jkl5e31] {
    width: min(248px, 66vw);
    height: auto;
}

.login-card[b-104jkl5e31] {
    width: min(100%, 430px);
    padding: 1.85rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow);
}

.login-card h1[b-104jkl5e31] {
    margin: 0 0 1.65rem;
    font-size: 1.55rem;
    font-weight: var(--iwelia-weight-bold);
}

.login-card .intro[b-104jkl5e31] {
    margin: 0 0 1.35rem;
    color: var(--iwelia-muted);
    font-size: .9rem;
}

.field[b-104jkl5e31] {
    display: grid;
    gap: .45rem;
    margin-bottom: 1.1rem;
    font-size: .82rem;
    font-weight: var(--iwelia-weight-semibold);
}

.field input[b-104jkl5e31] {
    width: 100%;
    height: 44px;
    padding: 0 .9rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.primary-action[b-104jkl5e31] {
    width: 100%;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--iwelia-radius);
    font-size: .9rem;
    font-weight: var(--iwelia-weight-semibold);
    color: #fff;
    background: linear-gradient(135deg, #06293f, #064d70);
    border: 0;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(8, 35, 55, .16);
}

.signup-copy[b-104jkl5e31] {
    margin: 1.25rem 0 0;
    color: var(--iwelia-muted);
    text-align: center;
}

.signup-copy a[b-104jkl5e31] {
    color: var(--iwelia-teal);
    text-decoration: none;
    font-weight: var(--iwelia-weight-semibold);
}

.login-footer[b-104jkl5e31] {
    display: grid;
    gap: .6rem;
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.login-art[b-104jkl5e31] {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 45%, rgba(34, 198, 214, .16), transparent 30%),
        linear-gradient(135deg, #f8fbfc, #eaf8fb);
}

.login-art[b-104jkl5e31]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(7, 143, 160, .22) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .35;
}

.login-watermark[b-104jkl5e31] {
    position: absolute;
    top: 50%;
    right: 6%;
    width: 62%;
    aspect-ratio: 120 / 87;
    overflow: hidden;
    opacity: .12;
    transform: translateY(-50%);
}

.login-watermark img[b-104jkl5e31] {
    /* Muestra solo el símbolo del logo (recorte 0,11,120,87 de iwelia-logo.png de 340x98) */
    width: 283.3%;
    max-width: none;
    height: auto;
    margin-left: 0;
    margin-top: -9.2%;
}

@media (max-width: 900px) {
    .login-page[b-104jkl5e31] {
        grid-template-columns: 1fr;
    }

    .login-art[b-104jkl5e31] {
        min-height: 220px;
        order: -1;
    }
}

@media (max-width: 560px) {
    .login-card[b-104jkl5e31] {
        padding: 1.25rem;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.login-page[b-vnaadppl36] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 48%) 1fr;
    background: #fff;
}

.login-shell[b-vnaadppl36] {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem;
}

.login-logo[b-vnaadppl36] {
    width: min(248px, 66vw);
    height: auto;
}

.login-card[b-vnaadppl36] {
    width: min(100%, 430px);
    padding: 1.85rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow);
}

.login-card h1[b-vnaadppl36] {
    margin: 0 0 1.65rem;
    font-size: 1.55rem;
    font-weight: var(--iwelia-weight-bold);
}

.field[b-vnaadppl36] {
    display: grid;
    gap: .45rem;
    margin-bottom: 1.1rem;
    font-size: .82rem;
    font-weight: var(--iwelia-weight-semibold);
}

.field input[b-vnaadppl36] {
    height: 44px;
    padding: 0 .9rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.login-options[b-vnaadppl36],
.check-row[b-vnaadppl36] {
    display: flex;
    align-items: center;
}

.login-options[b-vnaadppl36] {
    justify-content: space-between;
    gap: 1rem;
    margin: .8rem 0 1.35rem;
    font-size: .82rem;
}

.check-row[b-vnaadppl36] {
    gap: .5rem;
}

.check-row input[b-vnaadppl36] {
    accent-color: var(--iwelia-teal);
}

.login-options a[b-vnaadppl36],
.signup-copy a[b-vnaadppl36],
.login-footer a[b-vnaadppl36] {
    color: var(--iwelia-teal);
    text-decoration: none;
    font-weight: var(--iwelia-weight-semibold);
}

.primary-action[b-vnaadppl36],
.secondary-action[b-vnaadppl36] {
    width: 100%;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--iwelia-radius);
    font-size: .9rem;
    font-weight: var(--iwelia-weight-semibold);
}

.primary-action[b-vnaadppl36] {
    color: #fff;
    background: linear-gradient(135deg, #06293f, #064d70);
    border: 0;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(8, 35, 55, .16);
}

.secondary-action[b-vnaadppl36] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
}

.google-mark[b-vnaadppl36] {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: #4285f4;
    font-family: Arial, sans-serif;
    font-weight: var(--iwelia-weight-semibold);
}

.login-divider[b-vnaadppl36] {
    position: relative;
    display: grid;
    place-items: center;
    margin: 1.15rem 0;
    color: var(--iwelia-muted);
}

.login-divider[b-vnaadppl36]::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: var(--iwelia-border);
}

.login-divider span[b-vnaadppl36] {
    position: relative;
    padding: 0 .9rem;
    background: #fff;
}

.signup-copy[b-vnaadppl36] {
    margin: 1.25rem 0 0;
    color: var(--iwelia-muted);
    text-align: center;
}

.login-footer[b-vnaadppl36] {
    display: grid;
    gap: .6rem;
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.login-footer nav[b-vnaadppl36] {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.login-art[b-vnaadppl36] {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 45%, rgba(34, 198, 214, .16), transparent 30%),
        linear-gradient(135deg, #f8fbfc, #eaf8fb);
}

.login-art[b-vnaadppl36]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(7, 143, 160, .22) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .35;
}

.brand-flow[b-vnaadppl36] {
    position: absolute;
    left: 22%;
    right: 14%;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
}

.flow-one[b-vnaadppl36] {
    top: 38%;
    transform: skewY(12deg);
}

.flow-two[b-vnaadppl36] {
    top: 49%;
    background: rgba(34, 198, 214, .25);
}

.flow-three[b-vnaadppl36] {
    top: 60%;
    transform: skewY(-14deg);
}

.brand-spark[b-vnaadppl36] {
    position: absolute;
    top: 48%;
    right: 20%;
    width: 34px;
    height: 34px;
    background: var(--iwelia-yellow);
    transform: rotate(45deg);
    border-radius: 8px 0 8px 0;
}

@media (max-width: 900px) {
    .login-page[b-vnaadppl36] {
        grid-template-columns: 1fr;
    }

    .login-art[b-vnaadppl36] {
        min-height: 220px;
        order: -1;
    }
}

@media (max-width: 560px) {
    .login-card[b-vnaadppl36] {
        padding: 1.25rem;
    }

    .login-options[b-vnaadppl36] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/Integrations.razor.rz.scp.css */
.integrations-page[b-22a67hk41a] {
    display: grid;
    gap: 1rem;
}

.integration-tabs[b-22a67hk41a] {
    display: flex;
    gap: .35rem;
    margin-bottom: .9rem;
}

.integration-tabs button[b-22a67hk41a] {
    min-height: 34px;
    padding: 0 .9rem;
    border: 1px solid var(--iwelia-border);
    border-radius: 999px;
    background: #fff;
    color: var(--iwelia-muted);
    font-weight: var(--iwelia-weight-semibold);
    cursor: pointer;
}

.integration-tabs button.active[b-22a67hk41a] {
    color: #fff;
    background: linear-gradient(135deg, #062f3f, #078fa0);
    border-color: transparent;
}

.integration-layout[b-22a67hk41a] {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(520px, 1.15fr);
    gap: .9rem;
}

.integration-panel[b-22a67hk41a] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.panel-heading[b-22a67hk41a],
.form-actions[b-22a67hk41a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-heading h2[b-22a67hk41a] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.panel-heading p[b-22a67hk41a] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.status-badge[b-22a67hk41a] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.status-enabled[b-22a67hk41a] {
    color: #08714d;
    background: #ddf8ed;
}

.status-disabled[b-22a67hk41a] {
    color: #455769;
    background: #eef3f6;
}

.save-message[b-22a67hk41a] {
    margin: 1rem 0 0;
}

.integration-form[b-22a67hk41a] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.field[b-22a67hk41a],
.toggle-field[b-22a67hk41a] {
    display: grid;
    gap: .45rem;
    font-weight: var(--iwelia-weight-semibold);
}

.field.full[b-22a67hk41a],
.toggle-field.full[b-22a67hk41a],
.form-actions[b-22a67hk41a] {
    grid-column: 1 / -1;
}

.field input[b-22a67hk41a],
.field select[b-22a67hk41a] {
    height: 46px;
    padding: 0 .8rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.toggle-field[b-22a67hk41a] {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 46px;
    padding: 0 .8rem;
    color: var(--iwelia-ink);
    background: var(--iwelia-soft);
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.toggle-field input[b-22a67hk41a] {
    width: 18px;
    height: 18px;
}

.ghost-button[b-22a67hk41a],
.primary-button[b-22a67hk41a] {
    min-height: 40px;
    padding: 0 .95rem;
    border-radius: var(--iwelia-radius);
    font-weight: var(--iwelia-weight-semibold);
}

.ghost-button[b-22a67hk41a] {
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
}

.primary-button[b-22a67hk41a] {
    color: #fff;
    background: linear-gradient(135deg, #062f3f, #078fa0);
    border: 0;
}

.primary-button:disabled[b-22a67hk41a] {
    opacity: .65;
}

.integration-table[b-22a67hk41a] {
    margin-top: 1rem;
    overflow-x: auto;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

table[b-22a67hk41a] {
    width: 100%;
    border-collapse: collapse;
}

th[b-22a67hk41a],
td[b-22a67hk41a] {
    padding: .85rem;
    border-top: 1px solid var(--iwelia-border);
    text-align: left;
}

thead th[b-22a67hk41a] {
    border-top: 0;
    color: var(--iwelia-muted);
    background: var(--iwelia-soft);
    font-size: .74rem;
    text-transform: uppercase;
}

code[b-22a67hk41a] {
    color: var(--iwelia-teal);
    background: rgba(34, 198, 214, .1);
    border-radius: 6px;
    padding: .15rem .35rem;
}

.page-state[b-22a67hk41a] {
    min-height: calc(100vh - 128px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

@media (max-width: 1100px) {
    .integration-layout[b-22a67hk41a] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .panel-heading[b-22a67hk41a],
    .form-actions[b-22a67hk41a] {
        align-items: flex-start;
        flex-direction: column;
    }

    .integration-form[b-22a67hk41a] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-page[b-8opzzqaofz] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 48%) 1fr;
    background: #fff;
}

.login-shell[b-8opzzqaofz] {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem;
}

.login-logo[b-8opzzqaofz] {
    width: min(248px, 66vw);
    height: auto;
}

.login-card[b-8opzzqaofz] {
    width: min(100%, 430px);
    padding: 1.85rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow);
}

.login-card h1[b-8opzzqaofz] {
    margin: 0 0 1.65rem;
    font-size: 1.55rem;
    font-weight: var(--iwelia-weight-bold);
}

.field[b-8opzzqaofz] {
    display: grid;
    gap: .45rem;
    margin-bottom: 1.1rem;
    font-size: .82rem;
    font-weight: var(--iwelia-weight-semibold);
}

.field input[b-8opzzqaofz] {
    height: 44px;
    padding: 0 .9rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.login-options[b-8opzzqaofz],
.check-row[b-8opzzqaofz] {
    display: flex;
    align-items: center;
}

.login-options[b-8opzzqaofz] {
    justify-content: space-between;
    gap: 1rem;
    margin: .8rem 0 1.35rem;
    font-size: .82rem;
}

.check-row[b-8opzzqaofz] {
    gap: .5rem;
}

.check-row input[b-8opzzqaofz] {
    accent-color: var(--iwelia-teal);
}

.login-options a[b-8opzzqaofz],
.signup-copy a[b-8opzzqaofz],
.login-footer a[b-8opzzqaofz] {
    color: var(--iwelia-teal);
    text-decoration: none;
    font-weight: var(--iwelia-weight-semibold);
}

.primary-action[b-8opzzqaofz],
.secondary-action[b-8opzzqaofz] {
    width: 100%;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--iwelia-radius);
    font-size: .9rem;
    font-weight: var(--iwelia-weight-semibold);
}

.primary-action[b-8opzzqaofz] {
    color: #fff;
    background: linear-gradient(135deg, #06293f, #064d70);
    border: 0;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(8, 35, 55, .16);
}

.secondary-action[b-8opzzqaofz] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
}

.google-mark[b-8opzzqaofz] {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: #4285f4;
    font-family: Arial, sans-serif;
    font-weight: var(--iwelia-weight-semibold);
}

.login-divider[b-8opzzqaofz] {
    position: relative;
    display: grid;
    place-items: center;
    margin: 1.15rem 0;
    color: var(--iwelia-muted);
}

.login-divider[b-8opzzqaofz]::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: var(--iwelia-border);
}

.login-divider span[b-8opzzqaofz] {
    position: relative;
    padding: 0 .9rem;
    background: #fff;
}

.signup-copy[b-8opzzqaofz] {
    margin: 1.25rem 0 0;
    color: var(--iwelia-muted);
    text-align: center;
}

.login-footer[b-8opzzqaofz] {
    display: grid;
    gap: .6rem;
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.login-footer nav[b-8opzzqaofz] {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.login-art[b-8opzzqaofz] {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 45%, rgba(34, 198, 214, .16), transparent 30%),
        linear-gradient(135deg, #f8fbfc, #eaf8fb);
}

.login-art[b-8opzzqaofz]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(7, 143, 160, .22) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .35;
}

.login-watermark[b-8opzzqaofz] {
    position: absolute;
    top: 50%;
    right: 6%;
    width: 62%;
    aspect-ratio: 120 / 87;
    overflow: hidden;
    opacity: .12;
    transform: translateY(-50%);
}

.login-watermark img[b-8opzzqaofz] {
    /* Muestra solo el símbolo del logo (recorte 0,11,120,87 de iwelia-logo.png de 340x98) */
    width: 283.3%;
    max-width: none;
    height: auto;
    margin-left: 0;
    margin-top: -9.2%;
}

@media (max-width: 900px) {
    .login-page[b-8opzzqaofz] {
        grid-template-columns: 1fr;
    }

    .login-art[b-8opzzqaofz] {
        min-height: 220px;
        order: -1;
    }
}

@media (max-width: 560px) {
    .login-card[b-8opzzqaofz] {
        padding: 1.25rem;
    }

    .login-options[b-8opzzqaofz] {
        align-items: flex-start;
        flex-direction: column;
    }
}

.input-wrap[b-8opzzqaofz] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap input[b-8opzzqaofz] {
    width: 100%;
    padding-left: 2.6rem;
    padding-right: 2.6rem;
}

.input-icon[b-8opzzqaofz] {
    width: 18px;
    height: 18px;
    position: absolute;
    left: .85rem;
    flex: 0 0 auto;
    color: var(--iwelia-muted);
    background: currentColor;
    pointer-events: none;
}

.mail-icon[b-8opzzqaofz] {
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='4' width='20' height='16' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m22 7-10 6L2 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='4' width='20' height='16' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m22 7-10 6L2 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lock-icon[b-8opzzqaofz] {
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.password-toggle[b-8opzzqaofz] {
    position: absolute;
    right: .4rem;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: var(--iwelia-muted);
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.eye-icon[b-8opzzqaofz],
.eye-off-icon[b-8opzzqaofz] {
    width: 18px;
    height: 18px;
    display: block;
    background: currentColor;
}

.eye-icon[b-8opzzqaofz] {
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eye-off-icon[b-8opzzqaofz] {
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cline x1='1' y1='1' x2='23' y2='23' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cline x1='1' y1='1' x2='23' y2='23' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lang-switcher[b-8opzzqaofz] {
    display: flex;
    gap: .5rem;
    align-items: center;
    justify-content: flex-end;
    width: min(100%, 430px);
    font-size: .82rem;
}

.lang-switcher button[b-8opzzqaofz] {
    padding: .15rem .1rem;
    color: var(--iwelia-muted);
    background: transparent;
    border: 0;
    font-weight: var(--iwelia-weight-semibold);
    cursor: pointer;
}

.lang-switcher button.active[b-8opzzqaofz] {
    color: var(--iwelia-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lang-switcher span[b-8opzzqaofz] {
    color: var(--iwelia-border-strong);
}
/* /Components/Pages/Monitoring.razor.rz.scp.css */
.monitoring-page[b-k55fzt6c65] {
    display: grid;
    gap: 1rem;
}

.monitoring-header[b-k55fzt6c65] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.monitoring-header h1[b-k55fzt6c65] {
    font-size: 1.35rem;
    margin: 0 0 .25rem;
}

.monitoring-header p[b-k55fzt6c65] {
    color: var(--iwelia-muted);
    font-size: .9rem;
    margin: 0;
    max-width: 46rem;
}

.header-actions[b-k55fzt6c65] {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.ghost-button[b-k55fzt6c65],
.primary-button[b-k55fzt6c65] {
    min-height: 40px;
    padding: 0 .95rem;
    border-radius: var(--iwelia-radius);
    font-size: .84rem;
    font-weight: 650;
    white-space: nowrap;
}

.ghost-button[b-k55fzt6c65] {
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
}

.ghost-button:disabled[b-k55fzt6c65],
.primary-button:disabled[b-k55fzt6c65] {
    opacity: .55;
    cursor: not-allowed;
}

.primary-button[b-k55fzt6c65] {
    color: #fff;
    background: linear-gradient(135deg, #062c45, #075b82);
    border: 0;
    box-shadow: 0 12px 22px rgba(8, 35, 55, .14);
    display: inline-flex;
    align-items: center;
}

.status-grid[b-k55fzt6c65] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.status-card[b-k55fzt6c65] {
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    padding: 1rem;
}

.status-card h2[b-k55fzt6c65] {
    font-size: .85rem;
    font-weight: 650;
    color: var(--iwelia-muted);
    margin: 0 0 .4rem;
}

.status-value[b-k55fzt6c65] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 .25rem;
}

.status-detail[b-k55fzt6c65] {
    font-size: .84rem;
    color: var(--iwelia-muted);
    margin: 0;
}

.status-ok[b-k55fzt6c65] {
    color: #177245;
}

.status-bad[b-k55fzt6c65] {
    color: #b3261e;
}

.status-unknown[b-k55fzt6c65] {
    color: var(--iwelia-muted);
}

.monitoring-panel[b-k55fzt6c65] {
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    padding: 1rem;
}

.panel-heading[b-k55fzt6c65] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.panel-heading h2[b-k55fzt6c65] {
    font-size: 1.05rem;
    margin: 0 0 .2rem;
}

.panel-heading p[b-k55fzt6c65] {
    color: var(--iwelia-muted);
    font-size: .86rem;
    margin: 0;
}

.monitoring-table[b-k55fzt6c65] {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.monitoring-table th[b-k55fzt6c65],
.monitoring-table td[b-k55fzt6c65] {
    text-align: left;
    padding: .55rem .5rem;
    border-bottom: 1px solid var(--iwelia-border);
    vertical-align: middle;
}

.monitoring-table th[b-k55fzt6c65] {
    color: var(--iwelia-muted);
    font-size: .8rem;
    font-weight: 650;
}

.error-cell[b-k55fzt6c65] {
    max-width: 22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.price-input[b-k55fzt6c65] {
    width: 6.5rem;
    padding: .35rem .5rem;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    font-size: .88rem;
}

.page-state[b-k55fzt6c65] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 2rem 1rem;
    justify-content: center;
}

.save-message[b-k55fzt6c65] {
    margin: 0;
}

@media (max-width: 860px) {
    .monitoring-table[b-k55fzt6c65] {
        display: block;
        overflow-x: auto;
    }
}
/* /Components/Pages/Plans.razor.rz.scp.css */
.plans-page[b-4ao0qzu2l3] {
    display: grid;
    gap: 1rem;
}

.page-heading h2[b-4ao0qzu2l3] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: var(--iwelia-weight-bold);
}

.page-heading p[b-4ao0qzu2l3] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.settings-panel[b-4ao0qzu2l3] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.panel-heading[b-4ao0qzu2l3],
.form-actions[b-4ao0qzu2l3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-heading h2[b-4ao0qzu2l3] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.panel-heading p[b-4ao0qzu2l3] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.status-badge[b-4ao0qzu2l3] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.status-enabled[b-4ao0qzu2l3] {
    color: #08714d;
    background: #ddf8ed;
}

.status-disabled[b-4ao0qzu2l3] {
    color: #455769;
    background: #eef3f6;
}

.save-message[b-4ao0qzu2l3] {
    margin: 0;
}

.plans-form[b-4ao0qzu2l3] {
    display: grid;
    gap: .9rem;
}

.settings-form[b-4ao0qzu2l3] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1rem;
}

.settings-form .field[b-4ao0qzu2l3] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.settings-form .field.full[b-4ao0qzu2l3] {
    grid-column: 1 / -1;
}

.settings-form input[b-4ao0qzu2l3],
.settings-form select[b-4ao0qzu2l3],
.settings-form textarea[b-4ao0qzu2l3] {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font: inherit;
}

.toggle-field[b-4ao0qzu2l3] {
    display: flex;
    align-items: center;
    gap: .5rem;
    grid-column: 1 / -1;
}

.form-actions[b-4ao0qzu2l3] {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.settings-table[b-4ao0qzu2l3] {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    font-size: .9rem;
}

.settings-table th[b-4ao0qzu2l3],
.settings-table td[b-4ao0qzu2l3] {
    padding: .5rem .4rem;
    border-bottom: 1px solid var(--iwelia-border);
    text-align: left;
    vertical-align: middle;
}

@media (max-width: 900px) {
    .settings-form[b-4ao0qzu2l3] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Platform.razor.rz.scp.css */
.platform-page[b-52yotpp0p5] {
    display: grid;
    gap: 1rem;
}

.page-heading[b-52yotpp0p5] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.page-heading h2[b-52yotpp0p5] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: var(--iwelia-weight-bold);
}

.page-heading p[b-52yotpp0p5] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.settings-panel[b-52yotpp0p5] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.settings-table[b-52yotpp0p5] {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.settings-table th[b-52yotpp0p5],
.settings-table td[b-52yotpp0p5] {
    padding: .5rem .4rem;
    border-bottom: 1px solid var(--iwelia-border);
    text-align: left;
    vertical-align: middle;
}

.status-badge[b-52yotpp0p5] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.status-enabled[b-52yotpp0p5] {
    color: #08714d;
    background: #ddf8ed;
}

.status-disabled[b-52yotpp0p5] {
    color: #455769;
    background: #eef3f6;
}

.page-note[b-52yotpp0p5] {
    margin: 0;
    color: var(--iwelia-muted);
    font-size: .9rem;
}

.empty-state[b-52yotpp0p5] {
    color: var(--iwelia-muted);
}
/* /Components/Pages/PlatformDemoRequests.razor.rz.scp.css */
.demo-requests-page[b-nosrpz0ods] {
    display: grid;
    gap: 1rem;
}

.page-heading h2[b-nosrpz0ods] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: var(--iwelia-weight-bold);
}

.page-heading p[b-nosrpz0ods] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.settings-panel[b-nosrpz0ods] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.panel-heading[b-nosrpz0ods],
.form-actions[b-nosrpz0ods] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-heading h2[b-nosrpz0ods] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.panel-heading p[b-nosrpz0ods] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.status-badge[b-nosrpz0ods] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.status-enabled[b-nosrpz0ods] {
    color: #08714d;
    background: #ddf8ed;
}

.status-disabled[b-nosrpz0ods] {
    color: #455769;
    background: #eef3f6;
}

.status-progress[b-nosrpz0ods] {
    color: #0b4f9c;
    background: #e3eefe;
}

.save-message[b-nosrpz0ods] {
    margin: 0;
}

.settings-form[b-nosrpz0ods] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1rem;
}

.settings-form .field[b-nosrpz0ods] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.settings-form .field.full[b-nosrpz0ods] {
    grid-column: 1 / -1;
}

.settings-form input[b-nosrpz0ods],
.settings-form select[b-nosrpz0ods],
.settings-form textarea[b-nosrpz0ods] {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font: inherit;
}

.toggle-field[b-nosrpz0ods] {
    display: flex;
    align-items: center;
    gap: .5rem;
    grid-column: 1 / -1;
}

.form-actions[b-nosrpz0ods] {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.filter-field[b-nosrpz0ods] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.filter-field select[b-nosrpz0ods] {
    padding: .55rem .65rem;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font: inherit;
}

.settings-table[b-nosrpz0ods] {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    font-size: .9rem;
}

.settings-table th[b-nosrpz0ods],
.settings-table td[b-nosrpz0ods] {
    padding: .5rem .4rem;
    border-bottom: 1px solid var(--iwelia-border);
    text-align: left;
    vertical-align: middle;
}

.empty-list[b-nosrpz0ods] {
    margin: 1rem 0 0;
    color: var(--iwelia-muted);
}

.detail-list[b-nosrpz0ods] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem 1rem;
    margin: 1rem 0 0;
}

.detail-list div[b-nosrpz0ods] {
    display: grid;
    gap: .15rem;
}

.detail-list dt[b-nosrpz0ods] {
    font-size: .8rem;
    color: var(--iwelia-muted);
}

.detail-list dd[b-nosrpz0ods] {
    margin: 0;
    font-size: .9rem;
}

@media (max-width: 900px) {
    .settings-form[b-nosrpz0ods],
    .detail-list[b-nosrpz0ods] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/PlatformPrompt.razor.rz.scp.css */
.platform-prompt-page[b-g7xp9uch6m] {
    display: grid;
    gap: 1rem;
}

.page-heading[b-g7xp9uch6m] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.page-heading h2[b-g7xp9uch6m] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: var(--iwelia-weight-bold);
}

.page-heading p[b-g7xp9uch6m] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.page-state[b-g7xp9uch6m] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 120px;
    padding: 1.5rem;
    color: var(--iwelia-muted);
    text-align: center;
}

.page-state.alert[b-g7xp9uch6m] {
    justify-content: space-between;
    min-height: 0;
    text-align: left;
}

.settings-panel[b-g7xp9uch6m] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.save-message[b-g7xp9uch6m] {
    margin: 1rem 0 0;
}

.settings-form[b-g7xp9uch6m] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}

.settings-form .field[b-g7xp9uch6m] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.settings-form .field.full[b-g7xp9uch6m] {
    grid-column: 1 / -1;
}

.settings-form input[b-g7xp9uch6m],
.settings-form select[b-g7xp9uch6m],
.settings-form textarea[b-g7xp9uch6m] {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font: inherit;
}

.field-hint[b-g7xp9uch6m] {
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.toggle-field[b-g7xp9uch6m] {
    display: flex;
    align-items: center;
    gap: .5rem;
    grid-column: 1 / -1;
}

.form-actions[b-g7xp9uch6m] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.usage-summary[b-g7xp9uch6m] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.2rem;
    margin-top: 1rem;
    font-size: .9rem;
}

.page-note[b-g7xp9uch6m] {
    margin: 0;
    color: var(--iwelia-muted);
    font-size: .9rem;
}

/* Buttons shared with the rest of the panel (same language as Dashboard). */
.primary-button[b-g7xp9uch6m],
.ghost-button[b-g7xp9uch6m] {
    min-height: 40px;
    padding: 0 .95rem;
    border-radius: var(--iwelia-radius);
    font-size: .84rem;
    font-weight: 650;
    white-space: nowrap;
}

.ghost-button[b-g7xp9uch6m] {
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
}

.primary-button[b-g7xp9uch6m] {
    color: #fff;
    background: linear-gradient(135deg, #062c45, #075b82);
    border: 0;
    box-shadow: 0 12px 22px rgba(8, 35, 55, .14);
}

.primary-button:disabled[b-g7xp9uch6m],
.ghost-button:disabled[b-g7xp9uch6m] {
    opacity: .55;
    cursor: not-allowed;
}
/* /Components/Pages/PlatformSmtp.razor.rz.scp.css */
.platform-smtp-page[b-fxyz64bko1] {
    display: grid;
    gap: 1rem;
}

.page-heading[b-fxyz64bko1] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.page-heading h2[b-fxyz64bko1] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: var(--iwelia-weight-bold);
}

.page-heading p[b-fxyz64bko1] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.page-state[b-fxyz64bko1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 120px;
    padding: 1.5rem;
    color: var(--iwelia-muted);
    text-align: center;
}

.page-state.alert[b-fxyz64bko1] {
    justify-content: space-between;
    min-height: 0;
    text-align: left;
}

.settings-panel[b-fxyz64bko1] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.save-message[b-fxyz64bko1] {
    margin: 1rem 0 0;
}

.settings-form[b-fxyz64bko1] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}

.settings-form .field[b-fxyz64bko1] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.settings-form .field.full[b-fxyz64bko1] {
    grid-column: 1 / -1;
}

.settings-form input[b-fxyz64bko1],
.settings-form select[b-fxyz64bko1],
.settings-form textarea[b-fxyz64bko1] {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font: inherit;
}

.field-hint[b-fxyz64bko1] {
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.toggle-field[b-fxyz64bko1] {
    display: flex;
    align-items: center;
    gap: .5rem;
    grid-column: 1 / -1;
}

.form-actions[b-fxyz64bko1] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.usage-summary[b-fxyz64bko1] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.2rem;
    margin-top: 1rem;
    font-size: .9rem;
}

.page-note[b-fxyz64bko1] {
    margin: 0;
    color: var(--iwelia-muted);
    font-size: .9rem;
}

/* Buttons shared with the rest of the panel (same language as Dashboard). */
.primary-button[b-fxyz64bko1],
.ghost-button[b-fxyz64bko1] {
    min-height: 40px;
    padding: 0 .95rem;
    border-radius: var(--iwelia-radius);
    font-size: .84rem;
    font-weight: 650;
    white-space: nowrap;
}

.ghost-button[b-fxyz64bko1] {
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
}

.primary-button[b-fxyz64bko1] {
    color: #fff;
    background: linear-gradient(135deg, #062c45, #075b82);
    border: 0;
    box-shadow: 0 12px 22px rgba(8, 35, 55, .14);
}

.primary-button:disabled[b-fxyz64bko1],
.ghost-button:disabled[b-fxyz64bko1] {
    opacity: .55;
    cursor: not-allowed;
}
/* /Components/Pages/Profile.razor.rz.scp.css */
.profile-page[b-oih4yh1gzn] {
    display: grid;
    gap: 1rem;
}

.page-heading h2[b-oih4yh1gzn] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: var(--iwelia-weight-bold);
}

.page-heading p[b-oih4yh1gzn] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.settings-panel[b-oih4yh1gzn] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.panel-heading[b-oih4yh1gzn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-heading h2[b-oih4yh1gzn] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.panel-heading p[b-oih4yh1gzn] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.save-message[b-oih4yh1gzn] {
    margin: 0;
}

.settings-form[b-oih4yh1gzn] {
    display: grid;
    gap: .8rem;
    margin-top: 1rem;
}

.settings-form .field[b-oih4yh1gzn] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.settings-form .field.full[b-oih4yh1gzn] {
    grid-column: 1 / -1;
}

.settings-form input[b-oih4yh1gzn] {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font: inherit;
}

.form-actions[b-oih4yh1gzn] {
    display: flex;
    justify-content: flex-end;
}

.profile-card[b-oih4yh1gzn] {
    display: grid;
    gap: 1rem;
}

.profile-photo-row[b-oih4yh1gzn] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-photo-row > div[b-oih4yh1gzn] {
    display: grid;
    gap: .15rem;
}

.profile-photo-row > div span[b-oih4yh1gzn] {
    color: var(--iwelia-muted);
    font-size: .85rem;
}

.profile-photo[b-oih4yh1gzn] {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 50%;
}

.profile-photo.profile-initials[b-oih4yh1gzn] {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #062f3f, #078fa0);
    font-size: 1.3rem;
    font-weight: var(--iwelia-weight-semibold);
    text-transform: uppercase;
}

.profile-actions[b-oih4yh1gzn] {
    display: flex;
    align-items: flex-end;
    gap: .8rem;
    flex-wrap: wrap;
}

.profile-actions .field[b-oih4yh1gzn] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}
/* /Components/Pages/ResetPassword.razor.rz.scp.css */
.login-page[b-nd1dr1c2ug] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 48%) 1fr;
    background: #fff;
}

.login-shell[b-nd1dr1c2ug] {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem;
}

.lang-switcher[b-nd1dr1c2ug] {
    display: flex;
    gap: .5rem;
    align-items: center;
    justify-content: flex-end;
    width: min(100%, 430px);
    font-size: .82rem;
}

.lang-switcher button[b-nd1dr1c2ug] {
    padding: .15rem .1rem;
    color: var(--iwelia-muted);
    background: transparent;
    border: 0;
    font-weight: var(--iwelia-weight-semibold);
    cursor: pointer;
}

.lang-switcher button.active[b-nd1dr1c2ug] {
    color: var(--iwelia-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lang-switcher span[b-nd1dr1c2ug] {
    color: var(--iwelia-border-strong);
}

.login-logo[b-nd1dr1c2ug] {
    width: min(248px, 66vw);
    height: auto;
}

.login-card[b-nd1dr1c2ug] {
    width: min(100%, 430px);
    padding: 1.85rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: var(--iwelia-shadow);
}

.login-card h1[b-nd1dr1c2ug] {
    margin: 0 0 1.65rem;
    font-size: 1.55rem;
    font-weight: var(--iwelia-weight-bold);
}

.login-card .intro[b-nd1dr1c2ug] {
    margin: 0 0 1.35rem;
    color: var(--iwelia-muted);
    font-size: .9rem;
}

.field[b-nd1dr1c2ug] {
    display: grid;
    gap: .45rem;
    margin-bottom: 1.1rem;
    font-size: .82rem;
    font-weight: var(--iwelia-weight-semibold);
}

.field input[b-nd1dr1c2ug] {
    width: 100%;
    height: 44px;
    padding: 0 .9rem;
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
}

.primary-action[b-nd1dr1c2ug] {
    width: 100%;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--iwelia-radius);
    font-size: .9rem;
    font-weight: var(--iwelia-weight-semibold);
    color: #fff;
    background: linear-gradient(135deg, #06293f, #064d70);
    border: 0;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(8, 35, 55, .16);
}

.signup-copy[b-nd1dr1c2ug] {
    margin: 1.25rem 0 0;
    color: var(--iwelia-muted);
    text-align: center;
}

.signup-copy a[b-nd1dr1c2ug] {
    color: var(--iwelia-teal);
    text-decoration: none;
    font-weight: var(--iwelia-weight-semibold);
}

.login-footer[b-nd1dr1c2ug] {
    display: grid;
    gap: .6rem;
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.login-art[b-nd1dr1c2ug] {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 45%, rgba(34, 198, 214, .16), transparent 30%),
        linear-gradient(135deg, #f8fbfc, #eaf8fb);
}

.login-art[b-nd1dr1c2ug]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(7, 143, 160, .22) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .35;
}

.login-watermark[b-nd1dr1c2ug] {
    position: absolute;
    top: 50%;
    right: 6%;
    width: 62%;
    aspect-ratio: 120 / 87;
    overflow: hidden;
    opacity: .12;
    transform: translateY(-50%);
}

.login-watermark img[b-nd1dr1c2ug] {
    /* Muestra solo el símbolo del logo (recorte 0,11,120,87 de iwelia-logo.png de 340x98) */
    width: 283.3%;
    max-width: none;
    height: auto;
    margin-left: 0;
    margin-top: -9.2%;
}

@media (max-width: 900px) {
    .login-page[b-nd1dr1c2ug] {
        grid-template-columns: 1fr;
    }

    .login-art[b-nd1dr1c2ug] {
        min-height: 220px;
        order: -1;
    }
}

@media (max-width: 560px) {
    .login-card[b-nd1dr1c2ug] {
        padding: 1.25rem;
    }
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-page[b-7bqlw554l7] {
    display: grid;
    gap: 1rem;
}

.settings-layout[b-7bqlw554l7] {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(520px, 1.15fr);
    gap: .9rem;
}

.settings-panel[b-7bqlw554l7] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.panel-heading[b-7bqlw554l7],
.form-actions[b-7bqlw554l7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-heading h2[b-7bqlw554l7] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.panel-heading p[b-7bqlw554l7] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.status-badge[b-7bqlw554l7] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.status-enabled[b-7bqlw554l7] {
    color: #08714d;
    background: #ddf8ed;
}

.status-disabled[b-7bqlw554l7] {
    color: #455769;
    background: #eef3f6;
}

.save-message[b-7bqlw554l7] {
    margin: 0;
}

.settings-form[b-7bqlw554l7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1rem;
}

.settings-form .field[b-7bqlw554l7] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.settings-form .field.full[b-7bqlw554l7] {
    grid-column: 1 / -1;
}

.settings-form input[b-7bqlw554l7],
.settings-form select[b-7bqlw554l7],
.settings-form textarea[b-7bqlw554l7] {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font: inherit;
}

.settings-form textarea[b-7bqlw554l7] {
    resize: vertical;
}

.toggle-field[b-7bqlw554l7] {
    display: flex;
    align-items: center;
    gap: .5rem;
    grid-column: 1 / -1;
}

.form-actions[b-7bqlw554l7] {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.pdf-form[b-7bqlw554l7] {
    border-top: 1px solid var(--iwelia-border);
    padding-top: 1rem;
}

.settings-table[b-7bqlw554l7] {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    font-size: .9rem;
}

.settings-table th[b-7bqlw554l7],
.settings-table td[b-7bqlw554l7] {
    padding: .5rem .4rem;
    border-bottom: 1px solid var(--iwelia-border);
    text-align: left;
    vertical-align: top;
}

.usage-summary[b-7bqlw554l7] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.2rem;
    margin-top: 1rem;
    font-size: .9rem;
}

.usage-summary .alert-text[b-7bqlw554l7] {
    color: #9a6700;
    font-weight: var(--iwelia-weight-semibold);
}

.alerts-list[b-7bqlw554l7] {
    display: grid;
    gap: .5rem;
    margin-top: 1rem;
}

.alerts-list .alert[b-7bqlw554l7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
}

/* Buttons shared with the rest of the panel (same language as Dashboard). */
.primary-button[b-7bqlw554l7],
.ghost-button[b-7bqlw554l7] {
    min-height: 40px;
    padding: 0 .95rem;
    border-radius: var(--iwelia-radius);
    font-size: .84rem;
    font-weight: 650;
    white-space: nowrap;
}

.ghost-button[b-7bqlw554l7] {
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
}

.primary-button[b-7bqlw554l7] {
    color: #fff;
    background: linear-gradient(135deg, #062c45, #075b82);
    border: 0;
    box-shadow: 0 12px 22px rgba(8, 35, 55, .14);
}

.primary-button:disabled[b-7bqlw554l7] {
    opacity: .55;
    cursor: not-allowed;
}

/* Widget web (SAE-052): export snippet. */
.widget-steps[b-7bqlw554l7] {
    display: grid;
    gap: .3rem;
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    font-size: .9rem;
}

.widget-steps code[b-7bqlw554l7],
.widget-note code[b-7bqlw554l7],
.widget-snippet-field code[b-7bqlw554l7] {
    padding: .05rem .35rem;
    background: #f4f8fb;
    border: 1px solid var(--iwelia-border);
    border-radius: .35rem;
    font-size: .82rem;
}

.widget-snippet-field[b-7bqlw554l7] {
    display: grid;
    gap: .3rem;
    margin-top: 1rem;
    font-size: .9rem;
}

.widget-snippet[b-7bqlw554l7] {
    margin: .3rem 0 0;
    padding: .7rem .8rem;
    background: #f4f8fb;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: .8rem;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.widget-snippet code[b-7bqlw554l7] {
    padding: 0;
    background: none;
    border: 0;
}

.widget-actions[b-7bqlw554l7] {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.widget-test-link[b-7bqlw554l7] {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.widget-error[b-7bqlw554l7] {
    margin: .6rem 0 0;
    color: var(--iwelia-red);
    font-size: .85rem;
    font-weight: var(--iwelia-weight-medium);
}

.widget-note[b-7bqlw554l7] {
    margin: .8rem 0 0;
    color: var(--iwelia-muted);
    font-size: .82rem;
}

.widget-loading[b-7bqlw554l7] {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 0;
    color: var(--iwelia-muted);
}

@media (max-width: 900px) {
    .settings-layout[b-7bqlw554l7] {
        grid-template-columns: 1fr;
    }
}

.settings-note[b-7bqlw554l7] {
    margin: 1rem 0 0;
    font-size: .9rem;
    color: var(--iwelia-muted);
}

ol.settings-note[b-7bqlw554l7] {
    padding-left: 1.2rem;
}

.settings-note code[b-7bqlw554l7] {
    font-size: .85em;
    word-break: break-all;
}

.mono-block[b-7bqlw554l7] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: .82rem;
    word-break: break-all;
}

.usage-summary dt[b-7bqlw554l7] {
    font-size: .78rem;
    color: var(--iwelia-muted);
}

.usage-summary dd[b-7bqlw554l7] {
    margin: 0;
    font-weight: var(--iwelia-weight-semibold);
    word-break: break-all;
}
/* /Components/Pages/TenantOnboarding.razor.rz.scp.css */
.onboarding-page[b-yme1hihuzi] {
    display: grid;
    gap: 1rem;
}

.page-heading h2[b-yme1hihuzi] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: var(--iwelia-weight-bold);
}

.page-heading p[b-yme1hihuzi] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.settings-panel[b-yme1hihuzi] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.panel-heading[b-yme1hihuzi],
.form-actions[b-yme1hihuzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-heading h2[b-yme1hihuzi] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.panel-heading p[b-yme1hihuzi] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.status-badge[b-yme1hihuzi] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: var(--iwelia-weight-semibold);
}

.status-enabled[b-yme1hihuzi] {
    color: #08714d;
    background: #ddf8ed;
}

.status-disabled[b-yme1hihuzi] {
    color: #455769;
    background: #eef3f6;
}

.save-message[b-yme1hihuzi] {
    margin: 0;
}

.onboarding-form[b-yme1hihuzi] {
    display: grid;
    gap: .9rem;
}

.settings-form[b-yme1hihuzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1rem;
}

.settings-form .field[b-yme1hihuzi] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.settings-form .field.full[b-yme1hihuzi] {
    grid-column: 1 / -1;
}

.settings-form input[b-yme1hihuzi],
.settings-form select[b-yme1hihuzi],
.settings-form textarea[b-yme1hihuzi] {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font: inherit;
}

.toggle-field[b-yme1hihuzi] {
    display: flex;
    align-items: center;
    gap: .5rem;
    grid-column: 1 / -1;
}

.form-actions[b-yme1hihuzi] {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.days-field[b-yme1hihuzi] {
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    padding: .6rem .8rem;
}

.days-field legend[b-yme1hihuzi] {
    font-size: .9rem;
    padding: 0 .3rem;
}

.day-check[b-yme1hihuzi] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-right: .8rem;
    font-size: .9rem;
}

.closed-date-row[b-yme1hihuzi] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .4rem;
}

.closed-date-row input[type="date"][b-yme1hihuzi] {
    width: auto;
}

.validation-row[b-yme1hihuzi] {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: 1rem;
}

.validation-ok[b-yme1hihuzi] {
    color: #08714d;
    font-weight: var(--iwelia-weight-semibold);
}

.validation-error[b-yme1hihuzi] {
    color: #a33;
    font-weight: var(--iwelia-weight-semibold);
}

.references-details[b-yme1hihuzi] {
    margin-top: 1rem;
    border-top: 1px solid var(--iwelia-border);
    padding-top: .8rem;
    font-size: .9rem;
}

.references-details summary[b-yme1hihuzi] {
    cursor: pointer;
    font-weight: var(--iwelia-weight-semibold);
}

.onboarding-result[b-yme1hihuzi] {
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.onboarding-result h3[b-yme1hihuzi] {
    margin: 0 0 .5rem;
    font-size: 1.05rem;
}

.onboarding-result h4[b-yme1hihuzi] {
    margin: 1rem 0 .3rem;
    font-size: .95rem;
}

.copy-box[b-yme1hihuzi] {
    padding: .6rem .8rem;
    background: #f2f6f8;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: .85rem;
    margin: .4rem 0;
}

.settings-table[b-yme1hihuzi] {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    font-size: .9rem;
}

.settings-table th[b-yme1hihuzi],
.settings-table td[b-yme1hihuzi] {
    padding: .5rem .4rem;
    border-bottom: 1px solid var(--iwelia-border);
    text-align: left;
    vertical-align: middle;
}

.tenants-panel[b-yme1hihuzi] {
    margin-top: .5rem;
}

@media (max-width: 900px) {
    .settings-form[b-yme1hihuzi] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/TenantSettings.razor.rz.scp.css */
/* Copied from Settings.razor.css: same panel/form/table language, plus
   the handoff-only bits (day checkboxes, unavailable note). */
.settings-page[b-ooumxw5ohd] {
    display: grid;
    gap: 1rem;
}

.page-state[b-ooumxw5ohd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 120px;
    padding: 1.5rem;
    color: var(--iwelia-muted);
    text-align: center;
}

.page-state.alert[b-ooumxw5ohd] {
    justify-content: space-between;
    min-height: 0;
    text-align: left;
}

.settings-layout[b-ooumxw5ohd] {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(520px, 1.15fr);
    gap: .9rem;
}

.settings-panel[b-ooumxw5ohd] {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iwelia-border);
    border-radius: var(--iwelia-radius);
    box-shadow: 0 12px 28px rgba(8, 35, 55, .05);
}

.panel-heading[b-ooumxw5ohd],
.form-actions[b-ooumxw5ohd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-heading h2[b-ooumxw5ohd] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--iwelia-weight-bold);
}

.panel-heading p[b-ooumxw5ohd] {
    margin: .35rem 0 0;
    color: var(--iwelia-muted);
}

.save-message[b-ooumxw5ohd] {
    margin: 0;
}

.settings-form[b-ooumxw5ohd] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1rem;
}

.settings-form .field[b-ooumxw5ohd] {
    display: grid;
    gap: .3rem;
    font-size: .9rem;
}

.settings-form .field.full[b-ooumxw5ohd] {
    grid-column: 1 / -1;
}

.settings-form input[b-ooumxw5ohd],
.settings-form select[b-ooumxw5ohd],
.settings-form textarea[b-ooumxw5ohd] {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid var(--iwelia-border);
    border-radius: .5rem;
    font: inherit;
}

.settings-form input:disabled[b-ooumxw5ohd],
.settings-form select:disabled[b-ooumxw5ohd] {
    color: var(--iwelia-muted);
    background: #f4f8fa;
}

.toggle-field[b-ooumxw5ohd] {
    display: flex;
    align-items: center;
    gap: .5rem;
    grid-column: 1 / -1;
}

.form-actions[b-ooumxw5ohd] {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.ghost-button[b-ooumxw5ohd],
.primary-button[b-ooumxw5ohd] {
    min-height: 40px;
    padding: 0 .95rem;
    border-radius: var(--iwelia-radius);
    font-size: .84rem;
    font-weight: 650;
    white-space: nowrap;
}

.ghost-button[b-ooumxw5ohd] {
    color: var(--iwelia-ink);
    background: #fff;
    border: 1px solid var(--iwelia-border);
}

.primary-button[b-ooumxw5ohd] {
    color: #fff;
    background: linear-gradient(135deg, #062c45, #075b82);
    border: 0;
    box-shadow: 0 12px 22px rgba(8, 35, 55, .14);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.primary-button:disabled[b-ooumxw5ohd] {
    opacity: .6;
}

.settings-table[b-ooumxw5ohd] {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    font-size: .9rem;
}

.settings-table th[b-ooumxw5ohd],
.settings-table td[b-ooumxw5ohd] {
    padding: .5rem .4rem;
    border-bottom: 1px solid var(--iwelia-border);
    text-align: left;
    vertical-align: top;
}

/* Handoff-only. */
.unavailable-note[b-ooumxw5ohd] {
    margin-top: 1rem;
    color: var(--iwelia-muted);
    font-size: .9rem;
}

.subheading[b-ooumxw5ohd] {
    margin: 1.2rem 0 0;
    font-size: .95rem;
    font-weight: var(--iwelia-weight-bold);
}

.days-fieldset[b-ooumxw5ohd] {
    padding: 0;
    border: 0;
}

.days-fieldset legend[b-ooumxw5ohd] {
    padding: 0;
    margin-bottom: .3rem;
    font-size: .9rem;
}

.days-row[b-ooumxw5ohd] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .9rem;
}

.day-checkbox[b-ooumxw5ohd] {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .9rem;
    cursor: pointer;
}

.day-checkbox input[b-ooumxw5ohd] {
    width: auto;
}

.closed-date-form[b-ooumxw5ohd] {
    border-top: 1px solid var(--iwelia-border);
    padding-top: 1rem;
}
/* /Components/Pages/VoiceCalls.razor.rz.scp.css */
/* Voice calls page (SAE-045): same visual language as the rest of
   Iwelia (tokens --iwelia-*, .new-button/.tool-button, badges pill,
   breakpoints 900px/640px), isolated per component. */

.voice-calls-page[b-49lpafjcfc] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 960px;
}

.page-heading h2[b-49lpafjcfc] {
    color: var(--iwelia-blue, #082337);
    margin: 0 0 0.25rem;
}

.page-heading p[b-49lpafjcfc] {
    color: var(--iwelia-muted, #5b6b7a);
    margin: 0;
}

.page-state[b-49lpafjcfc] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 0;
    color: var(--iwelia-muted, #5b6b7a);
}

.alert-retry[b-49lpafjcfc] {
    background: none;
    border: none;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 0.5rem;
    padding: 0;
}

.empty-state[b-49lpafjcfc] {
    border: 1px dashed var(--iwelia-border, #dce7ed);
    border-radius: var(--iwelia-radius, 8px);
    padding: 1.5rem;
    color: var(--iwelia-muted, #5b6b7a);
}

.empty-state strong[b-49lpafjcfc] {
    color: var(--iwelia-blue, #082337);
    display: block;
    margin-bottom: 0.25rem;
}

.empty-state p[b-49lpafjcfc] {
    margin: 0;
}

.calls-toolbar[b-49lpafjcfc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.calls-toolbar button[b-49lpafjcfc] {
    border: 1px solid var(--iwelia-border, #dce7ed);
    background: #fff;
    color: var(--iwelia-blue, #082337);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.calls-toolbar button.active[b-49lpafjcfc] {
    background: var(--iwelia-teal, #078fa0);
    border-color: var(--iwelia-teal, #078fa0);
    color: #fff;
}

.calls-list[b-49lpafjcfc] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.call-card[b-49lpafjcfc] {
    border: 1px solid var(--iwelia-border, #dce7ed);
    border-radius: var(--iwelia-radius, 8px);
    padding: 1rem 1.25rem;
    background: #fff;
}

.call-header[b-49lpafjcfc] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.call-who[b-49lpafjcfc] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.call-who strong[b-49lpafjcfc] {
    color: var(--iwelia-blue, #082337);
}

.call-phone[b-49lpafjcfc] {
    color: var(--iwelia-muted, #5b6b7a);
    font-size: 0.9rem;
}

.badge[b-49lpafjcfc] {
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.outcome-booked[b-49lpafjcfc] {
    background: #dcfce7;
    color: #166534;
}

.outcome-cancelled[b-49lpafjcfc],
.outcome-rescheduled[b-49lpafjcfc] {
    background: #fef3c7;
    color: #92400e;
}

.outcome-escalatedtohuman[b-49lpafjcfc] {
    background: #dbeafe;
    color: #1e40af;
}

.outcome-infoprovided[b-49lpafjcfc] {
    background: #e0f2f1;
    color: #0f766e;
}

.outcome-noaction[b-49lpafjcfc] {
    background: #f1f5f9;
    color: #475569;
}

.outcome-failed[b-49lpafjcfc] {
    background: #fee2e2;
    color: #991b1b;
}

.call-meta[b-49lpafjcfc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    color: var(--iwelia-muted, #5b6b7a);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.call-meta a[b-49lpafjcfc] {
    color: var(--iwelia-teal, #078fa0);
}

.call-summary[b-49lpafjcfc] {
    margin: 0.75rem 0 0;
    color: var(--iwelia-blue, #082337);
}

.call-transcript[b-49lpafjcfc] {
    margin-top: 0.75rem;
    border-top: 1px solid var(--iwelia-border, #dce7ed);
    padding-top: 0.75rem;
}

.call-transcript summary[b-49lpafjcfc] {
    cursor: pointer;
    color: var(--iwelia-teal, #078fa0);
    font-weight: 600;
}

.call-transcript p[b-49lpafjcfc] {
    white-space: pre-wrap;
    color: var(--iwelia-blue, #082337);
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .call-header[b-49lpafjcfc] {
        flex-direction: column;
    }

    .calls-toolbar button[b-49lpafjcfc] {
        flex: 1 1 auto;
    }
}
