/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-jkbgunqp6i] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-jkbgunqp6i] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar[b-jkbgunqp6i] {
    background: var(--sidebar-bg, #f8f8f8);
}

.top-row[b-jkbgunqp6i] {
    background: var(--topbar-bg, #f8f8f8);
    border-bottom: 1px solid var(--topbar-border, rgba(0,0,0,.06));
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.env-badge[b-jkbgunqp6i] {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .25em .6em;
    border-radius: 8px;
    background: #fef3c7;
    color: #92400e;
}

.user-info[b-jkbgunqp6i] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.user-avatar[b-jkbgunqp6i] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d0d0d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
}

.user-name[b-jkbgunqp6i] {
    font-weight: 500;
    font-size: .875rem;
    color: #0d0d0d;
}

.top-row[b-jkbgunqp6i]  a, .top-row[b-jkbgunqp6i]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

@media (max-width: 640.98px) {
    .top-row[b-jkbgunqp6i] {
        justify-content: space-between;
    }
    .env-badge[b-jkbgunqp6i] { display: none; }
    .sidebar[b-jkbgunqp6i] { border-bottom: 1px solid rgba(0,0,0,.08); }
}

@media (min-width: 641px) {
    .page[b-jkbgunqp6i] {
        flex-direction: row;
    }

    .sidebar[b-jkbgunqp6i] {
        width: 240px;
        border-right: 1px solid rgba(0,0,0,.15);
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .top-row[b-jkbgunqp6i] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-jkbgunqp6i], article[b-jkbgunqp6i] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Seed-password warning. Amber rather than red: the install is working
   correctly, it just still holds a credential the whole internet can read. */
.seed-password-warning[b-jkbgunqp6i] {
    margin: 0.75rem 1.5rem 0;
    padding: 0.7rem 1rem;
    border: 1px solid #f0c36d;
    border-left: 4px solid #d98b00;
    border-radius: 6px;
    background: #fff8e6;
    color: #6b4b00;
    font-size: 0.875rem;
    line-height: 1.5;
}

.seed-password-warning a[b-jkbgunqp6i] {
    color: #8a5a00;
    font-weight: 600;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.sidebar-header[b-4l2kc9xshi] {
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.brand[b-4l2kc9xshi] {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.brand-text[b-4l2kc9xshi] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name[b-4l2kc9xshi] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0d0d0d;
    letter-spacing: -.01em;
}

.brand-sub[b-4l2kc9xshi] {
    font-size: .68rem;
    color: #666;
    letter-spacing: .01em;
}

.navbar-toggler[b-4l2kc9xshi] {
    background: #fff;
    color: #0d0d0d;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    padding: .35rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.navbar-toggler:hover[b-4l2kc9xshi] { background: rgba(0,0,0,.04); }

.nav-section-label[b-4l2kc9xshi] {
    font-size: .68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #666;
    padding: 1.1rem 1.25rem .4rem;
}

.nav-item[b-4l2kc9xshi] {
    padding: 1px 0.625rem;
}

.nav-item[b-4l2kc9xshi]  a {
    color: #3d3d3d;
    border-radius: 6px;
    height: 2.25rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 0 .65rem;
    font-size: .875rem;
    font-weight: 400;
    text-decoration: none;
    transition: background-color .12s ease, color .12s ease;
}

.nav-item[b-4l2kc9xshi]  a.active {
    background: rgba(0,0,0,.05);
    color: #0d0d0d;
    font-weight: 500;
}

.nav-item[b-4l2kc9xshi]  a:hover {
    background: rgba(0,0,0,.04);
    color: #0d0d0d;
}

.nav-item[b-4l2kc9xshi]  a.active:hover {
    background: rgba(0,0,0,.07);
}

.nav-item[b-4l2kc9xshi]  a svg {
    flex-shrink: 0;
    color: #6b6b6b;
}
.nav-item[b-4l2kc9xshi]  a.active svg {
    color: #0d0d0d;
}

@media (min-width: 641px) {
    .navbar-toggler[b-4l2kc9xshi] {
        display: none;
    }

    .collapse[b-4l2kc9xshi] {
        display: block;
    }

    .nav-scrollable[b-4l2kc9xshi] {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* SC-20: on phones, when the nav is expanded it can have 8+ links and would
   push the main content off-screen. Cap the expanded panel at 60% viewport
   height and let it scroll internally so the page below remains reachable. */
@media (max-width: 640.98px) {
    .nav-scrollable[b-4l2kc9xshi] {
        max-height: 60vh;
        overflow-y: auto;
    }
    /* Larger tap targets on touch devices. */
    .nav-item[b-4l2kc9xshi]  a {
        height: 2.75rem;
        padding: 0 1rem;
    }
}
/* /Layout/SeatUsageBanner.razor.rz.scp.css */
.seat-usage-notice[b-qx2t1kqpps] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0.75rem 1.5rem 0;
    padding: 0.7rem 1rem;
    border: 1px solid #b6d4fe;
    border-left: 4px solid #0d6efd;
    border-radius: 6px;
    background: #eef5ff;
    color: #084298;
    font-size: 0.875rem;
    line-height: 1.5;
}

.seat-usage-notice a[b-qx2t1kqpps] {
    font-weight: 600;
}
/* /Pages/BotFlows.razor.rz.scp.css */
.bf-layout[b-89t3x6n12z] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 12px;
    align-items: start;
}

@media (max-width: 992px) {
    .bf-layout[b-89t3x6n12z] {
        grid-template-columns: 1fr;
    }
}

.bf-canvas-wrap[b-89t3x6n12z] {
    overflow: auto;
    max-height: 72vh;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 12px;
    background-color: var(--body-bg, #f8f8f8);
    background-image: radial-gradient(rgba(0, 0, 0, .16) 1px, transparent 1px);
    background-size: 20px 20px;
}

.bf-canvas[b-89t3x6n12z] {
    position: relative;
    touch-action: none;
}

.bf-edges[b-89t3x6n12z] {
    position: absolute;
    left: 0;
    top: 0;
    color: #64748b;
    pointer-events: none;
}

.bf-edge[b-89t3x6n12z] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.bf-edge-visited[b-89t3x6n12z] {
    stroke: #16a34a;
    stroke-width: 3;
}

.bf-edge-label[b-89t3x6n12z] {
    font-size: 11px;
    fill: #334155;
}

.bf-node[b-89t3x6n12z] {
    position: absolute;
    width: 200px;
    min-height: 96px;
    padding: 6px 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid #94a3b8;
    border-left-width: 5px;
    border-radius: 6px;
    background: #fff;
    color: #0f172a;
    cursor: grab;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
    font-size: 12px;
    line-height: 1.3;
}

.bf-node:active[b-89t3x6n12z] {
    cursor: grabbing;
}

.bf-node:focus-visible[b-89t3x6n12z],
.bf-outline-item button:focus-visible[b-89t3x6n12z] {
    outline: 2px solid #0d0d0d;
    outline-offset: 2px;
}

.bf-node.bf-selected[b-89t3x6n12z] {
    box-shadow: 0 0 0 2px #0d0d0d;
}

.bf-node.bf-visited[b-89t3x6n12z] {
    background: #f0fdf4;
}

.bf-node.bf-current[b-89t3x6n12z] {
    box-shadow: 0 0 0 3px #16a34a;
}

.bf-node.bf-has-issue[b-89t3x6n12z] {
    border-color: #b91c1c;
}

.bf-node-type[b-89t3x6n12z] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #475569;
}

.bf-node-title[b-89t3x6n12z] {
    font-weight: 600;
}

.bf-node-text[b-89t3x6n12z] {
    color: #334155;
    overflow-wrap: anywhere;
}

.bf-node-stats[b-89t3x6n12z] {
    margin-top: auto;
    font-size: 11px;
    color: #404040;
}

.bf-node-issue[b-89t3x6n12z] {
    font-size: 11px;
    color: #b91c1c;
    font-weight: 600;
}

.bf-type-message[b-89t3x6n12z] { border-left-color: #2563eb; }
.bf-type-question[b-89t3x6n12z] { border-left-color: #7c3aed; }
.bf-type-input[b-89t3x6n12z] { border-left-color: #0891b2; }
.bf-type-condition[b-89t3x6n12z] { border-left-color: #d97706; }
.bf-type-set[b-89t3x6n12z] { border-left-color: #0d9488; }
.bf-type-assign[b-89t3x6n12z] { border-left-color: #4f46e5; }
.bf-type-handoff[b-89t3x6n12z] { border-left-color: #16a34a; }
.bf-type-ai_answer[b-89t3x6n12z] { border-left-color: #db2777; }
.bf-type-ai_action[b-89t3x6n12z] { border-left-color: #be123c; }
.bf-type-end[b-89t3x6n12z] { border-left-color: #475569; }

.bf-outline[b-89t3x6n12z] {
    border: 1px solid var(--card-border, #dbdbdb);
    border-radius: 12px;
    background: #fff;
}

.bf-outline-item[b-89t3x6n12z] {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color, #dee2e6);
}

.bf-outline-item.bf-selected[b-89t3x6n12z] {
    background: rgba(0,0,0,.05);
}

.bf-outline-item.bf-visited[b-89t3x6n12z] {
    border-left: 4px solid #16a34a;
}

.bf-side .btn-sm[b-89t3x6n12z],
.bf-outline .btn[b-89t3x6n12z] {
    min-height: 26px;
}

.bf-nudge[b-89t3x6n12z] {
    min-width: 30px;
}

.bf-sim-log[b-89t3x6n12z] {
    max-height: 260px;
    overflow-y: auto;
    margin-bottom: 8px;
}

.bf-sim-log li[b-89t3x6n12z] {
    padding: 4px 8px;
    border-radius: 8px;
    margin-bottom: 4px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.bf-sim-bot[b-89t3x6n12z] {
    background: #f3f3f3;
    margin-right: 24px;
}

.bf-sim-visitor[b-89t3x6n12z] {
    background: #e8e8e8;
    margin-left: 24px;
    text-align: right;
}

.bf-sim-facts dt[b-89t3x6n12z] {
    font-weight: 600;
}

.bf-sim-facts dd[b-89t3x6n12z] {
    margin-left: 0;
    margin-bottom: 4px;
    overflow-wrap: anywhere;
}
/* /Pages/HelpCenterArticle.razor.rz.scp.css */
.hc-source[b-9ixqk9xa1c] {
    min-height: 460px;
    height: 100%;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .85rem;
    line-height: 1.55;
    border-radius: 0 0 .375rem .375rem;
}

.hc-preview[b-9ixqk9xa1c] {
    max-height: 640px;
    overflow: auto;
    font-size: .92rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.hc-preview h1[b-9ixqk9xa1c] { font-size: 1.5rem; margin-bottom: .75rem; }
.hc-preview[b-9ixqk9xa1c]  h2 { font-size: 1.2rem; margin-top: 1.25rem; }
.hc-preview[b-9ixqk9xa1c]  h3 { font-size: 1.05rem; margin-top: 1rem; }
.hc-preview[b-9ixqk9xa1c]  img { max-width: 100%; height: auto; }
.hc-preview[b-9ixqk9xa1c]  pre { background: rgba(127, 127, 127, .12); padding: .6rem .8rem; border-radius: .375rem; overflow-x: auto; }
.hc-preview[b-9ixqk9xa1c]  code { background: rgba(127, 127, 127, .12); padding: .05em .3em; border-radius: .25rem; }
.hc-preview[b-9ixqk9xa1c]  pre code { background: none; padding: 0; }
.hc-preview[b-9ixqk9xa1c]  blockquote { border-left: 4px solid #72c02c; padding: .1rem .9rem; color: #6c757d; }
.hc-preview[b-9ixqk9xa1c]  table { border-collapse: collapse; margin-bottom: 1rem; }
.hc-preview[b-9ixqk9xa1c]  th, .hc-preview[b-9ixqk9xa1c]  td { border: 1px solid rgba(127, 127, 127, .35); padding: .3rem .6rem; }
/* /Pages/LiveChat.razor.rz.scp.css */
/* Visitor List */
.visitor-item[b-q8807sv4pg] {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background .15s;
}

.visitor-item:hover[b-q8807sv4pg] {
    background: rgba(0,0,0,.03);
}

.visitor-item.active[b-q8807sv4pg] {
    background: rgba(0,0,0,.05);
    border-left: 3px solid #0d0d0d;
}

.visitor-item.waiting[b-q8807sv4pg] {
    background: #fffbeb;
}

.visitor-item.waiting.active[b-q8807sv4pg] {
    background: rgba(0,0,0,.05);
}

/* Chat Messages */
.chat-msg[b-q8807sv4pg] {
    margin-bottom: 10px;
    display: flex;
}

.chat-msg.agent[b-q8807sv4pg] {
    justify-content: flex-end;
}

.chat-msg.visitor[b-q8807sv4pg] {
    justify-content: flex-start;
}

.chat-bubble[b-q8807sv4pg] {
    max-width: 70%;
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    font-size: .875rem;
    line-height: 1.4;
}

.chat-msg.agent .chat-bubble[b-q8807sv4pg] {
    background: #262626;
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg.visitor .chat-bubble[b-q8807sv4pg] {
    background: #f0f0f0;
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-sender[b-q8807sv4pg] {
    font-size: .7rem;
    font-weight: 600;
    opacity: .7;
    margin-bottom: 2px;
}

.chat-time[b-q8807sv4pg] {
    font-size: .65rem;
    opacity: .5;
    margin-top: 2px;
    text-align: right;
}

/* Private notes sit in the thread but must never be mistaken for something
   the visitor saw: amber, dashed, labelled. */
.chat-msg.note[b-q8807sv4pg] {
    justify-content: flex-end;
}

.chat-msg.note .chat-bubble[b-q8807sv4pg] {
    background: #fffbeb;
    color: #422006;
    border: 1px dashed #f59e0b;
    border-bottom-right-radius: 4px;
    white-space: pre-wrap;
}

.note-tag[b-q8807sv4pg] {
    display: inline-block;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fde68a;
    color: #92400e;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.note-input[b-q8807sv4pg] {
    background: #fffbeb;
    border-color: #f59e0b;
}

.emoji-panel[b-q8807sv4pg] {
    position: absolute;
    bottom: 56px;
    left: 8px;
    width: 296px;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
    z-index: 100;
}

.emoji-btn[b-q8807sv4pg] {
    border: 0;
    background: transparent;
    font-size: 1.2rem;
    line-height: 1;
    padding: 5px 0;
    border-radius: 6px;
    cursor: pointer;
}

.emoji-btn:hover[b-q8807sv4pg] {
    background: rgba(0,0,0,.05);
}

/* Live translation (AI copilot) */
.chat-translation[b-q8807sv4pg] {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed rgba(100, 116, 139, .4);
    font-size: .8rem;
    color: #0f766e;
}

.chat-original[b-q8807sv4pg] {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed rgba(255, 255, 255, .5);
    font-size: .75rem;
    opacity: .85;
    font-style: italic;
}
