/* A Técnico claro — messages, incidents, change control and notice editor. */
.mt-coordination [hidden]{display:none!important}
.mt-coordination .mt-coordination-root{max-width:none!important;margin:0!important;padding:0!important;min-width:0}
.mt-coordination h1{font-size:21px!important;margin-top:0}
.mt-coordination .mt-coordination-root>div:first-child{gap:12px;flex-wrap:wrap;margin-bottom:14px!important}
.mt-coordination .mt-coordination-root>form[method=get]{flex-wrap:wrap;gap:8px!important}
.mt-coordination .mt-coordination-fields,.mt-coordination .mt-change-create{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mt-coordination .mt-coordination-fields>div{margin-bottom:0!important;min-width:0}
.mt-coordination .mt-coordination-wide{grid-column:1/-1}
.mt-coordination main input:not([type=checkbox]):not([type=hidden]),.mt-coordination main select,.mt-coordination main textarea{box-sizing:border-box;min-width:0;max-width:100%;padding:7px 9px!important;border-radius:3px!important;font-size:13px!important}
.mt-coordination main label{text-transform:none!important;letter-spacing:0!important;font-size:12px!important;line-height:1.4}
.mt-coordination main textarea{line-height:1.5;min-height:80px;resize:vertical}
.mt-coordination main button[type=submit]{background:#edf2f6!important;color:#34536d!important;border:1px solid #cbd8e3!important;border-radius:3px!important;padding:8px 14px!important}
.mt-coordination main button.mf-btn-danger{background:#f7eeee!important;color:#8a4147!important;border:1px solid #ead6d8!important}
.mt-coordination .mt-coordination-table{max-width:100%;overflow-x:auto}
.mt-coordination .mt-coordination-table table{min-width:700px;margin:0}
.mt-coordination .mt-coordination-table th,.mt-coordination .mt-coordination-table td{padding:8px 10px!important}
.mt-coordination .mt-incident-create{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;padding:14px!important;border-radius:4px!important;background:#fff!important}
.mt-coordination .mt-incident-create>div{min-width:0}
.mt-coordination .mt-incident-work,.mt-coordination .mt-change-work{display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,1.3fr);gap:12px;align-items:start}
.mt-coordination .mt-incident-context{display:flex!important;flex-direction:column;gap:12px!important;margin:0!important;min-width:0}
.mt-coordination .mt-incident-context>div,.mt-coordination .mt-incident-update{padding:14px!important;border-radius:4px!important;background:#fff!important;min-width:0}
.mt-coordination .mt-incident-context>div>div[style*="justify-content"]{gap:12px;flex-wrap:wrap}
.mt-coordination .mt-incident-update form{padding:0!important;border:0!important;box-shadow:none!important}
.mt-coordination .mt-incident-update form>div{gap:12px!important}
.mt-coordination .mt-incident-update>div:first-child{margin-bottom:12px!important}
.mt-coordination .mt-coordination-root span[style*="border-radius:20px"]{border-radius:3px!important}
.mt-coordination .mt-coordination-root div[style*="gap:10px;margin-bottom:4px"]{flex-wrap:wrap}
.mt-coordination .mt-coordination-root [style*="background:#f3e5f5"]{background:#f2f5f8!important;border-color:#dce3e9!important}
.mt-coordination .mt-coordination-root [style*="color:#4a148c"],.mt-coordination .mt-coordination-root [style*="color:#6a1b9a"]{color:#355879!important}
.mt-coordination .mt-coordination-root [style*="accent-color"]{accent-color:#355879!important}
.mt-coordination .mt-change-create{padding:14px!important}
.mt-coordination .mt-change-create>.mf-form-group{margin-bottom:0}
.mt-coordination .mt-change-work>.mf-panel,.mt-coordination .mt-change-review{min-width:0}
.mt-coordination .mt-change-review form{padding:0!important;box-shadow:none!important;border:0!important}
.mt-coordination .mt-change-review .mf-form-group{min-width:0!important}
.mt-messaging .mt-coordination-root{max-width:1100px!important}
.mt-messaging .mt-message-card{background:#fff;border:1px solid #dce3e9;border-radius:4px!important;box-shadow:none!important;padding:14px!important}
.mt-messaging .mt-message-card:has(>a){padding:0!important}
.mt-messaging .mt-message-card>a>div{padding:10px 12px!important}
.mt-messaging .mt-message-card>a>div>div:first-child{width:28px!important;height:28px!important;font-size:12px!important;background:#355879!important;border-radius:4px!important}
.mt-messaging .mt-message-card>a>div>div:nth-child(2)>div:first-child{gap:8px;flex-wrap:wrap}
.mt-messaging .mt-coordination-root>a,.mt-messaging .mt-coordination-root>div>a{border-radius:3px!important}
.mt-messaging .mt-message-card form{padding:0!important;border:0!important;box-shadow:none!important}
.mt-messaging .mt-coordination-fields{margin-bottom:14px}
.mt-messaging .mt-message-reading{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px}
.mt-messaging .mt-message-meta{padding:0 14px 0 0!important;border:0!important;border-right:1px solid #e0e6eb!important;min-width:0}
.mt-messaging .mt-message-meta>div{flex-direction:column;align-items:flex-start!important;gap:10px}
.mt-messaging .mt-message-meta>div>div:last-child{text-align:left!important}
.mt-messaging .mt-message-content{padding:0!important;font-size:13px!important;line-height:1.7!important;overflow-wrap:anywhere}
.mt-messaging .mt-message-actions{padding:12px 0 0!important;margin-top:12px}
.mf-theme-technical #aviso-modal-overlay .dash2-modal{width:min(620px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid #c7d4df;border-radius:5px}
.mf-theme-technical #aviso-modal-overlay header,.mf-theme-technical #aviso-modal-overlay .form-body,.mf-theme-technical #aviso-modal-overlay footer{padding:12px 16px}
.mf-theme-technical #aviso-modal-overlay .form-body{gap:10px}
.mf-theme-technical #aviso-modal-overlay input,.mf-theme-technical #aviso-modal-overlay select,.mf-theme-technical #aviso-modal-overlay textarea{min-width:0;box-sizing:border-box;font-size:13px;padding:7px 9px;border-radius:3px}
.mf-theme-technical #aviso-modal-overlay .btn-submit{background:#355879}
.mf-theme-technical #avisos-libres-list .msg{background:#fff!important;border:1px solid #dce3e9;border-left:3px solid #7793aa;border-radius:4px;padding:10px 12px}
.mf-theme-technical #avisos-libres-list .tone-crit{border-left-color:#a33b3b}
.mf-theme-technical #avisos-libres-list .tone-warn{border-left-color:#a3752d}
.mf-theme-technical #avisos-libres-list .tone-ok{border-left-color:#47735c}
.mf-theme-technical #avisos-libres-list .msg-body{color:#536676;font-size:12px}
@media(max-width:1000px){.mt-coordination .mt-incident-work,.mt-coordination .mt-change-work{grid-template-columns:1fr}.mt-messaging .mt-message-reading{grid-template-columns:1fr}.mt-messaging .mt-message-meta{border:0!important;border-bottom:1px solid #e0e6eb!important;padding:0 0 12px!important}}
@media(max-width:650px){.mt-coordination .mt-coordination-fields,.mt-coordination .mt-incident-create,.mt-coordination .mt-change-create{grid-template-columns:1fr!important}.mt-coordination .mt-coordination-wide{grid-column:auto}.mt-coordination .mt-coordination-root div[style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr!important}.mt-coordination .mt-coordination-root div[style*="display:flex"]{min-width:0}.mt-coordination .mt-coordination-root a,.mt-coordination .mt-coordination-root button{white-space:normal}.mf-theme-technical #aviso-modal-overlay .form-row-2{grid-template-columns:1fr}.mt-coordination .mt-coordination-root form[method=get]>span{width:100%}}
.mt-coordination main button.mf-btn-danger{color:#8a4147!important}
.mt-coordination .mt-change-review button.mf-btn-primary{background:#edf2f6!important;color:#34536d!important}
/* Keep authorized notice actions reachable without a mouse. */
.mf-theme-technical #avisos-libres-list .aviso-actions{display:flex;position:static;justify-content:flex-end;margin-bottom:5px}
.mf-theme-technical #avisos-libres-list .aviso-act-btn{width:26px;height:26px;border-radius:3px}

/* Notice filters must not shrink underneath the scrollable message list. */
.mf-theme-technical .dash2 .avisos {
 top:calc(var(--mt-brand-header-height,88px) + 12px);
 max-height:calc(100dvh - var(--mt-brand-header-height,88px) - var(--mt-footer-height,48px) - 24px);
}
.mf-theme-technical .dash2 .avisos .msg-head,
.mf-theme-technical .dash2 .avisos .msg-filters { flex-shrink:0; }
.mf-theme-technical .dash2 .avisos .msg-filters { overflow:visible; gap:6px; padding:10px 12px; }
.mf-theme-technical .dash2 .avisos .msg-list { min-height:0; overscroll-behavior:contain; }
.mf-theme-technical .dash2 .avisos .chip { display:inline-flex; align-items:center; min-height:30px; box-sizing:border-box; }
.mf-theme-technical .dash2 .avisos .chip:focus-visible { outline:2px solid #355879; outline-offset:2px; }
@media(max-width:1100px) {
 .mf-theme-technical .dash2 .avisos { position:static; max-height:480px; }
}
@media(max-width:600px),(pointer:coarse) {
 .mf-theme-technical .dash2 .avisos .chip { min-height:44px; }
}

.mt-messaging .mt-coordination-root a[style*="background:var(--mf-navy-900)"] {background:#edf2f6!important;color:#34536d!important;border:1px solid #cbd8e3}
