@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap";
:root{--qw-bg:#f8fafc;--qw-surface:#fff;--qw-surface-nested:#f9fafb;--qw-border:#e2e8f0;--qw-text:#0f172a;--qw-muted:#64748b;--qw-accent:#0f766e;--qw-accent-hover:#0d5f58;--qw-accent-soft:#f0fdfa;--qw-success:#059669;--qw-success-soft:#0596691a;--qw-warning:#d97706;--qw-warning-soft:#d977061a;--qw-danger:#dc2626;--qw-danger-soft:#dc26261a;--qw-cloud:#1e293b;--qw-radius:16px;--qw-radius-lg:24px;--qw-shadow-sm:0 1px 2px 0 #0000000a;--qw-shadow:0 4px 6px -1px #0000000d, 0 2px 4px -2px #0000000d;--qw-shadow-md:0 12px 24px -4px #0000000f, 0 4px 12px -4px #0000000f;--qw-shadow-lg:0 20px 32px -8px #00000014, 0 10px 16px -8px #0000000f;--qw-shadow-xl:0 24px 48px -12px #0000001a, 0 12px 24px -8px #00000014;--qw-font-sans:"Inter", system-ui, -apple-system, sans-serif;--qw-font-display:"Outfit", var(--qw-font-sans)}*{box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{font-family:var(--qw-font-sans);background:var(--qw-bg);color:var(--qw-text);margin:0}.qw-page{background:radial-gradient(circle at 0% 0%, #0d6e5708 0%, transparent 50%), radial-gradient(circle at 100% 100%, #1e293b05 0%, transparent 50%), var(--qw-bg);min-height:100vh}.qw-shell{width:min(1200px,100% - 48px);margin:0 auto}.qw-card{background:var(--qw-surface);border:1px solid var(--qw-border);border-radius:var(--qw-radius);box-shadow:var(--qw-shadow-sm);padding:32px;transition:all .3s cubic-bezier(.2,.8,.2,1);position:relative;overflow:hidden}.qw-card--interactive:hover{box-shadow:var(--qw-shadow-md);border-color:var(--qw-accent);transform:translateY(-2px)}.qw-card__title{font-family:var(--qw-font-display);letter-spacing:-.02em;margin:0 0 12px;font-size:1.75rem;font-weight:700}.qw-card__description{color:var(--qw-muted);margin:0;font-size:1.05rem;line-height:1.6}.qw-button{cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:0 24px;font-size:.95rem;font-weight:600;transition:all .15s;display:inline-flex}.qw-button:active{transform:scale(.98)}.qw-button--primary{background:var(--qw-accent);color:#fff;box-shadow:0 4px 12px #0d6e5726}.qw-button--primary:hover{background:var(--qw-accent-hover);box-shadow:0 6px 16px #0d6e5733}.qw-button--secondary{background:var(--qw-accent-soft);color:var(--qw-accent)}.qw-button--secondary:hover{background:#e1fbed}.qw-button--ghost{color:var(--qw-text);border-color:var(--qw-border);background:0 0}.qw-button--ghost:hover{background:#f1f5f9}.qw-button--link{color:var(--qw-accent);background:0 0;border-radius:0;padding:0;font-weight:700;min-height:auto!important}.qw-button--link:hover{text-decoration:underline}.qw-button--outline{color:var(--qw-text);border-color:var(--qw-border);background:#fff}.qw-button--outline:hover{background:var(--qw-bg);border-color:var(--qw-muted)}.qw-button--sm{border-radius:8px;min-height:36px;padding:0 16px;font-size:.8rem}.qw-button--md{min-height:48px;padding:0 24px}.qw-button--lg{border-radius:14px;min-height:56px;padding:0 32px;font-size:1.05rem}.qw-button--icon{aspect-ratio:1;width:40px!important;min-height:40px!important;padding:0!important}.qw-field{gap:10px;display:grid}.qw-label{color:var(--qw-text);font-size:.9rem;font-weight:600}.qw-input{border:1px solid var(--qw-border);width:100%;min-height:48px;color:var(--qw-text);background:#fff;border-radius:12px;padding:12px 16px;font-family:inherit;font-size:1rem;transition:all .15s}.qw-input:hover:not(:disabled){border-color:#cbd5e1}.qw-input:focus{border-color:var(--qw-accent);outline:none;box-shadow:0 0 0 4px #0d6e571a}.qw-input:disabled{cursor:not-allowed;opacity:.62;background:var(--qw-surface-nested)}.qw-input--sm{border-radius:8px;min-height:36px;padding:8px 12px;font-size:.875rem}.qw-input--md{min-height:48px;padding:12px 16px}.qw-input--lg{border-radius:14px;min-height:56px;padding:14px 20px;font-size:1.05rem}.qw-select,select.qw-input,select:not([multiple]):not([size]){appearance:none;cursor:pointer;background-color:var(--qw-surface);background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%2364748b' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:18px 18px;padding-right:44px}.qw-select:hover:not(:disabled),select.qw-input:hover:not(:disabled){background-color:#fdfefe}.qw-select:focus,select.qw-input:focus{background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%230f766e' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.qw-select:disabled,select.qw-input:disabled{cursor:not-allowed}.qw-select option,select.qw-input option{color:var(--qw-text);background:var(--qw-surface)}.qw-select-root{width:100%;position:relative}.qw-select-native{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.qw-select-trigger{text-align:left;background-image:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.qw-select-trigger[aria-expanded=true]{border-color:var(--qw-accent);box-shadow:0 0 0 4px #0d6e571a}.qw-select-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.qw-select-chevron{color:var(--qw-muted);flex:none;transition:transform .15s,color .15s}.qw-select-trigger[aria-expanded=true] .qw-select-chevron{color:var(--qw-accent);transform:rotate(180deg)}.qw-select-menu{z-index:120;border:1px solid var(--qw-border);background:var(--qw-surface);max-height:280px;box-shadow:var(--qw-shadow-xl);border-radius:12px;gap:4px;padding:6px;animation:.14s cubic-bezier(.16,1,.3,1) qw-dropdown-in;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto}.qw-select-menu::-webkit-scrollbar{width:8px}.qw-select-menu::-webkit-scrollbar-track{background:0 0}.qw-select-menu::-webkit-scrollbar-thumb{background:#64748b5c padding-box padding-box;border:2px solid #0000;border-radius:999px}.qw-select-option{width:100%;min-height:36px;color:var(--qw-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:.9rem;font-weight:550;display:flex}.qw-select-option:hover,.qw-select-option:focus-visible{background:var(--qw-accent-soft);color:var(--qw-accent);outline:none}.qw-select-option--selected{color:var(--qw-accent);background:#0f766e14;font-weight:700}.qw-select-option:disabled{cursor:not-allowed;opacity:.45}.qw-glass{-webkit-backdrop-filter:blur(12px);background:#ffffffb3}@keyframes fadeIn{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeScale{0%{opacity:0;transform:scale(.96)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.animate-in{animation:.6s cubic-bezier(.16,1,.3,1) forwards fadeScale}.animate-stagger-1{opacity:0;animation-delay:50ms;animation-fill-mode:forwards}.animate-stagger-2{opacity:0;animation-delay:.1s;animation-fill-mode:forwards}.animate-stagger-3{opacity:0;animation-delay:.15s;animation-fill-mode:forwards}.animate-stagger-4{opacity:0;animation-delay:.2s;animation-fill-mode:forwards}.animate-stagger-5{opacity:0;animation-delay:.25s;animation-fill-mode:forwards}.qw-badge{letter-spacing:.02em;border-radius:999px;align-items:center;padding:2px 10px;font-size:.72rem;font-weight:600;line-height:1.4;display:inline-flex}.qw-badge--default{background:var(--qw-accent-soft);color:var(--qw-accent)}.qw-badge--success{background:var(--qw-success-soft);color:var(--qw-success)}.qw-badge--warning{background:var(--qw-warning-soft);color:var(--qw-warning)}.qw-badge--muted{background:var(--qw-surface-nested);color:var(--qw-muted);border:1px solid var(--qw-border)}.qw-badge--danger{background:var(--qw-danger-soft);color:var(--qw-danger)}.qw-skeleton{background:linear-gradient(90deg,#f1f5f9 0%,#e2e8f0 50%,#f1f5f9 100%) 0 0/200% 100%;border-radius:8px;min-height:1em;animation:1.2s ease-in-out infinite qw-shimmer}@keyframes qw-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.qw-separator{background:var(--qw-border);width:100%;height:1px;margin:12px 0}.qw-separator-vertical{background:var(--qw-border);align-self:stretch;width:1px;min-height:24px}.qw-table-wrap{border:1px solid var(--qw-border);background:var(--qw-surface);border-radius:12px;width:100%;overflow-x:auto}.qw-table{border-collapse:collapse;width:100%;font-size:.875rem}.qw-table__th{text-align:left;color:var(--qw-muted);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--qw-border);background:var(--qw-surface-nested);padding:12px 16px;font-size:.75rem;font-weight:600}.qw-table__td{border-bottom:1px solid var(--qw-border);color:var(--qw-text);padding:14px 16px}.qw-table__row:last-child .qw-table__td{border-bottom:none}.qw-table__row:hover .qw-table__td{background:var(--qw-surface-nested)}.qw-tabs-list{background:#f1f5f9;border-radius:10px;gap:4px;padding:4px;display:inline-flex}.qw-tabs-trigger{color:var(--qw-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:8px 16px;font-family:inherit;font-size:.875rem;font-weight:600;transition:color .15s,background .15s}.qw-tabs-trigger:hover{color:var(--qw-text)}.qw-tabs-trigger[data-state=active]{color:var(--qw-text);box-shadow:var(--qw-shadow-sm);background:#fff}.qw-tabs-content{outline:none;margin-top:16px}.qw-dialog-overlay{z-index:50;background:#0f172a73;animation:.15s ease-out qw-fade-in;position:fixed;inset:0}.qw-dialog-content{z-index:51;background:var(--qw-surface);border-radius:var(--qw-radius);border:1px solid var(--qw-border);width:min(520px,100vw - 32px);max-height:min(85vh,720px);box-shadow:var(--qw-shadow-xl);padding:24px;animation:.18s ease-out qw-zoom-in;position:fixed;top:50%;left:50%;overflow-y:auto;translate:-50% -50%}.qw-dialog-close{width:36px;height:36px;color:var(--qw-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;display:flex;position:absolute;top:16px;right:16px}.qw-dialog-close:hover{background:var(--qw-bg);color:var(--qw-text)}.qw-dialog-title{font-family:var(--qw-font-display);margin:0 0 8px;padding-right:40px;font-size:1.35rem;font-weight:700}.qw-dialog-description{color:var(--qw-muted);margin:0;font-size:.95rem;line-height:1.5}@keyframes qw-fade-in{0%{opacity:0}to{opacity:1}}@keyframes qw-zoom-in{0%{opacity:0;transform:translate(-50%,-48%)scale(.98)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}.qw-sheet-overlay{z-index:50;background:#0f172a59;animation:.15s ease-out qw-fade-in;position:fixed;inset:0}.qw-sheet-content{z-index:51;background:var(--qw-surface);border-left:1px solid var(--qw-border);width:min(440px,100vw);height:100vh;padding:56px 24px 24px;animation:.22s cubic-bezier(.4,0,.2,1) qw-slide-in-right;position:fixed;top:0;right:0;box-shadow:-8px 0 40px #00000014}.qw-sheet-content--left{border-left:none;border-right:1px solid var(--qw-border);animation-name:qw-slide-in-left;left:0;right:auto}.qw-sheet-close{width:36px;height:36px;color:var(--qw-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;display:flex;position:absolute;top:16px;right:16px}.qw-sheet-close:hover{background:var(--qw-bg)}.qw-sheet-header{flex-direction:column;gap:8px;margin-bottom:32px;display:flex}.qw-sheet-footer{flex-direction:row;justify-content:flex-end;gap:12px;margin-top:40px;display:flex}.qw-sheet-title{font-family:var(--qw-font-display);margin:0 0 8px;font-size:1.2rem;font-weight:700}.qw-sheet-description{color:var(--qw-muted);margin:0 0 20px;font-size:.9rem}@keyframes qw-slide-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes qw-slide-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}.qw-dropdown-content{z-index:100;min-width:max(220px, var(--radix-dropdown-menu-trigger-width,0px));max-width:min(360px,100vw - 24px);max-height:min(var(--radix-dropdown-menu-content-available-height,420px), 420px);background:var(--qw-surface);border:1px solid var(--qw-border);box-shadow:var(--qw-shadow-xl);transform-origin:var(--radix-dropdown-menu-content-transform-origin);border-radius:12px;padding:6px;animation:.14s cubic-bezier(.16,1,.3,1) qw-dropdown-in;overflow:auto}.qw-dropdown-content::-webkit-scrollbar{width:8px}.qw-dropdown-content::-webkit-scrollbar-track{background:0 0}.qw-dropdown-content::-webkit-scrollbar-thumb{background:#64748b5c padding-box padding-box;border:2px solid #0000;border-radius:999px}.qw-dropdown-item{min-height:36px;color:var(--qw-text);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:8px;outline:none;align-items:center;gap:8px;padding:8px 10px;font-size:.875rem;font-weight:500;transition:background .12s,color .12s,transform .12s;display:flex;position:relative}.qw-dropdown-item[data-highlighted],.qw-dropdown-subtrigger[data-highlighted]{background:var(--qw-accent-soft);color:var(--qw-accent)}.qw-dropdown-item[data-disabled]{opacity:.45;pointer-events:none}.qw-dropdown-item[data-state=checked]{color:var(--qw-accent);background:#0f766e14;font-weight:650}.qw-dropdown-item--inset{padding-left:28px}.qw-dropdown-item--choice{padding-left:32px}.qw-dropdown-item-indicator{width:14px;color:var(--qw-accent);justify-content:center;align-items:center;display:flex;position:absolute;left:10px}.qw-dropdown-label{text-transform:uppercase;letter-spacing:.05em;color:var(--qw-muted);padding:6px 10px 4px;font-size:.7rem;font-weight:700}.qw-dropdown-sep{background:var(--qw-border);height:1px;margin:6px 4px}.qw-dropdown-subtrigger{min-height:36px;color:var(--qw-text);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:8px;outline:none;align-items:center;gap:8px;padding:8px 10px;font-size:.875rem;font-weight:500;transition:background .12s,color .12s;display:flex}@keyframes qw-dropdown-in{0%{opacity:0;transform:scale(.97)translateY(-2px)}to{opacity:1;transform:scale(1)translateY(0)}}@media (prefers-reduced-motion:reduce){.qw-dropdown-content{animation:none}}
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}.absolute{position:absolute}.relative{position:relative}.static{position:static}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.break-all{word-break:break-all}.uppercase{text-transform:uppercase}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:root{--background:#0a0a0f;--foreground:#fafafa;--card:#12121a;--card-foreground:#fafafa;--popover:#12121a;--popover-foreground:#fafafa;--primary:#6366f1;--primary-foreground:#fff;--secondary:#1e1e2e;--secondary-foreground:#fafafa;--muted:#1e1e2e;--muted-foreground:#a1a1aa;--accent:#8b5cf6;--accent-foreground:#fff;--destructive:#ef4444;--destructive-foreground:#fff;--border:#27273a;--input:#27273a;--ring:#6366f1;--radius:.5rem}*{box-sizing:border-box}html,body{background:var(--background);max-width:100vw;color:var(--foreground);overflow-x:hidden}.agent-layout{grid-template-columns:260px 1fr;min-height:100vh;display:grid}.agent-sidebar{background:var(--card);border-right:1px solid var(--border);flex-direction:column;gap:1.5rem;padding:1.5rem 1rem;display:flex}.agent-main{padding:2rem;overflow-y:auto}.agent-nav-link{border-radius:var(--radius);color:var(--muted-foreground);align-items:center;gap:.75rem;padding:.75rem 1rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.agent-nav-link:hover,.agent-nav-link--active{background:var(--muted);color:var(--foreground)}.agent-nav-badge{background:var(--primary);color:var(--primary-foreground);border-radius:9999px;margin-left:auto;padding:.125rem .5rem;font-size:.75rem}.agent-signin-container{background:linear-gradient(135deg, var(--background) 0%, #151520 100%);justify-content:center;align-items:center;min-height:100vh;padding:2rem;display:flex}.agent-signin-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);width:100%;max-width:420px;padding:2.5rem}.agent-signin-header{text-align:center;margin-bottom:2rem}.agent-signin-header h1{margin-bottom:.5rem;font-size:1.5rem;font-weight:600}.agent-signin-header p{color:var(--muted-foreground);font-size:.875rem}.agent-signin-form{flex-direction:column;gap:1rem;display:flex}.agent-signin-hint{background:var(--muted);border-radius:var(--radius);color:var(--muted-foreground);text-align:center;margin-top:1.5rem;padding:1rem;font-size:.75rem}.agent-stats-grid{grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2rem;display:grid}.agent-stat-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem}.agent-stat-value{color:var(--primary);font-size:2rem;font-weight:700}.agent-stat-label{color:var(--muted-foreground);margin-top:.25rem;font-size:.875rem}.agent-stat-change{margin-top:.5rem;font-size:.75rem}.agent-stat-change--positive{color:#22c55e}.agent-stat-change--negative{color:#ef4444}.agent-queue{background:var(--card);border:1px solid var(--border);border-radius:var(--radius)}.agent-queue-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.agent-queue-tabs{gap:.5rem;display:flex}.agent-ticket-header{justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;display:flex}.agent-ticket-title{margin-bottom:.75rem;font-size:1.5rem;font-weight:600}.agent-ticket-meta{align-items:center;gap:.5rem;display:flex}.agent-ticket-content{grid-template-columns:1fr 320px;gap:1.5rem;display:grid}.agent-ticket-conversation{flex-direction:column;gap:1rem;display:flex}.agent-ticket-note{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1rem}.agent-ticket-note--internal{border-left:3px solid #f59e0b}.agent-ticket-note-header{align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.agent-ticket-note-avatar{background:var(--muted);border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:.75rem;font-weight:600;display:flex}.agent-ticket-note-author{font-size:.875rem;font-weight:500}.agent-ticket-note-time{color:var(--muted-foreground);font-size:.75rem}.agent-ticket-reply-box{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1rem}.agent-ticket-sidebar{flex-direction:column;gap:1rem;display:flex}.agent-ticket-sidebar-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1rem}.agent-ticket-sidebar-title{align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.875rem;font-weight:600;display:flex}.agent-chat-layout{flex:1;display:flex;overflow:hidden}.agent-chat-sidebar{border-right:1px solid var(--border);background:var(--card);flex-direction:column;width:320px;display:flex}.agent-chat-sidebar-header{border-bottom:1px solid var(--border);padding:1rem}.agent-chat-sidebar-title{margin-bottom:.75rem;font-size:1.25rem;font-weight:600}.agent-chat-list{flex:1;overflow-y:auto}.agent-chat-list-item{border:none;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;gap:.75rem;width:100%;padding:.75rem 1rem;transition:background .15s;display:flex}.agent-chat-list-item:hover,.agent-chat-list-item--active{background:var(--muted)}.agent-chat-list-avatar{background:var(--muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-weight:600;display:flex}.agent-chat-list-info{flex:1;min-width:0}.agent-chat-list-name{margin-bottom:.25rem;font-size:.875rem;font-weight:500}.agent-chat-list-preview{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.agent-chat-main{background:var(--background);flex-direction:column;flex:1;display:flex}.agent-chat-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.agent-chat-header-info{align-items:center;gap:.75rem;display:flex}.agent-chat-messages{flex-direction:column;flex:1;gap:1rem;padding:1.25rem;display:flex;overflow-y:auto}.agent-chat-message{max-width:70%;display:flex}.agent-chat-message--agent{align-self:flex-end}.agent-chat-message--customer{align-self:flex-start}.agent-chat-message--system{align-self:center;max-width:90%}.agent-chat-message-bubble{background:var(--card);border:1px solid var(--border);border-radius:1rem;padding:.75rem 1rem}.agent-chat-message--agent .agent-chat-message-bubble{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.agent-chat-message--system .agent-chat-message-bubble{background:var(--muted);border-style:dashed;font-size:.875rem}.agent-chat-message-time{opacity:.7;margin-top:.25rem;font-size:.65rem;display:block}.agent-chat-input-area{border-top:1px solid var(--border);background:var(--card);padding:1rem 1.25rem}.agent-chat-input-actions{gap:.5rem;margin-bottom:.75rem;display:flex}.agent-chat-info-panel{border-left:1px solid var(--border);background:var(--card);width:280px;padding:1rem;overflow-y:auto}.agent-customer-search{gap:.75rem;margin-bottom:1.5rem;display:flex}.agent-customer-search-input{flex:1;position:relative}.agent-customer-search-icon{color:var(--muted-foreground);pointer-events:none;position:absolute;top:50%;left:.75rem;transform:translateY(-50%)}.agent-customer-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.75rem;padding:1rem}.agent-customer-card-header{gap:1rem;margin-bottom:1rem;display:flex}.agent-customer-avatar{background:var(--muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.25rem;font-weight:600;display:flex}.agent-customer-info{flex:1;min-width:0}.agent-customer-name{margin-bottom:.25rem;font-size:1.1rem;font-weight:600}.agent-customer-email{color:var(--muted-foreground);font-size:.875rem}.agent-customer-workspace{align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.875rem;display:flex}.agent-customer-stats{gap:1.5rem;margin-bottom:1rem;font-size:.875rem;display:flex}.agent-customer-actions{gap:.5rem;display:flex}.agent-kb-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.agent-kb-stats{grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.5rem;display:grid}.agent-kb-stat-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1rem}.agent-kb-stat-icon{color:var(--primary);margin-bottom:.5rem}.agent-kb-stat-value{font-size:1.5rem;font-weight:700}.agent-kb-stat-label{color:var(--muted-foreground);font-size:.875rem}.agent-kb-filters{gap:.75rem;margin-bottom:1.5rem;display:flex}.agent-kb-article-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.75rem;padding:1rem}.agent-kb-article-header{gap:.5rem;margin-bottom:.5rem;display:flex}.agent-kb-article-title{margin-bottom:.5rem;font-size:1.1rem;font-weight:600}.agent-kb-article-excerpt{color:var(--muted-foreground);margin-bottom:.75rem;font-size:.875rem;line-height:1.5}.agent-kb-article-meta{color:var(--muted-foreground);align-items:center;gap:1rem;font-size:.75rem;display:flex}.agent-status-grid{grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2rem;display:grid}.agent-status-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem}.agent-status-card--operational{border-left:4px solid #22c55e}.agent-status-card--degraded{border-left:4px solid #f59e0b}.agent-status-card--outage{border-left:4px solid #ef4444}.agent-status-service-name{margin-bottom:.5rem;font-weight:600}.agent-status-indicator{align-items:center;gap:.5rem;font-size:.875rem;display:flex}.agent-status-indicator-dot{border-radius:50%;width:8px;height:8px}.agent-status-indicator-dot--operational{background:#22c55e}.agent-status-indicator-dot--degraded{background:#f59e0b}.agent-status-indicator-dot--outage{background:#ef4444}.agent-flex{display:flex}.agent-flex-col{flex-direction:column}.agent-gap-2{gap:.5rem}.agent-gap-4{gap:1rem}.agent-mb-4{margin-bottom:1rem}.agent-text-muted{color:var(--muted-foreground)}.agent-text-sm{font-size:.875rem}.agent-text-xs{font-size:.75rem}.agent-font-medium{font-weight:500}.agent-font-semibold{font-weight:600}.agent-queue-tab{color:var(--muted-foreground);border-radius:var(--radius);cursor:pointer;background:0 0;border:none;padding:.5rem 1rem;font-size:.875rem;font-weight:500;transition:all .15s}.agent-queue-tab:hover,.agent-queue-tab--active{color:var(--foreground);background:var(--muted)}.agent-ticket-list{flex-direction:column;display:flex}.agent-ticket-item{border-bottom:1px solid var(--border);color:inherit;grid-template-columns:80px 1fr 120px 100px 140px;align-items:center;gap:1rem;padding:1rem 1.25rem;text-decoration:none;transition:background .15s;display:grid}.agent-ticket-item:hover{background:var(--muted)}.agent-ticket-item:last-child{border-bottom:none}.agent-ticket-id{color:var(--muted-foreground);font-family:monospace;font-size:.875rem}.agent-ticket-title{font-size:.875rem;font-weight:500}.agent-ticket-meta{color:var(--muted-foreground);margin-top:.25rem;font-size:.75rem}.agent-ticket-priority,.agent-ticket-status,.agent-ticket-assignee{text-align:center;border-radius:9999px;padding:.25rem .75rem;font-size:.75rem;font-weight:500}.agent-ticket-priority--critical{color:#ef4444;background:#ef444433}.agent-ticket-priority--high{color:#f97316;background:#f9731633}.agent-ticket-priority--medium{color:#eab308;background:#eab30833}.agent-ticket-priority--low{color:#22c55e;background:#22c55e33}.agent-ticket-status--open{color:#6366f1;background:#6366f133}.agent-ticket-status--in-progress{color:#8b5cf6;background:#8b5cf633}.agent-ticket-status--waiting{color:#a1a1aa;background:#a1a1aa33}.agent-ticket-status--resolved{color:#22c55e;background:#22c55e33}@media (max-width:1024px){.agent-layout{grid-template-columns:1fr}.agent-sidebar{display:none}.agent-stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.agent-ticket-item{grid-template-columns:1fr;gap:.5rem}.agent-stats-grid{grid-template-columns:1fr}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
