/* /Components/Cards/ReportCard.razor.rz.scp.css */
.report-card[b-4rfkn1ibwo] {
    border: 1px solid #dde9e1;
    border-radius: .85rem;
    overflow: hidden;
}

/* Collapsible toggle header */
.report-card-toggle[b-4rfkn1ibwo] {
    display: flex;
    width: 100%;
    align-items: center;
    gap: .65rem;
    padding: .8rem 1rem;
    background: linear-gradient(180deg, #fcfeff, #f7fcf9);
    border: none;
    border-bottom: 1px solid var(--mint-50);
    cursor: pointer;
    text-align: left;
    transition: background .15s;
}

.report-card-toggle:hover[b-4rfkn1ibwo] { background: var(--mint-25); }

.report-card-icon[b-4rfkn1ibwo] {
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1;
}

.report-card-title-group[b-4rfkn1ibwo] {
    flex: 1;
    min-width: 0;
}

.report-card-title[b-4rfkn1ibwo] {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--mint-800);
}

.report-card-subtitle[b-4rfkn1ibwo] {
    display: block;
    font-size: .7rem;
    color: var(--ink-500);
    margin-top: .1rem;
}

.report-card-chevron[b-4rfkn1ibwo] {
    font-size: .65rem;
    color: var(--ink-500);
    flex-shrink: 0;
}

/* Body */
.report-card-body[b-4rfkn1ibwo] {
    padding: 1rem 1.1rem 1.2rem;
}

.report-range[b-4rfkn1ibwo] {
    font-size: .72rem;
    color: var(--ink-500);
    margin-bottom: 1rem;
}

/* Sections */
.report-sections[b-4rfkn1ibwo] {
    display: grid;
    gap: .1rem;
}

.report-section[b-4rfkn1ibwo] {
    border-top: 1px solid var(--mint-50);
    padding: .75rem 0;
}

.report-section:first-child[b-4rfkn1ibwo] { border-top: none; padding-top: 0; }
.report-section:last-child[b-4rfkn1ibwo]  { padding-bottom: 0; }

.report-section-heading[b-4rfkn1ibwo] {
    margin: 0 0 .35rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--mint-700);
}

.report-section-content[b-4rfkn1ibwo] {
    font-size: .82rem;
    color: var(--ink-700);
    line-height: 1.55;
    white-space: pre-wrap;
}

/* Full report toggle */
.report-full-toggle[b-4rfkn1ibwo] {
    margin-bottom: .75rem;
}

.report-full-toggle-btn[b-4rfkn1ibwo] {
    font-size: .75rem;
    color: var(--mint-700);
    background: none;
    border: 1px solid var(--mint-200);
    border-radius: .4rem;
    padding: .25rem .65rem;
    cursor: pointer;
    transition: background .12s;
}

.report-full-toggle-btn:hover[b-4rfkn1ibwo] { background: var(--mint-25); }

.report-full-body[b-4rfkn1ibwo] {
    font-family: inherit;
    font-size: .82rem;
    color: var(--ink-700);
    line-height: 1.6;
    white-space: pre-wrap;
    background: var(--mint-25);
    border: 1px solid var(--mint-50);
    border-radius: .5rem;
    padding: 1rem;
    margin: 0;
    overflow-x: auto;
}

/* Empty state */
.report-empty[b-4rfkn1ibwo] {
    text-align: center;
    padding: 1.5rem 1rem;
}

.report-empty-title[b-4rfkn1ibwo] {
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-700);
    margin: 0 0 .3rem;
}

.report-empty-hint[b-4rfkn1ibwo] {
    font-size: .78rem;
    color: var(--ink-500);
    margin: 0;
}
/* /Components/Cards/TimelineCard.razor.rz.scp.css */
/* ── Card frame ─────────────────────────────────────── */
.content-card[b-zpxljeg4r5] {
    background: #fff;
    border: 1px solid #dde9e1;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.content-card-header[b-zpxljeg4r5] {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--mint-50);
    background: linear-gradient(180deg, #fcfeff, #f7fcf9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
}

.content-card-header-inner[b-zpxljeg4r5] {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex: 1;
    min-width: 0;
}

.content-card-icon[b-zpxljeg4r5] {
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1;
}

.content-card-title[b-zpxljeg4r5] {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    color: var(--mint-800);
    line-height: 1.2;
}

.content-card-subtitle[b-zpxljeg4r5] {
    font-size: .72rem;
    color: var(--ink-500);
    margin-top: .1rem;
}

.content-card-toggle[b-zpxljeg4r5] {
    background: none;
    border: none;
    color: var(--ink-500);
    cursor: pointer;
    padding: .25rem .4rem;
    font-size: .8rem;
    border-radius: .35rem;
    line-height: 1;
    transition: color .15s, background .15s;
    flex-shrink: 0;
}

.content-card-toggle:hover[b-zpxljeg4r5] {
    color: var(--mint-700);
    background: var(--mint-50);
}

.content-card-body[b-zpxljeg4r5] {
    padding: 1rem 1.1rem;
}

/* ── Tracked conditions display ─────────────────────── */
.timeline-conditions-section[b-zpxljeg4r5] {
    padding-bottom: .65rem;
    margin-bottom: .65rem;
    border-bottom: 1px solid var(--mint-50);
}

.timeline-section-label[b-zpxljeg4r5] {
    font-size: .72rem;
    color: var(--ink-500);
    font-weight: 600;
    margin-bottom: .4rem;
}

.timeline-conditions-pills[b-zpxljeg4r5] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.timeline-condition-badge[b-zpxljeg4r5] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .2rem .62rem;
    font-size: .72rem;
    font-weight: 700;
    background: var(--mint-100);
    color: var(--mint-800);
    border: 1px solid var(--mint-300);
}

/* ── Quick filter ───────────────────────────────────── */
.timeline-filter-section[b-zpxljeg4r5] {
    margin-bottom: .75rem;
}

.quick-filter-row[b-zpxljeg4r5] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.quick-filter-pill[b-zpxljeg4r5] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1.5px solid #d6e8dc;
    background: rgba(255, 255, 255, .9);
    color: var(--mint-700);
    font-size: .72rem;
    font-weight: 700;
    padding: .28rem .65rem;
    cursor: pointer;
    line-height: 1;
    transition: border-color .12s, background .12s;
}

.quick-filter-pill:hover:not(:disabled)[b-zpxljeg4r5] {
    border-color: var(--mint-400);
    background: var(--mint-50);
}

.quick-filter-pill.active[b-zpxljeg4r5] {
    background: linear-gradient(135deg, var(--mint-500), var(--mint-600));
    border-color: var(--mint-600);
    color: #fff;
    box-shadow: 0 3px 8px rgba(31, 143, 95, .18);
}

.timeline-filter-hint[b-zpxljeg4r5] {
    font-size: .68rem;
    color: var(--ink-500);
    margin-top: .4rem;
}

/* ── Empty state ────────────────────────────────────── */
.timeline-empty[b-zpxljeg4r5] {
    color: var(--ink-500);
    font-size: .85rem;
    padding: .25rem 0;
}

/* ── Desktop table (≥1200px) ────────────────────────── */
.timeline-desktop[b-zpxljeg4r5] {
    display: none;
}

@media (min-width: 1200px) {
    .timeline-desktop[b-zpxljeg4r5] {
        display: block;
    }
}

.timeline-table[b-zpxljeg4r5] {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.timeline-table thead tr[b-zpxljeg4r5] {
    border-bottom: 2px solid var(--mint-100);
}

.timeline-table th[b-zpxljeg4r5] {
    padding: .48rem .75rem;
    text-align: left;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink-500);
}

.timeline-table th:last-child[b-zpxljeg4r5] {
    text-align: right;
}

.timeline-table tbody tr[b-zpxljeg4r5] {
    border-bottom: 1px solid #f0f5f2;
    transition: background .12s;
}

.timeline-table tbody tr:last-child[b-zpxljeg4r5] {
    border-bottom: none;
}

.timeline-table tbody tr:hover[b-zpxljeg4r5] {
    background: var(--mint-25);
}

.timeline-table td[b-zpxljeg4r5] {
    padding: .6rem .75rem;
    vertical-align: top;
}

.timeline-table-date[b-zpxljeg4r5] {
    white-space: nowrap;
    color: var(--ink-500);
    font-size: .78rem;
    font-weight: 600;
}

.timeline-table-title[b-zpxljeg4r5] {
    font-weight: 600;
    color: var(--ink-900);
    font-size: .85rem;
}

.timeline-table-desc[b-zpxljeg4r5] {
    color: var(--ink-700);
    font-size: .82rem;
    line-height: 1.4;
}

.timeline-table-count[b-zpxljeg4r5] {
    text-align: right;
    color: var(--mint-700);
    font-weight: 700;
    font-size: .8rem;
    white-space: nowrap;
}

/* ── Mobile cards (<1200px) ─────────────────────────── */
.timeline-mobile[b-zpxljeg4r5] {
    display: block;
}

@media (min-width: 1200px) {
    .timeline-mobile[b-zpxljeg4r5] {
        display: none;
    }
}

.timeline-item[b-zpxljeg4r5] {
    border: 1px solid #e3eee6;
    border-radius: .85rem;
    background: #fafdfb;
    padding: .8rem .9rem;
    margin-bottom: .55rem;
}

.timeline-item:last-child[b-zpxljeg4r5] {
    margin-bottom: 0;
}

.timeline-item-top[b-zpxljeg4r5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    margin-bottom: .35rem;
}

.timeline-item-date[b-zpxljeg4r5] {
    font-size: .73rem;
    color: var(--ink-500);
    font-weight: 600;
}

.timeline-item-count[b-zpxljeg4r5] {
    border-radius: 999px;
    border: 1px solid var(--mint-300);
    background: var(--mint-50);
    color: var(--mint-700);
    padding: .14rem .48rem;
    font-size: .68rem;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-item-title[b-zpxljeg4r5] {
    color: var(--ink-900);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .2rem;
}

.timeline-item-description[b-zpxljeg4r5] {
    color: var(--ink-500);
    font-size: .8rem;
    line-height: 1.45;
    white-space: pre-wrap;
}
/* /Components/Layout/BottomNav.razor.rz.scp.css */
.bottom-nav[b-8po15pu7ru] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e5e7eb;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-grid[b-8po15pu7ru] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 0.75rem 0;
}

.bottom-nav-item[b-8po15pu7ru] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6b7280;
    font-size: 0.75rem;
    padding: 0.25rem;
    transition: color 0.2s;
}

.bottom-nav-item.active[b-8po15pu7ru] {
    color: #047857; /* emerald-700 to match mockup */
}

.bottom-nav-item.active .bottom-nav-label[b-8po15pu7ru] {
    font-weight: 500;
}

.bottom-nav-icon[b-8po15pu7ru] {
    width: 22px;
    height: 22px;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav-icon svg[b-8po15pu7ru] {
    width: 20px;
    height: 20px;
}

.bottom-nav-label[b-8po15pu7ru] {
    font-size: 0.625rem;
    line-height: 1;
}

.bottom-nav-patient-indicator[b-8po15pu7ru] {
    padding: 0.375rem 0.75rem;
    background: rgba(5, 120, 87, 0.1); /* emerald-700 with opacity */
    border-bottom: 1px solid rgba(5, 120, 87, 0.2);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.bottom-nav-patient-indicator:hover[b-8po15pu7ru] {
    background: rgba(5, 120, 87, 0.15);
}

.bottom-nav-patient-indicator:active[b-8po15pu7ru] {
    background: rgba(5, 120, 87, 0.2);
}

.bottom-nav-patient-label[b-8po15pu7ru] {
    font-size: 0.6875rem;
    color: #047857; /* emerald-700 */
    font-weight: 500;
}

.bottom-nav-patient-action[b-8po15pu7ru] {
    font-size: 0.5625rem;
    color: #059669; /* emerald-600 */
    font-weight: 400;
    opacity: 0.8;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-5mwlafiq14] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.content[b-5mwlafiq14] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

.content-body[b-5mwlafiq14] {
    flex: 1;
    padding-top: 1.1rem;
    padding-bottom: 5rem; /* Space for bottom nav on mobile */
}

.sidebar[b-5mwlafiq14] {
    background: var(--mint-800);
}

.top-row[b-5mwlafiq14] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-5mwlafiq14]  a, .top-row[b-5mwlafiq14]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-5mwlafiq14]  a:hover, .top-row[b-5mwlafiq14]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-5mwlafiq14]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Mobile-only: show bottom nav, hide sidebar */
.mobile-only[b-5mwlafiq14] {
    display: block;
}

