/* Desktop event and pipeline cards share the customer profile's drawer layout. */
.ws-entity-close{display:none}
@media(min-width:681px){
 :is(#ev-modal,#pl-modal).ws-modal-ov{padding:0!important;align-items:stretch!important;justify-content:flex-end;background:#15203966;backdrop-filter:blur(3px);z-index:12000}
 :is(#ev-modal,#pl-modal)>.ws-modal{display:flex;flex-direction:column;width:min(760px,100%);max-width:760px;height:100%;max-height:100dvh!important;margin:0;border:0;border-radius:0!important;padding:0;overflow:hidden;box-shadow:-16px 0 60px #10234722;background:var(--white,#fff);color:var(--dark,#182337);font-size:14px}
 #ev-modal .mc-editor-head,#pl-modal .ws-entity-head{position:static;display:flex;align-items:center;gap:12px;flex:none;min-height:66px;padding:15px 28px;margin:0;border-bottom:1px solid var(--border,#e7eaf0);background:var(--white,#fff);box-sizing:border-box}
 #ev-modal .mc-editor-head .ws-modal-title,#pl-modal .ws-entity-head .ws-modal-title{flex:1;margin:0;color:var(--muted,#768096);font-size:11px;font-weight:750;letter-spacing:.14em;text-transform:uppercase}
 #ev-modal .mc-editor-close,#pl-modal .ws-entity-close{display:grid;place-items:center;order:3;flex:none;width:36px;height:36px;min-width:36px;padding:5px 9px;border:0;border-radius:0;background:transparent;color:var(--muted,#768096);font:inherit;font-size:25px;cursor:pointer}
 :is(#ev-modal,#pl-modal) .ws-entity-body{padding:24px 28px 50px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}
 #pl-modal .ws-entity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 :is(#ev-modal,#pl-modal) .ws-entity-body label{display:block;font-weight:600;font-size:12px;margin:10px 0 7px;color:var(--muted,#768096)}
 :is(#ev-modal,#pl-modal) .ws-entity-body :is(input,textarea,select){box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;font:inherit;font-size:14px;color:var(--dark,#182337);background:var(--surface,#f8f9fc);border:1px solid var(--border,#e1e5ed);border-radius:10px;padding:10px 12px;margin:0;min-height:40px;box-shadow:none}
 :is(#ev-modal,#pl-modal) .ws-entity-body :is(input,textarea,select):focus{outline:none;border-color:#8e7bdc;box-shadow:0 0 0 3px #8171dc13}
 #ev-modal .ws-entity-body #ev-title{font-size:18px;letter-spacing:0}
 :is(#ev-modal,#pl-modal) .ws-entity-body textarea{min-height:110px;resize:vertical;line-height:1.6}
 #ev-modal .ws-modal-row{margin-top:14px;gap:14px}
 #ev-modal .mc-card-extra{margin-top:24px;padding-top:20px;border-top:1px solid var(--border,#e5e9f1)}
 #ev-modal .mc-card-extra>summary{font-size:14px;font-weight:600;color:var(--dark,#182337)}
 #ev-reader h2{font-size:25px;margin-top:0;line-height:1.3}
 #ev-read-notes{margin-top:24px;padding-top:20px;border-top:1px solid var(--border,#e5e9f1);font-size:14px}
 :is(#ev-modal,#pl-modal) .ws-modal-actions{position:static;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;border:0;margin:20px 0 0;padding:0;background:transparent}
 :is(#ev-modal,#pl-modal) .ws-modal-actions .btn{font:inherit;font-size:13px;width:auto;min-height:38px;border-radius:10px;padding:10px 16px}
 :is(#ev-modal,#pl-modal) .ws-modal-actions .ws-cta{background:#7854d1;color:#fff;border:0;font-weight:600;box-shadow:none}
 #pl-card-status:not(:empty){flex-basis:100%;font-size:12px}
}
@media(max-width:680px){#pl-modal .ws-entity-grid,#pl-modal .ws-entity-grid>div,#pl-modal .ws-entity-head{display:contents}}
