html.lkd-open,body.lkd-open{overflow:hidden!important;max-width:100%!important}
.lkd-backdrop{position:fixed;inset:0;background:#fff;z-index:99999;display:block;overflow:hidden;max-width:100vw}
.lkd-drawer{width:100%;max-width:100%;min-width:0;height:100%;background:#fff;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}
.lkd-drawer header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px;border-bottom:1px solid #e5e7eb;background:#f8fafc;box-sizing:border-box;min-width:0}
.lkd-drawer header>div{min-width:0}.lkd-drawer h2{margin:0;font-size:18px}.lkd-drawer small{display:block;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lkd-close{flex:0 0 auto;border:0;background:transparent;font-size:26px;line-height:1;color:#64748b;cursor:pointer;padding:2px 4px}
.lkd-form{box-sizing:border-box;width:100%;min-width:0;padding:14px 16px 20px;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:12px}
.lkd-form>label,.lkd-grid label{min-width:0;display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#334155}
.lkd-form input,.lkd-form select,.lkd-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;border:1px solid #cbd5e1;border-radius:7px;background:#fff;padding:9px 10px;font:inherit;color:#0f172a}
.lkd-form textarea{resize:vertical}.lkd-grid{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.lkd-search-field{position:relative}.lkd-combobox,.lkd-multiselect{position:relative;min-width:0}
.lkd-options{display:none;position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;max-height:210px;overflow:auto;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 10px 22px rgba(15,23,42,.15);padding:4px}.lkd-options.show{display:block}
.lkd-options button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:9px 10px;border-radius:5px;color:#0f172a;font:inherit;cursor:pointer}.lkd-options button:hover,.lkd-options button:focus{background:#f1f5f9;outline:none}.lkd-empty-option{padding:9px 10px;color:#64748b;font-weight:400}
.lkd-multiselect{border:1px solid #cbd5e1;border-radius:7px;background:#fff;padding:6px}.lkd-multiselect>.lkd-staff-input{border:0!important;padding:5px 4px!important;box-shadow:none!important;outline:none}.lkd-staff-chips{display:flex;flex-wrap:wrap;gap:5px}.lkd-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;background:#e8f5ee;color:#14532d;border-radius:999px;padding:4px 7px;font-size:12px;font-weight:600}.lkd-chip button{border:0;background:transparent;color:#166534;font-size:16px;line-height:1;padding:0;cursor:pointer}
.lkd-actions{display:flex;justify-content:flex-end;gap:8px;padding-bottom:max(0px,env(safe-area-inset-bottom))}.lkd-actions button{border:1px solid #cbd5e1;border-radius:7px;background:#fff;padding:9px 12px}.lkd-save{background:#08783e!important;border-color:#08783e!important;color:#fff;font-weight:700}
.matter-dates-card .date-summary-row{text-align:left!important}.matter-dates-card .date-summary-copy{flex:1 1 auto!important;width:auto!important;min-width:0!important;text-align:left!important;justify-items:start!important;align-items:start!important}.matter-dates-card .date-summary-copy strong,.matter-dates-card .date-summary-copy small,.matter-dates-card .date-summary-copy span{width:100%!important;text-align:left!important}.matter-dates-card .contacts-heading>span{display:none!important}
.matter-dates-card .key-date-actions{display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;width:auto!important;min-width:0!important;flex:0 0 auto!important;margin-left:8px!important}
.matter-dates-card .key-date-edit-button,.matter-dates-card .key-date-calendar-button,.matter-dates-card .key-date-delete-button{box-sizing:border-box!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;border:1px solid #d8e0e8!important;border-radius:8px!important;background:#fff!important;color:#176b3a!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;cursor:pointer!important;box-shadow:none!important;vertical-align:middle!important;flex:0 0 28px!important}.matter-dates-card .key-date-edit-button:hover,.matter-dates-card .key-date-calendar-button:hover{background:#edf8f1!important;border-color:#a9d8ba!important}.matter-dates-card .key-date-delete-button{color:#b42318!important}.matter-dates-card .key-date-delete-button:hover{background:#fff0ee!important;border-color:#f0b4ad!important}.matter-dates-card .key-date-edit-button svg,.matter-dates-card .key-date-calendar-button svg,.matter-dates-card .key-date-delete-button svg{width:15px!important;height:15px!important;fill:currentColor!important;flex:none!important;display:block!important}
@media(max-width:360px){.lkd-form{padding-left:12px;padding-right:12px}.lkd-grid{gap:8px}.lkd-actions button{padding-left:10px;padding-right:10px}}
