:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.5;font-weight:400;color:var(--color-text);background-color:var(--color-page);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-height:100vh;background-color:var(--color-page)}#root{min-height:100vh}.app-shell{min-height:100vh;background:var(--color-page);color:var(--color-text)}.app-nav{position:sticky;top:0;z-index:10;background:var(--color-surface);border-bottom:1px solid var(--color-border);box-shadow:var(--shadow-nav);padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.app-nav-user{display:flex;align-items:center;gap:.5rem}.app-nav-user-meta{display:flex;flex-direction:column;line-height:1.2}.app-nav-user-name{font-weight:600}.app-nav-user-subline{font-size:.85rem;color:var(--color-muted)}.app-brand{display:flex;align-items:center;gap:.8rem;text-decoration:none;color:inherit}.app-brand:hover .app-brand-title{color:var(--color-primary)}.app-brand-mark{width:42px;height:42px;border-radius:12px;background:var(--color-primary);color:#fff;font-weight:600;display:flex;align-items:center;justify-content:center;letter-spacing:.08em}.app-brand-eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.7rem;color:var(--color-muted);margin:0}.app-brand-title{margin:.1rem 0 0;font-size:1.1rem;font-weight:600;color:var(--color-text-strong)}.app-nav-links{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.app-nav-group{position:relative}.app-nav-group.has-children .app-nav-link{padding-right:2rem}.app-nav-label{display:inline-flex;align-items:center;gap:.3rem}.app-nav-caret{font-size:.9rem;margin-left:.25rem;opacity:.6}.app-nav-link{text-decoration:none;padding:.45rem .9rem;border-radius:999px;font-weight:500;color:var(--color-muted);transition:background .2s ease,color .2s ease}.app-nav-link:hover{background:var(--color-surface-muted);color:var(--color-text)}.app-nav-link.active{background:var(--color-primary-soft);color:var(--color-primary)}.app-nav-dropdown{position:absolute;left:0;top:calc(100% + .35rem);background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;box-shadow:var(--shadow-elevated);min-width:180px;padding:.4rem;display:none;flex-direction:column;gap:.25rem;z-index:15}.app-nav-group:hover .app-nav-dropdown,.app-nav-group:focus-within .app-nav-dropdown{display:flex}.app-nav-sub-link{text-decoration:none;color:var(--color-text);padding:.5rem .65rem;border-radius:10px;display:block;transition:background .2s ease,color .2s ease;font-weight:500}.app-nav-sub-link:hover{background:var(--color-surface-muted);color:var(--color-text-strong)}.app-nav-sub-link.active{background:var(--color-primary-soft);color:var(--color-primary)}.app-main{padding:2rem 1.5rem 4rem}.app-main-content{width:min(1200px,100%);margin:0 auto}.theme-switcher{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-end;gap:.5rem;z-index:20}.theme-toggle{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-strong);padding:.6rem .9rem;border-radius:999px;cursor:pointer;font-weight:600;box-shadow:var(--shadow-panel);transition:border-color .2s ease,transform .15s ease}.theme-toggle:hover{border-color:var(--color-border-strong);transform:translateY(-1px)}.theme-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:.8rem .9rem;box-shadow:var(--shadow-panel);min-width:260px;display:grid;gap:.9rem}.theme-panel-section{display:grid;gap:.45rem}.theme-mode-toggle{border:1px solid var(--color-border);background:var(--color-surface-muted);color:var(--color-text);border-radius:12px;padding:.5rem .6rem;cursor:pointer;display:flex;align-items:center;gap:.65rem;width:100%;text-align:left;transition:border-color .2s ease,transform .15s ease}.theme-mode-toggle:hover{border-color:var(--color-border-strong);transform:translateY(-1px)}.theme-mode-track{width:50px;height:30px;border-radius:999px;background:var(--color-toggle-track);box-shadow:inset 0 2px 7px #0f172a33;padding:3px;display:flex;align-items:center;flex:0 0 auto;transition:background .2s ease}.theme-mode-knob{width:24px;height:24px;border-radius:50%;background:var(--color-toggle-knob);box-shadow:0 6px 14px #0f172a47;transition:transform .2s ease}.theme-mode-copy{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem}.theme-mode-copy strong{font-size:.9rem}.theme-mode-copy span{font-size:.76rem;color:var(--color-muted)}.theme-mode-toggle.active .theme-mode-track{background:var(--color-primary)}.theme-mode-toggle.active .theme-mode-knob{transform:translate(20px)}.theme-options{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.4rem}.theme-chip{border:none;color:#fff;padding:.55rem .75rem;border-radius:10px;cursor:pointer;font-weight:700;opacity:.9;transition:transform .1s ease,opacity .1s ease}.theme-chip:hover{opacity:1;transform:translateY(-1px)}.theme-chip.active{outline:2px solid var(--color-border);box-shadow:var(--color-focus-ring)}@media(max-width:640px){.app-nav{flex-direction:column;align-items:flex-start;gap:1rem}.app-nav-links,.app-nav-group{width:100%}.app-nav-dropdown{position:static;width:100%;margin-top:.35rem;box-shadow:none}.app-main{padding:1.5rem 1rem 3rem}}:root{--status-working: #22c55e;--status-traveling: #3b82f6;--status-available: #10b981;--status-break: #f59e0b;--status-offline: #6b7280;--status-blocked: #ef4444;--sla-healthy: #22c55e;--sla-warning: #f59e0b;--sla-breached: #ef4444;--schedule-completed: #22c55e;--schedule-in-progress: #3b82f6;--schedule-scheduled: #6b7280;--schedule-missed: #ef4444}.dashboard-page{padding:1.5rem;max-width:1400px;margin:0 auto}.page-header{margin-bottom:1.5rem}.page-header h1{margin:0 0 .25rem;font-size:1.75rem;font-weight:600}.page-subtitle{margin:0;color:var(--color-muted);font-size:.875rem}.dashboard-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-bottom:1.5rem;padding:1rem;background:var(--color-surface);border-radius:8px;border:1px solid var(--color-border)}.summary-loading{grid-column:1 / -1;text-align:center;color:var(--color-muted);padding:1rem}.summary-section h4{margin:0 0 .75rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--color-muted)}.summary-stats{display:flex;gap:1rem;flex-wrap:wrap}.stat-item{display:flex;flex-direction:column;align-items:center;padding:.5rem .75rem;background:var(--color-page);border-radius:6px;min-width:60px}.stat-value{font-size:1.5rem;font-weight:700;line-height:1.2}.stat-label{font-size:.7rem;color:var(--color-muted);text-transform:uppercase}.stat-item.stat-working .stat-value{color:var(--status-working)}.stat-item.stat-traveling .stat-value{color:var(--status-traveling)}.stat-item.stat-available .stat-value{color:var(--status-available)}.stat-item.stat-blocked .stat-value{color:var(--status-blocked)}.stat-item.stat-warning .stat-value{color:var(--sla-warning)}.stat-item.stat-breached .stat-value{color:var(--sla-breached)}.stat-item.stat-completed .stat-value{color:var(--schedule-completed)}.stat-item.stat-in-progress .stat-value{color:var(--schedule-in-progress)}.stat-item.stat-unassigned .stat-value{color:var(--status-blocked)}.dashboard-tabs{display:flex;gap:.25rem;margin-bottom:1rem;border-bottom:2px solid var(--color-border);padding-bottom:0}.tab-btn{padding:.75rem 1.25rem;border:none;background:transparent;font-size:.875rem;font-weight:500;color:var(--color-muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .15s ease}.tab-btn:hover{color:var(--color-text)}.tab-btn.active{color:var(--color-primary);border-bottom-color:var(--color-primary)}.dashboard-content{background:var(--color-surface);border-radius:8px;border:1px solid var(--color-border);padding:1.25rem;min-height:400px}.tab-loading,.empty-state{text-align:center;color:var(--color-muted);padding:3rem}.schedule-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;flex-wrap:wrap;gap:1rem}.date-controls{display:flex;align-items:center;gap:1rem}.date-input{padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:6px;background:var(--color-page);font-size:.875rem}.view-toggle{display:flex;border:1px solid var(--color-border);border-radius:6px;overflow:hidden}.toggle-btn{padding:.5rem 1rem;border:none;background:var(--color-page);font-size:.8rem;cursor:pointer;transition:all .15s ease}.toggle-btn:not(:last-child){border-right:1px solid var(--color-border)}.toggle-btn.active{background:var(--color-primary);color:#fff}.schedule-stats-inline{display:flex;gap:.5rem}.stat-badge{padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:500}.stat-badge.completed{background:#22c55e1a;color:var(--schedule-completed)}.stat-badge.in-progress{background:#3b82f61a;color:var(--schedule-in-progress)}.stat-badge.upcoming{background:#6b72801a;color:var(--schedule-scheduled)}.schedule-grid{display:flex;flex-direction:column;gap:1rem}.staff-schedule-row{border:1px solid var(--color-border);border-radius:8px;overflow:hidden}.staff-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:var(--color-page);border-bottom:1px solid var(--color-border)}.staff-name{font-weight:600}.schedule-count{font-size:.75rem;color:var(--color-muted)}.schedule-items{display:flex;flex-wrap:wrap;gap:.75rem;padding:1rem}.schedule-card{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;background:var(--color-page);border-radius:6px;border-left:3px solid var(--color-border);min-width:250px;flex:1;max-width:400px}.schedule-card.schedule-completed{border-left-color:var(--schedule-completed)}.schedule-card.schedule-in-progress{border-left-color:var(--schedule-in-progress)}.schedule-card.schedule-scheduled{border-left-color:var(--schedule-scheduled)}.schedule-card.schedule-missed{border-left-color:var(--schedule-missed)}.schedule-time{font-weight:600;font-size:.875rem;white-space:nowrap;min-width:70px}.schedule-content{display:flex;flex-direction:column;gap:.25rem;flex:1;min-width:0}.schedule-ticket-link{font-weight:600;color:var(--color-primary);text-decoration:none}.schedule-ticket-link:hover{text-decoration:underline}.schedule-subject{font-size:.875rem;color:var(--color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-client,.schedule-location{font-size:.75rem;color:var(--color-muted)}.schedule-status-badge{font-size:.7rem;padding:.2rem .4rem;border-radius:4px;text-transform:capitalize;white-space:nowrap}.schedule-status-badge.completed{background:#22c55e26;color:var(--schedule-completed)}.schedule-status-badge.in_progress{background:#3b82f626;color:var(--schedule-in-progress)}.schedule-status-badge.scheduled{background:#6b728026;color:var(--schedule-scheduled)}.schedule-status-badge.missed{background:#ef444426;color:var(--schedule-missed)}.tech-summary-bar{display:flex;gap:.5rem;margin-bottom:1.25rem;flex-wrap:wrap}.summary-badge{padding:.35rem .75rem;border-radius:9999px;font-size:.8rem;font-weight:500}.summary-badge.working{background:#22c55e26;color:var(--status-working)}.summary-badge.traveling{background:#3b82f626;color:var(--status-traveling)}.summary-badge.available{background:#10b98126;color:var(--status-available)}.summary-badge.blocked{background:#ef444426;color:var(--status-blocked)}.tech-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.tech-card{background:var(--color-page);border-radius:8px;border:1px solid var(--color-border);overflow:hidden;transition:box-shadow .15s ease}.tech-card:hover{box-shadow:var(--shadow-panel)}.tech-card.blocked{border-color:var(--status-blocked);border-width:2px}.tech-card-header{display:flex;align-items:center;gap:.75rem;padding:1rem;border-bottom:1px solid var(--color-border)}.tech-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0}.tech-avatar img{width:100%;height:100%;object-fit:cover}.avatar-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--color-primary);color:#fff;font-weight:600;font-size:1rem}.tech-info{flex:1;min-width:0}.tech-name{display:block;font-weight:600;font-size:.9rem}.tech-department{display:block;font-size:.75rem;color:var(--color-muted)}.status-indicator{padding:.25rem .5rem;border-radius:9999px;font-size:.7rem;font-weight:600;text-transform:uppercase}.status-indicator.status-working{background:#22c55e26;color:var(--status-working)}.status-indicator.status-traveling{background:#3b82f626;color:var(--status-traveling)}.status-indicator.status-available{background:#10b98126;color:var(--status-available)}.status-indicator.status-break{background:#f59e0b26;color:var(--status-break)}.status-indicator.status-offline{background:#6b728026;color:var(--status-offline)}.tech-card-body{padding:1rem;min-height:60px}.current-work{display:flex;flex-direction:column;gap:.25rem}.current-ticket-link{font-weight:600;color:var(--color-primary);text-decoration:none}.current-ticket-link:hover{text-decoration:underline}.current-ticket-subject{font-size:.875rem;color:var(--color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-client{font-size:.75rem;color:var(--color-muted)}.current-location{font-size:.875rem;color:var(--color-muted)}.block-warning{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:#ef44441a;border-radius:4px;margin-top:.5rem}.block-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;background:var(--status-blocked);color:#fff;border-radius:50%;font-size:.75rem;font-weight:700}.block-reason{font-size:.8rem;color:var(--status-blocked)}.tech-card-footer{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:var(--color-surface);border-top:1px solid var(--color-border);font-size:.75rem;color:var(--color-muted)}.tickets-tab{padding:2rem}.tickets-redirect{text-align:center}.tickets-redirect p{margin-bottom:1rem;color:var(--color-muted)}@media(max-width:768px){.dashboard-page{padding:1rem}.dashboard-summary{grid-template-columns:1fr}.schedule-controls{flex-direction:column;align-items:stretch}.date-controls{flex-direction:column}.schedule-stats-inline{justify-content:center}.schedule-card{max-width:none}.tech-cards-grid{grid-template-columns:1fr}}.client-directory{max-width:1200px;margin:0 auto;padding:2rem 1.5rem 4rem}.client-directory .page-header{display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;align-items:flex-start}.client-directory .client-directory-actions{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}.client-directory .eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.75rem;color:var(--color-muted-soft);margin:0 0 .25rem}.client-directory .panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:16px;padding:1.5rem;margin-top:1.5rem;box-shadow:var(--shadow-panel)}.client-directory .search-row{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}.client-directory .search-row input,.client-directory .search-row select{border:1px solid var(--color-border);border-radius:10px;padding:.65rem .85rem;font-size:1rem;background:var(--color-surface-muted);color:var(--color-text);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.client-directory .search-row input{flex:1 1 340px;min-width:200px}.client-directory .search-row select{flex:0 0 auto;min-width:220px}.client-directory .search-row input::placeholder{color:var(--color-muted)}.client-directory .search-row input:focus,.client-directory .search-row select:focus{border-color:var(--color-primary);outline:none;box-shadow:var(--color-focus-ring)}.client-directory .sort-control{display:flex;align-items:center;gap:.5rem}.client-directory .sort-control label{color:var(--color-muted);font-weight:600}.client-directory .filter-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.client-directory .list-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;align-items:center}.client-directory .chips-inline{display:flex;flex-wrap:wrap;gap:.4rem}.client-directory .pagination{display:flex;align-items:center;gap:.7rem}.client-directory .pagination button{border-radius:999px;border:1px solid var(--color-border-strong);background:var(--color-surface);padding:.4rem .8rem;cursor:pointer}.client-directory .table-wrapper{overflow-x:auto;margin-top:1rem}.client-directory table{width:100%;border-collapse:collapse}.client-directory table th{font-size:.85rem;text-transform:uppercase;letter-spacing:.12em;color:var(--color-muted-soft);text-align:left;padding:.4rem .5rem}.client-directory table td{padding:.65rem .5rem;border-top:1px solid var(--color-border);vertical-align:top}.client-directory table td.account-number{font-family:var(--font-mono, "SFMono-Regular", Consolas, "Liberation Mono", monospace);white-space:nowrap;color:var(--color-text-strong)}.client-directory .contact-inline a{color:var(--color-primary);text-decoration:none}.client-directory .contact-inline a:hover{text-decoration:underline}@media(max-width:640px){.client-directory .page-header{flex-direction:column}.client-directory .search-row{flex-direction:column;align-items:stretch}}.client-create.layout{max-width:960px;margin:0 auto;padding:2rem 1.5rem 4rem;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--color-text)}.client-create header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:2rem}.client-create .platform{text-transform:uppercase;font-size:.75rem;letter-spacing:.12em;color:var(--color-muted);margin:0 0 .4rem}.client-create .api-target{margin:0;font-size:.85rem;color:var(--color-muted)}.client-create .card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:var(--shadow-panel)}.client-create .form-section{margin-bottom:1.5rem}.client-create .form-section h3{margin:0 0 .75rem;font-size:1rem;color:var(--color-text-strong)}.client-create .form-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.client-create label{display:flex;flex-direction:column;font-size:.9rem;font-weight:500;color:var(--color-text-strong);gap:.4rem}.client-create input,.client-create select,.client-create textarea{border-radius:8px;border:1px solid var(--color-border);padding:.65rem .75rem;font-size:1rem;font-family:inherit;background:var(--color-surface);color:var(--color-text)}.client-create input:focus,.client-create select:focus,.client-create textarea:focus{border-color:var(--color-primary);outline:none;box-shadow:var(--color-focus-ring)}.client-create .form-actions{display:flex;gap:.75rem;margin-top:.5rem}.client-create button{border-radius:8px;border:none;padding:.65rem 1.2rem;font-size:.95rem;font-weight:600;background-color:var(--color-primary);color:#fff;cursor:pointer;transition:background .2s ease}.client-create button:hover:enabled{background-color:var(--color-primary-dark);color:#fff}.client-create button:disabled{opacity:.6;cursor:not-allowed}.client-create button.ghost{background:var(--color-surface-muted);color:var(--color-text-strong)}.client-create .section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}.client-create .service-grid{display:grid;gap:.4rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.client-create .service-pill{display:inline-flex;flex-direction:column;align-items:center;gap:.15rem;padding:.65rem 1rem;border-radius:999px;background:var(--color-surface-muted);border:1px solid transparent;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}.client-create .service-pill span{color:var(--color-text-strong);font-size:.88rem;font-weight:600;line-height:1.2;text-align:center}.client-create .service-pill small{display:block;font-weight:400;color:var(--color-muted);font-size:.74rem;text-align:center}.client-create .service-pill:hover{background:var(--color-primary-soft)}.client-create .service-pill.selected{background:var(--color-primary-soft-strong);border-color:rgb(var(--color-primary-rgb) / .45);color:var(--color-primary)}.client-create .notes-section textarea{width:100%;max-width:calc(100% - 1rem);margin-right:auto;min-height:140px}.client-create .field-error{color:var(--color-danger-strong);font-size:.8rem;margin:.2rem 0 0}.client-create .error-list{margin:.5rem 0 0 1.2rem;padding:0;color:var(--color-danger-strong);list-style:disc}.client-create .error-list li{margin-bottom:.2rem}.client-create .has-error input,.client-create .has-error select{border-color:var(--color-danger-strong)}.client-create .client-list{margin:.5rem 0 0 1.2rem;padding:0;list-style:disc}.client-create .client-name-link{font-weight:600;color:var(--color-primary);text-decoration:none}.client-create .client-name-link:hover{text-decoration:underline}.client-create .client-list li{margin-bottom:.65rem}.client-create .client-list li:last-child{margin-bottom:0}.client-create .client-list strong{font-size:.95rem;color:var(--color-text-strong)}.client-create .client-list .meta{margin:.15rem 0 0;font-size:.82rem;color:var(--color-muted);line-height:1.3}@media(max-width:640px){.client-create header{flex-direction:column}.client-create .form-actions{flex-direction:column;align-items:stretch}}.client-profile{max-width:1000px;margin:0 auto;padding:2rem 1.5rem 4rem}.client-profile .back-link{display:inline-flex;align-items:center;gap:.25rem;color:var(--color-primary);text-decoration:none;font-weight:600;margin-bottom:1rem}.client-profile .profile-header{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;padding:1.5rem;background:var(--color-surface);border-radius:14px;border:1px solid var(--color-border)}.client-profile .profile-header-main{flex:1;min-width:220px}.client-profile .profile-header-actions{display:flex;align-items:flex-start;gap:.75rem;flex-wrap:wrap}.client-profile .profile-header .summary-grid{flex-basis:100%}.client-profile .summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.client-profile .account-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem;margin-top:1rem}.client-profile .account-meta .meta-value{font-weight:600;color:var(--color-text-strong)}.client-profile .profile-tabs{display:flex;gap:1rem;margin:1.5rem 0 .25rem;border-bottom:1px solid var(--color-border)}.client-profile .tab-link{padding:.75rem .25rem;text-decoration:none;color:var(--color-muted);border-bottom:3px solid transparent}.client-profile .tab-link.active{color:var(--color-text-strong);border-bottom-color:var(--color-primary)}.client-profile .profile-tab-panel{background:var(--color-surface);border-radius:16px;border:1px solid var(--color-border);padding:1.5rem}.client-profile .pill-group{display:flex;gap:8px;margin-top:8px}.client-profile .pill{padding:6px 10px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-text);cursor:pointer}.client-profile .pill.active{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.client-profile .invoice-preview{margin-top:1rem;padding:1rem;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);display:grid;gap:1rem}.client-profile .invoice-top{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.client-profile .invoice-meta-block h2{margin:0 0 4px}.client-profile .invoice-summary-block{display:flex;gap:16px;align-items:flex-start}.client-profile .invoice-totals{align-self:flex-end;justify-self:flex-end;min-width:220px;border:1px solid var(--color-border);border-radius:8px;padding:.75rem;background:var(--color-surface)}.client-profile .invoice-totals .totals-row{display:flex;justify-content:space-between;padding:4px 0}.client-profile .invoice-totals .totals-row.total{border-top:1px solid var(--color-border);margin-top:6px;padding-top:8px;font-weight:700}.client-profile .stacked{display:flex;flex-direction:column;gap:2px}.client-profile .tiny{font-size:.8rem}.client-profile .overview-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.client-profile .info-card{border:1px solid var(--color-border);border-radius:12px;padding:1.25rem;background:var(--color-surface);display:flex;flex-direction:column;gap:.75rem}.client-profile .info-card.full-width{grid-column:1 / -1}.client-profile .metadata-list{margin:0;padding:0;list-style:none;display:grid;gap:.65rem}.client-profile .metadata-list div{display:flex;justify-content:space-between;gap:.5rem;font-size:.95rem}.client-profile .metadata-list dt{margin:0;color:var(--color-muted);font-size:.85rem}.client-profile .metadata-list dd{margin:0;font-weight:600;color:var(--color-text-strong);text-align:right}.client-profile .info-block{background:var(--color-surface-muted);border-radius:10px;padding:.75rem 1rem}.client-profile .info-block p{margin:.15rem 0}.client-profile .clamped-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.client-profile .service-badges{display:flex;flex-wrap:wrap;gap:.5rem}.client-profile .service-badge{border-radius:999px;padding:.25rem .75rem;background:var(--color-surface-muted);font-size:.85rem}.client-profile .key-contacts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.client-profile .link-button.small{font-size:.85rem;align-self:flex-start;padding:.25rem 0}.client-profile .pagination{margin-top:12px;display:flex;gap:12px;align-items:center}.client-profile .contact-card{border:1px solid var(--color-border);border-radius:12px;padding:1rem;display:flex;flex-direction:column;gap:.2rem}.client-profile .stat-list{list-style:none;padding:0;margin:0}.client-profile .stat-list li{padding:.4rem 0;border-bottom:1px solid var(--color-surface-muted)}.client-profile .client-edit-panel{margin:1.5rem 0;padding:1.5rem;border-radius:16px;border:1px solid var(--color-border);background:var(--color-surface)}.client-profile .client-edit-panel h2{margin-top:0}.invoice-page{padding:2rem}.invoice-nav{margin-bottom:1rem}.data-table .description-cell{white-space:pre-line}.data-table th,.data-table td{vertical-align:top}.invoice-shell{background:#fff;border:1px solid #d7e3ec;border-radius:14px;padding:1.5rem;box-shadow:0 16px 40px #0f172a14;display:flex;flex-direction:column;gap:1rem}.invoice-banner{display:grid;grid-template-columns:1fr auto auto;gap:1rem;align-items:center;background:#e6f4fb;border:1px solid #c3e4f7;border-radius:10px;padding:.75rem 1rem}.banner-title{font-size:1.2rem;font-weight:800;color:#0c84c4;text-transform:uppercase}.banner-meta{display:flex;flex-direction:column;gap:4px;align-items:flex-end}.meta-line{display:flex;gap:8px;font-size:.95rem;color:#0f172a}.meta-line .label{font-weight:600;color:#0c84c4}.invoice-number-badge{background:#0c84c4;color:#fff;padding:.5rem .9rem;border-radius:8px;font-weight:800;font-size:1.6rem;letter-spacing:.02em;justify-self:end;box-shadow:0 6px 16px #0c84c44d}.company-strip{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem;border:1px solid #d7e3ec;border-radius:10px;background:linear-gradient(90deg,#f5fbff,#f9fdff)}.brand{display:flex;gap:1rem;align-items:center}.brand-logo{width:120px;height:auto;object-fit:contain}.brand-text{display:flex;flex-direction:column;gap:2px}.company-name{font-weight:800;font-size:1.1rem;color:#0f172a}.company-line{font-size:.95rem;color:#334155}.brand-contact{text-align:right;min-width:220px;color:#334155}.addresses-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.address-block{min-height:100%}.contact-block{text-align:right}.eyebrow{font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;font-weight:700;color:#0f172a;margin-bottom:4px}.strong{font-weight:700}.invoice-meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem}.meta-card{border:1px solid #e2e8f0;border-radius:10px;padding:.75rem;background:#f8fafc}.invoice-total-box{min-width:240px;border:1px solid var(--color-border);border-radius:10px;padding:.75rem 1rem;background:var(--color-surface)}.totals-row{display:flex;justify-content:space-between;padding:4px 0}.totals-row.total{border-top:1px solid var(--color-border);margin-top:6px;padding-top:8px;font-weight:700}.invoice-footer{display:flex;justify-content:space-between;gap:1rem;align-items:center}.invoice-footer .note{flex:1}.ticket-create.layout{max-width:960px;margin:0 auto;padding:2rem 1.5rem 4rem;color:var(--color-text)}.ticket-create header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:2rem}.ticket-create h1{margin:.2rem 0}.ticket-create .platform{text-transform:uppercase;font-size:.78rem;letter-spacing:.14em;color:var(--color-muted);margin:0}.ticket-create .api-target{margin:0;font-size:.9rem;color:var(--color-muted)}.ticket-create .card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:var(--shadow-panel)}.ticket-create .card.secondary{background:var(--color-surface-muted)}.ticket-create .card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.ticket-create .form{display:flex;flex-direction:column;gap:1rem}.ticket-create .form-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:flex-end}.ticket-create label{display:flex;flex-direction:column;gap:.4rem;font-weight:600;color:var(--color-text-strong);font-size:.95rem}.ticket-create label.checkbox{flex-direction:row;align-items:center;gap:.6rem}.ticket-create label span{font-weight:600}.ticket-create input,.ticket-create select,.ticket-create textarea{border-radius:10px;border:1px solid var(--color-border);padding:.7rem .85rem;font-size:1rem;font-family:inherit;background:var(--color-surface);color:var(--color-text);transition:border-color .15s ease,box-shadow .15s ease}.ticket-create input:focus,.ticket-create select:focus,.ticket-create textarea:focus{border-color:var(--color-primary);outline:none;box-shadow:var(--color-focus-ring)}.ticket-create .inline-field{display:flex;gap:.5rem;flex-direction:column;position:relative}.ticket-create .inline-form{display:none;margin-top:.75rem;padding:.75rem;border-radius:12px;border:1px dashed var(--color-border);background:var(--color-surface-muted);grid-column:1 / -1;width:100%}.ticket-create .inline-form .form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.ticket-create .inline-form .form-actions{justify-content:flex-start;flex-wrap:wrap;gap:.6rem}.ticket-create .inline-form.open{display:block}.ticket-create .assignment-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;align-items:end}.ticket-create .assignment-chips{display:flex;flex-wrap:wrap;gap:.5rem}.ticket-create .assignment-chips .chip{display:inline-flex;align-items:center;gap:.35rem}.ticket-create .assignment-chips .chip button{border:none;background:transparent;cursor:pointer;font-weight:700}.ticket-create .stacked textarea{min-height:140px}.ticket-create .form-actions{display:flex;gap:.75rem;margin-top:.5rem}.ticket-create button{border-radius:8px;border:none;padding:.75rem 1.2rem;font-size:.95rem;font-weight:700;background-color:var(--color-primary);color:#fff;cursor:pointer;transition:background .2s ease,transform .1s ease}.ticket-create button:hover:enabled{background-color:var(--color-primary-dark)}.ticket-create button:disabled{opacity:.65;cursor:not-allowed}.ticket-create button.ghost{background:var(--color-surface-muted);color:var(--color-text-strong)}.ticket-create .banner{border-radius:10px;padding:.9rem 1rem;margin:.25rem 0 1rem;font-weight:600}.ticket-create .banner.success{background:var(--color-success-bg);color:var(--color-success);border:1px solid var(--color-success-border)}.ticket-create .banner.error{background:var(--color-danger-bg);color:var(--color-danger-strong);border:1px solid var(--color-danger-border)}.ticket-create .link{color:var(--color-primary);text-decoration:none;font-weight:700}.ticket-create .link:hover{text-decoration:underline}.ticket-create .pill{border-radius:999px;padding:.4rem .85rem;background:var(--color-surface-muted);color:var(--color-muted);font-weight:600}.ticket-create .pill.ghost{background:transparent;border:1px solid var(--color-border)}.ticket-create .tips{list-style:disc;padding-left:1.2rem;margin:.5rem 0 0;color:var(--color-text);line-height:1.5}.ticket-create .tips .muted{color:var(--color-muted)}.ticket-create .suggestion-list{position:absolute;top:100%;left:0;right:0;z-index:5;display:flex;flex-direction:column;gap:.3rem;max-height:220px;overflow-y:auto;background:var(--color-surface);border:1px solid var(--color-border);border-radius:10px;padding:.35rem;margin-top:.25rem;box-shadow:0 12px 30px #0f172a14}.ticket-create .suggestion{display:flex;align-items:center;gap:.5rem;padding:.55rem .75rem;border-radius:8px;background:transparent;border:none;text-align:left;cursor:pointer;color:var(--color-text);transition:background .1s ease,transform .05s ease}.ticket-create .suggestion .index{width:2rem;color:var(--color-muted);font-weight:700}.ticket-create .suggestion .name{font-weight:700;color:var(--color-text-strong)}.ticket-create .suggestion .code{margin-left:auto;font-size:.85rem;color:var(--color-muted)}.ticket-create .suggestion:hover,.ticket-create .suggestion:focus-visible{background:var(--color-primary-soft)}.ticket-create .suggestion.selected{background:var(--color-primary-soft-strong);border:1px solid rgb(var(--color-primary-rgb) / .45)}.ticket-create .suggestion:disabled{opacity:.6;cursor:not-allowed}.ticket-create .selected-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem .8rem;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-strong);border:1px solid var(--color-border)}@media(max-width:720px){.ticket-create header{flex-direction:column}.ticket-create .form-actions,.ticket-create .card-header{flex-direction:column}}.settings.layout{max-width:1200px;margin:0 auto;padding:2rem 1.5rem 4rem;color:var(--color-text)}.settings header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:2rem}.settings h1{margin:.25rem 0}.settings .platform{text-transform:uppercase;font-size:.78rem;letter-spacing:.14em;color:var(--color-muted);margin:0}.settings .api-target{margin:0;font-size:.9rem;color:var(--color-muted)}.settings .settings-tabs{display:inline-flex;gap:.5rem;margin-bottom:1rem}.settings .settings-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}.settings .tab{border:1px solid var(--color-border);background:var(--color-surface);padding:.6rem 1rem;border-radius:10px;cursor:pointer;font-weight:600;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:inherit}.settings .tab.active{border-color:var(--color-primary);color:var(--color-primary);box-shadow:0 8px 20px rgb(var(--color-primary-rgb) / .2)}.settings .card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-panel)}.settings .card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.settings .card-header-actions{display:flex;align-items:center;gap:.75rem}.settings .pill{border-radius:999px;padding:.45rem .9rem;background:var(--color-surface-muted);color:var(--color-muted);font-weight:600}.settings .pill.success{background:var(--color-success-bg);color:var(--color-success);border:1px solid var(--color-success-border)}.settings .pill.warning{background:var(--color-warning-bg);color:var(--color-warning);border:1px solid var(--color-border)}.settings .banner.error{background:var(--color-danger-bg);color:var(--color-danger-strong);border:1px solid var(--color-danger-border);border-radius:10px;padding:.9rem 1rem;margin-bottom:1rem;font-weight:600}.settings .banner.success{background:var(--color-success-bg);color:var(--color-success);border:1px solid var(--color-success-border);border-radius:10px;padding:.9rem 1rem;margin-bottom:1rem;font-weight:600}.settings .banner.warning{background:var(--color-warning-bg);color:var(--color-warning);border:1px solid var(--color-border);border-radius:10px;padding:.9rem 1rem;margin-bottom:1rem;font-weight:600}.settings table{width:100%;border-collapse:collapse}.settings th,.settings td{padding:.75rem;text-align:left}.settings tbody tr:nth-child(2n){background:var(--color-surface-muted)}.settings .badge{text-transform:none}.settings .strong{font-weight:700;color:var(--color-text-strong)}.settings-staff-table th{font-size:.95rem;color:var(--color-muted);letter-spacing:.01em}.settings-staff-table td{vertical-align:top}.settings-staff-table td.actions{text-align:right}.status-stack{display:flex;flex-direction:column;gap:.35rem;align-items:flex-start;margin-bottom:.35rem}.skill-chips{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.contact-line{line-height:1.4}.staff-form-overlay{position:fixed;inset:0;background:#0f172a66;display:flex;justify-content:flex-end;z-index:30}.staff-form-panel{width:min(560px,100%);background:var(--color-surface);border-left:1px solid var(--color-border);box-shadow:-10px 0 30px #0f172a2e;padding:1.5rem;overflow-y:auto}.staff-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.staff-form{display:flex;flex-direction:column;gap:1rem}.staff-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}.staff-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;color:var(--color-text)}.staff-form input,.staff-form select,.staff-form textarea{padding:.55rem .65rem;border-radius:8px;border:1px solid var(--color-border);font-size:1rem;background:var(--color-surface);color:var(--color-text)}.staff-form textarea{resize:vertical}.staff-form .checkbox-row{flex-direction:row;align-items:center;gap:.6rem;font-weight:600}.staff-form .full-span{grid-column:1 / -1}.admin-settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.admin-settings-panel{display:flex;flex-direction:column;gap:.75rem;padding:1rem;border-radius:12px;border:1px solid var(--color-border);background:var(--color-surface-muted)}.admin-settings-panel label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;color:var(--color-text)}.admin-settings-panel input,.admin-settings-panel select,.admin-settings-panel textarea{padding:.55rem .65rem;border-radius:8px;border:1px solid var(--color-border);font-size:1rem;background:var(--color-surface);color:var(--color-text)}.admin-settings-panel textarea{resize:vertical}.admin-settings-panel .checkbox-row{flex-direction:row;align-items:center;gap:.6rem;font-weight:600}.admin-settings-panel .full-span{grid-column:1 / -1}.recipient-actions{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.recipient-actions-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.recipient-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.65rem;padding:.65rem;border-radius:10px;border:1px solid var(--color-border);background:var(--color-surface)}.recipient-item-card{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;font-weight:500;border:1px solid var(--color-border);border-radius:10px;padding:.55rem .7rem;background:var(--color-surface-muted)}.recipient-item-card .toggle-switch{padding:0}.recipient-item-card .toggle-label{font-size:.95rem}.recipient-item-disabled{opacity:.65}.form-actions{display:flex;justify-content:flex-end;gap:.75rem}.action-buttons{display:flex;gap:.5rem;justify-content:flex-end}.danger-btn{color:var(--color-danger)!important;border-color:var(--color-danger-border)!important}.danger-btn:hover{background:var(--color-danger-bg)!important}.permission-groups{display:flex;flex-direction:column;gap:1rem}.permission-group-card{border:1px solid var(--color-border);border-radius:10px;padding:1rem;background:var(--color-surface-muted)}.permission-group-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.permission-checkboxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.permission-category{display:flex;flex-direction:column;gap:.35rem}.permission-category-label{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--color-muted);margin-bottom:.25rem}.group-meta-edit{display:flex;flex-direction:column;gap:.5rem}.group-meta-input,.group-meta-textarea{border-radius:8px;border:1px solid var(--color-border);padding:.5rem .65rem;font-size:.95rem;font-weight:600;background:var(--color-surface);color:var(--color-text-strong)}.group-meta-textarea{font-weight:500;resize:vertical}.permission-checkbox{display:flex;align-items:center;gap:.5rem;font-weight:500;cursor:pointer}.permission-checkbox input{width:1rem;height:1rem;cursor:pointer}.group-save-row{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--color-border);display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.group-members{display:flex;flex-direction:column;gap:.75rem}.group-members-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.group-member-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.group-member-card{border:1px solid var(--color-border);border-radius:10px;padding:.75rem;background:var(--color-surface);display:flex;align-items:center;justify-content:space-between;gap:1rem}.member-picker-list{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.member-picker-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem;border-radius:10px;border:1px solid var(--color-border);background:var(--color-surface-muted)}.staff-groups-list{display:flex;flex-direction:column;gap:.75rem}.staff-groups-list .permission-checkbox{padding:.5rem;border-radius:6px;background:var(--color-surface-muted)}@media(max-width:720px){.settings header{flex-direction:column}.settings .card-header{flex-direction:column}.staff-form-panel{width:100%}.action-buttons{flex-direction:column}}.login-page{position:relative;min-height:100vh;overflow:hidden;background:#020811;color:#f5fbff}.login-page__stars{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0}.login-page__frame{position:absolute;inset:0;pointer-events:none;z-index:2}.login-page__title-block{position:relative;z-index:2;padding:clamp(1.25rem,3vw,2.4rem);max-width:24rem}.login-page__eyebrow{margin:0 0 .6rem;text-transform:uppercase;letter-spacing:.24em;font-size:.76rem;color:#cce7ffbd}.login-page__title-block h1{margin:0;font-size:clamp(3rem,5vw,5.6rem);line-height:.9;letter-spacing:-.04em;font-family:Iowan Old Style,Palatino Linotype,Book Antiqua,Georgia,serif;text-wrap:balance;text-shadow:0 10px 30px rgb(0 0 0 / .4)}.login-page__nexus{position:absolute;left:50%;top:50%;z-index:3;width:clamp(6.5rem,14vmin,9.25rem);aspect-ratio:1;border:none;border-radius:50%;background:transparent;cursor:pointer;transform:translate(-50%,-50%);transition:transform .18s ease,filter .18s ease,opacity .18s ease}.login-page__nexus:disabled{cursor:wait;opacity:.92}.login-page__nexus:hover:not(:disabled),.login-page__nexus:focus-visible{transform:translate(-50%,calc(-50% - .45rem)) scale(1.04);filter:brightness(1.06);outline:none}.login-page__nexus:active:not(:disabled){transform:translate(-50%,calc(-50% - .18rem)) scale(.98)}.login-page__nexus-halo,.login-page__nexus-core{position:absolute;inset:50%;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.login-page__nexus-halo--outer{width:100%;height:100%;border:1px solid rgb(112 242 255 / .4);box-shadow:0 0 0 .7rem #70f2ff0f,0 0 2.8rem #3be0ff66,0 0 5.5rem #28b4ff2e,inset 0 0 1.4rem #3be0ff14;animation:nexusPulse 3.8s ease-in-out infinite}.login-page__nexus-ring{position:absolute;inset:50%;width:82%;height:82%;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;background:conic-gradient(rgb(70 210 255 / .8) 0deg 24deg,transparent 24deg 60deg,rgb(70 210 255 / .8) 60deg 84deg,transparent 84deg 120deg,rgb(70 210 255 / .8) 120deg 144deg,transparent 144deg 180deg,rgb(70 210 255 / .8) 180deg 204deg,transparent 204deg 240deg,rgb(70 210 255 / .8) 240deg 264deg,transparent 264deg 300deg,rgb(70 210 255 / .8) 300deg 324deg,transparent 324deg 360deg);-webkit-mask:radial-gradient(transparent 43%,black 44.5%,black 55.5%,transparent 57%);mask:radial-gradient(transparent 43%,black 44.5%,black 55.5%,transparent 57%);filter:drop-shadow(0 0 .45rem rgb(80 230 255 / .75));animation:nexusSpinCCW 16s linear infinite}.login-page__nexus-halo--inner{width:64%;height:64%;border:1.5px solid rgb(214 248 255 / .82);box-shadow:0 0 1.6rem #67f2ffa6,inset 0 0 1rem #ffffff1f;animation:nexusSpin 9s linear infinite}.login-page__nexus-core{width:40%;height:40%;background:radial-gradient(circle at 38% 32%,#fff,#edfcff 14%,#72f6ff 34%,#10ccf5 58%,#006898 80%,#0020441f);box-shadow:0 0 .7rem .3rem #6ef5ff,0 0 2rem .6rem #37daffd1,0 0 4.2rem 1rem #19a0f085,0 0 8.5rem 2rem #085ac347,inset 0 0 .6rem #ffffff4d;animation:coreBreath 2.4s ease-in-out infinite}.login-page__nexus-label{position:absolute;left:50%;top:calc(100% + 1rem);transform:translate(-50%) translateY(-.35rem);white-space:nowrap;padding:.7rem 1.1rem;border-radius:999px;border:1px solid rgb(140 186 217 / .22);background:#05101db8;box-shadow:0 16px 36px #0208124d,inset 0 1px #ffffff0d;color:#eff8ff;font-size:.88rem;font-weight:700;letter-spacing:.01em;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);opacity:0;transition:opacity .18s ease,transform .18s ease}.login-page__nexus:hover .login-page__nexus-label,.login-page__nexus:focus-visible .login-page__nexus-label,.login-page__nexus[aria-busy=true] .login-page__nexus-label{opacity:.92;transform:translate(-50%) translateY(0)}.login-page__banner{position:absolute;left:50%;z-index:4;width:min(32rem,calc(100vw - 2rem));transform:translate(-50%);padding:.9rem 1rem;border-radius:1rem;border:1px solid transparent;background:#0f172ac7;box-shadow:0 16px 34px #02081247;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.login-page__banner p{margin:0;color:#e8f3ffe6}.login-page__banner code{padding:.08rem .32rem;border-radius:999px;background:#ffffff14;color:#fff6dd}.login-page__banner--warning{border-color:#f59e0b47;background:#78350f6b}.login-page__banner--danger{border-color:#f8717152;background:#7f1d1d85}.login-page__banner--top{top:1.25rem}.login-page__banner--bottom{bottom:1.25rem}.login-page__banner--centered{top:calc(50% + clamp(5.5rem,12vmin,7.25rem))}.login-page__frame-corner{position:absolute;width:2.25rem;height:2.25rem;border-color:#99c6e63d}.login-page__frame-corner--tl{top:1.25rem;left:1.25rem;border-top:1px solid;border-left:1px solid}.login-page__frame-corner--tr{top:1.25rem;right:1.25rem;border-top:1px solid;border-right:1px solid}.login-page__frame-corner--bl{bottom:1.25rem;left:1.25rem;border-bottom:1px solid;border-left:1px solid}.login-page__frame-corner--br{bottom:1.25rem;right:1.25rem;border-bottom:1px solid;border-right:1px solid}@keyframes nexusPulse{0%,to{transform:translate(-50%,-50%) scale(.96);opacity:.74}50%{transform:translate(-50%,-50%) scale(1.06);opacity:1}}@keyframes nexusSpin{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes nexusSpinCCW{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(-360deg)}}@keyframes coreBreath{0%,to{transform:translate(-50%,-50%) scale(.92);filter:brightness(.8)}50%{transform:translate(-50%,-50%) scale(1.08);filter:brightness(1.22)}}@media(max-width:900px){.login-page__title-block{max-width:16rem}.login-page__title-block h1{font-size:clamp(2.5rem,10vw,4rem)}}@media(max-width:640px){.login-page__title-block{padding:1rem;max-width:13rem}.login-page__eyebrow{font-size:.68rem;letter-spacing:.18em}.login-page__title-block h1{font-size:clamp(2.2rem,12vw,3.25rem)}.login-page__nexus{width:clamp(6rem,26vw,7rem)}.login-page__nexus-label{font-size:.8rem;padding:.6rem .9rem}.login-page__frame-corner{width:1.5rem;height:1.5rem}.login-page__frame-corner--tl,.login-page__frame-corner--tr{top:.75rem}.login-page__frame-corner--bl,.login-page__frame-corner--br{bottom:.75rem}.login-page__frame-corner--tl,.login-page__frame-corner--bl{left:.75rem}.login-page__frame-corner--tr,.login-page__frame-corner--br{right:.75rem}}@media(hover:none){.login-page__nexus-label{opacity:.88;transform:translate(-50%) translateY(0)}}@media(prefers-reduced-motion:reduce){.login-page__nexus-halo--outer,.login-page__nexus-ring,.login-page__nexus-halo--inner,.login-page__nexus-core,.login-page__nexus-orrery--a,.login-page__nexus-orrery--b,.login-page__net-pulse{animation:none}}.login-page__nexus-orrery{position:absolute;left:50%;top:50%;width:158%;height:158%;border-radius:50%;pointer-events:none}.login-page__nexus-orrery--a{border:1.5px solid rgb(210 172 65 / .76);box-shadow:0 0 .7rem #c8a23247;animation:orreryA 9s linear infinite}.login-page__nexus-orrery--b{border:1px solid rgb(180 148 55 / .54);box-shadow:0 0 .5rem #b996322e;animation:orreryB 14s linear infinite}@keyframes orreryA{0%{transform:translate(-50%,-50%) rotate(-18deg) scaleY(.26) rotate(0)}to{transform:translate(-50%,-50%) rotate(-18deg) scaleY(.26) rotate(360deg)}}@keyframes orreryB{0%{transform:translate(-50%,-50%) rotate(38deg) scaleY(.32) rotate(0)}to{transform:translate(-50%,-50%) rotate(38deg) scaleY(.32) rotate(-360deg)}}.login-page__network{position:absolute;inset:0;z-index:1;pointer-events:none}.login-page__network-svg{position:absolute;inset:0;width:100%;height:100%}.login-page__net-line{stroke:#be9b3a2e;stroke-width:.14;fill:none}.login-page__net-pulse{stroke:#cdb250b8;stroke-width:.2;stroke-linecap:round;fill:none;stroke-dasharray:7 93;stroke-dashoffset:100;animation:netPulse 3.8s linear infinite}@keyframes netPulse{to{stroke-dashoffset:-100}}.login-page__node{position:absolute;transform:translate(-50%,-50%);width:clamp(.65rem,1.6vmin,1rem);height:clamp(.65rem,1.6vmin,1rem);border-radius:50%;border:1px solid rgb(205 168 65 / .62);background:#060e1ce0;box-shadow:0 0 .55rem #c39e3752,inset 0 0 .28rem #d2ac4124}.modal-overlay{position:fixed;inset:0;background:#0f172a66;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:var(--color-surface, #ffffff);border-radius:16px;max-width:560px;width:100%;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 50px #0f172a26}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:1.25rem 1.5rem;border-bottom:1px solid var(--color-border, #e2e8f0)}.modal-header h2{margin:0 0 .25rem;font-size:1.25rem;color:var(--color-text-strong, #0f172a)}.close-btn{background:none;border:none;color:var(--color-muted, #64748b);font-size:1.5rem;cursor:pointer;padding:0;line-height:1}.close-btn:hover{color:var(--color-text, #111827)}.modal-body{flex:1;overflow-y:auto;padding:1.5rem}.modal-footer{padding:1rem 1.5rem;border-top:1px solid var(--color-border, #e2e8f0);display:flex;justify-content:flex-end;gap:.75rem}.recommendations-list{display:flex;flex-direction:column;gap:.75rem}.recommendation-card{background:var(--color-surface-muted, #f1f5f9);border:1px solid var(--color-border, #e2e8f0);border-radius:12px;padding:1rem}.recommendation-card.recommended{border-color:var(--color-primary, #2563eb);border-width:2px;background:var(--color-primary-soft, #eff6ff)}.rec-main{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.rec-info{flex:1;min-width:0}.rec-name{font-weight:600;font-size:1rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;color:var(--color-text-strong, #0f172a)}.recommended-badge{background:var(--color-primary, #2563eb);color:#fff;font-size:.7rem;padding:.2rem .6rem;border-radius:999px;font-weight:600}.rec-meta{margin-top:.25rem;color:var(--color-muted, #64748b);font-size:.85rem}.rec-reasoning{margin-top:.35rem;font-style:italic;color:var(--color-muted, #64748b);font-size:.85rem}.rec-score{text-align:center;padding:.5rem;min-width:60px}.score-value{font-size:1.5rem;font-weight:700}.score-label{font-size:.7rem;text-transform:uppercase;color:var(--color-muted, #64748b);letter-spacing:.05em}.score-high{color:var(--color-success, #15803d)}.score-medium{color:var(--color-warning, #a16207)}.score-low{color:var(--color-danger, #dc2626)}.rec-actions{margin-top:.75rem;display:flex;justify-content:flex-end}.rec-actions button{min-width:100px}.modal-body .banner.error{background:var(--color-danger-bg, #fef2f2);border:1px solid var(--color-danger-border, #fecaca);color:var(--color-danger-strong, #b91c1c);padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem}.queue.layout{max-width:1080px;margin:0 auto;padding:2rem 1.5rem 4rem}.queue header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}.queue .controls .control-row{display:flex;gap:.75rem;align-items:flex-end}.queue .controls label{display:flex;flex-direction:column;gap:.4rem;font-weight:600}.queue select{padding:.65rem .75rem;border:1px solid var(--color-border);border-radius:10px}.queue .grid{display:grid;grid-template-columns:2fr 1fr;gap:1rem;margin-top:1rem}.queue .staff-panel{border-left:1px solid var(--color-border);padding-left:1rem}.queue .staff-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.queue .staff-list .strong{font-weight:700}.queue .staff-list .muted{margin-top:.1rem}.queue .card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.queue .badge.priority-critical{background:#fee2e2;color:#b91c1c}.queue .badge.priority-important{background:#fef9c3;color:#a16207}.queue .badge.priority-normal{background:#e0f2fe;color:#0369a1}.queue .badge.priority-low{background:#f1f5f9;color:#475569}.queue .badge.sla{margin-left:.3rem;background:#e0f2fe;color:#0ea5e9}.queue .primary-btn.small{padding:.4rem .8rem;border-radius:8px}@media(max-width:960px){.queue .grid{grid-template-columns:1fr}.queue .staff-panel{border-left:none;padding-left:0}}.ticket-detail.layout{max-width:1200px;margin:0 auto;padding:2rem 1.5rem 4rem}.ticket-detail header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.ticket-detail .title-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.ticket-detail .header-top{display:flex;align-items:flex-end;gap:1.5rem;flex-wrap:wrap;margin-bottom:.35rem}.ticket-detail .header-left{display:flex;align-items:flex-end;gap:1.5rem;flex-wrap:wrap}.ticket-detail .client-block{display:flex;flex-direction:column;gap:.1rem}.ticket-detail .client-label{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--color-muted)}.ticket-detail .client-name{font-size:1.45rem;font-weight:700;color:var(--color-primary);text-decoration:none}.ticket-detail .client-name:hover{text-decoration:underline}.ticket-detail .assignee-pill-row{display:flex;flex-direction:column;align-items:flex-end;gap:.2rem;margin-left:auto}.ticket-detail .pill-row{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}.ticket-detail .pill{border-radius:999px;padding:.35rem .75rem;background:var(--color-surface-muted);color:var(--color-text-strong);font-weight:700;text-transform:capitalize;border:1px solid transparent}.ticket-detail .pill-button{cursor:pointer;font:inherit}.ticket-detail .pill.strong{text-transform:none}.ticket-detail .pill.ghost{background:transparent;border-color:var(--color-border);color:var(--color-muted)}.ticket-detail .pill.status{background:var(--color-primary-soft);color:var(--color-primary)}.ticket-detail .pill.tier{background:#f0f9ff;color:#0c4a6e}.ticket-detail .pill.updated-pill{font-size:.85rem;font-weight:600}.ticket-detail .pill.priority-critical{background:var(--color-danger-bg);color:var(--color-danger-strong)}.ticket-detail .pill.priority-important{background:var(--color-warning-bg);color:var(--color-warning)}.ticket-detail .pill.priority-normal{background:#e0f2fe;color:#075985}.ticket-detail .pill.priority-low{background:#ecfeff;color:#0f172a}.ticket-detail .pill.sla{background:var(--color-warning-bg);color:var(--color-warning)}.ticket-detail .pill.queue-hot{background:var(--color-success-bg);color:var(--color-success)}.ticket-detail .pill.queue-warm{background:var(--color-warning-bg);color:var(--color-warning)}.ticket-detail .pill.queue-on-hold{background:var(--color-neutral-bg);color:var(--color-neutral-strong)}.ticket-detail .header-actions{display:flex;align-items:flex-start;gap:.65rem;margin-top:.4rem}.ticket-detail .card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-panel)}.ticket-detail .overview-section{padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.ticket-detail .overview-section:last-child{border-bottom:none;padding-bottom:0}.ticket-detail .ticket-detail-grid{display:grid;grid-template-columns:2fr 1.1fr;gap:1rem}.ticket-detail .span-2{grid-column:1 / -1}.ticket-detail .card-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.75rem}.ticket-detail .card-header-left,.ticket-detail .card-header-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.ticket-detail .start-job{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}.ticket-detail .start-job .primary-btn{padding:.7rem 1.2rem;font-weight:700;font-size:1.05rem}.ticket-detail .card-header h3{margin:0}.ticket-detail .overview-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem 1rem;margin-bottom:.75rem}.ticket-detail .overview-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.ticket-detail .info-cell{padding-right:1rem;border-right:1px solid var(--color-border)}.ticket-detail .info-cell:last-child{border-right:none;padding-right:0}.ticket-detail .meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem 1rem}.ticket-detail .label{font-size:.85rem;color:var(--color-muted)}.ticket-detail .value{font-weight:600;margin-top:.2rem}.ticket-detail .contact-phone{display:flex;flex-direction:column;gap:.2rem;margin-top:.35rem}.ticket-detail .contact-phone a{color:var(--color-primary);text-decoration:none;font-weight:600}.ticket-detail .contact-phone a:hover{text-decoration:underline}.ticket-detail .phone-label{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--color-muted)}.ticket-detail .description-section{padding-bottom:0;background:var(--color-surface-muted);border-radius:12px;padding:1rem 1.25rem 1.5rem;margin-bottom:1rem}.ticket-detail .description-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;width:100%}.ticket-detail .description-row>div{display:flex;flex-direction:column;align-items:flex-start;gap:.6rem}.ticket-detail .description-row p{margin:0}.ticket-detail .overview-details,.ticket-detail .overview-details .overview-info-grid{margin-top:.75rem}.ticket-detail .details-toggle{display:flex;align-items:center;justify-content:flex-end;gap:.4rem;cursor:pointer;color:var(--color-primary);font-weight:600;list-style:none;width:100%}.ticket-detail .details-toggle::-webkit-details-marker{display:none}.ticket-detail .details-icon:before{content:"+";display:inline-block;font-weight:700}.ticket-detail .overview-details[open] .details-icon:before{content:"-"}.ticket-detail .details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem 1rem;margin-top:.75rem}.ticket-detail .description{margin-top:1rem}.ticket-detail .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;align-items:flex-end}.ticket-detail label{display:flex;flex-direction:column;gap:.4rem;font-weight:600;color:var(--color-text-strong);font-size:.95rem}.ticket-detail label.checkbox{flex-direction:row;align-items:center;gap:.5rem}.ticket-detail input,.ticket-detail select,.ticket-detail textarea{border-radius:10px;border:1px solid var(--color-border);padding:.7rem .85rem;font-size:1rem;font-family:inherit;background:var(--color-surface);color:var(--color-text);transition:border-color .15s ease,box-shadow .15s ease}.ticket-detail textarea{resize:vertical}.ticket-detail input:focus,.ticket-detail select:focus,.ticket-detail textarea:focus{border-color:var(--color-primary);outline:none;box-shadow:var(--color-focus-ring)}.ticket-detail .form-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.ticket-detail .assignment-form{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:1rem}.ticket-detail .assignment-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.ticket-detail .force-assign-section{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--color-border)}.ticket-detail .force-assign-header{margin-bottom:.75rem}.ticket-detail .assignment-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.ticket-detail .assignment-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.ticket-detail .attachments-block{display:flex;flex-direction:column;gap:1rem}.ticket-detail .attachment-filters{display:flex;flex-wrap:wrap;gap:.5rem}.ticket-detail .attachment-filter-btn{border:1px solid var(--color-border);background:var(--color-surface);border-radius:999px;padding:.35rem .75rem;font-weight:600;display:inline-flex;align-items:center;gap:.4rem;cursor:pointer}.ticket-detail .attachment-filter-btn span{background:var(--color-surface-muted);border-radius:999px;padding:.1rem .45rem;font-size:.8rem;font-weight:700}.ticket-detail .attachment-filter-btn.active{border-color:var(--color-primary);color:var(--color-primary)}.ticket-detail .attachment-modal-backdrop{position:fixed;inset:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:50}.ticket-detail .attachment-modal{width:min(640px,100%);background:var(--color-surface);border-radius:16px;border:1px solid var(--color-border);box-shadow:var(--shadow-panel);padding:1.25rem;display:grid;gap:1rem}.ticket-detail .signoff-modal{width:min(720px,100%)}.ticket-detail .cancel-modal,.ticket-detail .complete-modal,.ticket-detail .signoff-email-modal{width:min(560px,100%)}.ticket-detail .signoff-email-modal .stacked{display:grid;gap:.35rem}.ticket-detail .signoff-email-details{max-width:none}.ticket-detail .complete-method-options{display:grid;gap:.75rem}.ticket-detail .complete-method-option{display:grid;grid-template-columns:auto 1fr;align-items:flex-start;gap:.75rem;border:1px solid var(--color-border);border-radius:12px;padding:.75rem;background:var(--color-surface-muted)}.ticket-detail .complete-method-option.selected{border-color:var(--color-primary);background:#10b98114}.ticket-detail .complete-method-option input{margin-top:.2rem}.ticket-detail .complete-method-option strong{display:block;margin-bottom:.25rem}.ticket-detail .complete-method-option p{margin:0}.ticket-detail .cancel-modal-form{display:grid;gap:.75rem}.ticket-detail .cancel-modal-form textarea{min-height:120px}.ticket-detail .attachment-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ticket-detail .attachment-modal-header h4{margin:0}.ticket-detail .attachment-modal-close{border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:999px;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;font-weight:700}.ticket-detail .attachment-modal-close:disabled{opacity:.6;cursor:not-allowed}.ticket-detail .attachment-preview-backdrop{position:fixed;inset:0;background:#0f172ab3;display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:55}.ticket-detail .attachment-preview-modal{width:min(920px,100%);background:var(--color-surface);border-radius:18px;border:1px solid var(--color-border);box-shadow:var(--shadow-panel);padding:1.25rem;display:grid;gap:1rem}.ticket-detail .attachment-preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ticket-detail .attachment-preview-header h4{margin:0}.ticket-detail .attachment-preview-body{background:var(--color-surface-muted);border-radius:14px;padding:.75rem;display:flex;align-items:center;justify-content:center;max-height:70vh}.ticket-detail .attachment-preview-body img{max-width:100%;max-height:70vh;object-fit:contain;display:block}.ticket-detail .attachment-preview-pdf{width:100%;height:70vh;border:0}.ticket-detail .attachment-preview-placeholder{color:var(--color-muted);font-weight:600}.ticket-detail .attachment-preview-actions{display:flex;justify-content:flex-end;gap:.5rem}.ticket-detail .attachments-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.ticket-detail .attachments-photos,.ticket-detail .attachments-files{display:grid;gap:.75rem}.ticket-detail .photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.6rem}.ticket-detail .photo-card{position:relative}.ticket-detail .photo-select{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:8px;border:1px solid var(--color-border);background:#0f172ad9;display:flex;align-items:center;justify-content:center;z-index:2}.ticket-detail .photo-select input{position:absolute;opacity:0;inset:0}.ticket-detail .photo-select span{width:12px;height:12px;border-radius:4px;border:2px solid #fff;position:relative}.ticket-detail .photo-select input:checked+span{background:#fff}.ticket-detail .photo-select input:checked+span:after{content:"";position:absolute;width:4px;height:8px;border:solid #111827;border-width:0 2px 2px 0;top:0;left:3px;transform:rotate(45deg)}.ticket-detail .photo-delete{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:999px;border:1px solid var(--color-border);background:#0f172ad9;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s ease}.ticket-detail .photo-card:hover .photo-delete,.ticket-detail .photo-card:focus-within .photo-delete{opacity:1}.ticket-detail .photo-delete:disabled{opacity:.6;cursor:not-allowed}.ticket-detail .photo-tile{display:block;border:0;padding:0;cursor:pointer;border-radius:12px;overflow:hidden;background:var(--color-surface-muted);aspect-ratio:1 / 1}.ticket-detail .photo-tile img{width:100%;height:100%;object-fit:cover;display:block}@media(hover:none){.ticket-detail .photo-delete{opacity:1}}.ticket-detail .attachment-upload{display:grid;gap:.75rem}.ticket-detail .attachments-upload-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.ticket-detail .attachment-panel{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:14px;padding:1rem;display:grid;gap:.75rem}.ticket-detail .attachment-panel h4{margin:0}.ticket-detail .file-drop{border:1px dashed var(--color-border-strong);border-radius:12px;padding:1rem;background:var(--color-surface);cursor:pointer;display:flex;flex-direction:column;gap:.35rem;position:relative;min-height:120px;justify-content:center}.ticket-detail .file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.ticket-detail .file-drop.active{border-color:var(--color-primary);box-shadow:var(--color-focus-ring)}.ticket-detail .file-drop-title{font-weight:600;color:var(--color-text-strong)}.ticket-detail .attachment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,180px));justify-content:start;gap:.6rem}.ticket-detail .attachment-card{border:1px solid var(--color-border);border-radius:12px;overflow:hidden;background:var(--color-surface);display:flex;flex-direction:column;min-height:100%;position:relative}.ticket-detail .attachment-preview{display:block;background:var(--color-surface-muted);aspect-ratio:4 / 3;overflow:hidden;border:0;padding:0;width:100%;text-align:left;cursor:pointer}.ticket-detail .attachment-preview-wrap{position:relative}.ticket-detail .attachment-preview img{width:100%;height:100%;object-fit:cover;display:block}.ticket-detail .attachment-preview-pdf-tile{width:100%;height:100%;border:0;display:block;pointer-events:none}.ticket-detail .attachment-preview-overlay{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;justify-content:flex-end;gap:.4rem;opacity:0;transition:opacity .15s ease}.ticket-detail .attachment-preview-wrap:hover .attachment-preview-overlay,.ticket-detail .attachment-preview-wrap:focus-within .attachment-preview-overlay{opacity:1}.ticket-detail .attachment-overlay-btn{border:1px solid rgba(255,255,255,.6);background:#0f172ae6;color:#fff;border-radius:999px;padding:.25rem .6rem;font-size:.8rem;font-weight:700;text-decoration:none;cursor:pointer}.ticket-detail .attachment-overlay-icon{width:32px;height:32px;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center}.ticket-detail .attachment-overlay-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ticket-detail .attachment-overlay-icon svg circle{fill:currentColor;stroke:none}.ticket-detail .attachment-overlay-btn.danger{border-color:#f87171cc;color:#fecaca}.ticket-detail .attachment-overlay-btn:disabled{opacity:.6;cursor:not-allowed}.ticket-detail .attachment-placeholder{display:flex;align-items:center;justify-content:center;background:var(--color-surface-muted);color:var(--color-muted);font-weight:600;aspect-ratio:4 / 3}.ticket-detail .attachment-card-body{padding:.45rem .6rem .6rem;display:grid;gap:.25rem}.ticket-detail .attachment-name{font-weight:600;font-size:.9rem;color:var(--color-text-strong);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticket-detail .attachment-card-actions{display:flex;flex-wrap:wrap;gap:.5rem}.ticket-detail .attachment-meta{display:flex;gap:.35rem;flex-wrap:wrap}.ticket-detail .attachment-details{margin-top:.6rem;padding:.6rem .7rem;border-radius:10px;border:1px solid var(--color-border);background:var(--color-surface-muted);display:grid;gap:.4rem;font-size:.85rem}.ticket-detail .attachment-detail-row{display:flex;justify-content:space-between;gap:.5rem;color:var(--color-muted)}.ticket-detail .attachment-detail-label{color:var(--color-text-strong);font-weight:600}.ticket-detail .attachment-select{position:absolute;top:10px;right:10px;width:28px;height:28px;border-radius:8px;border:1px solid var(--color-border);background:#0f172ad9;display:flex;align-items:center;justify-content:center;z-index:2}.ticket-detail .attachment-select input{position:absolute;opacity:0;inset:0}.ticket-detail .attachment-select span{width:12px;height:12px;border-radius:4px;border:2px solid #fff;position:relative}.ticket-detail .attachment-select input:checked+span{background:#fff}.ticket-detail .attachment-select input:checked+span:after{content:"";position:absolute;width:4px;height:8px;border:solid #111827;border-width:0 2px 2px 0;top:0;left:3px;transform:rotate(45deg)}.ticket-detail .attachment-selection-bar{margin-top:1rem;padding:.75rem .9rem;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-muted);display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.ticket-detail .attachment-selection-actions{display:flex;gap:.5rem;flex-wrap:wrap}.ticket-detail .divider{height:1px;background:var(--color-border);margin:.85rem 0;border:0}.ticket-detail .strong{font-weight:700}.ticket-detail .pill.tiny{padding:.2rem .55rem;font-size:.8rem}.ticket-detail .comment-composer,.ticket-detail .time-entry{display:flex;flex-direction:column;gap:.75rem}.ticket-detail .time-parts-grid,.ticket-detail .time-parts-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.ticket-detail .entry-list{display:flex;flex-direction:column;gap:.65rem}.ticket-detail .entry-list ul{list-style:none;padding:0;margin:0;display:grid;gap:.65rem}.ticket-detail .entry-row{border:1px solid var(--color-border);border-radius:10px;padding:.75rem;background:var(--color-surface)}.ticket-detail .entry-row-title{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem}.ticket-detail .entry-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.ticket-detail .danger-btn{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca;border-radius:999px}.ticket-detail .danger-btn:hover:not(:disabled){background:#fecaca}.ticket-detail .callout-toggle{margin-top:.35rem}.ticket-detail .callout-btn{background:transparent;border-color:var(--color-border);color:var(--color-muted)}.ticket-detail .callout-btn:hover:enabled{border-color:var(--color-border-strong);color:var(--color-text-strong)}.ticket-detail .entry-list-header h4{margin:0}.ticket-detail .comment-thread{display:flex;flex-direction:column;gap:.65rem;margin-bottom:.75rem}.ticket-detail .comment-item{padding:.4rem 0;display:grid;gap:.35rem;border-bottom:1px solid var(--color-border)}.ticket-detail .comment-item:last-child{border-bottom:0}.ticket-detail .comment-header{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}.ticket-detail .comment-meta{display:flex;align-items:baseline;gap:.5rem;flex-wrap:wrap}.ticket-detail .comment-author{font-weight:700;color:var(--color-text-strong)}.ticket-detail .comment-timestamp,.ticket-detail .comment-type,.ticket-detail .comment-source{font-size:.85rem;color:var(--color-muted)}.ticket-detail .comment-edited{font-size:.8rem;color:var(--color-muted);text-transform:lowercase}.ticket-detail a.comment-source{text-decoration:none}.ticket-detail a.comment-source:hover{text-decoration:underline;color:var(--color-text-strong)}.ticket-detail .comment-body{white-space:pre-wrap;color:var(--color-text);line-height:1.4}.ticket-detail .comment-edit-btn{margin-left:auto;border:1px solid var(--color-border-strong);background:var(--color-surface-muted);color:var(--color-text-strong);cursor:pointer;font-size:.8rem;font-weight:600;padding:.2rem .55rem;border-radius:999px;line-height:1.2}.ticket-detail .comment-edit-btn:hover:not(:disabled){border-color:var(--color-primary);color:var(--color-primary);background:var(--color-surface);text-decoration:none}.ticket-detail .comment-edit-btn:focus-visible{outline:2px solid var(--color-primary);outline-offset:1px}.ticket-detail .comment-edit-btn:disabled{cursor:default;opacity:.55}.ticket-detail .comment-edit-form{display:grid;gap:.5rem}.ticket-detail .comment-edit-form textarea{min-height:110px}.ticket-detail .comment-edit-actions{display:flex;gap:.5rem}.ticket-detail .comment-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.ticket-detail .comment-row,.ticket-detail .time-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.ticket-detail .stacked textarea{min-height:120px}.ticket-detail .banner{padding:.85rem 1rem;border-radius:10px;border:1px solid var(--color-border);margin-bottom:.75rem;font-weight:600}.ticket-detail .banner.error{background:var(--color-danger-bg);color:var(--color-danger-strong);border-color:var(--color-danger-border)}.ticket-detail .banner.success{background:var(--color-success-bg);color:var(--color-success);border-color:var(--color-success-border)}.ticket-detail .signed-off-section{display:grid;gap:.75rem}.ticket-detail .signed-off-banner{margin-bottom:0}.ticket-detail .signed-off-banner-text{display:flex;flex-direction:column;gap:.2rem}.ticket-detail .signed-off-email-details{border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-muted);padding:.75rem;max-width:460px;display:grid;gap:.4rem}.ticket-detail .signed-off-detail-row{display:flex;justify-content:space-between;gap:.75rem;font-size:.9rem}.ticket-detail .signed-off-detail-label{color:var(--color-muted);font-weight:600}.ticket-detail .signed-signature-preview{border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-muted);padding:.75rem;max-width:460px}.ticket-detail .signed-signature-meta{display:grid;gap:.35rem;margin-bottom:.6rem}.ticket-detail .signed-signature-preview img{width:100%;height:auto;display:block;border-radius:8px;border:1px solid var(--color-border);background:#fff}.ticket-detail .banner.info{background:var(--color-primary-soft);color:var(--color-primary);border-color:rgb(var(--color-primary-rgb) / .45)}.ticket-detail .timeline{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.9rem}.ticket-detail .timeline li{padding-left:.8rem;border-left:2px solid var(--color-border)}.ticket-detail .timeline li:last-child{border-color:transparent}.ticket-detail .activity-header-actions{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}.ticket-detail .activity-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-bottom:1rem}@media(max-width:960px){.ticket-detail .ticket-detail-grid,.ticket-detail .overview-info-grid{grid-template-columns:1fr}.ticket-detail .info-cell{border-right:none;padding-right:0}}@media(max-width:720px){.ticket-detail header{flex-direction:column;align-items:flex-start}.ticket-detail .header-actions{width:100%;justify-content:space-between}.ticket-detail .assignee-pill-row{align-items:flex-start;margin-left:0}}.tickets.layout{max-width:1080px;margin:0 auto;padding:2rem 1.5rem 4rem}.tickets header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.tickets .card-header{display:flex;justify-content:space-between;align-items:center}.tickets .list-filters{display:flex;align-items:center;gap:.75rem;margin:.85rem 0 .35rem}.tickets .list-filters label{font-weight:600;color:var(--color-muted)}.tickets .list-filters select{min-width:220px;max-width:min(100%,360px)}.tickets .status-filter-toolbar{margin:.85rem 0 1rem}.tickets .status-filter-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem}.tickets .status-filter-chips{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.tickets .status-filter-chip{cursor:pointer;font:inherit}.tickets .status-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.55rem;padding:.12rem .45rem;border-radius:999px;background:#ffffff2e;color:inherit;font-size:.72rem;font-weight:700}.tickets .chip.ghost .status-filter-count{background:var(--color-surface);color:var(--color-text-strong)}.tickets .strong{font-weight:700}.tickets .banner.error{background:var(--color-danger-bg);color:var(--color-danger-strong);border:1px solid var(--color-danger-border);border-radius:10px;padding:.9rem 1rem;margin-bottom:1rem;font-weight:600}.tickets .sort-header{appearance:none;border:0;background:transparent;padding:0;margin:0;display:inline-flex;align-items:center;gap:.35rem;cursor:pointer;color:inherit;font:inherit;font-weight:700}.tickets .sort-header:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:4px}.tickets .sort-indicator{color:var(--color-muted);font-size:.78rem;line-height:1}@media(max-width:720px){.tickets header{flex-direction:column}.tickets .status-filter-header{flex-direction:column;align-items:flex-start}.tickets .list-filters{align-items:stretch;flex-direction:column;gap:.4rem}}.billing.layout{max-width:1080px;margin:0 auto;padding:2rem 1.5rem 4rem}.billing header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.billing .card-header{display:flex;justify-content:space-between;align-items:center}.billing .banner.error{background:var(--color-danger-bg);color:var(--color-danger-strong);border:1px solid var(--color-danger-border);border-radius:10px;padding:.9rem 1rem;margin-bottom:1rem;font-weight:600}.billing .strong{font-weight:700}.billing .clickable-row{cursor:pointer}.billing .clickable-row:hover td{background:var(--color-surface-muted)}.billing .priority-badge{font-size:.78rem;font-weight:600;padding:.2rem .6rem;border-radius:999px;text-transform:capitalize;background:var(--color-surface-muted);color:var(--color-muted)}.billing .priority-badge.priority-critical{background:var(--color-danger-bg);color:var(--color-danger-strong)}.billing .priority-badge.priority-important{background:var(--color-warning-bg);color:var(--color-warning)}.billing .priority-badge.priority-normal,.billing .priority-badge.priority-low{background:var(--color-surface-muted);color:var(--color-muted)}.billing .invoice-ref{font-family:monospace;font-size:.875rem;font-weight:600;color:var(--color-primary)}@media(max-width:720px){.billing header{flex-direction:column}}.billing-detail.layout{max-width:860px;margin:0 auto;padding:2rem 1.5rem 4rem}.billing-detail header{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:1.5rem}.billing-detail .banner.error{background:var(--color-danger-bg);color:var(--color-danger-strong);border:1px solid var(--color-danger-border);border-radius:10px;padding:.9rem 1rem;margin-bottom:1rem;font-weight:600}.billing-detail .invoice-action{flex-shrink:0}.billing-detail .invoice-form{display:flex;flex-direction:column;gap:.5rem;min-width:260px}.billing-detail .invoice-form label{font-weight:600;font-size:.875rem;color:var(--color-muted)}.billing-detail .invoice-form input{padding:.55rem .75rem;border:1px solid var(--color-border);border-radius:8px;font-size:1rem;background:var(--color-surface);color:inherit}.billing-detail .invoice-form input:focus{outline:none;border-color:var(--color-primary);box-shadow:var(--color-focus-ring)}.billing-detail .invoice-form-actions{display:flex;gap:.5rem}.billing-detail .field-error{color:var(--color-danger-strong);font-size:.85rem;margin:0}.billing-detail .invoiced-badge{display:flex;align-items:center;gap:.75rem;padding:.6rem 1.1rem;border-radius:10px;background:var(--color-success-bg);color:var(--color-success);border:1px solid var(--color-success-border);font-weight:700;font-size:.9rem;flex-shrink:0}.billing-detail .invoiced-badge .invoice-num{background:var(--color-success-border);color:var(--color-success);padding:.15rem .6rem;border-radius:6px;font-size:.82rem}.billing-detail .billing-card{margin-bottom:1.25rem}.billing-detail .billing-card h2{margin:0 0 1rem;font-size:1rem;font-weight:700;color:var(--color-muted);text-transform:uppercase;letter-spacing:.04em}.billing-detail .billing-meta-row{display:grid;grid-template-columns:130px 1fr;gap:.5rem 1rem;padding:.45rem 0;border-bottom:1px solid var(--color-border)}.billing-detail .billing-meta-row:last-child{border-bottom:none}.billing-detail .billing-label{font-weight:600;color:var(--color-muted);font-size:.875rem;padding-top:.05rem}.billing-detail .billing-subject{font-weight:700;font-size:1.05rem}.billing-detail .billing-description{white-space:pre-wrap;color:var(--color-muted);font-size:.9rem}.billing-detail .strong{font-weight:700}.billing-detail .billing-table{margin-top:.5rem}.billing-detail .billing-table th,.billing-detail .billing-table td{font-size:.875rem}.billing-detail .billing-table .num{text-align:right}.billing-detail .priority-badge{font-size:.78rem;font-weight:600;padding:.2rem .6rem;border-radius:999px;text-transform:capitalize;background:var(--color-surface-muted);color:var(--color-muted)}.billing-detail .priority-badge.priority-critical{background:var(--color-danger-bg);color:var(--color-danger-strong)}.billing-detail .priority-badge.priority-important{background:var(--color-warning-bg);color:var(--color-warning)}@media(max-width:640px){.billing-detail header{flex-direction:column}.billing-detail .billing-meta-row{grid-template-columns:100px 1fr}}.my-queue.layout{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem;max-width:860px;margin:0 auto}.my-queue header{display:flex;justify-content:space-between;align-items:flex-start}.my-queue main{display:flex;flex-direction:column;gap:1rem}.queue-card{border:1px solid var(--color-border);border-radius:.5rem;padding:1rem;display:flex;flex-direction:column;gap:.75rem;background:var(--color-surface)}.queue-card--hot{border-left:3px solid var(--color-success)}.queue-card--warm{border-left:3px solid var(--color-warning, #f59e0b)}.queue-card--on_hold{border-left:3px solid var(--color-muted, #9ca3af)}.queue-card-header{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.queue-card-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--color-muted);margin-right:auto}.queue-card-body{display:flex;flex-direction:column;gap:.25rem}.queue-card-title{font-weight:600;font-size:1rem;color:var(--color-text);text-decoration:none}.queue-card-title:hover{text-decoration:underline}.queue-card-footer{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.queue-due{font-size:.8rem;color:var(--color-muted)}.queue-due.overdue{color:var(--color-danger, #ef4444);font-weight:600}.queue-list{display:flex;flex-direction:column;gap:.75rem}.queue-refresh{display:flex;justify-content:flex-end;padding-top:.5rem}.pending-actions.layout{max-width:1080px;margin:0 auto;padding:2rem 1.5rem 4rem}.pending-actions header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.pending-actions .card-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.pending-actions .header-actions{display:inline-flex;align-items:center;gap:.6rem}.pending-actions .banner.success{background:var(--color-success-bg);color:var(--color-success);border:1px solid var(--color-success-border);border-radius:10px;padding:.75rem .9rem;margin-bottom:.75rem;font-weight:600}.pending-actions .banner.error{background:var(--color-danger-bg);color:var(--color-danger-strong);border:1px solid var(--color-danger-border);border-radius:10px;padding:.75rem .9rem;margin-bottom:.75rem;font-weight:600}.pending-actions-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:.9rem}.pending-action-card{border:1px solid var(--color-border);border-radius:12px;padding:.95rem;background:var(--color-surface);display:grid;gap:.6rem}.pending-action-card__header{display:flex;justify-content:space-between;gap:.75rem}.pending-action-card__header h3{margin:0;font-size:1.02rem}.pending-action-card__meta{display:grid;gap:.3rem}.pending-action-card__meta p{margin:0}.pending-action-card__reasoning{margin:0;background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:10px;padding:.55rem .65rem;color:var(--color-text);font-size:.94rem}.pending-action-card__actions{display:flex;gap:.5rem;justify-content:flex-end;flex-wrap:wrap}@media(max-width:720px){.pending-actions header{flex-direction:column}.pending-actions .card-header{flex-direction:column;align-items:flex-start}.pending-actions .header-actions{width:100%;justify-content:space-between}}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#111827;background-color:#f8fafc;--color-page: #f8fafc;--color-surface: #ffffff;--color-surface-muted: #f1f5f9;--color-text: #111827;--color-text-strong: #0f172a;--color-muted: #64748b;--color-muted-soft: #94a3b8;--color-border: #e2e8f0;--color-border-strong: #cbd5f5;--color-primary: #2563eb;--color-primary-dark: #1d4ed8;--color-primary-rgb: 37 99 235;--color-primary-soft: rgb(var(--color-primary-rgb) / .14);--color-primary-soft-strong: rgb(var(--color-primary-rgb) / .24);--color-success: #15803d;--color-warning: #a16207;--color-neutral-strong: #475569;--color-success-bg: #dcfce7;--color-success-border: #bbf7d0;--color-warning-bg: #fef9c3;--color-neutral-bg: #e2e8f0;--color-danger: #dc2626;--color-danger-strong: #b91c1c;--color-danger-bg: #fef2f2;--color-danger-border: #fecdd3;--color-toggle-track: #e2e8f0;--color-toggle-knob: #ffffff;--color-toggle-knob-text: #94a3b8;--color-toggle-active: #22c55e;--color-toggle-active-text: #16a34a;--color-focus-ring: 0 0 0 2px rgb(var(--color-primary-rgb) / .28);--shadow-panel: 0 10px 25px rgba(15, 23, 42, .03);--shadow-nav: 0 6px 20px rgba(15, 23, 42, .04);--shadow-elevated: 0 12px 34px rgba(15, 23, 42, .12)}:root[data-theme-mode=dark]{color:#d8e2f1;background-color:#0b1220;--color-page: #0b1220;--color-surface: #121d31;--color-surface-muted: #17253d;--color-text: #d8e2f1;--color-text-strong: #f8fafc;--color-muted: #9ab0c9;--color-muted-soft: #6f86a2;--color-border: #2a3a55;--color-border-strong: #3b5376;--color-primary-soft: rgb(var(--color-primary-rgb) / .24);--color-primary-soft-strong: rgb(var(--color-primary-rgb) / .35);--color-success: #4ade80;--color-warning: #fbbf24;--color-neutral-strong: #a6bad3;--color-success-bg: rgb(34 197 94 / .2);--color-success-border: rgb(74 222 128 / .34);--color-warning-bg: rgb(245 158 11 / .22);--color-neutral-bg: rgb(148 163 184 / .24);--color-danger-bg: rgb(239 68 68 / .2);--color-danger-border: rgb(248 113 113 / .34);--color-toggle-track: #334155;--color-toggle-knob: #f8fafc;--color-toggle-knob-text: #64748b;--shadow-panel: 0 12px 30px rgba(2, 8, 23, .5);--shadow-nav: 0 10px 30px rgba(2, 8, 23, .6);--shadow-elevated: 0 24px 48px rgba(2, 8, 23, .72);--color-focus-ring: 0 0 0 2px rgb(var(--color-primary-rgb) / .42)}body{margin:0;background:var(--color-page);color:var(--color-text);font-family:inherit;transition:background-color .2s ease,color .2s ease}.muted{color:var(--color-muted)}.muted.small{font-size:.85rem}.primary-btn,.secondary-btn,.link-button{border-radius:999px;padding:.65rem 1.4rem;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;border:none}.primary-btn{background:var(--color-primary);color:#fff}.primary-btn:hover:enabled,.primary-btn:focus-visible{background:var(--color-primary-dark)}.secondary-btn{background:var(--color-surface);border:1px solid var(--color-border-strong);color:var(--color-text-strong)}.link-button{background:none;border:none;color:var(--color-primary);padding:0}.link-button:hover{text-decoration:underline}.chip{border-radius:999px;border:1px solid var(--color-border-strong);background:var(--color-surface);padding:.35rem .9rem;font-size:.85rem}.chip.active{background:var(--color-primary);border-color:var(--color-primary);color:#fff;box-shadow:0 4px 12px rgb(var(--color-primary-rgb) / .25)}.chip.ghost{border-color:transparent;background:var(--color-surface-muted)}.badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.2rem .65rem;font-size:.8rem;text-transform:capitalize}.badge.status-active{background:var(--color-success-bg);color:var(--color-success)}.badge.status-pending,.badge.status-waiting{background:var(--color-warning-bg);color:var(--color-warning)}.badge.status-inactive,.badge.status-closed{background:var(--color-neutral-bg);color:var(--color-neutral-strong)}.toggle-switch{display:flex;align-items:center;gap:.6rem;width:100%;border:none;background:transparent;padding:.25rem 0;cursor:pointer;text-align:left}.toggle-switch:disabled{cursor:not-allowed;opacity:.6}.toggle-track{width:56px;height:32px;border-radius:999px;background:var(--color-toggle-track);box-shadow:inset 0 2px 6px #0f172a2e;padding:3px;display:inline-flex;align-items:center;transition:background .2s ease,box-shadow .2s ease;flex:0 0 auto}.toggle-knob{width:26px;height:26px;border-radius:50%;background:var(--color-toggle-knob);box-shadow:0 4px 12px #0f172a33;display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:var(--color-toggle-knob-text);transition:transform .2s ease,color .2s ease}.toggle-icon{font-size:.8rem;line-height:1;text-transform:uppercase}.toggle-switch.active .toggle-track{background:var(--color-toggle-active);box-shadow:inset 0 2px 8px #15803d59}.toggle-switch.active .toggle-knob{transform:translate(24px);color:var(--color-toggle-active-text)}.toggle-label{font-weight:600;color:var(--color-text-strong);font-size:.9rem}.error{color:var(--color-danger)}.field-error{color:var(--color-danger-strong);font-size:.8rem;margin-top:.25rem}.has-error input,.has-error select{border-color:var(--color-danger-strong)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:.75rem;text-align:left}th.num,td.num{text-align:right}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:.25rem .65rem;background:var(--color-surface-muted);color:var(--color-text-strong);font-size:.75rem;font-weight:700;text-transform:capitalize;border:1px solid transparent;white-space:nowrap}.pill.queue-hot{background:var(--color-success-bg);color:var(--color-success)}.pill.queue-warm{background:var(--color-warning-bg);color:var(--color-warning)}.pill.queue-on-hold{background:var(--color-neutral-bg);color:var(--color-neutral-strong)}
