/* A compact, accessible support workspace shared by both themes. */
:root{--work-line:#d6dfe3;--work-muted:#60717b;--work-surface:#f5f7f8}
[data-theme=dark]{--work-line:#3b3b3b;--work-muted:#bdbdbd;--work-surface:#232323}
button,input,select{min-height:36px}textarea{line-height:1.5}.message-text{white-space:pre-wrap}.recent-activity{margin-top:20px}.activity-line{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--work-line)}.activity-line small{display:block;color:var(--work-muted);margin-top:5px}.activity-dot{width:7px;height:7px;margin-top:7px;background:#9a9a9a;border-radius:50%}.desk-panel h2 small{font-size:13px;color:var(--work-muted)}.saved-views{display:flex;align-items:end;gap:6px;margin-bottom:12px}.saved-views label{flex:1;min-width:0}.saved-views button{font-size:11px;padding:6px}.desk-queue>label{margin-bottom:12px}.ticket-type{border-top:1px solid var(--work-line);padding-top:7px}.composer-tools{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important;margin:0 0 10px!important}.desk-composer{padding:12px}.desk-composer textarea{min-height:55px;max-height:150px}.file-field{font-size:11px!important;margin-top:8px}.file-field input{font-size:11px!important;min-height:24px!important}.desk-composer>small{font-size:10px;color:var(--work-muted)}.desk-composer.is-note{border-top:3px solid #b99550}.support-history .internal-note{align-self:stretch;max-width:100%;background:#fff6db;border:1px dashed #ad8540;border-radius:8px;color:#4b381d}.internal-note small{color:inherit!important}[data-theme=dark] .support-history .internal-note{background:#393324;color:#f4dfa6;border-color:#907b4a}.attachment{display:block;font-size:11px;margin-top:10px;overflow-wrap:anywhere;max-width:100%}.related-block{margin-top:20px;border-top:1px solid var(--work-line);padding-top:12px}.related-block h3{font-size:14px}.related-block button{margin-top:8px;width:100%}.related-block .page-result{display:grid;text-align:left}.context-hidden{grid-template-columns:250px minmax(280px,1fr)}.context-hidden .desk-details{display:none}.directory-extras{display:flex;gap:14px;align-items:end;padding:16px;flex-wrap:wrap}.directory-extras label{display:grid;gap:7px;font-size:12px}.fleet-table td:last-child{min-width:110px}.fleet-table td:last-child a{display:block;margin-bottom:8px}.side-drawer{margin:0 0 0 auto!important;height:100dvh;max-height:100dvh!important;width:min(580px,96vw)!important;border-radius:0!important}.side-drawer .form-fields{max-height:none}.health-check{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--work-line)}.workspace-settings{margin-top:20px}.workspace-settings button{margin-top:10px}#global-results{max-height:55dvh;overflow:auto}#global-results .page-result{display:grid;gap:4px;text-align:left}.desk-layout{height:calc(100dvh - 255px);min-height:620px}.desk-messages{min-height:130px}.desk-composer>div:last-child{max-height:60px;overflow:auto}.nav-group-label{margin:18px 12px 6px;font-size:10px;letter-spacing:1px;color:var(--work-muted)}
@media(min-height:900px){.desk-layout{min-height:600px}}
@media(max-width:1150px){.context-hidden{grid-template-columns:230px minmax(260px,1fr)}.desk-conversation{height:820px}.desk-layout{height:auto}.desk-layout.context-hidden .desk-conversation{grid-row:span 2}.desk-details form{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.desk-layout{min-height:360px}.desk-layout.has-ticket .desk-conversation{height:auto;min-height:650px}.desk-messages{max-height:45dvh;min-height:220px}.composer-tools{grid-template-columns:1fr 1fr}.desk-details form{grid-template-columns:1fr}.directory-extras{align-items:stretch}.side-drawer{width:100vw!important}.desk-layout.has-ticket.context-hidden .desk-details{display:none}}
.canned-manage{align-self:flex-end;font-size:12px}.desk-toolbar{position:relative}.desk-layout .desk-composer select{min-height:30px}.desk-layout .desk-composer label{font-size:11px}
.attachment-controls{font-size:11px;margin-top:8px}.attachment-controls summary{cursor:pointer}.attachment-controls small{font-size:10px}.desk-composer textarea{height:54px!important;min-height:54px!important}.desk-composer>div>small{max-width:220px}.composer-tools select{padding:4px 7px!important}.desk-composer>div{margin-top:7px}.desk-conversation-head{padding:12px 16px}.desk-conversation-head h2{font-size:18px;margin:6px 0}.desk-toolbar{gap:8px}.canned-manage{position:absolute;right:0;bottom:0;min-height:26px;font-size:10px;padding:4px 8px}
@media(min-width:1151px){main.inbox-main{height:100dvh;display:flex;flex-direction:column;padding-top:65px;padding-bottom:16px;overflow:hidden}.inbox-main header{margin-bottom:12px;padding-bottom:10px}.inbox-main h1{font-size:26px}.inbox-main header .eyebrow{margin-top:0}.inbox-main #content{min-height:0;flex:1;display:flex;flex-direction:column}.inbox-main .desk-layout{height:auto;min-height:0;flex:1}.inbox-main footer{display:none}.inbox-main .desk-messages{min-height:65px}.inbox-main .desk-toolbar>small{padding-right:140px}}
@media(max-width:700px){.canned-manage{position:static}.inbox-main .desk-toolbar>small{padding-right:0}}
