/* V44 Staff tools inherit the Staff palette; controls remain usable on phone and tablet. */
.st44-dialog,.st44-case,.st44-attention{color:#f1f1f1;font-family:inherit;box-sizing:border-box}
.st44-dialog *,.st44-case *,.st44-attention *{box-sizing:border-box}
.st44-dialog{background:#161616;border:1px solid #3f3f3f;border-radius:22px;width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;box-shadow:0 28px 90px #0009}
.st44-dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}
.st44-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px;border-bottom:1px solid #ffffff16}
.st44-dialog h1{font-size:26px;margin:5px 0 0}.st44-dialog h2{font-size:19px;margin:10px 0}.st44-dialog h3,.st44-case h3{font-size:16px;margin:8px 0}
.st44-dialog-body{padding:22px;overflow:auto;max-height:calc(100dvh - 155px);overscroll-behavior:contain}
.st44-dialog button,.st44-case button,.st44-attention button{cursor:pointer;min-height:44px;border:1px solid #ffffff25;border-radius:11px;background:#2b2b2b;color:#f5f5f5;padding:10px 14px;font:inherit;font-weight:650;white-space:normal}
.st44-dialog button:disabled,.st44-case button:disabled{opacity:.45;cursor:default}
.st44-dialog button:hover:not(:disabled),.st44-case button:hover:not(:disabled),.st44-attention button:hover{border-color:#ff8a38}
.st44-dialog button:focus-visible,.st44-case button:focus-visible,.st44-attention button:focus-visible{outline:2px solid #ffa258;outline-offset:2px}
.st44-dialog form,.st44-case form{display:grid;gap:12px;margin-top:14px}
.st44-dialog label,.st44-case label{display:grid;gap:8px;font-size:14px;font-weight:650;min-width:0}
.st44-dialog input,.st44-dialog select,.st44-dialog textarea,.st44-case select,.st44-case textarea{display:block;max-width:100%;width:100%;min-width:0;min-height:44px;border:1px solid #ffffff30;border-radius:10px;background:#101010;color:#f6f6f6;padding:11px;font:inherit;font-size:16px}
.st44-dialog textarea,.st44-case textarea{resize:vertical;min-height:92px}.st44-dialog .st44-check{display:flex;align-items:flex-start;font-weight:450}.st44-check input{width:22px;min-height:22px;flex:0 0 22px;accent-color:#ff8a38}
.st44-row{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;min-width:0}.st44-row>*{min-width:0;overflow-wrap:anywhere}
.st44-card{margin:14px 0;padding:16px;background:#ffffff05;border:1px solid #ffffff15;border-radius:14px;min-width:0;overflow-wrap:anywhere}
.st44-card>button{margin-top:12px}.st44-card small{color:#b0b0b0;display:block;overflow-wrap:anywhere}.st44-tag{display:inline-block;border:1px solid #ffffff20;border-radius:20px;padding:5px 9px;font-size:12px;font-weight:650;color:#dddddd;text-transform:capitalize}
.st44-prose,.st44-dialog blockquote{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.st44-dialog blockquote{margin:14px 0;padding:12px 16px;border-left:3px solid #ff8a38;background:#ffffff05}
.st44-photos{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.st44-photos a{display:flex;align-items:center;justify-content:center;width:120px;height:100px;border:1px solid #ffffff25;border-radius:10px;overflow:hidden;color:#c7c7c7;font-size:12px;text-align:center}.st44-photos img{width:100%;height:100%;object-fit:cover}
.st44-note{font-size:13px;line-height:1.6;color:#b8b8b8;margin:12px 0}.st44-error,.st44-success{padding:12px 15px;border:1px solid #d97562;border-radius:12px;background:#49201e;line-height:1.5;overflow-wrap:anywhere}.st44-success{border-color:#338d74;background:#17392f}
.st44-response{margin-top:15px;padding:15px;border-left:3px solid #7a7a7a;background:#ffffff04;border-radius:0 10px 10px 0}.st44-response button{margin-top:10px}.st44-confirm{border-color:#e28643;background:#6d361110;scroll-margin-top:16px}
.st44-tabs,.st44-actions,.st44-pager{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.st44-tabs button[aria-pressed=true],.st44-dialog [type=submit],.st44-case [type=submit]{background:#ee782c;color:#171717;border-color:#ee782c}.st44-pager{justify-content:space-between;margin:18px 0 4px}.st44-pager span{font-size:12px;color:#b0b0b0}.st44-search{grid-template-columns:1fr auto;align-items:end;margin:18px 0!important}
.st44-case{padding:20px;margin:16px 0;border:1px solid #454545;background:#1b1b1b;border-radius:14px;min-width:0}.st44-case details{margin:14px 0}.st44-case summary{cursor:pointer;min-height:36px;line-height:1.6;overflow-wrap:anywhere}.st44-private{border-top:1px solid #ffffff20;margin-top:18px;padding-top:16px}.st44-note-entry{padding:13px;border:1px solid #61616133;background:#7c7c7c12;border-radius:12px;margin:12px 0}.st44-note-entry small{color:#adadad}
html.staff-ui-v1 body .st44-connected-detail{overflow:auto!important;min-height:600px!important}
html.staff-ui-v1 body .st44-connected-detail>.st44-case{flex:0 0 auto!important;margin:14px!important}
html.staff-ui-v1 body .st44-connected-detail>.staff-support-conversation{flex:0 0 auto!important;min-height:140px!important;max-height:420px!important}
@media(max-width:950px){html.staff-ui-v1 body .st44-connected-layout{flex:0 0 auto!important;min-height:calc(100dvh - 160px)!important}html.staff-ui-v1 body .st44-connected-detail{overflow:visible!important;min-height:calc(100dvh - 160px)!important}html.staff-ui-v1 body .st44-connected-detail>.st44-case{margin:10px!important}}
.st44-attention{padding:12px!important}.st44-queues{display:grid;grid-template-columns:1fr 1fr;gap:10px}.st44-queues>button{display:flex!important;text-align:left;align-items:center;gap:12px!important;padding:14px!important;min-width:0;min-height:88px!important}.st44-queues>button>b{font-size:24px;color:#ff9651;flex:0 0 28px}.st44-queues>button>span{display:grid;gap:5px;min-width:0}.st44-queues small{color:#b7b7b7;line-height:1.4;font-weight:400;white-space:normal}.st44-queues em{margin-left:auto;font-style:normal}.st44-attention-label{font-size:13px;color:#c2c2c2;margin:20px 5px 8px}.st44-attention-ticket{display:flex!important;justify-content:space-between;text-align:left;width:100%;margin-top:8px;gap:12px!important}.st44-attention-ticket>span{display:grid;gap:5px;min-width:0}.st44-attention-ticket small{font-size:12px;color:#b5b5b5}.st44-attention strong{overflow-wrap:anywhere}
@media(max-width:620px){.st44-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.st44-dialog-head{padding:16px}.st44-dialog h1{font-size:22px}.st44-dialog-body{padding:14px;max-height:calc(100dvh - 116px)}.st44-case{padding:13px}.st44-queues{grid-template-columns:1fr}.st44-search{grid-template-columns:1fr}.st44-dialog .st44-actions>button{flex:1}.st44-row{align-items:flex-start}}
