:root{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#1e293b;background:#f8fafc}*{box-sizing:border-box}body{margin:0;background:#f8fafc}.layout{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:#0f172a;color:#fff;padding:24px;display:flex;flex-direction:column;gap:20px;border-right:1px solid #1e293b;box-shadow:2px 0 8px #0000000d}.sidebar h2{margin:0;font-size:1.5rem;font-weight:700;color:#38bdf8}.sidebar-subtitle{color:#cbd5e1;margin:-14px 0 0;font-size:.82rem}.sidebar nav{display:flex;flex-direction:column;gap:6px}.content{padding:32px;overflow-y:auto;max-height:100vh}.nav-link{color:#94a3b8;text-decoration:none;padding:10px 14px;border-radius:8px;font-size:.95rem;font-weight:500;display:flex;align-items:center;gap:10px;transition:all .2s ease}.nav-link:hover{color:#f1f5f9;background:#1e293b}.nav-link.active{background:#38bdf8;color:#0f172a;font-weight:600}.card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:24px;margin-bottom:24px;box-shadow:0 4px 6px -1px #00000005,0 2px 4px -1px #00000003}.card h3{margin-top:0;margin-bottom:12px;color:#0f172a;font-weight:600}.form{display:grid;gap:14px}.form label{font-size:.85rem;font-weight:600;color:#64748b;margin-bottom:-4px}.form input,.form select,.form textarea{padding:12px 14px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;color:#1e293b;background:#fff;transition:border-color .2s ease}.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf826}.form button,.ghost,.primary-btn,.list-button,.btn-secondary,.btn-danger{padding:10px 16px;border-radius:8px;border:0;cursor:pointer;font:inherit;font-weight:500;transition:all .2s ease}.form button,.primary-btn{background:#0284c7;color:#fff}.form button:hover,.primary-btn:hover{background:#0369a1}.btn-secondary{background:#e2e8f0;color:#334155}.btn-secondary:hover{background:#cbd5e1}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.ghost{background:transparent;color:#94a3b8}.ghost:hover{background:#1e293b;color:#fff}.list-button{background:#fff;color:#1e293b;border:1px solid #e2e8f0;margin-bottom:8px;text-align:left;display:block;width:100%}.list-button:hover{background:#f0f9ff;border-color:#bae6fd}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.page-header h1{margin:0;font-size:1.75rem;font-weight:700;color:#0f172a}.error{color:#b91c1c;background:#fef2f2;border:1px solid #fee2e2;border-radius:8px;padding:12px;margin-bottom:16px}.success{color:#15803d;background:#f0fdf4;border:1px solid #dcfce7;border-radius:8px;padding:12px;margin-bottom:16px}.muted{color:#64748b;font-size:.9rem;margin:4px 0}.warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:12px}.eyebrow{text-transform:uppercase;color:#0284c7;font-size:.78rem;font-weight:700;margin:0 0 8px}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.section-heading h2,.card h2{margin:0 0 6px;color:#0f172a;font-size:1.18rem}.button-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.button-row.vertical{flex-direction:column;align-items:stretch}.button-row a{text-decoration:none;display:inline-flex;align-items:center}.badge,.tag,.status-badge{display:inline-flex;align-items:center;width:fit-content;border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:700;background:#e0f2fe;color:#075985}.tag{background:#f1f5f9;color:#334155;margin-right:4px}.status-active,.status-open{background:#dcfce7;color:#166534}.status-pending{background:#fef3c7;color:#92400e}.status-resolved,.status-closed{background:#e2e8f0;color:#334155}.role-admin{background:#ede9fe;color:#5b21b6}.role-supervisor{background:#e0f2fe;color:#075985}.role-atendente{background:#dcfce7;color:#166534}.table-actions{display:flex;gap:8px;flex-wrap:wrap}.selected-row{background:#f0f9ff!important}.empty-state{background:#fff;border:1px dashed #cbd5e1;border-radius:8px;padding:32px;text-align:center;color:#334155}.empty-state h2{margin-top:0;color:#0f172a}.setup-grid,.settings-grid,.channel-grid,.split-view{display:grid;gap:20px}.setup-grid{grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr);align-items:start}.settings-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.channel-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:start}.split-view{grid-template-columns:minmax(0,1fr) 360px;align-items:start}.detail-panel{position:sticky;top:0}.compact-form{max-width:720px}.inline-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.usage-bar{height:10px;background:#e2e8f0;border-radius:999px;overflow:hidden}.usage-bar span{display:block;height:100%;background:#0284c7}.hero-panel{display:flex;justify-content:space-between;gap:24px;padding:28px;border-radius:8px;background:linear-gradient(135deg,#fff,#e0f2fe);border:1px solid #bae6fd;margin-bottom:24px}.hero-panel h1{margin:0 0 8px;color:#0f172a}.hero-panel p{max-width:720px}.hero-meta{background:#0f172a;color:#e2e8f0;border-radius:8px;padding:16px;min-width:220px;display:grid;gap:8px;align-content:center}.metric-card .kpi{font-size:26px}.settings-card{display:grid;gap:12px;align-content:start}.channel-card p{color:#475569}.planned-channel{background:#f8fafc}.widget-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px;display:grid;gap:12px}.widget-bubble{background:#fff;border:1px solid #bae6fd;border-radius:8px;padding:12px}.check-row{display:flex;gap:8px;align-items:center}.automation-intro{background:#f8fafc}.automation-examples{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.automation-examples div{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.presence-selector{display:flex;align-items:center;gap:8px;background:#1e293b;padding:8px 12px;border-radius:8px;margin-bottom:12px;position:relative}.presence-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.presence-dot.online{background:#10b981;box-shadow:0 0 8px #10b981}.presence-dot.paused{background:#f59e0b;box-shadow:0 0 8px #f59e0b}.presence-dot.offline{background:#94a3b8}.presence-select{background:transparent;color:#fff;border:0;font:inherit;font-size:.85rem;font-weight:500;outline:none;cursor:pointer;width:100%}.checklist-container{background:#f1f5f9;border-radius:12px;padding:20px;margin-bottom:24px;border:1px dashed #cbd5e1}.checklist-progress-bar{background:#e2e8f0;border-radius:999px;height:8px;width:100%;margin:12px 0 18px;overflow:hidden}.checklist-progress-fill{background:linear-gradient(90deg,#38bdf8,#0284c7);height:100%;border-radius:999px;transition:width .3s ease}.checklist-item{display:flex;align-items:center;gap:12px;padding:8px 0;cursor:pointer;color:inherit;text-decoration:none}.checklist-item.done{text-decoration:line-through;color:#94a3b8}.checklist-checkbox{width:18px;height:18px;border-radius:4px;border:2px solid #94a3b8;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700}.checklist-checkbox.checked{background:#0284c7;border-color:#0284c7;color:#fff}.inbox-board{display:grid;grid-template-columns:280px 1fr 300px;gap:20px;height:calc(100vh - 120px);min-height:550px}.inbox-list-col{display:flex;flex-direction:column;gap:12px;height:100%;overflow-y:auto}.inbox-chat-col{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 4px 6px -1px #00000005}.inbox-drawer-col{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;height:100%;overflow-y:auto}.chat-header{padding:16px 20px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.chat-messages{flex:1;padding:20px;overflow-y:auto;display:flex;flex-direction:column;gap:16px;background:#f8fafc}.chat-bubble{max-width:70%;padding:12px 16px;border-radius:12px;font-size:.95rem;line-height:1.4}.chat-bubble.outbound{align-self:flex-end;background:#0284c7;color:#fff;border-bottom-right-radius:2px}.chat-bubble.inbound{align-self:flex-start;background:#e2e8f0;color:#1e293b;border-bottom-left-radius:2px}.chat-footer{padding:16px 20px;border-top:1px solid #e2e8f0;position:relative}.canned-dropdown{position:absolute;bottom:100%;left:20px;right:20px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 -4px 12px #0000001a;max-height:200px;overflow-y:auto;z-index:50;margin-bottom:4px}.canned-item{padding:10px 14px;cursor:pointer;border-bottom:1px solid #f1f5f9;text-align:left}.canned-item:hover{background:#f0f9ff}.canned-item strong{color:#0284c7}.csat-rating-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:16px;margin:16px 0;text-align:center}.csat-stars{display:flex;justify-content:center;gap:12px;margin-top:10px}.csat-star{font-size:2rem;cursor:pointer;color:#cbd5e1;transition:color .15s ease}.csat-star.active{color:#fbbf24}.phone-preview-container{display:grid;grid-template-columns:1fr 1fr;gap:24px}.mock-phone{width:320px;height:520px;border:12px solid #0f172a;border-radius:36px;background:#f1f5f9;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;position:relative;overflow:hidden;margin:0 auto}.mock-phone-header{height:48px;background:#0f172a;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem}.mock-phone-chat-area{height:calc(100% - 96px);padding:16px;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;overflow-y:auto}.mock-phone-footer{height:48px;background:#e2e8f0;display:flex;align-items:center;padding:0 12px}.mock-phone-bubble{padding:8px 12px;border-radius:12px;font-size:.8rem;max-width:80%}.mock-phone-bubble.outbound{align-self:flex-end;color:#fff;border-bottom-right-radius:2px}.mock-phone-bubble.inbound{align-self:flex-start;background:#fff;color:#1e293b;border-bottom-left-radius:2px;box-shadow:0 1px 2px #0000000d}.side-drawer-overlay{position:fixed;inset:0;background:#0f172a66;z-index:100;display:flex;justify-content:flex-end}.side-drawer-content{width:480px;height:100%;background:#fff;box-shadow:-4px 0 20px #0000001a;padding:32px;overflow-y:auto}.table{width:100%;border-collapse:collapse}.table th{background:#f8fafc;font-weight:600;color:#475569}.table th,.table td{text-align:left;padding:14px 16px;border-bottom:1px solid #e2e8f0}.table tr:hover{background:#f8fafc}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.kpi{font-size:32px;font-weight:700;color:#0f172a;margin:8px 0 0}.premium-auth{min-height:100vh;display:grid;grid-template-columns:minmax(320px,1fr) minmax(360px,460px);align-items:center;gap:48px;padding:48px;background:linear-gradient(135deg,#0f172a,#075985 58%,#f8fafc 58%)}.auth-brand-panel{color:#fff;max-width:680px}.brand-mark{font-weight:800;color:#7dd3fc;font-size:1.4rem;margin-bottom:24px}.auth-brand-panel h1{font-size:2.5rem;line-height:1.08;margin:0 0 16px}.auth-brand-panel p{color:#dbeafe;font-size:1.08rem;max-width:560px}.auth-card{margin:0;box-shadow:0 24px 60px #0f172a3d}@media(max-width:900px){.layout{grid-template-columns:1fr}.content{max-height:none;padding:20px}.setup-grid,.split-view,.premium-auth{grid-template-columns:1fr}.hero-panel{flex-direction:column}.inline-field{grid-template-columns:1fr}.inbox-board{grid-template-columns:1fr;height:auto}.phone-preview-container{grid-template-columns:1fr}.side-drawer-content{width:100%}}
