/**
 * claude.css — CEO Panel · 🤝 Claude (Senior Mentor)
 * DEV-2026-0503-206
 */

#panel-claude .cl-inner {
    padding: 18px 22px 28px;
    color: #e8eaed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#panel-claude .cl-loading,
#panel-claude .cl-error {
    padding: 28px;
    text-align: center;
    color: #888;
    font-size: 14px;
}
#panel-claude .cl-error { color: #ef4444; }
#panel-claude .cl-warn  { color: #fbbf24; padding: 10px; background: #2a2010; border-radius: 6px; }

/* Header */
#panel-claude .cl-header {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    border-bottom: 1px solid #2a2a3e;
    padding-bottom: 14px; margin-bottom: 18px;
}
#panel-claude .cl-title { display: flex; align-items: center; gap: 10px; }
#panel-claude .cl-title h2 { margin: 0; font-size: 1.4em; font-weight: 600; }
#panel-claude .cl-icon { font-size: 1.6em; }
#panel-claude .cl-sub  { color: #888; font-size: 0.82em; margin-left: 4px; }
#panel-claude .cl-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
#panel-claude .cl-stat { font-size: 0.85em; color: #aaa; margin-right: 8px; }
#panel-claude .cl-stat b { color: #e8eaed; font-family: monospace; }
#panel-claude .cl-stat b.crit { color: #ef4444; }
#panel-claude button {
    background: #1a1a2a; color: #e8eaed; border: 1px solid #2a2a3e;
    border-radius: 6px; padding: 6px 14px; cursor: pointer; font-size: 0.85em;
    transition: background 120ms;
}
#panel-claude button:hover:not(:disabled) { background: #2a2a3e; }
#panel-claude button:disabled { opacity: 0.5; cursor: not-allowed; }
#panel-claude .cl-quick-fire-btn,
#panel-claude .cl-approve-btn {
    background: #103a20; border-color: #0c6638; color: #34d399;
}
#panel-claude .cl-reject-btn { background: #3a1a10; border-color: #6a2a10; color: #fb923c; }

/* Sections */
#panel-claude .cl-section {
    margin-top: 22px; background: #0f0f1a; border: 1px solid #2a2a3e;
    border-radius: 10px; padding: 16px 18px;
}
#panel-claude .cl-section h3 { margin: 0 0 4px 0; font-size: 1em; font-weight: 600; }
#panel-claude .cl-count {
    font-family: monospace; color: #777; font-size: 0.85em;
    margin-left: 8px; background: #1a1a2a; padding: 1px 8px; border-radius: 4px;
}
#panel-claude .cl-section-sub { margin: 0 0 12px 0; color: #888; font-size: 0.85em; }
#panel-claude .cl-empty { color: #6e7681; text-align: center; padding: 14px 0; }

/* Tables */
#panel-claude .cl-table { width: 100%; border-collapse: collapse; font-size: 0.86em; }
#panel-claude .cl-table thead { background: #15151f; }
#panel-claude .cl-table th {
    text-align: left; color: #888; text-transform: uppercase;
    letter-spacing: 0.05em; font-size: 0.78em; padding: 8px 10px;
    border-bottom: 1px solid #2a2a3e; font-weight: 600;
}
#panel-claude .cl-table td { padding: 8px 10px; border-bottom: 1px solid #1a1a2a; }
#panel-claude .cl-row-show { cursor: pointer; transition: background 100ms; }
#panel-claude .cl-row-show:hover { background: #1a1a2a; }

/* Status badges */
#panel-claude .cl-status {
    font-family: monospace; font-size: 0.74em; font-weight: 700;
    padding: 2px 8px; border-radius: 4px; letter-spacing: 0.04em;
}
#panel-claude .cl-status.status-pending_approval { background: #2a2010; color: #fbbf24; }
#panel-claude .cl-status.status-approved        { background: #103a20; color: #34d399; }
#panel-claude .cl-status.status-in_flight       { background: #1a3030; color: #6ed3e3; }
#panel-claude .cl-status.status-completed       { background: #1a2a1a; color: #6ee7b7; }
#panel-claude .cl-status.status-rejected        { background: #2a2a2a; color: #777; }
#panel-claude .cl-status.status-failed          { background: #3a1a10; color: #fb923c; }
#panel-claude .cl-status.status-cancelled       { background: #2a2a2a; color: #777; }

/* Explain */
#panel-claude .cl-explain p { color: #aaa; font-size: 0.88em; line-height: 1.5; margin: 6px 0; }
#panel-claude .cl-explain code {
    background: #1a1a2a; color: #fbbf24; padding: 1px 6px;
    border-radius: 3px; font-size: 0.92em;
}

/* Modal */
.cl-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.cl-modal {
    background: #0f0f1a; border: 1px solid #2a2a3e; border-radius: 12px;
    width: 760px; max-width: 92vw; max-height: 86vh;
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 12px 50px rgba(0,0,0,0.7);
}
.cl-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid #2a2a3e;
}
.cl-modal-head h3 { margin: 0; color: #e8eaed; font-size: 1em; }
.cl-modal-close {
    background: none; border: none; color: #888;
    font-size: 1.4em; cursor: pointer; padding: 0 6px;
}
.cl-modal-close:hover { color: #e8eaed; }
.cl-modal-body { overflow-y: auto; padding: 16px 18px; font-size: 0.88em; }
.cl-modal-body h4 {
    margin: 14px 0 6px 0; color: #888; font-size: 0.78em;
    text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
}
.cl-meta { width: 100%; border-collapse: collapse; }
.cl-meta th {
    text-align: left; width: 130px; color: #888;
    padding: 4px 10px 4px 0; font-weight: 500; font-size: 0.85em;
}
.cl-meta td { padding: 4px 0; font-family: monospace; font-size: 0.85em; }
.cl-pre {
    background: #15151f; border: 1px solid #2a2a3e; border-radius: 6px;
    padding: 10px 12px; font-size: 0.85em; color: #cbd5e1;
    overflow-x: auto; white-space: pre-wrap; line-height: 1.5;
}
