/* E.K.İ.M. consistent navy/teal administrative document workflow */
.ebm-center{margin:20px 0 28px;color:#1c3b50}
.ebm-head{padding:20px 24px;border-radius:14px;background:linear-gradient(120deg,#12364f,#1b5871);color:#fff;margin-bottom:16px}
.ebm-head h2{color:#fff;margin:0 0 7px;font-size:20px}
.ebm-head p{color:#d8e8f0;margin:0 0 16px}
.ebm-toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.ebm-toolbar button{font-size:12px}
.ebm-layout{display:grid;grid-template-columns:minmax(185px,260px) minmax(0,1fr);gap:15px}
.ebm-records{border-radius:12px;padding:16px;background:#edf3f8;border:1px solid #d3e2ec;align-self:start}
.ebm-records h3{margin:0 0 12px}
.ebm-records button{display:grid;gap:3px;min-width:0;width:100%;text-align:left;margin-bottom:8px;background:#fff;border:1px solid #cbdce8;font-size:12px}
.ebm-records button.active{border-color:#177d96;background:#e4f4f8}
.ebm-records button span{font-size:11px;color:#264e64}
.ebm-records button small{word-break:break-word}
.ebm-editor{background:#fff;border:1px solid #d4e2eb;border-radius:12px;padding:23px;min-width:0;box-shadow:0 4px 18px #19466109}
.ebm-sub{color:#698093;font-size:12px}
.ebm-help{padding:13px 15px;background:#eff7fa;border-left:3px solid #2a8098;border-radius:6px;font-size:12px;line-height:1.65;margin:14px 0}
.ebm-alert{padding:13px 15px;background:#fff6e7;border-left:3px solid #bd8b3a;border-radius:6px;font-size:12px;line-height:1.6;margin:14px 0}
.ebm-warn{padding:13px;background:#fff0dc;border-radius:8px;color:#7a551c;font-size:12px}
.ebm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.ebm-fields label,.ebm-text-fields label{font-size:12px;font-weight:700;display:grid;gap:6px;color:#33536a}
.ebm-fields input,.ebm-text-fields textarea{font:13px "Segoe UI",Arial,sans-serif}
.ebm-text-fields{display:grid;gap:10px;margin:18px 0}
.ebm-text-fields textarea{min-height:120px;line-height:1.5}
.ebm-text-fields button{justify-self:start}
.ebm-participants{border-top:1px solid #e1eaf0;margin-top:16px;padding-top:15px}
.ebm-participants h3{margin-bottom:7px}
.ebm-participants p,.ebm-docs p{color:#5d7485;font-size:12px;line-height:1.6}
.ebm-participant-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:7px;max-height:280px;overflow:auto;padding:4px}
.ebm-person{display:flex;justify-content:space-between;align-items:center;border:1px solid #dbe6ee;padding:8px;border-radius:8px;gap:6px;min-width:0}
.ebm-person label{display:flex;align-items:center;gap:7px;min-width:0;flex:1;font-size:11px}
.ebm-person label input{width:auto;flex:0 0 auto}
.ebm-person label span{min-width:0}
.ebm-person b,.ebm-person small{display:block;overflow-wrap:anywhere}
.ebm-person select{min-width:0;width:107px;font-size:11px;padding:6px}
.ebm-form-actions{border-top:1px solid #e3ebf2;margin:15px 0}
#ebm-form>.ebm-toolbar{padding:16px 0}
.ebm-docs{border-top:1px solid #e3ebf2;margin-top:18px;padding-top:15px}
.ebm-docs h3{margin-bottom:14px}
#ebm-preview{padding-top:13px}
#ebm-preview iframe{width:100%;height:65vh;border:1px solid #c2d5e1;background:white;border-radius:8px}
.ebm-empty{padding:60px 20px;text-align:center;color:#587488}
@media(max-width:900px){.ebm-layout{grid-template-columns:1fr}.ebm-records{display:flex;flex-wrap:wrap;gap:7px}.ebm-records h3{width:100%}.ebm-records button{width:190px;margin:0}}
@media(max-width:650px){.ebm-editor{padding:14px}.ebm-fields{grid-template-columns:1fr}.ebm-person{flex-wrap:wrap}.ebm-person label{flex-basis:100%}.ebm-records button{width:100%}}
