.simple-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}.simple-tabs a{display:flex;align-items:center;padding:10px 17px;min-height:44px;color:#667085;border-radius:8px;border:1px solid var(--line);background:white;font-size:12px}.simple-tabs .selected{color:var(--accent);background:var(--accent-soft);border-color:#cccaf1}.simple-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;background:white;border:1px solid var(--line);padding:18px;border-radius:12px;margin-bottom:20px}.simple-filters label{flex:1;min-width:130px}.simple-filters label:first-of-type{flex:2;min-width:180px}.simple-filters input,.simple-filters select{font-size:13px}.simple-ticket-panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.simple-ticket-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.simple-ticket-table th{padding:16px;text-align:left;background:#f3f5fa;color:#667085;font-size:11px;font-weight:600}.simple-ticket-table td{padding:16px;border-top:1px solid var(--line);overflow-wrap:anywhere;vertical-align:middle}.simple-ticket-table th:nth-child(2){width:27%}.simple-ticket-title{color:var(--ink);font-weight:600;display:flex;align-items:center;min-height:44px}.simple-ticket-table tr:hover{background:#fafbfe}.simple-ticket-table .button{font-size:12px;padding:10px 15px}.simple-ticket-table .badge{font-size:11px}.simple-ticket-table td.empty{height:130px}.simple-ticket-table tr{cursor:default}@media(max-width:767px){.simple-filters{padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.simple-filters label,.simple-filters label:first-of-type{min-width:0}.simple-filters label:first-of-type{grid-column:1/-1}.simple-filters input,.simple-filters select{font-size:16px}.simple-ticket-table,.simple-ticket-table tbody,.simple-ticket-table tr,.simple-ticket-table td{display:block;width:100%}.simple-ticket-table thead{display:none}.simple-ticket-table tr{padding:16px;border-top:1px solid var(--line)}.simple-ticket-table tr:first-child{border-top:0}.simple-ticket-table td{border:0;padding:6px 0;display:grid;grid-template-columns:95px minmax(0,1fr);gap:12px;align-items:center}.simple-ticket-table td:before{content:attr(data-label);font-size:10px;color:#667085;font-weight:500}.simple-ticket-table td.empty{display:block;padding:30px 5px;height:auto}.simple-ticket-table td.empty:before{display:none}.simple-ticket-table td .button{justify-self:start}.simple-ticket-table .badge{justify-self:start}.simple-ticket-title{font-size:13px}.simple-tabs a{padding:10px 12px}}
.simple-ticket-table th a{color:inherit;display:flex;align-items:center;min-height:44px;gap:4px}.staff-task-table th:nth-child(2){width:auto}.staff-task-table th:nth-child(3){width:22%}.staff-task-table th,.staff-task-table td{padding:12px 8px}.task-mobile-sort{display:none}.dashboard-calendar{min-width:0;margin:24px 0}.dashboard-calendar .calendar-day{min-width:0}.dashboard-calendar .calendar-event{overflow-wrap:anywhere}.dashboard-calendar .calendar-toolbar{flex-wrap:wrap}@media(max-width:767px){.task-mobile-sort{display:block;margin:16px 0}.task-mobile-sort summary{min-height:44px;cursor:pointer}.staff-task-table td{padding:6px 0}}
:root{--workspace-bg:#f7f8fa;--workspace-ink:#172033;--workspace-muted:#64748b;--workspace-border:#e6eaf0;--workspace-accent:#4f46e5}
body{background:var(--workspace-bg);color:var(--workspace-ink);font-family:Inter,system-ui,sans-serif}
.task-categories,.crm-tabs{margin:0 0 18px}.task-categories a,.crm-tabs a{font-weight:650}
.simple-ticket-panel.workspace-table{overflow:auto}.workspace-table .crm-table{min-width:730px}
.simple-ticket-table th{font-weight:700;font-size:12px;color:#334155;background:#eef1f7}
.nav-group a,.view-tabs a,.button,button{transition:color 150ms ease,background-color 150ms ease,border-color 150ms ease}
.nav-group summary .icon{transition:transform 200ms ease}
.simple-ticket-table tr{transition:background-color 120ms ease}
.metric{animation:workspace-enter 250ms ease-out}.dashboard-calendar{animation:workspace-enter 200ms ease-out}
dialog[open]{animation:workspace-enter 180ms ease-out}
@keyframes workspace-enter{from{opacity:.72;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--workspace-accent);outline-offset:2px}
@media(max-width:767px){
 .simple-ticket-panel{overflow:auto}.simple-ticket-table,.simple-ticket-table tbody,.simple-ticket-table thead,.simple-ticket-table tr,.simple-ticket-table td{width:auto}
 .simple-ticket-table{display:table;width:100%;min-width:650px}.simple-ticket-table.staff-task-table{min-width:790px}
 .simple-ticket-table thead{display:table-header-group}.simple-ticket-table tbody{display:table-row-group}.simple-ticket-table tr{display:table-row}
 .simple-ticket-table td,.simple-ticket-table td.empty{display:table-cell;padding:12px}.simple-ticket-table td:before{display:none}
}
@media(prefers-reduced-motion:reduce){.nav-group a,.nav-group summary .icon,.view-tabs a,.button,button,.simple-ticket-table tr{transition:none}.metric,.dashboard-calendar,dialog[open]{animation:none}}
.role-capability{display:flex;align-items:center;gap:.65rem}.role-capability input{width:1.1rem;height:1.1rem}
