.ezyas-form{display:flex;flex-direction:column;gap:10px;max-width:770px}
.ezyas-form>label{font-weight:750;color:#243b53;margin-top:9px}
.ezyas-form input[type=text],.ezyas-form input:not([type]),.ezyas-form select,.ezyas-form textarea,.ezyas-form input[type=file]{border:1px solid #cbd5e1;border-radius:9px;background:#fff;padding:11px;width:100%;max-width:100%;font:inherit;color:#13253b}
.ezyas-form input[type=file]{font-size:14px}
.ezyas-form button{align-self:flex-start;margin:10px 0}
.ezyas-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ezyas-head h2{margin:0 0 9px}
.ezyas-status{display:inline-block;border-radius:30px;background:#eef2ff;color:#31456f;padding:4px 10px;font-size:12px;font-weight:750;white-space:nowrap}
.ezyas-status-open{background:#fff7ed;color:#9a3412}.ezyas-status-answered{background:#ecfdf3;color:#166534}.ezyas-status-resolved,.ezyas-status-closed{background:#f1f5f9;color:#475569}
.ezyas-thread{display:grid;gap:14px;margin:22px 0}
.ezyas-message{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:15px 17px;overflow-wrap:anywhere}
.ezyas-staff{background:#f0fdf4;border-color:#bbf7d0}
.ezyas-by{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;font-size:13px;color:#536579;margin-bottom:9px}.ezyas-by strong{color:#123451}
.ezyas-message-text{white-space:normal;line-height:1.65}
.ezyas-files{display:flex;flex-wrap:wrap;gap:12px;margin-top:13px}.ezyas-file{color:#166534;font-weight:700;font-size:13px}
.ezyas-admin .ezyas-admin-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:24px;align-items:start;margin-top:22px}
.ezyas-admin .ezyas-admin-thread,.ezyas-admin .ezyas-admin-reply{background:#fff;border:1px solid #ddd;border-radius:12px;padding:20px}
.ezyas-admin .ezyas-admin-reply select{min-width:210px}
@media(max-width:900px){.ezyas-admin .ezyas-admin-layout{grid-template-columns:1fr}}
/* v1.1 helpdesk queue, SLA monitoring, affiliate context and internal notes */
.ezyas-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 24px}
.ezyas-metric{background:#fff;border:1px solid #dae2e9;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:6px;min-width:0}
.ezyas-metric strong{font-size:26px;color:#082f66}.ezyas-metric span{color:#475569;font-weight:650;font-size:13px}
.ezyas-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0;padding:15px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}
.ezyas-filters label{display:flex;flex-direction:column;gap:5px;color:#475569;font-weight:650;font-size:13px}
.ezyas-filters input,.ezyas-filters select{min-width:130px;max-width:240px}
.ezyas-overdue{background:#fff5ef!important}.ezyas-late{color:#ad3d17}.ezyas-queue td{vertical-align:middle}
.ezyas-private{background:#fff8df;border:1px solid #eec87b}.ezyas-private .ezyas-by strong{color:#89500a}
.ezyas-context{background:#f8fafc;border:1px solid #e0e7ef;border-radius:12px;padding:16px;margin-bottom:23px}
.ezyas-context h3{margin:0 0 12px}.ezyas-context dl{margin:0}.ezyas-context dl div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;padding:8px 0;border-bottom:1px solid #edf0f4}
.ezyas-context dt{font-weight:650;color:#526578}.ezyas-context dd{margin:0;overflow-wrap:anywhere}.ezyas-context ul{margin-bottom:0}
.ezyas-reply-template{background:#fff;border:1px solid #dde4ed;padding:18px;margin:14px 0;border-radius:12px;max-width:900px}
.ezyas-reply-template textarea{box-sizing:border-box}
@media(max-width:1050px){.ezyas-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.ezyas-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ezyas-filters label{width:100%}.ezyas-filters input,.ezyas-filters select{max-width:100%;width:100%}}
