/* Ticket handoff: readable type, clear urgency, and a smaller first-line surface. */
#workspace:has(.ticket-ledger-shell),
#workspace:has(.register-grid){max-width:1520px}

.ticket-list-v2 .ticket-list-row{font-size:13px;line-height:1.5}
.ticket-list-v2 .ticket-list-head{font-size:12px}
.ticket-list-v2 .ticket-primary strong,
.ticket-list-v2 .ticket-device strong{font-size:13px;line-height:1.45}
.ticket-list-v2 .ticket-primary span,
.ticket-list-v2 .ticket-device span{font-size:12px;line-height:1.5}
.ticket-list-row.is-overdue{background:#fff9f3;box-shadow:inset 0 0 0 1px #ebcfbd}
.ticket-list-row.is-overdue.selected{background:#f7eee5}
.ticket-state{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.ticket-attention{display:inline-flex;align-items:center;max-width:100%;border:1px solid #e9b898;border-radius:999px;padding:2px 7px;background:#fff1e6;color:#9a4c26;font-size:11px;font-weight:600;line-height:1.35;white-space:normal}
.ticket-quick-status{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.ticket-quickview :is(dt,dd){font-size:12px;line-height:1.5}
.ticket-quickview h2{font-size:18px;line-height:1.3;overflow-wrap:anywhere}
.ticket-register-v3 .ticket-time-grid .field>label{font-size:12px}
.ticket-register-v3 .ticket-time-grid .occurred-composite>input{font-size:13px}
.first-line-readonly{max-width:820px;margin-inline:auto}
.first-line-readonly dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px 0;border-top:1px solid #d9e6df;border-bottom:1px solid #d9e6df}
.first-line-readonly dt{color:#667e76;font-size:12px}
.first-line-readonly dd{margin:5px 0 0;color:#163b38;font-size:14px}
.first-line-readonly .plain-pre{font-size:14px;line-height:1.65}
.role-first-line .ticket-voice-dock,
.role-first-line .ticket-classification,
.role-first-line .ticket-ai-advice,
.role-first-line .resolution-field,
.role-first-line .resource-workbench,
.role-first-line .ticket-communication-actions,
.role-first-line .personnel-add-trigger{display:none!important}
@media(max-width:720px){.first-line-readonly dl{grid-template-columns:1fr}.ticket-attention{font-size:11px}}
