/* iMedi8 0.28 UI foundation
 * Friendly control-surface styling shared by forms, dialogs and workspaces.
 * Presentation only: no workflow or data behaviour lives here.
 */
.pxj-imedi8-app{
  --i8-ink:#17304f;
  --i8-muted:#66778d;
  --i8-line:#dce6f3;
  --i8-soft:#f5f9ff;
  --i8-soft-blue:#e8f3ff;
  --i8-blue:#256cc4;
  --i8-blue-dark:#184f98;
  --i8-green:#2b8b5f;
  --i8-green-soft:#e5f7ed;
  --i8-warn:#9a6518;
  --i8-warn-soft:#fff3d8;
  --i8-danger:#a63f49;
  --i8-danger-soft:#fff0f1;
  --i8-radius:18px;
  --i8-radius-sm:12px;
  --i8-shadow:0 18px 48px rgba(28,58,96,.16);
  color:var(--i8-ink);
}

/* Shared tactile controls */
.pxj-imedi8-app .pxj-imedi8-save-button,
.pxj-imedi8-app .pxj-imedi8-primary-button,
.pxj-imedi8-app .pxj-imedi8-button,
.pxj-imedi8-app .pxj-imedi8-small-button:not(.pxj-imedi8-small-button--quiet){
  min-height:42px!important;
  padding:9px 15px!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#2f7bd4,#2469bd)!important;
  color:#fff!important;
  font-weight:800!important;
  line-height:1.2!important;
  box-shadow:0 5px 12px rgba(37,108,196,.18)!important;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease!important;
}
.pxj-imedi8-app .pxj-imedi8-save-button:hover,
.pxj-imedi8-app .pxj-imedi8-primary-button:hover,
.pxj-imedi8-app .pxj-imedi8-button:hover,
.pxj-imedi8-app .pxj-imedi8-small-button:not(.pxj-imedi8-small-button--quiet):hover{
  transform:translateY(-1px)!important;
  box-shadow:0 8px 16px rgba(37,108,196,.22)!important;
}
.pxj-imedi8-app .pxj-imedi8-small-button--quiet,
.pxj-imedi8-app button.pxj-imedi8-small-button--quiet{
  min-height:42px!important;
  padding:9px 14px!important;
  border:1px solid var(--i8-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#405873!important;
  font-weight:750!important;
  box-shadow:none!important;
}
.pxj-imedi8-app .is-danger.pxj-imedi8-save-button,
.pxj-imedi8-app .is-danger.pxj-imedi8-small-button{
  background:linear-gradient(180deg,#be5962,#a9444e)!important;
  color:#fff!important;
}
.pxj-imedi8-app button:focus-visible,
.pxj-imedi8-app input:focus-visible,
.pxj-imedi8-app textarea:focus-visible,
.pxj-imedi8-app select:focus-visible{
  outline:3px solid rgba(37,108,196,.22)!important;
  outline-offset:2px!important;
}

/* Friendly, consistent fields */
.pxj-imedi8-app .pxj-imedi8-field{display:grid!important;gap:7px!important}
.pxj-imedi8-app .pxj-imedi8-field__label{color:var(--i8-ink)!important;font-size:13px!important;font-weight:800!important}
.pxj-imedi8-app .pxj-imedi8-field__help{color:var(--i8-muted)!important;font-size:12px!important;line-height:1.45!important}
.pxj-imedi8-app .pxj-imedi8-field__control,
.pxj-imedi8-app .pxj-imedi8-person-form input,
.pxj-imedi8-app .pxj-imedi8-person-form textarea,
.pxj-imedi8-app .pxj-imedi8-person-form select,
.pxj-imedi8-app .pxj-imedi8-matter-form input,
.pxj-imedi8-app .pxj-imedi8-matter-form textarea,
.pxj-imedi8-app .pxj-imedi8-matter-form select,
.pxj-imedi8-app .pxj-imedi8-wizard input,
.pxj-imedi8-app .pxj-imedi8-wizard textarea,
.pxj-imedi8-app .pxj-imedi8-wizard select{
  min-height:48px!important;
  padding:11px 13px!important;
  border:1px solid #cddbea!important;
  border-radius:13px!important;
  background:#fff!important;
  color:var(--i8-ink)!important;
  font-size:16px!important;
  box-shadow:inset 0 1px 2px rgba(26,56,91,.035)!important;
}
.pxj-imedi8-app textarea.pxj-imedi8-field__control,
.pxj-imedi8-app .pxj-imedi8-wizard textarea{min-height:120px!important;line-height:1.55!important;resize:vertical!important}
.pxj-imedi8-app .pxj-imedi8-field-grid{gap:14px!important}
.pxj-imedi8-app .pxj-imedi8-form-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;flex-wrap:wrap!important;margin-top:18px!important}
.pxj-imedi8-app .pxj-imedi8-form-status{margin-right:auto!important;color:var(--i8-muted)!important;font-size:12px!important;font-weight:700!important}

/* All task dialogs should feel like one interaction language. */
.pxj-imedi8-app :is(
  .pxj-imedi8-child-required-modal,
  .pxj-imedi8-invite-review,
  .pxj-imedi8-submission-modal,
  .pxj-imedi8-audit-modal,
  .pxj-imedi8-notification-modal,
  .pxj-imedi8-document-modal,
  .pxj-imedi8-matter-settings-modal,
  .pxj-imedi8-parenting-modal,
  .pxj-imedi8-topics-modal,
  .pxj-imedi8-revision-modal
){
  width:min(640px,calc(100% - 24px))!important;
  max-height:calc(100dvh - 28px)!important;
  border:1px solid var(--i8-line)!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:var(--i8-shadow)!important;
  overflow:auto!important;
}
.pxj-imedi8-app :is(
  .pxj-imedi8-document-modal,
  .pxj-imedi8-parenting-modal,
  .pxj-imedi8-topics-modal,
  .pxj-imedi8-matter-settings-modal
){width:min(900px,calc(100% - 24px))!important}

/* Raw confirmation layers that use a bare dialog section. */
.pxj-imedi8-app :is(.pxj-imedi8-edit-warning-layer,.pxj-imedi8-delete-data-confirmation,.pxj-imedi8-wizard-confirm-layer) > section{
  width:min(520px,calc(100% - 24px))!important;
  padding:28px!important;
  border:1px solid var(--i8-line)!important;
  border-radius:24px!important;
  background:#fff!important;
  color:var(--i8-ink)!important;
  box-shadow:var(--i8-shadow)!important;
  text-align:center!important;
}
.pxj-imedi8-app :is(.pxj-imedi8-edit-warning-layer,.pxj-imedi8-delete-data-confirmation,.pxj-imedi8-wizard-confirm-layer) > section > .dashicons{
  display:grid!important;place-items:center!important;width:58px!important;height:58px!important;margin:0 auto 12px!important;border-radius:18px!important;background:var(--i8-warn-soft)!important;color:var(--i8-warn)!important;font-size:28px!important
}
.pxj-imedi8-app :is(.pxj-imedi8-edit-warning-layer,.pxj-imedi8-delete-data-confirmation,.pxj-imedi8-wizard-confirm-layer) > section > .dashicons:before{font-size:28px!important}
.pxj-imedi8-app :is(.pxj-imedi8-edit-warning-layer,.pxj-imedi8-delete-data-confirmation,.pxj-imedi8-wizard-confirm-layer) > section h2{margin:0 0 8px!important;font-size:23px!important;line-height:1.2!important;color:var(--i8-ink)!important}
.pxj-imedi8-app :is(.pxj-imedi8-edit-warning-layer,.pxj-imedi8-delete-data-confirmation,.pxj-imedi8-wizard-confirm-layer) > section p{max-width:46ch!important;margin:0 auto 18px!important;color:var(--i8-muted)!important;line-height:1.55!important}
.pxj-imedi8-app :is(.pxj-imedi8-edit-warning-layer,.pxj-imedi8-delete-data-confirmation,.pxj-imedi8-wizard-confirm-layer) > section > div:last-child{display:flex!important;justify-content:center!important;gap:9px!important;flex-wrap:wrap!important}

/* Modal headers: quiet, spacious, obvious close target. */
.pxj-imedi8-app :is(.pxj-imedi8-document-modal,.pxj-imedi8-submission-modal,.pxj-imedi8-audit-modal,.pxj-imedi8-notification-modal,.pxj-imedi8-invite-review,.pxj-imedi8-matter-settings-modal,.pxj-imedi8-parenting-modal,.pxj-imedi8-topics-modal) .pxj-imedi8-matter-modal__header{
  position:relative!important;
  min-height:72px!important;
  padding:18px 68px 15px 20px!important;
  border-bottom:1px solid #edf2f8!important;
  background:linear-gradient(180deg,#fbfdff,#f5f9ff)!important;
}
.pxj-imedi8-app :is(.pxj-imedi8-document-modal,.pxj-imedi8-submission-modal,.pxj-imedi8-audit-modal,.pxj-imedi8-notification-modal,.pxj-imedi8-invite-review,.pxj-imedi8-matter-settings-modal,.pxj-imedi8-parenting-modal,.pxj-imedi8-topics-modal) .pxj-imedi8-kicker{
  display:block!important;margin:0 0 3px!important;color:#6b7c91!important;font-size:11px!important;font-weight:800!important;text-transform:none!important;letter-spacing:0!important
}
.pxj-imedi8-app :is(.pxj-imedi8-document-modal,.pxj-imedi8-submission-modal,.pxj-imedi8-audit-modal,.pxj-imedi8-notification-modal,.pxj-imedi8-invite-review,.pxj-imedi8-matter-settings-modal,.pxj-imedi8-parenting-modal,.pxj-imedi8-topics-modal) .pxj-imedi8-matter-modal__header h2,
.pxj-imedi8-app :is(.pxj-imedi8-document-modal,.pxj-imedi8-submission-modal,.pxj-imedi8-audit-modal,.pxj-imedi8-notification-modal,.pxj-imedi8-invite-review,.pxj-imedi8-matter-settings-modal,.pxj-imedi8-parenting-modal,.pxj-imedi8-topics-modal) .pxj-imedi8-matter-modal__header h3{
  margin:0!important;color:var(--i8-ink)!important;font-size:21px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:-.02em!important
}
.pxj-imedi8-app :is(.pxj-imedi8-document-modal,.pxj-imedi8-submission-modal,.pxj-imedi8-audit-modal,.pxj-imedi8-notification-modal,.pxj-imedi8-invite-review,.pxj-imedi8-matter-settings-modal,.pxj-imedi8-parenting-modal,.pxj-imedi8-topics-modal) .pxj-imedi8-modal-close{
  position:absolute!important;top:15px!important;right:14px!important;width:42px!important;height:42px!important;border:1px solid var(--i8-line)!important;border-radius:50%!important;background:#fff!important;color:#38516e!important;font-size:25px!important;box-shadow:0 4px 12px rgba(35,67,104,.08)!important
}

/* Participant / onboarding flows: one clear idea at a time, without wasting pages. */
.pxj-imedi8-app :is(.pxj-imedi8-intake-modal,.pxj-imedi8-onboarding-modal,.pxj-imedi8-wizard,.pxj-imedi8-profile-modal,.pxj-imedi8-auth-modal){
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:var(--i8-shadow)!important;
}
.pxj-imedi8-app .pxj-imedi8-intake-main,
.pxj-imedi8-app .pxj-imedi8-onboarding-body,
.pxj-imedi8-app .pxj-imedi8-wizard__body{
  background:linear-gradient(180deg,#f8fbff 0,#fff 150px)!important;
}
.pxj-imedi8-app .pxj-imedi8-wizard-step-card,
.pxj-imedi8-app .pxj-imedi8-statement-card,
.pxj-imedi8-app .pxj-imedi8-copy-card{
  border:1px solid var(--i8-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 7px 18px rgba(34,67,105,.07)!important;
}
.pxj-imedi8-app .pxj-imedi8-wizard__intro h2,
.pxj-imedi8-app .pxj-imedi8-statement-heading h2,
.pxj-imedi8-app .pxj-imedi8-intake-content h2{
  color:var(--i8-ink)!important;font-weight:900!important;letter-spacing:-.025em!important
}
.pxj-imedi8-app .pxj-imedi8-wizard__progress,
.pxj-imedi8-app .pxj-imedi8-onboarding-progress{
  border-radius:999px!important;overflow:hidden!important;background:#e7eef7!important
}
.pxj-imedi8-app .pxj-imedi8-parenting-choice,
.pxj-imedi8-app .pxj-imedi8-money-choice,
.pxj-imedi8-app .pxj-imedi8-outcome-choice,
.pxj-imedi8-app .pxj-imedi8-unlock-choice{
  border:1px solid var(--i8-line)!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(34,67,105,.05)!important;
  transition:border-color .14s ease,background .14s ease,transform .14s ease!important;
}
.pxj-imedi8-app .pxj-imedi8-parenting-choice:hover,
.pxj-imedi8-app .pxj-imedi8-money-choice:hover,
.pxj-imedi8-app .pxj-imedi8-outcome-choice:hover,
.pxj-imedi8-app .pxj-imedi8-unlock-choice:hover{border-color:#9ebfe5!important;transform:translateY(-1px)!important}

/* Notices: recognisable states instead of generic grey boxes. */
.pxj-imedi8-app .pxj-imedi8-private-notice,
.pxj-imedi8-app .pxj-imedi8-statement-confidential,
.pxj-imedi8-app .pxj-imedi8-confidentiality{
  border:1px solid #bfd9f4!important;
  border-radius:16px!important;
  background:#edf6ff!important;
  color:#28547f!important;
}
.pxj-imedi8-app .pxj-imedi8-publish-notice,
.pxj-imedi8-app .pxj-imedi8-shared-info{
  border:1px solid #bfe2ce!important;border-radius:16px!important;background:var(--i8-green-soft)!important;color:#286b4c!important
}
.pxj-imedi8-app .pxj-imedi8-danger-zone,
.pxj-imedi8-app .pxj-imedi8-danger-zone__warning{
  border-radius:16px!important;background:var(--i8-danger-soft)!important;border-color:#efc6ca!important
}

/* Parenting items use the selectable work-object treatment. Agenda rows deliberately do not:
   the Agenda is a document-style list, not cards inside cards. */
.pxj-imedi8-app .pxj-imedi8-parenting-row{
  border:1px solid var(--i8-line)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 5px 14px rgba(34,67,105,.06)!important;
}
.pxj-imedi8-app .pxj-imedi8-agenda-number,
.pxj-imedi8-app .pxj-imedi8-parenting-number{
  border-radius:11px!important;
  background:var(--i8-soft-blue)!important;
  color:var(--i8-blue-dark)!important;
  font-weight:900!important;
}
.pxj-imedi8-app .pxj-imedi8-working-actions,
.pxj-imedi8-app .pxj-imedi8-bulk-actions,
.pxj-imedi8-app .pxj-imedi8-children-actions{
  gap:8px!important;flex-wrap:wrap!important
}

/* Statuses read like state, not metadata. */
.pxj-imedi8-app :is(.pxj-imedi8-inline-status,.pxj-imedi8-document-status,.pxj-imedi8-agreement-status,.pxj-imedi8-agenda-status,.pxj-imedi8-parenting-row-status,.pxj-imedi8-working-status){
  border-radius:999px!important;
  font-weight:800!important;
}

/* Mobile: preserve calm spacing and large targets without turning forms into giant stacks. */
@media(max-width:700px){
  .pxj-imedi8-app :is(.pxj-imedi8-child-required-modal,.pxj-imedi8-invite-review,.pxj-imedi8-submission-modal,.pxj-imedi8-audit-modal,.pxj-imedi8-notification-modal,.pxj-imedi8-document-modal,.pxj-imedi8-matter-settings-modal,.pxj-imedi8-parenting-modal,.pxj-imedi8-topics-modal,.pxj-imedi8-revision-modal){
    width:calc(100% - 12px)!important;max-height:calc(100dvh - 12px)!important;border-radius:20px!important
  }
  .pxj-imedi8-app :is(.pxj-imedi8-edit-warning-layer,.pxj-imedi8-delete-data-confirmation,.pxj-imedi8-wizard-confirm-layer) > section{
    width:calc(100% - 20px)!important;padding:22px 16px!important;border-radius:20px!important
  }
  .pxj-imedi8-app .pxj-imedi8-field-grid{grid-template-columns:1fr!important}
  .pxj-imedi8-app .pxj-imedi8-form-actions{justify-content:stretch!important}
  .pxj-imedi8-app .pxj-imedi8-form-actions .pxj-imedi8-form-status{width:100%!important;margin:0!important}
  .pxj-imedi8-app .pxj-imedi8-form-actions button{flex:1 1 auto!important;min-width:0!important}
  .pxj-imedi8-app :is(.pxj-imedi8-document-modal,.pxj-imedi8-submission-modal,.pxj-imedi8-audit-modal,.pxj-imedi8-notification-modal,.pxj-imedi8-invite-review,.pxj-imedi8-matter-settings-modal,.pxj-imedi8-parenting-modal,.pxj-imedi8-topics-modal) .pxj-imedi8-matter-modal__header{padding:15px 62px 13px 15px!important}
}

@media(prefers-reduced-motion:reduce){
  .pxj-imedi8-app *,
  .pxj-imedi8-app *::before,
  .pxj-imedi8-app *::after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}

/* 0.28.1 refinement pass — calm control surface without expensive blur. */
.pxj-imedi8-app .pxj-imedi8-matter-backdrop,
.pxj-imedi8-app [class*="-layer"]>.pxj-imedi8-matter-backdrop,
.pxj-imedi8-profile-settings-layer,
.pxj-imedi8-matter-welcome-layer{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.pxj-imedi8-app .pxj-imedi8-matter-backdrop,
.pxj-imedi8-app [class*="-layer"]>.pxj-imedi8-matter-backdrop{background:rgba(22,38,61,.46)!important}

.pxj-imedi8-view-modal__body{background-color:#f7fbff!important;background-image:linear-gradient(rgba(249,252,255,.68),rgba(255,255,255,.90)),url('../images/matter-scene.svg')!important;background-repeat:no-repeat!important;background-position:center top!important;background-size:cover!important}

.pxj-imedi8-party-review__card,.pxj-imedi8-party-review__person,.pxj-imedi8-party-review__person>span,.pxj-imedi8-party-review__person strong,.pxj-imedi8-party-review__person small{text-align:center!important;justify-content:center!important}
.pxj-imedi8-party-review__person{width:100%!important}

.pxj-imedi8-view-modal .pxj-imedi8-matter-notifications,.pxj-imedi8-view-modal .pxj-imedi8-matter-audit-button{position:absolute!important;top:18px!important;display:grid!important;place-items:center!important;width:42px!important;height:42px!important;margin:0!important;padding:0!important;border:1px solid #dce6f3!important;border-radius:14px!important;background:#fff!important;color:#315f9f!important;box-shadow:0 5px 14px rgba(33,66,110,.08)!important}
.pxj-imedi8-view-modal .pxj-imedi8-matter-audit-button{right:116px!important}.pxj-imedi8-view-modal .pxj-imedi8-matter-notifications{right:166px!important}
.pxj-imedi8-view-modal .pxj-imedi8-matter-audit-button[hidden],.pxj-imedi8-view-modal .pxj-imedi8-matter-notifications[hidden]{display:none!important}
.pxj-imedi8-view-modal .pxj-imedi8-matter-modal__header{padding-right:216px!important}

.pxj-imedi8-view-modal [data-pxj-imedi8-workspace-tab="documents"],.pxj-imedi8-view-modal [data-i8-docs-card]{display:none!important}

.pxj-imedi8-view-modal .pxj-imedi8-workspace-submodal[data-pxj-imedi8-workspace-panel="people"],.pxj-imedi8-view-modal .pxj-imedi8-workspace-submodal[data-pxj-imedi8-workspace-panel="children"]{position:fixed!important;z-index:2147483580!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(900px,calc(100% - 24px))!important;max-height:calc(100dvh - 24px)!important;margin:0!important;padding:0 20px 20px!important;overflow:auto!important;border:1px solid var(--i8-line)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 0 0 9999px rgba(22,38,61,.46),0 28px 80px rgba(24,43,73,.28)!important}
.pxj-imedi8-view-modal .pxj-imedi8-workspace-submodal[hidden]{display:none!important}
.pxj-imedi8-view-modal .pxj-imedi8-workspace-submodal>.pxj-imedi8-workspace-heading{position:sticky!important;z-index:2!important;top:0!important;margin:0 -20px 18px!important;padding:18px 68px 15px 20px!important;background:linear-gradient(180deg,#fbfdff,#f5f9ff)!important;border-bottom:1px solid #edf2f8!important}
.pxj-imedi8-view-modal .pxj-imedi8-workspace-submodal .pxj-imedi8-modal-close{position:absolute!important;top:14px!important;right:14px!important}
.pxj-imedi8-view-modal [data-children-list]{display:block!important;min-height:1px!important}.pxj-imedi8-view-modal .pxj-imedi8-children-actions{display:flex!important;justify-content:flex-start!important;margin-top:14px!important}.pxj-imedi8-view-modal .pxj-imedi8-children-actions .pxj-imedi8-save-button{display:inline-flex!important;width:auto!important}

.pxj-imedi8-app .pxj-imedi8-form-actions,.pxj-imedi8-app :is(.pxj-imedi8-working-actions,.pxj-imedi8-bulk-actions,.pxj-imedi8-lifecycle-actions,.pxj-imedi8-document-logo-actions){display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}
.pxj-imedi8-app .pxj-imedi8-form-actions .pxj-imedi8-form-status{margin-right:auto!important;min-width:0!important;width:auto!important}.pxj-imedi8-app .pxj-imedi8-form-actions button,.pxj-imedi8-app :is(.pxj-imedi8-working-actions,.pxj-imedi8-bulk-actions,.pxj-imedi8-lifecycle-actions,.pxj-imedi8-document-logo-actions) button{flex:0 0 auto!important;width:auto!important;max-width:100%!important}

.pxj-imedi8-settings-group{padding:20px!important;border:1px solid var(--i8-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 7px 18px rgba(34,67,105,.06)!important}.pxj-imedi8-settings-group+.pxj-imedi8-settings-group{margin-top:14px!important}.pxj-imedi8-settings-group__heading{margin-bottom:16px!important}.pxj-imedi8-settings-group__heading h4{margin:0 0 4px!important;color:var(--i8-ink)!important;font-size:17px!important;font-weight:900!important}.pxj-imedi8-settings-group__heading p{margin:0!important;color:var(--i8-muted)!important;line-height:1.5!important}.pxj-imedi8-settings-group .pxj-imedi8-field__control{min-height:44px!important;border-radius:12px!important;background:#fbfdff!important}.pxj-imedi8-settings-group textarea.pxj-imedi8-field__control{min-height:100px!important}

.pxj-imedi8-topics-modal{width:min(980px,calc(100% - 24px))!important;max-width:980px!important;height:auto!important;max-height:calc(100dvh - 24px)!important;border-radius:24px!important}.pxj-imedi8-topics-modal>[data-topics-body]{padding:18px!important}.pxj-imedi8-document-toolbar__row--add{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;flex-wrap:wrap!important}.pxj-imedi8-document-toolbar__row--add button{flex:0 0 auto!important;width:auto!important;min-width:0!important}.pxj-imedi8-topics-modal button.pxj-imedi8-save-button{color:#fff!important;-webkit-text-fill-color:#fff!important}

.pxj-imedi8-matter-list{display:grid!important;gap:10px!important}.pxj-imedi8-matter-card{position:relative!important;min-height:88px!important;padding:14px 64px 14px 76px!important;border:1px solid #d9e6f4!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(244,249,255,.98))!important;box-shadow:0 6px 16px rgba(34,67,105,.07)!important;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease!important}.pxj-imedi8-matter-card:hover{transform:translateY(-1px)!important;border-color:#9ec1e7!important;box-shadow:0 10px 22px rgba(34,67,105,.11)!important}.pxj-imedi8-matter-card__icon{position:absolute!important;left:14px!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;width:48px!important;height:48px!important;border:0!important;border-radius:16px!important;background:#dcecff!important;color:#205fa8!important}.pxj-imedi8-matter-card__icon .dashicons{display:none!important}.pxj-imedi8-matter-card:before{content:attr(data-i8-matter-initials);position:absolute;z-index:2;left:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:48px;height:48px;color:#205fa8;font-size:14px;font-weight:900;pointer-events:none}.pxj-imedi8-matter-card__title{font-size:15px!important;color:var(--i8-ink)!important}.pxj-imedi8-matter-card__meta{color:var(--i8-muted)!important}.pxj-imedi8-matter-card__actions{position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important}

.pxj-imedi8-matter-search{position:relative!important}.pxj-imedi8-matter-search input{padding-left:42px!important;padding-right:42px!important}.pxj-imedi8-matter-search__focus{left:4px!important;right:auto!important}.pxj-imedi8-matter-search__clear{left:auto!important;right:4px!important}.pxj-imedi8-matter-search__focus,.pxj-imedi8-matter-search__clear{top:50%!important;transform:translateY(-50%)!important;width:32px!important;height:32px!important}

.pxj-imedi8-active-filter-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:12px 0!important;padding:11px 13px!important;border:1px solid #bfd7ee!important;border-radius:14px!important;background:#edf6ff!important;color:#234f78!important}.pxj-imedi8-active-filter-heading[hidden]{display:none!important}.pxj-imedi8-active-filter-heading strong{font-size:12px!important;font-weight:850!important}

@media(max-width:700px){.pxj-imedi8-view-modal .pxj-imedi8-matter-modal__header{padding-right:154px!important}.pxj-imedi8-view-modal .pxj-imedi8-matter-notifications,.pxj-imedi8-view-modal .pxj-imedi8-matter-audit-button{top:14px!important;width:38px!important;height:38px!important;border-radius:12px!important}.pxj-imedi8-view-modal .pxj-imedi8-matter-audit-button{right:102px!important}.pxj-imedi8-view-modal .pxj-imedi8-matter-notifications{right:144px!important}.pxj-imedi8-view-modal .pxj-imedi8-matter-view-gear{display:none!important}.pxj-imedi8-view-modal .pxj-imedi8-workspace-submodal[data-pxj-imedi8-workspace-panel="people"],.pxj-imedi8-view-modal .pxj-imedi8-workspace-submodal[data-pxj-imedi8-workspace-panel="children"]{width:calc(100% - 12px)!important;max-height:calc(100dvh - 12px)!important;border-radius:20px!important}.pxj-imedi8-topics-layer{padding:6px!important}.pxj-imedi8-topics-modal{width:100%!important;max-width:none!important;max-height:calc(100dvh - 12px)!important;border-radius:20px!important}.pxj-imedi8-app .pxj-imedi8-form-actions{justify-content:flex-end!important}.pxj-imedi8-app .pxj-imedi8-form-actions button{flex:0 0 auto!important;width:auto!important}.pxj-imedi8-matter-card{padding:12px 52px 12px 62px!important;min-height:76px!important}.pxj-imedi8-matter-card__icon,.pxj-imedi8-matter-card:before{left:10px!important;width:42px!important;height:42px!important;border-radius:14px!important}.pxj-imedi8-matter-card__actions{right:8px!important}.pxj-imedi8-matter-card__people{display:none!important}}
/* Modal performance: no live backdrop blur anywhere in iMedi8 overlays. */
.pxj-imedi8-app :is(.pxj-imedi8-intake-layer,.pxj-imedi8-auth-layer,.pxj-imedi8-profile-layer,.pxj-imedi8-child-required-layer,.pxj-imedi8-wizard-transition,.pxj-imedi8-wizard-loading,.pxj-imedi8-wizard-confirm-layer,.pxj-imedi8-settings-backdrop,.pxj-imedi8-recovery-backdrop),
.pxj-imedi8-profile-settings-layer,.pxj-imedi8-matter-welcome-layer{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@media(max-width:700px){
  .pxj-imedi8-wizard button.pxj-imedi8-save-button,.pxj-imedi8-wizard button.pxj-imedi8-small-button,.pxj-imedi8-wizard button.pxj-imedi8-wizard__back{width:auto!important;min-width:0!important;flex:0 0 auto!important}
  .pxj-imedi8-intake-main>footer>div{display:flex!important;flex-direction:row!important;gap:8px!important;flex-wrap:wrap!important}
  .pxj-imedi8-intake-main>footer button{width:auto!important;flex:0 0 auto!important}
}

/* 0.28.2 canonical refinements from visual QA. */
/* Main matter list: readable control-surface rows, no collapsed grid remnants. */
.pxj-imedi8-matters .pxj-imedi8-matter-card{
  display:block!important;
  min-height:92px!important;
  padding:15px 66px 15px 78px!important;
}
.pxj-imedi8-matters .pxj-imedi8-matter-card__copy{display:block!important;width:100%!important;min-width:0!important}
.pxj-imedi8-matters .pxj-imedi8-matter-card__top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.pxj-imedi8-matters .pxj-imedi8-matter-card__title{display:block!important;overflow:hidden!important;margin:1px 0 0!important;font-size:16px!important;line-height:1.25!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.pxj-imedi8-matters .pxj-imedi8-matter-card__meta{margin-top:5px!important;font-size:11px!important;line-height:1.35!important}
.pxj-imedi8-matters .pxj-imedi8-matter-card__people{margin-top:7px!important}
.pxj-imedi8-matters .pxj-imedi8-matter-card__people span{max-width:190px!important;font-size:10px!important;padding:4px 7px!important}
.pxj-imedi8-matters .pxj-imedi8-matter-status{font-size:10px!important;padding:5px 8px!important}
.pxj-imedi8-matters .pxj-imedi8-matter-card__actions{inset:0!important;transform:none!important;right:auto!important;top:auto!important}
.pxj-imedi8-matters .pxj-imedi8-matter-settings-button{position:absolute!important;z-index:3!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important}

/* Search has one canonical magnifier at left and one canonical clear button at right. */
.pxj-imedi8-matter-search input{padding-left:42px!important;padding-right:42px!important;font-size:14px!important}
.pxj-imedi8-matter-search__focus{left:4px!important;right:auto!important}
.pxj-imedi8-matter-search__clear{left:auto!important;right:4px!important}
.pxj-imedi8-matter-search__focus,.pxj-imedi8-matter-search__clear{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:32px!important;height:32px!important;padding:0!important}

/* Matter header: Notifications + Audit are visible controls again. */
.pxj-imedi8-view-modal .pxj-imedi8-matter-notifications,
.pxj-imedi8-view-modal .pxj-imedi8-matter-audit-button{display:grid!important}
.pxj-imedi8-view-modal .pxj-imedi8-matter-notifications[hidden],
.pxj-imedi8-view-modal .pxj-imedi8-matter-audit-button[hidden]{display:none!important}
.pxj-imedi8-view-modal .pxj-imedi8-matter-modal__header{padding-right:220px!important}
.pxj-imedi8-view-modal .pxj-imedi8-matter-audit-button{right:116px!important}
.pxj-imedi8-view-modal .pxj-imedi8-matter-notifications{right:166px!important}

/* The three current work objects are a centered group. */
.pxj-imedi8-view-modal .pxj-imedi8-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:620px!important;margin-inline:auto!important}

/* Matter scene: static SVG only; no blur/parallax/repaint-heavy effects. */
.pxj-imedi8-view-modal__body{
  background-color:#f7fbff!important;
  background-image:linear-gradient(rgba(248,252,255,.66),rgba(255,255,255,.88)),url('../images/matter-scene.svg')!important;
  background-position:center top!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}

/* Agenda modal: same width language as Matter, consistent inset and readable buttons. */
.pxj-imedi8-topics-modal{width:min(980px,calc(100% - 24px))!important;max-width:980px!important}
.pxj-imedi8-topics-modal>.pxj-imedi8-matter-modal__header{padding:16px 68px 14px 20px!important}
.pxj-imedi8-topics-modal>[data-topics-body]{padding:18px 20px 20px!important}
.pxj-imedi8-topics-modal button.pxj-imedi8-small-button:not(.pxj-imedi8-small-button--quiet){color:#fff!important;-webkit-text-fill-color:#fff!important}
.pxj-imedi8-topics-modal button.pxj-imedi8-small-button--quiet{color:#315f9f!important;-webkit-text-fill-color:#315f9f!important}
.pxj-imedi8-document-toolbar__row--add{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;flex-wrap:wrap!important}
.pxj-imedi8-document-toolbar__row--add button{flex:0 0 auto!important;width:auto!important;min-width:0!important}
.pxj-imedi8-topic-editor-layer.is-agenda-topic-editor .pxj-imedi8-agenda-source{margin:8px 0 16px!important;padding:10px 12px!important;border-radius:12px!important;background:#f5f9ff!important}

/* Settlement document controls: compact, readable, clearly stateful. */
.pxj-imedi8-settlement-layer .pxj-imedi8-document-modal__body{padding:20px!important}
.pxj-imedi8-settlement-lifecycle{display:flex!important;align-items:end!important;justify-content:flex-start!important;gap:10px!important;padding:13px 14px!important}
.pxj-imedi8-settlement-lifecycle label{min-width:180px!important}
.pxj-imedi8-settlement-layer .pxj-imedi8-form-actions{justify-content:flex-start!important;margin:12px 0!important}
.pxj-imedi8-settlement-layer [data-settlement-print]{flex:0 0 auto!important;width:auto!important;min-width:0!important;white-space:nowrap!important;padding-inline:14px!important}
.pxj-imedi8-settlement-layer [data-settlement-refresh]{flex:0 0 auto!important;width:auto!important}
.pxj-imedi8-settlement-layer .pxj-imedi8-document-status{margin:4px 0 10px!important}

@media(max-width:700px){
  .pxj-imedi8-view-modal .pxj-imedi8-matter-modal__header{padding-right:150px!important}
  .pxj-imedi8-view-modal .pxj-imedi8-matter-notifications{right:100px!important}
  .pxj-imedi8-view-modal .pxj-imedi8-matter-audit-button{right:56px!important}
  .pxj-imedi8-view-modal .pxj-imedi8-matter-notifications,
  .pxj-imedi8-view-modal .pxj-imedi8-matter-audit-button{width:36px!important;height:36px!important;top:15px!important}
  .pxj-imedi8-view-modal .pxj-imedi8-matter-view-gear{display:none!important}
  .pxj-imedi8-view-modal .pxj-imedi8-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:100%!important}
  .pxj-imedi8-matters .pxj-imedi8-matter-card{min-height:80px!important;padding:12px 54px 12px 64px!important}
  .pxj-imedi8-matters .pxj-imedi8-matter-card__title{font-size:14px!important}
  .pxj-imedi8-matters .pxj-imedi8-matter-card__meta{font-size:10px!important}
  .pxj-imedi8-matters .pxj-imedi8-matter-card__people{display:none!important}
  .pxj-imedi8-settlement-layer [data-settlement-print]{white-space:normal!important}
}


/* 0.28.4 canonical UX refinements */
.pxj-imedi8-brand-logo{display:block!important;object-fit:contain!important}.pxj-imedi8-brand-logo--top{width:108px!important;height:46px!important}.pxj-imedi8-brand-logo--access{width:150px!important;height:150px!important;margin:0 auto 18px!important}.pxj-imedi8-brand-logo--opener{width:84px!important;height:44px!important}
.pxj-imedi8-view-modal__body{background-image:linear-gradient(rgba(18,32,48,.20),rgba(18,32,48,.30)),url('../images/matter-ambience.jpg')!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important}
.pxj-imedi8-workspace-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pxj-imedi8-workspace-tabs button{min-width:0!important}
@media(max-width:560px){.pxj-imedi8-workspace-tabs{display:flex!important;align-items:stretch!important;justify-content:center!important;gap:4px!important}.pxj-imedi8-workspace-tabs button{flex:1 1 0!important;max-width:33.333%!important;padding-inline:3px!important}}
.pxj-imedi8-document-toolbar{display:grid!important;gap:12px!important}.pxj-imedi8-document-toolbar__row{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}.pxj-imedi8-document-toolbar__row--actions{justify-content:flex-start!important}.pxj-imedi8-document-toolbar__row--add,.pxj-imedi8-document-toolbar__row--view{justify-content:flex-end!important}.pxj-imedi8-document-toolbar button{width:auto!important;flex:0 0 auto!important}.pxj-imedi8-document-toolbar__row--actions .pxj-imedi8-small-button{background:#fff!important;color:#315f9f!important;border:1px solid #cbd9eb!important;box-shadow:none!important}.pxj-imedi8-document-toolbar__row--actions .pxj-imedi8-small-button:disabled{background:#f2f5f8!important;color:#98a5b5!important}.pxj-imedi8-document-toolbar__row--add [data-add-topic]{background:#5b59e8!important;color:#fff!important}.pxj-imedi8-document-toolbar__row--view label{display:flex!important;align-items:center!important;gap:7px!important}.pxj-imedi8-bulk-actions{margin-top:10px!important;padding:12px 0!important;border-top:1px solid #e2e8f0!important}.pxj-imedi8-bulk-actions[hidden]{display:none!important}.pxj-imedi8-agenda-row{border:0!important;box-shadow:none!important}.pxj-imedi8-agenda-status.is-not_discussed{border-color:#f0d9a0!important;background:#fff4d7!important;color:#8a6116!important}
.pxj-imedi8-settlement-empty{display:flex!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;margin-top:18px!important}
html.pxj-imedi8-modal-open,body.pxj-imedi8-modal-open{overflow:hidden!important;overscroll-behavior:none!important}
@media(max-width:700px){.pxj-imedi8-document-toolbar__row--actions,.pxj-imedi8-document-toolbar__row--add,.pxj-imedi8-document-toolbar__row--view{gap:6px!important}.pxj-imedi8-document-toolbar__row--actions button,.pxj-imedi8-document-toolbar__row--add button{font-size:10px!important;padding:8px 10px!important}}


/* 0.29.2 canonical modal parity: Agenda + Parenting match Settlement */
.pxj-imedi8-topics-layer,.pxj-imedi8-parenting-layer{padding:18px!important}
.pxj-imedi8-topics-modal,.pxj-imedi8-parenting-modal{
  position:relative!important;z-index:1!important;display:flex!important;flex-direction:column!important;
  width:min(940px,100%)!important;height:94vh!important;max-width:940px!important;max-height:94vh!important;
  overflow:hidden!important;border:0!important;border-top:7px solid #5368e8!important;border-radius:24px!important;
  background:#fff!important;box-shadow:0 30px 100px rgba(20,26,61,.48)!important;
}
.pxj-imedi8-topics-modal>[data-topics-body],.pxj-imedi8-parenting-modal>[data-parenting-body]{min-height:0!important;overflow-y:auto!important;padding:28px!important;background:#fff!important}
.pxj-imedi8-topics-modal .pxj-imedi8-matter-modal__header,.pxj-imedi8-parenting-modal .pxj-imedi8-matter-modal__header{padding:18px 68px 15px 20px!important;border-bottom:1px solid #edf2f8!important;background:linear-gradient(180deg,#fbfdff,#f5f9ff)!important}
@media(max-width:700px){.pxj-imedi8-topics-layer,.pxj-imedi8-parenting-layer{padding:0!important}.pxj-imedi8-topics-modal,.pxj-imedi8-parenting-modal{width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.pxj-imedi8-topics-modal>[data-topics-body],.pxj-imedi8-parenting-modal>[data-parenting-body]{padding:16px!important}}

/* 0.29.4 canonical Agenda list + modal parity.
   Keep this in ui-foundation.css because it is the final loaded UI stylesheet. */
.pxj-imedi8-app .pxj-imedi8-topics-modal{
  box-sizing:border-box!important;
  width:min(940px,100%)!important;
  max-width:940px!important;
  height:94vh!important;
  max-height:94vh!important;
  overflow:hidden!important;
}
.pxj-imedi8-app .pxj-imedi8-topics-modal>.pxj-imedi8-matter-modal__header{
  flex:0 0 auto!important;
  box-sizing:border-box!important;
  padding:18px 68px 15px 20px!important;
}
.pxj-imedi8-app .pxj-imedi8-topics-modal>[data-topics-body]{
  flex:1 1 auto!important;
  min-height:0!important;
  box-sizing:border-box!important;
  overflow-y:auto!important;
  padding:28px!important;
}
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-list{
  display:block!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
}
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-row{
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:visible!important;
  margin:0!important;
  padding:16px 0!important;
}
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-row + .pxj-imedi8-agenda-row{
  border-top:1px solid #e7edf5!important;
}
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-item,
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-item-heading,
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-item-content,
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-source{
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
@media(max-width:700px){
  .pxj-imedi8-app .pxj-imedi8-topics-modal{width:100%!important;height:100dvh!important;max-height:100dvh!important}
  .pxj-imedi8-app .pxj-imedi8-topics-modal>.pxj-imedi8-matter-modal__header{padding:15px 58px 13px 16px!important}
  .pxj-imedi8-app .pxj-imedi8-topics-modal>[data-topics-body]{padding:16px!important}
  .pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-row{padding:14px 0!important}
}

/* 0.29.5 canonical button contrast: regular = coloured/white text; quiet = white/dark text. */
.pxj-imedi8-app button.pxj-imedi8-small-button:not(.pxj-imedi8-small-button--quiet),.pxj-imedi8-app button.pxj-imedi8-save-button{background:linear-gradient(135deg,#5368e8,#7057d0)!important;border-color:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important}
.pxj-imedi8-app button.pxj-imedi8-small-button.pxj-imedi8-small-button--quiet{background:#fff!important;border:1px solid #cfd5df!important;color:#405873!important;-webkit-text-fill-color:#405873!important;text-shadow:none!important}


/* 0.32.20 — Matters QA repair only: clean icon, right-edge status, lighter controls. */
.pxj-imedi8-matters .pxj-imedi8-matter-card{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) auto!important;
  align-items:start!important;
  column-gap:12px!important;
  padding:14px!important;
}
.pxj-imedi8-matters .pxj-imedi8-matter-card__icon{
  position:static!important;left:auto!important;top:auto!important;transform:none!important;
  grid-column:1!important;grid-row:1!important;
  width:48px!important;height:48px!important;margin:0!important;
}
.pxj-imedi8-matters .pxj-imedi8-matter-card__copy{grid-column:2!important;grid-row:1!important;min-width:0!important;padding:0!important}
.pxj-imedi8-matters .pxj-imedi8-matter-card__top{display:block!important;position:static!important;margin:0 0 3px!important;padding:0!important}
.pxj-imedi8-matters .pxj-imedi8-matter-card__type{display:block!important;padding:0!important}
.pxj-imedi8-matters .pxj-imedi8-matter-card__title{padding:0!important}
.pxj-imedi8-matters .pxj-imedi8-matter-card__meta{padding:0!important}
.pxj-imedi8-matters>.pxj-imedi8-matter-list .pxj-imedi8-matter-status,
.pxj-imedi8-matters .pxj-imedi8-matter-card>.pxj-imedi8-matter-status{
  position:static!important;grid-column:3!important;grid-row:1!important;align-self:start!important;justify-self:end!important;
  margin:0!important;max-width:118px!important;text-align:center!important;white-space:normal!important;line-height:1.15!important;
}
.pxj-imedi8-matters .pxj-imedi8-matter-card__actions{position:absolute!important;inset:0!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important}
@media(max-width:700px){
  .pxj-imedi8-app .pxj-imedi8-matters .pxj-imedi8-matter-control-row--primary>button.pxj-imedi8-small-button,
  .pxj-imedi8-app .pxj-imedi8-matters button.pxj-imedi8-search-button{
    border:1px solid #d9def0!important;background:#fff!important;color:#575bc2!important;-webkit-text-fill-color:#575bc2!important;box-shadow:none!important;text-shadow:none!important;
  }
  .pxj-imedi8-app .pxj-imedi8-matters .pxj-imedi8-matter-control-row--primary>button.pxj-imedi8-small-button:hover,
  .pxj-imedi8-app .pxj-imedi8-matters .pxj-imedi8-matter-control-row--primary>button.pxj-imedi8-small-button:focus-visible,
  .pxj-imedi8-app .pxj-imedi8-matters button.pxj-imedi8-search-button:hover,
  .pxj-imedi8-app .pxj-imedi8-matters button.pxj-imedi8-search-button:focus-visible{background:#f6f5ff!important}
  .pxj-imedi8-matters .pxj-imedi8-matter-card{grid-template-columns:42px minmax(0,1fr) auto!important;column-gap:10px!important;min-height:82px!important;padding:12px!important}
  .pxj-imedi8-matters .pxj-imedi8-matter-card__icon{width:42px!important;height:42px!important;border-radius:14px!important}
  .pxj-imedi8-matters .pxj-imedi8-matter-card>.pxj-imedi8-matter-status{max-width:112px!important}
  .pxj-imedi8-matters .pxj-imedi8-matter-card__meta{font-size:10px!important}
}


/* 0.32.21 — Matters controls: only Add new matter is primary-colour. */
.pxj-imedi8-app .pxj-imedi8-matters .pxj-imedi8-matter-control-row--primary>button.pxj-imedi8-small-button,
.pxj-imedi8-app .pxj-imedi8-matters button.pxj-imedi8-search-button{
  border:1px solid #d9def0!important;
  background:#fff!important;
  color:#575bc2!important;
  -webkit-text-fill-color:#575bc2!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
.pxj-imedi8-app .pxj-imedi8-matters .pxj-imedi8-matter-control-row--primary>button.pxj-imedi8-small-button:hover,
.pxj-imedi8-app .pxj-imedi8-matters .pxj-imedi8-matter-control-row--primary>button.pxj-imedi8-small-button:focus-visible,
.pxj-imedi8-app .pxj-imedi8-matters button.pxj-imedi8-search-button:hover,
.pxj-imedi8-app .pxj-imedi8-matters button.pxj-imedi8-search-button:focus-visible{
  background:#f6f5ff!important;
}

/* 0.32.44 — Matter modal hierarchy. This stylesheet loads after control-surface, so this is the canonical nav treatment. */
.pxj-imedi8-view-modal .pxj-imedi8-workspace-tabs button,
.pxj-imedi8-view-modal .pxj-imedi8-workspace-tabs button.pxj-imedi8-small-button{
  min-width:auto!important;
  min-height:34px!important;
  padding:7px 12px!important;
  border:1px solid rgba(66,87,112,.20)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.62)!important;
  background-image:none!important;
  color:#405873!important;
  -webkit-text-fill-color:#405873!important;
  box-shadow:none!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-workspace-tabs button:hover,
.pxj-imedi8-view-modal .pxj-imedi8-workspace-tabs button:focus-visible{
  background:rgba(255,255,255,.88)!important;
  border-color:rgba(66,87,112,.34)!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-workspace-tabs button.is-active{
  background:rgba(255,255,255,.94)!important;
  background-image:none!important;
  border-color:rgba(66,87,112,.34)!important;
  color:#2e4967!important;
  -webkit-text-fill-color:#2e4967!important;
  box-shadow:0 3px 10px rgba(39,63,91,.08)!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-workspace-tabs button[hidden]{display:none!important}

.pxj-imedi8-matter-greeting{max-width:760px;margin:0 auto 18px;padding:8px 2px;color:#18334f}
.pxj-imedi8-matter-greeting h3{margin:0;font-size:24px;line-height:1.15}
.pxj-imedi8-matter-greeting p{margin:5px 0 0;font-size:13px;color:#526b83}
.pxj-imedi8-party-setup-block{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;max-width:760px;margin:0 auto 20px;padding:16px;border:1px solid rgba(194,156,65,.32);border-radius:15px;background:rgba(255,248,229,.72);color:#604d25}
.pxj-imedi8-party-setup-block[hidden]{display:none!important}
.pxj-imedi8-party-setup-block>.dashicons{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.75);color:#8f6a19}
.pxj-imedi8-party-setup-block strong{display:block}
.pxj-imedi8-party-setup-block p{margin:4px 0 0;font-size:11px;line-height:1.5}

.pxj-imedi8-view-modal [data-pxj-imedi8-workspace-panel="overview"]>.pxj-imedi8-view-summary,
.pxj-imedi8-view-modal [data-pxj-imedi8-workspace-panel="overview"]>.pxj-imedi8-matter-details{display:none!important}

.pxj-imedi8-header-contact-button{position:absolute!important;top:18px!important;right:216px!important;z-index:10!important;min-height:36px!important;padding:8px 13px!important;border:1px solid #d4dfeb!important;border-radius:12px!important;background:rgba(255,255,255,.88)!important;color:#31506f!important;font-size:11px!important;font-weight:800!important;box-shadow:0 4px 12px rgba(33,66,110,.07)!important;cursor:pointer!important}
.pxj-imedi8-view-modal.is-participant-view .pxj-imedi8-header-contact-button{right:70px!important}

.pxj-imedi8-matter-meta{display:grid;gap:0;margin:0}
.pxj-imedi8-matter-meta>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;padding:11px 0;border-bottom:1px solid #edf0f5}
.pxj-imedi8-matter-meta dt{font-size:11px;font-weight:800;color:#6a788b}
.pxj-imedi8-matter-meta dd{margin:0;font-size:12px;font-weight:700;color:#253d57}
.pxj-imedi8-matter-meta-people{margin-top:20px}.pxj-imedi8-matter-meta-people h3{margin:0 0 10px;font-size:15px}
.pxj-imedi8-matter-meta-people ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.pxj-imedi8-matter-meta-people li{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid #e8edf3;border-radius:12px;background:#f8fafc}
.pxj-imedi8-matter-meta-people li>span:last-child{display:grid;gap:2px}.pxj-imedi8-matter-meta-people small{color:#718096;font-size:10px}

.pxj-imedi8-avatar-tone-0{background:#dcecff!important;color:#245f9e!important}
.pxj-imedi8-avatar-tone-1{background:#e8e1ff!important;color:#6043a9!important}
.pxj-imedi8-avatar-tone-2{background:#dcf4e7!important;color:#277351!important}
.pxj-imedi8-avatar-tone-3{background:#fff0cf!important;color:#8b611d!important}
.pxj-imedi8-avatar-tone-4{background:#f8dfe8!important;color:#93465e!important}
.pxj-imedi8-avatar-tone-5{background:#e2eef0!important;color:#3e6870!important}
.pxj-imedi8-party-avatar img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}

@media(max-width:700px){
  .pxj-imedi8-header-contact-button{top:58px!important;right:12px!important}
  .pxj-imedi8-view-modal.is-participant-view .pxj-imedi8-header-contact-button{right:12px!important}
  .pxj-imedi8-party-setup-block{grid-template-columns:38px minmax(0,1fr)}
  .pxj-imedi8-party-setup-block button{grid-column:1/-1;width:100%}
  .pxj-imedi8-matter-meta>div{grid-template-columns:1fr;gap:3px}
  .pxj-imedi8-matter-greeting h3{font-size:21px}
}

/* 0.32.45 — focused Matter modal cleanup */
.pxj-imedi8-party-review__card:before{
  display:none!important;
  content:none!important;
}

/* Greeting sits directly over the matter image. */
.pxj-imedi8-matter-greeting,
.pxj-imedi8-matter-greeting h3,
.pxj-imedi8-matter-greeting p{
  color:#fff!important;
  text-shadow:0 1px 3px rgba(12,27,43,.58)!important;
}
.pxj-imedi8-matter-greeting p{opacity:.96!important}

/* Matter details keeps its header visible and scrolls the content vertically. */
.pxj-imedi8-matter-details-layer .pxj-imedi8-contact-modal{
  display:flex!important;
  flex-direction:column!important;
  width:min(620px,calc(100vw - 32px))!important;
  max-height:calc(100dvh - 36px)!important;
  overflow:hidden!important;
}
.pxj-imedi8-matter-details-layer .pxj-imedi8-contact-modal>.pxj-imedi8-matter-modal__header{
  flex:0 0 auto!important;
}
.pxj-imedi8-matter-details-layer .pxj-imedi8-contact-modal__body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}

/* Support/Get in touch is now simply the final navigation action. */
.pxj-imedi8-view-modal .pxj-imedi8-workspace-tabs [data-i8-nav-contact]{
  order:99!important;
}
.pxj-imedi8-header-contact-button{display:none!important}

@media(max-width:700px){
  .pxj-imedi8-matter-details-layer .pxj-imedi8-contact-modal{
    width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - 20px)!important;
  }
}

/* 0.32.46 — canonical avatar alignment */
.pxj-imedi8-party-review__person>.pxj-imedi8-party-avatar,
.pxj-imedi8-party-popup-person>.pxj-imedi8-party-avatar,
.pxj-imedi8-person-card>.pxj-imedi8-party-avatar,
.pxj-imedi8-matter-meta-people .pxj-imedi8-party-avatar{
  display:grid!important;
  place-items:center!important;
  margin-inline:auto!important;
  text-align:center!important;
}
.pxj-imedi8-party-review__person{
  display:grid!important;
  justify-items:center!important;
}
.pxj-imedi8-party-popup-person>.pxj-imedi8-party-avatar,
.pxj-imedi8-person-card>.pxj-imedi8-party-avatar,
.pxj-imedi8-matter-meta-people .pxj-imedi8-party-avatar{
  margin-inline:0!important;
}

/* 0.32.47 — party/setup hardening */
.pxj-imedi8-app{
  --i8-blue:#1769b0!important;
  --i8-blue-dark:#125991!important;
}
.pxj-imedi8-app .pxj-imedi8-save-button,
.pxj-imedi8-app .pxj-imedi8-primary-button,
.pxj-imedi8-app .pxj-imedi8-button,
.pxj-imedi8-app .pxj-imedi8-small-button:not(.pxj-imedi8-small-button--quiet){
  background:#1769b0!important;
  background-image:linear-gradient(180deg,#1f75bd,#1769b0)!important;
  box-shadow:0 5px 12px rgba(23,105,176,.18)!important;
}
.pxj-imedi8-app .pxj-imedi8-save-button:hover,
.pxj-imedi8-app .pxj-imedi8-primary-button:hover,
.pxj-imedi8-app .pxj-imedi8-button:hover,
.pxj-imedi8-app .pxj-imedi8-small-button:not(.pxj-imedi8-small-button--quiet):hover{
  background:#125991!important;
  background-image:linear-gradient(180deg,#196ba9,#125991)!important;
  box-shadow:0 8px 16px rgba(23,105,176,.22)!important;
}
.pxj-imedi8-wizard [data-wizard-person] .pxj-imedi8-field-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:100%!important;
}
.pxj-imedi8-wizard [data-wizard-person] .pxj-imedi8-field,
.pxj-imedi8-wizard [data-wizard-person] .pxj-imedi8-field__control{
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
}
.pxj-imedi8-wizard [data-wizard-person] input,
.pxj-imedi8-wizard [data-wizard-person] select,
.pxj-imedi8-wizard [data-wizard-person] textarea{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:700px){
  .pxj-imedi8-wizard [data-wizard-person] .pxj-imedi8-field-grid{
    grid-template-columns:1fr!important;
  }
  .pxj-imedi8-wizard [data-wizard-person] .pxj-imedi8-field--wide{
    grid-column:auto!important;
  }
}

.pxj-imedi8-pixeljuice-account-layer{position:fixed!important;z-index:2147483640!important;inset:0!important;display:grid!important;place-items:center!important;padding:18px!important;background:rgba(15,23,42,.48)!important}
.pxj-imedi8-pixeljuice-account-modal{position:relative!important;z-index:1!important;display:flex!important;flex-direction:column!important;width:min(520px,calc(100vw - 28px))!important;max-height:calc(100dvh - 36px)!important;overflow:hidden!important;border-radius:22px!important;background:#fff!important;box-shadow:0 24px 70px rgba(15,23,42,.28)!important}
.pxj-imedi8-pixeljuice-account-body{overflow-y:auto!important;padding:22px!important}
.pxj-imedi8-pixeljuice-account-grid{display:grid!important;gap:0!important;margin:0!important}
.pxj-imedi8-pixeljuice-account-grid>div{display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;gap:14px!important;padding:11px 0!important;border-bottom:1px solid #edf0f5!important}
.pxj-imedi8-pixeljuice-account-grid dt{font-size:11px!important;font-weight:800!important;color:#6a788b!important}
.pxj-imedi8-pixeljuice-account-grid dd{margin:0!important;font-size:13px!important;font-weight:800!important;color:#253d57!important}
@media(max-width:520px){.pxj-imedi8-pixeljuice-account-grid>div{grid-template-columns:1fr!important;gap:3px!important}}

.pxj-imedi8-avatar{background:#1769b0!important;background-image:none!important;color:#fff!important}
.pxj-imedi8-avatar__image{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}

/* 0.32.66 Agenda simplification */
.pxj-imedi8-topics-modal>.pxj-imedi8-agenda-header{display:block!important;padding:16px 20px 14px!important}
.pxj-imedi8-agenda-header-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.pxj-imedi8-agenda-header-actions{display:flex!important;align-items:center!important;gap:7px!important;flex:none!important}
.pxj-imedi8-agenda-header-actions .pxj-imedi8-icon-button{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border:1px solid #d7e1ee!important;border-radius:12px!important;background:#fff!important;color:#285ea9!important;box-shadow:0 5px 15px rgba(28,61,104,.08)!important}
.pxj-imedi8-agenda-header-actions .pxj-imedi8-modal-close{position:static!important;inset:auto!important;width:38px!important;height:38px!important;min-width:38px!important;margin:0!important}
.pxj-imedi8-agenda-title-block{margin-top:10px!important;max-width:720px!important}
.pxj-imedi8-agenda-title-block h2{margin:0!important;font-size:22px!important;line-height:1.2!important}
.pxj-imedi8-agenda-title-block p{margin:5px 0 0!important;color:#68778d!important;font-size:12.5px!important;line-height:1.5!important}
.pxj-imedi8-document-toolbar__row--actions{justify-content:flex-start!important}
.pxj-imedi8-document-toolbar__row--actions>.pxj-imedi8-small-button,
.pxj-imedi8-document-toolbar__row--actions>.pxj-imedi8-save-button{width:auto!important;min-width:0!important;padding:9px 12px!important;border:1px solid #cbd9ea!important;background:#fff!important;color:#315f9f!important;-webkit-text-fill-color:#315f9f!important;box-shadow:none!important}
.pxj-imedi8-document-toolbar__row--actions>.pxj-imedi8-save-button{font-weight:700!important}
.pxj-imedi8-agenda-row{grid-template-columns:18px 22px minmax(0,1fr)!important;gap:6px!important}
.is-bulk-managing .pxj-imedi8-agenda-row{grid-template-columns:25px 18px 22px minmax(0,1fr)!important}
.pxj-imedi8-reorder-handle{width:18px!important;min-width:18px!important;height:30px!important;min-height:30px!important}
.pxj-imedi8-reorder-handle .dashicons{font-size:15px!important;width:15px!important;height:15px!important}
.pxj-imedi8-agenda-number{min-width:22px!important;width:22px!important;justify-content:flex-start!important}
.pxj-imedi8-agenda-item-heading{display:flex!important;align-items:flex-start!important;gap:7px!important;flex-wrap:nowrap!important}
.pxj-imedi8-agenda-item-heading h3{flex:1 1 auto!important;min-width:0!important}
.pxj-imedi8-agenda-item-heading .pxj-imedi8-agenda-status{flex:0 0 auto!important;white-space:nowrap!important;margin-top:0!important}
.pxj-imedi8-agenda-item-actions{display:flex!important;align-items:center!important;gap:6px!important;margin:6px 0 2px!important}
.pxj-imedi8-agenda-item-actions [data-edit]{min-height:30px!important;padding:5px 10px!important}
.pxj-imedi8-agenda-source.is-private-source{margin-top:9px!important;padding:9px 10px!important;border:1px solid #efc6ca!important;border-radius:10px!important;background:#fff4f4!important;color:#7f3038!important}
.pxj-imedi8-agenda-source.is-private-source strong{display:block!important;margin-bottom:4px!important;color:#a23a46!important;font-size:9px!important;font-weight:800!important;letter-spacing:.045em!important;text-transform:uppercase!important}
.pxj-imedi8-agenda-source.is-private-source .pxj-imedi8-source-snippet{white-space:normal!important;overflow:visible!important;margin:0!important;color:#733c43!important;font-size:10.5px!important;line-height:1.5!important}
.pxj-imedi8-agenda-source.is-private-source small{display:block!important;margin-top:4px!important;color:#986169!important;font-size:9.5px!important}
.pxj-imedi8-observer-note{margin:0 0 12px!important;padding:10px 12px!important;border:1px solid #efc6ca!important;border-radius:11px!important;background:#fff4f4!important;color:#7f3038!important;font-size:11px!important;font-weight:650!important}
.pxj-imedi8-help-article{max-width:760px!important}
.pxj-imedi8-help-article>.pxj-imedi8-kicker{color:#5571a8!important}
.pxj-imedi8-help-article h3{margin:6px 0 12px!important;font-size:25px!important;line-height:1.22!important;color:#183653!important}
.pxj-imedi8-help-content{padding:18px 20px!important;border:1px solid #dce8f4!important;border-radius:16px!important;background:linear-gradient(180deg,#f4f9ff 0,#fff 72%)!important;color:#40546b!important;font-size:13px!important;line-height:1.7!important}
.pxj-imedi8-help-content h2,.pxj-imedi8-help-content h3,.pxj-imedi8-help-content h4{color:#1d3f61!important;line-height:1.3!important}
.pxj-imedi8-help-content a{color:#1769b0!important;font-weight:700!important}
@media(max-width:620px){
  .pxj-imedi8-topics-modal>.pxj-imedi8-agenda-header{padding:13px 12px 12px!important}
  .pxj-imedi8-agenda-header-top{align-items:flex-start!important}
  .pxj-imedi8-agenda-header-actions{gap:5px!important}
  .pxj-imedi8-agenda-header-actions .pxj-imedi8-icon-button,.pxj-imedi8-agenda-header-actions .pxj-imedi8-modal-close{width:35px!important;height:35px!important;min-width:35px!important}
  .pxj-imedi8-agenda-title-block{margin-top:9px!important}
  .pxj-imedi8-agenda-title-block h2{font-size:20px!important}
  .pxj-imedi8-agenda-row{grid-template-columns:15px 20px minmax(0,1fr)!important;gap:5px!important}
  .is-bulk-managing .pxj-imedi8-agenda-row{grid-template-columns:23px 15px 20px minmax(0,1fr)!important}
  .pxj-imedi8-reorder-handle{width:15px!important;min-width:15px!important}
  .pxj-imedi8-agenda-number{width:20px!important;min-width:20px!important}
  .pxj-imedi8-agenda-item-heading{gap:5px!important;flex-wrap:nowrap!important}
  .pxj-imedi8-agenda-item-heading h3{flex-basis:auto!important;font-size:12.5px!important}
  .pxj-imedi8-agenda-item-heading .pxj-imedi8-agenda-status{font-size:8px!important;padding:3px 6px!important}
}

/* 0.32.72 — canonical compact Matter party rows. */
.pxj-imedi8-view-modal .pxj-imedi8-party-review__list{
  grid-template-columns:1fr!important;
  gap:8px!important;
  margin-bottom:16px!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-party-review__card{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:0!important;
  width:100%!important;
  padding:10px 13px!important;
  border-radius:14px!important;
  text-align:left!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-party-review__person{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  justify-items:start!important;
  gap:10px!important;
  width:auto!important;
  min-width:0!important;
  flex:1 1 auto!important;
  text-align:left!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-party-review__person>.pxj-imedi8-party-avatar{
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  margin:0!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-party-review__person>span:last-child{
  display:block!important;
  min-width:0!important;
  text-align:left!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-party-review__person strong,
.pxj-imedi8-view-modal .pxj-imedi8-party-review__person small{
  display:block!important;
  text-align:left!important;
  justify-content:flex-start!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-party-review__person strong{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-party-review__person small{
  margin-top:2px!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-party-review__badges{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-party-review__badges b{
  white-space:nowrap!important;
}
@media(max-width:700px){
  .pxj-imedi8-view-modal .pxj-imedi8-party-review__card{
    padding:9px 10px!important;
    gap:8px!important;
  }
  .pxj-imedi8-view-modal .pxj-imedi8-party-review__person{
    gap:8px!important;
  }
  .pxj-imedi8-view-modal .pxj-imedi8-party-review__person>.pxj-imedi8-party-avatar{
    flex-basis:34px!important;
    width:34px!important;
    height:34px!important;
  }
  .pxj-imedi8-view-modal .pxj-imedi8-party-review__badges b{
    padding:4px 7px!important;
    font-size:9px!important;
  }
}

/* 0.32.81 — keep agreed/SA Agenda topics visible without visually competing with open work. */
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-row.is-in-settlement{
  background:#f4f6f8!important;
  border-color:#e2e7ec!important;
}
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-row.is-in-settlement .pxj-imedi8-agenda-item-heading h3,
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-row.is-in-settlement .pxj-imedi8-agenda-item-content{
  color:#778291!important;
}
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-row.is-in-settlement .pxj-imedi8-agenda-sa-link{
  opacity:1!important;
  background:#e9eef2!important;
  border-color:#cfd8df!important;
  color:#4f6272!important;
}
.pxj-imedi8-app .pxj-imedi8-topics-modal .pxj-imedi8-agenda-row.is-in-settlement .pxj-imedi8-agenda-sa-link.is-changed{
  background:#fff8df!important;
  border-color:#e6c878!important;
  color:#795d10!important;
}

/* 0.33.26 — protect workspace copy/icons from theme colour inheritance */
.pxj-imedi8-view-modal .pxj-imedi8-matter-greeting,
.pxj-imedi8-view-modal .pxj-imedi8-matter-greeting h3{color:#18334f!important;-webkit-text-fill-color:#18334f!important}
.pxj-imedi8-view-modal .pxj-imedi8-matter-greeting p{color:#526b83!important;-webkit-text-fill-color:#526b83!important}
.pxj-imedi8-view-modal .pxj-imedi8-setup-incomplete h3{color:#263c55!important;-webkit-text-fill-color:#263c55!important}
.pxj-imedi8-view-modal .pxj-imedi8-setup-incomplete p{color:#69788d!important;-webkit-text-fill-color:#69788d!important}
.pxj-imedi8-view-modal .pxj-imedi8-matter-view-gear,
.pxj-imedi8-view-modal .pxj-imedi8-matter-view-gear .dashicons{color:#53647a!important;-webkit-text-fill-color:#53647a!important}
.pxj-imedi8-parenting-list .pxj-imedi8-parenting-saved-clause{grid-column:1/-1;margin:9px 0 0 50px!important;color:#44536a!important;-webkit-text-fill-color:#44536a!important;font-size:12px!important;font-weight:400!important;line-height:1.55!important;white-space:pre-wrap;text-align:left}
.pxj-imedi8-parenting-list .pxj-imedi8-parenting-saved-clause.is-todo{font-style:italic;color:#7a8493!important;-webkit-text-fill-color:#7a8493!important}


/* 0.33.27 — workspace clarity: crisp greeting, centred cards, distinct tools */
.pxj-imedi8-view-modal .pxj-imedi8-matter-greeting,
.pxj-imedi8-view-modal .pxj-imedi8-matter-greeting h3,
.pxj-imedi8-view-modal .pxj-imedi8-matter-greeting p{
  text-shadow:none!important;filter:none!important;opacity:1!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-tool-grid--row{
  grid-template-columns:repeat(3,minmax(0,200px))!important;
  justify-content:center!important;
  max-width:820px!important;
  margin-left:auto!important;margin-right:auto!important;
}
.pxj-imedi8-view-modal .pxj-imedi8-tool-card--primary-parties{background:linear-gradient(145deg,#eaf8f2,#d6f0e4)!important;color:#23745a!important}
.pxj-imedi8-view-modal .pxj-imedi8-tool-card--sessions{background:linear-gradient(145deg,#f0ebff,#ddd4ff)!important;color:#5b46ad!important}
.pxj-imedi8-view-modal .pxj-imedi8-tool-card--case-notes{background:linear-gradient(145deg,#e8f7ff,#d1effc)!important;color:#217ca8!important}
.pxj-imedi8-view-modal .pxj-imedi8-tool-card--my-details{background:linear-gradient(145deg,#eaf8f2,#d6f0e4)!important;color:#23745a!important}
.pxj-imedi8-view-modal .pxj-imedi8-tool-card--mediation-agenda{background:linear-gradient(145deg,#fff1e3,#ffdfbf)!important;color:#9a5818!important}
.pxj-imedi8-view-modal .pxj-imedi8-tool-card--settlement-agreement{background:linear-gradient(145deg,#fff0f7,#ffd9ea)!important;color:#a83f73!important}
.pxj-imedi8-view-modal .pxj-imedi8-tool-card--parenting-plan{background:linear-gradient(145deg,#eef8df,#dcedbd)!important;color:#527b20!important}
@media(max-width:700px){
  .pxj-imedi8-view-modal .pxj-imedi8-tool-grid--row{grid-template-columns:repeat(2,minmax(0,1fr))!important;justify-content:stretch!important;max-width:100%!important}
}

/* 0.33.30 — Minor editor/read-only cleanup. */
.pxj-imedi8-child-editor-layer .pxj-imedi8-child-dob-row{display:grid!important;grid-template-columns:minmax(150px,220px) 110px!important;gap:14px!important;align-items:end!important;justify-content:start!important}
.pxj-imedi8-child-editor-layer .pxj-imedi8-child-dob{max-width:220px!important}
.pxj-imedi8-child-editor-layer .pxj-imedi8-child-age{max-width:110px!important}
.pxj-imedi8-child-editor-layer output.pxj-imedi8-field__control{display:flex!important;align-items:center!important;min-height:42px!important;background:#f7f9fc!important;color:#243b5a!important;-webkit-text-fill-color:#243b5a!important}
.pxj-imedi8-child-row [data-child-edit]{width:auto!important;min-width:0!important;padding:8px 12px!important;border:1px solid #cbd9eb!important;border-radius:10px!important;background:#fff!important;color:#315f9f!important;-webkit-text-fill-color:#315f9f!important;box-shadow:none!important}
@media(max-width:430px){.pxj-imedi8-child-editor-layer .pxj-imedi8-child-dob-row{grid-template-columns:minmax(0,1fr) 88px!important;gap:10px!important}.pxj-imedi8-child-editor-layer .pxj-imedi8-child-dob,.pxj-imedi8-child-editor-layer .pxj-imedi8-child-age{max-width:none!important}}