.desktop-only[b-5mwlafiq14] {
    display: none;
}

@media (max-width: 640.98px) {
    .top-row[b-5mwlafiq14] {
        justify-content: space-between;
    }

    .top-row[b-5mwlafiq14]  a, .top-row[b-5mwlafiq14]  .btn-link {
        margin-left: 0;
    }

    .content-body[b-5mwlafiq14] {
        padding-bottom: 5rem; /* Space for bottom nav */
    }
}

/* Desktop-only: show sidebar, hide bottom nav */
@media (min-width: 641px) {
    .app-shell[b-5mwlafiq14] {
        flex-direction: row;
    }

    .mobile-only[b-5mwlafiq14] {
        display: none;
    }

    .desktop-only[b-5mwlafiq14] {
        display: block;
    }

    .sidebar[b-5mwlafiq14] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-5mwlafiq14] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-5mwlafiq14]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-5mwlafiq14], .content-body[b-5mwlafiq14] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .content-body[b-5mwlafiq14] {
        padding-bottom: 1.1rem; /* No bottom nav on desktop */
    }
}

#blazor-error-ui[b-5mwlafiq14] {
    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-5mwlafiq14] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-j761dmk6he] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-j761dmk6he] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-j761dmk6he] {
    min-height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.22);
}

.navbar-brand[b-j761dmk6he] {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 9rem;
    white-space: normal;
}

.nav-top-shell[b-j761dmk6he] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.auth-controls[b-j761dmk6he] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-height: 1.7rem;
}

.auth-pill[b-j761dmk6he] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.auth-pill-subtle[b-j761dmk6he] {
    background: rgba(255, 255, 255, 0.12);
}

.auth-pill-warning[b-j761dmk6he] {
    background: rgba(255, 193, 7, 0.22);
}

.auth-signout-form[b-j761dmk6he] {
    display: contents;
}

.auth-btn-link[b-j761dmk6he] {
    border: none;
    background: transparent;
    color: #f5f7ff;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.auth-btn-link:hover[b-j761dmk6he] {
    color: #fff;
}

.auth-btn-link:disabled[b-j761dmk6he] {
    opacity: 0.7;
    cursor: default;
}

.bi[b-j761dmk6he] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-j761dmk6he] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-j761dmk6he] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-j761dmk6he] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-j761dmk6he] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-j761dmk6he] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-j761dmk6he] {
        padding-bottom: 1rem;
    }

    .nav-item[b-j761dmk6he]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-j761dmk6he]  a.active {
    background-color: rgba(255, 255, 255, 0.18);
    color: white;
    border-left: 3px solid rgba(255, 255, 255, 0.75);
    padding-left: calc(1rem - 3px);
}

.nav-item[b-j761dmk6he]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-j761dmk6he] {
    display: none;
}

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

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

    .nav-scrollable[b-j761dmk6he] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    .auth-controls[b-j761dmk6he] {
        max-width: 13rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-av0br4s0fz],
.components-reconnect-repeated-attempt-visible[b-av0br4s0fz],
.components-reconnect-failed-visible[b-av0br4s0fz],
.components-pause-visible[b-av0br4s0fz],
.components-resume-failed-visible[b-av0br4s0fz],
.components-rejoining-animation[b-av0br4s0fz] {
    display: none;
}

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


#components-reconnect-modal[b-av0br4s0fz] {
    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-av0br4s0fz 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-av0br4s0fz {
    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/Admin.razor.rz.scp.css */
.admin-loading[b-08qklosd47],
.admin-denied[b-08qklosd47] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    gap: 0.75rem;
    color: var(--ink-500);
}

.admin-link[b-08qklosd47] {
    color: var(--mint-700);
    font-weight: 600;
    text-decoration: none;
}

.admin-link:hover[b-08qklosd47] { text-decoration: underline; }

.admin-page[b-08qklosd47] {
    max-width: 56rem;
    margin: 0 auto;
    padding: 1.5rem 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-header[b-08qklosd47] { border-bottom: 1px solid var(--mint-100); padding-bottom: 1rem; }

.admin-title[b-08qklosd47] {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0 0 0.25rem;
}

.admin-subtitle[b-08qklosd47] {
    font-size: 0.825rem;
    color: var(--ink-500);
    margin: 0;
}

.admin-section[b-08qklosd47] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.admin-section-title[b-08qklosd47] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink-700);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-error[b-08qklosd47] {
    font-size: 0.825rem;
    color: var(--danger);
    background: var(--danger-light);
    border: 1px solid #fca5a5;
    border-radius: 0.45rem;
    padding: 0.5rem 0.75rem;
}

.admin-empty[b-08qklosd47] {
    font-size: 0.875rem;
    color: var(--ink-500);
    margin: 0;
}

/* ── Stat cards ── */
.admin-stat-grid[b-08qklosd47] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.admin-stat-card[b-08qklosd47] {
    background: var(--mint-25, #f7fcf9);
    border: 1px solid var(--mint-100);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.admin-stat-value[b-08qklosd47] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mint-700);
    line-height: 1;
}

.admin-stat-label[b-08qklosd47] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-500);
    text-align: center;
}

/* ── Tables ── */
.admin-table[b-08qklosd47] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.825rem;
    color: var(--ink-700);
}

.admin-table th[b-08qklosd47],
.admin-table td[b-08qklosd47] {
    padding: 0.45rem 0.75rem;
    border-bottom: 1px solid var(--mint-50, #f0fdf4);
    text-align: left;
}

.admin-table thead th[b-08qklosd47] {
    font-weight: 700;
    color: var(--ink-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--mint-25, #f7fcf9);
}

.admin-col-num[b-08qklosd47] { text-align: right; }

.admin-table-sm td[b-08qklosd47], .admin-table-sm th[b-08qklosd47] { padding: 0.35rem 0.65rem; }

/* ── Feedback cards ── */
.admin-feedback-list[b-08qklosd47] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.admin-feedback-card[b-08qklosd47] {
    border: 1px solid var(--mint-100);
    border-radius: 0.6rem;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: #fff;
}

.admin-feedback-meta[b-08qklosd47] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--ink-500);
}

