.service-desk h2{margin:0 0 6px}.service-desk>.toolbar{justify-content:space-between}.service-desk p{color:#60776c;font-size:13px}.desk-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:20px 0}.desk-metrics>div{border:1px solid #dce7e0;border-radius:10px;padding:16px;background:var(--gj-surface,#fff);display:flex;flex-direction:column;gap:5px}.desk-metrics strong{font-size:28px;color:#155a42}.desk-metrics span{font-size:12px;color:#60766a}.desk-chart{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin:20px 0;padding:16px;background:#f6f9f7;border-radius:10px}.desk-chart>div{display:grid;grid-template-columns:125px 1fr 30px;gap:8px;align-items:center;font-size:11px}.desk-chart progress{height:8px;width:100%;accent-color:#3d8264}.desk-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;border-top:1px solid #e4ede7;padding:18px 0}.desk-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px}.desk-filters label:first-child{flex:1;min-width:220px}.desk-filters input,.desk-filters select{min-height:40px}.desk-view{display:flex;gap:5px}.desk-kanban{display:flex;gap:12px;overflow-x:auto;padding:2px 0 14px}.desk-kanban>section{flex:0 0 290px;background:#f4f7f5;border:1px solid #e0e8e3;border-radius:10px;padding:10px;min-height:180px}.desk-kanban>section>header{display:flex;justify-content:space-between;align-items:center;padding:8px;background:transparent;border:0;position:static;color:#254b3b}.desk-kanban h3{font-size:13px}.desk-kanban>section>header span{font-size:12px;background:var(--gj-surface,#fff);padding:3px 7px;border-radius:5px}.desk-card{background:var(--gj-surface,#fff);border:1px solid #dce6de;border-radius:8px;padding:13px;margin:10px 0;font-size:12px}.desk-card.is-late{border-left:3px solid #ba493b}.desk-card>small{font-size:11px;color:#607c6e}.desk-card h3{font-size:14px;line-height:1.5;margin:7px 0}.desk-card p{font-size:12px;margin:7px 0}.desk-obligations{display:grid;gap:7px;margin:10px 0}.desk-clock{display:grid;gap:4px;min-width:180px;margin:5px 0;font-size:11px;color:#316a50}.desk-clock progress{height:6px;width:100%;accent-color:#42856a}.desk-clock.is-warning{color:#8e661b}.desk-clock.is-warning progress{accent-color:#ba8d32}.desk-clock.is-late{color:#a23f34}.desk-clock.is-late progress{accent-color:#b84c3e}.desk-card .actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.desk-card .actions button,.desk-table .actions button{font-size:11px!important;padding:6px 9px;min-height:30px}.desk-table{overflow:auto}.desk-table table{width:100%;font-size:12px}.desk-table th,.desk-table td{padding:12px;vertical-align:top;border-bottom:1px solid #e3ece6}.desk-table th{background:#f3f7f4;text-align:left}.desk-accept-dialog{width:min(1250px,96vw);height:94dvh;max-height:94dvh;padding:0;border:1px solid #d5e2d8;border-radius:12px}.desk-accept-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:var(--gj-surface,#fff)}.desk-accept-dialog h2{font-size:17px;margin:0}.desk-accept-dialog iframe{width:100%;height:calc(100% - 70px);border:0}.desk-accept-dialog::backdrop{background:#123b2b66}@media(max-width:680px){.desk-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-chart{grid-template-columns:1fr}.desk-filters label:first-child{flex-basis:100%}.desk-filters{gap:8px}.desk-kanban>section{flex-basis:85vw}.desk-view{margin-top:5px}.service-desk{padding:15px!important}}

.service-desk .desk-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.service-desk .desk-summary{margin:12px 0;color:var(--gj-muted,#476454)}
.service-desk .desk-summary summary{cursor:pointer;width:fit-content;padding:6px 0}
.service-desk .desk-empty{padding:28px 16px;text-align:center;background:var(--gj-soft,#f5f8f6);border-radius:10px}
.service-desk .desk-categories[hidden],.service-desk .desk-chart:empty{display:none}
@media(max-width:680px){.service-desk .desk-tools{width:100%}.service-desk .desk-tools button{min-height:44px}.service-desk .desk-filters label:first-child{min-width:0}}

.service-desk .desk-kanban{align-items:stretch;scroll-snap-type:x proximity;max-width:100%}
.service-desk .desk-kanban>section{flex:1 0 min(260px,82vw);min-width:0;border-top:3px solid #3e846c;scroll-snap-align:start}
.desk-stage-head,.desk-card .kanban-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.desk-stage-head{padding:4px 2px 8px}.desk-stage-head h3,.desk-card h4{margin:0}.desk-stage-head span,.desk-card .kanban-priority{background:#e7eeea;border-radius:5px;padding:3px 7px;font-size:12px}
.desk-card .kanban-priority[data-priority=Alta]{background:#fff0cd;color:#774b14}.desk-card .kanban-priority[data-priority=Crítica]{background:#fce5e2;color:#953e38}
.service-desk .desk-card{display:grid;gap:6px;padding:12px;margin:0 0 8px;overflow-wrap:anywhere}
.service-desk .desk-card h4{font-size:15px;line-height:1.35}.service-desk .desk-card p,.desk-card .desk-obligations{margin:0}.service-desk .desk-card button{justify-self:start;min-height:36px}
.desk-stage-empty{padding:4px;font-size:12px}
@media(max-width:680px){.service-desk .desk-kanban>section{flex:0 0 min(285px,82vw)}.service-desk .desk-card button{min-height:44px}}

#editorForm.ticket-opening [hidden]{display:none!important}
#editorForm.ticket-opening [data-ticket-client],#editorForm.ticket-opening .client-picker-tools input[type=search]{width:100%;max-width:100%;box-sizing:border-box}
#editorForm.ticket-opening .client-picker-tools{display:flex;flex-direction:column;align-items:stretch}
#editorForm.ticket-opening #ticketNewProspect{justify-self:start;width:auto}

.desk-row-actions{align-items:center;gap:12px;flex-wrap:wrap}
.desk-row-actions [data-desk-ticket]{white-space:normal;text-align:left}
.desk-row-actions .ticket-delete{margin-inline-start:4px}
