/* Collabot: in-product sales assistant panel. Uses the shared ci-* tokens with fallbacks. */
.cb-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 2147483000;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, .08);
    background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
    color: #fff;
    box-shadow: 0 10px 26px rgba(30, 41, 59, .28);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, box-shadow .15s ease;
    font-family: var(--ci-font-main, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
}
.cb-launcher:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 14px 30px rgba(30, 41, 59, .32); }
.cb-launcher svg { width: 26px; height: 26px; }
.cb-launcher .cb-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}
.cb-launcher .cb-badge[hidden] { display: none; }
.cb-launcher.cb-open { transform: scale(.92); opacity: .75; }

.cb-panel {
    position: fixed;
    top: 12px;
    right: 12px;
    bottom: 12px;
    width: 440px;
    max-width: calc(100vw - 24px);
    /* Below Collabit's windows and popups: the panel stacks with the window manager's windows (collabot.js raisePanel()
       takes the next window z-index when it is opened or worked in), so a window opened after it is in front of it. The
       launcher alone stays above everything (Mike, 2026-10-10). */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--ci-text-dark, #172033);
    border: 1px solid var(--ci-border, #dbe3ee);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    font-family: var(--ci-font-main, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
    font-size: 14px;
    line-height: 1.45;
    transform: translateX(24px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease, visibility 0s linear .18s;
}
.cb-panel.cb-visible { transform: translateX(0); opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.cb-panel:not(.cb-visible) { visibility: hidden; } /* hidden controls are not focusable */
.cb-panel *, .cb-panel *::before, .cb-panel *::after { box-sizing: border-box; }
.cb-panel button { font-family: inherit; }
@media (max-width: 640px) {
    .cb-panel { top: 0; right: 0; bottom: 0; width: 100vw; max-width: 100vw; border-radius: 0; }
}

.cb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 10px;
    border-bottom: 1px solid var(--ci-border, #e2e8f0);
}
.cb-title { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; }
.cb-logo {
    width: 28px; height: 28px; border-radius: 8px;
    background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
    display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.cb-logo svg { width: 17px; height: 17px; }
.cb-head-actions { display: flex; gap: 4px; }
.cb-icon-btn {
    width: 32px; height: 32px; border-radius: 8px; border: 1px solid transparent; background: transparent;
    color: var(--ci-text-muted, #64748b); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.cb-icon-btn:hover { background: #f1f5f9; color: var(--ci-text-dark, #172033); }
.cb-icon-btn svg { width: 18px; height: 18px; }

.cb-tabs { display: flex; gap: 4px; padding: 8px 12px 0; }
.cb-tab {
    border: 0; background: transparent; padding: 8px 10px; border-radius: 8px 8px 0 0; cursor: pointer;
    color: var(--ci-text-muted, #64748b); font-weight: 600; font-size: 13px; border-bottom: 2px solid transparent;
}
.cb-tab.cb-active { color: #1d4ed8; border-bottom-color: #1d4ed8; }
.cb-tab .cb-count { margin-left: 6px; background: #fff7ed; color: #c2410c; border-radius: 999px; padding: 0 7px; font-size: 11px; }
.cb-tab .cb-count:empty { display: none; }

.cb-context {
    display: flex; align-items: center; gap: 8px; margin: 8px 12px 0; padding: 7px 10px;
    background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 9px; font-size: 12.5px; color: #1e3a8a;
}
.cb-context[hidden] { display: none; }
.cb-context b { font-weight: 600; }
.cb-context .cb-context-type { color: #3b82f6; }
.cb-context .cb-icon-btn { width: 24px; height: 24px; margin-left: auto; }

.cb-body { flex: 1; overflow: auto; padding: 12px; scroll-behavior: smooth; }
.cb-view[hidden] { display: none; }

.cb-empty { text-align: center; padding: 28px 16px; color: var(--ci-text-muted, #64748b); }
.cb-empty h3 { margin: 12px 0 6px; font-size: 16px; color: var(--ci-text-dark, #172033); }
.cb-empty p { margin: 0 0 14px; font-size: 13px; }
.cb-suggestions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.cb-chip {
    border: 1px solid var(--ci-border, #dbe3ee); background: #fff; border-radius: 999px; padding: 6px 11px;
    font-size: 12.5px; cursor: pointer; color: #1e293b;
}
.cb-chip:hover { border-color: #93c5fd; background: #eff6ff; }

.cb-msg { display: flex; margin: 0 0 10px; }
.cb-msg-user { justify-content: flex-end; }
.cb-bubble {
    max-width: 88%; padding: 9px 12px; border-radius: 14px; white-space: normal; word-wrap: break-word;
}
.cb-msg-user .cb-bubble { background: #1d4ed8; color: #fff; border-bottom-right-radius: 4px; }
.cb-msg-assistant .cb-bubble { background: #f8fafc; border: 1px solid var(--ci-border, #e2e8f0); border-bottom-left-radius: 4px; }
.cb-msg-assistant.cb-error .cb-bubble { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.cb-bubble p { margin: 0 0 8px; }
.cb-bubble p:last-child { margin-bottom: 0; }
.cb-bubble ul, .cb-bubble ol { margin: 4px 0 8px; padding-left: 20px; }
.cb-bubble li { margin: 2px 0; }
.cb-bubble code { background: rgba(15, 23, 42, .06); padding: 1px 4px; border-radius: 4px; font-size: 12.5px; }
.cb-msg-user .cb-bubble code { background: rgba(255, 255, 255, .2); }

.cb-steps { margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; background: #f8fafc; border: 1px dashed #cbd5e1; }
.cb-steps[hidden] { display: none; }
.cb-step { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: #334155; padding: 3px 0; }
.cb-step .cb-step-icon { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; }
.cb-step .cb-step-summary { color: var(--ci-text-muted, #64748b); }
.cb-step.cb-step-fail .cb-step-summary { color: #b45309; }
.cb-step .cb-step-warn { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; background: #fde68a; color: #92400e; font-size: 10px; font-weight: 700; line-height: 1; }
.cb-spinner {
    width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cbd5e1; border-top-color: #1d4ed8;
    animation: cb-spin .8s linear infinite;
}
@keyframes cb-spin { to { transform: rotate(360deg); } }
.cb-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.cb-typing i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; animation: cb-bounce 1.2s infinite; }
.cb-typing i:nth-child(2) { animation-delay: .15s; }
.cb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cb-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }

.cb-card {
    margin: 4px 0 12px; border: 1px solid #c7d2fe; border-left: 4px solid #4f46e5; border-radius: 10px;
    background: #fff; box-shadow: 0 4px 14px rgba(79, 70, 229, .08); overflow: hidden;
}
.cb-card-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px 6px; }
.cb-kind {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px;
    background: #eef2ff; color: #3730a3;
}
.cb-card-title { font-weight: 600; font-size: 13.5px; flex: 1; }
.cb-card-amount { font-weight: 700; color: #0f766e; }
.cb-card-lines { list-style: none; margin: 0; padding: 0 12px 8px; font-size: 12.5px; color: #334155; }
.cb-card-lines li { padding: 2px 0; border-top: 1px solid #f1f5f9; }
.cb-card-lines li:first-child { border-top: 0; }
/* My writing style: the guide as an editable box under its switch. */
.cb-notices:empty { display: none; }
.cb-notices { padding: 8px 12px 0; }
.cb-notices .cb-first-use { margin: 0; }
.cb-style-guide { width: 100%; box-sizing: border-box; font: inherit; font-size: 12.5px; padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 6px; resize: vertical; margin: 4px 0; }
.cb-style-body .cb-card-note { display: block; margin: 4px 0; }
/* Task and status actions: one tickable line per step; alternatives indented under their "one of" line. */
.cb-card-steps { list-style: none; margin: 0; padding: 0 12px 8px; font-size: 12.5px; color: #334155; }
.cb-card-steps li { padding: 3px 0; border-top: 1px solid #f1f5f9; }
.cb-card-steps li:first-child { border-top: 0; }
.cb-step label { display: flex; gap: 6px; align-items: flex-start; cursor: pointer; }
.cb-step input { margin-top: 2px; flex: none; }
.cb-step-alt { padding-left: 14px !important; }
.cb-step-or { color: #6b7280; font-size: 12px; }
.cb-step-state { display: block; padding-left: 20px; font-size: 11.5px; color: #6b7280; }
.cb-step-done .cb-step-state { color: #15803d; }
.cb-step-failed .cb-step-state, .cb-step-uncertain .cb-step-state, .cb-step-running .cb-step-state { color: #b91c1c; }
.cb-card-actions { display: flex; gap: 6px; padding: 8px 12px 10px; background: #fafafa; border-top: 1px solid #eef2f7; flex-wrap: wrap; }
.cb-btn {
    border-radius: 8px; padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
    display: inline-flex; align-items: center; gap: 6px;
}
.cb-btn-primary { background: #1d4ed8; color: #fff; }
.cb-btn-primary:hover { background: #1e40af; }
.cb-btn-secondary { background: #fff; color: #1e293b; border-color: var(--ci-border, #cbd5e1); }
.cb-btn-secondary:hover { background: #f1f5f9; }
.cb-btn-quiet { background: transparent; color: var(--ci-text-muted, #64748b); }
.cb-btn-quiet:hover { color: #1e293b; background: #f1f5f9; }
.cb-btn[disabled] { opacity: .55; cursor: default; }
.cb-card-status { padding: 8px 12px 10px; font-size: 12.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cb-card.cb-applied { border-left-color: #16a34a; border-color: #bbf7d0; }
.cb-card.cb-applied .cb-card-status { color: #166534; background: #f0fdf4; }
.cb-card.cb-rejected, .cb-card.cb-superseded { border-left-color: #94a3b8; border-color: #e2e8f0; opacity: .8; }
.cb-card.cb-rejected .cb-card-status, .cb-card.cb-superseded .cb-card-status { color: #64748b; }
.cb-card.cb-failed { border-left-color: #dc2626; border-color: #fecaca; }
.cb-card.cb-failed .cb-card-status { color: #991b1b; background: #fef2f2; }
.cb-card-error { font-size: 12px; color: #b91c1c; padding: 0 12px 8px; }
/* Why an action is missing (a failed apply that may have written cannot be approved again). */
.cb-card-note { font-size: 12px; color: #6b7280; line-height: 1.4; align-self: center; }

.cb-list { list-style: none; margin: 0; padding: 0; }
.cb-list li { padding: 10px 8px; border-bottom: 1px solid #f1f5f9; cursor: pointer; border-radius: 8px; }
.cb-list li:hover { background: #f8fafc; }
.cb-list .cb-list-title { font-weight: 600; font-size: 13.5px; }
.cb-list .cb-list-meta { font-size: 12px; color: var(--ci-text-muted, #64748b); }

.cb-composer { border-top: 1px solid var(--ci-border, #e2e8f0); padding: 10px 12px 10px; }
.cb-composer-row { display: flex; gap: 8px; align-items: flex-end; }
.cb-input {
    flex: 1; resize: none; min-height: 42px; max-height: 160px; padding: 10px 12px; border-radius: 10px;
    border: 1px solid var(--ci-border, #cbd5e1); font: inherit; line-height: 1.4; outline: none; background: #fff;
}
.cb-input:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(59, 130, 246, .15); }
.cb-send {
    width: 42px; height: 42px; border-radius: 10px; border: 0; background: #1d4ed8; color: #fff; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px;
}
.cb-send:hover { background: #1e40af; }
.cb-send[disabled] { background: #cbd5e1; cursor: default; }
.cb-send svg { width: 18px; height: 18px; }
.cb-hint { font-size: 11px; color: var(--ci-text-muted, #94a3b8); margin-top: 6px; display: flex; justify-content: space-between; }
.cb-hint kbd { font-family: inherit; background: #f1f5f9; border-radius: 4px; padding: 0 4px; }
.cb-toast {
    position: absolute; left: 12px; right: 12px; bottom: 96px; padding: 9px 12px; border-radius: 9px; background: #0f172a; color: #fff;
    font-size: 12.5px; box-shadow: 0 8px 20px rgba(15, 23, 42, .3); opacity: 0; transition: opacity .15s; pointer-events: none;
}
.cb-toast.cb-visible { opacity: 1; }

.cb-card-email { display: flex; align-items: center; gap: 6px; padding: 0 12px 6px; font-size: 12px; color: #4338ca; }
/* Why Collabot suggested a follow-up it drafted (as the hub's .ch-reason). */
/* The day briefing ("Your day"): in the panel's empty state and at the top of the hub's Today section. */
.cb-briefing { text-align: left; border: 1px solid var(--ci-border, #dbe3ee); border-radius: 12px; padding: 10px 14px; margin: 10px 0; background: #fff; font-size: 13px; }
.cb-briefing-title { margin: 0 0 4px; font-size: 15px; }
.cb-briefing-focus { margin: 0 0 8px; color: #1e3a5f; font-weight: 600; }
.cb-briefing-note { color: var(--ci-text-muted, #64748b); font-size: 12px; }
.cb-briefing-sec h4 { margin: 8px 0 2px; font-size: 13px; }
.cb-briefing-sec ul { margin: 0; padding-left: 16px; }
.cb-briefing-sec li { margin: 2px 0; }
.cb-briefing-when { font-weight: 600; }
.cb-briefing-link { border: 0; background: none; padding: 0; color: #1d4ed8; cursor: pointer; font: inherit; text-align: left; }
.cb-briefing-link:hover { text-decoration: underline; }
.cb-briefing-prepare { margin-left: 8px; font-weight: 600; }
.cb-card-reason { padding: 0 12px 6px; font-size: 13px; font-weight: 600; color: #1e3a5f; }
.cb-detail-reason { padding: 0 0 10px; }
.cb-inbox-intro h3 { margin: 6px 0 4px; font-size: 15px; }
.cb-inbox-intro p { margin: 0 0 12px; color: var(--ci-text-muted, #64748b); font-size: 13px; }
.cb-inbox-mailbox { border: 1px solid var(--ci-border, #dbe3ee); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; background: #fff; }
.cb-inbox-mailbox-title { font-weight: 600; margin-bottom: 6px; }
.cb-inbox-folder { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; cursor: pointer; }
.cb-inbox-actions { display: flex; gap: 8px; margin: 8px 0; }
.cb-inbox-result { font-size: 12.5px; color: #334155; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 10px; min-height: 20px; }
.cb-inbox-result:empty { display: none; }
.cb-inbox-note { font-size: 11.5px; color: var(--ci-text-muted, #94a3b8); margin-top: 8px; }

.cb-card-title-btn { border: 0; background: transparent; padding: 0; text-align: left; font: inherit; font-weight: 600; font-size: 13.5px; color: inherit; cursor: pointer; }
.cb-card-title-btn:hover { color: #1d4ed8; text-decoration: underline; }
.cb-details-btn { margin-left: auto; }
.cb-modal { position: absolute; inset: 0; z-index: 5; background: rgba(15, 23, 42, .35); display: flex; align-items: stretch; justify-content: center; padding: 14px; border-radius: 14px; }
.cb-modal-box { background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(15, 23, 42, .35); display: flex; flex-direction: column; width: 100%; max-height: 100%; overflow: hidden; }
.cb-modal-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--ci-border, #e2e8f0); }
.cb-modal-title { font-weight: 600; flex: 1; font-size: 14px; }
.cb-modal-body { flex: 1; overflow: auto; padding: 12px 14px; }
.cb-modal-foot { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--ci-border, #e2e8f0); background: #fafafa; }
.cb-modal-foot .cb-btn-secondary { margin-left: auto; }
.cb-detail-section { margin-bottom: 14px; }
.cb-detail-section h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.cb-detail-meta { font-size: 12.5px; display: grid; gap: 2px; margin-bottom: 8px; }
.cb-detail-email { white-space: pre-wrap; font: inherit; font-size: 12.5px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px; max-height: 260px; overflow: auto; margin: 0; }
.cb-detail-quote { margin: 4px 0; padding: 4px 10px; border-left: 3px solid #a5b4fc; color: #3730a3; font-size: 12.5px; }
.cb-detail-list { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; }
.cb-detail-block { border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.cb-detail-block-title { font-weight: 600; margin-bottom: 4px; }
.cb-detail-rows { display: grid; grid-template-columns: 110px 1fr; gap: 3px 10px; margin: 0; font-size: 12.5px; }
.cb-detail-rows dt { color: #64748b; }
.cb-detail-rows dd { margin: 0; white-space: pre-wrap; }
.cb-detail-trace { margin-top: 6px; font-size: 11.5px; }
.cb-muted { color: var(--ci-text-muted, #64748b); font-size: 12.5px; }
.cb-card-dup { margin: 0 12px 8px; padding: 6px 9px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 12px; }
.cb-recent { margin-top: 18px; }
.cb-recent-title { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.cb-recent-row { padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; margin-bottom: 6px; }
.cb-recent-head { display: flex; align-items: center; gap: 8px; }
.cb-recent-mark { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: #f1f5f9; color: #64748b; flex: 0 0 18px; }
.cb-recent-applied .cb-recent-mark { background: #dcfce7; color: #166534; }
.cb-recent-failed .cb-recent-mark { background: #fee2e2; color: #991b1b; }
.cb-recent-link { flex: 1; text-align: left; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 13px; color: inherit; cursor: pointer; padding: 0; }
.cb-recent-link:hover { color: #1d4ed8; text-decoration: underline; }
.cb-recent-time { font-size: 11.5px; color: #94a3b8; white-space: nowrap; }
.cb-recent-meta { font-size: 12px; color: #4338ca; margin: 3px 0 0 26px; }
.cb-recent-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0 26px; }
.cb-small-btn { padding: 4px 8px; font-size: 12px; max-width: 100%; }
.cb-small-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-recent-rejected .cb-recent-link { color: #64748b; font-weight: 500; }
.cb-detail-message { white-space: pre-wrap; font-family: inherit; line-height: 1.45; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 10px; }
.cb-usage-head { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.cb-usage-head h3 { flex: 1; margin: 0; text-align: center; font-size: 15px; }
.cb-usage-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.cb-usage-summary div { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px; text-align: center; }
.cb-usage-summary b { display: block; font-size: 17px; }
.cb-usage-summary span { font-size: 11.5px; color: #64748b; }
.cb-usage-table { width: 100%; border-collapse: collapse; font-size: 12.5px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.cb-usage-table th, .cb-usage-table td { padding: 6px 8px; text-align: right; border-bottom: 1px solid #f1f5f9; }
.cb-usage-table th:first-child, .cb-usage-table td:first-child { text-align: left; }
.cb-usage-table th { background: #f8fafc; color: #64748b; font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.cb-usage-models { font-size: 12.5px; margin: 10px 0; color: #334155; }
.cb-usage-actions { margin: 10px 0; }
.cb-conv { display: flex; align-items: center; gap: 8px; padding: 6px 10px; margin: 0 0 8px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 12px; color: #475569; }
.cb-conv[hidden] { display: none; }
.cb-conv-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-meter { padding: 4px 2px 6px; }
.cb-meter-bar { height: 6px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.cb-meter-bar span { display: block; height: 100%; width: 0; background: #16a34a; border-radius: 999px; transition: width .3s; }
.cb-meter-amber .cb-meter-bar span, .cb-fill-amber { background: #d97706; }
.cb-meter-red .cb-meter-bar span, .cb-fill-red { background: #dc2626; }
.cb-meter-text { font-size: 11.5px; color: #64748b; margin-top: 4px; }
.cb-meter-red .cb-meter-text { color: #991b1b; }
.cb-usage-people { display: flex; flex-direction: column; gap: 8px; }
.cb-usage-person { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px 10px; }
.cb-usage-person-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; margin-bottom: 4px; }
/* Chat box: three lines by default, user-resizable, height remembered per browser. */
.cb-input { resize: vertical; min-height: 66px; max-height: 400px; }
/* Allowance meter under the chat box: bar, percentage and an info mark on one line. */
.cb-meter { display: flex; align-items: center; gap: 8px; padding: 6px 2px 0; }
.cb-meter-bar { flex: 1; }
.cb-meter-pct { font-size: 11.5px; color: #475569; min-width: 32px; text-align: right; font-variant-numeric: tabular-nums; }
.cb-meter-red .cb-meter-pct { color: #991b1b; font-weight: 600; }
.cb-meter-amber .cb-meter-pct { color: #92400e; font-weight: 600; }
.cb-meter-info { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1px solid #cbd5e1; background: #fff; color: #64748b; font: 600 10px/14px Georgia, serif; padding: 0; cursor: help; }
.cb-meter-info:hover, .cb-meter-info:focus { border-color: #60a5fa; color: #1d4ed8; outline: none; }
.cb-meter-info:hover::after, .cb-meter-info:focus::after { content: attr(data-tip); position: absolute; right: 0; bottom: 22px; width: 260px; padding: 8px 10px; background: #0f172a; color: #fff; font: 12px/1.4 inherit; font-family: inherit; text-align: left; border-radius: 8px; box-shadow: 0 6px 20px rgba(15, 23, 42, .25); z-index: 5; white-space: normal; }
.cb-card-why { margin: 6px 0; font-size: 12px; }
.cb-card-why summary { cursor: pointer; color: #475569; }
.cb-card-why-text { margin-top: 4px; white-space: pre-wrap; color: #334155; }
/* My instructions for Collabot (collabot.js renderInstructionsSettings). */
.cb-instructions-source { margin-left: 8px; font-size: 11px; font-weight: 500; color: #475569; background: #f1f5f9; border-radius: 10px; padding: 1px 8px; }
.cb-instructions-numbers { margin: 2px 0 6px 18px; padding: 0; font-size: 12.5px; color: #334155; }
.cb-instructions-company-head { margin: 12px 0 4px; font-size: 13px; }
/* An approval under way (collabot.js applyingLine): spinner, what is happening, how long it has taken. */
.cb-applying { display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px; background: #f8fafc; border-top: 1px solid #eef2f7; font-size: 12.5px; color: #334155; line-height: 1.4; }
.cb-card-actions .cb-applying { padding: 0; background: none; border: 0; flex: 1; }
.cb-applying .cb-spinner { flex: none; }
.cb-applying-text { flex: 1; }
.cb-applying-time { flex: none; color: #64748b; font-variant-numeric: tabular-nums; }