.admin-feedback-cat[b-08qklosd47] {
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--mint-100);
    color: var(--mint-800);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-feedback-cat-bug[b-08qklosd47] { background: #fee2e2; color: #991b1b; }
.admin-feedback-cat-suggestion[b-08qklosd47] { background: var(--mint-100); color: var(--mint-800); }
.admin-feedback-cat-question[b-08qklosd47] { background: #fef9c3; color: #713f12; }
.admin-feedback-cat-other[b-08qklosd47] { background: #f1f5f9; color: var(--ink-700); }

.admin-feedback-time[b-08qklosd47] { font-variant-numeric: tabular-nums; }

.admin-feedback-page[b-08qklosd47] {
    max-width: 24rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--ink-500);
}

.admin-feedback-msg[b-08qklosd47] {
    font-size: 0.875rem;
    color: var(--ink-900);
    margin: 0;
    line-height: 1.5;
    white-space: pre-wrap;
}

@media (max-width: 480px) {
    .admin-stat-grid[b-08qklosd47] { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .admin-stat-value[b-08qklosd47] { font-size: 1.4rem; }
    .admin-stat-card[b-08qklosd47] { padding: 0.75rem 0.5rem; }
}
/* /Components/Pages/Admissions.razor.rz.scp.css */
/* Admissions-specific overrides — shared styles live in app.css (.log-*) */
/* /Components/Pages/Appointments.razor.rz.scp.css */
/* Appointments-specific overrides — shared styles live in app.css (.log-*) */

/* Status chip row in composer */
.appt-status-row[b-rs0lgyuvph] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    margin: .65rem 0 .25rem;
}

/* List panel header: chips + refresh button side by side */
.appt-list-header-right[b-rs0lgyuvph] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.appt-filter-chips[b-rs0lgyuvph] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

/* Fact row inside an appointment item */
.appt-facts[b-rs0lgyuvph] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    font-size: .75rem;
    color: var(--ink-500);
    margin-top: .15rem;
}
/* /Components/Pages/ConditionDetail.razor.rz.scp.css */
.condition-empty-state[b-d5m74pztd6] {
    min-height: 60vh;
    text-align: center;
    padding: 1.25rem;
}

.condition-header-card[b-d5m74pztd6] {
    display: none;
}

.condition-header-row[b-d5m74pztd6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.condition-back-btn[b-d5m74pztd6] {
    color: #047857;
    font-size: 1.125rem;
    line-height: 1;
}

.condition-header-spacer[b-d5m74pztd6] {
    width: 1.5rem;
    flex: 0 0 1.5rem;
}

.content-card[b-d5m74pztd6] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

.content-card-header[b-d5m74pztd6] {
    padding: 1rem 1rem 0.875rem 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.content-card-body[b-d5m74pztd6] {
    padding: 1rem;
}

.content-card-icon[b-d5m74pztd6] {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #ecfdf5;
    font-size: 1rem;
}

.condition-meta[b-d5m74pztd6] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem 1rem;
}

.condition-meta-item[b-d5m74pztd6] {
    display: flex;
    gap: 0.375rem;
    align-items: baseline;
}

.condition-meta-label[b-d5m74pztd6] {
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 600;
}

.condition-meta-value[b-d5m74pztd6] {
    color: #111827;
    font-size: 0.875rem;
}

.report-section-heading[b-d5m74pztd6] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.375rem;
}

.report-section-content[b-d5m74pztd6] {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    padding: 0.625rem 0.75rem;
}

.condition-guided-banner[b-d5m74pztd6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
    padding: 0.95rem 1rem;
    border: 1px solid #d6e8dc;
    border-radius: 1rem;
    background: linear-gradient(145deg, #eef7f1 0%, #f8fcfa 100%);
}

.condition-guided-eyebrow[b-d5m74pztd6] {
    color: #176b47;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.condition-guided-title[b-d5m74pztd6] {
    margin: 0.2rem 0 0;
    color: #14532d;
    font-size: 1rem;
    font-weight: 800;
}

.condition-guided-copy[b-d5m74pztd6] {
    margin: 0.45rem 0 0;
    max-width: 42rem;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.45;
}

.condition-guided-actions[b-d5m74pztd6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.symptom-list[b-d5m74pztd6] {
    display: grid;
    gap: 0.625rem;
}

.symptom-item[b-d5m74pztd6] {
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    padding: 0.625rem 0.75rem;
    background: #f9fafb;
}

.symptom-item-header[b-d5m74pztd6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.symptom-title[b-d5m74pztd6] {
    color: #111827;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
}

.symptom-meta[b-d5m74pztd6] {
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.symptom-meta-line[b-d5m74pztd6] {
    display: flex;
    gap: 0.35rem;
    align-items: baseline;
}

.symptom-meta-label[b-d5m74pztd6] {
    color: #475569;
    font-weight: 700;
}

.symptom-notes[b-d5m74pztd6] {
    color: #374151;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    white-space: pre-wrap;
}

.symptom-form[b-d5m74pztd6] {
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    padding: 0.75rem;
    background: #ffffff;
}

.symptom-form-guided[b-d5m74pztd6] {
    border-color: #86efac;
    box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.18);
}

.condition-event-helper[b-d5m74pztd6] {
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.4;
}

.condition-event-disabled-note[b-d5m74pztd6] {
    margin-top: 0.75rem;
    border: 1px dashed #d1d5db;
    border-radius: 0.625rem;
    padding: 0.75rem;
    background: #f9fafb;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.45;
}

.condition-event-form[b-d5m74pztd6] {
    margin-top: 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    padding: 0.75rem;
    background: #ffffff;
}

.condition-event-grid[b-d5m74pztd6] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.condition-event-grid-span-2[b-d5m74pztd6] {
    grid-column: 1 / -1;
}

.condition-event-actions[b-d5m74pztd6] {
    margin-top: 0.85rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.condition-medication-header[b-d5m74pztd6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.condition-medication-summary[b-d5m74pztd6] {
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.35;
}

.condition-medication-list[b-d5m74pztd6] {
    display: grid;
    gap: 0.625rem;
}

.condition-medication-item[b-d5m74pztd6] {
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    padding: 0.625rem 0.75rem;
    background: #f9fafb;
}

.condition-medication-item-header[b-d5m74pztd6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.condition-medication-title-row[b-d5m74pztd6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.condition-medication-status[b-d5m74pztd6] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
}

.condition-medication-status.is-active[b-d5m74pztd6] {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.condition-medication-status.is-inactive[b-d5m74pztd6] {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #4b5563;
}

.condition-medication-title[b-d5m74pztd6] {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.condition-medication-meta[b-d5m74pztd6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin-top: 0.35rem;
    color: #6b7280;
    font-size: 0.76rem;
    line-height: 1.4;
}

.condition-medication-evidence[b-d5m74pztd6] {
    margin-top: 0.45rem;
    color: #374151;
    font-size: 0.8125rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.condition-medication-helper[b-d5m74pztd6] {
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.4;
}

.condition-medication-form[b-d5m74pztd6] {
    margin-top: 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    padding: 0.75rem;
    background: #ffffff;
}

.condition-medication-grid[b-d5m74pztd6] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.condition-medication-grid-span-2[b-d5m74pztd6] {
    grid-column: 1 / -1;
}

.condition-medication-actions[b-d5m74pztd6] {
    margin-top: 0.85rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.condition-activity-header[b-d5m74pztd6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.condition-activity-summary[b-d5m74pztd6] {
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.35;
}

.condition-activity-list[b-d5m74pztd6] {
    display: grid;
    gap: 0.625rem;
}

.condition-activity-item[b-d5m74pztd6] {
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    padding: 0.625rem 0.75rem;
    background: #f9fafb;
}

.condition-activity-item-header[b-d5m74pztd6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.condition-activity-badge[b-d5m74pztd6] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.16rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
}

.condition-activity-badge.is-symptom[b-d5m74pztd6] {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.condition-activity-badge.is-event[b-d5m74pztd6] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.condition-activity-time[b-d5m74pztd6] {
    color: #6b7280;
    font-size: 0.72rem;
    text-align: right;
    line-height: 1.35;
}

.condition-activity-time-line[b-d5m74pztd6] {
    display: flex;
    justify-content: flex-end;
    gap: 0.35rem;
}

.condition-activity-time-label[b-d5m74pztd6] {
    color: #475569;
    font-weight: 700;
}

.condition-activity-title[b-d5m74pztd6] {
    margin-top: 0.4rem;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.condition-activity-meta[b-d5m74pztd6] {
    margin-top: 0.2rem;
    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 600;
}

.condition-activity-description[b-d5m74pztd6],
.condition-activity-notes[b-d5m74pztd6] {
    margin-top: 0.3rem;
    color: #374151;
    font-size: 0.8125rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.condition-activity-footnote[b-d5m74pztd6] {
    margin-top: 0.65rem;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.4;
}

.condition-activity-footnote a[b-d5m74pztd6] {
    color: #047857;
    font-weight: 600;
}

@media (max-width: 768px) {
    .condition-guided-banner[b-d5m74pztd6] {
        flex-direction: column;
    }

    .condition-header-card[b-d5m74pztd6],
    .content-card[b-d5m74pztd6] {
        border-radius: 0.625rem;
    }

    .content-card-header[b-d5m74pztd6],
    .content-card-body[b-d5m74pztd6] {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }

    .condition-meta[b-d5m74pztd6] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .condition-event-grid[b-d5m74pztd6] {
        grid-template-columns: 1fr;
    }

    .condition-medication-grid[b-d5m74pztd6] {
        grid-template-columns: 1fr;
    }

    .condition-event-actions[b-d5m74pztd6] {
        justify-content: stretch;
    }

    .condition-event-actions .btn[b-d5m74pztd6],
    .condition-medication-actions .btn[b-d5m74pztd6] {
        width: 100%;
    }

    .condition-activity-header[b-d5m74pztd6],
    .condition-activity-item-header[b-d5m74pztd6],
    .condition-medication-header[b-d5m74pztd6],
    .condition-medication-item-header[b-d5m74pztd6],
    .symptom-item-header[b-d5m74pztd6] {
        flex-direction: column;
        align-items: stretch;
    }

    .condition-activity-time[b-d5m74pztd6] {
        text-align: left;
    }

    .condition-activity-time-line[b-d5m74pztd6] {
        justify-content: flex-start;
    }
}
/* /Components/Pages/Conditions.razor.rz.scp.css */
.conditions-list[b-xyvyxd2u87] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.condition-card[b-xyvyxd2u87] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.9375rem 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
}

.condition-card:hover[b-xyvyxd2u87] {
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
    border-color: #047857;
}

.condition-card:focus[b-xyvyxd2u87] {
    outline: 2px solid #047857;
    outline-offset: 2px;
}

.condition-card-header[b-xyvyxd2u87] {
    margin-bottom: 0.625rem;
}

.condition-name[b-xyvyxd2u87] {
    font-size: 1.025rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.35;
}

.condition-card-body[b-xyvyxd2u87] {
    padding-top: 0.625rem;
    border-top: 1px solid #f3f4f6;
}

.condition-meta[b-xyvyxd2u87] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
}

.condition-meta-item[b-xyvyxd2u87] {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.condition-meta-label[b-xyvyxd2u87] {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.condition-meta-value[b-xyvyxd2u87] {
    font-size: 0.875rem;
    color: #111827;
    line-height: 1.3;
}

.manual-condition-composer[b-xyvyxd2u87] {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem;
    background: #ffffff;
}

.condition-setup-banner[b-xyvyxd2u87] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #d6e8dc;
    border-radius: 1rem;
    background: linear-gradient(145deg, #eef7f1 0%, #f8fcfa 100%);
}

.condition-setup-eyebrow[b-xyvyxd2u87] {
    color: #176b47;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.condition-setup-title[b-xyvyxd2u87] {
    margin: 0.2rem 0 0;
    color: #14532d;
    font-size: 1.2rem;
    font-weight: 800;
}

.condition-setup-copy[b-xyvyxd2u87] {
    margin: 0.55rem 0 0;
    max-width: 42rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.condition-setup-actions[b-xyvyxd2u87] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.manual-condition-title[b-xyvyxd2u87] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.manual-condition-row[b-xyvyxd2u87] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

.manual-condition-error[b-xyvyxd2u87] {
    margin-top: 0.5rem;
    color: #b91c1c;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .condition-setup-banner[b-xyvyxd2u87] {
        flex-direction: column;
    }

    .condition-card[b-xyvyxd2u87] {
        border-radius: 0.625rem;
        padding: 0.875rem;
    }

    .condition-name[b-xyvyxd2u87] {
        font-size: 0.975rem;
    }

    .condition-meta[b-xyvyxd2u87] {
        grid-template-columns: 1fr;
        gap: 0.4375rem;
    }

    .manual-condition-row[b-xyvyxd2u87] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Diet.razor.rz.scp.css */
/* Diet-specific overrides — shared styles live in app.css (.log-*) */
/* /Components/Pages/Events.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════
   Events page — redesigned quick-entry UX
   Design tokens: see app.css / design-system.html
   ══════════════════════════════════════════════════════ */

/* ── Shell ── */
.events-shell[b-y1etwiowol] {
    display: grid;
    gap: 1rem;
    padding: 1rem 0 2rem;
    position: relative;
}

/* ── Empty (no patient) ── */
.events-empty-state[b-y1etwiowol] {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--ink-500);
}

.events-empty-title[b-y1etwiowol] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink-700);
    margin: 0 0 .5rem;
}

.events-empty-copy[b-y1etwiowol] {
    font-size: .85rem;
    margin-bottom: 1.25rem;
}

/* ── Toast ── */
.events-toast[b-y1etwiowol] {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mint-700);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem 1.1rem;
    border-radius: .75rem;
    font-size: .85rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
    z-index: 1000;
    animation: toast-in-b-y1etwiowol .2s ease;
}

.events-toast-icon[b-y1etwiowol] {
    font-size: 1rem;
    font-weight: 800;
}

@keyframes toast-in-b-y1etwiowol {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Composer panel ── */
.events-composer[b-y1etwiowol] {
    background: #fff;
    border: 1px solid #dde9e1;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    padding: 1rem 1.1rem;
    display: grid;
    gap: .65rem;
}

/* ── Row (label + chips/inputs) ── */
.events-row[b-y1etwiowol] {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    flex-wrap: wrap;
}

.events-row-label[b-y1etwiowol] {
    font-size: .72rem;
    font-weight: 700;
    color: var(--ink-700);
    padding-top: .35rem;
    min-width: 4.5rem;
    flex-shrink: 0;
}

.events-row-muted[b-y1etwiowol] {
    font-size: .75rem;
    color: var(--ink-500);
    padding-top: .35rem;
}

/* ── Generic chip row ── */
.events-chips[b-y1etwiowol] {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.events-chips-sm[b-y1etwiowol] {
    gap: .2rem;
}

/* ── Type / When chip ── */
.events-chip[b-y1etwiowol] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1.5px solid #d6e8dc;
    background: rgba(255, 255, 255, .9);
    color: var(--mint-700);
    font-size: .73rem;
    font-weight: 700;
    padding: .3rem .65rem;
    cursor: pointer;
    transition: border-color .12s, background .12s, color .12s, transform .1s;
    line-height: 1;
}

.events-chip:hover:not(:disabled)[b-y1etwiowol] {
    border-color: var(--mint-400);
    background: var(--mint-50);
    transform: translateY(-1px);
}

.events-chip.active[b-y1etwiowol] {
    background: linear-gradient(135deg, var(--mint-500), var(--mint-600));
    border-color: var(--mint-600);
    color: #fff;
    box-shadow: 0 4px 10px rgba(31, 143, 95, .18);
}

.events-chip:disabled[b-y1etwiowol] {
    opacity: .55;
    cursor: default;
}

.events-chip-sm[b-y1etwiowol] {
    font-size: .65rem;
    padding: .22rem .52rem;
}

/* ── Condition chip (slightly different shade) ── */
.events-chip-cond[b-y1etwiowol] {
    font-weight: 600;
    color: var(--ink-700);
    border-color: #d1d5db;
    background: #f9fafb;
}

.events-chip-cond:hover:not(:disabled)[b-y1etwiowol] {
    border-color: var(--mint-400);
    background: var(--mint-50);
    color: var(--mint-700);
}

.events-chip-cond.active[b-y1etwiowol] {
    background: linear-gradient(135deg, var(--mint-600), var(--mint-800));
    border-color: var(--mint-700);
    color: #fff;
}

/* ── Main textarea ── */
.events-main-textarea[b-y1etwiowol] {
    width: 100%;
    min-height: 90px;
    border: 1.5px solid #d1d5db;
    border-radius: .65rem;
    padding: .65rem .8rem;
    font-size: .88rem;
    color: var(--ink-900);
    background: #fff;
    resize: vertical;
    line-height: 1.5;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
    font-family: inherit;
}

.events-main-textarea:focus[b-y1etwiowol] {
    outline: none;
    border-color: var(--mint-500);
    box-shadow: 0 0 0 3px rgba(31, 143, 95, .12);
}

.events-main-textarea:disabled[b-y1etwiowol] {
    background: #f9fafb;
    opacity: .7;
}

/* ── Severity row ── */
.events-severity-row[b-y1etwiowol] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    align-items: center;
}

.events-sev-btn[b-y1etwiowol] {
    width: 2rem;
    height: 2rem;
    border-radius: .45rem;
    border: 1.5px solid #d1d5db;
    background: #fff;
    font-size: .72rem;
    font-weight: 700;
    color: var(--ink-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .1s, background .1s, color .1s;
}

.events-sev-btn:hover:not(:disabled)[b-y1etwiowol] {
    border-color: var(--mint-400);
    background: var(--mint-50);
}

.events-sev-btn.active.sev-low[b-y1etwiowol]  { background: #dcfce7; border-color: #86efac; color: #166534; }
.events-sev-btn.active.sev-mid[b-y1etwiowol]  { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.events-sev-btn.active.sev-high[b-y1etwiowol] { background: var(--danger-light); border-color: #fca5a5; color: var(--danger); }

.events-sev-clear[b-y1etwiowol] {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: transparent;
    color: var(--ink-500);
    font-size: .8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: .15rem;
}

.events-sev-clear:hover[b-y1etwiowol] { background: var(--danger-light); border-color: #fca5a5; color: var(--danger); }

/* ── When row ── */
.events-when-row[b-y1etwiowol] {
    align-items: center;
    flex-wrap: wrap;
}

.events-datetime-input[b-y1etwiowol] {
    border: 1.5px solid #d1d5db;
    border-radius: .5rem;
    padding: .3rem .55rem;
    font-size: .75rem;
    color: var(--ink-900);
    background: #fff;
}

.events-datetime-input:focus[b-y1etwiowol] {
    outline: none;
    border-color: var(--mint-500);
    box-shadow: 0 0 0 3px rgba(31, 143, 95, .1);
}

.events-when-label[b-y1etwiowol] {
    font-size: .72rem;
    color: var(--ink-500);
    font-weight: 600;
}

/* ── Actions row ── */
.events-actions[b-y1etwiowol] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: .2rem;
}

.events-hint[b-y1etwiowol] {
    font-size: .7rem;
    color: var(--ink-500);
}

.events-action-btns[b-y1etwiowol] {
    display: flex;
    gap: .4rem;
}

.events-save-btn[b-y1etwiowol] {
    min-width: 80px;
}

/* ── Inline error ── */
.events-inline-error[b-y1etwiowol] {
    font-size: .78rem;
    color: var(--danger);
    background: var(--danger-light);
    border: 1px solid #fca5a5;
    border-radius: .55rem;
    padding: .45rem .7rem;
}

/* ── Recent events panel ── */
.events-list-panel[b-y1etwiowol] {
    background: #fff;
    border: 1px solid #dde9e1;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.events-list-header[b-y1etwiowol] {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--mint-50);
    background: linear-gradient(180deg, #fcfeff, #f7fcf9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.events-list-title[b-y1etwiowol] {
    margin: 0;
    font-size: .9rem;
    font-weight: 700;
    color: var(--mint-800);
    display: inline;
}

.events-list-count[b-y1etwiowol] {
    font-size: .7rem;
    color: var(--ink-500);
    margin-left: .4rem;
}

.events-list-header-right[b-y1etwiowol] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.events-list-body[b-y1etwiowol] {
    padding: .85rem 1rem;
}

/* ── Empty list ── */
.events-empty-list[b-y1etwiowol] {
    border-radius: .75rem;
    border: 1.5px dashed #b8d3c2;
    background: var(--mint-25);
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--ink-500);
    font-size: .82rem;
}

.events-empty-list-title[b-y1etwiowol] {
    font-size: .9rem;
    font-weight: 700;
    color: var(--ink-700);
    margin-bottom: .3rem;
}

.events-empty-list p[b-y1etwiowol] { margin: 0; }

.events-muted[b-y1etwiowol] {
    font-size: .82rem;
    color: var(--ink-500);
}

/* ── Event items ── */
.events-item[b-y1etwiowol] {
    border: 1px solid #e3eee6;
    border-radius: .85rem;
    background: #fafdfb;
    padding: .8rem .9rem;
    margin-bottom: .55rem;
    transition: border-color .15s;
}

.events-item:last-child[b-y1etwiowol] { margin-bottom: 0; }

.events-item-editing[b-y1etwiowol] {
    border-color: var(--mint-400);
    background: var(--mint-25);
    box-shadow: 0 0 0 2px rgba(31, 143, 95, .1);
}

.events-item-top[b-y1etwiowol] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: .35rem;
}

.events-item-badges[b-y1etwiowol] {
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
    align-items: center;
}

.events-item-type-badge[b-y1etwiowol] {
    font-size: .65rem;
    font-weight: 700;
    color: var(--mint-800);
    background: var(--mint-100);
    border: 1px solid var(--mint-300);
    border-radius: 999px;
    padding: .15rem .48rem;
}

.events-item-cond-badge[b-y1etwiowol] {
    font-size: .63rem;
    font-weight: 600;
    color: #1e40af;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 999px;
    padding: .13rem .44rem;
}

.events-item-time[b-y1etwiowol] {
    font-size: .68rem;
    color: var(--ink-500);
    white-space: nowrap;
    flex-shrink: 0;
}

.events-item-title[b-y1etwiowol] {
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.3;
    margin-bottom: .2rem;
}

.events-item-description[b-y1etwiowol] {
    font-size: .8rem;
    color: var(--ink-700);
    line-height: 1.45;
    white-space: pre-wrap;
}

.events-item-actions[b-y1etwiowol] {
    margin-top: .55rem;
    display: flex;
    justify-content: flex-end;
    gap: .4rem;
}

/* ── Full Activity feed panel ── */
.events-feed-panel[b-y1etwiowol] {
    background: #fff;
    border: 1px solid #dde9e1;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.events-feed-type-bar[b-y1etwiowol] {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    padding: .55rem 1rem;
    border-bottom: 1px solid var(--mint-50);
    background: #fafdfb;
}

.events-chip-type[b-y1etwiowol] {
    text-transform: none;
    font-size: .65rem;
}

/* Type badge colours */
.events-feed-type-badge[b-y1etwiowol] {
    font-size: .65rem;
    font-weight: 700;
    border-radius: 999px;
    padding: .15rem .48rem;
    border: 1px solid;
}

.events-feed-type-badge.feed-type-event[b-y1etwiowol]      { color: var(--mint-800); background: var(--mint-100);  border-color: var(--mint-300); }
.events-feed-type-badge.feed-type-vital[b-y1etwiowol]      { color: #065f46;          background: #d1fae5;           border-color: #6ee7b7; }
.events-feed-type-badge.feed-type-diet[b-y1etwiowol]       { color: #713f12;          background: #fef9c3;           border-color: #fde047; }
.events-feed-type-badge.feed-type-testresult[b-y1etwiowol] { color: #1e40af;          background: #dbeafe;           border-color: #93c5fd; }
.events-feed-type-badge.feed-type-appointment[b-y1etwiowol]{ color: #581c87;          background: #f3e8ff;           border-color: #d8b4fe; }
.events-feed-type-badge.feed-type-admission[b-y1etwiowol]  { color: #7f1d1d;          background: #fee2e2;           border-color: #fca5a5; }
.events-feed-type-badge.feed-type-medication[b-y1etwiowol] { color: #1e3a5f;          background: #e0f2fe;           border-color: #7dd3fc; }
.events-feed-type-badge.feed-type-media[b-y1etwiowol]      { color: #4a1d96;          background: #ede9fe;           border-color: #c4b5fd; }

.events-feed-load-more[b-y1etwiowol] {
    text-align: center;
    padding: .75rem 0 .25rem;
}

/* ── Mobile ── */
@media (max-width: 620px) {
    .events-row-label[b-y1etwiowol] {
        min-width: 3.5rem;
        font-size: .68rem;
    }

    .events-main-textarea[b-y1etwiowol] {
        min-height: 80px;
        font-size: .82rem;
    }

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

    .events-action-btns[b-y1etwiowol] {
        justify-content: flex-end;
    }

    .events-action-btns .btn[b-y1etwiowol] {
        flex: 1;
    }

    .events-item-top[b-y1etwiowol] {
        flex-direction: column;
    }

    .events-item-actions[b-y1etwiowol] {
        justify-content: stretch;
        flex-wrap: wrap;
    }

    .events-item-actions .btn[b-y1etwiowol] {
        flex: 1;
    }

    .events-list-header[b-y1etwiowol] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-loading[b-h8619z2krz] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    color: var(--ink-500);
}

.home-landing[b-h8619z2krz] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem 1rem;
}

.home-landing-card[b-h8619z2krz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    max-width: 24rem;
}

.home-landing-title[b-h8619z2krz] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mint-700);
    margin: 0;
}

.home-landing-tagline[b-h8619z2krz] {
    font-size: 1rem;
    color: var(--ink-500);
    margin: 0;
}

.home-landing-btn[b-h8619z2krz] {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: var(--mint-600);
    color: #fff;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.home-landing-btn:hover[b-h8619z2krz] {
    background: var(--mint-700);
    color: #fff;
    text-decoration: none;
}

.home-error[b-h8619z2krz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 60vh;
}

.home-error-message[b-h8619z2krz] {
    padding: 0.75rem 1.25rem;
    background: var(--danger-light);
    color: var(--danger);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
}

.home-error-link[b-h8619z2krz] {
    color: var(--mint-700);
    font-weight: 600;
    text-decoration: none;
}

.home-error-link:hover[b-h8619z2krz] {
    text-decoration: underline;
}
/* /Components/Pages/Media.razor.rz.scp.css */
.media-file-input[b-flqp9grkpt] {
    display: block;
    margin-top: .25rem;
    font-size: .875rem;
    color: var(--ink-700);
}

.media-file-selected[b-flqp9grkpt] {
    margin-top: .35rem;
    font-size: .8125rem;
    color: var(--ink-500);
}

/* ── Grid ── */
.media-grid[b-flqp9grkpt] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.media-card[b-flqp9grkpt] {
    border: 1px solid var(--mint-200, #d1fae5);
    border-radius: .5rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.media-card-top[b-flqp9grkpt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .75rem;
    background: var(--mint-25, #f0fdf4);
    border-bottom: 1px solid var(--mint-100, #d1fae5);
}

.media-type-badge[b-flqp9grkpt] {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
    padding: .15rem .45rem;
    border-radius: 999px;
    background: var(--mint-100, #d1fae5);
    color: var(--mint-800, #065f46);
}

.media-type-badge.media-type-photo[b-flqp9grkpt]   { background: #dbeafe; color: #1e40af; }
.media-type-badge.media-type-video[b-flqp9grkpt]   { background: #fce7f3; color: #9d174d; }
.media-type-badge.media-type-scan[b-flqp9grkpt]    { background: #ede9fe; color: #5b21b6; }
.media-type-badge.media-type-document[b-flqp9grkpt] { background: #fef3c7; color: #92400e; }

.media-delete-btn[b-flqp9grkpt] {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--danger, #dc2626);
    font-size: .875rem;
    padding: .1rem .3rem;
    border-radius: .25rem;
    line-height: 1;
}
.media-delete-btn:hover[b-flqp9grkpt] { background: var(--danger-light, #fee2e2); }

.media-card-body[b-flqp9grkpt] {
    padding: .75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.media-card-title[b-flqp9grkpt] {
    font-weight: 600;
    font-size: .9375rem;
    color: var(--ink-900, #111827);
    line-height: 1.3;
}

.media-card-desc[b-flqp9grkpt] {
    font-size: .8125rem;
    color: var(--ink-700, #374151);
    line-height: 1.4;
}

.media-card-meta[b-flqp9grkpt] {
    font-size: .75rem;
    color: var(--ink-500, #6b7280);
    margin-top: auto;
}

.media-card-date[b-flqp9grkpt] {
    font-size: .75rem;
    color: var(--ink-500, #6b7280);
}

.media-card-actions[b-flqp9grkpt] {
    padding: .5rem .75rem;
    border-top: 1px solid var(--mint-100, #d1fae5);
    display: flex;
    gap: .5rem;
}

.media-download-link[b-flqp9grkpt] {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--mint-700, #047857);
    text-decoration: none;
}
.media-download-link:hover[b-flqp9grkpt] { text-decoration: underline; }
/* /Components/Pages/Medications.razor.rz.scp.css */
.medication-workflow-help-icon[b-7svs7dhdu0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 999px;
    border: 1px solid #94a3b8;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: help;
    flex-shrink: 0;
}

.medication-workflow-help-icon:hover[b-7svs7dhdu0] {
    border-color: #176b47;
    background: #ecf8f0;
    color: #176b47;
}
/* /Components/Pages/Onboarding.razor.rz.scp.css */
.onboarding-shell[b-pye9b8w2wr] {
    display: grid;
    gap: 1rem;
}

.onboarding-hero[b-pye9b8w2wr],
.onboarding-panel[b-pye9b8w2wr] {
    border-radius: 1rem;
    border: 1px solid #dde9e1;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.onboarding-hero[b-pye9b8w2wr] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem;
    background: linear-gradient(145deg, #eef7f1 0%, #f8fcfa 100%);
    border-color: #d6e8dc;
}

.onboarding-hero-success[b-pye9b8w2wr] {
    background: linear-gradient(145deg, #edf8f2 0%, #f8fcfa 100%);
}

.onboarding-eyebrow[b-pye9b8w2wr] {
    color: #176b47;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.onboarding-title[b-pye9b8w2wr] {
    margin: 0.2rem 0 0;
    color: #14532d;
    font-size: 1.65rem;
    font-weight: 800;
}

.onboarding-copy[b-pye9b8w2wr] {
    margin: 0.55rem 0 0;
    max-width: 46rem;
    color: #4b5563;
    font-size: 0.98rem;
}

.onboarding-status[b-pye9b8w2wr] {
    display: flex;
    align-items: flex-start;
}

.onboarding-status-pill[b-pye9b8w2wr],
.onboarding-helper-pill[b-pye9b8w2wr] {
    border-radius: 999px;
    border: 1px solid #b9dbc8;
    background: #ecf8f0;
    color: #14532d;
    padding: 0.28rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.onboarding-panel-header[b-pye9b8w2wr] {
    padding: 1rem 1rem 0;
}

.onboarding-panel-title[b-pye9b8w2wr] {
    margin: 0;
    color: #14532d;
    font-size: 1.05rem;
    font-weight: 700;
}

.onboarding-panel-meta[b-pye9b8w2wr],
.onboarding-muted[b-pye9b8w2wr] {
    color: #64748b;
}

.onboarding-panel-body[b-pye9b8w2wr] {
    padding: 1rem;
}

.onboarding-form-grid[b-pye9b8w2wr] {
    display: grid;
    gap: 0.85rem;
}

.onboarding-form-span-2[b-pye9b8w2wr] {
    grid-column: 1 / -1;
}

.onboarding-notes[b-pye9b8w2wr] {
    min-height: 7rem;
    resize: vertical;
}

.onboarding-helper[b-pye9b8w2wr] {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.8rem;
    align-items: center;
}

.onboarding-actions[b-pye9b8w2wr] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.onboarding-actions-inline[b-pye9b8w2wr] {
    margin-top: 1rem;
}

@media (min-width: 900px) {
    .onboarding-form-grid[b-pye9b8w2wr] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .onboarding-hero[b-pye9b8w2wr] {
        flex-direction: column;
    }
}
/* /Components/Pages/PatientCreate.razor.rz.scp.css */
.patient-create-shell[b-bjfb7sle0c] {
    display: grid;
    gap: 1rem;
}

.patient-create-hero[b-bjfb7sle0c],
.patient-create-panel[b-bjfb7sle0c] {
    border-radius: 1rem;
    border: 1px solid #dde9e1;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.patient-create-hero[b-bjfb7sle0c] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem;
    background: linear-gradient(145deg, #eef7f1 0%, #f8fcfa 100%);
    border-color: #d6e8dc;
}

.patient-create-hero-success[b-bjfb7sle0c] {
    background: linear-gradient(145deg, #edf8f2 0%, #f8fcfa 100%);
}

.patient-create-eyebrow[b-bjfb7sle0c] {
    color: #176b47;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.patient-create-title[b-bjfb7sle0c] {
    margin: 0.2rem 0 0;
    color: #14532d;
    font-size: 1.65rem;
    font-weight: 800;
}

.patient-create-copy[b-bjfb7sle0c] {
    margin: 0.55rem 0 0;
    max-width: 46rem;
    color: #4b5563;
    font-size: 0.98rem;
}

.patient-create-status[b-bjfb7sle0c] {
    display: flex;
    align-items: flex-start;
}

.patient-create-status-pill[b-bjfb7sle0c],
.patient-create-helper-pill[b-bjfb7sle0c] {
    border-radius: 999px;
    border: 1px solid #b9dbc8;
    background: #ecf8f0;
    color: #14532d;
    padding: 0.28rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.patient-create-panel-header[b-bjfb7sle0c] {
    padding: 1rem 1rem 0;
}

.patient-create-panel-title[b-bjfb7sle0c] {
    margin: 0;
    color: #14532d;
    font-size: 1.05rem;
    font-weight: 700;
}

.patient-create-panel-meta[b-bjfb7sle0c],
.patient-create-muted[b-bjfb7sle0c] {
    color: #64748b;
}

.patient-create-panel-body[b-bjfb7sle0c] {
    padding: 1rem;
}

.patient-create-relationship-grid[b-bjfb7sle0c] {
    display: grid;
    gap: 0.85rem;
}

.patient-create-relationship-card[b-bjfb7sle0c] {
    display: grid;
    gap: 0.28rem;
    text-align: left;
    padding: 0.95rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid #d6e8dc;
    background: #f8fcfa;
    color: #14532d;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.patient-create-relationship-card:hover[b-bjfb7sle0c] {
    border-color: #9ddab8;
    background: #eef8f2;
    transform: translateY(-1px);
}

.patient-create-relationship-card-active[b-bjfb7sle0c] {
    border-color: #7cc59d;
    background: #ebf8f0;
    box-shadow: 0 10px 24px rgba(23, 107, 71, 0.08);
}

.patient-create-relationship-name[b-bjfb7sle0c] {
    font-size: 0.95rem;
    font-weight: 800;
}

.patient-create-relationship-copy[b-bjfb7sle0c] {
    color: #64748b;
    font-size: 0.8rem;
}

.patient-create-form-grid[b-bjfb7sle0c] {
    display: grid;
    gap: 0.85rem;
}

.patient-create-form-span-2[b-bjfb7sle0c] {
    grid-column: 1 / -1;
}

.patient-create-notes[b-bjfb7sle0c] {
    min-height: 7rem;
    resize: vertical;
}

.patient-create-helper[b-bjfb7sle0c] {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.8rem;
    align-items: center;
}

.patient-create-actions[b-bjfb7sle0c] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.patient-create-actions-inline[b-bjfb7sle0c] {
    margin-top: 1rem;
}

@media (min-width: 900px) {
    .patient-create-form-grid[b-bjfb7sle0c] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .patient-create-relationship-grid[b-bjfb7sle0c] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .patient-create-hero[b-bjfb7sle0c] {
        flex-direction: column;
    }
}
/* /Components/Pages/PatientOverview.razor.rz.scp.css */
.overview-shell[b-m2mrt9xv9q] {
    --mint-25: #f6fbf7;
    --mint-50: #ecf8f0;
    --mint-100: #dff4e8;
    --mint-300: #9ddab8;
    --mint-600: #1f8f5f;
    --mint-700: #176b47;
    --ink-700: #334155;
    --ink-900: #1f2937;
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 1.25rem;
}

.overview-hero[b-m2mrt9xv9q] {
    background: linear-gradient(160deg, var(--mint-100), #f2f8f4 65%, #ffffff 100%);
    border: 1px solid #d4e8db;
    border-radius: 1.25rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 30px rgba(23, 107, 71, 0.08);
}

.overview-title[b-m2mrt9xv9q] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f5132;
}

.overview-hero-intro[b-m2mrt9xv9q] {
    margin-bottom: 0.75rem;
}

.overview-label[b-m2mrt9xv9q] {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-700);
}

.hero-muted[b-m2mrt9xv9q] {
    font-size: 0.9rem;
    color: #64748b;
}

.overview-patient-row[b-m2mrt9xv9q] {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.overview-avatar[b-m2mrt9xv9q] {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #ccebd9;
    color: #134e36;
    border: 1px solid #b8dec8;
    font-weight: 700;
    font-size: 1rem;
}

.overview-patient-name[b-m2mrt9xv9q] {
    font-size: 1.1rem;
    line-height: 1.1;
    color: var(--ink-900);
    font-weight: 700;
}

.overview-patient-meta[b-m2mrt9xv9q] {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
}

.overview-pill-grid[b-m2mrt9xv9q] {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.overview-pill-card[b-m2mrt9xv9q] {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 0.85rem;
    border: 1px solid #d6e8dc;
    background: rgba(255, 255, 255, 0.86);
    padding: 0.65rem 0.6rem;
    box-shadow: 0 4px 14px rgba(23, 107, 71, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.overview-pill-card:hover[b-m2mrt9xv9q] {
    transform: translateY(-1px);
    border-color: #b9dbc8;
    box-shadow: 0 8px 18px rgba(23, 107, 71, 0.12);
}

.overview-pill-value[b-m2mrt9xv9q] {
    font-size: 1rem;
    font-weight: 700;
    color: #115233;
    line-height: 1;
}

.overview-pill-label[b-m2mrt9xv9q] {
    margin-top: 0.3rem;
    color: var(--ink-700);
    font-size: 0.71rem;
}

.overview-empty-state[b-m2mrt9xv9q] {
    border-radius: 1rem;
    border: 1px dashed #b8d3c2;
    background: var(--mint-25);
    color: #475569;
    padding: 1rem;
}

.overview-grid[b-m2mrt9xv9q] {
    display: grid;
    gap: 1rem;
}

.overview-panel[b-m2mrt9xv9q] {
    border-radius: 1rem;
    border: 1px solid #e1ece5;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.overview-panel-header[b-m2mrt9xv9q] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #ecf2ee;
    background: linear-gradient(180deg, #fcfefe, #f7fcf9);
}

.overview-panel-title[b-m2mrt9xv9q] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f5132;
}

.overview-panel-meta[b-m2mrt9xv9q] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 0.72rem;
}

.btn-generate[b-m2mrt9xv9q] {
    border: 1px solid #1e8f5f;
    border-radius: 0.75rem;
    background: linear-gradient(140deg, #2aa46f, #1e8f5f);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.45rem 0.82rem;
    white-space: nowrap;
    box-shadow: 0 8px 14px rgba(30, 143, 95, 0.2);
}

.btn-generate:hover[b-m2mrt9xv9q] {
    filter: brightness(1.03);
}

.btn-generate:disabled[b-m2mrt9xv9q] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.overview-panel-body[b-m2mrt9xv9q] {
    padding: 0.95rem;
}

.workspace-summary[b-m2mrt9xv9q] {
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

.workspace-detail[b-m2mrt9xv9q] {
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.workspace-link-row[b-m2mrt9xv9q] {
    margin-top: 0.85rem;
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.timeline-list[b-m2mrt9xv9q] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.timeline-item[b-m2mrt9xv9q] {
    border: 1px solid #e3eee6;
    border-radius: 0.8rem;
    background: #fafdfb;
    padding: 0.75rem;
}

.timeline-item-top[b-m2mrt9xv9q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.timeline-item-date[b-m2mrt9xv9q] {
    font-size: 0.73rem;
    color: #64748b;
    font-weight: 600;
}

.timeline-item-count[b-m2mrt9xv9q] {
    border-radius: 999px;
    border: 1px solid #b4dcc5;
    background: var(--mint-50);
    color: #176b47;
    padding: 0.14rem 0.48rem;
    font-size: 0.68rem;
    font-weight: 700;
}

.timeline-item-title[b-m2mrt9xv9q] {
    margin-top: 0.45rem;
    color: #1f2937;
    font-size: 0.92rem;
    font-weight: 700;
}

.timeline-item-description[b-m2mrt9xv9q] {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.report-range[b-m2mrt9xv9q] {
    color: #64748b;
    font-size: 0.75rem;
    margin-bottom: 0.85rem;
}

.report-section[b-m2mrt9xv9q] {
    margin-bottom: 0.9rem;
}

.report-section:last-child[b-m2mrt9xv9q] {
    margin-bottom: 0;
}

.report-section h3[b-m2mrt9xv9q] {
    margin: 0 0 0.22rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f5132;
}

.report-section p[b-m2mrt9xv9q] {
    margin: 0;
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.55;
    white-space: pre-wrap;
}

.workspace-focus-shell[b-m2mrt9xv9q] {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #d5e8dc;
}

.status-chip[b-m2mrt9xv9q] {
    display: inline-block;
    padding: 0.24rem 0.54rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    border: 1px solid;
}

.status-chip-success[b-m2mrt9xv9q] {
    background-color: #daf4e6;
    border-color: #7cc59d;
    color: #176b47;
}

.status-chip-warning[b-m2mrt9xv9q] {
    background-color: #fff7dc;
    border-color: #e8c967;
    color: #8a6a0f;
}

.status-chip-muted[b-m2mrt9xv9q] {
    background-color: #f1f5f9;
    border-color: #d1dbe7;
    color: #64748b;
}

.overview-log-grid[b-m2mrt9xv9q] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.overview-log-card[b-m2mrt9xv9q] {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 0.85rem;
    border: 1px solid #d6e8dc;
    background: rgba(255, 255, 255, 0.86);
    padding: 0.75rem 0.85rem;
    box-shadow: 0 4px 14px rgba(23, 107, 71, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.overview-log-card:hover[b-m2mrt9xv9q] {
    transform: translateY(-1px);
    border-color: #b9dbc8;
    box-shadow: 0 8px 18px rgba(23, 107, 71, 0.12);
}

.overview-log-card-title[b-m2mrt9xv9q] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #115233;
}

.overview-log-card-hint[b-m2mrt9xv9q] {
    margin-top: 0.25rem;
    font-size: 0.72rem;
    color: #64748b;
}

@media (min-width: 900px) {
    .overview-shell[b-m2mrt9xv9q] {
        padding-bottom: 0.5rem;
    }

    .overview-hero[b-m2mrt9xv9q] {
        padding: 1.2rem 1.25rem;
        margin-bottom: 1.15rem;
    }

    .overview-title[b-m2mrt9xv9q] {
        font-size: 1.3rem;
    }

    .overview-grid[b-m2mrt9xv9q] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }

    .overview-log-panel[b-m2mrt9xv9q] {
        grid-column: 1 / -1;
    }

    .overview-log-grid[b-m2mrt9xv9q] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .overview-pill-grid[b-m2mrt9xv9q] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .overview-panel-header[b-m2mrt9xv9q] {
        padding: 1.1rem 1.15rem;
    }

    .overview-panel-body[b-m2mrt9xv9q] {
        padding: 1rem 1.1rem 1.15rem;
    }

    .workspace-summary[b-m2mrt9xv9q] {
        font-size: 0.94rem;
    }

    .timeline-item-title[b-m2mrt9xv9q] {
        font-size: 0.96rem;
    }
}

@media (max-width: 700px) {
    .workspace-link-row .btn-generate[b-m2mrt9xv9q],
    .workspace-link-row .btn[b-m2mrt9xv9q] {
        width: 100%;
    }
}
/* /Components/Pages/PatientProfile.razor.rz.scp.css */
.profile-shell[b-yh2w9mt802] {
    display: grid;
    gap: 1rem;
}

.profile-grid[b-yh2w9mt802] {
    display: grid;
    gap: 1rem;
}

.profile-panel[b-yh2w9mt802] {
    border-radius: 1rem;
    border: 1px solid #dde9e1;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.profile-panel-secondary[b-yh2w9mt802] {
    align-self: start;
}

.profile-panel-header[b-yh2w9mt802] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0;
}

.profile-panel-title[b-yh2w9mt802] {
    margin: 0;
    color: #14532d;
    font-size: 1.05rem;
    font-weight: 700;
}

.profile-panel-meta[b-yh2w9mt802] {
    margin-top: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    color: #64748b;
    font-size: 0.78rem;
}

.profile-panel-body[b-yh2w9mt802] {
    padding: 1rem;
}

.profile-form-grid[b-yh2w9mt802] {
    display: grid;
    gap: 0.85rem;
}

.profile-form-span-2[b-yh2w9mt802] {
    grid-column: 1 / -1;
}

.profile-notes[b-yh2w9mt802] {
    min-height: 7.5rem;
    resize: vertical;
}

.profile-form-actions[b-yh2w9mt802] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.profile-access-pill[b-yh2w9mt802],
.profile-status-chip[b-yh2w9mt802] {
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.profile-access-pill-owner[b-yh2w9mt802] {
    border: 1px solid #b9dbc8;
    background: #ecf8f0;
    color: #14532d;
}

.profile-access-pill-write[b-yh2w9mt802] {
    border: 1px solid #b7d4ef;
    background: #edf6ff;
    color: #185c8c;
}

.profile-access-pill-read[b-yh2w9mt802],
.profile-status-chip[b-yh2w9mt802] {
    border: 1px solid #ddd6fe;
    background: #f6f2ff;
    color: #5b3fa6;
}

.profile-facts[b-yh2w9mt802] {
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.profile-fact[b-yh2w9mt802] {
    display: grid;
    gap: 0.18rem;
}

.profile-fact dt[b-yh2w9mt802] {
    margin: 0;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-fact dd[b-yh2w9mt802] {
    margin: 0;
    color: #1f2937;
    font-size: 0.92rem;
}

.profile-side-actions[b-yh2w9mt802] {
    margin-top: 1rem;
    display: grid;
    gap: 0.65rem;
}

.profile-side-actions .btn[b-yh2w9mt802] {
    width: 100%;
}

.profile-danger-zone[b-yh2w9mt802] {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed #fca5a5;
}

.profile-danger-title[b-yh2w9mt802] {
    margin: 0 0 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #b91c1c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-danger-warning[b-yh2w9mt802] {
    font-size: 0.82rem;
    color: #374151;
    margin-bottom: 0.75rem;
}

.profile-danger-actions[b-yh2w9mt802] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profile-empty-state[b-yh2w9mt802] {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

.profile-empty-title[b-yh2w9mt802] {
    margin: 0;
    color: #14532d;
}

.profile-empty-copy[b-yh2w9mt802],
.profile-muted[b-yh2w9mt802] {
    color: #64748b;
}

@media (min-width: 980px) {
    .profile-grid[b-yh2w9mt802] {
        grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.85fr);
    }

    .profile-form-grid[b-yh2w9mt802] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/Patients.razor.rz.scp.css */
.patients-shell[b-5pybghqfxf] {
    display: grid;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.patients-hero[b-5pybghqfxf] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, #eef7f1 0%, #f8fcfa 100%);
    border: 1px solid #d6e8dc;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.patients-title[b-5pybghqfxf] {
    margin: 0;
    color: #14532d;
    font-size: 1.5rem;
    font-weight: 700;
}

.patients-subtitle[b-5pybghqfxf] {
    margin-top: 0.22rem;
    color: #64748b;
    font-size: 0.84rem;
}

.patients-hero-meta[b-5pybghqfxf] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.patients-context-pill[b-5pybghqfxf] {
    border-radius: 999px;
    border: 1px solid #b9dbc8;
    background: #ecf8f0;
    color: #14532d;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.patients-context-text[b-5pybghqfxf] {
    color: #64748b;
    font-size: 0.72rem;
}

.patients-state-card[b-5pybghqfxf] {
    border-radius: 1rem;
    border: 1px solid #dde9e1;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.patients-create-card[b-5pybghqfxf],
.patients-onboarding-card[b-5pybghqfxf],
.patients-section[b-5pybghqfxf] {
    border-radius: 1rem;
    border: 1px solid #dde9e1;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.patients-create-card[b-5pybghqfxf] {
    display: grid;
    gap: 0.85rem;
}

.patients-create-actions[b-5pybghqfxf] {
    display: grid;
    gap: 0.7rem;
}

.patients-quick-create-btn[b-5pybghqfxf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e8dc;
    border-radius: 0.8rem;
    background: #f8fcfa;
    color: #14532d;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.8rem 0.9rem;
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.patients-quick-create-btn:hover[b-5pybghqfxf] {
    border-color: #9ddab8;
    background: #eef8f2;
    transform: translateY(-1px);
}

.patients-create-footer[b-5pybghqfxf] {
    display: flex;
    justify-content: flex-start;
}

.patients-onboarding-card[b-5pybghqfxf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(145deg, #eff8f2 0%, #f8fcfa 100%);
    border-color: #cfe4d8;
}

.patients-onboarding-actions[b-5pybghqfxf] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.patients-create-form[b-5pybghqfxf] {
    display: grid;
    gap: 0.75rem;
}

.patients-section-header[b-5pybghqfxf] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.patients-section-title[b-5pybghqfxf] {
    margin: 0 0 0.22rem;
    color: #14532d;
    font-size: 1.02rem;
    font-weight: 700;
}

.patients-section-count[b-5pybghqfxf] {
    border-radius: 999px;
    border: 1px solid #d6e8dc;
    background: #f4fbf7;
    color: #176b47;
    padding: 0.24rem 0.62rem;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.patients-empty-title[b-5pybghqfxf] {
    margin: 0 0 0.35rem;
    color: #14532d;
    font-size: 1.05rem;
    font-weight: 700;
}

.patients-muted[b-5pybghqfxf] {
    color: #64748b;
    font-size: 0.85rem;
}

.patients-grid[b-5pybghqfxf] {
    display: grid;
    gap: 1rem;
}

.patient-drag-item[b-5pybghqfxf] {
    cursor: grab;
}

.patient-drag-item:active[b-5pybghqfxf] {
    cursor: grabbing;
}

.patient-drag-item-dragging[b-5pybghqfxf] {
    opacity: 0.4;
}

.patient-drag-item-over > .patient-card[b-5pybghqfxf] {
    border-color: #1f8f5f;
    box-shadow: 0 0 0 2px rgba(31, 143, 95, 0.25);
}

.patient-card[b-5pybghqfxf] {
    border-radius: 1rem;
    border: 1px solid #dde9e1;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.patient-card:hover[b-5pybghqfxf] {
    border-color: #bfdcc9;
    box-shadow: 0 12px 30px rgba(20, 83, 45, 0.08);
    transform: translateY(-1px);
}

.patient-card-current[b-5pybghqfxf] {
    border-color: #7cc59d;
    box-shadow: 0 14px 32px rgba(23, 107, 71, 0.1);
}

.patient-card-top[b-5pybghqfxf] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.patient-card-statuses[b-5pybghqfxf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
}

.patient-card-name[b-5pybghqfxf] {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.patient-card-meta[b-5pybghqfxf] {
    margin-top: 0.28rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    color: #64748b;
    font-size: 0.76rem;
}

.patient-card-current-pill[b-5pybghqfxf] {
    border-radius: 999px;
    border: 1px solid #7cc59d;
    background: #daf4e6;
    color: #176b47;
    padding: 0.22rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
}

.patient-card-access-pill[b-5pybghqfxf] {
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
}

.patient-card-access-pill-owner[b-5pybghqfxf] {
    border: 1px solid #b9dbc8;
    background: #ecf8f0;
    color: #14532d;
}

.patient-card-access-pill-write[b-5pybghqfxf] {
    border: 1px solid #b7d4ef;
    background: #edf6ff;
    color: #185c8c;
}

.patient-card-access-pill-read[b-5pybghqfxf] {
    border: 1px solid #ddd6fe;
    background: #f6f2ff;
    color: #5b3fa6;
}

.patient-card-primary[b-5pybghqfxf] {
    margin-top: 0.85rem;
}

.patient-card-primary .btn[b-5pybghqfxf] {
    width: 100%;
}

.patient-card-workspaces[b-5pybghqfxf] {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.patient-workspace-btn[b-5pybghqfxf] {
    border: 1px solid #d6e8dc;
    border-radius: 0.8rem;
    background: #f8fcfa;
    color: #14532d;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.65rem 0.75rem;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.patient-workspace-btn:hover[b-5pybghqfxf] {
    border-color: #9ddab8;
    background: #eef8f2;
    transform: translateY(-1px);
}

.patients-pagination[b-5pybghqfxf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-radius: 1rem;
    border: 1px solid #dde9e1;
    background: #ffffff;
    padding: 0.9rem 1rem;
}

.patients-pagination-meta[b-5pybghqfxf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    color: #64748b;
    font-size: 0.76rem;
}

@media (min-width: 900px) {
    .patients-grid[b-5pybghqfxf] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .patients-create-actions[b-5pybghqfxf] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .patient-card-workspaces[b-5pybghqfxf] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .patients-hero[b-5pybghqfxf] {
        flex-direction: column;
    }

    .patients-hero-meta[b-5pybghqfxf] {
        align-items: flex-start;
    }

    .patients-onboarding-card[b-5pybghqfxf],
    .patients-onboarding-actions[b-5pybghqfxf] {
        flex-direction: column;
        align-items: flex-start;
    }

    .patients-pagination[b-5pybghqfxf] {
        flex-direction: column;
        align-items: stretch;
    }

    .patients-section-header[b-5pybghqfxf] {
        flex-direction: column;
    }

    .patients-pagination .btn[b-5pybghqfxf] {
        width: 100%;
    }
}
/* /Components/Pages/Reports.razor.rz.scp.css */
.report-actions[b-td87izizvo] {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.report-quota-blocked[b-td87izizvo] {
    font-size: .8rem;
    color: var(--ink-500);
    background: var(--warning-light, #fff8e1);
    border: 1px solid var(--warning, #f59e0b);
    border-radius: .4rem;
    padding: .3rem .75rem;
}

.log-error-inline[b-td87izizvo] {
    font-size: .8rem;
    color: var(--danger, #dc2626);
}

/* ── Report Notes panel ── */
.report-notes-panel[b-td87izizvo] {
    margin-top: .25rem;
}

.report-notes-error[b-td87izizvo] {
    font-size: .8rem;
    color: var(--danger, #dc2626);
    background: var(--danger-light, #fee2e2);
    border: 1px solid #fca5a5;
    border-radius: .5rem;
    padding: .45rem .7rem;
    margin-bottom: .75rem;
}

.report-notes-empty[b-td87izizvo] {
    margin-top: .5rem;
    font-size: .82rem;
}

/* Composer */
.report-notes-composer[b-td87izizvo] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1rem;
}

.report-notes-section-row[b-td87izizvo] {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.report-notes-label[b-td87izizvo] {
    font-size: .75rem;
    font-weight: 600;
    color: var(--ink-700);
    white-space: nowrap;
}

.report-notes-select[b-td87izizvo] {
    font-size: .8rem;
    padding: .25rem .5rem;
    border: 1px solid #c7d9ce;
    border-radius: .4rem;
    background: #fff;
    color: var(--ink-900);
}

.report-notes-textarea[b-td87izizvo] {
    width: 100%;
    font-size: .85rem;
    padding: .6rem .75rem;
    border: 1px solid #c7d9ce;
    border-radius: .6rem;
    resize: vertical;
    color: var(--ink-900);
    background: #fff;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
}

.report-notes-textarea:focus[b-td87izizvo] {
    outline: none;
    border-color: var(--mint-500, #34d399);
    box-shadow: 0 0 0 2px rgba(52, 211, 153, .15);
}

.report-notes-actions[b-td87izizvo] {
    display: flex;
    justify-content: flex-end;
}

/* Thread */
.report-notes-thread[b-td87izizvo] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.report-note-item[b-td87izizvo] {
    background: var(--mint-25, #f0fdf4);
    border: 1px solid #d1fae5;
    border-radius: .75rem;
    padding: .65rem .85rem;
}

.report-note-header[b-td87izizvo] {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .35rem;
}

.report-note-section-badge[b-td87izizvo] {
    font-size: .63rem;
    font-weight: 700;
    color: var(--mint-800);
    background: var(--mint-100);
    border: 1px solid var(--mint-300);
    border-radius: 999px;
    padding: .12rem .44rem;
}

.report-note-time[b-td87izizvo] {
    font-size: .68rem;
    color: var(--ink-500);
    flex: 1;
}

.report-note-delete[b-td87izizvo] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    color: var(--ink-500);
    padding: 0 .2rem;
    line-height: 1;
    border-radius: .25rem;
    transition: color .15s;
}

.report-note-delete:hover[b-td87izizvo] { color: var(--danger, #dc2626); }

.report-note-text[b-td87izizvo] {
    font-size: .83rem;
    color: var(--ink-700);
    line-height: 1.5;
    white-space: pre-wrap;
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-page[b-3dpq21lxll] {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.settings-header[b-3dpq21lxll] {
    margin-bottom: 2rem;
}

.settings-title[b-3dpq21lxll] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink-900, #111827);
    margin: 0 0 0.25rem;
}

.settings-subtitle[b-3dpq21lxll] {
    font-size: 0.9rem;
    color: var(--ink-500, #6b7280);
    margin: 0;
}

.settings-loading[b-3dpq21lxll] {
    color: var(--ink-500, #6b7280);
    font-size: 0.9rem;
    padding: 1rem 0;
}

.settings-section[b-3dpq21lxll] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.settings-section-title[b-3dpq21lxll] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-500, #6b7280);
    margin: 0 0 1.1rem;
}

.settings-row[b-3dpq21lxll] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid #f3f4f6;
}

.settings-row:first-of-type[b-3dpq21lxll] {
    border-top: none;
}

.settings-row-info[b-3dpq21lxll] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.settings-row-label[b-3dpq21lxll] {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-900, #111827);
}

.settings-row-description[b-3dpq21lxll] {
    font-size: 0.83rem;
    color: var(--ink-500, #6b7280);
    line-height: 1.5;
}

/* Toggle switch */
.settings-toggle[b-3dpq21lxll] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
}

.settings-toggle-input[b-3dpq21lxll] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-track[b-3dpq21lxll] {
    position: relative;
    display: inline-block;
    width: 2.6rem;
    height: 1.4rem;
    background: #d1d5db;
    border-radius: 999px;
    transition: background 0.2s;
}

.settings-toggle-input:checked ~ .settings-toggle-track[b-3dpq21lxll] {
    background: var(--mint-500, #3fbdac);
}

.settings-toggle-input:disabled ~ .settings-toggle-track[b-3dpq21lxll] {
    opacity: 0.55;
    cursor: not-allowed;
}

.settings-toggle-thumb[b-3dpq21lxll] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1rem;
    height: 1rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    transition: transform 0.2s;
}

.settings-toggle-input:checked ~ .settings-toggle-track .settings-toggle-thumb[b-3dpq21lxll] {
    transform: translateX(1.2rem);
}

.settings-toggle-status[b-3dpq21lxll] {
    font-size: 0.82rem;
    color: var(--ink-500, #6b7280);
    min-width: 1.8rem;
}

.settings-error[b-3dpq21lxll] {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--danger, #dc2626);
}
/* /Components/Pages/Sharing.razor.rz.scp.css */
.sharing-shell[b-s1yuyendvy] {
    display: grid;
    gap: 1rem;
    padding: 1rem 0 1.5rem;
}

.sharing-scope-title[b-s1yuyendvy] {
    font-weight: 600;
    font-size: .875rem;
    color: var(--ink-700, #374151);
    margin-bottom: .5rem;
}

.sharing-scope-grid[b-s1yuyendvy] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
}

.sharing-scope-toggle[b-s1yuyendvy] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .875rem;
    cursor: pointer;
    color: var(--ink-700, #374151);
}

.sharing-scope-hint[b-s1yuyendvy] {
    margin-top: .4rem;
    font-size: .75rem;
    color: var(--ink-500, #6b7280);
}

.sharing-item-scope[b-s1yuyendvy] {
    margin-top: .25rem;
}

.sharing-item-scope span:last-child[b-s1yuyendvy] {
    color: var(--ink-700, #374151);
    font-size: .8125rem;
}

.sharing-panel[b-s1yuyendvy] {
    border: 1px solid #dbe6f4;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.sharing-panel-header[b-s1yuyendvy] {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid #e8eef7;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.sharing-panel-title[b-s1yuyendvy] {
    margin: 0;
    color: #17458f;
    font-size: 1rem;
    font-weight: 700;
}

.sharing-panel-meta[b-s1yuyendvy] {
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.75rem;
}

.sharing-panel-body[b-s1yuyendvy] {
    padding: 1rem;
}

.sharing-form-grid[b-s1yuyendvy] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 0.85rem;
}

.sharing-form-span-2[b-s1yuyendvy] {
    grid-column: 1 / -1;
}

.sharing-role-helper[b-s1yuyendvy] {
    border: 1px solid #e3ebf7;
    border-radius: 0.85rem;
    background: #f8fbff;
    padding: 0.75rem;
}

.sharing-role-helper-title[b-s1yuyendvy] {
    color: #17458f;
    font-size: 0.76rem;
    font-weight: 700;
}

.sharing-role-helper-text[b-s1yuyendvy] {
    margin-top: 0.22rem;
    color: #64748b;
    font-size: 0.77rem;
    line-height: 1.45;
}

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

.sharing-list[b-s1yuyendvy] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.sharing-item[b-s1yuyendvy] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    border: 1px solid #e3ebf7;
    border-radius: 0.9rem;
    background: #fbfcff;
    padding: 0.85rem;
}

.sharing-item-main[b-s1yuyendvy] {
    min-width: 0;
}

.sharing-item-title[b-s1yuyendvy] {
    color: #1f2937;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.3;
}

.sharing-item-detail[b-s1yuyendvy] {
    margin-top: 0.22rem;
    color: #64748b;
    font-size: 0.77rem;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.sharing-item-label[b-s1yuyendvy] {
    color: #48616d;
    font-weight: 700;
}

.sharing-muted[b-s1yuyendvy] {
    color: #64748b;
    font-size: 0.85rem;
}

.status-chip[b-s1yuyendvy] {
    display: inline-block;
    padding: 0.24rem 0.54rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    border: 1px solid;
}

.status-chip-success[b-s1yuyendvy] {
    background-color: #daf4e6;
    border-color: #7cc59d;
    color: #176b47;
}

.status-chip-warning[b-s1yuyendvy] {
    background-color: #fff7dc;
    border-color: #e8c967;
    color: #8a6a0f;
}

.status-chip-muted[b-s1yuyendvy] {
    background-color: #f1f5f9;
    border-color: #d1dbe7;
    color: #64748b;
}

@media (max-width: 760px) {
    .sharing-form-grid[b-s1yuyendvy] {
        grid-template-columns: 1fr;
    }

    .sharing-form-actions[b-s1yuyendvy] {
        justify-content: stretch;
    }

    .sharing-form-actions .btn[b-s1yuyendvy] {
        width: 100%;
    }

    .sharing-item[b-s1yuyendvy] {
        flex-direction: column;
    }

    .sharing-item .btn[b-s1yuyendvy] {
        width: 100%;
    }
}
/* /Components/Pages/TestResults.razor.rz.scp.css */
/* TestResults-specific overrides — shared styles live in app.css (.log-*) */
/* /Components/Pages/Timeline.razor.rz.scp.css */
/* ── Page shell ─────────────────────────────────────── */
.timeline-page-shell[b-8hu4tav3k2] {
    display: grid;
    gap: 1rem;
    padding: 1rem 0 2rem;
}

/* ── Staleness card wrapper ─────────────────────────── */
.timeline-staleness-card[b-8hu4tav3k2] {
    background: #fff;
    border: 1px solid #dde9e1;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.timeline-staleness-header[b-8hu4tav3k2] {
    padding: .75rem 1rem;
    background: linear-gradient(180deg, #fcfeff, #f7fcf9);
}

/* ── No-patient empty state ─────────────────────────── */
.timeline-no-patient[b-8hu4tav3k2] {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: .75rem;
}

.timeline-no-patient-title[b-8hu4tav3k2] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink-700);
    margin: 0;
}

.timeline-no-patient-copy[b-8hu4tav3k2] {
    font-size: .85rem;
    color: var(--ink-500);
    margin: 0;
}

/* ── Loading state ──────────────────────────────────── */
.timeline-loading[b-8hu4tav3k2] {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--ink-500);
    font-size: .85rem;
    font-style: italic;
}

/* ── Error state ────────────────────────────────────── */
.timeline-error[b-8hu4tav3k2] {
    font-size: .82rem;
    color: var(--danger);
    background: var(--danger-light);
    border: 1px solid #fca5a5;
    border-radius: .55rem;
    padding: .55rem .8rem;
}
/* /Components/Pages/Vitals.razor.rz.scp.css */
/* Vitals-specific overrides — shared styles live in app.css (.log-*) */
/* /Components/Shared/FeedbackButton.razor.rz.scp.css */
/* ── Floating action button ── */
.feedback-fab[b-1mhsey031r] {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--mint-600, #059669);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    transition: background .15s, transform .15s;
}

.feedback-fab:hover[b-1mhsey031r] {
    background: var(--mint-700, #047857);
    transform: scale(1.08);
}

/* ── Backdrop ── */
.feedback-backdrop[b-1mhsey031r] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .3);
    z-index: 600;
}

/* ── Modal ── */
.feedback-modal[b-1mhsey031r] {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    width: min(360px, calc(100vw - 3rem));
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
    z-index: 700;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feedback-modal-header[b-1mhsey031r] {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--mint-50, #f0fdf4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #fcfeff, #f7fcf9);
}

.feedback-modal-title[b-1mhsey031r] {
    margin: 0;
    font-size: .9rem;
    font-weight: 700;
    color: var(--mint-800, #065f46);
}

.feedback-modal-close[b-1mhsey031r] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--ink-500);
    padding: 0 .2rem;
    line-height: 1;
}

.feedback-modal-close:hover[b-1mhsey031r] { color: var(--ink-900); }

.feedback-modal-body[b-1mhsey031r] {
    padding: .85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.feedback-error[b-1mhsey031r] {
    font-size: .78rem;
    color: var(--danger, #dc2626);
    background: var(--danger-light, #fee2e2);
    border: 1px solid #fca5a5;
    border-radius: .45rem;
    padding: .4rem .65rem;
}

.feedback-field[b-1mhsey031r] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.feedback-label[b-1mhsey031r] {
    font-size: .75rem;
    font-weight: 600;
    color: var(--ink-700);
}

.feedback-chips[b-1mhsey031r] {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.feedback-chip[b-1mhsey031r] {
    font-size: .7rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border: 1px solid #c7d9ce;
    border-radius: 999px;
    background: #fff;
    color: var(--ink-700);
    cursor: pointer;
    transition: background .12s, border-color .12s, color .12s;
}

.feedback-chip.active[b-1mhsey031r],
.feedback-chip:hover[b-1mhsey031r] {
    background: var(--mint-100);
    border-color: var(--mint-400);
    color: var(--mint-800);
}

.feedback-textarea[b-1mhsey031r] {
    font-size: .83rem;
    padding: .55rem .7rem;
    border: 1px solid #c7d9ce;
    border-radius: .55rem;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
    color: var(--ink-900);
    background: #fff;
}

.feedback-textarea:focus[b-1mhsey031r] {
    outline: none;
    border-color: var(--mint-500, #34d399);
    box-shadow: 0 0 0 2px rgba(52, 211, 153, .15);
}

.feedback-modal-footer[b-1mhsey031r] {
    padding: .65rem 1rem;
    border-top: 1px solid var(--mint-50);
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    background: #fafdfb;
}

/* ── Mobile: lift FAB and modal above BottomNav (~64px + safe area) ── */
@media (max-width: 768px) {
    .feedback-fab[b-1mhsey031r] {
        bottom: 5.5rem;
    }

    .feedback-modal[b-1mhsey031r] {
        bottom: 9rem;
        right: 1rem;
        width: min(340px, calc(100vw - 2rem));
    }
}

/* ── Success state ── */
.feedback-success[b-1mhsey031r] {
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: .9rem;
    font-weight: 600;
    color: var(--mint-700, #047857);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.feedback-success-icon[b-1mhsey031r] {
    font-size: 1.5rem;
}
/* /Components/Shared/PatientWorkspaceHeader.razor.rz.scp.css */
.workspace-header[b-9xlzwjsook] {
    margin-bottom: 1rem;
    border: 1px solid #d9e8df;
    border-radius: 1rem;
    background: linear-gradient(145deg, #eef7f1 0%, #fbfdfb 100%);
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.workspace-header-breadcrumbs[b-9xlzwjsook] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.74rem;
}

.workspace-header-breadcrumbs a[b-9xlzwjsook] {
    color: #176b47;
    text-decoration: none;
    font-weight: 600;
}

.workspace-header-main[b-9xlzwjsook] {
    margin-top: 0.55rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.workspace-header-title[b-9xlzwjsook] {
    margin: 0;
    color: #14532d;
    font-size: 1.3rem;
    font-weight: 700;
}

.workspace-header-context[b-9xlzwjsook] {
    margin-top: 0.22rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    color: #64748b;
    font-size: 0.79rem;
}

.workspace-header-patient[b-9xlzwjsook] {
    color: #14532d;
    font-weight: 700;
}

.workspace-header-switcher[b-9xlzwjsook] {
    min-width: 15rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.workspace-header-switcher-label[b-9xlzwjsook] {
    color: #48616d;
    font-size: 0.72rem;
    font-weight: 700;
}

.workspace-header-switcher-status[b-9xlzwjsook] {
    color: #64748b;
    font-size: 0.75rem;
}

.workspace-header-switcher-link[b-9xlzwjsook] {
    color: #176b47;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
}

.workspace-header-search[b-9xlzwjsook] {
    min-width: 15rem;
}

.workspace-header-switcher-current[b-9xlzwjsook] {
    color: #64748b;
    font-size: 0.72rem;
}

.workspace-header-results[b-9xlzwjsook] {
    border: 1px solid #d6e8dc;
    border-radius: 0.85rem;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    max-height: 16rem;
    overflow-y: auto;
}

.workspace-header-result[b-9xlzwjsook] {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #eef5f0;
    background: transparent;
    padding: 0.7rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
}

.workspace-header-result:last-child[b-9xlzwjsook] {
    border-bottom: 0;
}

.workspace-header-result:hover[b-9xlzwjsook] {
    background: #f6fbf7;
}

.workspace-header-result-active[b-9xlzwjsook],
.workspace-header-result:focus-visible[b-9xlzwjsook] {
    background: #ecf9f0;
    outline: none;
}

.workspace-header-result-name[b-9xlzwjsook] {
    color: #14532d;
    font-size: 0.78rem;
    font-weight: 700;
}

.workspace-header-result-meta[b-9xlzwjsook] {
    color: #64748b;
    font-size: 0.72rem;
    white-space: nowrap;
}

.workspace-header-result-empty[b-9xlzwjsook] {
    color: #64748b;
    font-size: 0.76rem;
    padding: 0.75rem 0.8rem;
}

.workspace-header-nav[b-9xlzwjsook] {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.workspace-header-link[b-9xlzwjsook] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #d6e8dc;
    background: rgba(255, 255, 255, 0.92);
    color: #176b47;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.42rem 0.78rem;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.workspace-header-link:hover[b-9xlzwjsook] {
    border-color: #9ddab8;
    background: #eef8f2;
    transform: translateY(-1px);
}

.workspace-header-link-active[b-9xlzwjsook] {
    border-color: #1f8f5f;
    background: linear-gradient(135deg, #2aa46f, #1f8f5f);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(31, 143, 95, 0.18);
}

.workspace-header-log-nav[b-9xlzwjsook] {
    margin-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.workspace-header-log-label[b-9xlzwjsook] {
    font-size: 0.63rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 0.1rem;
}

.workspace-header-log-link[b-9xlzwjsook] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #d6e8dc;
    background: rgba(255, 255, 255, 0.75);
    color: #176b47;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.62rem;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.workspace-header-log-link:hover[b-9xlzwjsook] {
    border-color: #9ddab8;
    background: #eef8f2;
}

.workspace-header-log-link-active[b-9xlzwjsook] {
    border-color: #1f8f5f;
    background: linear-gradient(135deg, #2aa46f, #1f8f5f);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(31, 143, 95, 0.15);
}

@media (max-width: 760px) {
    .workspace-header-main[b-9xlzwjsook] {
        flex-direction: column;
    }

    .workspace-header-actions[b-9xlzwjsook] {
        width: 100%;
    }

    .workspace-header-switcher[b-9xlzwjsook],
    .workspace-header-search[b-9xlzwjsook] {
        width: 100%;
        min-width: 0;
    }

    .workspace-header-actions .btn[b-9xlzwjsook],
    .workspace-header-search[b-9xlzwjsook] {
        width: 100%;
    }
}
/* /Components/Shared/StalenessHeader.razor.rz.scp.css */
.staleness-bar[b-jyllpm0l09] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem .75rem;
}

.staleness-info[b-jyllpm0l09] {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
}

.staleness-badge[b-jyllpm0l09] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 700;
    padding: .18rem .5rem;
}

.staleness-badge-fresh[b-jyllpm0l09] {
    background: var(--mint-100);
    color: var(--mint-800);
    border: 1px solid var(--mint-300);
}

.staleness-badge-stale[b-jyllpm0l09] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.staleness-time[b-jyllpm0l09] {
    font-size: .72rem;
    color: var(--ink-500);
}

.staleness-actions[b-jyllpm0l09] {
    display: flex;
    gap: .4rem;
    align-items: center;
}

.staleness-error[b-jyllpm0l09] {
    margin-top: .5rem;
}
/* /Components/Shared/Tooltip.razor.rz.scp.css */
.tooltip-wrap[b-5e3b27svyi] {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-inline-start: 0.25rem;
}

.tooltip-trigger[b-5e3b27svyi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    border: 1.5px solid var(--mint-400, #5ec4b0);
    background: transparent;
    color: var(--mint-600, #2da89a);
    font-size: 0.65rem;
    font-weight: 700;
    cursor: help;
    padding: 0;
    line-height: 1;
}

.tooltip-trigger:hover[b-5e3b27svyi],
.tooltip-trigger:focus[b-5e3b27svyi] {
    background: var(--mint-50, #eafaf8);
    outline: none;
}

.tooltip-bubble[b-5e3b27svyi] {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.35rem);
    transform: translateX(-50%);
    background: var(--ink-900, #111827);
    color: #fff;
    font-size: 0.78rem;
    line-height: 1.45;
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    white-space: normal;
    width: max-content;
    max-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    z-index: 1000;
    pointer-events: none;
}

.tooltip-bubble[b-5e3b27svyi]::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--ink-900, #111827);
}
