/* Compact request card; creation forms and other dialogs keep their layout. */
.modal.department-detail.request-compact{padding:18px}
.request-compact .department-responsibles{gap:8px 12px;padding:10px 0;align-items:center}
.request-compact .task-assignee-names{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;flex:0 1 auto;min-width:0}
.request-compact .task-assignee-names>br{display:none}
.request-compact .task-assignee-names .person{margin:0;max-width:100%;overflow-wrap:anywhere}
.request-compact .department-responsibles button{padding:7px 11px}
.request-compact .department-board{gap:10px;margin:12px 0}
.request-compact .dept-column{padding:12px}
.request-compact .dept-column>header{padding-bottom:8px;margin-bottom:8px}
.request-compact .dept-items{min-height:0;flex:initial}
.request-compact .dept-add{margin-top:auto;padding:7px 0}
.request-compact .dept-item{padding:8px 0;margin-bottom:6px}
.request-compact .dept-item-files:empty{display:none}
.request-compact .factory-pin-wrap{margin-bottom:6px}
.request-compact .factory-pin{padding:8px;gap:8px}
.request-compact .factory-pin small{margin-top:3px}
.request-compact .factory-pin-status{font-size:12px;margin:5px 0}
.request-compact .dept-payment{padding:0;border:0;background:transparent;margin:0 0 8px;border-radius:0}
.request-compact .dept-payment label{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;font-size:12px;font-weight:400;color:var(--ink);margin:0}
.request-compact .dept-payment select{width:auto;max-width:100%;min-width:0;flex:1 1 115px;margin:0;padding:6px 8px;font-size:13px;border-radius:4px;font-weight:500}
.request-compact .dept-payment[data-payment=paid] select{color:#366d46}
.request-compact .dept-payment .dept-payment-note:empty,.request-compact .dept-payment .dept-payment-error:empty{display:none}
.request-compact .department-lower{gap:12px}
.request-compact .department-info>.box,.request-compact .department-chat{padding:12px;margin-bottom:10px}
.request-compact .department-lower h3{font-size:14px;margin:0 0 10px}
.request-compact .department-info .description{margin:8px 0;line-height:1.5}
.request-compact #edittask{padding:5px 9px}
.request-compact .department-history{padding:12px}
.request-compact .department-chat .chatmessages{padding:0;max-height:340px}
.request-compact .department-chat .chatbubble{padding:9px 10px;margin:0 0 7px}
.request-compact .department-chat .chatbubble .description{margin:4px 0 0;line-height:1.5}
.request-compact .department-chat #chattext{min-height:64px!important;padding:9px;margin:6px 0 0}
.request-compact .department-chat #commentform>.primary{margin-top:8px!important;padding:8px 12px}
.request-compact #departmentgeneral .dept-file{padding:6px 8px;margin:6px 0;font-size:12px}
.request-compact #carddrop{padding:9px;margin-top:8px;font-size:12px}
@media(min-width:721px){
 .request-compact .request-head{gap:12px;padding-bottom:12px}
 .request-compact .request-title{gap:10px}
 .request-compact .request-title h2{font-size:24px}
}
@media(min-width:901px){
 .request-compact:not(.factory-drawer) .department-board{grid-template-columns:repeat(4,minmax(0,1fr))}
 .request-compact:not(.factory-drawer) .department-lower{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
}
@media(max-width:720px){
 .request-compact .department-responsibles{gap:8px;padding:7px 0}
 .request-compact .task-assignee-names{gap:7px 10px}
 .request-compact .department-board{gap:9px;margin:8px 0}
 .request-compact .department-chat #chattext{font-size:16px}
 .request-compact .dept-payment select{font-size:16px;min-height:44px}
}
@media(pointer:coarse){
 .request-compact .department-responsibles button,.request-compact .request-more>summary,
 .request-compact .dept-add,.request-compact .dept-item-top>button,.request-compact #edittask,
 .request-compact .department-history>summary,.request-compact #commentform>.primary{min-height:44px}
 .request-compact .dept-item-top>button{min-width:44px}
}
