/* Deskly R91: scoped light-theme enterprise SLA escalation editor. */
#r91SlaEscalationsPanel{box-sizing:border-box;margin:14px 0;background:#fff;border:1px solid #dce5f5;border-radius:14px;box-shadow:0 6px 20px rgba(25,49,95,.035);padding:22px 24px;color:#162c51}
#r91SlaEscalationsPanel.hidden,#r91SlaEscalationsPanel .hidden{display:none!important}
#r91SlaEscalationsPanel .r91-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
#r91SlaEscalationsPanel .r91-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#345bea}
#r91SlaEscalationsPanel h2{font-size:19px;line-height:1.3;font-weight:780;margin:6px 0 3px;color:#101e3b}
#r91SlaEscalationsPanel .r91-heading p{font-size:13px;line-height:1.6;color:#627593;margin:0;max-width:760px}
#r91SlaEscalationsPanel .r91-overview{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
#r91SlaEscalationsPanel .r91-chip{border:1px solid #d5e0fa;background:#f3f6ff;border-radius:24px;font-size:12px;font-weight:650;color:#3155ad;padding:7px 11px}
#r91SlaEscalationsPanel .r91-editor{margin-top:18px;padding-top:18px;border-top:1px solid #e6ebf5}
#r91SlaEscalationsPanel .r91-enable{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px;line-height:1.5;color:#13274a}
#r91SlaEscalationsPanel input[type=checkbox]{accent-color:#3465ea;min-width:16px;width:16px;height:16px;margin:0}
#r91SlaEscalationsPanel .r91-help{font-size:12px;color:#657897;line-height:1.65;margin:10px 0 17px}
#r91SlaEscalationsPanel .r91-thresholds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#r91SlaEscalationsPanel fieldset{margin:0;min-width:0;border:1px solid #dfe6f4;border-radius:12px;padding:13px 15px 16px;background:#fbfcff}
#r91SlaEscalationsPanel legend{font-size:13px;font-weight:780;color:#152e61;padding:0 7px}
#r91SlaEscalationsPanel .r91-thresholds fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:12px}
#r91SlaEscalationsPanel .r91-thresholds label{display:block;font-size:12px;font-weight:660;color:#536783;line-height:1.5}
#r91SlaEscalationsPanel input[type=number]{box-sizing:border-box;display:block;min-width:0;width:100%;margin-top:7px;border:1px solid #cbd8ed;border-radius:9px;padding:11px 12px;font:inherit;font-size:14px;background:#fff;color:#14254b;min-height:44px}
#r91SlaEscalationsPanel input:focus-visible{outline:3px solid #a8c0ff;outline-offset:2px}
#r91SlaEscalationsPanel .r91-route-grid{margin-top:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#r91SlaEscalationsPanel .r91-route-grid fieldset{padding:11px 14px 15px}
#r91SlaEscalationsPanel .r91-route-grid label{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.4;margin:10px 0;color:#394f72}
#r91SlaEscalationsPanel .r91-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:17px}
#r91SlaEscalationsPanel button{min-height:38px}
#r91SlaEscalationsPanel .r91-error{color:#a3213b;margin:12px 0;font-size:13px}
#r91SlaEscalationsPanel .r91-recent{border-top:1px solid #e5ebf5;padding-top:15px;margin-top:16px}
#r91SlaEscalationsPanel .r91-recent h3{font-size:13px;color:#152b4b;margin:0 0 10px}
#r91SlaEscalationsPanel .r91-recent-row{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid #eef1f8;font-size:12px}
#r91SlaEscalationsPanel .r91-recent-row:last-child{border-bottom:0}
#r91SlaEscalationsPanel .r91-recent-row small{color:#7182a0;font-size:11px}
@media(max-width:1040px){#r91SlaEscalationsPanel .r91-route-grid{grid-template-columns:1fr}}
@media(max-width:720px){#r91SlaEscalationsPanel{padding:18px 15px;margin:12px 0}#r91SlaEscalationsPanel .r91-thresholds{grid-template-columns:1fr}#r91SlaEscalationsPanel .r91-route-grid{grid-template-columns:1fr}#r91SlaEscalationsPanel .r91-heading .btn{width:100%}#r91SlaEscalationsPanel .r91-actions{flex-wrap:wrap}#r91SlaEscalationsPanel .r91-actions button{flex:1;min-width:120px}}
@media(max-width:420px){#r91SlaEscalationsPanel .r91-thresholds fieldset{grid-template-columns:1fr}#r91SlaEscalationsPanel .r91-recent-row{flex-direction:column;gap:3px}}
