.staff-ticket-table{font-size:12px}.staff-ticket-table td{padding:10px 8px;vertical-align:middle}.staff-ticket-table td:nth-child(2){min-width:260px;line-height:1.5}.staff-ticket-table td:nth-child(6){min-width:190px}.staff-ticket-table td:last-child{min-width:190px}.staff-ticket-table .dev-row-actions select{min-width:100px}.staff-ticket-dialog{width:min(920px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:24px;overflow:auto}.staff-ticket-dialog .dialog-heading{gap:16px;align-items:center}.staff-ticket-dialog h2{font-size:22px;margin:0}.staff-ticket-dialog h3{font-size:16px;margin:8px 0}.staff-opening{padding:12px 0;border-bottom:1px solid var(--border,#d6e2ee);margin-bottom:16px}.staff-opening p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;margin:8px 0}.staff-opening .eyebrow{font-size:11px}.staff-ticket-dialog form>label{margin:14px 0}.staff-ticket-dialog details{margin:12px 0}.staff-ticket-dialog details>summary{cursor:pointer;font-size:13px;color:var(--text,#24435c)}.staff-ticket-dialog [data-optional-note]>label{margin-top:12px}.staff-ticket-dialog [data-optional-note]>summary[hidden]{display:none}.staff-ticket-dialog .actions{margin-top:18px;gap:8px;flex-wrap:wrap}.staff-ticket-dialog fieldset{margin:16px 0;padding:14px}.staff-evolutions{list-style:none;padding:0;margin:0}.staff-evolutions li{border-bottom:1px solid var(--border,#d6e2ee);padding:14px 0}.staff-evolutions li>div{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.staff-evolutions p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.staff-detail-actions{margin:18px 0}.staff-ticket-dialog [data-feedback]{margin-top:18px}.staff-ticket-dialog .ticket-inline-check{align-items:flex-start;gap:8px}.staff-ticket-dialog .ticket-inline-check input{flex:0 0 auto}.staff-ticket-dialog [data-generated]{margin:18px 0}.staff-ticket-dialog [data-url]{font-size:13px}.staff-ticket-dialog .ticket-activity{margin:0}.staff-ticket-dialog .table-wrap{overflow:auto}@media(max-width:600px){.staff-ticket-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px}.staff-ticket-dialog h2{font-size:19px}.staff-ticket-dialog .dialog-heading>button{white-space:nowrap}.staff-ticket-dialog .actions>*{flex:1}.staff-ticket-dialog .delivery-attachment-list{grid-template-columns:1fr}}

.staff-ticket-dialog form,.staff-ticket-dialog fieldset{max-width:none;width:100%;box-sizing:border-box}.staff-ticket-dialog fieldset{border:1px solid var(--border,#d6e2ee);border-radius:10px;padding:16px}.staff-ticket-dialog legend{font-weight:600}.staff-ticket-dialog .ticket-inline-check{display:flex;margin:8px 0}

.staff-ticket-table [data-staff-open]{white-space:nowrap;padding:5px 9px}
.staff-ticket-table [data-staff-start]{font-size:11px;padding:5px 8px;flex:0 0 auto;white-space:nowrap;line-height:1.3}
.staff-ticket-table .dev-row-status{flex-wrap:wrap;gap:5px}
.staff-ticket-dialog .staff-opening .request-evidence{padding:8px 10px;margin:8px 0}

.staff-ticket-table .dev-row-status .dev-status-control{flex:1 1 110px;min-width:90px}

.ticket-evolution-context{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:16px 0}.ticket-evolution-context>details{min-width:0;margin:0;border:1px solid var(--border,#d6e2ee);border-radius:8px;padding:12px}.ticket-evolution-context>details>summary{cursor:pointer;font-size:13px;font-weight:600}.ticket-context-scroll{max-height:240px;overflow:auto;overscroll-behavior:contain;margin-top:8px}.ticket-context-scroll:focus-visible{outline:2px solid var(--accent,#007e8a);outline-offset:2px}.ticket-evolution-context .staff-evolutions li:first-child{padding-top:0}.ticket-evolution-context .ticket-attachments{margin:0;padding:0;border:0}.ticket-evolution-context .ticket-file-list{display:grid;gap:8px}.ticket-evolution-context .attachment-card{min-width:0}.ticket-evolution-context .attachment-preview{height:110px}.ticket-evolution-context .staff-evolutions li>a{display:block;margin:6px 0}.ticket-evolution-context .empty{padding:8px 0;margin:0;text-align:left}.staff-ticket-dialog .ticket-evolution-context>details{margin:0}#devStatusDialog{width:min(920px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}#devStatusDialog form{width:100%;max-width:none}#devStatusDialog .ticket-evolution-context p{white-space:pre-wrap;overflow-wrap:anywhere}.ticket-context-loading{margin:16px 0}
@media(max-width:700px){.ticket-evolution-context{grid-template-columns:1fr}.ticket-context-scroll{max-height:200px}#devStatusDialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}}

.staff-text-review{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.staff-text-review h3{font-size:14px;margin:0 0 12px}.staff-text-review strong,.staff-text-review p{display:block;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.staff-text-review p{margin:10px 0 14px}.staff-text-review:focus-visible{outline:2px solid var(--focus);outline-offset:4px}.staff-text-review[hidden]{display:none!important}
:root[data-theme=dark] .staff-text-review [data-apply-review]{color:var(--bg)}

.staff-ticket-dialog [data-task-conversion] p{max-width:70ch;line-height:1.6}.staff-ticket-dialog [data-task-conversion] textarea{white-space:pre-wrap;overflow-wrap:anywhere}.staff-ticket-dialog [data-task-conversion] select{width:100%}:root[data-theme=dark] .staff-ticket-dialog [data-task-conversion] button[type=submit]{color:var(--bg)}

.staff-dev-orders{display:flex;align-items:center;gap:6px;margin:0;white-space:nowrap}.staff-dev-order{display:flex;align-items:center;gap:4px}.staff-dev-order label{display:flex;align-items:center;gap:4px;margin:0}.staff-ticket-table .staff-dev-order .dev-order-number{box-sizing:border-box;width:48px;min-width:48px;height:30px;min-height:30px;margin:0;padding:2px 4px!important;font-size:12px;font-variant-numeric:tabular-nums}.staff-ticket-table .staff-dev-order button{padding:4px 6px;min-height:30px;margin:0;font-size:11px;background:var(--surface);color:var(--ink);border-color:var(--line)}.staff-dev-order-demand,.staff-dev-order-readonly{margin:0;font-size:11px;line-height:1.4}.staff-dev-order button[hidden]{display:none!important}
@media(min-width:1101px){.staff-ticket-table.staff-ticket-with-order td.staff-dev-order-cell{width:64px;min-width:64px}.staff-ticket-table.staff-ticket-with-order td:nth-child(2){width:auto;min-width:48px}.staff-ticket-table.staff-ticket-with-order td:nth-child(3){width:35%;min-width:220px;line-height:1.5}.staff-ticket-table.staff-ticket-with-order td:nth-child(5){max-width:none}.staff-ticket-table.staff-ticket-with-order td:nth-child(6){min-width:0;max-width:120px}.staff-ticket-table.staff-ticket-with-order td:nth-child(7){min-width:175px}}
@media(max-width:1100px){.staff-ticket-table.staff-ticket-with-order td:nth-child(1){order:0}.staff-ticket-table.staff-ticket-with-order td:nth-child(2){order:1;color:var(--muted);font-size:11px}.staff-ticket-table.staff-ticket-with-order td:nth-child(3){order:2}.staff-ticket-table.staff-ticket-with-order td:nth-child(4){order:3}.staff-ticket-table.staff-ticket-with-order td:nth-child(5){order:4}.staff-ticket-table.staff-ticket-with-order td:nth-child(6){order:5}.staff-ticket-table.staff-ticket-with-order td:nth-child(7){order:6}.staff-ticket-table.staff-ticket-with-order td:nth-child(8){order:7;border-top:0!important;padding-top:5px!important;margin-top:0}.staff-ticket-table.staff-ticket-with-order td:nth-child(9){order:8;border-top:1px solid var(--line)!important;padding-top:12px!important;margin-top:8px}.staff-ticket-table.staff-ticket-with-order tr[data-ticket-rank]>td:nth-child(3)::before{display:none}.staff-ticket-table.staff-ticket-with-order td:nth-child(n+4):nth-child(-n+8)::before{content:attr(data-label) ': ';font-size:11px;color:var(--muted);display:inline;margin-bottom:0}.staff-ticket-table.staff-ticket-with-order td:nth-child(7)::before{display:block;margin-bottom:5px}.staff-ticket-table.staff-ticket-with-order td.staff-dev-order-cell::before{content:'Ordem Dev';display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.staff-ticket-table.staff-ticket-with-order .staff-dev-orders{flex-wrap:wrap}}
