#expedient-agenda{--ea-line:#d5e3e5;--ea-green:#0c5c59;padding:22px;color:#152b2c}#expedient-agenda *,.ea-dialog *{box-sizing:border-box}.ea-heading,.ea-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.ea-heading{justify-content:space-between;margin-bottom:20px}.ea-heading h3{font-size:21px;margin:0 0 6px}.ea-heading p{color:#647575;margin:0;line-height:1.5}.ea-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:18px;align-items:start}.ea-calendar,.ea-daily{border:1px solid var(--ea-line);border-radius:19px;background:white;min-width:0;overflow:hidden;box-shadow:0 8px 24px #173b3b05}.ea-calendar{padding:16px}.ea-month{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid var(--ea-line);border-radius:12px;padding:9px}.ea-month input{max-width:100%;border:0;font:inherit;font-weight:650;color:inherit;background:transparent;min-height:40px}.ea-month label{min-width:0}.ea-month-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;text-transform:capitalize}.ea-month-caption strong{font-size:14px}.ea-week,.ea-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.ea-week{color:#647575;text-align:center;font-size:11px;font-weight:700;padding:9px 0}.ea-day{position:relative!important;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;min-height:78px!important;width:100%!important;border-radius:11px!important;padding:10px!important;font-size:14px!important;background:#fbfdfd!important;border:1px solid #e4ebec!important;color:#162d2c!important}.ea-day.ea-selected{border:2px solid var(--ea-green)!important;background:#eaf7f3!important;padding:9px!important}.ea-day.ea-outside{color:#a6b1b1!important;background:#fafcfc!important}.ea-day small{font-size:10px;color:#176bc8}.ea-day b{position:absolute;right:7px;bottom:7px;background:var(--ea-green);color:white;border-radius:20px;min-width:22px;padding:3px;font-size:11px}.ea-legend{font-size:12px;color:#647575;margin:15px 0 0}.ea-daily>header{padding:19px;border-bottom:1px solid var(--ea-line);position:relative}.ea-daily header small{font-size:10px;font-weight:800;color:#647575}.ea-daily header h4{margin:8px 0;line-height:1.4;font-size:18px}.ea-daily header>span{display:inline-block;border-radius:16px;background:#edf5ff;color:#1667cf;font-size:12px;padding:5px 9px}.ea-event-list{padding:14px;max-height:650px;overflow:auto}.ea-empty{border:1px dashed var(--ea-line);border-radius:13px;padding:24px 16px;color:#647575;font-size:13px;line-height:1.7;text-align:center}.ea-event{border:1px solid var(--ea-line);border-left:4px solid #2073cf;border-radius:12px;padding:13px;margin-bottom:12px;overflow-wrap:anywhere}.ea-event.done{border-left-color:#139568}.ea-event.overdue{border-left-color:#d94444}.ea-event.cancelled{border-left-color:#91a0a0}.ea-event h4{font-size:15px;line-height:1.5;margin:9px 0}.ea-event p{font-size:12px;line-height:1.65;margin:5px 0}.ea-event small{font-size:11px;color:#647575}.ea-event-meta{display:flex;justify-content:space-between;gap:7px;flex-wrap:wrap;font-size:10px;color:#526a69}.ea-event-meta b{background:#edf6f4;border-radius:10px;padding:3px 7px}.ea-event-meta span{padding-top:3px}.ea-notes{white-space:pre-wrap}.ea-notice{background:#eef6fb;border:1px solid #d5e3e5;border-radius:10px;padding:13px;line-height:1.5}.ea-error{background:#fff3f3;color:#a32c2c}#expedient-agenda button:not(.ea-day),.ea-dialog button{font:inherit;font-size:12px;font-weight:650;min-height:40px;padding:9px 12px;border:1px solid #c9dddd;border-radius:9px;background:white;color:#174943;cursor:pointer}#expedient-agenda button:disabled,.ea-dialog button:disabled{opacity:.5;cursor:default}#expedient-agenda .ea-primary,.ea-dialog .ea-primary{background:#2461ef;color:white;border-color:#2461ef}.ea-danger{color:#ad3737!important;border-color:#f1caca!important}#expedient-agenda button:focus-visible,.ea-dialog :focus-visible{outline:3px solid #a6d7d0;outline-offset:2px}.ea-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ea-dialog{border:1px solid #cbdfe0;border-radius:21px;padding:25px;width:min(700px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;color:#153439;box-shadow:0 24px 80px #102a2940}.ea-dialog::backdrop{background:#15363580;backdrop-filter:blur(3px)}.ea-dialog h3{margin:0 0 8px}.ea-dialog header p{color:#627676;font-size:13px;margin-bottom:20px}.ea-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.ea-form-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650;min-width:0}.ea-form-grid input,.ea-form-grid select,.ea-form-grid textarea{width:100%;min-width:0;min-height:44px;border:1px solid #c8dce2;border-radius:9px;background:white;padding:10px;font:inherit;color:inherit}.ea-wide{grid-column:1/-1}.ea-dialog footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.ea-dialog [role=status]{font-size:13px;color:#a32c2c;line-height:1.5}@media(max-width:1000px){.ea-layout{grid-template-columns:minmax(0,1fr)}.ea-event-list{max-height:none}}@media(max-width:600px){#expedient-agenda{padding:13px}.ea-calendar{padding:10px}.ea-grid,.ea-week{gap:4px}.ea-day{min-height:61px!important;padding:6px!important;font-size:12px!important;border-radius:8px!important}.ea-day.ea-selected{padding:5px!important}.ea-day b{right:4px;bottom:4px;min-width:17px;font-size:10px;padding:2px}.ea-day small{font-size:8px}.ea-week{font-size:9px}.ea-heading .ea-actions{width:100%}#expedient-agenda button:not(.ea-day),.ea-dialog button{min-height:44px}.ea-form-grid{grid-template-columns:minmax(0,1fr)}.ea-dialog{padding:18px}.ea-month{gap:4px;padding:5px}.ea-month input{font-size:13px;max-width:170px}.ea-heading h3{font-size:19px}.ea-heading p{font-size:13px}}

#expedient-agenda button.ea-primary{background:#2461ef;color:#fff;border-color:#2461ef}

.ea-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d5e3e5;padding:10px 0}.ea-history-row p{overflow-wrap:anywhere;line-height:1.6;font-size:13px}
