/* Scoped enhancements for Punktgruppen's human support workspace. */
.p6-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.p6-stat{border:1px solid var(--line,#e3e7ee);background:#fff;padding:16px 20px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer;color:#344154}.p6-stat span{font-size:12px}.p6-stat strong{font-size:25px;letter-spacing:-.04em;color:#202b36}.p6-stat.selected{border-color:#9eafff;box-shadow:0 0 0 2px #edf0ff}.p6-filter-row{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}.p6-filter-row select{width:100%;font-size:12px}.p6-high{margin:9px 0 0;font-size:11px}.p6-assignee{display:block;font-size:10px;color:#778292;margin-top:8px}.p6-inbox{min-height:660px}.p6-inbox .thread-list-panel{min-width:0}.p6-inbox .thread-item{width:100%}.p6-inbox .thread-item p,.p6-inbox .chat-header h3{overflow-wrap:anywhere}.p6-message-source{font-size:10px;color:#647a9f;line-height:1.5;margin:2px 0 6px;overflow-wrap:anywhere}.p6-compose-options{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}.p6-compose-options small{font-size:10px;line-height:1.4;color:#7b8494;max-width:50%;overflow-wrap:anywhere}.p6-compose-options select{font-size:11px;padding:7px;max-width:205px}.p6-note-form{border-left:3px solid #d5a7bd;padding-left:10px}.p6-compose-options .p6-warning{color:#a95b1c}.p6-presence{background:#fff8ec;border-bottom:1px solid #f0e5ce;padding:8px 16px;font-size:11px;color:#805724}.p6-context-actions{margin-bottom:16px}.p6-related{display:block;font:inherit;text-align:left;background:transparent;border:0;border-bottom:1px solid #edf0f6;padding:10px 0;width:100%;color:#374b78;text-decoration:none;cursor:pointer;font-size:12px;overflow-wrap:anywhere}.p6-related small{display:block;color:#778393;font-size:10px;margin-top:4px}.p6-fine{font-size:10px!important;color:#8a94a6!important;line-height:1.55!important}.p6-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}.p6-product-card{padding:22px;display:flex;flex-direction:column;align-items:flex-start}.p6-product-card h3{margin:17px 0 8px;font-size:16px}.p6-product-card p{font-size:12px;line-height:1.65;color:#768397;flex:1}.p6-product-card small{font-size:11px;color:#8994a7;margin:14px 0}.p6-product-card .text-button{font-size:12px;text-align:left}.p6-product-icon{width:36px;height:36px;border-radius:10px;background:#edf0ff;display:grid;place-items:center;color:#385df5}.p6-product-icon svg{width:18px;height:18px;stroke-width:1.6}.p6-local-note{margin-top:14px}.p6-install-steps{margin:22px 0}.p6-install-steps p{font-size:12px;line-height:1.65;margin:10px 0}.p6-load-more{margin:15px}.p6-inbox .chat-context{overflow-wrap:anywhere}.p6-inbox .composer{min-width:0}.p6-inbox .chat-panel{min-height:650px}.p6-inbox .message-feed{flex:1;min-height:200px}.p6-inbox .thread-list-panel{max-height:900px;overflow:auto}.p6-inbox .chat-context{max-height:900px;overflow:auto}
@media(min-width:1201px){.p6-inbox{grid-template-columns:300px minmax(0,1fr) 250px}}
@media(max-width:1250px){.p6-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p6-compose-options{align-items:flex-start;flex-direction:column}.p6-compose-options small{max-width:100%}.p6-summary{gap:8px}.p6-stat{padding:12px}.p6-stat span{font-size:11px}}
@media(max-width:700px){.p6-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.p6-product-grid{grid-template-columns:1fr}.p6-product-card{padding:18px}.p6-inbox .thread-list-panel{max-height:none}.p6-inbox .chat-panel{min-height:670px}.p6-inbox .chat-header{flex-wrap:wrap}.p6-inbox .chat-header>div{max-width:65%}.p6-compose-options{align-items:stretch}.p6-compose-options select{max-width:100%;width:100%}.p6-filter-row{grid-template-columns:1fr 1fr}.p6-inbox .compose-footer{gap:8px}.p6-inbox .compose-footer small{font-size:10px}.p6-inbox .message{max-width:95%}}

.p6-product-grid>.card{margin:0!important}
@media(max-width:700px){#content:has(.p6-inbox)>.page-heading{flex-direction:column;align-items:stretch;gap:14px}#content:has(.p6-inbox)>.page-heading .tw-actions{flex-direction:row;flex-wrap:wrap;gap:7px}#content:has(.p6-inbox.has-thread)>.page-heading,#content:has(.p6-inbox.has-thread)>.p6-summary{display:none}#content:has(.p6-inbox.has-thread) .p6-inbox{margin-top:0}}
