[hidden]{display:none!important}
.message-translate{display:inline-block;position:relative;margin-inline-start:.6rem;font-size:.73rem;border:0;padding:0}.message-translate summary{cursor:pointer;color:var(--muted,#8194ae);padding:.2rem}.message-translate[open]{display:block}.translate-menu{position:static;width:230px;max-width:100%;min-width:0;grid-template-columns:1fr 1fr;padding:.5rem;border:1px solid var(--line,#344357);border-radius:12px;background:var(--panel,#122134);box-shadow:0 10px 30px #0003;display:grid;gap:.3rem}.translate-menu button{padding:.45rem .6rem;text-align:start;min-height:36px;width:100%;white-space:normal}.translate-menu small{padding:.3rem;grid-column:1/-1}.message-translation{white-space:pre-wrap;font-size:.86rem;margin-top:.6rem;padding-top:.5rem;border-top:1px dashed #8292a455;opacity:.9}.polish-bar{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.polish-bar label{display:flex;align-items:center;gap:.5rem;font-size:.8rem;margin:0}.polish-bar select{width:auto;max-width:170px;padding:.4rem}.polish-bar small,.polish-bar [role=status]{flex-basis:100%;font-size:.75rem;color:var(--muted,#8194ae)}.compact{padding:.4rem .65rem!important;min-height:34px;white-space:nowrap;width:auto!important}.customer-outcome{border-top:1px solid #8194ae33;padding:1rem 0}.customer-outcome h3{margin:.2rem 0 .65rem;font-size:.95rem}.outcome-controls{display:flex;gap:.5rem;align-items:center}.outcome-controls select{flex:1;min-width:0}.outcome-controls button{width:auto;white-space:nowrap}.customer-outcome small{display:block;font-size:.77rem}.deal-preview{margin-top:.5rem;font-size:.8rem}.deal-preview p{white-space:pre-wrap;overflow-wrap:anywhere}.case-panel{font-size:.85rem}.group-filter{display:inline-flex;align-items:center;gap:.6rem;margin:.75rem 0}.group-filter select{max-width:250px}.group-edit{font-size:.75rem}.group-edit select{padding:.4rem;max-width:210px}.history-actions form{margin-top:.4rem}.history-section .history-row{align-items:center}.hf-state-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem;margin:.8rem 0}.hf-state-grid>div{border:1px solid #8194ae44;border-radius:10px;padding:.75rem}.hf-state-grid strong,.hf-state-grid small{display:block}.workflow-tech-note{font-size:.8rem}.reply-composer textarea[readonly]{opacity:.7}@media(max-width:640px){.polish-bar{gap:.4rem}.polish-bar label{width:100%}.outcome-controls{width:100%}.message-translate summary{min-height:30px;display:inline-flex;align-items:center}.history-actions form{max-width:100%}.group-filter{display:flex}.customer-outcome{padding:.8rem}.translate-menu{min-width:150px}}

@media(max-width:640px){.hf-state-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hf-state-grid strong{font-size:.8rem;overflow-wrap:anywhere}}

.post-group-edit{font-size:.78rem}.post-group-edit summary{cursor:pointer;overflow-wrap:anywhere}.post-group-edit form{padding-top:.5rem}.history-actions .post-group-edit{margin-top:.5rem}.history-actions .post-group-edit select{width:100%}@media(min-width:1000px){.history-section .history-row{grid-template-columns:88px minmax(200px,3fr) minmax(125px,1fr) minmax(85px,.8fr) minmax(90px,1fr) 160px}}

@media(max-width:640px){.history-actions{flex-wrap:wrap}.history-actions .post-group-edit{flex:1 0 100%;margin-top:0}.history-actions .post-group-edit summary{white-space:normal}}
