/* EP:bernhard WorkHub Event-Disposition. Namespaced to avoid changes elsewhere. */
.event-disposition{--ed-green:#3cab41;--ed-border:#e5e8ed;--ed-soft:#f6f8f7;--ed-ink:#172033;color:var(--ed-ink);display:grid;gap:17px;min-width:0}
.event-disposition button{font:inherit;cursor:pointer}
.ed-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ed-heading .ed-eyebrow{font-size:10px;letter-spacing:.17em;font-weight:800;color:#3cab41}
.ed-heading h2{margin:3px 0 2px;font-size:25px;line-height:1.18;letter-spacing:-.03em;font-family:Manrope,'DM Sans',sans-serif}
.ed-heading p{margin:0;color:#6f7786}
.ed-heading-actions{display:flex;gap:8px;flex-wrap:wrap}
.ed-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ed-metrics>div{border:1px solid var(--ed-border);background:#fff;padding:14px 17px;border-radius:13px;box-shadow:0 3px 10px #14282a08;min-width:0}
.ed-metrics small{display:block;color:#6b7584;font-size:11px;margin-bottom:4px}
.ed-metrics strong{display:block;font-size:26px;line-height:1.25;font-family:Manrope,'DM Sans',sans-serif}
.ed-metrics .warn{color:#bc7c16}
.ed-tabs{display:flex;gap:6px;border-bottom:1px solid var(--ed-border)}
.ed-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:10px 15px;font-weight:700;color:#667284}
.ed-tabs button.selected{color:#22892e;border-bottom-color:#3cab41}
.ed-tabs button:hover{color:#226d35}
.ed-workarea{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;align-items:start;min-width:0}
.ed-workarea:has(>.ed-detail){grid-template-columns:minmax(0,1fr) minmax(285px,350px)}
.ed-panel{border:1px solid var(--ed-border);background:#fff;border-radius:14px;min-width:0;overflow:hidden;box-shadow:0 3px 15px #14282a06}
.ed-list-top{padding:20px 20px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.ed-list-top h3{font-family:Manrope,'DM Sans',sans-serif;margin:0 0 4px;font-size:17px}
.ed-list-top p{font-size:12px;margin:0;color:#6f7786}
.ed-filter-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ed-filter-bar input,.ed-filter-bar select{border:1px solid #dbe1e8;background:white;border-radius:8px;padding:9px 11px;font-size:12px;min-height:36px;max-width:100%}
.ed-filter-bar input{width:230px}
.ed-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.ed-table-scroll{width:100%;overflow:auto}
.ed-table{width:100%;border-collapse:collapse;font-size:12px}
.ed-table thead{background:#f7f9fa;color:#667284}
.ed-table th{text-align:left;font-weight:700;font-size:11px;padding:12px 14px;white-space:nowrap}
.ed-table td{padding:13px 14px;border-top:1px solid #ebeff2;vertical-align:middle}
.ed-table td>strong{font-size:12px}
.ed-table td>small,.ed-title-link small{display:block;color:#8a94a2;font-size:10px;margin-top:3px}
.ed-table tr:hover td,.ed-table tr.ed-selected td{background:#f5fbf5}
.ed-table button.ed-title-link{display:grid;text-align:left;color:var(--ed-ink);background:transparent;border:0;padding:0;min-width:155px}
.ed-title-link strong{font-size:12px}
.ed-title-link:hover strong{color:#22892e}
.ed-nowrap{white-space:nowrap;color:#414f61}
.ed-table .button.compact{white-space:nowrap}
.ed-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:100px;font-size:10px;font-weight:800;white-space:nowrap;background:#f3f4f6;color:#617080}
.ed-status.live{background:#e6f6ea;color:#20883b}
.ed-status.draft{background:#edf3ff;color:#3972bc}
.ed-status.planned{background:#fff5dd;color:#a0741a}
.ed-status.done{background:#e5f3ee;color:#247b66}
.ed-status.cancel{background:#fff0ee;color:#b3433d}
.ed-status.warning{background:#fff0d6;color:#a36d13}
.ed-list-foot{padding:10px 19px;border-top:1px solid #eef0f2;color:#86909d;font-size:11px}
.ed-empty{padding:24px 18px;color:#84909e;font-size:12px;text-align:center}
.ed-cal-nav{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.ed-cal-nav button{min-width:35px;height:34px;background:#fff;border:1px solid #dfe5e8;border-radius:8px;padding:0 10px;font-weight:700}
.ed-cal-nav button:hover{border-color:#3cab41;color:#208a33}
.ed-cal-range{font-size:12px;font-weight:800;color:#536174;margin-left:8px}
.ed-timeline-tools{display:flex;justify-content:space-between;align-items:center;padding:0 20px 16px;gap:9px;flex-wrap:wrap}
.ed-compact-segments{display:flex;background:#f2f4f5;padding:3px;border-radius:9px;gap:2px}
.ed-compact-segments button{font-size:12px;border:0;border-radius:7px;padding:7px 11px;background:transparent;font-weight:700;color:#718094}
.ed-compact-segments button.active{background:white;color:#228a38;box-shadow:0 1px 4px #13242514}
.ed-show-free{font-size:11px;display:flex;align-items:center;gap:5px;color:#647182}
.ed-timeline-scroll{overflow:auto;width:100%;max-height:65vh;position:relative;scrollbar-gutter:stable}
.ed-grid-head,.ed-grid-row{min-width:600px;display:grid;grid-template-columns:184px minmax(0,1fr)}
.ed-grid-head{position:sticky;top:0;z-index:4;background:#f6f8f9;border-top:1px solid #e8ecf0;border-bottom:1px solid #e8ecf0}
.ed-grid-corner{padding:12px 15px;font-size:11px;font-weight:800;color:#617083;background:#f6f8f9;border-right:1px solid #e9eef0}
.ed-days,.ed-cell-grid{display:grid;grid-template-columns:repeat(var(--ed-cols,7),minmax(0,1fr))}
.ed-days{--ed-cols:7}
.ed-days:has(>.ed-day:only-child){--ed-cols:1}
.ed-day{display:flex;justify-content:center;gap:6px;align-items:center;padding:12px 2px;text-align:center;color:#606c7b;font-size:11px;font-weight:800;border-right:1px solid #e6eced}
.ed-day small{font-weight:600;color:#3cab41}
.ed-day.is-today{color:#187a31;background:#eef9ee}
.ed-grid-row{border-bottom:1px solid #ebeff1;min-height:69px}
.ed-row-name{border-right:1px solid #e6eced;padding:12px 14px;display:flex;flex-direction:column;gap:3px;position:sticky;left:0;background:#fff;z-index:3;overflow:hidden}
.ed-row-name strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-row-name small{font-size:10px;color:#8a95a2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.ed-row-name button{font-size:10px;align-self:flex-start;border:0;background:transparent;color:#248b3f;padding:2px 0;font-weight:700}
.ed-cell{border-right:1px solid #edf0f2;min-height:67px;padding:5px 4px;display:flex;flex-direction:column;gap:4px;position:relative}
.ed-cell.ed-today{background:#f9fdf9}
.ed-event-pill{border:0;background:#eef4f9;border-radius:5px;padding:4px 6px;text-align:left;color:#547086;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-event-pill:hover{background:#e1f2e7;color:#197a33}
.ed-shift{display:grid;min-width:0;gap:2px;border:0;border-left:3px solid #5a9ad5;background:#ebf4fc;border-radius:5px;padding:5px 6px;color:#2d567d;text-align:left}
.ed-shift span{font-size:9px;font-weight:700;white-space:nowrap}
.ed-shift strong{font-size:10px;line-height:1.3;overflow-wrap:anywhere}
.ed-shift.show{border-left-color:#29a46a;background:#e9f7f0;color:#23744d}
.ed-shift.close{border-left-color:#b786cc;background:#f5edf9;color:#73518d}
.ed-shift.other{border-left-color:#dda642;background:#fcf4e4;color:#926717}
.ed-shift.tentative{outline:1px dashed #b5a58c;outline-offset:-1px}
.ed-shift:hover{filter:brightness(.96)}
.ed-add-cell{border:1px dashed #d2e4d5;color:#3cab41;background:transparent;border-radius:5px;font-size:16px;height:27px;opacity:.8}
.ed-add-cell:hover{background:#e9f7ec;opacity:1}
.ed-timeline-foot{display:flex;gap:15px;flex-wrap:wrap;padding:12px 18px;border-top:1px solid #e9edf0;color:#738090;font-size:10px}
.ed-timeline-foot span{display:inline-flex;align-items:center;gap:6px}
.ed-legend{height:10px;width:10px;border-radius:2px;background:#5a9ad5}
.ed-legend.show{background:#29a46a}.ed-legend.close{background:#b786cc}.ed-legend.other{background:#dda642}
.ed-detail{position:sticky;top:18px;max-height:calc(100vh - 135px);display:flex;flex-direction:column}
.ed-detail header{padding:18px 18px 13px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e9edf0;gap:10px}
.ed-detail header small{color:#2eaa47;font-size:10px;font-weight:800;letter-spacing:.12em}
.ed-detail header h3{margin:5px 0 0;font-size:17px;line-height:1.25}
.ed-detail header button{border:1px solid #e2e7eb;background:white;border-radius:7px;width:29px;height:29px;font-size:20px;flex-shrink:0}
.ed-detail-body{padding:14px 18px;overflow:auto;min-height:0;display:grid;gap:12px}
.ed-detail-badges{display:flex;gap:6px}
.ed-facts{margin:0;display:grid;gap:10px}
.ed-facts>div{display:grid;gap:2px}
.ed-facts dt{font-size:10px;color:#83909c;font-weight:700}
.ed-facts dd{margin:0;font-size:12px;font-weight:700;overflow-wrap:anywhere}
.ed-detail h4{font-size:13px;margin:8px 0 0;padding-top:9px;border-top:1px solid #edf0f1}
.ed-detail h4 span{float:right;color:#6a7582}
.ed-duty-item{display:grid;gap:5px;text-align:left;width:100%;background:#fafcfb;border:1px solid #e8edea;border-radius:9px;padding:11px 12px}
.ed-duty-item:hover{border-color:#91c59a}
.ed-duty-item>div{display:flex;justify-content:space-between;align-items:center;gap:5px}
.ed-duty-item strong{font-size:12px}
.ed-duty-item small{font-size:11px;color:#5e6978}
.ed-duty-item span:not(.ed-status){font-size:11px}
.ed-notes{font-size:11px;white-space:pre-line;margin:0;color:#5b6878}
.ed-detail footer{padding:13px;display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid #edf0f1}
.ed-detail footer .button{flex:1;justify-content:center;font-size:11px}
@media(max-width:1300px){.ed-workarea:has(>.ed-detail){grid-template-columns:minmax(0,1fr) minmax(260px,300px)}.ed-table{min-width:890px}}
@media(max-width:1050px){.ed-workarea:has(>.ed-detail){grid-template-columns:1fr}.ed-detail{position:static;max-height:none}.ed-detail-body{max-height:420px}.ed-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ed-heading h2{font-size:21px}.ed-heading-actions{width:100%}.ed-heading-actions .button{flex:1}.ed-metrics{gap:7px}.ed-metrics>div{padding:11px 13px}.ed-metrics strong{font-size:22px}.ed-list-top{padding:14px;align-items:stretch}.ed-filter-bar{width:100%}.ed-filter-bar label:first-child{flex:1;min-width:100%}.ed-filter-bar input{width:100%}.ed-filter-bar select{max-width:100%}.ed-grid-head,.ed-grid-row{min-width:630px;grid-template-columns:150px minmax(0,1fr)}.ed-timeline-tools{padding:0 14px 12px}.ed-row-name{padding:10px}.ed-list-top h3{font-size:15px}}

/* #187: customer is primary, location secondary. */
.ed-table .ed-customer-cell strong{display:block;font-size:13px;font-weight:750;color:var(--ed-ink);line-height:1.45}
.ed-table .ed-customer-cell small{display:block;font-size:11px;color:#6b7584;line-height:1.4;white-space:normal;margin-top:2px}
