:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{font-family:inherit}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}}:root[data-theme=light]{--bg: #f5f6f8;--panel: #ffffff;--text: #0b1220;--muted: #64748b;--border: #e6e8ec;--accent: #0a84ff;--shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);--ring: rgba(10,132,255,.35);--table-stripe: rgba(0,0,0,.06)}:root[data-theme=dark]{--bg: #0b1220;--panel: #0f1626;--text: #f5f6f8;--muted: #94a3b8;--border: #1e283a;--accent: #64d2ff;--shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.35);--ring: rgba(100,210,255,.35);--table-stripe: rgba(255,255,255,.08)}#root{max-width:2000px;margin:0 auto;padding:24px}body{background:var(--bg);color:var(--text)}.header h2{margin:0;font-size:22px;font-weight:700;letter-spacing:-.01em}.kpi-title{font-size:12px;color:var(--muted)}.kpi-value{font-size:22px;font-weight:700;color:var(--text);letter-spacing:-.01em}.card{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:16px;box-shadow:var(--shadow)}.table{width:100%;border-collapse:collapse;margin-top:16px;background:var(--panel);border:1px solid var(--border);border-radius:10px;overflow:hidden}.table th,.table td{border-bottom:1px solid var(--border);text-align:left;padding:12px 16px;vertical-align:top}.table thead th{background:#94a3b82e;font-weight:600}.table tbody tr:nth-child(2n){background:var(--table-stripe)}.table tbody tr:hover{background:#94a3b838}.table tbody tr.row-status--approved{background:#22c55e29}.table tbody tr.row-status--approved:hover{background:#22c55e42}.table tbody tr.row-status--changed{background:#facc152e}.table tbody tr.row-status--changed:hover{background:#facc1547}.table tbody tr.row-status--deleted{background:#ef444429}.table tbody tr.row-status--deleted:hover{background:#ef444442}.table tbody tr.row-status--ignored{background:#f973162e}.table tbody tr.row-status--ignored:hover{background:#f9731647}[data-theme=dark] .table tbody tr.row-status--approved{background:#22c55e40}[data-theme=dark] .table tbody tr.row-status--approved:hover{background:#22c55e59}[data-theme=dark] .table tbody tr.row-status--changed{background:#facc1547}[data-theme=dark] .table tbody tr.row-status--changed:hover{background:#facc1561}[data-theme=dark] .table tbody tr.row-status--deleted{background:#ef444440}[data-theme=dark] .table tbody tr.row-status--deleted:hover{background:#ef444459}[data-theme=dark] .table tbody tr.row-status--ignored{background:#f9731647}[data-theme=dark] .table tbody tr.row-status--ignored:hover{background:#f9731661}.header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}button{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:10px 14px;box-shadow:var(--shadow);transition:all .16s ease}button:hover{border-color:var(--accent);transform:translateY(-1px)}button:active{transform:translateY(0)}button:focus{outline:none;box-shadow:0 0 0 4px var(--ring)}.card{padding:16px}label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}input[type=text],input[type=datetime-local],input[type=date],select{width:100%;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:10px 12px;box-shadow:var(--shadow)}input:focus,select:focus{outline:none;box-shadow:0 0 0 4px var(--ring);border-color:var(--accent)}.task-type-list{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow);background:var(--panel);max-height:220px;overflow-y:auto}.checkbox-item{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text)}.checkbox-item input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f16268c;display:flex;justify-content:center;align-items:center;padding:24px;z-index:2000}.modal{position:relative;width:min(900px,100%);max-height:calc(100vh - 80px);overflow-y:auto;background:var(--panel);color:var(--text);border-radius:16px;padding:24px;box-shadow:var(--shadow)}.modal-close{position:absolute;top:16px;right:16px;border:none;background:transparent;font-size:24px;cursor:pointer;color:var(--muted)}.modal-close:hover{color:var(--text)}.modal-header{display:flex;justify-content:space-between;gap:16px;margin-bottom:16px}.modal-title{font-size:18px;font-weight:600}.modal-subtitle{font-size:13px;color:var(--muted)}.timeline{display:flex;flex-direction:column;gap:16px}.timeline-empty{color:var(--muted);font-size:14px}.timeline-info{font-size:13px;color:var(--muted)}.timeline-error{font-size:13px;color:#ef4444}.timeline-item{position:relative;display:flex;gap:12px}.timeline-marker{width:12px;flex-shrink:0;border-right:2px solid var(--border);position:relative}.timeline-marker:before{content:"";position:absolute;top:8px;right:-7px;width:12px;height:12px;border-radius:999px;background:var(--accent)}.timeline-content{flex:1;background:#94a3b814;border-radius:12px;padding:12px 16px;border:1px solid var(--border)}.timeline-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;color:var(--muted);margin-bottom:8px}.timeline-date{font-weight:600;color:var(--text)}.status-chip{padding:2px 8px;border-radius:999px;background:#94a3b833;font-weight:500}.operator-chip{padding:2px 8px;border-radius:999px;background:#64d2ff33;font-weight:500}.channel-chip{padding:2px 8px;border-radius:999px;background:#94a3b82e;font-weight:500}.response-chip{padding:2px 8px;border-radius:999px;background:#22c55e33;font-weight:500;color:var(--text)}.timeline-body{display:flex;flex-direction:column;gap:8px;font-size:14px}.message-diff{display:grid;gap:8px}.diff-label{font-size:12px;font-weight:600;color:var(--muted);margin-right:6px}.diff-text{background:#94a3b81f;border-radius:8px;padding:8px;white-space:pre-wrap;word-break:break-word}.message-text{white-space:pre-wrap;word-break:break-word}.sent-text,.comment-text{font-size:13px;color:var(--muted);white-space:pre-wrap;word-break:break-word}[data-theme=dark] .timeline-content{background:#94a3b824}.badge{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600}.badge--agent{background:#e5f0ff;color:#0b1220}.badge--client{background:#ffe5e5;color:#0b1220}.badge--operator{background:#fef3c7;color:#78350f}.date-range{display:inline-flex;align-items:center;gap:0;background:var(--panel);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);height:40px;padding:0 8px}.date-range input[type=date]{background:transparent;border:none;height:36px;padding:0 8px;color:var(--text)}.date-range input[type=date]:focus{outline:none;box-shadow:none}.date-range .sep{width:1px;height:60%;background:var(--border);margin:0 6px}input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;filter:invert(.3)}.auth{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 48px);padding:24px}.auth-card{width:360px;background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:var(--shadow)}.auth-title{margin:0 0 4px;font-size:20px;font-weight:700;letter-spacing:-.01em}.auth-sub{margin:0 0 16px;font-size:13px;color:var(--muted)}.auth-fields{display:grid;gap:12px}.auth-field label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}.auth-field input[type=text],.auth-field input[type=password]{width:100%;padding:12px 14px;border-radius:12px;border:1px solid rgba(0,0,0,.15);background:#94a3b814;color:var(--text)}[data-theme=dark] .auth-field input[type=text],[data-theme=dark] .auth-field input[type=password]{border-color:#ffffff2e;background:#94a3b81f}.auth-field input:focus{outline:none;box-shadow:0 0 0 4px var(--ring);border-color:var(--accent);background:transparent}.auth-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:4px}.auth-error{color:#ef4444;font-size:12px}
