.support-workspace{display:grid;gap:1.25rem}.support-workspace .card-heading-actions{gap:1rem;align-items:center}.support-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin:1.5rem 0}.support-filters label,.support-form>label,.support-field-row>label,.support-customer-search>label{display:flex;flex-direction:column;gap:.45rem;min-width:0}.support-filters .support-check,.support-form .support-check,.support-check{display:flex;flex-direction:row;gap:.65rem;align-items:center;align-self:end;min-height:44px}.support-check input{width:18px;height:18px;flex:none;margin:0}.support-filter-actions,.support-control-actions{display:flex;align-items:end;gap:.75rem;flex-wrap:wrap}.support-filter-actions{grid-column:1/-1}.support-table{width:100%;min-width:680px}.support-table small{display:block;margin-top:.35rem}.support-table td:last-child{width:1%;white-space:nowrap}.support-overdue{color:#9f3426}.support-notice{margin:1rem 0 0;padding:0;line-height:1.65;color:var(--muted,#567080)}.support-modal{width:min(1040px,calc(100vw - 2rem));max-height:90dvh}.support-form{display:grid;gap:1rem}.support-field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1rem}.support-customer-search{display:flex;align-items:end;gap:.75rem}.support-customer-search label{flex:1}.support-controls{padding-bottom:1.5rem;margin-bottom:1.5rem;border-bottom:1px solid #d4e2de}.support-controls .support-notice{margin:0}.support-resolution{padding:1rem 1.25rem;border-radius:14px;background:#e8f3ed;margin:1rem 0}.support-resolution p{white-space:pre-wrap}.support-thread{list-style:none;padding:0;margin:1.25rem 0;display:grid;gap:1rem}.support-message{padding:1rem 1.1rem;background:#fffdfa;border:1px solid #dce6e2;border-radius:14px;position:relative}.support-message header{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.support-message header small{margin-left:auto;color:#58717d}.support-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:.8rem 0}.support-message-note{background:#f6f0e3;border-color:#e1d6bd}.support-message-reply{margin-left:1.6rem}.support-message-reply:before{content:'';position:absolute;left:-1.15rem;top:-1rem;width:.65rem;height:2.6rem;border-left:2px solid #c3d9d1;border-bottom:2px solid #c3d9d1;border-radius:0 0 0 9px}.support-reply-label{display:block;margin-top:.6rem;color:#55717a}.support-message footer,.support-files{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.support-files{margin:.7rem 0}.support-files button{max-width:100%;overflow-wrap:anywhere}.support-link{padding:.25rem 0;color:#157d74;border:0;background:none;box-shadow:none;min-height:32px;font:inherit;font-weight:600}.support-upload{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;font-size:.8rem}.support-upload input{width:230px;max-width:100%;min-height:32px;font-size:.8rem;padding:.25rem}.support-reply-form{display:grid;gap:.65rem;margin-top:1.25rem}.support-composer{position:relative}.support-composer textarea{width:100%;padding-right:4.7rem;min-height:110px;resize:vertical}.support-send{position:absolute;right:.8rem;bottom:1rem;width:42px;height:42px;min-height:42px;padding:10px;display:grid;place-items:center}.support-send svg{width:23px;height:23px}.support-reply-target{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.support-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin:1.25rem 0}.support-metric{display:flex;flex-direction:column;gap:.5rem;padding:1rem;border:1px solid #d1e3db;border-radius:14px;background:#f0f7f2}.support-metric strong{font-size:1.8rem}.support-modal .modal-actions{gap:.8rem;margin-top:1.5rem}.support-reply-form>small{line-height:1.6;color:#55717a}@media(max-width:640px){.support-filters{grid-template-columns:1fr 1fr}.support-filters>label:first-child{grid-column:1/-1}.support-workspace .card-heading-actions{align-items:start;flex-direction:column}.support-modal{width:calc(100vw - 1rem);padding:1rem;max-height:94dvh}.support-field-row{grid-template-columns:1fr}.support-customer-search{flex-wrap:wrap}.support-message{padding:.8rem}.support-message header small{width:100%;margin-left:0}.support-message-reply{margin-left:1rem}.support-message-reply:before{left:-.8rem;width:.45rem}.support-upload input{width:100%}.support-filter-actions button{flex:1}.support-composer textarea{padding-right:4rem}}
.support-workspace label{margin:0}.support-workspace .support-form>small{margin:0;line-height:1.6;color:#55717a}.support-workspace .support-check{margin:0}.support-workspace .support-filters input:not([type=checkbox]),.support-workspace .support-filters select{min-height:46px}.support-workspace .support-composer textarea{margin:0}
.support-workspace,.support-workspace>.card{min-width:0}.support-workspace .table-scroll{width:100%;overflow-x:auto}.support-workspace .support-upload{position:relative;display:inline-flex;min-height:36px;padding:.5rem .75rem;overflow:hidden;cursor:pointer;font-size:.8rem}.support-workspace .support-upload .support-file-picker{position:absolute;inset:0;width:100%;height:100%;padding:0;opacity:0;cursor:pointer}.support-upload:focus-within{outline:2px solid #187c8c;outline-offset:3px}
.support-workspace .support-check input{accent-color:#168b7c}.support-notice{font-size:.875rem}
/* Ticket directory: shared column rhythm and compact, readable row metadata. */
.support-table-wrap{margin:1.5rem 0;border:1px solid #dce6e2;border-radius:14px;background:#fffdfa}
.support-workspace .support-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:850px;text-align:left;font-size:.8125rem;line-height:1.55}
.support-table th,.support-table td{padding:17px 18px;vertical-align:middle;border-bottom:1px solid #e3ebe6;overflow-wrap:anywhere}
.support-table th{background:#f0f5f1;color:#526a75;font-size:.7rem;font-weight:600;letter-spacing:.035em;text-align:left}
.support-table th:nth-child(1){width:28%}.support-table th:nth-child(2){width:16%}.support-table th:nth-child(3){width:16%}.support-table th:nth-child(4){width:15%}.support-table th:nth-child(5){width:17%}.support-table th:nth-child(6){width:8%}
.support-table tbody tr:last-child td{border-bottom:0}.support-table tbody tr:hover{background:#f6faf7}
.support-table .support-subject-cell>strong{display:block;font-size:.875rem;font-weight:600;line-height:1.55;color:#173f53}
.support-ticket-meta{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap;margin-top:.5rem;font-size:.68rem}
.support-ticket-number{color:#647d87;font-variant-numeric:tabular-nums;letter-spacing:.025em}
.support-priority{display:inline-flex;align-items:center;gap:.35rem;color:#607781}.support-priority:before{content:'';width:6px;height:6px;border-radius:50%;background:#98b7ad;flex:none}
.support-priority-high:before{background:#c8933e}.support-priority-urgent:before{background:#b65847}.support-priority-low:before{background:#90b5c4}
.support-table .support-status{display:inline-flex;align-items:center;padding:5px 9px;line-height:1.45;font-size:.67rem;font-weight:600;white-space:normal;background:#e8f2f5;color:#34667c}
.support-table .support-status-inprogress{background:#e1f2eb;color:#217462}.support-table .support-status-waitingcustomer,.support-table .support-status-onhold{background:#f7efdF;color:#8b6a2d}.support-table .support-status-resolved{background:#def1e5;color:#2b7650}.support-table .support-status-closed{background:#eef0ee;color:#63726a}
.support-table .support-unassigned{color:#73858d;font-size:.75rem}.support-table .support-due-cell{font-size:.75rem;line-height:1.65;color:#516d79;font-variant-numeric:tabular-nums}
.support-table .support-action-cell{width:auto;white-space:nowrap;text-align:right;padding-left:8px;padding-right:16px}
.support-table .support-open-ticket{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 11px;font-size:.72rem;border-radius:10px;box-shadow:0 2px 0 #d5e3dc}
.support-table .support-overdue{font-size:.65rem;margin-top:.5rem}
.support-table-external th:nth-child(1){width:35%}.support-table-external th:nth-child(2){width:19%}.support-table-external th:nth-child(3){width:18%}.support-table-external th:nth-child(4){width:20%}.support-table-external th:nth-child(5){width:8%}
@media(max-width:640px){.support-table-wrap{margin:1rem 0}.support-table th,.support-table td{padding:14px}.support-workspace .support-table{min-width:800px}.support-workspace .support-table-external{min-width:680px}}
.support-workspace .support-table th:last-child{width:132px}.support-workspace .support-table th:not(:first-child):not(:last-child){width:auto}
.support-table th:last-child{text-align:right;padding-right:16px}.support-table .support-subject-cell>.badge{margin-top:.45rem}.support-table .support-ticket-meta+.badge{margin-top:.4rem}
.support-workspace>.card>.card-heading-actions>.member-row-actions{display:flex;flex-wrap:wrap;gap:.65rem;min-width:0;max-width:100%}.support-filter-actions{align-items:stretch}
@media(max-width:640px){.support-workspace>.card>.card-heading-actions>.member-row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.support-workspace>.card>.card-heading-actions>.member-row-actions button{white-space:normal;font-size:.75rem;padding:10px 12px;min-height:44px}.support-workspace>.card>.card-heading-actions>.member-row-actions button:nth-child(3){grid-column:1/-1}.support-filter-actions button{white-space:normal;line-height:1.4;padding:10px 12px}}
.support-files{align-items:flex-start}.support-attachment{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;min-width:0;max-width:100%}.support-attachment>button{max-width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere}.support-image-preview{margin:0;max-width:100%;padding:.5rem;border:1px solid #d7e4dd;border-radius:12px;background:#f3f6f1}.support-image-preview img{display:block;width:auto;height:auto;max-width:min(480px,100%);max-height:360px;object-fit:contain;border-radius:7px}.support-attachment-error{display:block;margin:0;color:#9f3426;line-height:1.6}@media(max-width:640px){.support-image-preview img{max-height:280px}}
