/* /Components/Layout/DoctorActionLayout.razor.rz.scp.css */
.doc-action-layout[b-97krrmsvmt] {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: #f7f4f1;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.doc-action-header[b-97krrmsvmt] {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.doc-action-header-inner[b-97krrmsvmt] {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-action-brand[b-97krrmsvmt] {
    display: flex;
    align-items: center;
}

.doc-action-logo[b-97krrmsvmt] {
    height: 20px;
    width: auto;
    display: block;
}

.doc-action-badge[b-97krrmsvmt] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #e5e5e5;
}

.badge-lock-icon[b-97krrmsvmt] {
    font-size: 11px;
}

.doc-action-main[b-97krrmsvmt] {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.doc-action-container[b-97krrmsvmt] {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    flex: 1;
}

.doc-action-footer[b-97krrmsvmt] {
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background-color: transparent;
}

.footer-note[b-97krrmsvmt] {
    margin: 0;
    font-size: 11px;
    color: #888888;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.nx-app[b-nnhj6ddcom] {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: row;
    background: var(--nx-bg-warm, #f7f4f1);
    overflow: hidden;
}

.nx-content-column[b-nnhj6ddcom] {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.nx-main[b-nnhj6ddcom] {
    flex: 1;
    background: var(--nx-bg-warm, #f7f4f1);
    padding: 1rem 0;
}

.nx-container[b-nnhj6ddcom] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nx-footer[b-nnhj6ddcom] {
    background: var(--nx-primary, #1a1a1a);
    color: #999;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

.nx-footer p[b-nnhj6ddcom] {
    margin: 0;
}

#blazor-error-ui[b-nnhj6ddcom] {
    color-scheme: light only;
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    display: none;
    left: 0;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 3px solid #e6940a;
}

#blazor-error-ui .dismiss[b-nnhj6ddcom] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

@media (max-width: 768px) {
    .nx-app[b-nnhj6ddcom] {
        height: auto;
        /* dvh, not vh: 100vh is the address-bar-collapsed height, so on iOS this
           floor alone makes the document taller than the screen and leaves the
           footer sitting under the fold as an empty second page. */
        min-height: 100vh;
        min-height: 100dvh;
        flex-direction: column;
        overflow: visible;
    }

    .nx-content-column[b-nnhj6ddcom] {
        width: 100%;
        overflow: visible;
    }

    .nx-main[b-nnhj6ddcom] {
        padding: 0.5rem 0;
    }
    
    .nx-container[b-nnhj6ddcom] {
        padding: 0 1rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Portal sidebar — scoped to NavMenu and backed by the SeriousMD token set. */
.nx-navbar[b-zcywywc0s0] { width:252px; height:100vh; height:100dvh; flex:0 0 252px; position:sticky; top:0; z-index:1000; background:var(--smd-white,#fff); border-right:1px solid var(--smd-gray-30,#e1e3e9); }
.nx-navbar-container[b-zcywywc0s0] { height:100%; display:flex; flex-direction:column; padding:24px 16px 16px; gap:24px; }
.nx-brand[b-zcywywc0s0] { display:flex; align-items:center; min-height:32px; padding:0 10px; text-decoration:none; flex-shrink:0; }
.nx-brand:hover[b-zcywywc0s0] { opacity:.75; }
.nx-brand-logo[b-zcywywc0s0] { display:block; width:auto; height:24px; max-width:176px; }
.nx-nav-links[b-zcywywc0s0] { min-height:0; flex:1; display:flex; flex-direction:column; align-items:stretch; gap:4px; overflow:visible; }
/* ::deep because <NavLink> is a Blazor component — Blazor stamps b-<scope> onto native HTML
   elements only, so a bare `.nx-nav-link` compiles to `.nx-nav-link[b-<scope>]` which never
   matches the rendered <a> tags. Anchoring off .nx-navbar (a real <nav> element that does
   carry the scope) with ::deep pierces component boundaries. Same pattern as .nx-user-identity
   fix in commit b0ad130f. */
.nx-navbar[b-zcywywc0s0]  .nx-nav-link { width:100%; min-height:42px; display:flex; align-items:center; gap:12px; padding:9px 12px; color:var(--smd-gray-70,#575c71); background:transparent; border:0; border-radius:10px; font-family:inherit; font-size:.875rem; font-weight:500; line-height:1.25; text-align:left; text-decoration:none; white-space:normal; cursor:pointer; transition:color 150ms ease,background-color 150ms ease; }
.nx-navbar[b-zcywywc0s0]  .nx-nav-link svg { width:19px; height:19px; flex:0 0 19px; }
/* A sub-page of the item above it (Rx Requests → Affiliates): indented, a step quieter. */
.nx-navbar[b-zcywywc0s0]  .nx-nav-link.nx-nav-child { min-height:36px; padding-left:30px; font-size:.82rem; }
.nx-navbar[b-zcywywc0s0]  .nx-nav-link.nx-nav-child svg { width:16px; height:16px; flex-basis:16px; }
.nx-navbar[b-zcywywc0s0]  .nx-nav-link:hover { color:var(--text-primary,#222326); background:#f1f8f5; }
.nx-navbar[b-zcywywc0s0]  .nx-nav-link.active { color:#168663; background:var(--mint-soft,#e7f1ee); font-weight:600; }
.nx-nav-auth[b-zcywywc0s0] { flex-shrink:0; display:flex; flex-direction:column; align-items:stretch; gap:8px; padding-top:16px; border-top:1px solid var(--smd-gray-30,#e1e3e9); }
.nx-nav-auth form[b-zcywywc0s0] { margin:0; }
/* ::deep because .nx-user-identity sits on a <NavLink> — a COMPONENT. Blazor
   stamps b-<scope> onto elements only, so a bare `.nx-user-identity` compiles to
   `.nx-user-identity[b-<scope>]` and matches nothing; these rules were dead from
   the day they were written, which is what left the block rendering stacked.
   .nx-nav-auth is a real <div> and does carry the scope. The same trap on
   .nx-nav-link for 77 other NavLinks is fixed in issue #703 (see below). */
.nx-nav-auth[b-zcywywc0s0]  .nx-user-identity { display:flex; flex-wrap:nowrap; align-items:center; gap:10px; padding:6px 4px; border-radius:10px; text-decoration:none; min-width:0; transition:background-color 150ms ease; }
.nx-nav-auth[b-zcywywc0s0]  .nx-user-identity:hover { background:#f1f8f5; }
.nx-user-avatar[b-zcywywc0s0] { flex:0 0 44px; width:44px; height:44px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; overflow:hidden; background:var(--mint-soft,#e7f1ee); color:var(--mint-dark,#13996e); font-size:.9rem; font-weight:700; }
.nx-user-avatar img[b-zcywywc0s0] { width:100%; height:100%; display:block; object-fit:cover; }
.nx-user-meta[b-zcywywc0s0] { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:1px; }
.nx-user-name-row[b-zcywywc0s0] { display:flex; align-items:center; gap:6px; min-width:0; }
.nx-user-name[b-zcywywc0s0] { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text-primary,#222326); font-size:.85rem; font-weight:600; }
.nx-user-role[b-zcywywc0s0] { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text-secondary,#636467); font-size:.72rem; }
.nx-expert-status[b-zcywywc0s0] { display:flex; flex-direction:column; gap:8px; padding:4px 0; }
.nx-expert-badge[b-zcywywc0s0] { flex:0 0 auto; padding:2px 7px; border-radius:20px; color:#065f46; background:#dbf6e8; font-size:.6rem; font-weight:700; letter-spacing:.06em; }
.nx-duty-toggle[b-zcywywc0s0] { width:100%; min-height:38px; display:inline-flex; align-items:center; gap:8px; padding:7px 10px; border:1.5px solid var(--smd-gray-30,#e1e3e9); border-radius:10px; background:var(--smd-gray-10,#f8f8f9); color:var(--smd-gray-70,#575c71); cursor:pointer; font-family:inherit; text-decoration:none; transition:background .22s,border-color .22s,box-shadow .22s; }
.nx-duty-toggle:hover:not(:disabled)[b-zcywywc0s0] { border-color:var(--smd-gray-40,#cbcdd8); background:var(--smd-gray-20,#f0f1f4); }
.nx-duty-toggle:disabled[b-zcywywc0s0] { opacity:.7; cursor:default; }
.nx-duty-toggle.nx-duty-on[b-zcywywc0s0] { background:var(--smd-teal-10,#eafaf8); border-color:var(--smd-teal-70,#6bd9d1); box-shadow:0 0 0 3px rgba(44,201,189,.10); }
.nx-duty-toggle.nx-duty-on:hover:not(:disabled)[b-zcywywc0s0] { background:var(--smd-teal-20,#d5f4f2); border-color:var(--smd-teal-90,#41cec4); }
.nx-duty-dot[b-zcywywc0s0] { width:7px; height:7px; flex-shrink:0; border-radius:50%; background:var(--smd-gray-50,#b4b8c7); transition:background .22s,box-shadow .22s; }
.nx-duty-toggle.nx-duty-on .nx-duty-dot[b-zcywywc0s0] { background:var(--smd-teal-100,#2cc9bd); box-shadow:0 0 0 3px rgba(44,201,189,.2); animation:nx-duty-pulse-b-zcywywc0s0 2s ease-in-out infinite; }
.nx-duty-label[b-zcywywc0s0] { flex:1; color:inherit; font-size:.78rem; font-weight:600; letter-spacing:.03em; text-align:left; }
.nx-duty-toggle.nx-duty-on .nx-duty-label[b-zcywywc0s0] { color:var(--smd-teal-130,#1f8d84); }
/* The roster line under the duty toggle: the plan the toggle sits on top of, deliberately
   quieter than the toggle's own label so the two do not read as the same setting. */
.nx-duty-roster[b-zcywywc0s0] { margin-top:-4px; padding:0 2px; color:var(--smd-gray-60,#767b8e); font-size:.68rem; font-weight:500; letter-spacing:.01em; line-height:1.3; }

.nx-pill-track[b-zcywywc0s0] { width:32px; height:17px; position:relative; display:block; flex-shrink:0; border-radius:100px; background:var(--smd-gray-40,#cbcdd8); transition:background .22s; }
.nx-duty-toggle.nx-duty-on .nx-pill-track[b-zcywywc0s0] { background:var(--smd-teal-100,#2cc9bd); }
.nx-pill-thumb[b-zcywywc0s0] { position:absolute; top:2px; left:2px; display:block; width:13px; height:13px; border-radius:50%; background:var(--smd-white,#fff); box-shadow:0 1px 3px rgba(0,0,0,.2); transition:transform .22s cubic-bezier(.34,1.56,.64,1); }
.nx-duty-toggle.nx-duty-on .nx-pill-thumb[b-zcywywc0s0] { transform:translateX(15px); }
.nx-pill-thumb.nx-pill-saving[b-zcywywc0s0] { animation:nx-pill-spin-b-zcywywc0s0 .6s linear infinite; }
.nx-duty-toggle.nx-duty-on .nx-pill-thumb.nx-pill-saving[b-zcywywc0s0] { animation:nx-pill-spin-on-b-zcywywc0s0 .6s linear infinite; }
.nx-btn-primary[b-zcywywc0s0],.nx-btn-logout[b-zcywywc0s0] { width:100%; min-height:38px; display:inline-flex; align-items:center; justify-content:center; padding:8px 12px; border-radius:10px; font:inherit; font-size:.825rem; font-weight:600; text-decoration:none; cursor:pointer; }
.nx-btn-primary[b-zcywywc0s0] { color:var(--smd-white,#fff); background:var(--smd-teal-130,#1f8d84); border:1px solid var(--smd-teal-130,#1f8d84); }
.nx-btn-logout[b-zcywywc0s0] { color:var(--smd-gray-70,#575c71); background:transparent; border:1px solid var(--smd-gray-30,#e1e3e9); }
.nx-btn-logout:hover[b-zcywywc0s0] { color:var(--smd-red-100,#ff4b54); border-color:var(--smd-red-100,#ff4b54); }
.nx-menu-toggle[b-zcywywc0s0] { display:none; }
.nx-hide-mobile[b-zcywywc0s0] { display:flex!important; }
.nx-hide-desktop[b-zcywywc0s0] { display:none!important; }
.nx-hide-mobile[b-zcywywc0s0],.nx-mobile-nav-group[b-zcywywc0s0] { flex-direction:column; gap:4px; }
.nx-flyout-backdrop[b-zcywywc0s0] { position:fixed; inset:0; z-index:1040; background:transparent; cursor:default; }
.nx-dropdown[b-zcywywc0s0] { position:relative; display:block; }
.nx-dropdown-toggle[b-zcywywc0s0] { justify-content:flex-start; position:relative; z-index:1041; }
.nx-dropdown-arrow[b-zcywywc0s0] { width:14px!important; height:14px!important; margin-left:auto; opacity:.55; transition:transform 180ms ease, opacity 180ms ease; }
.nx-dropdown-arrow.open[b-zcywywc0s0] { transform:translateX(3px); opacity:1; color:#168663; }
.nx-dropdown-menu[b-zcywywc0s0] { display:flex; flex-direction:column; align-items:stretch; gap:2px; position:absolute; left:calc(100% + 10px); top:0; background:var(--smd-white,#fff); border:1px solid var(--smd-gray-30,#e1e3e9); border-radius:12px; box-shadow:0 10px 30px -5px rgba(15,23,42,.14), 0 4px 10px -2px rgba(15,23,42,.06); padding:10px 8px; z-index:1050; animation:flyoutIn-b-zcywywc0s0 160ms cubic-bezier(.16,1,.3,1); }
.nx-mega-flyout[b-zcywywc0s0] { top:-80px; display:grid; grid-template-columns:260px 285px; gap:16px; min-width:561px; padding:12px 14px; }
.nx-mega-flyout-col[b-zcywywc0s0] { display:flex; flex-direction:column; gap:2px; }
.nx-mega-flyout-col:first-child[b-zcywywc0s0] { border-right:1px solid var(--smd-gray-30,#e1e3e9); padding-right:16px; }
.nx-navbar[b-zcywywc0s0]  .nx-dropdown-menu .nx-nav-link { min-height:34px; padding:6px 10px; gap:10px; font-size:.82rem; border-radius:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--smd-gray-70,#575c71); }
.nx-navbar[b-zcywywc0s0]  .nx-dropdown-menu .nx-nav-link:hover { background:#f1f8f5; color:var(--text-primary,#222326); }
.nx-navbar[b-zcywywc0s0]  .nx-dropdown-menu .nx-nav-link.active { color:#168663; background:var(--mint-soft,#e7f1ee); font-weight:600; }
.nx-navbar[b-zcywywc0s0]  .nx-dropdown-menu .nx-nav-link svg { width:16px; height:16px; flex:0 0 16px; }
.nx-dropdown-header[b-zcywywc0s0],.nx-mobile-nav-group-title[b-zcywywc0s0] { padding:6px 10px 3px; color:var(--smd-gray-60,#868b9e); font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.nx-dropdown-divider[b-zcywywc0s0] { height:1px; margin:6px 6px; background:var(--smd-gray-30,#e1e3e9); }
@keyframes flyoutIn-b-zcywywc0s0 { from { opacity:0; transform:translateX(-6px); } to { opacity:1; transform:translateX(0); } }
@media (max-width:768px) {
  .nx-navbar[b-zcywywc0s0] { width:100%; height:56px; flex-basis:56px; position:sticky; border-right:0; border-bottom:1px solid var(--smd-gray-30,#e1e3e9); }
  .nx-navbar-container[b-zcywywc0s0] { height:56px; padding:0 16px; flex-direction:row; align-items:center; justify-content:space-between; gap:12px; }
  .nx-brand[b-zcywywc0s0] { padding:0; }
  .nx-brand-logo[b-zcywywc0s0] { height:22px; }
  .nx-menu-toggle[b-zcywywc0s0] { width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; padding:8px; color:var(--smd-gray-90,#1f2439); background:transparent; border:0; border-radius:10px; cursor:pointer; }
  .nx-menu-toggle:hover[b-zcywywc0s0] { background:var(--smd-gray-20,#f0f1f4); }
  .nx-menu-toggle svg[b-zcywywc0s0] { width:24px; height:24px; }
  .nx-nav-links[b-zcywywc0s0],.nx-nav-auth[b-zcywywc0s0] { display:none; }
  .nx-nav-links.open[b-zcywywc0s0] { display:flex; position:fixed; inset:56px 0 0; padding:12px 16px 190px; background:var(--smd-white,#fff); overflow-y:auto; z-index:999; animation:drawerIn-b-zcywywc0s0 180ms ease-out; }
  .nx-nav-auth.open[b-zcywywc0s0] { display:flex; position:fixed; left:0; right:0; bottom:0; padding:12px 16px 16px; background:var(--smd-white,#fff); box-shadow:0 -8px 20px rgba(15,23,42,.06); z-index:1001; }
  .nx-navbar[b-zcywywc0s0]  .nx-nav-link { min-height:44px; font-size:.95rem; }
  .nx-hide-mobile[b-zcywywc0s0] { display:none!important; }
  .nx-hide-desktop[b-zcywywc0s0] { display:flex!important; }
  .nx-mobile-nav-group[b-zcywywc0s0] { padding-left:8px; margin:4px 0 8px 8px; border-left:2px solid var(--smd-gray-30,#e1e3e9); }
  .nx-dropdown-menu[b-zcywywc0s0] { position:static; max-height:none; margin:4px 0 8px; box-shadow:none; border:0; border-left:2px solid var(--smd-gray-30,#e1e3e9); border-radius:0; animation:none; }
  .nx-mega-flyout[b-zcywywc0s0] { top:auto; display:flex; flex-direction:column; gap:8px; min-width:0; padding:4px 0; }
  .nx-mega-flyout-col:first-child[b-zcywywc0s0] { border-right:0; padding-right:0; }
}
@keyframes drawerIn-b-zcywywc0s0 { from { opacity:0; transform:translateX(-12px); } to { opacity:1; transform:translateX(0); } }
@keyframes nx-duty-pulse-b-zcywywc0s0 { 0%,100% { box-shadow:0 0 0 3px rgba(44,201,189,.25); } 50% { box-shadow:0 0 0 5px rgba(44,201,189,.08); } }
@keyframes nx-pill-spin-b-zcywywc0s0 { from { transform:translateX(0) rotate(0deg); } to { transform:translateX(0) rotate(360deg); } }
@keyframes nx-pill-spin-on-b-zcywywc0s0 { from { transform:translateX(15px) rotate(0deg); } to { transform:translateX(15px) rotate(360deg); } }
/* /Components/Layout/PublicLayout.razor.rz.scp.css */
.nx-app[b-ivysauudow] {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: row;
    background: var(--nx-bg-warm, #f7f4f1);
    overflow: hidden;
}

.nx-content-column[b-ivysauudow] {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.nx-public-header[b-ivysauudow] {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
}

.nx-public-brand[b-ivysauudow] {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nx-public-brand:hover[b-ivysauudow] {
    opacity: 0.75;
}

.nx-public-logo[b-ivysauudow] {
    display: block;
    width: auto;
    height: 28px;
}

.nx-main[b-ivysauudow] {
    flex: 1;
    background: var(--nx-bg-warm, #f7f4f1);
    padding: 1rem 0;
}

.nx-container[b-ivysauudow] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nx-footer[b-ivysauudow] {
    background: var(--nx-primary, #1a1a1a);
    color: #999;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

.nx-footer p[b-ivysauudow] {
    margin: 0;
}

#blazor-error-ui[b-ivysauudow] {
    color-scheme: light only;
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    display: none;
    left: 0;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 3px solid #e6940a;
}

#blazor-error-ui .dismiss[b-ivysauudow] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

@media (max-width: 768px) {
    .nx-app[b-ivysauudow] {
        height: auto;
        /* dvh, not vh: 100vh is the address-bar-collapsed height, so on iOS this
           floor alone makes the document taller than the screen and leaves the
           footer sitting under the fold as an empty second page. */
        min-height: 100vh;
        min-height: 100dvh;
        flex-direction: column;
        overflow: visible;
    }

    .nx-content-column[b-ivysauudow] {
        width: 100%;
        overflow: visible;
    }

    .nx-main[b-ivysauudow] {
        padding: 0.5rem 0;
    }

    .nx-container[b-ivysauudow] {
        padding: 0 1rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-chvb3nm3jv],
.components-reconnect-repeated-attempt-visible[b-chvb3nm3jv],
.components-reconnect-failed-visible[b-chvb3nm3jv],
.components-pause-visible[b-chvb3nm3jv],
.components-resume-failed-visible[b-chvb3nm3jv],
.components-rejoining-animation[b-chvb3nm3jv] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-chvb3nm3jv] {
    border: 0;
    background-color: #1a1a1a;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    #components-reconnect-modal button:hover[b-chvb3nm3jv] {
        background-color: #333;
    }

    #components-reconnect-modal button:active[b-chvb3nm3jv] {
        background-color: #000;
    }

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

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

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

@keyframes components-rejoining-animation-b-chvb3nm3jv {
    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/CourierWebhookSimulator.razor.rz.scp.css */
/* Scoped styles for CourierWebhookSimulator */

.badge[b-i3o27ixpp5] {
    letter-spacing: 0.02em;
}

pre[b-i3o27ixpp5] {
    color: #1a1a1a;
    line-height: 1.45;
}

pre[b-i3o27ixpp5]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

pre[b-i3o27ixpp5]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* ── Top Control Card ── */
.sim-top-card[b-i3o27ixpp5] {
    border: 1px solid #e2e8f0;
}

/* ── 2-Way Pipeline Visual Diagram ── */
.sim-pipeline-container[b-i3o27ixpp5] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.sim-pipeline-node[b-i3o27ixpp5] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.sim-pipeline-node.is-active[b-i3o27ixpp5] {
    border-color: #0f172a;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.sim-pipeline-arrow[b-i3o27ixpp5] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.85rem;
}

.sim-pipeline-arrow.is-active[b-i3o27ixpp5] {
    color: #2563eb;
    font-weight: 700;
}

/* ── Compact Tactile Button Cards (High Affordance) ── */
.sim-step-btn[b-i3o27ixpp5] {
    display: block;
    width: 100%;
    min-height: 44px;
    text-align: left;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
}

.sim-step-btn:hover:not(:disabled)[b-i3o27ixpp5] {
    border-color: #3b82f6;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.12);
}

.sim-step-btn:active:not(:disabled)[b-i3o27ixpp5] {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.sim-step-btn:disabled[b-i3o27ixpp5] {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f1f5f9;
}

/* Color Accent Variations for Step Buttons */
.sim-step-btn.is-blue[b-i3o27ixpp5] {
    border-left: 3.5px solid #3b82f6;
}
.sim-step-btn.is-amber[b-i3o27ixpp5] {
    border-left: 3.5px solid #f59e0b;
}
.sim-step-btn.is-purple[b-i3o27ixpp5] {
    border-left: 3.5px solid #8b5cf6;
}
.sim-step-btn.is-green[b-i3o27ixpp5] {
    border-left: 3.5px solid #10b981;
}
.sim-step-btn.is-slate[b-i3o27ixpp5] {
    border-left: 3.5px solid #64748b;
}
.sim-step-btn.is-danger[b-i3o27ixpp5] {
    border-left: 3.5px solid #ef4444;
}

/* Button Headings & Badges */
.sim-step-title[b-i3o27ixpp5] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1.2;
}

.sim-step-sub[b-i3o27ixpp5] {
    font-size: 0.68rem;
    color: #64748b;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    line-height: 1.2;
    margin-top: 0.15rem;
}

.sim-step-action[b-i3o27ixpp5] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    margin-top: 0.25rem;
}

.sim-step-btn:hover .sim-step-action[b-i3o27ixpp5] {
    background: #3b82f6;
    color: #ffffff;
}

/* Pulse indicator for Live Inbound Webhook Monitoring */
.sim-pulse-dot[b-i3o27ixpp5] {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: simPulse-b-i3o27ixpp5 2s infinite;
}

@keyframes simPulse-b-i3o27ixpp5 {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}
/* /Components/Pages/Admin/ExpertInfos/Index.razor.rz.scp.css */
/* Compact inline toggle for admin table rows */
.nx-duty-toggle-sm[b-qecymg2h0u] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    border: 1.5px solid #e2e8f0;
    background: #f1f5f9;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-family: inherit;
}

.nx-duty-toggle-sm:hover[b-qecymg2h0u] {
    border-color: #cbd5e1;
    background: #e2e8f0;
}

.nx-duty-toggle-sm.nx-duty-on[b-qecymg2h0u] {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #047857;
}

.nx-duty-toggle-sm.nx-duty-on:hover[b-qecymg2h0u] {
    background: #d1fae5;
    border-color: #34d399;
}

/* Status Dots */
.nx-roster-dot[b-qecymg2h0u] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.nx-roster-on[b-qecymg2h0u] {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.nx-roster-off[b-qecymg2h0u] {
    background: #94a3b8;
}

/* Mini pill inside the table toggle */
.nx-duty-sm-pill[b-qecymg2h0u] {
    width: 26px;
    height: 14px;
    border-radius: 100px;
    background: #cbd5e1;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    transition: background 0.2s;
}

.nx-duty-toggle-sm.nx-duty-on .nx-duty-sm-pill[b-qecymg2h0u] {
    background: #00a99d;
}

.nx-duty-sm-thumb[b-qecymg2h0u] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.nx-duty-sm-thumb.nx-duty-sm-on[b-qecymg2h0u] {
    transform: translateX(12px);
}

/* Segmented filter pills */
.nx-filter-chip[b-qecymg2h0u] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.nx-filter-chip:hover[b-qecymg2h0u] {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
}

.nx-filter-chip.active[b-qecymg2h0u] {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
}

.nx-filter-chip.active .nx-roster-off[b-qecymg2h0u] {
    background: #94a3b8;
}

.nx-count-badge[b-qecymg2h0u] {
    padding: 0.1rem 0.45rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
}

.nx-filter-chip.active .nx-count-badge[b-qecymg2h0u] {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Pill Search Input */
.nx-search-wrapper[b-qecymg2h0u] {
    position: relative;
}

.nx-search-icon[b-qecymg2h0u] {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.nx-search-input[b-qecymg2h0u] {
    padding-left: 2.25rem !important;
    border-radius: 9999px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 0.85rem;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nx-search-input:focus[b-qecymg2h0u] {
    border-color: #1a1a1a !important;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1) !important;
    outline: none;
}

/* Two-line table cell styling */
.nx-expert-table th[b-qecymg2h0u] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    vertical-align: middle;
}

.nx-expert-table td[b-qecymg2h0u] {
    vertical-align: middle;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.nx-cell-primary[b-qecymg2h0u] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.35;
}

.nx-cell-secondary[b-qecymg2h0u] {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.35;
}

.nx-org-pill[b-qecymg2h0u] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--bs-font-monospace);
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}
/* /Components/Pages/Admin/InboundLogs/InboundLogs.razor.rz.scp.css */
/* Mobile-first base styles for Inbound Logs Viewer */
.inbound-logs-container[b-4hnosw8te9] {
    padding-bottom: 2rem;
}

.metric-badges-container[b-4hnosw8te9] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.metric-badge-btn[b-4hnosw8te9] {
    border: 1px solid var(--nx-border-subtle, #e5e5e5);
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 20px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 36px;
}

.metric-badge-btn:hover[b-4hnosw8te9] {
    background: #f7f4f1;
    border-color: #d1d1d1;
}

.metric-badge-btn.active[b-4hnosw8te9] {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.metric-badge-btn.active .badge-count[b-4hnosw8te9] {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.badge-count[b-4hnosw8te9] {
    background: #f0f0f0;
    color: #555;
    border-radius: 10px;
    padding: 0.1rem 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.filter-bar[b-4hnosw8te9] {
    background: #ffffff;
    border: 1px solid var(--nx-border-subtle, #e5e5e5);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.log-table[b-4hnosw8te9] {
    font-size: 0.84rem;
}

.log-row[b-4hnosw8te9] {
    cursor: pointer;
    transition: background-color 0.1s ease;
}

.log-row:hover[b-4hnosw8te9] {
    background-color: #faf8f5 !important;
}

.method-badge[b-4hnosw8te9] {
    font-family: monospace;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
}

.method-post[b-4hnosw8te9] {
    background: #e1f0fa;
    color: #0b6bcb;
}

.method-get[b-4hnosw8te9] {
    background: #e3fbe3;
    color: #1f7a1f;
}

.cell-two-line[b-4hnosw8te9] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cell-primary[b-4hnosw8te9] {
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.25;
}

.cell-secondary[b-4hnosw8te9] {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.2;
}

/* Modal / Drawer for Inspection */
.inspect-drawer-backdrop[b-4hnosw8te9] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    display: flex;
    justify-content: flex-end;
}

.inspect-drawer[b-4hnosw8te9] {
    background: #ffffff;
    width: 100%;
    max-width: 680px;
    height: 100%;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.drawer-header[b-4hnosw8te9] {
    background: #1a1a1a;
    color: #ffffff;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-body[b-4hnosw8te9] {
    padding: 1.25rem;
    flex: 1;
}

.code-container[b-4hnosw8te9] {
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.8rem;
    max-height: 380px;
    overflow: auto;
    position: relative;
    white-space: pre-wrap;
    word-break: break-all;
}

.copy-btn[b-4hnosw8te9] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy-btn:hover[b-4hnosw8te9] {
    background: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .filter-bar[b-4hnosw8te9] {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

/* /Components/Pages/Admin/Trackers/ParameterMaintenance.razor.rz.scp.css */
/* ParameterMaintenance.razor.css */

.tracker-modal-backdrop[b-nt2yk1wyrp] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.55);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(2px);
}

.tracker-modal-dialog[b-nt2yk1wyrp] {
    width: 100%;
    max-width: 580px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

.tracker-modal-header[b-nt2yk1wyrp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
    background: #fbfbfb;
}

.tracker-modal-body[b-nt2yk1wyrp] {
    padding: 1.25rem;
    overflow-y: auto;
}

.tracker-modal-footer[b-nt2yk1wyrp] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e9ecef;
    background: #fbfbfb;
}

/* Tab Filter Badges */
.segmented-tab-btn[b-nt2yk1wyrp] {
    border: 1px solid #dee2e6;
    background: #ffffff;
    color: #495057;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.segmented-tab-btn:hover[b-nt2yk1wyrp] {
    background: #f8f9fa;
    border-color: #ced4da;
}

.segmented-tab-btn.active[b-nt2yk1wyrp] {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.segmented-tab-btn .badge-pill[b-nt2yk1wyrp] {
    background: rgba(0, 0, 0, 0.08);
    font-size: 0.7rem;
    padding: 0.15em 0.5em;
    border-radius: 10px;
}

.segmented-tab-btn.active .badge-pill[b-nt2yk1wyrp] {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* High-density table */
.tracker-table td[b-nt2yk1wyrp] {
    vertical-align: middle;
    padding: 0.65rem 0.75rem;
    font-size: 0.875rem;
}

.tracker-table th[b-nt2yk1wyrp] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.65rem 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

/* Mobile card view (per Rule 15) */
@media (max-width: 767.98px) {
    .tracker-table-container[b-nt2yk1wyrp] {
        display: none;
    }
    .tracker-card-list[b-nt2yk1wyrp] {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (min-width: 768px) {
    .tracker-card-list[b-nt2yk1wyrp] {
        display: none;
    }
    .tracker-table-container[b-nt2yk1wyrp] {
        display: block;
    }
}
/* /Components/Pages/Admin/WeightLossNotifications.razor.rz.scp.css */
td[b-jo68my2tof] { overflow-wrap: anywhere; }
th[b-jo68my2tof] { white-space: nowrap; }
/* /Components/Pages/Coordinator/DiagnosticsDetail.razor.rz.scp.css */
/* Scoped styles for DiagnosticsDetail */
.modal-backdrop-blur[b-ep39umikc8] {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
}

.positional-close[b-ep39umikc8] {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
}
/* /Components/Pages/Doctor/ConsultationAction.razor.rz.scp.css */
.action-card[b-m4hqdylchb] {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loading-card[b-m4hqdylchb], .error-card[b-m4hqdylchb], .expired-card[b-m4hqdylchb], .declined-card[b-m4hqdylchb] {
    text-align: center;
    padding: 48px 24px;
    align-items: center;
}

.state-icon[b-m4hqdylchb] {
    font-size: 40px;
    margin-bottom: 12px;
}

.notice-desc[b-m4hqdylchb] {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
    max-width: 420px;
    margin: 0 auto 16px;
}

.expired-footer[b-m4hqdylchb] {
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    width: 100%;
}

/* ── Live Countdown Bar ── */
.countdown-bar[b-m4hqdylchb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}

.countdown-bar.urgent[b-m4hqdylchb] {
    background: #fef2f2;
    border-color: #fecaca;
}

.countdown-info[b-m4hqdylchb] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #334155;
}

.countdown-bar.urgent .countdown-info[b-m4hqdylchb] {
    color: #b91c1c;
}

.timer-icon[b-m4hqdylchb] {
    font-size: 16px;
}

.progress-track[b-m4hqdylchb] {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.countdown-bar.urgent .progress-track[b-m4hqdylchb] {
    background: #fee2e2;
}

.progress-fill[b-m4hqdylchb] {
    height: 100%;
    background: #10b981;
    border-radius: 9999px;
    transition: width 1s linear;
}

.countdown-bar.urgent .progress-fill[b-m4hqdylchb] {
    background: #ef4444;
}

/* ── Triage Card ── */
.triage-card[b-m4hqdylchb] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.triage-header[b-m4hqdylchb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.topic-tag[b-m4hqdylchb] {
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
}

.mode-tag[b-m4hqdylchb] {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
}

.patient-name[b-m4hqdylchb] {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.patient-demographics[b-m4hqdylchb] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.demo-chip[b-m4hqdylchb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #64748b;
}

.slot-display-box[b-m4hqdylchb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    gap: 12px;
}

.slot-item[b-m4hqdylchb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.slot-label[b-m4hqdylchb] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 600;
}

.slot-val[b-m4hqdylchb] {
    font-size: 14px;
    color: #0f172a;
    font-weight: 500;
}

.slot-val.highlight[b-m4hqdylchb] {
    color: #047857;
    font-weight: 700;
}

.clinical-box[b-m4hqdylchb] {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 12px 14px;
}

.clinical-title[b-m4hqdylchb] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 4px;
}

.clinical-text[b-m4hqdylchb] {
    font-size: 13px;
    color: #334155;
    line-height: 1.45;
}

.safety-flags-box[b-m4hqdylchb] {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 10px;
    padding: 12px 14px;
}

.safety-flags-title[b-m4hqdylchb] {
    font-size: 12px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 6px;
}

.safety-list[b-m4hqdylchb] {
    margin: 0;
    padding-left: 20px;
    font-size: 12px;
    color: #78350f;
    line-height: 1.5;
}

.error-alert[b-m4hqdylchb] {
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 8px;
    margin-bottom: 0;
}

/* ── Actions ── */
.action-buttons-container[b-m4hqdylchb] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.btn-accept[b-m4hqdylchb] {
    background-color: #10b981;
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-accept:hover:not(:disabled)[b-m4hqdylchb] {
    background-color: #059669;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

.btn-accept:disabled[b-m4hqdylchb] {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-decline[b-m4hqdylchb] {
    background: transparent;
    color: #ef4444;
    border: 1px solid #fca5a5;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-decline:hover:not(:disabled)[b-m4hqdylchb] {
    background-color: #fef2f2;
    border-color: #ef4444;
}

/* ── Decline Options ── */
.decline-options-box[b-m4hqdylchb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.decline-title[b-m4hqdylchb] {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.decline-chips[b-m4hqdylchb] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip[b-m4hqdylchb] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip:hover[b-m4hqdylchb] {
    border-color: #94a3b8;
}

.chip.selected[b-m4hqdylchb] {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
    font-weight: 600;
}

.decline-actions[b-m4hqdylchb] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

/* ── Confirmed View ── */
.confirmed-badge[b-m4hqdylchb] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

.patient-headline[b-m4hqdylchb] {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.schedule-pill[b-m4hqdylchb] {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.info-section[b-m4hqdylchb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row[b-m4hqdylchb] {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.info-label[b-m4hqdylchb] {
    color: #64748b;
}

.info-val[b-m4hqdylchb] {
    color: #0f172a;
}

.action-buttons-group[b-m4hqdylchb] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.btn-action-primary[b-m4hqdylchb] {
    background-color: #10b981;
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
}

.btn-action-primary:hover:not(:disabled)[b-m4hqdylchb] {
    background-color: #059669;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-action-secondary[b-m4hqdylchb] {
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-action-secondary:hover[b-m4hqdylchb] {
    background-color: #333333;
    color: #ffffff;
}

.btn-icon[b-m4hqdylchb] {
    font-size: 18px;
}
/* /Components/Pages/Expert/ClaimPoolTable.razor.rz.scp.css */
/* Claim pool table — quiet, fixed-height, and deliberately less loud than the invitation cards
   above it. An invitation is counting down; this queue is not, and the colour weight should say so.

   Density is pinned to the Recent Request Activity card at the bottom of the page: 36px header row,
   42px body rows, 16px card padding, 16px radius. Three modules on one screen have to read as one
   table style, not three. */

.claim-pool[b-j7vtu0v8k2] {
    background: #FFFFFF;
    border: 1px solid #E8ECF2;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    padding: 16px;
    overflow: hidden;
}

/* ── Card heading ─────────────────────────────────────────────────────────── */

/* The label lives inside the card. Outside it, the page read as a loose heading with a table under
   it rather than as one module beside the other two. */
.claim-pool__head[b-j7vtu0v8k2] { margin: 0 0 12px; }

.claim-pool__title[b-j7vtu0v8k2] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #1F2A44;
}

.claim-pool__sub[b-j7vtu0v8k2] {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: #8A97AB;
}

/* ── Controls ─────────────────────────────────────────────────────────────── */

.claim-pool__controls[b-j7vtu0v8k2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.claim-pool__controls-right[b-j7vtu0v8k2] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 460px;
    justify-content: flex-end;
    min-width: 0;
}

/* The filter groups are the controls that can give up width without becoming unusable, so they are
   the ones allowed to shrink and scroll. Squeezing the search instead would leave a box too narrow to
   read a patient name in.

   This used to be a child selector, which reached the category group but not the consult type chips
   nested a level deeper in __controls-right. Without a min-width floor of 0 a flex item will not
   shrink below its content, so rather than scrolling, that group overflowed its container — off the
   left edge of the card, taking the "All" chip off the screen with it. */
.claim-pool__controls .segmented[b-j7vtu0v8k2] {
    flex: 0 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.claim-pool__controls .segmented[b-j7vtu0v8k2]::-webkit-scrollbar { display: none; }

.segmented[b-j7vtu0v8k2] {
    display: flex;
    align-items: center;
    gap: 3px;
    background: #F5F7FB;
    border: 1px solid #E7EBF1;
    border-radius: 11px;
    padding: 3px;
    min-height: 34px;
}

.segmented__item[b-j7vtu0v8k2] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #60708A;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.segmented__item:hover[b-j7vtu0v8k2] { color: #1E293B; }

.segmented__item.is-selected[b-j7vtu0v8k2] {
    background: #FFFFFF;
    color: #1E293B;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.segmented--compact .segmented__item[b-j7vtu0v8k2] { padding: 0 9px; }

.segmented__count[b-j7vtu0v8k2] {
    background: #EFF3F8;
    border-radius: 999px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
}

.search[b-j7vtu0v8k2] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 260px;
    min-width: 200px;
    max-width: 340px;
    height: 34px;
    padding: 0 12px;
    background: #FFFFFF;
    border: 1px solid #E4EAF2;
    border-radius: 10px;
    color: #94A3B8;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.search:focus-within[b-j7vtu0v8k2] {
    border-color: #CBD5E1;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, .10);
}

.search input[b-j7vtu0v8k2] {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 12.5px;
    color: #334155;
}

.search input[b-j7vtu0v8k2]::placeholder { color: #94A3B8; }

/* Safari draws its own clear affordance on type=search; it fights the layout. */
.search input[b-j7vtu0v8k2]::-webkit-search-decoration,
.search input[b-j7vtu0v8k2]::-webkit-search-cancel-button { -webkit-appearance: none; }

.icon[b-j7vtu0v8k2] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Table ────────────────────────────────────────────────────────────────── */

.table-card[b-j7vtu0v8k2] {
    margin-top: 12px;
    border: 1px solid #E8ECF2;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
}

.pool-table[b-j7vtu0v8k2] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.pool-table thead th[b-j7vtu0v8k2] {
    height: 36px;
    padding: 0 12px;
    background: #FBFCFE;
    border-bottom: 1px solid #EDF1F5;
    color: #61708A;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
}

.col-patient[b-j7vtu0v8k2] { width: 27%; }
.col-type[b-j7vtu0v8k2]    { width: 14%; }
.col-reason[b-j7vtu0v8k2]  { width: 28%; }
/* Wider than it was: it carries the wait, the slot and the clash warning now that the overflow
   button is gone. The actions column gave up the width — it holds one button. */
.col-queue[b-j7vtu0v8k2]   { width: 21%; }
.col-actions[b-j7vtu0v8k2] { width: 10%; }

.sort[b-j7vtu0v8k2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.sort__arrow[b-j7vtu0v8k2] { color: #94A3B8; }

.pool-table tbody td[b-j7vtu0v8k2] {
    height: 42px;
    padding: 0 12px;
    border-bottom: 1px solid #F0F3F7;
    vertical-align: middle;
}

.pool-table tbody tr:last-child td[b-j7vtu0v8k2] { border-bottom: 0; }
.pool-table tbody tr:hover[b-j7vtu0v8k2] { background: #FAFBFD; }

.pool-table tbody tr.is-empty:hover[b-j7vtu0v8k2] { background: transparent; }

.pool-table tbody tr.is-empty td[b-j7vtu0v8k2] {
    height: 84px;
    text-align: center;
    color: #94A3B8;
    font-size: 13px;
}

/* Patient */

.patient[b-j7vtu0v8k2] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.avatar[b-j7vtu0v8k2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #5C6B84;
    font-size: 11px;
    font-weight: 600;
}

.patient__name[b-j7vtu0v8k2] {
    font-size: 13px;
    font-weight: 500;
    color: #22314D;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Consult type */

.pill[b-j7vtu0v8k2] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #F6F8FB;
    border: 1px solid #EEF2F6;
    color: #465670;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.pill .icon[b-j7vtu0v8k2] { width: 13px; height: 13px; }

/* Reason */

.reason[b-j7vtu0v8k2] {
    display: block;
    font-size: 12.5px;
    font-weight: 400;
    font-style: italic;
    color: #8A97AB;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* In queue */

/* Three lines at most — wait, slot/reason, clash — and the line-heights are set so all three fit
   the 42px row rather than pushing that one row out of step with the rest. */
.queue__time[b-j7vtu0v8k2] {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 15px;
    color: #1F2A44;
    white-space: nowrap;
}

.queue__meta[b-j7vtu0v8k2] {
    font-size: 11px;
    line-height: 13px;
    color: #94A3B8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The clash is the only red on this table. It is advisory — the pool exists precisely because the
   strict availability rules found nobody — so it warns and never blocks the Claim button. */
.queue__clash[b-j7vtu0v8k2] {
    font-size: 11px;
    line-height: 13px;
    font-weight: 600;
    color: #B91C1C;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Actions */

.actions[b-j7vtu0v8k2] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-claim[b-j7vtu0v8k2] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: #C96A12;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease;
}

.btn-claim .icon[b-j7vtu0v8k2] { width: 13px; height: 13px; }

.btn-claim:hover:not(:disabled)[b-j7vtu0v8k2] { background: #B85F10; }
.btn-claim:active:not(:disabled)[b-j7vtu0v8k2] { background: #A8540D; }
.btn-claim:disabled[b-j7vtu0v8k2] { opacity: .7; cursor: default; }

.spinner[b-j7vtu0v8k2] {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: claim-spin-b-j7vtu0v8k2 .6s linear infinite;
}

@keyframes claim-spin-b-j7vtu0v8k2 { to { transform: rotate(360deg); } }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.claim-pool__footer[b-j7vtu0v8k2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer__summary[b-j7vtu0v8k2] {
    font-size: 12.5px;
    color: #7C8AA5;
}

.pager[b-j7vtu0v8k2] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pager__item[b-j7vtu0v8k2] {
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #63738D;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .15s ease;
}

.pager__item:hover:not(:disabled)[b-j7vtu0v8k2] { background: #F8FAFC; }

.pager__item.is-active[b-j7vtu0v8k2] {
    background: #F4F7FB;
    border-color: #E4EAF2;
    color: #1F2A44;
}

.pager__item:disabled[b-j7vtu0v8k2] { opacity: .35; cursor: default; }

/* ── Narrow widths ────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .claim-pool[b-j7vtu0v8k2] { padding: 16px; border-radius: 16px; }

    .claim-pool__controls[b-j7vtu0v8k2],
    .claim-pool__controls-right[b-j7vtu0v8k2] { align-items: stretch; }

    .search[b-j7vtu0v8k2] { width: 100%; }

    /* The table keeps its shape and scrolls sideways rather than reflowing: a doctor comparing wait
       times across rows needs the columns to stay aligned. */
    .table-card[b-j7vtu0v8k2] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pool-table[b-j7vtu0v8k2] { min-width: 860px; }
}

/* Phone-only pieces, hidden on wider screens. */
.pool-m[b-j7vtu0v8k2],
.pool-menu[b-j7vtu0v8k2] { display: none; }

/* ── Phone (matches the clinical queue's 768px breakpoint) ──────────────────

   The table becomes one card per case, the consult type chips and the sort fold into one menu beside
   the search, and the pager drops its page numbers — 16 small numbers cannot be tapped — for the
   summary plus two round arrows. Claim stays a small pill (PM, 2026-10-26): the row is the target the
   eye needs, and a 44px orange block on every row drowned out the patient names. */
@media (max-width: 767.98px) {
    .claim-pool[b-j7vtu0v8k2] { padding: 14px; border-radius: 18px; }

    /* nowrap matters: a wrapping column sizes each line to its widest child, so the category tray
       grew to its full ~610px, got clipped by the card, and could not be swiped. */
    .claim-pool__controls[b-j7vtu0v8k2] { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 8px; }

    .claim-pool__controls > .segmented[b-j7vtu0v8k2],
    .segmented[b-j7vtu0v8k2],
    .segmented__item[b-j7vtu0v8k2] { border-radius: 999px; }

    .claim-pool__controls-right[b-j7vtu0v8k2] {
        flex: none;
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    .claim-pool__controls-right > .segmented[b-j7vtu0v8k2] { display: none; }

    .search[b-j7vtu0v8k2] {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        max-width: none;
        height: 38px;
        border-radius: 999px;
    }

    /* 16px keeps iOS from zooming the page when the field takes focus. */
    .search input[b-j7vtu0v8k2] { font-size: 16px; }
    .search input[b-j7vtu0v8k2]::placeholder { font-size: 13px; }

    .pool-menu[b-j7vtu0v8k2] {
        display: block;
        flex: 0 0 auto;
        height: 38px;
        padding: 0 30px 0 12px;
        border: 1px solid #E4EAF2;
        border-radius: 999px;
        background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
        color: #334155;
        font-size: 13px;
        -webkit-appearance: none;
        appearance: none;
    }

    .table-card[b-j7vtu0v8k2] { display: none; }

    .pool-m[b-j7vtu0v8k2] {
        display: block;
        margin: 12px -14px 0;
        border-top: 1px solid #F0F3F7;
    }

    .pool-m__row[b-j7vtu0v8k2] {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 11px 14px;
        border-bottom: 1px solid #F0F3F7;
    }

    .pool-m__row .avatar[b-j7vtu0v8k2] { width: 34px; height: 34px; font-size: 12px; }

    .pool-m__main[b-j7vtu0v8k2] { flex: 1; min-width: 0; }

    .pool-m__name[b-j7vtu0v8k2] {
        font-size: 14.5px;
        font-weight: 600;
        color: #22314D;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pool-m__line[b-j7vtu0v8k2] {
        margin-top: 1px;
        font-size: 12.5px;
        color: #7C8AA5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pool-m__mode[b-j7vtu0v8k2] { display: flex; align-items: center; gap: 4px; }
    .pool-m__mode .icon[b-j7vtu0v8k2] { width: 13px; height: 13px; }

    .pool-m__clash[b-j7vtu0v8k2] {
        margin-top: 4px;
        font-size: 12px;
        font-weight: 600;
        color: #B91C1C;
    }

    .pool-m__side[b-j7vtu0v8k2] {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        flex-shrink: 0;
    }

    /* Deliberately quiet: the list is already sorted by this number, so it only has to be legible. */
    .pool-m__wait[b-j7vtu0v8k2] {
        font-size: 12px;
        line-height: 1.2;
        color: #7C8AA5;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    .pool-m__sub[b-j7vtu0v8k2] {
        margin-top: -5px;
        font-size: 11px;
        color: #94A3B8;
        white-space: nowrap;
    }

    .pool-m__side .btn-claim[b-j7vtu0v8k2] { height: 30px; font-size: 12.5px; }

    .pool-m__empty[b-j7vtu0v8k2] {
        padding: 28px 14px;
        text-align: center;
        color: #94A3B8;
        font-size: 13px;
    }

    .claim-pool__footer[b-j7vtu0v8k2] { margin-top: 12px; flex-wrap: nowrap; }

    .pager[b-j7vtu0v8k2] { gap: 6px; }

    .pager__item[b-j7vtu0v8k2] {
        width: 28px;
        min-width: 0;
        height: 28px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #E4EAF2;
        border-radius: 50%;
        background: #FFFFFF;
        color: #1F2A44;
        font-size: 16px;
        line-height: 1;
        box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    }

    .pager__item:disabled[b-j7vtu0v8k2] { opacity: .4; box-shadow: none; }

    /* After .pager__item, which sets display on the same buttons. */
    .pager__item.pager__num[b-j7vtu0v8k2] { display: none; }
}
/* /Components/Pages/Expert/ClinicalDocumentsPanel.razor.rz.scp.css */
/* Doctor-issued document cards (portal #882). Laid out like the Prescription card
   (.nx-rxcard in ConsultationDetail.razor.css) — same radius, padding, header and pill buttons —
   so the three read as one set. Workspace tokens with fallbacks. */

.cdp-card[b-0r1at86y4k] { border: none; border-radius: 16px; box-shadow: 0 1px 4px rgba(21,31,38,.06); overflow: hidden; background: var(--bg-surface, #fff); }

.cdp-head[b-0r1at86y4k] {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem 0 .65rem;
    margin: 0 1.1rem;
    border-bottom: 1px solid var(--border, #EDEFF0);
}
.cdp-head__icon[b-0r1at86y4k] {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--mint-ultralight, #EAFAF8);
    color: var(--mint-dark, #13996E);
    display: flex; align-items: center; justify-content: center;
}
.cdp-head__icon svg[b-0r1at86y4k] { width: 16px; height: 16px; }
.cdp-head__title[b-0r1at86y4k] { font-size: 1rem; font-weight: 700; color: var(--text-primary, #222326); margin: 0; flex: 1 1 auto; min-width: 0; }
.cdp-head__meta[b-0r1at86y4k] { font-size: .8rem; color: var(--text-muted, #7A7F82); white-space: nowrap; }

.cdp-body[b-0r1at86y4k] { padding: .75rem 1.1rem .95rem; }

/* Soft panel — the Prescription card's .nx-rxcard__confirmed */
.cdp-panel[b-0r1at86y4k] {
    display: flex; align-items: center; justify-content: space-between;
    gap: .6rem; flex-wrap: wrap;
    background: var(--mint-ultralight, #EAFAF8);
    border-radius: 12px;
    padding: .65rem .85rem;
}
.cdp-panel--amber[b-0r1at86y4k] { background: #FFF7E6; }
.cdp-panel--plain[b-0r1at86y4k] { background: #F6F7F8; }
.cdp-panel--row[b-0r1at86y4k] { padding: .55rem .85rem; }
.cdp-panel__left[b-0r1at86y4k] { display: flex; align-items: flex-start; gap: .6rem; min-width: 0; flex: 1 1 260px; }
.cdp-panel--row > .cdp-panel__text[b-0r1at86y4k] { flex: 1 1 260px; }
.cdp-panel__text[b-0r1at86y4k] { min-width: 0; }
.cdp-panel__title[b-0r1at86y4k] { font-size: .92rem; font-weight: 700; color: var(--text-primary, #222326); }
.cdp-panel__line[b-0r1at86y4k] { font-size: .8rem; color: var(--text-secondary, #636467); margin-top: .05rem; overflow-wrap: anywhere; }
.cdp-panel__sent[b-0r1at86y4k] { font-size: .78rem; color: var(--text-muted, #7A7F82); margin-top: .05rem; }
.cdp-panel__actions[b-0r1at86y4k] { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
.cdp-row__top[b-0r1at86y4k] { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

/* Small tinted status mark — a marker beside the title, not a second icon. */
.cdp-mark[b-0r1at86y4k] {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
}
.cdp-mark--green[b-0r1at86y4k] { background: #CDEFE2; color: #0F7A55; }
.cdp-mark--amber[b-0r1at86y4k] { background: #FBE3B8; color: #9A5B0B; }
.cdp-mark--grey[b-0r1at86y4k]  { background: #E4E7EA; color: #5B6064; }

.cdp-pill[b-0r1at86y4k] { display: inline-block; border-radius: 999px; padding: .25rem .7rem; font-size: .7rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.cdp-pill--green[b-0r1at86y4k] { background: #D9F5EA; color: #0F7A55; }
.cdp-pill--amber[b-0r1at86y4k] { background: #FDEFD3; color: #92400E; }
.cdp-pill--grey[b-0r1at86y4k]  { background: #EEF0F1; color: #5B6064; }

/* Pill buttons — .nx-rxcard__action-btn */
.cdp-btn[b-0r1at86y4k] {
    min-height: 34px;
    padding: .3rem .85rem;
    border: 1px solid rgba(34,35,38,.10);
    border-radius: 999px;
    background: #fff;
    color: #3F4145;
    font-weight: 500; font-size: .84rem; line-height: 1.2;
    box-shadow: 0 2px 7px rgba(21,31,38,.07);
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
    white-space: nowrap; text-decoration: none; cursor: pointer;
}
.cdp-btn:hover:not(:disabled)[b-0r1at86y4k] { background: #F8F8F7; color: #222326; border-color: rgba(34,35,38,.16); }
.cdp-btn:focus-visible[b-0r1at86y4k] { outline: none; box-shadow: 0 0 0 3px rgba(34,35,38,.12); }
.cdp-btn:disabled[b-0r1at86y4k] { opacity: .55; cursor: not-allowed; }
.cdp-btn--primary[b-0r1at86y4k] { background: var(--mint-dark, #13996E); border-color: var(--mint-dark, #13996E); color: #fff; }
.cdp-btn--primary:hover:not(:disabled)[b-0r1at86y4k] { background: #0f7e59; border-color: #0f7e59; color: #fff; }
.cdp-panel--row .cdp-btn[b-0r1at86y4k] { min-height: 30px; padding: .25rem .75rem; }
/* The issue / cancel buttons inside the forms keep their full size. */
.cdp-actions .cdp-btn[b-0r1at86y4k] { min-height: 44px; padding: .45rem 1.1rem; font-size: .9rem; }

.cdp-more[b-0r1at86y4k] { border: 0; background: none; padding: 0; margin-left: .3rem; font-size: .82rem; font-weight: 600; color: var(--mint-dark, #13996E); text-decoration: underline; cursor: pointer; }

.cdp-list[b-0r1at86y4k] { display: flex; flex-direction: column; gap: .45rem; }
.cdp-foot[b-0r1at86y4k] { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: .55rem; }

/* "+ New lab request" — same green text link as the Prescription card's "+ New prescription"
   (.nx-rxcard__start-another in ConsultationDetail.razor.css). */
.cdp-new[b-0r1at86y4k] {
    border: 0; background: none; padding: 0;
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .84rem; font-weight: 600; color: var(--mint-dark, #13996E);
    cursor: pointer;
}
.cdp-new:hover:not(:disabled)[b-0r1at86y4k] { text-decoration: underline; }
.cdp-new:focus-visible[b-0r1at86y4k] { outline: 2px solid var(--mint-dark, #13996E); outline-offset: 2px; border-radius: 4px; }
.cdp-new:disabled[b-0r1at86y4k] { opacity: .55; cursor: not-allowed; }
.cdp-foot .cdp-history[b-0r1at86y4k] { margin-top: 0; }

.cdp-empty[b-0r1at86y4k] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font-size: .9rem; color: var(--text-muted, #7A7F82); }

/* Workspace: a collapsed row with the same badge, expanding to the same panels. */
.cdp-card--compact[b-0r1at86y4k] { border-radius: 12px; box-shadow: 0 1px 3px rgba(15, 23, 42, .08); }
.cdp-card--compact .cdp-body[b-0r1at86y4k] { padding: .75rem; }
.cdp-card--compact .cdp-panel__left[b-0r1at86y4k], .cdp-card--compact .cdp-panel--row > .cdp-panel__text[b-0r1at86y4k] { flex-basis: 100%; }
.cdp-toggle[b-0r1at86y4k] {
    all: unset; box-sizing: border-box;
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .6rem .85rem; font-size: .85rem; font-weight: 600; cursor: pointer;
}
.cdp-toggle:focus-visible[b-0r1at86y4k] { outline: 2px solid var(--mint-dark, #13996E); outline-offset: -2px; border-radius: 12px; }
.cdp-toggle__right[b-0r1at86y4k] { display: flex; align-items: center; gap: .5rem; color: var(--text-muted, #7A7F82); font-weight: 400; }
.cdp-toggle__indicator[b-0r1at86y4k] { width: 12px; text-align: center; }

@media (max-width: 575.98px) {
    .cdp-head[b-0r1at86y4k] { margin: 0 .9rem; }
    .cdp-body[b-0r1at86y4k] { padding: .75rem .9rem .95rem; }
    .cdp-toggle[b-0r1at86y4k] { min-height: 44px; padding: .65rem .85rem; }
    .cdp-panel__actions[b-0r1at86y4k] { width: 100%; }
    /* Compact on desktop only — full 44px touch targets on a phone. */
    .cdp-panel__actions .cdp-btn[b-0r1at86y4k] { flex: 1 1 auto; white-space: normal; text-align: center; min-height: 44px; padding: .45rem 1.1rem; }
    .cdp-empty .cdp-btn[b-0r1at86y4k] { min-height: 44px; padding: .45rem 1.1rem; }
    .cdp-new[b-0r1at86y4k] { min-height: 44px; padding: .5rem 0; display: inline-flex; align-items: center; }
    .cdp-choice[b-0r1at86y4k] { min-height: 44px; padding: .45rem .85rem; display: inline-flex; align-items: center; justify-content: center; }
    .cdp-test[b-0r1at86y4k] { min-height: 44px; padding: .6rem .75rem; }
    .cdp-test input[type="checkbox"][b-0r1at86y4k] { width: 20px; height: 20px; flex: 0 0 20px; }
    .cdp-test--add[b-0r1at86y4k] { min-height: 44px; padding: .6rem .75rem; }
    .cdp-chip[b-0r1at86y4k] { min-height: 36px; padding: .35rem .75rem; display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; }
    .cdp-more[b-0r1at86y4k] { display: inline-block; padding: .35rem 0; min-height: 36px; }
    .cdp-row[b-0r1at86y4k] { grid-template-columns: 1fr; gap: .65rem; }
    .cdp-actions[b-0r1at86y4k] { width: 100%; }
    .cdp-actions > .cdp-hint[b-0r1at86y4k] { width: 100%; margin-bottom: .25rem; }
    .cdp-actions .cdp-btn[b-0r1at86y4k] { flex: 1 1 calc(50% - .5rem); text-align: center; justify-content: center; }
}

/* ── Forms (unchanged) ─────────────────────────────────── */
.cdp-form[b-0r1at86y4k] { display: flex; flex-direction: column; gap: .8rem; }

.cdp-label[b-0r1at86y4k] {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-muted, #7a7f82);
    margin-bottom: .3rem;
}
.cdp-optional[b-0r1at86y4k] { text-transform: none; letter-spacing: 0; font-weight: 400; }

.cdp-pills[b-0r1at86y4k] { display: flex; flex-wrap: wrap; gap: .4rem; }
.cdp-choice[b-0r1at86y4k] {
    border: 1px solid var(--border, #dbdee0);
    background: var(--bg-surface, #fff);
    border-radius: 99px;
    padding: .25rem .75rem;
    font-size: .8rem;
    cursor: pointer;
}
.cdp-choice--on[b-0r1at86y4k] { background: var(--button-black, #1d1e20); border-color: var(--button-black, #1d1e20); color: var(--bg-surface, #fff); }
.cdp-choice:focus-visible[b-0r1at86y4k] { outline: 2px solid var(--mint-dark, #13996e); outline-offset: 2px; }

.cdp-row[b-0r1at86y4k] { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }

.cdp-hint[b-0r1at86y4k] { font-size: .75rem; color: var(--text-muted, #7a7f82); margin-top: .25rem; }

.cdp-note[b-0r1at86y4k] {
    font-size: .8rem;
    background: #fff9ec;
    border: 1px solid #f0dfb8;
    color: #8a5a00;
    border-radius: 10px;
    padding: .5rem .7rem;
}

.cdp-error[b-0r1at86y4k] {
    font-size: .8rem;
    background: #fff2f2;
    border: 1px solid #f5c2c3;
    color: #c23b3d;
    border-radius: 10px;
    padding: .5rem .7rem;
}

.cdp-actions[b-0r1at86y4k] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .5rem;
}
.cdp-actions > .cdp-hint[b-0r1at86y4k] { margin: 0 auto 0 0; }
.cdp-actions--start[b-0r1at86y4k] { justify-content: flex-start; }


.cdp-history[b-0r1at86y4k] { margin-top: .75rem; font-size: .75rem; color: var(--text-muted, #7a7f82); }
.cdp-history__item[b-0r1at86y4k] { text-decoration: line-through; margin-left: .35rem; }

/* ── Lab request card ─────────────────────────────────── */

.cdp-tests[b-0r1at86y4k] {
    margin-top: .4rem;
    border: 1px solid var(--border, #dbdee0);
    border-radius: 10px;
    max-height: 240px;
    overflow-y: auto;
}
.cdp-test[b-0r1at86y4k] {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .7rem;
    border-bottom: 1px solid var(--border, #dbdee0);
    font-size: .85rem;
    cursor: pointer;
    margin: 0;
}
.cdp-test:last-child[b-0r1at86y4k] { border-bottom: 0; }
.cdp-test:hover[b-0r1at86y4k] { background: var(--bg-subtle, #fafbfb); }
.cdp-test--on[b-0r1at86y4k] { background: var(--mint-ultralight, #f0faf6); }
.cdp-test--empty[b-0r1at86y4k] { color: var(--text-muted, #7a7f82); cursor: default; }
.cdp-test--add[b-0r1at86y4k] { width: 100%; text-align: left; background: none; border-left: 0; border-right: 0; border-top: 0; font-weight: 600; }
.cdp-test__name[b-0r1at86y4k] { flex: 1; min-width: 0; }
.cdp-test__name small[b-0r1at86y4k] {
    margin-left: .35rem;
    font-size: .68rem;
    color: var(--text-muted, #7a7f82);
    border: 1px solid var(--border, #dbdee0);
    border-radius: 99px;
    padding: 0 .4rem;
}
.cdp-test__price[b-0r1at86y4k] { font-variant-numeric: tabular-nums; color: var(--text-secondary, #636467); }

.cdp-chips[b-0r1at86y4k] { display: flex; flex-wrap: wrap; gap: .35rem; }
.cdp-chip[b-0r1at86y4k] {
    border: 0;
    border-radius: 99px;
    padding: .15rem .6rem;
    font-size: .75rem;
    background: var(--bg-input, #f2f4f4);
    color: var(--text-secondary, #636467);
    cursor: pointer;
}
.cdp-chip--static[b-0r1at86y4k] { cursor: default; }
.cdp-total[b-0r1at86y4k] { font-size: .85rem; }
/* /Components/Pages/Expert/ConsultationDetail.razor.rz.scp.css */
/* ==========================================================================
   ConsultationDetail.razor.css
   Isolated component styles for Consultation Details & Workspace
   ========================================================================== */

/* ── Workspace Pane & Grid (.nx-ws) ──────────────────────────────────────── */
.nx-ws[b-h651xstqff] {
    --nx-ws-h: clamp(420px, calc(100vh - 11.5rem), 940px);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@supports (height: 100dvh) {
    .nx-ws[b-h651xstqff] {
        --nx-ws-h: clamp(420px, calc(100dvh - 11.5rem), 940px);
    }
}

@media (max-width: 768px) {
    .nx-ws[b-h651xstqff] {
        --nx-ws-h: clamp(320px, calc(100vh - 10rem), 940px);
    }

    @supports (height: 100dvh) {
        .nx-ws[b-h651xstqff] {
            --nx-ws-h: clamp(320px, calc(100dvh - 10rem), 940px);
        }
    }
}

.nx-ws__bar[b-h651xstqff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border, #DBDEE0);
}

.nx-ws__id[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nx-ws__back[b-h651xstqff] {
    color: var(--mint, #24B685);
    text-decoration: none;
    font-size: 0.875rem;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.nx-ws__name[b-h651xstqff] {
    font-weight: 600;
}

.nx-ws__tabs[b-h651xstqff] {
    display: inline-flex;
    border: 1px solid var(--border, #DBDEE0);
    border-radius: 99px;
    overflow: hidden;
}

.nx-ws__tab[b-h651xstqff] {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary, #636467);
    box-sizing: border-box;
}

.nx-ws__tab.is-active[b-h651xstqff] {
    background: var(--button-black, #1D1E20);
    color: #fff;
}

.nx-ws__grid[b-h651xstqff] {
    display: grid;
    grid-template-columns: 65fr 35fr;
    gap: 1rem;
    align-items: start;
}

.nx-ws__pane[b-h651xstqff] {
    min-width: 0;
}

.nx-ws__frame[b-h651xstqff] {
    display: block;
    width: 100%;
    max-width: 100%;
    height: var(--nx-ws-h);
    border: 1px solid var(--border, #DBDEE0);
    border-radius: 12px;
    background: #000;
}

.nx-ws__frame--chat[b-h651xstqff] {
    background: var(--surface, #fff);
}

.nx-ws__chart[b-h651xstqff] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nx-ws-rx__toggle[b-h651xstqff] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.nx-ws-rx__indicator[b-h651xstqff] {
    color: var(--text-secondary, #636467);
    font-size: 1.1rem;
    font-weight: 500;
}

.nx-ws-rx__body--collapsed[b-h651xstqff] {
    display: none;
}

.nx-ws-rx__doc-link[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(34,35,38,.10);
    border-radius: 999px;
    background: #fff;
    color: #3F4145;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.82rem;
    line-height: 1.2;
    box-shadow: 0 2px 7px rgba(21,31,38,.07);
}

.nx-ws-rx__doc-link:hover[b-h651xstqff] {
    background: #F8F8F7;
    color: #222326;
    border-color: rgba(34,35,38,.16);
}

.nx-ws__scroll[b-h651xstqff] {
    max-height: var(--nx-ws-h);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.nx-ws__scroll > *[b-h651xstqff] {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .nx-ws[b-h651xstqff] {
        gap: 1rem;
    }
    .nx-ws__grid[b-h651xstqff] {
        grid-template-columns: 1fr;
    }
    .nx-ws__scroll[b-h651xstqff] {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    .nx-ws__bar[b-h651xstqff] {
        position: sticky;
        top: 0.5rem;
        z-index: 5;
        display: block;
        padding: 1.25rem;
        border: 0;
        border-radius: 16px;
        background: var(--surface, #fff);
        box-shadow: 0 2px 12px rgba(21,31,38,.06);
    }
    .nx-ws__id[b-h651xstqff] {
        display: flex;
        width: 100%;
        gap: 0.65rem 0.75rem;
    }
    .nx-ws__back[b-h651xstqff] {
        flex: 0 0 100%;
        font-size: 0.875rem;
    }
    .nx-ws__name[b-h651xstqff] {
        min-width: 0;
        max-width: calc(100% - 7.5rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 1.5rem;
        line-height: 1.2;
        font-weight: 700;
        color: var(--text-primary, #222326);
    }
    .nx-ws__id > .badge[b-h651xstqff] {
        align-self: center;
        padding: 0.38rem 0.8rem;
        border-radius: 999px;
    }
    .nx-ws__tabs[b-h651xstqff] {
        display: flex;
        width: 100%;
        margin-top: 1.15rem;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: var(--bg-subtle, #F6F8FA);
    }
    .nx-ws__tab[b-h651xstqff] {
        flex: 1 1 0;
        min-height: 44px;
        padding: 0.6rem 0.75rem;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        font-size: 0.875rem;
    }
    .nx-ws__tab svg[b-h651xstqff] {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
    }
    .nx-ws__pane[b-h651xstqff] {
        display: none;
    }
    .nx-ws__pane.is-shown[b-h651xstqff] {
        display: block;
    }
}

@media (min-width: 901px) {
    .nx-ws__tabs[b-h651xstqff] {
        display: none;
    }
    .nx-ws__pane[b-h651xstqff] {
        display: block;
    }
}

/* ── Consult Command Bar ─────────────────────────────────────────────────── */
/* One white card. Only two states are tinted: blue when the doctor can start now (--ready) and
   mint while a call is open (--live). Everything else stays white and the status word carries the
   colour. Each selector below is defined ONCE — this block has been bitten by a merge re-adding an
   older copy of a rule further down, which then silently won. Restyle in place; do not append. */
.nx-command-bar[b-h651xstqff] {
    border-radius: 14px;
    background: var(--surface, #fff);
    box-shadow: 0 2px 12px rgba(21, 31, 38, 0.06);
    margin-bottom: 0.45rem;
    position: sticky;
    top: 0.5rem;
    /* Above the page it sticks over, but under the nav (.nx-navbar is 1000). At 1020 it drew on top of
       the open phone menu and over the sidebar's flyouts. */
    z-index: 990;
}
.nx-command-bar--ready[b-h651xstqff] {
    background: linear-gradient(90deg, #EEF6FC 0%, #fff 100%);
}
.nx-command-bar--live[b-h651xstqff] {
    background: linear-gradient(90deg, #E8F8F4 0%, #fff 100%);
}
.nx-command-bar__main[b-h651xstqff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: 0.55rem 0.75rem 0.55rem 1rem;
}
.nx-command-bar__left[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
.nx-command-bar__back[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #636467);
    text-decoration: none;
    flex-shrink: 0;
}
.nx-command-bar__back:hover[b-h651xstqff] {
    color: var(--text-primary, #222326);
}
.nx-command-bar__back svg[b-h651xstqff] {
    width: 16px;
    height: 16px;
}
.nx-command-bar__divider[b-h651xstqff] {
    width: 1px;
    height: 22px;
    background: var(--border, #DBDEE0);
    flex-shrink: 0;
}
.nx-command-bar__name[b-h651xstqff] {
    margin: 0;
    min-width: 0;
    max-width: 360px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary, #222326);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nx-command-bar__meta[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
}
.nx-command-bar__meta-item[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary, #636467);
}
.nx-command-bar__meta-item svg[b-h651xstqff] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.nx-command-bar__meta-item--mode[b-h651xstqff] {
    color: var(--info, #2581B8);
    font-weight: 500;
}
.nx-command-bar__meta-item--live[b-h651xstqff],
.nx-command-bar__meta-item--done[b-h651xstqff] {
    color: var(--mint-dark, #13996E);
}
.nx-command-bar__meta-item--live[b-h651xstqff] {
    font-weight: 500;
}
.nx-command-bar__meta-item--attn[b-h651xstqff] {
    color: #9A5B00;
    font-weight: 500;
}
.nx-command-bar__meta-item--alert[b-h651xstqff] {
    color: #D64545;
    font-weight: 500;
}
.nx-command-bar__meta-item--muted[b-h651xstqff] {
    color: var(--text-secondary, #636467);
}
.nx-command-bar__sep[b-h651xstqff] {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #B9BCBF;
    flex-shrink: 0;
}
.nx-command-bar__dot[b-h651xstqff] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint-dark, #13996E);
    box-shadow: 0 0 0 3px rgba(36, 182, 133, 0.18);
    flex-shrink: 0;
    animation: nx-pulse-b-h651xstqff 1.4s infinite;
}
@keyframes nx-pulse-b-h651xstqff {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.nx-command-bar__right[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.nx-command-bar__when[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary, #636467);
    white-space: nowrap;
}
.nx-command-bar__when svg[b-h651xstqff] {
    width: 16px;
    height: 16px;
    color: var(--text-primary, #222326);
}
.nx-command-bar__timer[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mint-dark, #13996E);
    white-space: nowrap;
}
.nx-command-bar__timer[b-h651xstqff]  .nx-command-bar__timer-value {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.nx-command-bar__actions[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nx-command-bar__btn-primary[b-h651xstqff],
.nx-command-bar__btn-end[b-h651xstqff],
.nx-command-bar__btn-ghost[b-h651xstqff] {
    height: 34px;
    padding: 0 1.1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-sizing: border-box;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.nx-command-bar__btn-primary svg[b-h651xstqff],
.nx-command-bar__btn-ghost svg[b-h651xstqff] {
    width: 14px;
    height: 14px;
}
.nx-command-bar__btn-primary[b-h651xstqff] {
    background: #1B2230;
    color: #fff;
    border: 0;
}
.nx-command-bar__btn-primary:hover:not(:disabled)[b-h651xstqff] {
    background: #000;
}
.nx-command-bar__btn-primary:disabled[b-h651xstqff] {
    opacity: 0.6;
}
.nx-command-bar__btn-end[b-h651xstqff] {
    padding: 0 0.95rem;
    background: #fff;
    color: #D64545;
    border: 1px solid rgba(214, 69, 69, 0.35);
}
.nx-command-bar__btn-end:hover:not(:disabled)[b-h651xstqff] {
    background: #FDECEC;
}
.nx-command-bar__btn-ghost[b-h651xstqff] {
    padding: 0 0.95rem;
    background: #fff;
    color: var(--text-primary, #222326);
    border: 1px solid var(--border, #DBDEE0);
}
.nx-command-bar__btn-ghost:hover[b-h651xstqff] {
    background: var(--bg-subtle, #F6F8FA);
    color: var(--text-primary, #222326);
}
.nx-command-bar__note[b-h651xstqff] {
    font-size: 0.8rem;
    color: var(--text-secondary, #636467);
    white-space: nowrap;
}
.nx-command-bar__workspace-btn[b-h651xstqff] {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid var(--border, #DBDEE0);
    background: #fff;
    color: var(--text-primary, #222326);
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.15s ease;
}
.nx-command-bar__workspace-btn:hover[b-h651xstqff] {
    background: var(--bg-subtle, #F6F8FA);
    color: var(--text-primary, #222326);
}
.nx-command-bar__workspace-btn svg[b-h651xstqff] {
    width: 16px;
    height: 16px;
}

/* Post-consult checklist — the bar's footer row */
.nx-command-bar__check[b-h651xstqff] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    padding: 0.5rem 1rem 0.6rem;
    border-top: 1px solid #EEF0F1;
    font-size: 0.8rem;
}
.nx-command-bar__check-title[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--text-primary, #222326);
}
.nx-command-bar__check-count[b-h651xstqff] {
    color: var(--text-secondary, #636467);
    font-variant-numeric: tabular-nums;
}
.nx-command-bar__check-item[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary, #8A8D90);
}
.nx-command-bar__check-item.is-done[b-h651xstqff] {
    color: var(--mint-dark, #13996E);
}
.nx-command-bar__check-item svg[b-h651xstqff] {
    width: 14px;
    height: 14px;
}

/* The bar's Decision / Record outcome button scrolls to these — clear the sticky bar. */
.nx-workspace-card--decision[b-h651xstqff],
.nx-workspace-card--outcome[b-h651xstqff],
.nx-intake-inline[b-h651xstqff] {
    scroll-margin-top: 6rem;
}

/* Intake Summary: score, preference, flags, signals, guidelines (#842) */
.nx-summary__score-badge[b-h651xstqff] {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--info-soft, #EAF5FC);
    color: var(--info, #2581B8);
    font-size: 0.75rem;
    font-weight: 600;
}
.nx-summary__head[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.25rem 0;
}
.nx-summary__score[b-h651xstqff] {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary, #222326);
}
.nx-summary__score-label[b-h651xstqff] {
    font-size: 0.8rem;
    color: var(--text-muted, #7A7F82);
}
.nx-summary__fold[b-h651xstqff] {
    margin: 12px -0.875rem -0.5rem;
    border-top: 1px solid var(--border, #DBDEE0);
}
.nx-summary__fold > summary[b-h651xstqff] {
    cursor: pointer;
    padding: 0.6rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary, #222326);
}
.nx-summary__guidelines[b-h651xstqff] {
    margin: 0;
    padding: 0 0.875rem 0.75rem;
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 0.8rem;
    color: var(--text-secondary, #636467);
}

/* Patient Information: Chief Complaint with the medication preference pinned right */
.nx-patient-complaint[b-h651xstqff] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.nx-patient-complaint__text[b-h651xstqff] {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
    font-size: 0.8125rem;
}
.nx-patient-complaint__pref[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--info-soft, #EAF5FC);
    color: var(--info, #2581B8);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}
.nx-patient-complaint__pref svg[b-h651xstqff] {
    width: 14px;
    height: 14px;
}

/* Phone-only pieces of the bar, hidden on desktop. */
.nx-command-bar__m[b-h651xstqff],
.nx-command-bar__mcheck[b-h651xstqff],
.nx-cb-short[b-h651xstqff] {
    display: none;
}

/* Phone (PM, 2026-10-26): the whole bar is ONE row — back · name over status line · actions ·
   workspace — plus, after a call, one thin checklist row. The status line (.nx-command-bar__m)
   replaces the desktop meta, timer and date; buttons drop to short labels or their icon. */
@media (max-width: 991.98px) {
    .nx-command-bar[b-h651xstqff] {
        position: relative;
        top: auto;
        border-radius: 12px;
    }
    .nx-command-bar__main[b-h651xstqff] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-areas:
            "back name act ws"
            "back m    act ws";
        align-items: center;
        column-gap: 0.5rem;
        row-gap: 0;
        min-height: 56px;
        padding: 0.5rem 0.5rem 0.5rem 0.25rem;
    }
    .nx-command-bar__left[b-h651xstqff],
    .nx-command-bar__right[b-h651xstqff] {
        display: contents;
    }
    .nx-command-bar__meta[b-h651xstqff],
    .nx-command-bar__when[b-h651xstqff],
    .nx-command-bar__timer[b-h651xstqff],
    .nx-command-bar__check[b-h651xstqff],
    .nx-cb-long[b-h651xstqff] {
        display: none;
    }
    .nx-cb-short[b-h651xstqff] {
        display: inline-flex;
    }
    .nx-command-bar__back[b-h651xstqff] {
        grid-area: back;
        width: 32px;
        height: 32px;
        justify-content: center;
        border-radius: 8px;
    }
    .nx-command-bar__back span[b-h651xstqff],
    .nx-command-bar__divider[b-h651xstqff] {
        display: none;
    }
    .nx-command-bar__back svg[b-h651xstqff] {
        width: 20px;
        height: 20px;
        color: var(--text-primary, #222326);
    }
    .nx-command-bar__name[b-h651xstqff] {
        grid-area: name;
        align-self: end;
        max-width: 100%;
        font-size: 1rem;
    }

    .nx-command-bar__m[b-h651xstqff] {
        grid-area: m;
        align-self: start;
        display: flex;
        align-items: center;
        gap: 0.35rem;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        font-size: 0.78rem;
        color: var(--text-secondary, #636467);
    }
    .nx-command-bar__m-s[b-h651xstqff] {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-weight: 650;
        font-variant-numeric: tabular-nums;
    }
    .nx-command-bar__m-s--live[b-h651xstqff] { color: var(--mint-dark, #13996E); }
    .nx-command-bar__m-s--ready[b-h651xstqff] { color: var(--info, #2581B8); }
    .nx-command-bar__m-s--attn[b-h651xstqff] { color: #9A6514; }
    .nx-command-bar__m-s--done[b-h651xstqff] { color: #2E7A4E; }
    .nx-command-bar__m-s--alert[b-h651xstqff] { color: #C0392B; }
    .nx-command-bar__m-s--muted[b-h651xstqff] { color: var(--text-secondary, #636467); }
    .nx-command-bar__m-dot[b-h651xstqff] {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--mint-dark, #13996E);
        box-shadow: 0 0 0 3px rgba(36, 182, 133, 0.18);
        animation: nx-pulse-b-h651xstqff 1.4s infinite;
    }
    .nx-command-bar__m-mode[b-h651xstqff] {
        display: inline-flex;
    }
    .nx-command-bar__m-mode svg[b-h651xstqff] {
        width: 13px;
        height: 13px;
    }

    /* Actions: a lone button, the pair/trio, or the room note all sit in one slot. */
    .nx-command-bar__right > .nx-command-bar__btn-primary[b-h651xstqff],
    .nx-command-bar__actions[b-h651xstqff],
    .nx-command-bar__note[b-h651xstqff] {
        grid-area: act;
        justify-self: end;
    }
    .nx-command-bar__actions[b-h651xstqff] {
        gap: 0.4rem;
    }
    .nx-command-bar__btn-primary[b-h651xstqff],
    .nx-command-bar__btn-end[b-h651xstqff],
    .nx-command-bar__btn-ghost[b-h651xstqff] {
        height: 34px;
        padding: 0 0.75rem;
        font-size: 0.85rem;
    }
    /* Go to chat/call and Reopen are their icon alone on a phone. */
    .nx-command-bar__btn--icon-m[b-h651xstqff] {
        width: 34px;
        padding: 0;
    }
    .nx-command-bar__btn--icon-m svg[b-h651xstqff] {
        width: 16px;
        height: 16px;
    }
    .nx-command-bar__note[b-h651xstqff] {
        font-size: 0.75rem;
        font-weight: 600;
        color: #9A6514;
    }
    .nx-command-bar__workspace-btn[b-h651xstqff] {
        grid-area: ws;
        justify-self: end;
        width: 34px;
        height: 34px;
    }

    /* After a call: end time · four-step progress · the next step only. */
    .nx-command-bar__mcheck[b-h651xstqff] {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.45rem 0.75rem 0.5rem;
        border-top: 1px solid #F0EEEB;
        font-size: 0.75rem;
        color: var(--text-secondary, #636467);
        white-space: nowrap;
    }
    .nx-command-bar__mcheck-bars[b-h651xstqff] {
        display: flex;
        gap: 3px;
        margin-left: auto;
    }
    .nx-command-bar__mcheck-bars i[b-h651xstqff] {
        width: 16px;
        height: 4px;
        border-radius: 2px;
        background: #E6E0D8;
    }
    .nx-command-bar__mcheck-bars i.is-done[b-h651xstqff] {
        background: #2E9E78;
    }
    .nx-command-bar__mcheck-next[b-h651xstqff] {
        min-width: 6.2rem;
        text-align: right;
        font-weight: 600;
        color: #9A6514;
    }
    .nx-command-bar__mcheck-next.is-done[b-h651xstqff] {
        color: #2E7A4E;
    }
}

/* ── Tab Bar, Intake Inline, Grid, Patient Card, Checklist ───────────────── */
.nx-tabbar[b-h651xstqff] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border, #DBDEE0);
    margin: 0.4rem 0 0;
    overflow: visible;
}
.nx-tabbar__item[b-h651xstqff] {
    background: none;
    border: none;
    padding: 0.45rem 0.1rem;
    margin-bottom: -1px;
    white-space: nowrap;
    font-family: var(--smd-font-sans, inherit);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-muted, #7A7F82);
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.nx-tabbar__item.is-active[b-h651xstqff] {
    color: var(--text-primary, #222326);
    border-bottom-color: var(--mint, #24B685);
}
.nx-tabbar__item:hover:not(.is-active)[b-h651xstqff] {
    color: var(--text-secondary, #636467);
}
.nx-tabbar__dot[b-h651xstqff] {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    margin-left: 5px;
    vertical-align: middle;
    flex-shrink: 0;
}

.nx-intake-inline.card[b-h651xstqff] {
    border: 1px solid var(--border, #DBDEE0);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    background: #fff;
}
.nx-intake-inline__header[b-h651xstqff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    user-select: none;
    background: #fff;
    border-bottom: 1px solid var(--border, #EDEFF0);
    transition: background-color 0.15s ease;
}
.nx-intake-inline__header:hover[b-h651xstqff] {
    background: var(--bg-subtle, #FAFBFB);
}
.nx-intake-inline__header-left[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.nx-intake-inline__icon[b-h651xstqff] {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #EFF6FF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nx-intake-inline__titles[b-h651xstqff] {
    min-width: 0;
}
.nx-intake-inline__title[b-h651xstqff] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary, #222326);
    display: flex;
    align-items: center;
}
.nx-intake-inline__subtitle[b-h651xstqff] {
    font-size: 0.8rem;
    color: var(--text-muted, #7A7F82);
    margin-top: 0.1rem;
}
.nx-intake-inline__header-right[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.nx-intake-inline__indicator[b-h651xstqff] {
    font-size: 0.75rem;
    color: var(--text-secondary, #636467);
}
.nx-intake-inline__count[b-h651xstqff] {
    margin-left: 0.4rem;
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
    background: var(--bg-input, #F2F4F4);
    color: var(--text-secondary, #636467);
    font-size: 0.75rem;
    font-weight: 600;
}
@media (max-width: 575.98px) {
    .nx-intake-inline__header[b-h651xstqff] { padding: 0.75rem 1rem; }
    .nx-intake-inline__toggle-text[b-h651xstqff] { display: none; }
    .nx-intake-inline__title[b-h651xstqff] { flex-wrap: wrap; white-space: nowrap; row-gap: 0.25rem; }
}
.nx-intake-inline__body[b-h651xstqff] {
    padding: 1.25rem 1.5rem;
    background: #fff;
}

.nx-encounter-grid[b-h651xstqff] {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
.nx-encounter-col[b-h651xstqff] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 0;
}
.nx-encounter-col--left[b-h651xstqff] {
    flex: 0 0 35%;
    max-width: 35%;
    min-width: 280px;
}
.nx-encounter-col--right[b-h651xstqff] {
    flex: 1 1 65%;
    min-width: 0;
}
.nx-workspace-card[b-h651xstqff] {
    width: 100%;
    box-sizing: border-box;
    height: auto;
    flex: 0 0 auto;
}
.nx-encounter-grid .card[b-h651xstqff],
.nx-encounter-grid details.card[b-h651xstqff] {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.nx-encounter-grid .card-header[b-h651xstqff] {
    min-height: 40px;
    padding: 0.5rem 0.875rem;
    display: flex;
    align-items: center;
}
.nx-patient-card__toggle[b-h651xstqff] {
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    pointer-events: none;
}
.nx-patient-card__indicator[b-h651xstqff] {
    display: none;
    color: var(--text-secondary, #636467);
    font-size: 1.1rem;
    font-weight: 500;
}
.nx-patient-panel[b-h651xstqff] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}
.nx-encounter-grid details.card > summary[b-h651xstqff] {
    cursor: pointer;
    list-style: none;
    padding: 0.6rem 0.875rem;
    font-weight: 600;
    color: var(--text-primary, #222326);
}
.nx-encounter-grid details.card > summary[b-h651xstqff]::-webkit-details-marker {
    display: none;
}
.nx-encounter-grid details.card > summary[b-h651xstqff]::after {
    content: "+";
    float: right;
    color: var(--text-secondary, #636467);
}
.nx-encounter-grid details[open] > summary[b-h651xstqff]::after {
    content: "−";
}
@media (max-width: 991.98px) {
    .nx-encounter-grid[b-h651xstqff] {
        display: flex;
        flex-direction: column;
        /* Include cards rendered by child components in the full-width stack. */
        align-items: stretch;
        gap: 12px;
    }
    .nx-encounter-col--left[b-h651xstqff], .nx-encounter-col--right[b-h651xstqff] {
        display: contents;
    }
    /* Stacked order follows the doctor's job: who → risk → evidence → decide → issue → record.
       Every direct card needs a slot here — one left out takes order 0 and jumps above the
       patient card. Intake answers sit above Decision (they start collapsed, so it's one row);
       Rx and the #882 documents follow Decision because they are its outputs. */
    .nx-workspace-card--patient[b-h651xstqff] { order: 1; }
    .nx-workspace-card--summary[b-h651xstqff] { order: 2; }
    .nx-workspace-card--intake[b-h651xstqff] { order: 3; } /* Diagnostic results, dx-linked consults */
    .nx-intake-inline[b-h651xstqff] { order: 4; }
    .nx-workspace-card--decision[b-h651xstqff], .nx-workspace-card--outcome[b-h651xstqff] { order: 5; }
    .nx-rxcard[b-h651xstqff], .nx-workspace-card--prescription[b-h651xstqff] { order: 6; }
    /* Med cert + lab request live in a child component, so they need ::deep. */
    .nx-encounter-grid[b-h651xstqff]  .cdp-card { order: 7; }
    .nx-workspace-card--notes[b-h651xstqff] { order: 8; }
    .nx-workspace-card--params[b-h651xstqff] { order: 9; }
    .nx-workspace-card--booking[b-h651xstqff] { order: 10; }
    .nx-patient-card__toggle[b-h651xstqff] {
        pointer-events: auto;
        cursor: pointer;
    }
    .nx-patient-card__indicator[b-h651xstqff] { display: block; }
    .nx-patient-card__body--collapsed[b-h651xstqff] { display: none; }
    .nx-tabbar__item[b-h651xstqff] {
        min-height: 44px;
        padding: 0.6rem 0.5rem;
        display: inline-flex;
        align-items: center;
    }
}

.nx-checklist[b-h651xstqff] {
    background: var(--nx-bg-white, #fff);
    border: 1px solid var(--nx-border, #e0ddd9);
    border-radius: 12px;
}
.nx-checklist__head[b-h651xstqff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.1rem 1.25rem;
}
.nx-checklist__title[b-h651xstqff] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nx-text, #1a1a1a);
    margin: 0 0 0.15rem;
}
.nx-checklist__sub[b-h651xstqff] {
    font-size: 0.85rem;
    color: var(--nx-text-muted, #666);
    margin: 0;
}
.nx-checklist__progress[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nx-checklist__bar[b-h651xstqff] {
    width: 150px;
    height: 8px;
    border-radius: 9999px;
    background: var(--nx-accent-green-bg, #dbf6e8);
    overflow: hidden;
}
.nx-checklist__bar-fill[b-h651xstqff] {
    height: 100%;
    border-radius: 9999px;
    background: var(--nx-accent-green, #119555);
    transition: width 0.25s ease;
}
.nx-checklist__count[b-h651xstqff] {
    font-size: 0.85rem;
    color: var(--nx-text-muted, #666);
    white-space: nowrap;
}
.nx-checklist__items[b-h651xstqff] {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--nx-border, #e0ddd9);
}
.nx-checklist__item[b-h651xstqff] {
    flex: 1 1 190px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.25rem;
}
.nx-checklist__item + .nx-checklist__item[b-h651xstqff] {
    border-left: 1px solid var(--nx-border, #e0ddd9);
}
.nx-checklist__icon[b-h651xstqff] {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nx-checklist__icon--done[b-h651xstqff] {
    background: var(--nx-accent-green, #119555);
    color: #fff;
}
.nx-checklist__icon--todo[b-h651xstqff] {
    border: 2px solid #c9cdd1;
}
.nx-checklist__label[b-h651xstqff] {
    font-size: 0.875rem;
    line-height: 1.25;
    color: var(--nx-text, #1a1a1a);
}
.nx-checklist__label--todo[b-h651xstqff] {
    color: var(--nx-text-muted, #666);
}
@media (max-width: 767.98px) {
    .nx-checklist__item[b-h651xstqff] { flex: 1 1 100%; }
    .nx-checklist__item + .nx-checklist__item[b-h651xstqff] {
        border-left: none;
        border-top: 1px solid var(--nx-border, #e0ddd9);
    }
}

/* ── Meet Link & Actions (.nx-meetcard) ──────────────────────────────────── */
.nx-meetcard__summary[b-h651xstqff] {
    display: flex;
    align-items: stretch;
    background: var(--bg-subtle, #F6F8FA);
    border-radius: 12px;
    min-height: 64px;
    padding: 10px 14px;
    margin-bottom: 14px;
}
.nx-meetcard__item[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 14px;
}
.nx-meetcard__item:first-child[b-h651xstqff] { padding-left: 0; }
.nx-meetcard__item:last-child[b-h651xstqff] { padding-right: 0; }
.nx-meetcard__item + .nx-meetcard__item[b-h651xstqff] { border-left: 1px solid var(--border, #DBDEE0); }
.nx-meetcard__item--mode[b-h651xstqff] { flex: 0.85; }
.nx-meetcard__item--doctor[b-h651xstqff] { flex: 1.1; }
.nx-meetcard__item--datetime[b-h651xstqff] { flex: 1.25; }
.nx-meetcard__icon[b-h651xstqff] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 1.8;
    color: var(--text-primary, #222326);
}
.nx-meetcard__text[b-h651xstqff] {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary, #636467);
    min-width: 0;
}
.nx-meetcard__item--doctor .nx-meetcard__text[b-h651xstqff] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nx-meetcard__actions[b-h651xstqff] {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
}
.nx-meetcard__actions .btn[b-h651xstqff] {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nx-meetcard__btn-primary[b-h651xstqff] {
    background: var(--button-black, #1D1E20);
    color: #fff;
    border: 1px solid var(--button-black, #1D1E20);
}
.nx-meetcard__btn-primary:hover:not(:disabled)[b-h651xstqff] {
    background: #24262C;
}
.nx-meetcard__btn-secondary[b-h651xstqff] {
    background: #fff;
    color: var(--text-primary, #222326);
    border: 1px solid var(--border, #DBDEE0);
}
.nx-meetcard__btn-secondary:disabled[b-h651xstqff] {
    opacity: 0.45;
    cursor: not-allowed;
}
.nx-meetcard__status[b-h651xstqff] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mint-dark, #13996E);
    text-align: center;
    padding: 12px 2px;
    margin-bottom: 4px;
}
.nx-meetcard__fallback[b-h651xstqff] {
    border: 1px solid var(--border, #DBDEE0);
    border-radius: 10px;
    background: var(--bg-subtle, #FAFBFC);
    overflow: hidden;
}
.nx-meetcard__fallback summary[b-h651xstqff] {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary, #636467);
}
.nx-meetcard__fallback summary[b-h651xstqff]::-webkit-details-marker {
    display: none;
}
.nx-meetcard__fallback summary[b-h651xstqff]::after {
    content: "▾";
    margin-left: auto;
}
.nx-meetcard__fallback[open] summary[b-h651xstqff]::after {
    content: "▴";
}
.nx-meetcard__fallback-body[b-h651xstqff] {
    padding: 0 14px 14px;
}
.nx-meetcard__btn-join[b-h651xstqff] {
    background: var(--mint-ultralight, #EAFAF8);
    color: var(--mint-dark, #13996E);
    border: 1px solid var(--mint-soft, #D5F4F2);
}
.nx-meetcard__btn-join:hover[b-h651xstqff] {
    background: var(--mint-soft, #D5F4F2);
}
.nx-meetcard__header[b-h651xstqff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.nx-meetcard__workspace-btn[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: var(--text-muted, #7A7F82);
    flex-shrink: 0;
}
.nx-meetcard__workspace-btn:hover[b-h651xstqff] {
    background: var(--bg-subtle, #F6F8FA);
    color: var(--text-primary, #222326);
}
.nx-meetcard__workspace-btn svg[b-h651xstqff] {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}

/* ── Consultation Outcome Card (.nx-outcomecard, .nx-outcome-note) ────────── */
.nx-outcome-note[b-h651xstqff] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bg-subtle, #FAFBFB);
    border: 1px solid var(--border, #DBDEE0);
}
.nx-outcome-note--spaced[b-h651xstqff] {
    margin-bottom: 14px;
}
.nx-outcome-note--quiet[b-h651xstqff] {
    background: none;
    border-color: transparent;
    padding: 0 0 2px;
}
.nx-outcome-note--quiet .nx-outcome-note__title[b-h651xstqff] {
    font-weight: 500;
    color: var(--text-secondary, #636467);
}
.nx-outcome-note--quiet .nx-outcome-note__text[b-h651xstqff] {
    color: var(--text-muted, #7A7F82);
}
.nx-outcome-note--quiet .nx-outcome-note__icon[b-h651xstqff] {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    margin-top: 2px;
}
.nx-outcome-note + .nx-outcome-note[b-h651xstqff] {
    margin-top: 8px;
}
.nx-outcome-note__icon[b-h651xstqff] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
    stroke-width: 1.8;
    color: var(--text-muted, #7A7F82);
}
.nx-outcome-note__body[b-h651xstqff] {
    min-width: 0;
}
.nx-outcome-note__title[b-h651xstqff] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #222326);
}
.nx-outcome-note__text[b-h651xstqff] {
    font-size: 12px;
    line-height: 1.4;
    margin-top: 2px;
    color: var(--text-secondary, #636467);
}
.nx-outcome-note--warn[b-h651xstqff] {
    background: #FFF9EC;
    border-color: #F0DFB8;
}
.nx-outcome-note--warn .nx-outcome-note__icon[b-h651xstqff] {
    color: #B07D1A;
}
.nx-outcomecard__row[b-h651xstqff] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.nx-outcomecard__row > label[b-h651xstqff] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #222326);
    flex-shrink: 0;
}
.nx-outcomecard__row > select[b-h651xstqff] {
    flex: 1;
    min-width: 0;
}
.nx-outcomecard__complete[b-h651xstqff] {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--button-black, #1D1E20);
    color: #fff;
    border: 1px solid var(--button-black, #1D1E20);
}
.nx-outcomecard__complete:disabled[b-h651xstqff] {
    background: var(--bg-subtle, #F6F8FA);
    color: var(--text-muted, #7A7F82);
    border-color: var(--border, #DBDEE0);
    opacity: 1;
    cursor: not-allowed;
}

/* ── Standalone Prescription Card (.nx-rxcard) ───────────────────────────── */
.nx-rxcard.card[b-h651xstqff] {
    border: none;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(21,31,38,.06);
    overflow: hidden;
}
.nx-rxcard .card-body[b-h651xstqff] {
    padding: 0.8rem 1.1rem 0.95rem;
}
.nx-rxcard__header[b-h651xstqff] {
    display: flex;
    align-items: flex-start;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.65rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border, #EDEFF0);
}
.nx-rxcard__icon[b-h651xstqff] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--mint-ultralight, #EAFAF8);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nx-rxcard__icon svg[b-h651xstqff] { width: 16px; height: 16px; }
.nx-rxcard__title[b-h651xstqff] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary, #222326);
    margin: 0;
}
.nx-rxcard__heading[b-h651xstqff] {
    flex: 1 1 auto;
    min-width: 0;
}
.nx-rxcard__title-row[b-h651xstqff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
}
.nx-rxcard__switcher[b-h651xstqff] {
    margin-bottom: 0.75rem;
}
.nx-rxcard__subtitle[b-h651xstqff] {
    font-size: 0.85rem;
    color: var(--text-muted, #7A7F82);
    margin-top: 0.15rem;
}
.nx-rxcard__chip[b-h651xstqff] {
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border: 1px solid transparent;
}
.nx-rxcard__chip--active[b-h651xstqff] {
    background: var(--mint, #24B685);
    color: #fff;
}
.nx-rxcard__chip--inactive[b-h651xstqff] {
    background: #fff;
    color: var(--text-secondary, #6b7280);
    border-color: var(--border, #DBDEE0);
}
.nx-rxcard__view-all-link[b-h651xstqff] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mint-dark, #13996E);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    display: inline-flex;
    align-items: center;
}
.nx-rxcard__view-all-link:hover[b-h651xstqff] {
    color: var(--mint, #24B685);
    text-decoration: underline;
}
.nx-rxcard__meta[b-h651xstqff] {
    font-size: 0.8rem;
    color: var(--text-muted, #7A7F82);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}
.nx-rxcard__confirmed[b-h651xstqff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
    background: var(--mint-ultralight, #EAFAF8);
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
}
.nx-rxcard__confirmed-left[b-h651xstqff] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
/* Small tinted mark, shared look with the document cards below (#882). */
.nx-rxcard__check[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: #CDEFE2;
    color: #0F7A55;
}
.nx-rxcard__confirmed-title[b-h651xstqff] {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary, #222326);
}
.nx-rxcard__confirmed-sub[b-h651xstqff] {
    font-size: 0.78rem;
    color: var(--text-muted, #7A7F82);
    margin-top: 0.05rem;
}
/* Draft Rx row — copies .cdp-empty / .cdp-btn from ClinicalDocumentsPanel so the Rx card
   lines up with the med cert and lab request cards below it, phone included. Its own class
   rather than .nx-rxcard__action-btn, which squares off to an 8px grid cell under 992px. */
.nx-rxcard__draft[b-h651xstqff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted, #7A7F82);
}
.nx-rxcard__draft-btn[b-h651xstqff] {
    min-height: 34px;
    padding: 0.3rem 0.85rem;
    border: 1px solid rgba(34,35,38,.10);
    border-radius: 999px;
    background: #fff;
    color: #3F4145;
    font-weight: 500;
    font-size: 0.84rem;
    line-height: 1.2;
    box-shadow: 0 2px 7px rgba(21,31,38,.07);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    cursor: pointer;
}
.nx-rxcard__draft-btn:hover:not(:disabled)[b-h651xstqff] { background: #F8F8F7; color: #222326; border-color: rgba(34,35,38,.16); }
.nx-rxcard__draft-btn:focus-visible[b-h651xstqff] { outline: none; box-shadow: 0 0 0 3px rgba(34,35,38,.12); }
.nx-rxcard__draft-btn:disabled[b-h651xstqff] { opacity: .55; cursor: not-allowed; }
.nx-rxcard__actions[b-h651xstqff] {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
}
.nx-rxcard__action-btn[b-h651xstqff] {
    min-height: 34px;
    /* !important: app.css's .btn-sm forces 12px text and its own padding with !important,
       which would make these pills smaller than the matching .cdp-btn pills below. */
    padding: 0.3rem 0.85rem !important;
    font-size: 0.84rem !important;
    border: 1px solid rgba(34,35,38,.10) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #3F4145 !important;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: 0 2px 7px rgba(21,31,38,.07);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
}
.nx-rxcard__action-btn:hover:not(:disabled)[b-h651xstqff] {
    background: #F8F8F7 !important;
    color: #222326 !important;
    border-color: rgba(34,35,38,.16) !important;
}
.nx-rxcard__action-btn:focus-visible[b-h651xstqff] {
    box-shadow: 0 0 0 3px rgba(34,35,38,.12);
}
/* Phone width: the count keeps its place on the title line (icon dropped to
   make room), and the two pills share the row, so the long "Edit quantities &
   instructions" label wraps inside its pill instead of pushing past the card.
   Pills go back to 44px here — compact on desktop only, full touch targets on a phone. */
@media (max-width: 575.98px) {
    .nx-rxcard .card-body[b-h651xstqff] { padding: 0.8rem 0.9rem 0.95rem; }
    .nx-rxcard__header[b-h651xstqff] { gap: 0.7rem; }
    .nx-rxcard__title-row[b-h651xstqff] { flex-wrap: nowrap; }
    .nx-rxcard__meta[b-h651xstqff] { font-size: 0.78rem; }
    .nx-rxcard__meta svg[b-h651xstqff] { display: none; }
    .nx-rxcard__actions[b-h651xstqff] { width: 100%; }
    .nx-rxcard__action-btn[b-h651xstqff] { flex: 1 1 auto; white-space: normal; text-align: center; min-height: 44px; padding: 0.45rem 1.1rem !important; }
}
/* Short button labels on a phone ("View" / "Edit") — the full ones overran the
   half-width tiles (PM, 2026-10-26). */
.nx-rxcard__lbl-short[b-h651xstqff] { display: none; }
@media (max-width: 575.98px) {
    .nx-rxcard__lbl-long[b-h651xstqff] { display: none; }
    .nx-rxcard__lbl-short[b-h651xstqff] { display: inline; }
}

/* ── Google Meet Fallback Controls ────────────────────────────────────────── */
.nx-meet-fallback-input[b-h651xstqff] {
    max-width: 200px;
    font-size: 0.8rem;
    min-height: 36px;
}
.nx-meet-fallback-btn[b-h651xstqff] {
    min-height: 36px;
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
@media (max-width: 767.98px) {
    .nx-meet-fallback-input[b-h651xstqff] {
        max-width: 100%;
        flex: 1 1 100%;
        min-height: 44px;
    }
    .nx-meet-fallback-btn[b-h651xstqff] {
        min-height: 44px;
        padding: 0.45rem 0.95rem;
        flex: 1 1 auto;
    }
}
/* Same green text link as "+ New lab request" in ClinicalDocumentsPanel (.cdp-new). */
.nx-rxcard__start-another[b-h651xstqff] {
    font-size: 0.84rem !important; /* beats app.css .btn-sm, as above */
    font-weight: 600;
    color: var(--mint-dark, #13996E);
    text-decoration: none;
    padding: 0 !important;
    margin-top: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.nx-rxcard__start-another:hover:not(:disabled)[b-h651xstqff] { color: var(--mint-dark, #13996E); text-decoration: underline; }

/* ── Decision Card (.nx-decision) ────────────────────────────────────────── */
.nx-decision__lines[b-h651xstqff] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nx-decision__line[b-h651xstqff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 9px;
    background: var(--bg-subtle, #FAFBFB);
    border: 1px solid var(--border, #DBDEE0);
}
.nx-decision__star[b-h651xstqff] {
    color: #D39B00;
    margin-right: 0.35rem;
}
.nx-decision__title[b-h651xstqff] {
    font-size: 0.8125rem;
    color: var(--text-primary, #222326);
    min-width: 0;
}
.nx-decision__qty[b-h651xstqff] {
    flex: 0 0 auto;
    background: var(--button-black, #1D1E20);
    color: #fff;
    border-radius: 99px;
    padding: 2px 9px;
    font-size: 0.6875rem;
    font-weight: 600;
}
.nx-decision__actions[b-h651xstqff] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.nx-decision__btn[b-h651xstqff] {
    height: 44px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    flex: 1 1 8rem;
}
.nx-decision__btn--approve[b-h651xstqff] {
    flex-grow: 1.6;
    background: var(--mint-dark, #13996E);
    border-color: var(--mint-dark, #13996E);
    color: #fff;
}
.nx-decision__btn--modify[b-h651xstqff] {
    background: #fff;
    border-color: var(--button-black, #1D1E20);
    color: var(--button-black, #1D1E20);
}
.nx-decision__btn--decline[b-h651xstqff] {
    background: #fff;
    border-color: var(--danger, #F15D5F);
    color: var(--danger, #F15D5F);
}
.nx-decision__btn--back[b-h651xstqff] {
    flex: 0 0 auto;
    padding: 0 1.1rem;
    background: #fff;
    border-color: var(--border, #DBDEE0);
    color: var(--text-primary, #222326);
}
.nx-decision__actions.mt-0[b-h651xstqff] {
    margin-top: 0;
}
.nx-decision__panel[b-h651xstqff] {
    padding: 12px;
    border-radius: 10px;
    background: var(--bg-subtle, #FAFBFB);
    border: 1px solid var(--border, #DBDEE0);
}
.nx-decision__panel .nx-decision__actions[b-h651xstqff] {
    margin-top: 0.75rem;
}
/* "Patient didn't join?" in the Decision header (#842) */
.nx-noshow-pill[b-h651xstqff] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #F0DFB8;
    background: #FFF9EC;
    color: #B07D1A;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.nx-noshow-pill:hover:not(:disabled)[b-h651xstqff] {
    background: #FFF3D6;
}
.nx-noshow-pill:disabled[b-h651xstqff] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Reschedule / cancel fold inside Booking & Meeting Admin (#842) */
.nx-resched-fold[b-h651xstqff] {
    margin: 0.5rem -1rem -0.5rem;
    border-top: 1px solid var(--border, #DBDEE0);
}
.nx-resched-fold > summary[b-h651xstqff] {
    cursor: pointer;
    padding: 0.6rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary, #222326);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.nx-resched-fold__tri[b-h651xstqff] {
    display: inline-block;
    font-size: 0.6rem;
    color: var(--text-secondary, #636467);
    transition: transform 0.15s ease;
}
.nx-resched-fold[open] .nx-resched-fold__tri[b-h651xstqff] {
    transform: rotate(90deg);
}
/* The fold is not a card: no +/- marker from the shared details.card rule */
.nx-encounter-grid details.nx-resched-fold > summary[b-h651xstqff]::after,
.nx-encounter-grid details.nx-resched-fold[open] > summary[b-h651xstqff]::after {
    content: none;
}
.nx-resched-fold > summary[b-h651xstqff]::-webkit-details-marker {
    display: none;
}
.nx-resched-fold > summary[b-h651xstqff] {
    list-style: none;
}
.nx-resched-fold__hint[b-h651xstqff] {
    margin-left: auto;
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-muted, #7A7F82);
}
.nx-resched-fold__body[b-h651xstqff] {
    padding: 0 1rem 0.75rem;
}
.nx-resched-opt[b-h651xstqff] {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border, #DBDEE0);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.78rem;
}
.nx-resched-opt strong[b-h651xstqff] {
    display: block;
    font-size: 0.8125rem;
}
.nx-resched-opt span[b-h651xstqff] {
    color: var(--text-muted, #7A7F82);
}
.nx-resched-opt.is-selected[b-h651xstqff] {
    border-color: var(--button-black, #1D1E20);
    background: var(--bg-subtle, #FAFBFB);
}
.nx-resched-opt--cancel.is-selected[b-h651xstqff] {
    border-color: var(--danger, #F15D5F);
}
.nx-resched-fold__label[b-h651xstqff] {
    display: block;
    margin: 0.6rem 0 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted, #7A7F82);
}
.nx-resched-fold__note[b-h651xstqff] {
    margin-top: 0.25rem;
    font-size: 0.72rem;
    color: var(--text-muted, #7A7F82);
}
.nx-decision__btn:disabled[b-h651xstqff] {
    background: var(--bg-subtle, #F6F8FA);
    color: var(--text-muted, #7A7F82);
    border-color: var(--border, #DBDEE0);
    opacity: 1;
    cursor: not-allowed;
}
.nx-decision__note[b-h651xstqff] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bg-subtle, #FAFBFB);
    border: 1px solid var(--border, #DBDEE0);
}
.nx-decision__note--warn[b-h651xstqff] {
    background: #FFF9EC;
    border-color: #F0DFB8;
}
.nx-decision__note--good[b-h651xstqff] {
    background: var(--mint-ultralight, #F0FAF6);
    border-color: var(--mint-soft, #E7F1EE);
}
.nx-decision__note-icon[b-h651xstqff] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
    stroke-width: 1.8;
    color: var(--text-muted, #7A7F82);
}
.nx-decision__note--good .nx-decision__note-icon[b-h651xstqff] {
    color: var(--mint-dark, #13996E);
}
.nx-decision__note-title[b-h651xstqff] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary, #222326);
}
.nx-decision__note-text[b-h651xstqff] {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-top: 2px;
    color: var(--text-secondary, #636467);
}

/* ── Encounter cards on a phone (PM, 2026-10-26) ─────────────────────────────
   Same language as the compact consult bar: one card shape (12px, soft shadow, 40px white header
   with one chip on the right), 38px buttons with 8px corners, the main action full width and the
   rest side by side at equal width, mint strips for what's done. Desktop is untouched.
   Phone-only copies (.nx-noshow-foot, .nx-summary__pref-head) are hidden on desktop here. */
.nx-noshow-foot[b-h651xstqff],
.nx-summary__pref-head[b-h651xstqff] {
    display: none;
}

@media (max-width: 991.98px) {
    .nx-encounter-grid[b-h651xstqff] { gap: 8px; }

    .nx-encounter-grid .card[b-h651xstqff],
    .nx-encounter-grid details.card[b-h651xstqff] {
        border-radius: 12px;
        box-shadow: 0 1px 2px rgba(60, 40, 20, 0.05), 0 3px 10px rgba(60, 40, 20, 0.035);
    }
    /* px, not rem: the headers carry Bootstrap's .small, and the portal's root size is 14px, so
       0.85rem came out at 11.9px while Encounter Notes sat at 13.5px. */
    .nx-encounter-grid .card-header[b-h651xstqff],
    .nx-encounter-grid .card-header.small[b-h651xstqff] {
        min-height: 40px;
        padding: 0 0.75rem;
        background: #fff;
        border-bottom: 1px solid #F0ECE7;
        font-size: 13.5px;
        font-weight: 650;
        color: var(--text-primary, #222326);
    }
    .nx-encounter-grid .card-header svg[b-h651xstqff] {
        color: #9A8F82;
    }
    .nx-encounter-grid .card-body[b-h651xstqff] {
        padding: 0.65rem 0.75rem;
    }
    /* Every chip the same small shape. */
    .nx-encounter-grid .card-header .badge[b-h651xstqff],
    .nx-summary__score-badge[b-h651xstqff],
    .nx-age-chip[b-h651xstqff] {
        border-radius: 5px !important;
        border: 0 !important;
        font-size: 0.7rem !important;
        font-weight: 650 !important;
        padding: 0.25rem 0.45rem !important;
        background: #F1EEEA !important;
        color: #6E6458 !important;
    }

    /* Intake: the summary and the answers read as ONE card — summary on top, answers as its
       last row. The preference rides the header; the big score block goes (the chip has it). */
    .nx-encounter-grid:has(.nx-intake-inline) .nx-workspace-card--summary .card[b-h651xstqff] {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .nx-intake-inline[b-h651xstqff] {
        margin-top: -8px;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        border-top: 1px solid #F3F0EC !important;
    }
    .nx-summary__pref-head[b-h651xstqff] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        height: 22px;
        padding: 0 7px;
        border-radius: 5px;
        background: #E8F1FA;
        color: #2C6FA6;
        font-size: 0.72rem;
        font-weight: 650;
        white-space: nowrap;
    }
    .nx-summary__pref-head svg[b-h651xstqff] {
        width: 12px;
        height: 12px;
        color: inherit !important;
    }
    .nx-summary__head[b-h651xstqff] {
        display: none;
    }
    .nx-intake-inline__header[b-h651xstqff] {
        min-height: 48px;
        padding: 8px 12px !important;
        background: #fff;
        border-bottom: 0;
    }
    .nx-intake-inline__icon[b-h651xstqff],
    .nx-intake-inline__toggle-text[b-h651xstqff] {
        display: none;
    }
    .nx-intake-inline__title[b-h651xstqff] {
        font-size: 13.5px;
    }
    .nx-intake-inline__subtitle[b-h651xstqff] {
        font-size: 12px;
        font-weight: 400;
        color: #8A94A6;
    }
    .nx-intake-inline__form[b-h651xstqff] {
        display: none;
    }
    /* The Intake card body is one list (PM, 2026-10-26: "weird weird weird" — three left edges,
       three arrow styles, a boxed panel inside the card). Every row: 12px in, 44px tall, 13.5px
       semibold title, one grey chevron on the right, hairlines between. Signals lose their box;
       safety flags keep their red title and icon so they still stand out. Nothing is hidden. */
    /* !important: the body carries Bootstrap's py-2 px-3, which are !important themselves. */
    .nx-workspace-card--summary .card-body[b-h651xstqff] {
        padding: 0 !important;
    }
    .nx-workspace-card--summary .card-body > p[b-h651xstqff] {
        margin: 0;
        padding: 12px;
        font-size: 13px;
    }
    .nx-patient-panel[b-h651xstqff] {
        margin: 0;
        gap: 0;
    }
    .nx-patient-panel[b-h651xstqff]  section + section {
        border-top: 1px solid #F3F0EC;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-signals,
    .nx-patient-panel[b-h651xstqff]  .nx-safety,
    .nx-patient-panel[b-h651xstqff]  .nx-signals.is-collapsed,
    .nx-patient-panel[b-h651xstqff]  .nx-safety.is-collapsed {
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-signals {
        background: none !important;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-signals__head,
    .nx-patient-panel[b-h651xstqff]  .nx-safety__head {
        min-height: 44px;
        padding: 0 12px !important;
        border-bottom: 0 !important;
        gap: 6px;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-signals__icon {
        display: none;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-safety__icon {
        width: 18px !important;
        height: 18px !important;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-safety__icon svg {
        width: 11px;
        height: 11px;
    }
    /* Rows sit one step lighter than the card's own 650 header (PM, 2026-10-26). */
    .nx-patient-panel[b-h651xstqff]  .nx-signals__title,
    .nx-patient-panel[b-h651xstqff]  .nx-safety__title {
        font-size: 13.5px !important;
        font-weight: 500 !important;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-signals__count,
    .nx-patient-panel[b-h651xstqff]  .nx-safety__count {
        min-width: 0 !important;
        height: 20px !important;
        padding: 0 7px;
        border-radius: 5px;
        font-size: 11px;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-signals__toggle {
        margin-left: auto;
        width: 14px;
        height: 14px;
        color: #B8B0A5;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-safety__toggle {
        width: 14px;
        height: 14px;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-signals__list,
    .nx-patient-panel[b-h651xstqff]  .nx-safety__list {
        margin: 0;
        padding: 0 12px 10px;
    }
    .nx-patient-panel[b-h651xstqff]  .nx-signals__more,
    .nx-patient-panel[b-h651xstqff]  .nx-safety__more {
        margin: 0 12px 10px;
    }

    /* Guidelines are hidden on phones (PM, 2026-10-26); the rules below keep the row consistent
       should it ever be shown again. */
    .nx-summary__fold[b-h651xstqff] {
        display: none;
        margin: 0;
        border-top: 1px solid #F3F0EC;
    }
    .nx-summary__head + .nx-summary__fold[b-h651xstqff] {
        border-top: 0;
    }
    .nx-summary__fold > summary[b-h651xstqff] {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 12px;
        list-style: none;
        font-size: 13.5px;
        font-weight: 500;
        color: var(--text-primary, #222326);
    }
    .nx-summary__fold > summary[b-h651xstqff]::-webkit-details-marker {
        display: none;
    }
    .nx-summary__fold > summary[b-h651xstqff]::after {
        content: "";
        width: 7px;
        height: 7px;
        margin-left: auto;
        border-right: 1.75px solid #B8B0A5;
        border-bottom: 1.75px solid #B8B0A5;
        transform: rotate(45deg) translate(-2px, -2px);
        transition: transform 0.15s ease;
        flex-shrink: 0;
    }
    .nx-summary__fold[open] > summary[b-h651xstqff]::after {
        transform: rotate(-135deg) translate(-2px, -2px);
    }
    .nx-summary__guidelines[b-h651xstqff] {
        margin: 0;
        padding: 0 12px 12px;
    }
    .nx-intake-inline__new[b-h651xstqff] {
        border-radius: 5px !important;
        background: #FBEFD9 !important;
        color: #8F5D10 !important;
    }
    .nx-intake-inline__title[b-h651xstqff] {
        font-weight: 500;
    }
    .nx-intake-inline__count[b-h651xstqff] {
        border-radius: 5px !important;
        font-size: 11px !important;
    }
    /* The ▼ / ▲ text becomes the same chevron as every other row. */
    .nx-intake-inline__indicator[b-h651xstqff] {
        display: inline-flex;
        font-size: 0;
    }
    .nx-intake-inline__indicator[b-h651xstqff]::after {
        content: "";
        width: 7px;
        height: 7px;
        margin-left: auto;
        border-right: 1.75px solid #B8B0A5;
        border-bottom: 1.75px solid #B8B0A5;
        transform: rotate(45deg) translate(-2px, -2px);
        transition: transform 0.15s ease;
        flex-shrink: 0;
    }
    .nx-intake-inline[aria-expanded="true"] .nx-intake-inline__indicator[b-h651xstqff]::after,
    .nx-intake-inline__header[aria-expanded="true"] .nx-intake-inline__indicator[b-h651xstqff]::after {
        transform: rotate(-135deg) translate(-2px, -2px);
    }

    /* Decision. */
    .nx-noshow-head[b-h651xstqff] {
        display: none;
    }
    .nx-noshow-foot[b-h651xstqff] {
        display: block;
        padding: 0 0.75rem 0.6rem;
    }
    .nx-noshow-foot:empty[b-h651xstqff] {
        display: none;
    }
    .nx-noshow-foot .nx-noshow-pill[b-h651xstqff] {
        height: auto;
        padding: 0;
        border: 0;
        background: none;
        color: #7A6A55;
    }
    .nx-decision__note--intake-hint[b-h651xstqff] {
        display: none !important;
    }
    /* Selection lines as plain rows with a grey quantity, not boxed tiles with black pills. */
    .nx-decision__lines[b-h651xstqff] {
        gap: 0;
        margin: -0.65rem -0.75rem 0;
    }
    .nx-decision__line[b-h651xstqff] {
        padding: 0.55rem 0.75rem;
        border: 0;
        border-radius: 0;
        background: none;
    }
    .nx-decision__line + .nx-decision__line[b-h651xstqff] {
        border-top: 1px solid #F3F0EC;
    }
    .nx-decision__title[b-h651xstqff] {
        font-size: 13.5px;
        font-weight: 600;
    }
    .nx-decision__qty[b-h651xstqff] {
        background: none;
        color: #8A94A6;
        padding: 0;
        font-size: 12.5px;
        font-weight: 500;
    }
    .nx-decision__actions[b-h651xstqff] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin-top: 0.75rem;
    }
    .nx-decision__btn[b-h651xstqff] {
        min-height: 44px;
        border-radius: 8px;
        font-size: 0.85rem;
        min-width: 0;
    }
    /* The main action is dark, like every primary on the phone (bar's Start, the mockup). */
    .nx-decision__btn--approve[b-h651xstqff] {
        background: #1a1a1a;
        border-color: #1a1a1a;
    }
    /* Approve gets its own full row; Modify | Decline share the next one. Write Rx | No Rx stay a pair. */
    .nx-decision__btn--approve[b-h651xstqff] {
        grid-column: 1 / -1;
    }
    .nx-decision__actions--pair .nx-decision__btn--approve[b-h651xstqff] {
        grid-column: auto;
    }
    .nx-decision__btn--modify[b-h651xstqff] {
        border-color: #E2DCD3;
    }
    .nx-decision__btn--decline[b-h651xstqff] {
        border-color: #F0D2CB;
        color: #B42318;
    }

    /* Done states: a compact mint strip. */
    .nx-decision__note[b-h651xstqff],
    .nx-outcome-note[b-h651xstqff] {
        border-radius: 8px;
        padding: 0.55rem 0.7rem;
        font-size: 0.8rem;
    }
    .nx-rxcard__confirmed[b-h651xstqff] {
        border-radius: 8px;
        padding: 0.5rem 0.7rem;
        background: #E6F5EF;
    }
    .nx-rxcard__check[b-h651xstqff] {
        width: 18px;
        height: 18px;
    }
    .nx-rxcard__confirmed-title[b-h651xstqff] {
        font-size: 0.85rem;
    }
    .nx-rxcard__header[b-h651xstqff] {
        padding-bottom: 0.5rem;
        margin-bottom: 0.6rem;
        border-bottom-color: #F0ECE7;
    }
    .nx-rxcard__icon[b-h651xstqff] {
        width: 22px;
        height: 22px;
        border-radius: 6px;
    }
    .nx-rxcard__title[b-h651xstqff] {
        font-size: 13.5px !important;
    }
    .nx-rxcard__actions[b-h651xstqff] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        width: 100%;
    }
    .nx-rxcard__action-btn[b-h651xstqff],
    .nx-rxcard__actions > .btn[b-h651xstqff] {
        min-height: 44px;
        border-radius: 8px !important;
        box-shadow: none !important;
        white-space: nowrap !important;
    }
}

/* Workspace "No prescription yet" row — copies .cdp-empty / .cdp-btn--primary from
   ClinicalDocumentsPanel so the Rx card lines up with Issue med cert and Request labs. */
.nx-ws-rx__empty[b-h651xstqff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .9rem;
    color: var(--text-muted, #7A7F82);
}
.nx-ws-rx__start[b-h651xstqff] {
    min-height: 34px;
    padding: .3rem .85rem;
    border: 1px solid var(--mint-dark, #13996E);
    border-radius: 999px;
    background: var(--mint-dark, #13996E);
    color: #fff;
    font-weight: 500;
    font-size: .84rem;
    line-height: 1.2;
    box-shadow: 0 2px 7px rgba(21,31,38,.07);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
    cursor: pointer;
}
.nx-ws-rx__start:hover:not(:disabled)[b-h651xstqff] { background: #0f7e59; border-color: #0f7e59; }
.nx-ws-rx__start:disabled[b-h651xstqff] { opacity: .55; cursor: not-allowed; }

/* Decline confirmation (#968): the refund warning and the patient-facing reason. */
.nx-confirm-refund[b-h651xstqff] {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
}

.nx-confirm-refund svg[b-h651xstqff] { flex: 0 0 auto; margin-top: 1px; }

.nx-confirm-reason[b-h651xstqff] {
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.85rem;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-height: 40vh;
    overflow-y: auto;
}
/* /Components/Pages/Expert/ConsultRequestCard.razor.rz.scp.css */
/* Phone layout for an invitation. On desktop the card is one row — patient on the left, countdown and
   buttons on the right — and nothing here applies. Under 768px that row wraps into a ragged second
   line, so the countdown moves into a strip across the top and Decline / Accept share the full width
   as round buttons a thumb can hit. Used by the Requests inbox and the dashboard widget alike. */

.crc-strip[b-a84py41t0n] { display: none; }

@media (max-width: 767.98px) {
    .crc[b-a84py41t0n] { border-radius: 18px !important; overflow: hidden; }

    .crc-strip[b-a84py41t0n] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: -1rem -1rem 12px;
        padding: 8px 14px;
        background: #f5f3ff;
        color: #6d28d9;
        font-size: 12px;
        font-weight: 600;
    }

    .crc-strip__timer[b-a84py41t0n] {
        color: #1f2430;
        font-size: 13px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

    .crc-strip__timer.is-low[b-a84py41t0n] { color: #b91c1c; }

    .crc-timer[b-a84py41t0n] { display: none; }

    .crc-side[b-a84py41t0n] {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 12px;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .crc-btn[b-a84py41t0n] { border-radius: 999px; min-height: 44px; }
    .crc-btn--decline[b-a84py41t0n] { flex: 1; }
    .crc-btn--accept[b-a84py41t0n] { flex: 2; }
    .crc-long[b-a84py41t0n] { display: none; }

    .crc-confirm[b-a84py41t0n] {
        width: 100%;
        border-radius: 14px !important;
        padding: 10px !important;
    }

    .crc-confirm > span[b-a84py41t0n] { flex-basis: 100%; }
    .crc-confirm .crc-btn[b-a84py41t0n] { flex: 1; }
}
/* /Components/Pages/Expert/DoctorDashboard.razor.rz.scp.css */
/* ── Doctor dashboard (#933) ───────────────────────────────────────────────
   Same calm palette as UnifiedClinicalQueue.razor.css so the two pages read as one product.
   (The --smd-* tokens are only loaded on HelloDoc surfaces, not on doctor pages.)
   Phone: one column. ≥ 992px: day on the left, follow-ups + numbers on the right.
───────────────────────────────────────────────────────────────────────────── */

.dash-head[b-lp305ihe0l],
.dash-grid[b-lp305ihe0l],
.dash-alert[b-lp305ihe0l] {
    --d-ink:       #1f2430;
    --d-ink-soft:  #6b7280;
    --d-ink-faint: #9aa1ab;
    --d-rule:      #edeae6;
    --d-rule-firm: #e2ddd7;
    --d-surface:   #ffffff;
    --d-urgent:    #b4493a;
    --d-link:      #2f6398;
}

/* Greeting */
.dash-head[b-lp305ihe0l] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dash-date[b-lp305ihe0l] {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--d-ink-soft);
}

.dash-hello[b-lp305ihe0l] {
    margin: 0.15rem 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--d-ink);
}

.dash-duty[b-lp305ihe0l] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--d-ink-soft);
}

.dash-duty__pill[b-lp305ihe0l] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.2rem 0.625rem 0.2rem 0.5rem;
    border-radius: 999px;
    background: #e4f2e8;
    color: #3d7550;
    font-weight: 600;
}

.dash-duty__pill i[b-lp305ihe0l] { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dash-duty__pill.is-off[b-lp305ihe0l] { background: #f1f0ee; color: #5d626b; }

.dash-head__actions[b-lp305ihe0l] { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* Setup alerts */
.dash-alert[b-lp305ihe0l] {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid #f3d4d0;
    border-radius: 14px;
    background: #fdf1f0;
    color: #7a2f27;
    font-size: 0.875rem;
    text-decoration: none;
}

.dash-alert:hover[b-lp305ihe0l] { color: #7a2f27; text-decoration: none; }
.dash-alert > i[b-lp305ihe0l] { margin-top: 0.1rem; font-size: 1.05rem; flex-shrink: 0; }
.dash-alert b[b-lp305ihe0l] { display: block; }
.dash-alert span span[b-lp305ihe0l] { display: block; font-size: 0.8125rem; color: #8d3b32; }
.dash-alert__go[b-lp305ihe0l] { margin-left: auto; align-self: center; color: var(--d-urgent); }

.dash-alert--quiet[b-lp305ihe0l] { border-color: var(--d-rule-firm); background: #f7f6f4; color: var(--d-ink); }
.dash-alert--quiet span span[b-lp305ihe0l] { color: var(--d-ink-soft); }

/* Layout. Phone: one column in priority order — the two desktop columns dissolve
   (display: contents) so "Waiting on you" can sit above "Today". */
.dash-grid[b-lp305ihe0l] { display: flex; flex-direction: column; }
.dash-col[b-lp305ihe0l] { display: contents; }
.dash-next[b-lp305ihe0l]         { order: 1; }
.dash-card--owed[b-lp305ihe0l]   { order: 2; }
.dash-card--today[b-lp305ihe0l]  { order: 3; }
.dash-qlink[b-lp305ihe0l]        { order: 4; }
.dash-card--week[b-lp305ihe0l]   { order: 5; }

@media (min-width: 992px) {
    .dash-grid[b-lp305ihe0l] {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 1rem;
        align-items: start;
    }

    .dash-col[b-lp305ihe0l] { display: block; }
}

/* Cards */
.dash-card[b-lp305ihe0l] {
    margin-bottom: 0.75rem;
    border: 1px solid var(--d-rule);
    border-radius: 14px;
    background: var(--d-surface);
    overflow: hidden;
}

.dash-card__h[b-lp305ihe0l] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.75rem 0.875rem 0.25rem;
}

.dash-card__h h2[b-lp305ihe0l] {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--d-ink-soft);
}

.dash-card__h a[b-lp305ihe0l] { font-size: 0.8125rem; font-weight: 600; color: var(--d-link); text-decoration: none; }

.dash-empty[b-lp305ihe0l] {
    padding: 1.25rem 1rem;
    color: var(--d-ink-soft);
    font-size: 0.875rem;
}

.dash-empty--inline[b-lp305ihe0l] { padding: 0.25rem 0.875rem 0.875rem; }

.dash-chev[b-lp305ihe0l] { margin-left: auto; padding-left: 0.25rem; color: var(--d-ink-faint); flex-shrink: 0; }

/* Next up */
.dash-next[b-lp305ihe0l] {
    margin-bottom: 0.75rem;
    padding: 0.875rem;
    border-radius: 16px;
    background: var(--d-ink);
    color: #fff;
}

.dash-next__lbl[b-lp305ihe0l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #aeb4bf;
}

.dash-next__count[b-lp305ihe0l] {
    padding: 0.125rem 0.5625rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.dash-next__count.is-live[b-lp305ihe0l] { background: #2c7267; }
.dash-next__count.is-soon[b-lp305ihe0l] { background: var(--d-urgent); }

.dash-next__who[b-lp305ihe0l] {
    margin: 0.5rem 0 0.125rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-next__what[b-lp305ihe0l] { font-size: 0.875rem; color: #c9cdd4; }
.dash-next__when[b-lp305ihe0l] { display: flex; align-items: center; gap: 0.375rem; margin-top: 0.5rem; font-size: 0.875rem; }

.dash-next__btn[b-lp305ihe0l] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 0.75rem;
    border-radius: 12px;
    background: #fff;
    color: var(--d-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.dash-next__btn:hover[b-lp305ihe0l] { color: var(--d-ink); text-decoration: none; filter: brightness(0.96); }
.dash-next__btn.is-live[b-lp305ihe0l] { background: #5fb3a6; color: #0d2a26; }

.dash-next.is-quiet[b-lp305ihe0l] { border: 1px solid var(--d-rule); background: var(--d-surface); color: var(--d-ink); }
.dash-next.is-quiet .dash-next__lbl[b-lp305ihe0l] { color: var(--d-ink-soft); }
.dash-next.is-quiet .dash-next__who[b-lp305ihe0l] { font-size: 1.0625rem; }
.dash-next.is-quiet .dash-next__what[b-lp305ihe0l] { color: var(--d-ink-soft); }

/* Today agenda */
.dash-agenda[b-lp305ihe0l] { list-style: none; margin: 0; padding: 0.25rem 0 0.375rem; }

.dash-agenda li a[b-lp305ihe0l] {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr) auto;
    gap: 0.625rem;
    align-items: center;
    min-height: 52px;
    padding: 0.5625rem 0.875rem;
    color: inherit;
    text-decoration: none;
}

.dash-agenda li + li a[b-lp305ihe0l] { border-top: 1px solid var(--d-rule); }
.dash-agenda li a:active[b-lp305ihe0l] { background: #faf8f6; }
.dash-agenda li.is-past[b-lp305ihe0l] { opacity: 0.5; }

.dash-agenda__t[b-lp305ihe0l] { font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--d-ink); }
.dash-agenda__body[b-lp305ihe0l] { min-width: 0; }
.dash-agenda__nm[b-lp305ihe0l],
.dash-agenda__sub[b-lp305ihe0l] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-agenda__nm[b-lp305ihe0l] { font-size: 0.9375rem; font-weight: 600; color: var(--d-ink); }
.dash-agenda__sub[b-lp305ihe0l] { font-size: 0.8125rem; color: var(--d-ink-soft); }

.dash-agenda__now[b-lp305ihe0l] { position: relative; height: 0; margin: 0 0.875rem; border-top: 2px solid var(--d-urgent); }
.dash-agenda__now[b-lp305ihe0l]::before {
    content: "";
    position: absolute;
    left: -4px;
    top: -5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--d-urgent);
}

.dash-mod[b-lp305ihe0l] { font-weight: 600; }
.dash-mod.modality-assessment[b-lp305ihe0l] { color: #4a7cb0; }
.dash-mod.modality-chat[b-lp305ihe0l]       { color: #64748b; }
.dash-mod.modality-video[b-lp305ihe0l]      { color: #46887f; }
.dash-mod.modality-intake[b-lp305ihe0l]     { color: #8a6b9b; }

.dash-status[b-lp305ihe0l] {
    flex-shrink: 0;
    padding: 0.2rem 0.5625rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.dash-status.status-booked[b-lp305ihe0l]    { background: #e3eefb; color: #37628f; }
.dash-status.status-attention[b-lp305ihe0l] { background: #fcf0dc; color: #96682b; }
.dash-status.status-live[b-lp305ihe0l]      { background: #ddf0ec; color: #2c7267; }
.dash-status.status-positive[b-lp305ihe0l]  { background: #e4f2e8; color: #3d7550; }
.dash-status.status-negative[b-lp305ihe0l]  { background: #fae7e7; color: #9c4f4f; }
.dash-status.status-neutral[b-lp305ihe0l]   { background: #dbf1e7; color: #1f6f52; }

/* Waiting on you */
.dash-owed[b-lp305ihe0l] { list-style: none; margin: 0; padding: 0.125rem 0 0.375rem; }

.dash-owed li a[b-lp305ihe0l] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 56px;
    padding: 0.625rem 0.875rem;
    color: inherit;
    text-decoration: none;
}

.dash-owed li + li a[b-lp305ihe0l] { border-top: 1px solid var(--d-rule); }
.dash-owed li a:active[b-lp305ihe0l] { background: #faf8f6; }

.dash-owed__ico[b-lp305ihe0l] {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #fcf0dc;
    color: #96682b;
}

.dash-owed__body[b-lp305ihe0l] { flex: 1; min-width: 0; }
.dash-owed__nm[b-lp305ihe0l],
.dash-owed__sub[b-lp305ihe0l] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-owed__nm[b-lp305ihe0l] { font-size: 0.9375rem; font-weight: 600; color: var(--d-ink); }
.dash-owed__sub[b-lp305ihe0l] { font-size: 0.8125rem; font-weight: 600; color: var(--d-urgent); }
.dash-owed__sub span[b-lp305ihe0l] { font-weight: 400; color: var(--d-ink-soft); }

/* Queue link */
.dash-qlink[b-lp305ihe0l] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 60px;
    margin-bottom: 0.75rem;
    padding: 0.875rem;
    border: 1px solid var(--d-rule);
    border-radius: 14px;
    background: var(--d-surface);
    color: inherit;
    text-decoration: none;
}

.dash-qlink:hover[b-lp305ihe0l] { color: inherit; text-decoration: none; background: #fbfaf9; }
.dash-qlink__n[b-lp305ihe0l] { min-width: 2.5rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--d-ink); }
.dash-qlink__txt[b-lp305ihe0l] { flex: 1; min-width: 0; font-size: 0.875rem; color: var(--d-ink-soft); }
.dash-qlink__txt b[b-lp305ihe0l] { display: block; font-size: 0.9375rem; color: var(--d-ink); }

/* This week */
.dash-week[b-lp305ihe0l] { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0.375rem 0.375rem 0.75rem; }
.dash-week > div[b-lp305ihe0l] { padding: 0 0.5rem; }
.dash-week > div + div[b-lp305ihe0l] { border-left: 1px solid var(--d-rule); }
.dash-week__n[b-lp305ihe0l] { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; color: var(--d-ink); }
.dash-week__l[b-lp305ihe0l] { font-size: 0.75rem; color: var(--d-ink-soft); }

/* Phones: the queue/calendar buttons move out of the header — Today's card links the calendar
   and the queue has its own row further down. */
@media (max-width: 767.98px) {
    .dash-head__actions[b-lp305ihe0l] { display: none; }
}
/* /Components/Pages/Expert/IntakeOverview.razor.rz.scp.css */
/* Same card language as the consult workspace: white, 12px radius, hairline shadow. */
.nx-intake[b-zorvd7912w] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}
.nx-intake__rail[b-zorvd7912w] {
    flex: 0 0 340px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 80px;
}
.nx-intake__main[b-zorvd7912w] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nx-intake__card[b-zorvd7912w] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    padding: 14px 16px;
}
.nx-intake__card-title[b-zorvd7912w] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary, #222326);
    margin: 0 0 10px;
}
.nx-intake__muted[b-zorvd7912w] {
    color: var(--text-secondary, #636467);
    font-weight: 400;
    font-size: 0.875rem;
}
.nx-intake__caption[b-zorvd7912w] {
    font-size: 0.75rem;
    color: var(--text-secondary, #636467);
}

/* Score: a compact number, not a hero banner. */
.nx-intake__score[b-zorvd7912w] {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.nx-intake__score-value[b-zorvd7912w] {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary, #222326);
}
.nx-intake__score-label[b-zorvd7912w] {
    font-size: 0.875rem;
    color: var(--text-secondary, #636467);
}

.nx-intake__interest[b-zorvd7912w] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nx-intake__interest-value[b-zorvd7912w] {
    font-weight: 600;
    text-transform: capitalize;
}

/* Collapsible cards: guidelines start closed, the intake starts open. */
.nx-intake__fold[b-zorvd7912w] {
    padding: 0;
    overflow: hidden;
}
.nx-intake__fold > summary[b-zorvd7912w] {
    cursor: pointer;
    list-style: none;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--text-primary, #222326);
}
.nx-intake__fold > summary[b-zorvd7912w]::-webkit-details-marker {
    display: none;
}
.nx-intake__fold > summary[b-zorvd7912w]::after {
    content: "+";
    float: right;
    color: var(--text-secondary, #636467);
}
.nx-intake__fold[open] > summary[b-zorvd7912w]::after {
    content: "−";
}
.nx-intake__fold[open] > summary[b-zorvd7912w] {
    border-bottom: 1px solid #ececec;
}
.nx-intake__fold-body[b-zorvd7912w] {
    padding: 14px 16px;
}
.nx-intake__guidelines[b-zorvd7912w] {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0;
    color: var(--text-primary, #222326);
}

.nx-intake__cart[b-zorvd7912w] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nx-intake__cart-line[b-zorvd7912w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #ececec;
    border-radius: 8px;
    font-size: 0.9rem;
}
.nx-intake__cart-line.is-pick[b-zorvd7912w] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.nx-intake__star[b-zorvd7912w] {
    color: #16a34a;
    margin-right: 4px;
}
.nx-intake__qty[b-zorvd7912w] {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: #1a1a1a;
    border-radius: 999px;
    padding: 2px 8px;
}

/* Phone/tablet: one column, flags first — a contraindication must not sit below the answers. */
@media (max-width: 991.98px) {
    .nx-intake[b-zorvd7912w] {
        flex-direction: column;
        align-items: stretch;
    }
    .nx-intake__rail[b-zorvd7912w] {
        position: static;
        flex: none;
        max-width: none;
        width: 100%;
    }
}
/* /Components/Pages/Expert/PatientSignalsPanel.razor.rz.scp.css */
/* Grey twin of SafetyFlagsAlert: same rhythm, no alarm. */
.nx-signals[b-xwims5tiu7] {
    --nx-signals-line: #ececec;
    background: #fafafa;
    border: 1px solid var(--nx-signals-line);
    border-radius: 12px;
    padding: 14px 16px;
}
.nx-signals__head[b-xwims5tiu7] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid var(--nx-signals-line);
    background: none;
    text-align: left;
    cursor: pointer;
}
/* Collapsed = a slim bar: tighter box padding, smaller icon and count. */
.nx-signals.is-collapsed[b-xwims5tiu7] {
    padding: 7px 12px;
}
.nx-signals.is-collapsed .nx-signals__head[b-xwims5tiu7] {
    padding-bottom: 0;
    border-bottom: 0;
}
.nx-signals.is-collapsed .nx-signals__icon[b-xwims5tiu7] {
    width: 20px;
    height: 20px;
}
.nx-signals.is-collapsed .nx-signals__icon svg[b-xwims5tiu7] {
    width: 12px;
    height: 12px;
}
.nx-signals.is-collapsed .nx-signals__title[b-xwims5tiu7] {
    font-size: 0.875rem;
}
.nx-signals.is-collapsed .nx-signals__count[b-xwims5tiu7] {
    min-width: 20px;
    height: 20px;
}
.nx-signals__icon[b-xwims5tiu7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e9e9ea;
    color: var(--text-secondary, #636467);
    flex-shrink: 0;
}
.nx-signals__title[b-xwims5tiu7] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary, #222326);
}
.nx-signals__count[b-xwims5tiu7] {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary, #636467);
    background: #ececec;
}
.nx-signals__toggle[b-xwims5tiu7] {
    margin-left: auto;
    color: var(--text-secondary, #636467);
    transition: transform 0.15s ease;
}
.nx-signals__toggle.is-up[b-xwims5tiu7] {
    transform: rotate(180deg);
}
.nx-signals__list[b-xwims5tiu7] {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nx-signals__row[b-xwims5tiu7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 0;
    overflow-wrap: anywhere;
}
.nx-signals__row + .nx-signals__row[b-xwims5tiu7] {
    border-top: 1px solid var(--nx-signals-line);
}
.nx-signals__row:last-child[b-xwims5tiu7] {
    padding-bottom: 0;
}
.nx-signals__caption[b-xwims5tiu7] {
    font-size: 0.75rem;
    line-height: 1.3;
    color: #8a8b8e;
}
.nx-signals__value[b-xwims5tiu7] {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-primary, #222326);
}
.nx-signals__detail[b-xwims5tiu7] {
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--text-secondary, #636467);
}
.nx-signals__more[b-xwims5tiu7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    margin-top: 12px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #f0f0f0;
    color: var(--text-secondary, #636467);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
}
.nx-signals__more:hover[b-xwims5tiu7] {
    filter: brightness(0.97);
}
.nx-signals__chev.is-up[b-xwims5tiu7] {
    transform: rotate(180deg);
}

/* CollapsedOnMobile, before the browser has reported its width: hide the rows on narrow screens
   so the block shows as a header only and never flashes open. */
@media (max-width: 991.98px) {
    .nx-signals.is-pending .nx-signals__list[b-xwims5tiu7],
    .nx-signals.is-pending .nx-signals__more[b-xwims5tiu7] {
        display: none;
    }
    .nx-signals.is-pending[b-xwims5tiu7] {
        padding: 7px 12px;
    }
    .nx-signals.is-pending .nx-signals__head[b-xwims5tiu7] {
        padding-bottom: 0;
        border-bottom: 0;
    }
    .nx-signals.is-pending .nx-signals__toggle[b-xwims5tiu7] {
        transform: none;
    }
}
/* /Components/Pages/Expert/Profile.razor.rz.scp.css */
/* The page's own sections, aligned to the roster card (WorkingDaysSelect.razor.css) so they read
   as one set rather than one redesigned card sitting among older ones. Scoped to this page: the
   same .card shell is used all over the portal and is not ours to restyle globally.

   The `shadow-sm` utility was removed from the markup rather than overridden — it carries
   !important, so the softer shadow below could not win against it from here. */

.card[b-oeu4bep8ts] {
    border-radius: 16px;
    border-color: rgba(15, 23, 42, .08);
    box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
}

/* Bootstrap rounds these to the old 6px against the card's own corner, so they have to follow it
   up — otherwise the header's white fill squares off inside a 16px card. 15px, not 16: the inner
   radius sits inside the 1px border. */
.card > .card-header:first-child[b-oeu4bep8ts] { border-radius: 15px 15px 0 0; }
.card > .card-body:first-child[b-oeu4bep8ts] { border-top-left-radius: 15px; border-top-right-radius: 15px; }
.card > .card-body:last-child[b-oeu4bep8ts] { border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; }

/* h6 is 16px; the roster card's heading is 14px at the PM's request. Brought down to match so the
   section titles on this page are one size rather than two. */
.card-header .h6[b-oeu4bep8ts] { font-size: 14px; }
/* /Components/Pages/Expert/Requests.razor.rz.scp.css */
/* Requests inbox chrome. The tables below bring their own styles; this is the page header and the
   card that wraps the invitations list.

   Sizing note: the page is three stacked cards of equal weight, so the page title stays at 21px.
   At 32px it sat two full steps above every heading inside the cards and made the whole screen
   read as oversized. */

.rq-header[b-rv3cwsgzuh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.rq-header__title[b-rv3cwsgzuh] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rq-header__title h1[b-rv3cwsgzuh] {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0F172A;
}

.rq-header__count[b-rv3cwsgzuh] {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: #F2F5FA;
    color: #64748B;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

/* An invitation expires; the pool does not. This is the only place on the page that earns a strong
   colour, so it stays distinct from the neutral pool count beside it. */
.rq-header__new[b-rv3cwsgzuh] {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: #FEE2E2;
    color: #991B1B;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
}

.rq-header__sub[b-rv3cwsgzuh] {
    margin: 3px 0 0;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.4;
    color: #7C8AA5;
}

.rq-header__actions[b-rv3cwsgzuh] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rq-btn[b-rv3cwsgzuh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease;
}

.rq-btn svg[b-rv3cwsgzuh] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Both buttons share one height. They were 44 and 48, which read as a misalignment rather than as
   emphasis — the dark fill already carries the emphasis. */
.rq-btn--quiet[b-rv3cwsgzuh] {
    height: 34px;
    padding: 0 14px;
    background: #FFFFFF;
    border: 1px solid #E5EAF1;
    color: #51607A;
}

.rq-btn--quiet:hover[b-rv3cwsgzuh] { background: #F8FAFC; }

.rq-btn--dark[b-rv3cwsgzuh] {
    height: 34px;
    padding: 0 16px;
    background: #111827;
    border: 1px solid #111827;
    color: #FFFFFF;
    font-weight: 600;
}

.rq-btn--dark:hover[b-rv3cwsgzuh] { background: #1F2937; color: #FFFFFF; }

/* ── The three stacked modules ────────────────────────────────────────────── */

/* One gap between cards, set in one place, so the invitations card, the claim pool and the activity
   card sit on the same rhythm however each one is built internally. */
.rq-stack-item[b-rv3cwsgzuh] { margin-bottom: 16px; }
.rq-stack-item:last-child[b-rv3cwsgzuh] { margin-bottom: 0; }

/* Matches .claim-pool and .nx-activity-card: 16px radius, 16px padding, same hairline border. */
.rq-card[b-rv3cwsgzuh] {
    background: #FFFFFF;
    border: 1px solid #E8ECF2;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    padding: 16px;
    margin-bottom: 16px;
}

.rq-card__head[b-rv3cwsgzuh] { margin: 0 0 12px; }

.rq-card__title[b-rv3cwsgzuh] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #1F2A44;
}

.rq-card__sub[b-rv3cwsgzuh] {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: #8A97AB;
}

/* The card's own empty state. Deliberately the same weight as the claim pool's empty row, so
   "nothing here" looks the same in both modules. */
.rq-empty[b-rv3cwsgzuh] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    padding: 0 16px;
    border: 1px solid #E8ECF2;
    border-radius: 12px;
    background: #FBFCFE;
    color: #94A3B8;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 720px) {
    .rq-header__title h1[b-rv3cwsgzuh] { font-size: 19px; }
    .rq-header__sub[b-rv3cwsgzuh] { font-size: 12px; }
    .rq-header__actions[b-rv3cwsgzuh] {
        width: 100%;
        gap: 8px;
    }
    .rq-btn--quiet[b-rv3cwsgzuh],
    .rq-btn--dark[b-rv3cwsgzuh] {
        min-height: 44px;
        padding: 0 14px;
        box-sizing: border-box;
    }
}

/* ── Phone (matches the clinical queue's 768px breakpoint) ────────────────── */

.rq-activity-m[b-rv3cwsgzuh] { display: none; }

@media (max-width: 767.98px) {
    .rq-header[b-rv3cwsgzuh] { flex-wrap: nowrap; align-items: center; margin-bottom: 12px; }
    .rq-header__sub[b-rv3cwsgzuh] { display: none; }

    .rq-header__actions[b-rv3cwsgzuh] { width: auto; margin-left: auto; flex-wrap: nowrap; }

    /* The queue is already in the menu; Refresh keeps only its icon. */
    .rq-btn--dark[b-rv3cwsgzuh] { display: none; }
    .rq-btn__label[b-rv3cwsgzuh] { display: none; }

    .rq-btn--quiet[b-rv3cwsgzuh] {
        width: 38px;
        height: 38px;
        min-height: 0;
        padding: 0;
        justify-content: center;
    }

    .rq-btn--quiet svg[b-rv3cwsgzuh] { width: 17px; height: 17px; }

    .rq-card[b-rv3cwsgzuh] { border-radius: 18px; padding: 14px; margin-bottom: 12px; }

    /* No invitation: one quiet line, not a heading over an 84px empty box that pushes the claim list
       off the first screen. The card returns at full size the moment an invitation arrives. */
    .rq-card--empty[b-rv3cwsgzuh] { padding: 12px 14px; }
    .rq-card--empty .rq-card__head[b-rv3cwsgzuh] { display: none; }

    .rq-card--empty .rq-empty[b-rv3cwsgzuh] {
        justify-content: flex-start;
        gap: 10px;
        min-height: 0;
        padding: 0;
        border: 0;
        background: none;
        color: #6b7280;
        text-align: left;
    }

    .rq-card--empty .rq-empty[b-rv3cwsgzuh]::before {
        content: "";
        width: 8px;
        height: 8px;
        flex-shrink: 0;
        border-radius: 50%;
        background: #2c7267;
        box-shadow: 0 0 0 3px #ddf0ec;
    }

    .rq-stack-item[b-rv3cwsgzuh] { margin-bottom: 12px; }

    .rq-activity-desktop[b-rv3cwsgzuh] { display: none; }

    .rq-activity-m[b-rv3cwsgzuh] {
        display: block;
        background: #FFFFFF;
        border: 1px solid #E8ECF2;
        border-radius: 18px;
        overflow: hidden;
    }

    .rq-activity-m summary[b-rv3cwsgzuh] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px;
        list-style: none;
        cursor: pointer;
    }

    .rq-activity-m summary[b-rv3cwsgzuh]::-webkit-details-marker { display: none; }

    .rq-activity-m__title[b-rv3cwsgzuh] { font-size: 15px; font-weight: 700; color: #1F2A44; }

    .rq-activity-m__count[b-rv3cwsgzuh] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: #7C8AA5;
    }

    .rq-activity-m__count svg[b-rv3cwsgzuh] { width: 14px; height: 14px; transition: transform .15s ease; }
    .rq-activity-m[open] .rq-activity-m__count svg[b-rv3cwsgzuh] { transform: rotate(180deg); }

    .rq-activity-m__row[b-rv3cwsgzuh] {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 14px;
        border-top: 1px solid #F0F3F7;
    }

    .rq-activity-m__main[b-rv3cwsgzuh] { min-width: 0; }
    .rq-activity-m__name[b-rv3cwsgzuh] { font-size: 13px; font-weight: 600; color: #22314D; }
    .rq-activity-m__meta[b-rv3cwsgzuh] { margin-top: 1px; font-size: 12px; color: #7C8AA5; }

    .rq-activity-m__status[b-rv3cwsgzuh] {
        flex-shrink: 0;
        padding: 2px 8px;
        border-radius: 999px;
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .rq-activity-m__empty[b-rv3cwsgzuh] {
        padding: 18px 14px;
        border-top: 1px solid #F0F3F7;
        color: #94A3B8;
        font-size: 13px;
        text-align: center;
    }
}
/* /Components/Pages/Expert/ResponseDetailPage.razor.rz.scp.css */
.review-layout[b-6mqpqp5shp] {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
    min-height: calc(100dvh - 120px);
}

/* The body is IntakeOverview (shared with the consult's Full Intake tab). The cards this page
   adds to it — customer, discount, medication preference — take the same card treatment. */
.review-layout .card[b-6mqpqp5shp] {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    margin-bottom: 0 !important;
}

.review-bottom-panel[b-6mqpqp5shp] {
    background: white;
    border-top: 1px solid var(--nx-border);
    padding: 1rem 0;
    margin-top: auto;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.review-form-inline[b-6mqpqp5shp] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.review-remarks-input[b-6mqpqp5shp] {
    flex: 1;
    min-width: 200px;
}

.review-buttons[b-6mqpqp5shp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .review-form-inline[b-6mqpqp5shp] {
        flex-direction: column;
    }

    .review-remarks-input[b-6mqpqp5shp] {
        width: 100%;
    }

    .review-buttons[b-6mqpqp5shp] {
        width: 100%;
    }

    /* Prescription links and buttons share the same responsive action layout. */
    .review-buttons > .btn[b-6mqpqp5shp] {
        flex: 1 1 10rem;
        min-width: 0;
        max-width: 100%;
        min-height: 44px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
/* /Components/Pages/Expert/SafetyFlagsAlert.razor.rz.scp.css */
/* Tints are the danger tokens mixed with transparent, so they stay a whisper of red on any
   surface (light or dark) — the icon and title carry the warning, not the fill. */
.nx-safety[b-n1whbtyv1r] {
    --nx-safety-fill: color-mix(in srgb, var(--smd-danger-bg, #FFECEC) 40%, transparent);
    --nx-safety-line: color-mix(in srgb, var(--smd-danger-border, #FFC9C9) 55%, transparent);
    --nx-safety-chip: color-mix(in srgb, var(--smd-danger-bg, #FFECEC) 90%, transparent);
    background: var(--nx-safety-fill);
    border: 1px solid var(--nx-safety-line);
    border-radius: 12px;
    padding: 14px 16px;
}
.nx-safety__head[b-n1whbtyv1r] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid var(--nx-safety-line);
    background: none;
    text-align: left;
    cursor: pointer;
}
/* Collapsed = a slim bar: tighter box padding, smaller icon and count. */
.nx-safety.is-collapsed[b-n1whbtyv1r] {
    padding: 7px 12px;
}
.nx-safety.is-collapsed .nx-safety__head[b-n1whbtyv1r] {
    padding-bottom: 0;
    border-bottom: 0;
}
.nx-safety.is-collapsed .nx-safety__icon[b-n1whbtyv1r] {
    width: 20px;
    height: 20px;
}
.nx-safety.is-collapsed .nx-safety__icon svg[b-n1whbtyv1r] {
    width: 12px;
    height: 12px;
}
.nx-safety.is-collapsed .nx-safety__title[b-n1whbtyv1r] {
    font-size: 0.875rem;
}
.nx-safety.is-collapsed .nx-safety__count[b-n1whbtyv1r] {
    min-width: 20px;
    height: 20px;
}
.nx-safety__toggle[b-n1whbtyv1r] {
    margin-left: auto;
    color: var(--smd-danger-fg, #B42318);
    transition: transform 0.15s ease;
}
.nx-safety__toggle.is-up[b-n1whbtyv1r] {
    transform: rotate(180deg);
}
.nx-safety__icon[b-n1whbtyv1r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--danger, #F15D5F);
    color: #fff;
    flex-shrink: 0;
}
.nx-safety__title[b-n1whbtyv1r] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--smd-danger-fg, #B42318);
}
.nx-safety__count[b-n1whbtyv1r] {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--smd-danger-fg, #B42318);
    background: var(--nx-safety-chip);
}
.nx-safety__list[b-n1whbtyv1r] {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nx-safety__row[b-n1whbtyv1r] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    overflow-wrap: anywhere;
}
.nx-safety__row + .nx-safety__row[b-n1whbtyv1r] {
    border-top: 1px solid var(--nx-safety-line);
}
.nx-safety__row:last-child[b-n1whbtyv1r] {
    padding-bottom: 0;
}
.nx-safety__row-title[b-n1whbtyv1r] {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-primary, #222326);
}
.nx-safety__row-detail[b-n1whbtyv1r] {
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--text-secondary, #636467);
}
.nx-safety__more[b-n1whbtyv1r] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    margin-top: 12px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: var(--nx-safety-chip);
    color: var(--smd-danger-fg, #B42318);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
}
.nx-safety__more:hover[b-n1whbtyv1r] {
    filter: brightness(0.97);
}
.nx-safety__chev.is-up[b-n1whbtyv1r] {
    transform: rotate(180deg);
}
/* /Components/Pages/Expert/UnifiedClinicalQueue.razor.rz.scp.css */
/* ── Doctor Clinical Queue ────────────────────────────────────────────────
   Calm clinical palette. Structure carries meaning, color is a quiet secondary cue.
   Strict 84px deterministic row height for flawless Blazor Virtualize integration.
   Under 768px each row is a tappable card instead (.q-m) and the grid cells are hidden.
───────────────────────────────────────────────────────────────────────────── */

.clinical-queue-container[b-qy8cdnbz5o] {
    --q-ink:        #1f2430;   /* primary text */
    --q-ink-soft:   #6b7280;   /* secondary text */
    --q-rule:       #edeae6;   /* row dividers */
    --q-rule-firm:  #e2ddd7;   /* card border */
    --q-surface:    #ffffff;
    --q-row-h:      84px;      /* fixed row height invariant */
}

.spin[b-qy8cdnbz5o] { animation: spin-b-qy8cdnbz5o 1s linear infinite; }
@keyframes spin-b-qy8cdnbz5o { 100% { transform: rotate(360deg); } }

/* ── Toolbar: filters + search ─────────────────────────────────────────── */
.q-toolbar[b-qy8cdnbz5o] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.q-filters[b-qy8cdnbz5o] { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.q-filter[b-qy8cdnbz5o] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--q-ink-soft);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

.q-filter:hover[b-qy8cdnbz5o] { background: #f4f1ed; color: var(--q-ink); }

.q-filter.is-active[b-qy8cdnbz5o] {
    background: var(--q-surface);
    border-color: var(--q-rule-firm);
    color: var(--q-ink);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(31, 36, 48, 0.04);
}

.q-filter__count[b-qy8cdnbz5o] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--q-ink-soft);
    background: #f0ede9;
    border-radius: 5px;
    padding: 0.05rem 0.4rem;
}

.q-filter.is-active .q-filter__count[b-qy8cdnbz5o] { background: #edeae6; color: var(--q-ink); }

.q-filter--urgent[b-qy8cdnbz5o] {
    background: #fdeee9;
    border-color: #f7ddd3;
    color: #a85434;
}

.q-filter--urgent:hover[b-qy8cdnbz5o] { background: #fce4dc; color: #8f4529; }

.q-filter--urgent.is-active[b-qy8cdnbz5o] {
    background: #fbe3d9;
    border-color: #efc7b6;
    color: #8f4529;
}

.q-filter__count--attention[b-qy8cdnbz5o] { background: #f7d8cb; color: #a04b2c; }
.q-filter--urgent.is-active .q-filter__count--attention[b-qy8cdnbz5o] { background: #f6cbb8; color: #8f4529; }

/* Type chips: narrow the current tab. Desktop sits them after the tabs, search pushed right. */
.q-chips[b-qy8cdnbz5o] { display: flex; gap: 0.375rem; order: 2; }
.q-search[b-qy8cdnbz5o] { order: 3; margin-left: auto; }

.q-chip[b-qy8cdnbz5o] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--q-rule-firm);
    border-radius: 999px;
    background: var(--q-surface);
    color: var(--q-ink);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

.q-chip:hover[b-qy8cdnbz5o] { background: #f4f1ed; }
.q-chip.is-active[b-qy8cdnbz5o] { background: var(--q-ink); border-color: var(--q-ink); color: #fff; }
.q-chip__count[b-qy8cdnbz5o] { color: var(--q-ink-soft); font-weight: 500; }
.q-chip.is-active .q-chip__count[b-qy8cdnbz5o] { color: #c9cdd4; }

.q-search[b-qy8cdnbz5o] {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 260px;
    flex: 0 1 320px;
}

.q-search i[b-qy8cdnbz5o] {
    position: absolute;
    left: 0.75rem;
    color: #9aa1ab;
    font-size: 0.8125rem;
    pointer-events: none;
}

.q-search input[b-qy8cdnbz5o] {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.1rem;
    border: 1px solid var(--q-rule-firm);
    border-radius: 8px;
    background: var(--q-surface);
    color: var(--q-ink);
    font-size: 0.8125rem;
}

.q-search input[b-qy8cdnbz5o]::placeholder { color: #9aa1ab; }
.q-search input:focus[b-qy8cdnbz5o] { outline: none; border-color: #c9d3dd; box-shadow: 0 0 0 3px rgba(148, 170, 190, 0.14); }

/* ── Card Container & Semantic List ─────────────────────────────────────── */
.q-card[b-qy8cdnbz5o] {
    background: var(--q-surface);
    border: 1px solid var(--q-rule-firm);
    border-radius: 12px;
    overflow: hidden;
}

.q-list[b-qy8cdnbz5o] {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.q-empty[b-qy8cdnbz5o] {
    padding: 3.5rem 1rem !important;
    text-align: center;
    color: var(--q-ink-soft);
    font-size: 0.875rem;
}

/* ── Typography & Cell Components ───────────────────────────────────────── */
.q-patient[b-qy8cdnbz5o] {
    color: var(--q-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.q-sub[b-qy8cdnbz5o] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--q-ink-soft);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.35;
}

.q-sub i[b-qy8cdnbz5o] { font-size: 0.75rem; opacity: 0.75; }
.q-sep[b-qy8cdnbz5o] { opacity: 0.5; }
.q-time-sep[b-qy8cdnbz5o] { opacity: 0.5; margin: 0 0.2rem; }

.q-modality[b-qy8cdnbz5o] {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.modality-assessment[b-qy8cdnbz5o] { color: #4a7cb0; }  /* clinical blue */
.modality-chat[b-qy8cdnbz5o]       { color: #64748b; }  /* slate */
.modality-video[b-qy8cdnbz5o]      { color: #46887f; }  /* teal */
.modality-intake[b-qy8cdnbz5o]     { color: #8a6b9b; }  /* mauve */

.q-topic[b-qy8cdnbz5o] {
    color: var(--q-ink);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
}

.q-schedule[b-qy8cdnbz5o] {
    color: var(--q-ink);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 0.2rem;
}

.q-urgency[b-qy8cdnbz5o] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #9c6b4f;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
}

.q-urgency i[b-qy8cdnbz5o] { font-size: 0.6875rem; }

/* ── Status: soft pill ─────────────────────────────────────────────────── */
.q-status[b-qy8cdnbz5o] {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.status-booked[b-qy8cdnbz5o]    { background: #e3eefb; color: #37628f; }  /* pastel blue */
.status-attention[b-qy8cdnbz5o] { background: #fcf0dc; color: #96682b; }  /* warm sand */
.status-live[b-qy8cdnbz5o]      { background: #ddf0ec; color: #2c7267; }  /* pastel teal */
.status-positive[b-qy8cdnbz5o]  { background: #e4f2e8; color: #3d7550; }  /* pastel green */
.status-negative[b-qy8cdnbz5o]  { background: #fae7e7; color: #9c4f4f; }  /* pastel rose */
.status-neutral[b-qy8cdnbz5o]   { background: #dbf1e7; color: #1f6f52; }  /* mint */

/* ── CTA: primary action button ────────────────────────────────────────── */
.q-cta[b-qy8cdnbz5o] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 38px;
    padding: 0.5rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition: filter 0.15s ease, background-color 0.15s ease;
}

.q-cta:hover[b-qy8cdnbz5o] { filter: brightness(0.96); text-decoration: none; }
.q-cta__arrow[b-qy8cdnbz5o] { font-weight: 400; }

.q-cta--review[b-qy8cdnbz5o]  { background: #fce7ec; border-color: #f6d2da; color: #a8455f; }
.q-cta--join[b-qy8cdnbz5o]    { background: #e2edfb; border-color: #cbddf4; color: #2f6398; }
.q-cta--chart[b-qy8cdnbz5o]   { background: #dbf1e7; border-color: #c2e4d5; color: #1f6f52; }
.q-cta--neutral[b-qy8cdnbz5o] { background: #f1f0ee; border-color: #e1ddd7; color: #5d626b; }

.q-cta--review:hover[b-qy8cdnbz5o]  { color: #a8455f; }
.q-cta--join:hover[b-qy8cdnbz5o]    { color: #2f6398; }
.q-cta--chart:hover[b-qy8cdnbz5o]   { color: #1f6f52; }
.q-cta--neutral:hover[b-qy8cdnbz5o] { color: #5d626b; }

/* ── Shared Grid Definitions & Cell Overflow Handling ───────────────────── */
.q-cell[b-qy8cdnbz5o] {
    min-width: 0;
    overflow: hidden;
}

/* ── DESKTOP LAYOUT (>= 768px): 5-Column High-Density Grid ──────────────── */
@media (min-width: 768px) {
    .q-m[b-qy8cdnbz5o] { display: none; }

    .q-header[b-qy8cdnbz5o] {
        display: grid;
        grid-template-columns: minmax(170px, 1.3fr) minmax(130px, 1fr) minmax(150px, 1fr) 110px minmax(175px, auto);
        align-items: center;
        gap: 1rem;
        padding: 0.875rem 1.5rem;
        background: #faf8f6;
        border-bottom: 1px solid var(--q-rule);
        color: #8b8f98;
        font-size: 0.6875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        white-space: nowrap;
    }

    .q-row[b-qy8cdnbz5o] {
        display: grid;
        grid-template-columns: minmax(170px, 1.3fr) minmax(130px, 1fr) minmax(150px, 1fr) 110px minmax(175px, auto);
        align-items: center;
        gap: 1rem;
        padding: 0 1.5rem;
        height: var(--q-row-h);
        min-height: var(--q-row-h);
        max-height: var(--q-row-h);
        box-sizing: border-box;
        border-bottom: 1px solid var(--q-rule);
        background: var(--q-surface);
        transition: background-color 0.15s ease;
        overflow: hidden;
    }

    .q-row:hover[b-qy8cdnbz5o] { background: #fbfaf9; }
    .q-row:last-child[b-qy8cdnbz5o] { border-bottom: none; }

    .q-cell--action[b-qy8cdnbz5o] {
        display: flex;
        justify-content: flex-end;
        overflow: visible;
    }
}

/* ── MOBILE LAYOUT (< 768px): one tappable card per row ─────────────────── */
@media (max-width: 767.98px) {
    .q-header[b-qy8cdnbz5o] { display: none !important; }

    .q-toolbar[b-qy8cdnbz5o] { gap: 0.625rem; margin-bottom: 0.75rem; }

    /* Tabs → one segmented control that never wraps. */
    .q-filters[b-qy8cdnbz5o] {
        flex-wrap: nowrap;
        width: 100%;
        gap: 0;
        padding: 3px;
        border-radius: 12px;
        background: #eeebe7;
    }

    .q-filter[b-qy8cdnbz5o],
    .q-filter--urgent[b-qy8cdnbz5o],
    .q-filter--urgent.is-active[b-qy8cdnbz5o] {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        gap: 0.3rem;
        min-height: 40px;
        padding: 0 0.4rem;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--q-ink-soft);
        font-weight: 600;
        white-space: nowrap;
    }

    .q-filter:hover[b-qy8cdnbz5o] { background: transparent; }

    .q-filter.is-active[b-qy8cdnbz5o] {
        background: var(--q-surface);
        color: var(--q-ink);
        box-shadow: 0 1px 3px rgba(31, 36, 48, 0.08);
    }

    .q-search[b-qy8cdnbz5o] { order: 0; flex: 1 1 100%; min-width: 0; margin-left: 0; }
    .q-search input[b-qy8cdnbz5o] { min-height: 44px; font-size: 1rem; border-radius: 12px; } /* 16px stops iOS zooming on focus */

    .q-chips[b-qy8cdnbz5o] { order: 0; width: 100%; overflow-x: auto; scrollbar-width: none; }
    .q-chips[b-qy8cdnbz5o]::-webkit-scrollbar { display: none; }
    .q-chip[b-qy8cdnbz5o] { flex-shrink: 0; min-height: 36px; padding: 0 0.8rem; }

    /* List: separate cards on the page background instead of rows in one box. */
    .q-card[b-qy8cdnbz5o] { background: transparent; border: 0; border-radius: 0; overflow: visible; }

    .q-row[b-qy8cdnbz5o] {
        display: block;
        margin-bottom: 0.5rem;
        border: 1px solid var(--q-rule);
        border-radius: 14px;
        background: var(--q-surface);
        overflow: hidden;
    }

    .q-row > .q-cell[b-qy8cdnbz5o] { display: none; }
    .q-row--placeholder > .q-cell[b-qy8cdnbz5o] { display: block; }

    .q-m[b-qy8cdnbz5o] {
        display: block;
        padding: 0.8rem 0.875rem 0.75rem;
        color: var(--q-ink);
        text-decoration: none;
    }

    .q-m:hover[b-qy8cdnbz5o], .q-m:focus[b-qy8cdnbz5o] { color: var(--q-ink); text-decoration: none; }
    .q-m:active[b-qy8cdnbz5o] { background: #faf8f6; }

    .q-m__top[b-qy8cdnbz5o] { display: flex; align-items: flex-start; gap: 0.5rem; }

    .q-m__name[b-qy8cdnbz5o] {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: -0.01em;
    }

    .q-m__top .q-status[b-qy8cdnbz5o] { flex-shrink: 0; }

    .q-m__what[b-qy8cdnbz5o],
    .q-m__when[b-qy8cdnbz5o] {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        overflow: hidden;
        white-space: nowrap;
        color: var(--q-ink-soft);
    }

    .q-m__what[b-qy8cdnbz5o] { margin-top: 0.15rem; font-size: 0.875rem; }
    .q-m__what > span:last-child[b-qy8cdnbz5o] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
    .q-m__mod[b-qy8cdnbz5o] { font-weight: 600; flex-shrink: 0; }

    .q-m__when[b-qy8cdnbz5o] { margin-top: 0.45rem; font-size: 0.8125rem; }
    .q-m__when > i[b-qy8cdnbz5o] { font-size: 0.8125rem; flex-shrink: 0; }
    .q-m__urgency[b-qy8cdnbz5o] { color: #b4493a; font-weight: 600; flex-shrink: 0; }
    .q-m__urgency.is-live[b-qy8cdnbz5o] { color: #2c7267; }
    .q-m__time[b-qy8cdnbz5o] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

    .q-m__flag[b-qy8cdnbz5o] {
        flex-shrink: 0;
        padding: 0.05rem 0.4rem;
        border-radius: 6px;
        background: #fff4d6;
        color: #8a5a12;
        font-size: 0.6875rem;
        font-weight: 600;
    }

    .q-m__chev[b-qy8cdnbz5o] { margin-left: auto; padding-left: 0.25rem; color: #9aa1ab; flex-shrink: 0; }

    .q-empty[b-qy8cdnbz5o] { background: var(--q-surface); border: 1px dashed var(--q-rule-firm); border-radius: 14px; }
}

/* Narrowest phones (360px): "Needs Action" → "Action" so the three tabs still fit one row. */
@media (max-width: 379.98px) {
    .q-filter__long[b-qy8cdnbz5o] { display: none; }
}
/* /Components/Pages/Pharmacist/Fulfillment.razor.rz.scp.css */
/* ── Order Fulfillment Fixed-Height & Deterministic Virtualize Styles ── */

.fl-virtualize-container[b-y0hqwuh80a] {
    width: 100%;
}

.fl-card[b-y0hqwuh80a] {
    height: 76px;
    min-height: 76px;
    max-height: 76px;
    box-sizing: border-box;
    background: #ffffff;
    border-bottom: 1px solid #f1eeeb;
    padding: 0 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.12s ease;
}

.fl-card:hover[b-y0hqwuh80a] {
    background-color: #faf8f5;
}

.fl-card-body[b-y0hqwuh80a] {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}

.fl-line-1[b-y0hqwuh80a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.25;
}

.fl-line-1-left[b-y0hqwuh80a] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.fl-line-1-right[b-y0hqwuh80a] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.fl-channel-badge[b-y0hqwuh80a] {
    font-size: 0.55rem;
    font-weight: 700;
    font-family: monospace;
    padding: 1px 4px;
    border-radius: 3px;
    flex-shrink: 0;
}

.fl-channel-shopify[b-y0hqwuh80a] {
    background: #1a1a1a;
    color: #ffffff;
}

.fl-channel-nowserving[b-y0hqwuh80a] {
    background: #0284c7;
    color: #ffffff;
}

.fl-ref[b-y0hqwuh80a] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    flex-shrink: 0;
}

.fl-name[b-y0hqwuh80a] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
}

.fl-disc-badge[b-y0hqwuh80a] {
    font-size: 0.55rem;
    padding: 1px 4px;
    flex-shrink: 0;
}

.fl-price[b-y0hqwuh80a] {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
}

.fl-pill[b-y0hqwuh80a] {
    font-size: 0.65rem;
    padding: 2px 6px;
    white-space: nowrap;
}

.fl-line-2[b-y0hqwuh80a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.2;
}

.fl-line-2-left[b-y0hqwuh80a] {
    font-size: 0.72rem;
    color: #64748b;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.fl-line-2-right[b-y0hqwuh80a] {
    flex-shrink: 0;
}

.fl-meds[b-y0hqwuh80a] {
    color: #475569;
}

.fl-delivery[b-y0hqwuh80a] {
    color: #64748b;
    margin-left: 2px;
}

/* ── Phone list (< 768px): iOS-style rows, matching the Rx Requests lists ── */
.fl-search[b-y0hqwuh80a] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(118, 118, 128, 0.12);
    color: rgba(60, 60, 67, 0.6);
}

.fl-search svg[b-y0hqwuh80a] { flex-shrink: 0; }

.fl-search input[b-y0hqwuh80a] {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--nx-text, #1a1a1a);
    font-size: 1rem; /* 16px stops iOS zooming on focus */
    text-overflow: ellipsis;
}

.fl-bar[b-y0hqwuh80a] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.fl-seg[b-y0hqwuh80a] {
    display: flex;
    margin-bottom: 14px;
    gap: 2px;
    padding: 3px;
    border-radius: 12px;
    background: rgba(118, 118, 128, 0.12);
}

.fl-seg__tab[b-y0hqwuh80a] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 34px;
    padding: 0 4px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--nx-text, #1a1a1a);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.fl-seg__tab.is-on[b-y0hqwuh80a] {
    background: #fff;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.04);
}

.fl-seg__count[b-y0hqwuh80a] {
    min-width: 18px;
    padding: 1px 5px;
    border-radius: 999px;
    background: rgba(118, 118, 128, 0.14);
    color: rgba(60, 60, 67, 0.6);
    font-size: 0.72rem;
    font-weight: 500;
}

.fl-round[b-y0hqwuh80a] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(118, 118, 128, 0.12);
    color: var(--nx-text, #1a1a1a);
}

.fl-round.is-on[b-y0hqwuh80a] { background: var(--nx-text, #1a1a1a); color: #fff; }

.fl-scope[b-y0hqwuh80a] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -4px 4px 12px;
    color: rgba(60, 60, 67, 0.6);
    font-size: 0.875rem;
}

.fl-scope button[b-y0hqwuh80a] {
    border: 0;
    background: none;
    padding: 4px 0;
    color: var(--nx-text, #1a1a1a);
    font-weight: 600;
}

.fl-empty[b-y0hqwuh80a] {
    padding: 56px 24px 24px;
    text-align: center;
    color: rgba(60, 60, 67, 0.3);
}

.fl-empty h3[b-y0hqwuh80a] { margin: 12px 0 4px; color: var(--nx-text, #1a1a1a); font-size: 1.25rem; font-weight: 700; }
.fl-empty p[b-y0hqwuh80a] { margin: 0; color: rgba(60, 60, 67, 0.6); font-size: 0.9375rem; }

.fl-list[b-y0hqwuh80a] {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}

/* Fixed height keeps Virtualize's ItemSize honest: every row is exactly 108px. */
.fl-row[b-y0hqwuh80a] {
    position: relative;
    display: flex;
    gap: 12px;
    height: 108px;
    padding: 13px 16px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.fl-row:active[b-y0hqwuh80a] { background: #e5e5ea; }

.fl-row[b-y0hqwuh80a]::after {
    content: "";
    position: absolute;
    left: 36px;
    right: 0;
    bottom: 0;
    height: 0.5px;
    background: rgba(60, 60, 67, 0.18);
}

.fl-row__dot[b-y0hqwuh80a] {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 8px;
    border-radius: 50%;
    background: #c7c7cc;
}

.fl-row__dot.is-ink[b-y0hqwuh80a] { background: #ff9500; } /* pending work */
.fl-row__dot.is-blue[b-y0hqwuh80a] { background: #007aff; }
.fl-row__dot.is-green[b-y0hqwuh80a] { background: #34c759; }
.fl-row__dot.is-amber[b-y0hqwuh80a] { background: #ff9500; }
.fl-row__dot.is-red[b-y0hqwuh80a] { background: #ff3b30; }

.fl-row__main[b-y0hqwuh80a] {
    flex: 1;
    min-width: 0;
}

.fl-row__l1[b-y0hqwuh80a] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.fl-row__ref[b-y0hqwuh80a] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--nx-text, #1a1a1a);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.fl-row__amt[b-y0hqwuh80a] {
    flex-shrink: 0;
    color: var(--nx-text, #1a1a1a);
    font-size: 0.9375rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.fl-row__chev[b-y0hqwuh80a] { flex-shrink: 0; align-self: center; color: rgba(60, 60, 67, 0.3); }

.fl-row__l2[b-y0hqwuh80a],
.fl-row__meds[b-y0hqwuh80a],
.fl-row__l3[b-y0hqwuh80a] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgba(60, 60, 67, 0.6);
    font-size: 0.875rem;
}

.fl-row__l2[b-y0hqwuh80a] { margin-top: 2px; }
.fl-row__meds[b-y0hqwuh80a] { margin-top: 1px; color: var(--nx-text, #1a1a1a); }

.fl-row__l3[b-y0hqwuh80a] {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 3px;
}

.fl-row__st[b-y0hqwuh80a] { font-weight: 500; }
.fl-row__sep[b-y0hqwuh80a] { color: rgba(60, 60, 67, 0.3); }
.fl-row__track[b-y0hqwuh80a] { color: #007aff; font-weight: 500; text-decoration: none; }

.fl-row .is-ink[b-y0hqwuh80a] { color: var(--nx-text, #1a1a1a); }
.fl-row .is-blue[b-y0hqwuh80a] { color: #007aff; }
.fl-row .is-green[b-y0hqwuh80a] { color: #248a3d; }
.fl-row .is-amber[b-y0hqwuh80a] { color: #c26a00; }
.fl-row .is-red[b-y0hqwuh80a] { color: #d70015; }
.fl-row .is-grey[b-y0hqwuh80a] { color: #8e8e93; }

/* Filter and ⋯ sheets */
.fl-scrim[b-y0hqwuh80a] {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(0, 0, 0, 0.25);
}

.fl-sheet[b-y0hqwuh80a] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1061;
    max-height: 92dvh;
    overflow-y: auto;
    padding: 0 16px calc(24px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
    background: #f2f2f7;
}

.fl-sheet__nav[b-y0hqwuh80a] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 14px 0 12px;
}

.fl-sheet__title[b-y0hqwuh80a] { font-size: 1.0625rem; font-weight: 600; }

.fl-sheet__done[b-y0hqwuh80a] {
    justify-self: end;
    border: 0;
    background: none;
    padding: 6px 0;
    color: var(--nx-text, #1a1a1a);
    font-size: 1.0625rem;
    font-weight: 600;
}

.fl-sheet__group[b-y0hqwuh80a] {
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #fff;
}

.fl-sheet__opt[b-y0hqwuh80a] {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 11px 16px;
    border: 0;
    background: #fff;
    color: var(--nx-text, #1a1a1a);
    font-size: 1.0625rem;
    text-align: left;
}

.fl-sheet__opt + .fl-sheet__opt[b-y0hqwuh80a]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 0;
    height: 0.5px;
    background: rgba(60, 60, 67, 0.18);
}

.fl-sheet__count[b-y0hqwuh80a] { margin-left: 6px; color: rgba(60, 60, 67, 0.6); font-size: 0.9375rem; }
.fl-sheet__check[b-y0hqwuh80a] { visibility: hidden; font-weight: 600; }
.fl-sheet__opt.is-on .fl-sheet__check[b-y0hqwuh80a] { visibility: visible; }

.fl-sheet__foot[b-y0hqwuh80a] {
    margin: 4px 16px 0;
    color: rgba(60, 60, 67, 0.6);
    font-size: 0.8125rem;
    line-height: 1.35;
}

/* The ⋯ sheet reuses the header's own buttons (NS price import, NX breakdowns), stacked full width. */
.fl-sheet__actions[b-y0hqwuh80a] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fl-sheet__actions[b-y0hqwuh80a]  .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--nx-text, #1a1a1a);
    font-size: 1rem;
}

/* Channel switch under the status tabs: plain text, selected one bold + underlined. */
.fl-chan[b-y0hqwuh80a] {
    display: flex;
    gap: 20px;
    margin: -2px 4px 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.fl-chan[b-y0hqwuh80a]::-webkit-scrollbar { display: none; }

.fl-chan__opt[b-y0hqwuh80a] {
    flex-shrink: 0;
    padding: 2px 0 5px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: rgba(60, 60, 67, 0.6);
    font-size: 0.9375rem;
    white-space: nowrap;
}

.fl-chan__opt.is-on[b-y0hqwuh80a] {
    border-bottom-color: var(--nx-text, #1a1a1a);
    color: var(--nx-text, #1a1a1a);
    font-weight: 600;
}

.fl-chan__count[b-y0hqwuh80a] {
    margin-left: 4px;
    color: rgba(60, 60, 67, 0.3);
    font-size: 0.85rem;
    font-weight: 400;
}

.fl-chan__opt.is-on .fl-chan__count[b-y0hqwuh80a] { color: rgba(60, 60, 67, 0.6); }

/* Desktop table status tags: flat, square-ish, monospace, no border (PM: "make it look like the mockup", 2026-11-10). */
.fl-tag[b-y0hqwuh80a] {
    display: inline-block;
    font-family: var(--bs-font-monospace);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}
.fl-tag.is-green[b-y0hqwuh80a] { background: #d1e7dd; color: #0f5132; }
.fl-tag.is-amber[b-y0hqwuh80a] { background: #fff3cd; color: #664d03; }
.fl-tag.is-blue[b-y0hqwuh80a]  { background: #cfe2ff; color: #084298; }
.fl-tag.is-cyan[b-y0hqwuh80a]  { background: #cff4fc; color: #055160; }
.fl-tag.is-red[b-y0hqwuh80a]   { background: #f8d7da; color: #842029; }
.fl-tag.is-gray[b-y0hqwuh80a]  { background: #e9ecef; color: #495057; }

/* ── #986: patient name, rush delivery, owner chip ─────────────────────────── */
.fl-pname[b-y0hqwuh80a] { color: #0a58ca; }
.fl-rush[b-y0hqwuh80a] { color: #e8590c; font-weight: 600; }

.fl-ochip[b-y0hqwuh80a] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    font-size: 12.5px;
    font-weight: 600;
    color: #212529;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 2px 8px 2px 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
    font-family: inherit;
    line-height: 1.4;
}
.fl-ochip__n[b-y0hqwuh80a] { overflow: hidden; text-overflow: ellipsis; }
.fl-ochip.is-me[b-y0hqwuh80a] { color: #00594f; }
.fl-ochip.is-un[b-y0hqwuh80a] { color: #6c757d; background: #f1f3f5; border: 1px dashed #adb5bd; padding-left: 9px; font-weight: 500; }
.fl-ochip.is-none[b-y0hqwuh80a] { color: #adb5bd; font-weight: 400; padding-left: 9px; }
.fl-av[b-y0hqwuh80a] {
    display: inline-flex;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.fl-row__me[b-y0hqwuh80a] { color: #00594f; font-weight: 600; }
.fl-row__own[b-y0hqwuh80a] { color: #000; }
.fl-row__un[b-y0hqwuh80a] { color: #8e8e93; }

button.fl-ochip[b-y0hqwuh80a] { cursor: pointer; }
button.fl-ochip:hover:not(:disabled)[b-y0hqwuh80a] { background: #fff; border-color: #ced4da; }
button.fl-ochip.is-un:hover:not(:disabled)[b-y0hqwuh80a] { background: #e9ecef; border-color: #868e96; }
button.fl-ochip:disabled[b-y0hqwuh80a] { cursor: default; }
.fl-ochip__caret[b-y0hqwuh80a] { color: #adb5bd; font-size: 10px; margin-left: 1px; }
.fl-toast[b-y0hqwuh80a] {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 1050;
    background: #212529; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25); max-width: calc(100vw - 32px);
}

/* #986 owner filter */
.fl-unbadge[b-y0hqwuh80a] { font-size: 12.5px; border: 1px solid #ffda6a; background: #fff3cd; color: #664d03; border-radius: 999px; padding: 4px 10px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.fl-ownerdd[b-y0hqwuh80a] { position: relative; }
/* Owner / Delivery / City: same border, size and grey text as the search box next to them (PM 2026-11-13). */
.fl-ownerbtn[b-y0hqwuh80a] { font-size: .875rem; line-height: 1.5; border: 1px solid var(--bs-border-color, #dee2e6); border-radius: var(--bs-border-radius-sm, .25rem); padding: .25rem .5rem; background: #fff; white-space: nowrap; cursor: pointer; color: var(--bs-secondary-color, #6c757d); }
.fl-ownerbtn:hover[b-y0hqwuh80a] { border-color: #ced4da; background: #f8f9fa; }
.fl-ownerbtn.is-on[b-y0hqwuh80a] { border-color: #0d6efd; background: #e7f0ff; color: #0a58ca; font-weight: 600; }
.fl-ownerdd__scrim[b-y0hqwuh80a] { position: fixed; inset: 0; z-index: 1030; }
.fl-ownerdd__menu[b-y0hqwuh80a] {
    position: absolute; top: calc(100% + 4px); left: 0; z-index: 1031; min-width: 230px; max-height: 420px; overflow-y: auto;
    background: #fff; border: 1px solid #dee2e6; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); padding: 4px;
}
.fl-ownerdd__opt[b-y0hqwuh80a] { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; font-size: 13px; text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 6px; cursor: pointer; color: #212529; }
.fl-ownerdd__opt > span:first-child[b-y0hqwuh80a] { display: inline-flex; align-items: center; gap: 6px; }
.fl-ownerdd__opt:hover[b-y0hqwuh80a] { background: #f1f3f5; }
.fl-ownerdd__opt.is-on[b-y0hqwuh80a] { background: #e7f0ff; font-weight: 600; }
.fl-ownerdd__ct[b-y0hqwuh80a] { color: #6c757d; font-family: var(--bs-font-monospace); font-size: 12px; }
.fl-ownerdd__lbl[b-y0hqwuh80a] { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: #6c757d; padding: 6px 10px 2px; }
.fl-ownerdd__search[b-y0hqwuh80a] { width: calc(100% - 8px); margin: 4px; border: 1px solid #ced4da; border-radius: 6px; padding: 5px 8px; font-size: 12.5px; }
.fl-ownerdd__menu hr[b-y0hqwuh80a] { border: 0; border-top: 1px solid #e9ecef; margin: 4px 0; opacity: 1; }

.fl-minerow[b-y0hqwuh80a] { display: flex; align-items: center; gap: 8px; padding: 0 16px 8px; }
.fl-mine[b-y0hqwuh80a] { font-size: 13px; border: 0; border-radius: 999px; padding: 6px 12px; background: rgba(118, 118, 128, 0.12); cursor: pointer; white-space: nowrap; min-height: 32px; }
.fl-mine.is-on[b-y0hqwuh80a] { background: #00594f; color: #fff; font-weight: 600; }
.fl-minerow__note[b-y0hqwuh80a] { font-size: 12.5px; color: rgba(60, 60, 67, 0.6); }
.fl-minerow__note button[b-y0hqwuh80a] { border: 0; background: none; color: #007aff; font-size: 12.5px; padding: 0 0 0 4px; }
.fl-sheet__h[b-y0hqwuh80a] { font-size: 12px; text-transform: uppercase; color: rgba(60, 60, 67, 0.6); letter-spacing: .04em; font-weight: 600; padding: 10px 16px 4px; }

/* #986 person banner + Move all */
.fl-banner[b-y0hqwuh80a] { justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: #eef4ff; border: 1px solid #cfe0ff; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; font-size: 13px; }
.fl-banner > span:first-child[b-y0hqwuh80a] { display: inline-flex; align-items: center; gap: 6px; }
.fl-banner__act[b-y0hqwuh80a] { position: relative; }
.fl-move-un[b-y0hqwuh80a] { color: #6c757d; }
.fl-move-confirm[b-y0hqwuh80a] { padding: 10px 12px; font-size: 13px; max-width: 260px; }
.fl-move-btns[b-y0hqwuh80a] { display: flex; gap: 6px; justify-content: flex-end; padding: 0 10px 10px; }

/* The Move-all menu sits at the right end of the banner, so it opens leftwards. */
.fl-banner__act .fl-ownerdd__menu[b-y0hqwuh80a] { left: auto; right: 0; }

/* #986 option C: colour dots instead of emoji on the filter pills; Track as a link */
.fl-dot[b-y0hqwuh80a] { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c); margin-right: 6px; vertical-align: 1px; }
.btn-dark .fl-dot[b-y0hqwuh80a], .btn-info .fl-dot[b-y0hqwuh80a], .btn-success .fl-dot[b-y0hqwuh80a], .btn-secondary .fl-dot[b-y0hqwuh80a], .btn-warning .fl-dot[b-y0hqwuh80a] { box-shadow: 0 0 0 1.5px #fff; }
.fl-track[b-y0hqwuh80a] { color: #0a58ca; text-decoration: none; font-weight: 600; }
.fl-track:hover[b-y0hqwuh80a] { text-decoration: underline; }

/* Admin kebab menu in the desktop header (NS price import, NX breakdowns). */
.fl-more[b-y0hqwuh80a] {
    position: relative;
}

.fl-more__btn[b-y0hqwuh80a] {
    padding-left: 8px;
    padding-right: 8px;
}

.fl-more__scrim[b-y0hqwuh80a] {
    position: fixed;
    inset: 0;
    z-index: 1040;
}

.fl-more__menu[b-y0hqwuh80a] {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 1050;
    min-width: 220px;
    padding: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.14);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Only the tools' own trigger buttons (direct children); their dialogs keep their styles. */
.fl-more__menu[b-y0hqwuh80a]  > .btn {
    width: 100%;
    justify-content: flex-start;
    border: 0;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--nx-text, #1a1a1a);
    background: transparent;
}

.fl-more__menu[b-y0hqwuh80a]  > .btn:hover {
    background: #f3f4f6;
}

/* ── #989 Deliver by / City (desktop list) ── */
.fl-table[b-y0hqwuh80a] { font-size: 12.5px; }
.fl-table td[b-y0hqwuh80a] { padding-top: 7px; padding-bottom: 7px; }
/* DueCell is built in C# (RenderFragment), so it carries no scope attribute: reach it with ::deep. */
.fl-table[b-y0hqwuh80a]  .fl-due { font-size: 12px; color: #6c757d; white-space: nowrap; }
.fl-table[b-y0hqwuh80a]  .fl-due.is-red { color: #d70015; font-weight: 600; }
.fl-table[b-y0hqwuh80a]  .fl-due.is-amber { color: #c26a00; font-weight: 600; }
th.fl-sort[b-y0hqwuh80a] { cursor: pointer; user-select: none; }
th.fl-sort .fl-sort-i[b-y0hqwuh80a] { opacity: .45; margin-left: 2px; }
th.fl-sort.is-on[b-y0hqwuh80a] { color: #212529 !important; }
th.fl-sort.is-on .fl-sort-i[b-y0hqwuh80a] { opacity: 1; }
.fl-col-city .fl-track[b-y0hqwuh80a] { margin-left: 5px; }
/* City is the cell's main line: gray-700, between the black order ref and the muted 2nd line. */
.fl-city[b-y0hqwuh80a] { color: #495057; }
/* Narrow screens: City gives way so Customer keeps room (Payment always shows). */
@media (max-width: 991.98px) { .fl-col-city[b-y0hqwuh80a] { display: none; } }

.fl-citydd[b-y0hqwuh80a] { max-height: 360px; overflow-y: auto; }

/* ── #989 bulk bar ── */
.fl-bulk .fl-banner__act[b-y0hqwuh80a] { position: static; }
.fl-bulk__menu[b-y0hqwuh80a] { left: 0; right: auto; min-width: 220px; }
.fl-bulk__sep[b-y0hqwuh80a] { width: 1px; height: 20px; background: #cfe0ff; }
.fl-table tr.fl-ticked > td[b-y0hqwuh80a] { background: #f3f7ff; }
.fl-toast__undo[b-y0hqwuh80a] { margin-left: 12px; border: 0; background: none; color: #8ab4ff; font-weight: 600; padding: 0; }
.fl-dlg[b-y0hqwuh80a] { position: fixed; inset: 0; z-index: 1060; background: rgba(15, 23, 42, .35); display: flex; align-items: center; justify-content: center; }
.fl-dlg__box[b-y0hqwuh80a] { background: #fff; border-radius: 12px; padding: 18px 20px; width: 360px; max-width: calc(100vw - 32px); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); font-size: 13.5px; }

/* The other columns are fixed (~944px with City). Without a floor, a narrow window squeezes
   Customer & Medication to ~0px and its header stacks one letter per line. Keep Customer
   at least ~220px and let the list scroll sideways instead. */
.fl-table-wrap[b-y0hqwuh80a] { overflow-x: auto; }
.fl-table[b-y0hqwuh80a] { min-width: 1100px; }
@media (max-width: 991.98px) { .fl-table[b-y0hqwuh80a] { min-width: 1050px; } }
/* Action (View) stays pinned to the right edge while the list scrolls sideways, so it is
   reachable at any window width / zoom. Background matches the row states. */
.fl-table .fl-col-act[b-y0hqwuh80a] { position: sticky; right: 0; z-index: 1; background: #fff; box-shadow: -6px 0 6px -6px rgba(0,0,0,.18); }
.fl-table thead .fl-col-act[b-y0hqwuh80a] { background: var(--bs-table-bg, #f8f9fa); }
.fl-table tr:hover > td.fl-col-act[b-y0hqwuh80a] { background: #f5f5f5; }
.fl-table tr.fl-ticked > td.fl-col-act[b-y0hqwuh80a] { background: #f3f7ff; }
/* /Components/Pages/Pharmacist/FulfillmentInvoiceCard.razor.rz.scp.css */
.ns-invoice-line[b-1hgyxwhsi6] { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.ns-invoice-line > :first-child[b-1hgyxwhsi6] { grid-column: 1 / -1; overflow-wrap: anywhere; }
.ns-invoice-line > :nth-child(2)[b-1hgyxwhsi6] { grid-column: 1; grid-row: 2; }
.ns-invoice-line > :nth-child(3)[b-1hgyxwhsi6] { grid-column: 1; grid-row: 3; }
.ns-invoice-line > :last-child[b-1hgyxwhsi6] { grid-column: 2; grid-row: 2 / span 2; align-self: center; text-align: right; }
.ns-invoice-heading[b-1hgyxwhsi6] { display: none; }
.ns-invoice dt[b-1hgyxwhsi6] { overflow-wrap: anywhere; }
.ns-invoice-calculations[b-1hgyxwhsi6], .ns-invoice-sales[b-1hgyxwhsi6] { padding: 8px 16px; }
.ns-invoice-summary-row[b-1hgyxwhsi6] { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.ns-invoice-summary-row dt[b-1hgyxwhsi6] { margin: 0; }
.ns-invoice-total[b-1hgyxwhsi6] { margin-top: 4px; }
.ns-invoice-sales[b-1hgyxwhsi6] { display: grid; gap: 0 24px; }
@media (min-width: 576px) {
    .ns-invoice-line[b-1hgyxwhsi6], .ns-invoice-heading[b-1hgyxwhsi6] { display: grid; grid-template-columns: minmax(0, 1fr) 40px 100px 100px; gap: 8px; }
    .ns-invoice-line > :nth-child(1)[b-1hgyxwhsi6] { grid-column: 1; grid-row: 1; }
    .ns-invoice-line > :nth-child(2)[b-1hgyxwhsi6] { grid-column: 2; grid-row: 1; }
    .ns-invoice-line > :nth-child(3)[b-1hgyxwhsi6] { grid-column: 3; grid-row: 1; }
    .ns-invoice-line > :nth-child(4)[b-1hgyxwhsi6] { grid-column: 4; grid-row: 1; align-self: start; }
    .ns-invoice-line > :nth-child(n+2)[b-1hgyxwhsi6], .ns-invoice-heading > :nth-child(n+2)[b-1hgyxwhsi6] { text-align: right; }
    .ns-invoice-sales[b-1hgyxwhsi6] { grid-template-columns: 1fr 1fr; }
    .ns-mobile-label[b-1hgyxwhsi6] { display: none; }
}
/* /Components/Pages/Pharmacist/FulfillmentOwnerMenu.razor.rz.scp.css */
/* #986 owner menu (matches the mockup's picker) */
.om-scrim[b-efd4bpspi3] { position: fixed; inset: 0; z-index: 1040; background: transparent; }
.om-menu[b-efd4bpspi3] {
    position: fixed; z-index: 1041; min-width: 240px; max-width: 300px; max-height: min(420px, calc(100vh - 16px)); overflow-y: auto;
    background: #fff; border: 1px solid #dee2e6; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); padding: 4px;
    font-size: 13px; outline: none;
}
.om-search[b-efd4bpspi3] { width: calc(100% - 8px); margin: 4px; border: 1px solid #ced4da; border-radius: 6px; padding: 5px 8px; font: inherit; font-size: 12.5px; }
.om-item[b-efd4bpspi3] {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; font: inherit; font-size: 13px;
    text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 6px; cursor: pointer; color: #212529; min-height: 36px;
}
.om-item:hover:not(:disabled)[b-efd4bpspi3] { background: #f1f3f5; }
.om-item:disabled[b-efd4bpspi3] { opacity: .6; cursor: default; }
.om-item > span:first-child[b-efd4bpspi3] { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-ct[b-efd4bpspi3] { color: #6c757d; font-family: var(--bs-font-monospace); font-size: 12px; white-space: nowrap; }
.om-lbl[b-efd4bpspi3] { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: #6c757d; padding: 6px 10px 2px; }
.om-hidden[b-efd4bpspi3] { font-size: 11.5px; color: #6c757d; padding: 4px 10px; }
.om-unassign[b-efd4bpspi3] { color: #6c757d; }
.om-menu hr[b-efd4bpspi3] { border: 0; border-top: 1px solid #e9ecef; margin: 4px 0; opacity: 1; }
.om-av[b-efd4bpspi3] {
    display: inline-flex; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center;
    color: #fff; font-size: 9px; font-weight: 700;
}
.om-confirm[b-efd4bpspi3] { padding: 10px 12px; font-size: 13px; max-width: 260px; }
.om-confirm-btns[b-efd4bpspi3] { display: flex; gap: 6px; justify-content: flex-end; padding: 0 10px 10px; }
.om-error[b-efd4bpspi3] { color: #842029; background: #f8d7da; border-radius: 6px; padding: 6px 10px; margin: 4px; font-size: 12px; }
.om-empty[b-efd4bpspi3] { padding: 16px; text-align: center; }
/* /Components/Pages/Pharmacist/Index.razor.rz.scp.css */
/* Phone-only search box above the Rx list. */
.rx-search[b-j484xf3g5q] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    margin: 0 0 14px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(118, 118, 128, 0.12);
    color: rgba(60, 60, 67, 0.6);
}

.rx-search svg[b-j484xf3g5q] { flex-shrink: 0; }

.rx-search input[b-j484xf3g5q] {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--nx-text, #1a1a1a);
    font-size: 1rem; /* 16px stops iOS zooming on focus */
    text-overflow: ellipsis;
}

.rx-nomatch[b-j484xf3g5q] {
    padding: 24px 8px;
    text-align: center;
    color: rgba(60, 60, 67, 0.6);
    font-size: 0.9375rem;
}
/* /Components/Pages/Pharmacist/NowServingPriceImport.razor.rz.scp.css */
.import-backdrop[b-ag7kwqq2og] {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.import-dialog[b-ag7kwqq2og] { width: 100%; max-width: 520px; max-height: 90dvh; overflow-y: auto; }
.import-dialog .card-body[b-ag7kwqq2og] { padding: 16px; }
.import-dialog button[b-ag7kwqq2og], .import-dialog[b-ag7kwqq2og]  input { min-height: 44px; }
/* /Components/Pages/Pharmacist/OrderPrinter/BulkPrintHost.razor.rz.scp.css */
/* Off-screen but laid out, so QR codes draw and the text-fit measures real sizes. */
.nxop-bulk[b-um0adbc8di] { position: fixed; left: -10000px; top: 0; width: auto; pointer-events: none; }
/* /Components/Pages/Pharmacist/OrderPrinter/OrderPrinterModal.razor.rz.scp.css */
/* Sits above the fulfillment modal (1055) and its dispatch/void dialogs (1060). */
.nxop-backdrop[b-roan8wyqy6] {
    position: fixed;
    inset: 0;
    z-index: 1070;
    background: rgba(17, 24, 39, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.nxop-dialog[b-roan8wyqy6] {
    background: #fff;
    width: 100%;
    max-width: 1080px;
    height: min(760px, calc(100dvh - 32px));
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.nxop-head[b-roan8wyqy6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px 8px;
}

.nxop-title[b-roan8wyqy6] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
}

.nxop-app-icon[b-roan8wyqy6] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f7f4f1;
    border: 1px solid #e7e1da;
    display: grid;
    place-items: center;
    font-size: 15px;
}

.nxop-title-order[b-roan8wyqy6] {
    font: 600 13px ui-monospace, Menlo, monospace;
    color: #6b7280;
}

.nxop-close[b-roan8wyqy6] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: grid;
    place-items: center;
}

.nxop-body[b-roan8wyqy6] {
    position: relative;
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 18px;
    padding: 6px 18px;
}

.nxop-preview[b-roan8wyqy6] {
    background: #ececec;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    overflow: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
}

/* Every ticked sticker side by side: label first, then the packing slip(s) (#990). */
.nxop-pages[b-roan8wyqy6] {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
    align-items: flex-start;
}

.nxop-page[b-roan8wyqy6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nxop-page-cap[b-roan8wyqy6] {
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    text-align: center;
}

.nxop-page-cap span[b-roan8wyqy6] {
    display: block;
    font-weight: 400;
    font-size: 11.5px;
    color: #6b7280;
}

.nxop-paper[b-roan8wyqy6] {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    flex: none;
}

.nxop-empty[b-roan8wyqy6] {
    color: #6b7280;
    margin-top: 80px;
    font-size: 14px;
}

.nxop-side[b-roan8wyqy6] {
    overflow: auto;
}

.nxop-section-title[b-roan8wyqy6] {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 2px 0 8px;
}

.nxop-doc[b-roan8wyqy6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 15px;
    cursor: pointer;
}

.nxop-doc .form-check-input[b-roan8wyqy6] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.nxop-doc.is-disabled[b-roan8wyqy6] {
    color: #9ca3af;
    cursor: default;
}

.nxop-soon[b-roan8wyqy6] {
    margin-left: auto;
    font-size: 11px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 999px;
    padding: 2px 8px;
}

/* Manual label (#1000): fields for an order that isn't in Fulfillment. */
.nxop-manual-note[b-roan8wyqy6] {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #075985;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 14px;
}

.nxop-req[b-roan8wyqy6] {
    color: #b42318;
}

.nxop-seg[b-roan8wyqy6] {
    display: flex;
    gap: 3px;
    padding: 3px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.nxop-seg button[b-roan8wyqy6] {
    flex: 1;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    font-size: 13px;
    color: #374151;
}

.nxop-seg button.is-on[b-roan8wyqy6] {
    background: #fff;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
    .nxop-seg button[b-roan8wyqy6] {
        min-height: 30px;
    }
}

.nxop-locked[b-roan8wyqy6] {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
}

.nxop-locked span[b-roan8wyqy6] {
    font-weight: 400;
    color: #6b7280;
}

.nxop-options[b-roan8wyqy6] {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

.nxop-field-label[b-roan8wyqy6] {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.nxop-hint[b-roan8wyqy6] {
    font-size: 11.5px;
    color: #6b7280;
    margin-top: 5px;
}

.nxop-paper-row[b-roan8wyqy6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.nxop-paper-row .nxop-field-label[b-roan8wyqy6] {
    margin-bottom: 0;
}
.nxop-setup-btn[b-roan8wyqy6] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 999px;
    padding: 2px 9px 2px 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #374151;
}
.nxop-setup-btn.is-on[b-roan8wyqy6] {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}
.nxop-setup-i[b-roan8wyqy6] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    font: italic 700 10px/15px Georgia, serif;
    text-align: center;
}
.nxop-setup-btn.is-on .nxop-setup-i[b-roan8wyqy6] {
    background: #fff;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .nxop-setup-btn[b-roan8wyqy6] {
        min-height: 26px;
    }
}
/* Printer setup pop-up: floats over the preview's top-right, next to the options, never over them.
   The catcher behind it closes it on any outside click. */
.nxop-pop-catch[b-roan8wyqy6] {
    position: fixed;
    inset: 0;
    z-index: 4;
}
.nxop-setup-pop[b-roan8wyqy6] {
    position: absolute;
    z-index: 5;
    top: 8px;
    left: 18px;
    right: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    padding: 12px 14px;
    font-size: 12.5px;
    color: #1a1a1a;
    line-height: 1.45;
}
@media (min-width: 761px) {
    .nxop-setup-pop[b-roan8wyqy6] {
        left: auto;
        right: 316px;
        width: 340px;
    }
}
.nxop-pop-head[b-roan8wyqy6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}
.nxop-pop-close[b-roan8wyqy6] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: #6b7280;
    display: grid;
    place-items: center;
}
.nxop-pop-tabs[b-roan8wyqy6] {
    margin-bottom: 10px;
}
.nxop-pop-check[b-roan8wyqy6] {
    display: block;
    color: #6b7280;
    font-size: 11.5px;
    margin-top: 2px;
}
.nxop-pop-foot[b-roan8wyqy6] {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    font-size: 11.5px;
    color: #6b7280;
}
.nxop-setup-list[b-roan8wyqy6] {
    margin: 0;
    padding-left: 16px;
}

.nxop-setup-list li + li[b-roan8wyqy6] {
    margin-top: 7px;
}

.nxop-error[b-roan8wyqy6] {
    margin: 6px 18px 0;
    font-size: 13px;
    color: #b42318;
}

.nxop-foot[b-roan8wyqy6] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 18px 16px;
}

.nxop-btn[b-roan8wyqy6] {
    border-radius: 999px;
    padding: 8px 20px;
    font-weight: 600;
}

@media (max-width: 760px) {
    .nxop-dialog[b-roan8wyqy6] {
        height: auto;
        max-height: calc(100dvh - 32px);
    }

    .nxop-body[b-roan8wyqy6] {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .nxop-preview[b-roan8wyqy6] {
        padding: 12px;
    }
}
/* /Components/Pages/Pharmacist/PharmacistLayout.razor.rz.scp.css */
/* Phone large title (opt-in via PhoneLargeTitle). The badge row is d-flex, which
   Bootstrap marks !important, so hiding it needs the same. */
@media (max-width: 767.98px) {
    .pl--phone-title .pl-badge[b-d5e6goijz1],
    .pl--phone-title .pl-title .badge[b-d5e6goijz1] { display: none !important; }

    .pl--phone-title .pl-title[b-d5e6goijz1] {
        margin-top: 0.25rem;
        font-size: 2rem;
        font-weight: 700 !important;
        letter-spacing: -0.02em;
    }
}
/* /Components/Pages/Pharmacist/ShopifyInvoiceUpdate.razor.rz.scp.css */
.update-backdrop[b-rblh6vrrnk] { position: fixed; inset: 0; z-index: 1060; background: rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; padding: 12px; }
.update-dialog[b-rblh6vrrnk] { width: 100%; max-width: 520px; max-height: 90dvh; overflow-y: auto; }
.update-dialog .card-body[b-rblh6vrrnk] { padding: 16px; }
.update-dialog button[b-rblh6vrrnk] { min-height: 44px; }
/* /Components/Pages/Shared/Consultations/RescheduleDrawer.razor.rz.scp.css */
/* The panel's insides. The frame — .hd-drawer-scrim and .hd-drawer — is the shared one in
   hellodoc-scheduling.css, the same right-hand drawer Edit Booking uses, so its width, its phone
   breakpoint, its scrim and its shadow are already solved and already dark-mode aware.

   The interior is the PM's design: icon badge on the status banner, the facts card, section
   eyebrows, fields with trailing icons, the doctor picker nested inside the selected choice card,
   and Copy booking ID as a quiet link in the footer. */

.rx__body[b-0oejv4q8uc],
.rx__head[b-0oejv4q8uc],
.rx__foot[b-0oejv4q8uc] { flex-shrink: 0; }

.rx__head[b-0oejv4q8uc] {
    padding: 18px 20px;
    border-bottom: 1px solid var(--smd-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}

.rx-title[b-0oejv4q8uc] { color: var(--smd-fg-primary); }

.rx__body[b-0oejv4q8uc] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rx__foot[b-0oejv4q8uc] {
    padding: 12px 20px;
    border-top: 1px solid var(--smd-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}

.rx__actions[b-0oejv4q8uc] { display: flex; gap: 10px; margin-left: auto; }

/* Copy booking ID, Cancel and the primary action do not fit one 460px line. The link wraps to its
   own row rather than the two actions being squeezed — they are what the drawer is for. */
.rx__foot[b-0oejv4q8uc] { flex-wrap: wrap; }

.rx-loading[b-0oejv4q8uc] { color: var(--smd-fg-tertiary); padding: 28px 0; text-align: center; }

/* ─── Banners ─── */

.rx-banner[b-0oejv4q8uc] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
}

.rx-banner--info[b-0oejv4q8uc]   { background: var(--smd-info-bg); }
.rx-banner--warn[b-0oejv4q8uc]   { background: var(--smd-danger-bg); }
.rx-banner--danger[b-0oejv4q8uc] { background: var(--smd-danger-bg); color: var(--smd-danger-fg); }

.rx-banner__icon[b-0oejv4q8uc] { font-size: 18px; flex-shrink: 0; }

/* The circular badge is what stops the banner reading as another grey field. */
.rx-banner__badge[b-0oejv4q8uc] {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--smd-surface);
    color: var(--smd-info-fg);
}

.rx-banner__badge--warn[b-0oejv4q8uc] { color: var(--smd-danger-fg); }
.rx-banner__badge .material-symbols-rounded[b-0oejv4q8uc] { font-size: 22px; }

.rx-banner__name[b-0oejv4q8uc] { color: var(--smd-info-fg); }
.rx-banner__sub[b-0oejv4q8uc]  { color: var(--smd-fg-tertiary); display: block; margin-top: 2px; }
.rx-banner--warn .smd-label-semibold-m[b-0oejv4q8uc] { color: var(--smd-danger-fg); line-height: 1.35; }

/* ─── Patient facts ─── */

.rx-facts[b-0oejv4q8uc] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 12px;
    background: var(--smd-surface-sunken);
}

.rx-facts__row[b-0oejv4q8uc] {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: baseline;
}

.rx-facts__key[b-0oejv4q8uc] {
    font: 500 11px/1.4 Inter, sans-serif;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--smd-fg-tertiary);
}

.rx-facts__val[b-0oejv4q8uc] { color: var(--smd-fg-primary); }

/* ─── Sections and fields ─── */

.rx-section[b-0oejv4q8uc] { display: flex; flex-direction: column; gap: 12px; }

.rx-section__title[b-0oejv4q8uc] {
    font: 600 12px/1.4 Inter, sans-serif;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--smd-fg-tertiary);
}

.rx-grid[b-0oejv4q8uc] { display: grid; grid-template-columns: .8fr 1fr; gap: 12px; }

.rx-field__label[b-0oejv4q8uc] { color: var(--smd-fg-secondary); display: block; margin-bottom: 7px; }

.rx-field[b-0oejv4q8uc] {
    position: relative;
    display: flex;
    align-items: center;
    height: 46px;
    border-radius: 10px;
    padding: 0 14px;
    background: var(--smd-surface-sunken);
    border: 1px solid var(--smd-border-subtle);
}

/* Inside a choice card, which already carries a tint — a second fill muddies it. */
.rx-field--plain[b-0oejv4q8uc] { background: var(--smd-surface); }

.rx-field__input[b-0oejv4q8uc] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--smd-fg-primary);
    appearance: none;
}

/* Sits over the select's own (removed) arrow; the native date input keeps its own picker icon. */
.rx-field__icon[b-0oejv4q8uc] {
    position: absolute;
    right: 14px;
    font-size: 20px;
    color: var(--smd-fg-tertiary);
    pointer-events: none;
}

.rx-field select.rx-field__input[b-0oejv4q8uc] { padding-right: 24px; }

/* ─── Choice cards ─── */

.rx-choice[b-0oejv4q8uc] {
    border: 1px solid var(--smd-border-subtle);
    border-radius: 12px;
    padding: 14px 16px;
}

/* Blended rather than --smd-primary-soft: that is a raw value token (teal-20), so it would stay a
   pale mint card on a dark surface. Mixing against transparent keeps the tint in both themes. */
.rx-choice--on[b-0oejv4q8uc] {
    border-color: var(--smd-primary);
    background: color-mix(in srgb, var(--smd-primary) 7%, transparent);
}

.rx-choice__head[b-0oejv4q8uc] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.rx-choice__head input[b-0oejv4q8uc] { margin-top: 3px; flex-shrink: 0; }
.rx-choice__title[b-0oejv4q8uc] { display: block; color: var(--smd-fg-primary); }
.rx-choice__sub[b-0oejv4q8uc]   { display: block; color: var(--smd-fg-tertiary); margin-top: 2px; }

.rx-choice__body[b-0oejv4q8uc] { margin: 14px 0 0 30px; }

.rx-recheck[b-0oejv4q8uc] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* ─── Notes ─── */

.rx-note[b-0oejv4q8uc] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 7px;
    font: 400 12px/1.45 Inter, sans-serif;
    color: var(--smd-fg-tertiary);
}

.rx-note--warn[b-0oejv4q8uc] { color: var(--smd-danger-fg); }
.rx-note__icon[b-0oejv4q8uc] { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* ─── Copy booking id ─── */

.rx-copy[b-0oejv4q8uc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--smd-info-fg);
}

.rx-copy:hover[b-0oejv4q8uc] { text-decoration: underline; }

/* ─── Phone ─── */
/* .hd-drawer already goes full-bleed under 560px (hellodoc-scheduling.css). Only the insides
   need to give way here. */

@media (max-width: 560px) {
    .rx__head[b-0oejv4q8uc], .rx__body[b-0oejv4q8uc], .rx__foot[b-0oejv4q8uc] { padding-left: 16px; padding-right: 16px; }
    .rx-grid[b-0oejv4q8uc] { grid-template-columns: 1fr; }
    .rx-facts__row[b-0oejv4q8uc] { grid-template-columns: 70px 1fr; }
}
/* /Components/Shared/ConsultParameterPanel.razor.rz.scp.css */
/* ConsultParameterPanel.razor.css */

.nx-parameter-panel[b-p5xr3r5muj] {
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
}

.nx-parameter-panel__header[b-p5xr3r5muj] {
    min-height: 44px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fafafa;
    border-bottom: 1px solid #e9ecef;
}

.nx-parameter-panel__title[b-p5xr3r5muj] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a1a;
}

.nx-parameter-panel__status[b-p5xr3r5muj] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
}

.nx-parameter-panel__saved[b-p5xr3r5muj] {
    color: #198754;
    font-weight: 600;
}

.nx-parameter-panel__error[b-p5xr3r5muj] {
    color: #dc3545;
    font-weight: 600;
}

.nx-parameter-panel__body[b-p5xr3r5muj] {
    padding: 1rem;
}

.nx-parameter-grid[b-p5xr3r5muj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.nx-parameter-item[b-p5xr3r5muj] {
    padding: 0.75rem;
    border-radius: 8px;
    background: #fdfdfd;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nx-parameter-item__label[b-p5xr3r5muj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #212529;
}

.nx-parameter-item__unit[b-p5xr3r5muj] {
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 500;
}

.nx-parameter-item__prev[b-p5xr3r5muj] {
    font-size: 0.72rem;
    color: #6c757d;
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nx-parameter-panel--locked[b-p5xr3r5muj] {
    background: #fcfcfc;
}

.nx-parameter-panel--locked .nx-parameter-panel__header[b-p5xr3r5muj] {
    background: #f1f3f5;
}
/* /Components/Shared/PatientHistoryPanel.razor.rz.scp.css */
/* Phone layout for Patient Clinical History. Only rendered < 768px (d-md-none);
   the desktop Bootstrap card is untouched. Compact system: 12px cards, 8px controls. */

.phx[b-v1wdga5hek] { color: #1F2A44; }

.phx-card[b-v1wdga5hek] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(60, 40, 20, .05), 0 3px 10px rgba(60, 40, 20, .035);
    margin-bottom: 8px;
    overflow: hidden;
}

.phx-hd[b-v1wdga5hek] { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-bottom: 1px solid #F0ECE7; }
.phx-hd > .bi[b-v1wdga5hek] { font-size: 15px; color: #9A8F82; }
.phx-t[b-v1wdga5hek] { flex: 1; font-size: 13.5px; font-weight: 650; }
.phx-meta[b-v1wdga5hek] { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 8px 12px; font-size: 12px; color: #8A94A6; }

.phx-chip[b-v1wdga5hek] {
    display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px;
    border-radius: 5px; font-size: 11px; font-weight: 650; white-space: nowrap; flex-shrink: 0;
    background: #F1EEEA; color: #6E6458;
}
.phx-chip .bi[b-v1wdga5hek] { font-size: 10px; }
.phx-chip.green[b-v1wdga5hek] { background: #E3F2E9; color: #2E7A4E; }
.phx-chip.amber[b-v1wdga5hek] { background: #FBEFD9; color: #8F5D10; }
.phx-chip.blue[b-v1wdga5hek] { background: #E8F1FA; color: #2C6FA6; }
.phx-mono[b-v1wdga5hek] { font-family: ui-monospace, Menlo, monospace; font-weight: 600; }

/* Filters: one row, scrolls sideways */
.phx-seg[b-v1wdga5hek] { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 8px; }
.phx-seg[b-v1wdga5hek]::-webkit-scrollbar { display: none; }
.phx-sg[b-v1wdga5hek] {
    flex-shrink: 0; height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 11px;
    border-radius: 8px; background: #fff; border: 1px solid #E6E0D8; font-size: 13px; font-weight: 600; color: #4A5568;
}
.phx-sg i[b-v1wdga5hek] { font-style: normal; font-size: 11.5px; color: #9A8F82; font-weight: 650; }
.phx-sg.on[b-v1wdga5hek] { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.phx-sg.on i[b-v1wdga5hek] { color: #bbb; }

.phx-mo[b-v1wdga5hek] { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9A8F82; margin: 12px 4px 6px; }

/* Rows: whole row is the tap target */
.phx-row[b-v1wdga5hek] {
    display: flex; gap: 10px; width: 100%; padding: 10px 12px; min-height: 56px; align-items: flex-start;
    background: transparent; border: 0; text-align: left; color: inherit; font: inherit;
}
.phx-row:disabled[b-v1wdga5hek] { opacity: 1; cursor: default; }
.phx-row + .phx-row[b-v1wdga5hek], .phx-row + .phx-ex[b-v1wdga5hek], .phx-ex + .phx-row[b-v1wdga5hek] { border-top: 1px solid #F3F0EC; }
.phx-row.open[b-v1wdga5hek] { background: #FBFAF8; }
.phx-row.open .phx-chev[b-v1wdga5hek] { transform: rotate(180deg); }

.phx-ic[b-v1wdga5hek] { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; font-size: 15px; }
.phx-ic.c[b-v1wdga5hek] { background: #F1EEEA; color: #6E6458; }
.phx-ic.n[b-v1wdga5hek] { background: #E8F1FA; color: #2C6FA6; }
.phx-ic.r[b-v1wdga5hek] { background: #E3F2E9; color: #2E7A4E; }

.phx-rt[b-v1wdga5hek] { flex: 1; min-width: 0; display: block; }
.phx-l1[b-v1wdga5hek] { display: flex; align-items: center; gap: 6px; }
.phx-l1 b[b-v1wdga5hek] { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phx-l2[b-v1wdga5hek] {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 12.5px; color: #3B475C; margin-top: 2px; line-height: 1.35;
}
.phx-l3[b-v1wdga5hek] { display: block; font-size: 11.5px; color: #8A94A6; margin-top: 3px; }
.phx-chev[b-v1wdga5hek] { font-size: 13px; color: #C2BBB2; flex-shrink: 0; margin-top: 8px; transition: transform .15s; }

/* Expanded detail */
.phx-ex[b-v1wdga5hek] { background: #FBFAF8; padding: 2px 12px 12px 52px; font-size: 13px; line-height: 1.45; color: #3B475C; overflow-wrap: anywhere; }
.phx-cc b[b-v1wdga5hek], .phx-rem b[b-v1wdga5hek], .phx-sig b[b-v1wdga5hek] { display: block; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: #9A8F82; margin-bottom: 2px; }
.phx-cc[b-v1wdga5hek] { margin-bottom: 8px; }
.phx-note[b-v1wdga5hek]  p { margin: 0 0 6px; }
.phx-note[b-v1wdga5hek]  ul, .phx-note[b-v1wdga5hek]  ol { padding-left: 18px; margin: 0 0 6px; }
.phx-note[b-v1wdga5hek]  h1, .phx-note[b-v1wdga5hek]  h2, .phx-note[b-v1wdga5hek]  h3, .phx-note[b-v1wdga5hek]  h4 { font-size: 13px; font-weight: 700; margin: 8px 0 2px; }

.phx-med[b-v1wdga5hek] { background: #fff; border: 1px solid #ECE7E0; border-radius: 8px; padding: 9px 10px; margin-top: 6px; }
.phx-mt[b-v1wdga5hek] { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 650; color: #1F2A44; }
.phx-mt em[b-v1wdga5hek] { font-style: normal; font-size: 12px; font-weight: 650; color: #6E6458; white-space: nowrap; }
.phx-sig[b-v1wdga5hek] { font-size: 12.5px; margin-top: 3px; }
.phx-sig b[b-v1wdga5hek] { display: inline; margin: 0 4px 0 0; }
.phx-rem[b-v1wdga5hek] { margin-top: 8px; padding: 8px 10px; background: #F6F3EF; border-radius: 8px; }

.phx-lnk[b-v1wdga5hek] { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; min-height: 32px; font-size: 12.5px; font-weight: 650; color: #2C6FA6; text-decoration: none; }

.phx-empty[b-v1wdga5hek] { text-align: center; padding: 26px 18px; color: #6B7280; font-size: 13px; line-height: 1.45; }
.phx-empty > .bi[b-v1wdga5hek] { display: block; font-size: 24px; color: #C2BBB2; margin-bottom: 8px; }

.phx-more[b-v1wdga5hek] {
    display: block; width: 100%; height: 40px; margin-top: 4px; border-radius: 8px; background: #fff;
    border: 1px solid #E6E0D8; font-size: 13px; font-weight: 600; color: #4A5568;
}
/* /Components/Shared/PatientTrackerSummary.razor.rz.scp.css */
/* PatientTrackerSummary.razor.css */

.tracker-summary-card[b-gsukv7aoz8] {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.tracker-summary-header[b-gsukv7aoz8] {
    padding: 0.75rem 1.25rem;
    background: #fbfbfb;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.field-chip-list[b-gsukv7aoz8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f3f5;
}

.field-chip[b-gsukv7aoz8] {
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    background: #ffffff;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.field-chip:hover[b-gsukv7aoz8] {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.field-chip.active[b-gsukv7aoz8] {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.tracker-stats-grid[b-gsukv7aoz8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fdfdfd;
    border-bottom: 1px solid #f1f3f5;
}

.stat-box[b-gsukv7aoz8] {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e9ecef;
}

.stat-box-title[b-gsukv7aoz8] {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.stat-box-value[b-gsukv7aoz8] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    font-family: monospace;
}

.reading-timeline-table td[b-gsukv7aoz8] {
    padding: 0.55rem 0.75rem;
    font-size: 0.8125rem;
    vertical-align: middle;
}

.reading-timeline-table th[b-gsukv7aoz8] {
    padding: 0.55rem 0.75rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #6c757d;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}
/* /Components/Shared/PrescriptionPanel.razor.rz.scp.css */
.rx-body[b-g2dx0fthsc] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rx-section-label[b-g2dx0fthsc] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nx-secondary);
    margin-bottom: 0.25rem;
}

.rx-line[b-g2dx0fthsc] {
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: white;
    transition: border-color 0.15s;
}

.rx-line:hover[b-g2dx0fthsc] {
    border-color: var(--nx-primary);
}

.rx-line-top[b-g2dx0fthsc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rx-line-title[b-g2dx0fthsc] {
    flex: 1;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--nx-text);
    min-width: 0;
}

.rx-line-variant[b-g2dx0fthsc] {
    font-size: 0.75rem;
    color: var(--nx-secondary);
    font-weight: 400;
}

.rx-line-bottom[b-g2dx0fthsc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rx-line-readonly-meta[b-g2dx0fthsc] {
    font-size: 0.8rem;
    color: var(--nx-secondary);
    line-height: 1.4;
}

.rx-readonly-block[b-g2dx0fthsc] {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--nx-border);
    background: var(--nx-bg-light);
    color: var(--nx-text);
    font-size: 0.85rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.rx-readonly-empty[b-g2dx0fthsc] {
    color: var(--nx-secondary);
    font-style: italic;
}

.rx-qty-pill[b-g2dx0fthsc] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    background: var(--nx-primary-light);
    color: var(--nx-primary);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.rx-qty-wrap[b-g2dx0fthsc] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.rx-qty-wrap label[b-g2dx0fthsc] {
    font-size: 0.75rem;
    color: var(--nx-secondary);
    white-space: nowrap;
}

.rx-qty-input[b-g2dx0fthsc] {
    width: 68px;
    text-align: center;
    border: 1px solid var(--nx-border);
    border-radius: 6px;
    padding: 0.25rem 0.4rem;
    font-size: 0.85rem;
}

.rx-freq-input[b-g2dx0fthsc] {
    flex: 1;
    min-width: 200px;
    border: 1px solid var(--nx-border);
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    line-height: 1.4;
    min-height: 44px;
    resize: vertical;
}

.rx-freq-input[b-g2dx0fthsc]::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.rx-freq-wrap[b-g2dx0fthsc] {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rx-template-select[b-g2dx0fthsc] {
    border: 1px solid var(--nx-border);
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    font-size: 0.78rem;
    color: var(--nx-secondary);
    background: #fff;
}

.rx-template-suggest-btn[b-g2dx0fthsc] {
    border: 1px dashed #86efac;
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    text-align: left;
    font-size: 0.75rem;
    color: #166534;
    background: #f0fdf4;
    cursor: pointer;
}

.rx-template-suggest-btn:hover[b-g2dx0fthsc] {
    background: #dcfce7;
}

.rx-delete-btn[b-g2dx0fthsc] {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #fca5a5;
    background: #fff5f5;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.rx-delete-btn:hover[b-g2dx0fthsc] {
    background: #fee2e2;
    border-color: #ef4444;
}

.rx-delete-btn-disabled[b-g2dx0fthsc],
.rx-delete-btn:disabled[b-g2dx0fthsc] {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #e5e7eb;
    background: #f3f4f6;
    color: #9ca3af;
}

.rx-delete-btn:disabled:hover[b-g2dx0fthsc] {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.rx-qty-floor-hint[b-g2dx0fthsc] {
    font-size: 0.72rem;
    font-weight: 500;
    color: #b45309;
    white-space: nowrap;
}

/* Generic name / brand / strength / form / qty. One row on a desktop console, collapsing to
       two columns on the narrow panel the doctor gets inside the consult room. */
.rx-drug-grid[b-g2dx0fthsc] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    align-items: end;
}

@media (max-width: 720px) {
    .rx-drug-grid[b-g2dx0fthsc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rx-drug-field[b-g2dx0fthsc] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.25rem;
    min-width: 0;
    position: relative;
}

/* Anchored to the field, not laid out in-flow, so it overlaps what's below (Frequency)
       rather than stretching every cell in the drug grid's row to match its height. */
.rx-drug-suggestions[b-g2dx0fthsc] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* The name columns are a fifth of the row since Qty joined it, which is narrower than
           "Amoxicillin — Amoxil 500mg Capsule" needs. The list is allowed to outgrow its column. */
    min-width: 220px;
    z-index: 20;
    margin-top: 0.15rem;
    background: white;
    border: 1px solid var(--nx-border);
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    max-height: 220px;
    overflow-y: auto;
}

/* One line, not a stacked card: flex row, everything truncates with an ellipsis rather than
       wrapping. A dropdown of two-line rows outgrows the panel after 3-4 results; one line keeps
       8 results scannable without the list itself needing to scroll on an ordinary screen. */
.rx-drug-suggestion[b-g2dx0fthsc] {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    width: 100%;
    text-align: left;
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 1px solid var(--nx-bg-light);
    overflow: hidden;
    white-space: nowrap;
}

.rx-drug-suggestion:last-child[b-g2dx0fthsc] {
    border-bottom: none;
}

.rx-drug-suggestion:hover[b-g2dx0fthsc],
.rx-drug-suggestion:focus-visible[b-g2dx0fthsc] {
    background: var(--nx-bg-light);
}

.rx-drug-suggestion-generic[b-g2dx0fthsc] {
    font-weight: 600;
    color: #1a1a1a;
    flex-shrink: 0;
}

.rx-drug-suggestion-brand[b-g2dx0fthsc] {
    color: var(--nx-secondary);
    flex-shrink: 0;
}

.rx-drug-suggestion-form[b-g2dx0fthsc] {
    font-size: 0.68rem;
    color: var(--nx-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.rx-drug-suggestion-form[b-g2dx0fthsc]::before {
    content: "· ";
}

.rx-drug-field label[b-g2dx0fthsc] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--nx-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.2;
}

.rx-drug-input[b-g2dx0fthsc] {
    border: 1px solid var(--nx-border);
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    min-width: 0;
    height: 32px;
    box-sizing: border-box;
    width: 100%;
}

.rx-drug-input:disabled[b-g2dx0fthsc] {
    background: var(--nx-bg-light);
    color: var(--nx-secondary);
    cursor: not-allowed;
}

.rx-frozen-note[b-g2dx0fthsc] {
    font-size: 0.7rem;
    color: var(--nx-secondary);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.rx-add-btn[b-g2dx0fthsc] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    min-height: 38px;
    border: 1.5px dashed var(--nx-primary);
    border-radius: 8px;
    background: transparent;
    color: var(--nx-primary);
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.rx-add-btn:hover[b-g2dx0fthsc] {
    background: var(--nx-primary-light, #f0fdf4);
}

.rx-add-custom-btn[b-g2dx0fthsc] {
    border-color: #d97706;
    color: #b45309;
}

.rx-add-custom-btn:hover[b-g2dx0fthsc] {
    background: #fffbeb;
}

.rx-empty[b-g2dx0fthsc] {
    text-align: center;
    padding: 1.5rem;
    color: var(--nx-secondary);
    font-size: 0.875rem;
    background: var(--nx-bg-light);
    border-radius: 8px;
    border: 1px dashed var(--nx-border);
}

.rx-err-bar[b-g2dx0fthsc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #b91c1c;
}

.rx-err-bar span[b-g2dx0fthsc] {
    flex: 1;
}

.rx-err-dismiss[b-g2dx0fthsc] {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 0.85rem;
    color: #b91c1c;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rx-err-dismiss:hover[b-g2dx0fthsc] {
    color: #7f1d1d;
}

.rx-confirm-overlay[b-g2dx0fthsc] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.rx-confirm-dialog[b-g2dx0fthsc] {
    background: white;
    border-radius: 12px;
    padding: 1.75rem 2rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.rx-confirm-dialog h4[b-g2dx0fthsc] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.rx-confirm-dialog p[b-g2dx0fthsc] {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.rx-footer[b-g2dx0fthsc] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--nx-border);
}

.rx-suggested-section[b-g2dx0fthsc] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
}

.rx-chip-bar[b-g2dx0fthsc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.rx-chip[b-g2dx0fthsc] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    transition: all 0.15s ease-in-out;
    user-select: none;
}

.rx-chip:hover:not(.rx-chip-added)[b-g2dx0fthsc] {
    border-color: var(--nx-primary);
    background: var(--nx-primary-light, #f0fdf4);
    color: var(--nx-primary);
}

.rx-chip-picked[b-g2dx0fthsc] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.rx-chip-picked:hover:not(.rx-chip-added)[b-g2dx0fthsc] {
    background: #dcfce7;
    border-color: #86efac;
    color: #15803d;
}

.rx-chip-added[b-g2dx0fthsc] {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.75;
}

/* SC/PWD Discount Section Styles */
.rx-sc-card[b-g2dx0fthsc] {
    border: 1.5px solid var(--nx-border);
    border-radius: 10px;
    background: white;
    padding: 0.65rem 0.85rem;
    transition: all 0.2s ease-in-out;
}

.rx-sc-card-undecided[b-g2dx0fthsc] {
    border-color: #f59e0b;
    background: #fffdfa;
}

.rx-sc-card-applied[b-g2dx0fthsc] {
    border-color: #10b981;
    background: #f0fdf4;
}

.rx-sc-card-declined[b-g2dx0fthsc] {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* Deliberately quiet: the modal already owns the one prominent close button, so this reads
       as a dismiss for the card only and stays out of the way until hovered. */
.rx-sc-close-btn[b-g2dx0fthsc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #a8a29e;
    opacity: 0.65;
    cursor: pointer;
    transition: color 0.15s ease-in-out, opacity 0.15s ease-in-out, background 0.15s ease-in-out;
}

.rx-sc-close-btn:hover[b-g2dx0fthsc],
.rx-sc-close-btn:focus-visible[b-g2dx0fthsc] {
    color: #57534e;
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
}

.rx-code-card[b-g2dx0fthsc] {
    border: 1px solid var(--nx-border);
    border-radius: 10px;
    background: white;
    padding: 0.85rem 1rem;
}

.rx-code-input[b-g2dx0fthsc] {
    max-width: 240px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.rx-code-pill[b-g2dx0fthsc] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.rx-code-pill-ok[b-g2dx0fthsc] {
    background: #dcfce7;
    color: #15803d;
}

.rx-code-pill-bad[b-g2dx0fthsc] {
    background: #fee2e2;
    color: #b91c1c;
}

.rx-code-hint[b-g2dx0fthsc] {
    margin-top: 0.45rem;
    font-size: 0.7rem;
    color: #64748b;
}

.rx-sc-close-confirm[b-g2dx0fthsc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.78rem;
    font-weight: 600;
}

.rx-sc-badge[b-g2dx0fthsc] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.rx-sc-badge-undecided[b-g2dx0fthsc] {
    background: #fef3c7;
    color: #92400e;
}

.rx-sc-badge-applied[b-g2dx0fthsc] {
    background: #dcfce7;
    color: #15803d;
}

.rx-sc-badge-declined[b-g2dx0fthsc] {
    background: #f1f5f9;
    color: #475569;
}

.rx-sc-verify-grid[b-g2dx0fthsc] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    background: white;
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-top: 0.4rem;
}

@media (max-width: 600px) {
    .rx-sc-verify-grid[b-g2dx0fthsc] {
        grid-template-columns: 1fr;
    }
}

.rx-sc-match-pill[b-g2dx0fthsc] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}

.rx-sc-match-ok[b-g2dx0fthsc] {
    background: #dcfce7;
    color: #166534;
}

.rx-sc-match-warn[b-g2dx0fthsc] {
    background: #fef3c7;
    color: #b45309;
}

.rx-sc-table-wrap[b-g2dx0fthsc] {
    margin-top: 0.45rem;
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: white;
}

.rx-sc-table[b-g2dx0fthsc] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.rx-sc-table th[b-g2dx0fthsc] {
    background: #f8fafc;
    color: var(--nx-secondary);
    font-weight: 600;
    padding: 0.35rem 0.55rem;
    border-bottom: 1px solid var(--nx-border);
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rx-sc-table td[b-g2dx0fthsc] {
    padding: 0.35rem 0.55rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.rx-sc-table tr:last-child td[b-g2dx0fthsc] {
    border-bottom: none;
}

.rx-sc-vat-taxable[b-g2dx0fthsc] {
    color: #15803d;
    font-weight: 600;
}

.rx-sc-vat-exempt[b-g2dx0fthsc] {
    color: #64748b;
}

.rx-sc-summary-box[b-g2dx0fthsc] {
    margin-top: 0.45rem;
    background: white;
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rx-sc-summary-row[b-g2dx0fthsc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.825rem;
    color: #475569;
}

.rx-sc-summary-total[b-g2dx0fthsc] {
    font-size: 0.925rem;
    font-weight: 700;
    color: #1a1a1a;
    padding-top: 0.3rem;
    border-top: 1px dashed var(--nx-border);
    margin-top: 0.15rem;
}

.rx-sc-actions[b-g2dx0fthsc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.rx-sc-gate-warning[b-g2dx0fthsc] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.rx-sealed-banner[b-g2dx0fthsc] {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

.rx-purchase-sealed-banner[b-g2dx0fthsc] {
    background: #fffdf5;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

.rx-grace-banner[b-g2dx0fthsc] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

/* Accessibility & Tap Targets on Mobile */
@media (max-width: 768px) {
    .rx-qty-input[b-g2dx0fthsc],
    .rx-drug-input[b-g2dx0fthsc],
    .rx-add-btn[b-g2dx0fthsc] {
        min-height: 44px;
    }

    .rx-delete-btn[b-g2dx0fthsc] {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    /* Sticky action bar so Confirm & Cancel buttons stay visible as the modal body scrolls */
    .rx-footer[b-g2dx0fthsc] {
        position: sticky;
        bottom: 0;
        z-index: 10;
        background: var(--smd-surface, #ffffff);
        padding: 0.65rem 0 calc(0.65rem + env(safe-area-inset-bottom, 0px));
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }

    .rx-footer .btn[b-g2dx0fthsc],
    .rx-confirm-dialog .btn[b-g2dx0fthsc] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .rx-chip[b-g2dx0fthsc],
    .rx-template-suggest-btn[b-g2dx0fthsc],
    .rx-drug-suggestion[b-g2dx0fthsc] {
        min-height: 44px;
    }

    .rx-sc-actions .btn[b-g2dx0fthsc],
    .rx-code-card .btn[b-g2dx0fthsc] {
        min-height: 44px;
    }

    .rx-sc-close-btn[b-g2dx0fthsc] {
        width: 44px;
        height: 44px;
    }

    /* Font size 16px on mobile inputs prevents iOS Safari auto-zoom when keyboard opens */
    .rx-qty-input[b-g2dx0fthsc],
    .rx-drug-input[b-g2dx0fthsc],
    .rx-freq-input[b-g2dx0fthsc],
    .rx-code-input[b-g2dx0fthsc],
    .rx-body .form-control[b-g2dx0fthsc],
    .rx-body .form-select[b-g2dx0fthsc] {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .rx-freq-input[b-g2dx0fthsc],
    .rx-freq-wrap[b-g2dx0fthsc] {
        min-width: 0;
        width: 100%;
    }

    .rx-confirm-dialog[b-g2dx0fthsc] {
        padding: 1.25rem 1rem;
    }
}
/* /Components/Shared/RxCaseRow.razor.rz.scp.css */
/* Phone card (< 768px) — only rendered when the page sets PhoneHref. */
@media (max-width: 767.98px) {
    .rx-row--phone[b-dl2z2906m3] { background: #fff; } /* the portal's list rows are see-through */
}

.rx-m__body[b-dl2z2906m3] {
    display: flex;
    gap: 12px;
    color: var(--nx-text, #1a1a1a);
    text-decoration: none;
}

.rx-m__dot[b-dl2z2906m3] {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 9px;
    border-radius: 50%;
}

.rx-m__main[b-dl2z2906m3] {
    flex: 1;
    min-width: 0; /* else a long medicines line widens the card past the screen */
    display: flex;
    flex-direction: column;
}

.rx-m__top[b-dl2z2906m3] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rx-m__title[b-dl2z2906m3] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.rx-m__status[b-dl2z2906m3] {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
}

.rx-m__line[b-dl2z2906m3] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 1px;
    color: rgba(60, 60, 67, 0.6);
    font-size: 0.875rem;
}

.rx-m__line--sub[b-dl2z2906m3] { margin-top: 3px; }

.rx-m__note[b-dl2z2906m3] {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #f2f2f7;
    color: rgba(60, 60, 67, 0.6);
    font-size: 0.875rem;
    line-height: 1.4;
}

.rx-m__quote[b-dl2z2906m3] {
    flex-shrink: 0;
    margin-top: 1px;
    color: rgba(60, 60, 67, 0.3);
    font-family: Georgia, serif;
    font-size: 1.5rem;
    line-height: 1;
}

.rx-m__note-text[b-dl2z2906m3] {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

/* Buttons line up under the text, not under the dot. */
.rx-m__actions[b-dl2z2906m3] {
    display: flex;
    gap: 8px;
    margin: 12px 0 0 20px;
}

.rx-m__btn[b-dl2z2906m3] {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border: 1px solid rgba(60, 60, 67, 0.18);
    border-radius: 999px;
    background: transparent;
    color: rgba(60, 60, 67, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

/* Quiet on purpose: a black button on every card shouted (PM, 2026-10-28). */
.rx-m__btn--primary[b-dl2z2906m3] {
    border-color: transparent;
    background: rgba(118, 118, 128, 0.12);
    color: var(--nx-text, #1a1a1a);
    font-weight: 600;
}

/* Tones: shared by the dot and the pill. */
.rx-m__dot.is-new[b-dl2z2906m3] { background: #007aff; }
.rx-m__dot.is-review[b-dl2z2906m3] { background: #e5e5ea; }
.rx-m__dot.is-info[b-dl2z2906m3] { background: #ff9500; }
.rx-m__dot.is-good[b-dl2z2906m3] { background: #34c759; }
.rx-m__dot.is-bad[b-dl2z2906m3] { background: #ff3b30; }
.rx-m__dot.is-muted[b-dl2z2906m3] { background: #c7c7cc; }

.rx-m__status.is-new[b-dl2z2906m3] { background: #e6f0ff; color: #007aff; }
.rx-m__status.is-review[b-dl2z2906m3] { background: #ececf0; color: #636366; }
.rx-m__status.is-info[b-dl2z2906m3] { background: #fff2e0; color: #c26a00; }
.rx-m__status.is-good[b-dl2z2906m3] { background: #e3f7e8; color: #248a3d; }
.rx-m__status.is-bad[b-dl2z2906m3] { background: #ffe9e7; color: #d70015; }
.rx-m__status.is-muted[b-dl2z2906m3] { background: #ececf0; color: #8e8e93; }
/* /Components/Shared/RxCloseSheet.razor.rz.scp.css */
.rx-scrim[b-rqrclcwl43] {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(0, 0, 0, 0.25);
}

.rx-sheet[b-rqrclcwl43] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1061;
    max-height: 92dvh;
    overflow-y: auto;
    padding: 0 16px calc(24px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
    background: #f2f2f7;
}

.rx-sheet__nav[b-rqrclcwl43] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 14px 0 8px;
}

.rx-sheet__cancel[b-rqrclcwl43],
.rx-sheet__confirm[b-rqrclcwl43] {
    border: 0;
    background: none;
    padding: 6px 0;
    font-size: 1.0625rem;
}

.rx-sheet__cancel[b-rqrclcwl43] { justify-self: start; color: var(--nx-text, #1a1a1a); }
.rx-sheet__confirm[b-rqrclcwl43] { justify-self: end; color: #ff3b30; font-weight: 600; }
.rx-sheet__confirm:disabled[b-rqrclcwl43] { color: rgba(60, 60, 67, 0.3); }
.rx-sheet__title[b-rqrclcwl43] { font-size: 1.0625rem; font-weight: 600; }

.rx-sheet__label[b-rqrclcwl43] {
    margin: 14px 16px 6px;
    color: rgba(60, 60, 67, 0.6);
    font-size: 0.8125rem;
    text-transform: uppercase;
}

.rx-sheet__group[b-rqrclcwl43] {
    overflow: hidden;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #fff;
}

.rx-sheet__opt[b-rqrclcwl43] {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 11px 16px;
    border: 0;
    background: #fff;
    color: var(--nx-text, #1a1a1a);
    font-size: 1.0625rem;
    text-align: left;
}

.rx-sheet__opt + .rx-sheet__opt[b-rqrclcwl43]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 0;
    height: 0.5px;
    background: rgba(60, 60, 67, 0.18);
}

.rx-sheet__check[b-rqrclcwl43] { visibility: hidden; font-weight: 600; }
.rx-sheet__opt.is-on .rx-sheet__check[b-rqrclcwl43] { visibility: visible; }

.rx-sheet__input[b-rqrclcwl43] {
    width: 100%;
    padding: 12px 16px;
    border: 0;
    outline: 0;
    font-size: 1.0625rem; /* ≥ 16px stops iOS zooming on focus */
}

.rx-sheet__foot[b-rqrclcwl43],
.rx-sheet__error[b-rqrclcwl43] {
    margin: -6px 16px 0;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.rx-sheet__foot[b-rqrclcwl43] { color: rgba(60, 60, 67, 0.6); }
.rx-sheet__error[b-rqrclcwl43] { margin-top: 8px; color: #ff3b30; }
/* /Components/Shared/RxRequestTabs.razor.rz.scp.css */
/* Desktop: the pill row these tabs always had. */
.rx-tabs[b-2l1fyanl4t] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.rx-tab[b-2l1fyanl4t] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--nx-border, #e5e7eb);
    border-radius: 20px;
    padding: 0.4em 0.95em;
    background: #fff;
    color: var(--nx-text-muted, #6b7280);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.rx-tab.is-active[b-2l1fyanl4t] {
    background: var(--nx-text, #1a1a1a);
    border-color: var(--nx-text, #1a1a1a);
    color: #fff;
}

.rx-tab__count[b-2l1fyanl4t] {
    display: inline-block;
    padding: 0.35em 0.65em;
    border-radius: 0.375rem;
    background: var(--nx-bg-light, #f3f4f6);
    color: var(--nx-text-muted, #6b7280);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

.rx-tab.is-active .rx-tab__count[b-2l1fyanl4t] {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.rx-tab__label--phone[b-2l1fyanl4t] { display: none; }

/* Phone: one iOS segmented control that never wraps. */
@media (max-width: 767.98px) {
    .rx-tabs[b-2l1fyanl4t] {
        flex-wrap: nowrap;
        gap: 2px;
        padding: 3px;
        border-radius: 12px;
        background: rgba(118, 118, 128, 0.12);
    }

    .rx-tab[b-2l1fyanl4t] {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        gap: 0.4rem;
        min-height: 36px;
        padding: 0 0.4rem;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: var(--nx-text, #1a1a1a);
        font-size: 0.9375rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .rx-tab.is-active[b-2l1fyanl4t] {
        background: #fff;
        color: var(--nx-text, #1a1a1a);
        font-weight: 600;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.04);
    }

    .rx-tab__label[b-2l1fyanl4t] { display: none; }
    .rx-tab__label--phone[b-2l1fyanl4t] { display: inline; }

    .rx-tab__count[b-2l1fyanl4t],
    .rx-tab.is-active .rx-tab__count[b-2l1fyanl4t] {
        min-width: 20px;
        padding: 2px 6px;
        border-radius: 999px;
        background: rgba(118, 118, 128, 0.14);
        color: rgba(60, 60, 67, 0.6);
        font-size: 0.75rem;
        font-weight: 500;
        text-align: center;
    }
}
/* /Components/Shared/WeightLossReorderHistory.razor.rz.scp.css */
.reorder-history[b-w7kwou95mx] { border: 1px solid var(--nx-border, #e0ddd9); border-radius: 12px; padding: 12px; margin-bottom: 12px; background: var(--nx-bg-white, #fff); font-size: .875rem; }
.reorder-history summary[b-w7kwou95mx] { cursor: pointer; min-height: 44px; padding: 10px 0; font-weight: 600; }
.reorder-flags[b-w7kwou95mx] { padding: 8px; background: var(--nx-bg-warm, #f7f4f1); border-radius: 8px; }
.reorder-purchase[b-w7kwou95mx], .reorder-assessment[b-w7kwou95mx] { border-top: 1px solid var(--nx-border, #e0ddd9); padding-top: 8px; }
.reorder-history p[b-w7kwou95mx], .reorder-history dd[b-w7kwou95mx] { margin-bottom: 8px; overflow-wrap: anywhere; }
.reorder-history dt[b-w7kwou95mx] { font-weight: 600; }
@media (min-width: 768px) { .reorder-history dl[b-w7kwou95mx] { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 8px 12px; } }
/* /Components/Shared/WorkingDaysSelect.razor.rz.scp.css */
/* "My usual days & hours" — PM redesign 2026-09-24, resized 2026-09-24 (round 2).
   Whitespace does the grouping: one card, no nested bordered boxes, one hairline between the
   desktop columns.

   Sized against the rest of the profile page rather than as a hero — the section title is a
   sibling of the other card headings, not bigger than them.

   Laid out with CONTAINER queries, not viewport ones. The card lives in the portal's content
   area beside the sidebar, which is far narrower than the window: a viewport media query says
   "desktop" while the card itself has ~700px, and the two-column grid then overflowed and pushed
   the hours column out through the right edge. Everything below is mobile-first and opts INTO
   the wider layouts, so a browser without container queries stacks rather than overflows. */

.wdh[b-s5d4athcm8] {
    container-type: inline-size;

    --wdh-green: #1fa971;
    --wdh-green-dark: #178a5c;
    --wdh-mint: #eafaf3;
    --wdh-ink: #111827;
    --wdh-muted: #667085;
    --wdh-line: rgba(15, 23, 42, .08);
    --wdh-rest: #f5f6f7;
    --wdh-gutter: 32px;

    background: #fff;
    border: 1px solid var(--wdh-line);
    border-radius: 16px;
    padding: 20px 22px 22px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
    color: var(--wdh-ink);
}

/* Admin's variant sits inside a form that already owns its card, heading and spacing. */
.wdh--bare[b-s5d4athcm8] {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* ── Header ─────────────────────────────────────────────────────────────── */

/* Title over subtitle, no icon — the same shape as every other card-header on My Profile. */
.wdh-head[b-s5d4athcm8] { margin-bottom: 16px; }

.wdh-title[b-s5d4athcm8] { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--wdh-ink); }
.wdh-sub[b-s5d4athcm8] { margin: 1px 0 0; font-size: 12px; line-height: 1.45; color: var(--wdh-muted); }

/* ── Body ───────────────────────────────────────────────────────────────── */

.wdh-grid[b-s5d4athcm8] { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 20px; }

.wdh-label[b-s5d4athcm8] { margin: 0; font-size: 12.25px; font-weight: 600; color: var(--wdh-ink); }

/* ── Days: heading row + quick set ──────────────────────────────────────── */

.wdh-days-head[b-s5d4athcm8] { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 12px; }

/* Quick set leads on a narrow card: it is the one tap most doctors need, and the grid below
   reads as the detail under it. Ordered, not duplicated in the markup. */
.wdh-quickset[b-s5d4athcm8] {
    order: -1;
    display: flex; flex-direction: column; align-items: stretch; gap: 8px;
    padding: 10px; margin-bottom: 6px;
    border-radius: 12px; background: #f7f8f9;
}

.wdh-quickset-label[b-s5d4athcm8] { font-size: 12.25px; color: var(--wdh-muted); }
.wdh-quickset-btns[b-s5d4athcm8] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.wdh-colon[b-s5d4athcm8] { display: none; }

.wdh-preset[b-s5d4athcm8] {
    min-width: 0; height: 36px; padding: 0 10px;
    border: 1px solid #e4e7ec; border-radius: 999px;
    background: #fff;
    font: inherit; font-size: 12.25px; font-weight: 500; color: #344054;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

.wdh-preset:hover[b-s5d4athcm8] { background: #f8faf9; border-color: #d6dae0; }
.wdh-preset:focus-visible[b-s5d4athcm8] { outline: none; box-shadow: 0 0 0 3px rgba(31, 169, 113, .18); border-color: var(--wdh-green); }

/* ── Day chips ──────────────────────────────────────────────────────────── */

.wdh-daygrid[b-s5d4athcm8] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }

.wdh-day[b-s5d4athcm8] {
    min-width: 0; min-height: 42px; padding: 0 4px;
    border: 0; border-radius: 9px;
    background: var(--wdh-rest);
    font: inherit; font-size: 12.25px; font-weight: 600; color: #344054;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.wdh-day:hover[b-s5d4athcm8] { background: #eceff1; }
.wdh-day--on[b-s5d4athcm8] { background: var(--wdh-green); color: #fff; }
.wdh-day--on:hover[b-s5d4athcm8] { background: var(--wdh-green-dark); }
.wdh-day:focus-visible[b-s5d4athcm8] { outline: none; box-shadow: 0 0 0 3px rgba(31, 169, 113, .25); }

.wdh-summary[b-s5d4athcm8] { margin: 9px 0 0; font-size: 12.25px; line-height: 1.45; color: var(--wdh-muted); }
.wdh-error[b-s5d4athcm8] { margin: 9px 0 0; font-size: 12.25px; line-height: 1.45; color: #b42318; font-weight: 500; }

/* ── Hours ──────────────────────────────────────────────────────────────── */

.wdh-hours-head[b-s5d4athcm8] { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.wdh-gmt[b-s5d4athcm8] { font-size: 12.25px; color: var(--wdh-muted); }

.wdh-time-grid[b-s5d4athcm8] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.wdh-field[b-s5d4athcm8] { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.wdh-field-label[b-s5d4athcm8] { font-size: 12.25px; color: var(--wdh-muted); }

/* ::deep — InputDate renders the <input>, so it carries the child component's scope, not ours.
   box-sizing is set here rather than inherited from Bootstrap's reset: without it the padding
   pushes the field past its grid track and the two inputs collide. */
.wdh-field[b-s5d4athcm8]  .wdh-input {
    box-sizing: border-box;
    width: 100%; height: 40px;
    padding: 0 10px;
    border: 1px solid #dde1e6; border-radius: 8px;
    background: #fff;
    font: inherit; font-size: 14px; font-weight: 500; color: var(--wdh-ink);
    transition: border-color .15s, box-shadow .15s;
}

.wdh-field[b-s5d4athcm8]  .wdh-input:focus {
    outline: none;
    border-color: var(--wdh-green);
    box-shadow: 0 0 0 3px rgba(31, 169, 113, .10);
}

/* The native clock stays the picker affordance — just sized and calmed down. */
.wdh-field[b-s5d4athcm8]  .wdh-input::-webkit-calendar-picker-indicator { width: 15px; height: 15px; opacity: .45; cursor: pointer; }
.wdh-field[b-s5d4athcm8]  .wdh-input::-webkit-calendar-picker-indicator:hover { opacity: .75; }

/* ── HelloDoc notice ────────────────────────────────────────────────────── */

.wdh-note[b-s5d4athcm8] {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 16px; padding: 11px 13px;
    border-radius: 10px;
    background: #fff8e6;
}

.wdh-note-icon[b-s5d4athcm8] { flex: 0 0 auto; color: #b54708; line-height: 0; margin-top: 1px; }
.wdh-note-icon svg[b-s5d4athcm8] { width: 16px; height: 16px; }
.wdh-note-text[b-s5d4athcm8] { margin: 0; font-size: 12.25px; line-height: 1.5; color: #7a4a0b; }
.wdh-note-text strong[b-s5d4athcm8] { font-weight: 600; }

/* ── Roomier card: seven days across, hours side by side ────────────────── */

@container (min-width: 560px) {
    .wdh-daygrid[b-s5d4athcm8] { grid-template-columns: repeat(7, minmax(0, 62px)); justify-content: start; gap: 6px; }
    .wdh-day[b-s5d4athcm8] { min-height: 32px; }
    .wdh-preset[b-s5d4athcm8] { height: 28px; }

    /* Matches .form-control-sm on the rest of this page rather than towering over it. */
    .wdh-time-grid[b-s5d4athcm8] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .wdh-field[b-s5d4athcm8]  .wdh-input { height: 32px; }
}

/* ── Wide card: two columns, quick set back beside the heading ──────────── */

@container (min-width: 820px) {
    .wdh-grid[b-s5d4athcm8] { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); column-gap: var(--wdh-gutter); row-gap: 0; }

    /* Border on the right column's own edge, a full gutter clear of the day chips. Previously
       pulled left with a negative margin, which parked the line hard against the last chip. */
    .wdh-col--hours[b-s5d4athcm8] { padding-left: var(--wdh-gutter); border-left: 1px solid var(--wdh-line); }

    .wdh-days-head[b-s5d4athcm8] { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }

    .wdh-quickset[b-s5d4athcm8] {
        order: 0;
        flex-direction: row; align-items: center; gap: 8px;
        padding: 0; margin-bottom: 0;
        background: none; border-radius: 0;
    }

    .wdh-quickset-btns[b-s5d4athcm8] { display: flex; gap: 6px; }
    .wdh-colon[b-s5d4athcm8] { display: inline; }
}

/* The admin variant is one column in a form, so it never takes the two-column branch. */
.wdh--bare .wdh-grid[b-s5d4athcm8] { grid-template-columns: minmax(0, 1fr); }
.wdh--bare .wdh-col--hours[b-s5d4athcm8] { padding-left: 0; border-left: 0; }
