.legalflow-ui .app-shell :is(.settings-page,.staff-page){display:flex;flex-direction:column;gap:16px;--av-fs-md:13px;--av-fs-sm:12px;--av-fs-xs:11px;--av-r:12px;--av-r-lg:18px}.legalflow-ui .app-shell .settings-page .staff-page{gap:12px}.legalflow-ui .app-shell:has(.settings-page,.staff-page) .topbar{min-height:84px;padding-top:16px;padding-bottom:8px}.legalflow-ui .app-shell .page-content:has(>.settings-page,>.staff-page){padding-top:4px}.legalflow-ui .app-shell .workspace-pages :is(.settings-page,.staff-page)>.page-heading{display:flex;align-items:center;justify-content:space-between;margin:0;gap:16px}.legalflow-ui .app-shell .workspace-pages :is(.settings-page,.staff-page)>.page-heading>div:first-child{position:static;width:auto;height:auto;margin:0;padding:0;clip:auto;clip-path:none;overflow:visible;flex:1;white-space:normal;min-width:0}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .page-heading h1{margin:0;font:600 25px/1.2 var(--av-font);letter-spacing:-.035em;color:var(--av-ink)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .page-heading p{margin:5px 0 0;max-width:none;font-size:12px;line-height:1.5;color:var(--av-muted)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .button,.legalflow-ui .app-shell :is(.settings-page,.staff-page) .page-heading .button{height:auto;min-height:38px;border-radius:999px;box-shadow:none;font-size:13px;font-weight:500}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .card{border-radius:18px;box-shadow:none;overflow:visible}.legalflow-ui .info-hint{position:relative;display:inline-flex;flex:none;vertical-align:middle}.legalflow-ui .info-hint-button{display:inline-grid;place-items:center;width:20px;height:20px;min-height:20px;padding:0;border:0;border-radius:50%;background:transparent;color:#1F1D20;box-shadow:none;cursor:pointer}.legalflow-ui .info-hint-button svg{display:block;width:20px;height:20px}.legalflow-ui .info-hint-button:hover,.legalflow-ui .info-hint-button[aria-expanded=true]{background:transparent;color:#3A342C}.legalflow-ui .info-hint-button:focus-visible{outline:2px solid var(--av-muted);outline-offset:3px}.legalflow-ui .info-hint-pop{position:absolute;z-index:20;top:calc(100% + 8px);left:0;width:max-content;max-width:280px;padding:8px 10px;border:1px solid #e6e0d7;border-radius:12px;background:#fff;color:#4D4845;font-size:12px;font-weight:400;line-height:1.45;text-align:left;box-shadow:0 8px 24px #1F1D2010}.legalflow-ui .info-hint-pop[hidden]{display:none}.legalflow-ui .field:has(>.info-hint){display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;column-gap:6px}.legalflow-ui .field:has(>.info-hint)>label{grid-column:1;grid-row:1;margin:0}.legalflow-ui .field:has(>.info-hint)>.info-hint{grid-column:2;grid-row:1}.legalflow-ui .field:has(>.info-hint)>:not(label):not(.info-hint){grid-column:1/-1;grid-row:2}.legalflow-ui .app-shell .settings-card-title{display:inline-flex;align-items:center;gap:8px;min-width:0}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .card-head{padding:14px 16px}.legalflow-ui .app-shell .staff-page>.settings-inline-actions>h2,.legalflow-ui .app-shell :is(.settings-page,.staff-page) .card h2,.legalflow-ui .app-shell :is(.settings-page,.staff-page) .card-head h2{margin:0;font:600 16px/1.35 var(--av-font);letter-spacing:-.02em;color:var(--av-ink)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .card-head>svg{color:var(--av-muted)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .card-body{padding:16px}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .card-body>p,.legalflow-ui .app-shell :is(.settings-page,.staff-page) .card-head p{font-size:12px;line-height:1.5;color:var(--av-muted)}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-categories{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;margin:0}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-categories .settings-category{position:relative;display:inline-flex;flex:1 1 0;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 6px;border:0;border-bottom:1px solid #b8aa96;border-radius:0;background:transparent;box-shadow:none;color:#4D4845;font-size:13px;font-weight:500;text-align:center;text-decoration:none}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-categories .settings-category:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#1F1D20;transform:scaleX(0);transform-origin:left;transition:transform .24s cubic-bezier(.22,1,.36,1);pointer-events:none}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-categories .settings-category-icon{display:inline-grid;place-items:center;width:auto;height:auto;padding:0;border-radius:0;background:transparent;box-shadow:none;color:inherit}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-categories .settings-category:is(:hover,:focus-visible,[aria-current=page]){background:transparent;border-color:transparent transparent #B8AA96;color:#1F1D20;box-shadow:none}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-categories .settings-category:is(:hover,:focus-visible,[aria-current=page]):after{transform:scaleX(1)}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-categories .settings-category:focus-visible{outline:2px solid var(--av-muted);outline-offset:3px}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-categories .settings-category[aria-current=page] .settings-category-icon{background:transparent;color:inherit;box-shadow:none}@media(prefers-reduced-motion:reduce){.legalflow-ui .app-shell .workspace-pages .settings-page .settings-categories .settings-category:after{transition:none}}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .badge{padding:0;background:transparent;color:var(--av-muted);font-size:12px;font-weight:400}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .badge:before{width:5px;height:5px;background:var(--av-border-strong)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) :is(.badge-active,.badge-paid){background:transparent;color:var(--av-success-ink)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) :is(.badge-active,.badge-paid):before{background:var(--av-success)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) :is(.badge-trialing,.badge-past_due){background:transparent;color:var(--av-warning-ink)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) :is(.badge-trialing,.badge-past_due):before{background:var(--av-warning)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) :is(.badge-canceled,.badge-expired){background:transparent;color:var(--av-danger-ink)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) :is(.badge-canceled,.badge-expired):before{background:var(--av-danger)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .badge-owner{background:transparent;color:var(--av-ink)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .badge-owner:before{background:var(--av-ink)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .badge-admin{background:transparent;color:var(--av-info)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .badge-admin:before{background:var(--av-info)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .badge-lawyer{background:transparent;color:var(--av-ink)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .badge-lawyer:before{background:var(--av-ink)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .badge-assistant{background:transparent;color:var(--av-muted);box-shadow:none}.legalflow-ui .app-shell :is(.settings-page,.staff-page,.settings-dialog) .settings-note{margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--av-muted);font-size:12px;line-height:1.5}.legalflow-ui .app-shell :is(.settings-page,.staff-page,.settings-dialog) .settings-note>svg{color:var(--av-muted)}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .settings-details{gap:12px 20px}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .settings-details dt{font-size:12px}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .settings-details dd{font-size:13px;font-weight:500}.legalflow-ui .app-shell .settings-page .settings-profile-grid{grid-template-columns:minmax(0,1.2fr) minmax(340px,.9fr);gap:16px;align-items:start;border:0;border-radius:0;background:transparent;overflow:visible}.legalflow-ui .app-shell .settings-page .settings-profile-grid>.card{display:block;height:auto;align-self:start;min-width:0;border:1px solid var(--av-border);border-radius:18px;background:var(--av-surface);box-shadow:none}.legalflow-ui .app-shell .settings-page .settings-profile-grid>.card>:is(.card-body,form){display:block}.legalflow-ui .app-shell .settings-page .settings-profile-grid .settings-inline-actions{margin-top:16px}.legalflow-ui .app-shell .settings-page .settings-profile-grid>.card:last-child .settings-stack{gap:0}.legalflow-ui .app-shell .settings-page .settings-profile-form :is(.profile-summary,.avatar-uploader){padding-bottom:0;border-bottom:0}.legalflow-ui .app-shell .settings-page .avatar-uploader h3,.legalflow-ui .app-shell .settings-page .profile-summary h3{font:600 16px/1.3 var(--av-font)}.legalflow-ui .app-shell .settings-page .profile-avatar{width:64px;min-width:64px;height:64px;background:var(--av-surface-2);color:var(--av-ink);font-family:var(--av-font);font-size:20px;font-weight:600;box-shadow:none}.legalflow-ui .app-shell .settings-page .settings-security-block{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--av-border)}.legalflow-ui .app-shell .settings-page .settings-security-block:first-child{padding-top:0}.legalflow-ui .app-shell .settings-page .settings-security-block:last-child{padding-bottom:0;border-bottom:0}.legalflow-ui .app-shell .settings-page .settings-security-block .settings-security{display:grid;grid-template-columns:36px minmax(0,1fr);gap:2px 10px;align-items:start}.legalflow-ui .app-shell .settings-page .settings-security-block .settings-security>svg{grid-row:1/span 2;margin-top:1px}.legalflow-ui .app-shell .settings-page .settings-security-block .settings-security>div{grid-column:2;min-width:0}.legalflow-ui .app-shell .settings-page .settings-security-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.legalflow-ui .app-shell .settings-page .settings-security-title h3{margin:0}.legalflow-ui .app-shell .settings-page .settings-security-block .settings-security p{margin-top:4px}.legalflow-ui .app-shell .settings-page .settings-security-block .button{margin:0;justify-self:end}.legalflow-ui .app-shell .settings-page .settings-field-group,.legalflow-ui .app-shell .settings-page .settings-field-span{grid-column:1/-1}.legalflow-ui .app-shell .settings-page .settings-office fieldset>.settings-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px;align-items:start}.legalflow-ui .app-shell .settings-page .settings-office .settings-field-group{grid-column:auto;gap:8px;padding-top:0}.legalflow-ui .app-shell .settings-page .settings-office .settings-field-group .settings-form-grid{grid-template-columns:minmax(0,1fr);gap:10px}.legalflow-ui .app-shell .settings-page .settings-field-group{display:flex;flex-direction:column;gap:10px;padding-top:4px}.legalflow-ui .app-shell .settings-page .settings-field-group>h3{margin:0;font:600 13px/1.4 var(--av-font);color:var(--av-ink)}.legalflow-ui .app-shell .settings-page .settings-profile-form .settings-inline-actions{margin-top:16px;padding-top:0;border-top:0}.legalflow-ui .app-shell .settings-page .avatar-uploader-spinner{border-color:var(--av-border);border-top-color:var(--av-ink)}.legalflow-ui .app-shell .settings-page .settings-security>svg{background:var(--av-surface-2);color:var(--av-muted)}.legalflow-ui .app-shell .settings-page .settings-form-grid{gap:12px}.legalflow-ui .app-shell .settings-page .settings-profile-form .input,.legalflow-ui .app-shell .settings-page .settings-profile-form textarea{min-height:38px;border-radius:12px;font-size:13px}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-profile-form .settings-role{display:flex;flex-direction:column;justify-content:flex-end;height:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-profile-form .settings-role>div{gap:6px;padding:0;border:0;background:transparent}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-profile-form .settings-role dt{color:var(--av-text);font-size:12px;font-weight:500}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-profile-form .settings-role dd{display:flex;align-items:center;box-sizing:border-box;width:100%;min-height:38px;margin:0;padding:8px 12px;border:1px solid var(--av-border);border-radius:12px;background:var(--av-surface-2);box-shadow:none;color:var(--av-text);font-size:13px;font-weight:400}.legalflow-ui .app-shell .settings-page .settings-inline-actions .button{height:38px;min-height:38px;padding:0 14px}.legalflow-ui .app-shell .settings-page .settings-content>.settings-stack .settings-inline-actions .button{flex:0 0 auto}.legalflow-ui .app-shell .settings-page .subscription-card .card-body{padding:12px 14px}.legalflow-ui .app-shell .settings-page .subscription-card .settings-stack{gap:12px}.legalflow-ui .app-shell .settings-page .settings-subscription-summary{border:0;border-bottom:1px solid var(--av-border);border-radius:0;background:transparent}.legalflow-ui .app-shell .settings-page .settings-subscription-summary>div{gap:2px;padding:8px 12px}.legalflow-ui .app-shell .settings-page .settings-subscription-summary h3{font:600 16px/1.3 var(--av-font)}.legalflow-ui .app-shell .settings-page .settings-subscription-summary svg{width:16px;height:16px;color:var(--av-muted)}.legalflow-ui .app-shell .settings-page .settings-subscription-summary strong{font-size:15px;font-weight:600}.legalflow-ui .app-shell .settings-page .plans-grid{gap:10px}.legalflow-ui .app-shell .settings-page .plan-card{position:relative;gap:8px;padding:12px 14px;border-radius:16px}.legalflow-ui .app-shell .settings-page .plan-card.current{border-color:var(--av-ink);box-shadow:none;background:var(--av-surface)}.legalflow-ui .app-shell .settings-page .plan-title>span{padding:1px 8px;background:var(--av-surface-2);color:var(--av-ink)}.legalflow-ui .app-shell .settings-page .plan-price{font:600 22px/1.1 var(--av-font);letter-spacing:-.03em}.legalflow-ui .app-shell .settings-page .plan-card ul{gap:4px;padding-top:8px}.legalflow-ui .app-shell .settings-page .plan-card li svg{width:14px;height:14px;color:var(--av-muted)}.legalflow-ui .app-shell .settings-page .plan-card>.button{height:34px;min-height:34px}.legalflow-ui .app-shell .settings-page .plan-card .staff-action-reason{position:absolute;width:1px;height:1px;min-height:0;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.legalflow-ui .app-shell .settings-page .subscription-card .settings-inline-actions{padding-top:10px}.legalflow-ui .app-shell .settings-page .settings-help{display:flex;flex-direction:column;gap:0}.legalflow-ui .app-shell .settings-page .settings-help>div+div{margin-top:12px;padding-top:12px;border-top:1px solid var(--av-border)}.legalflow-ui .app-shell .settings-page .settings-help h3{margin:0;padding:0;border:0;font:600 14px/1.3 var(--av-font)}.legalflow-ui .app-shell .settings-page .settings-help p{margin:4px 0 0;color:var(--av-muted);font-size:13px;line-height:1.45}.legalflow-ui .app-shell .settings-page .settings-notifications{border-radius:16px}.legalflow-ui .app-shell .settings-page .settings-notifications>li{padding:12px 14px}.legalflow-ui .app-shell .settings-page .settings-notifications>li:hover{background:transparent}.legalflow-ui .app-shell .settings-page .settings-notifications .button{height:32px;min-height:32px;padding:0;border:0;background:transparent;color:var(--av-muted);font-size:12px}.legalflow-ui .app-shell .settings-page .settings-notifications .button:hover{background:transparent;color:var(--av-ink);text-decoration:underline;text-underline-offset:3px}.legalflow-ui .app-shell .settings-page .notification-preferences{gap:10px;padding:14px 16px;border:1px solid var(--av-border);border-radius:16px;background:var(--av-surface)}.legalflow-ui .app-shell .settings-page :is(.notification-preferences h3,.notification-list-title){margin:0;font:600 14px/1.3 var(--av-font);letter-spacing:-.01em;color:var(--av-ink)}.legalflow-ui .app-shell .settings-page .notification-preferences>.subtext{margin:0;color:var(--av-muted);font-size:12px;line-height:1.5}.legalflow-ui .app-shell .settings-page .notification-preference-list{gap:0}.legalflow-ui .app-shell .settings-page .notification-preference{gap:10px;padding:10px 0}.legalflow-ui .app-shell .settings-page .notification-preference strong{font-size:13px;font-weight:500;color:var(--av-ink)}.legalflow-ui .app-shell .settings-page .notification-preference .subtext{font-size:12px;line-height:1.45;color:var(--av-muted)}.legalflow-ui .app-shell .settings-page .notification-preference input[type=checkbox]{width:16px;height:16px;min-width:16px;margin-top:2px;accent-color:var(--av-ink)}.legalflow-ui .app-shell .settings-page .notification-preferences .settings-inline-actions{justify-content:flex-start;padding-top:2px}.legalflow-ui .app-shell .settings-page .email-settings .email-steps a{color:var(--av-ink)}.legalflow-ui .app-shell .settings-page .email-settings .email-counts>div{border-radius:16px;background:var(--av-surface)}.legalflow-ui .app-shell .settings-page .email-settings .email-counts strong{font:600 22px/1.2 var(--av-font)}.legalflow-ui .app-shell .staff-page .staff-count{display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:var(--av-muted);font-size:13px;font-weight:500;white-space:nowrap}.legalflow-ui .app-shell .staff-page .staff-quota{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 0}.legalflow-ui .app-shell .staff-page .staff-quota p{display:flex;align-items:center;gap:8px;margin:0;color:var(--av-muted);font-size:13px}.legalflow-ui .app-shell .staff-page .staff-quota strong{color:var(--av-ink);font-weight:600}.legalflow-ui .app-shell .staff-page .staff-quiet-link{color:var(--av-muted);font-size:13px;font-weight:500;text-decoration:none}.legalflow-ui .app-shell .staff-page .staff-quiet-link:hover{color:var(--av-ink);text-decoration:underline;text-underline-offset:3px}.legalflow-ui .app-shell .staff-page .toolbar{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:12px 16px}.legalflow-ui .app-shell .staff-page .toolbar .search{flex:1 1 220px;width:auto;max-width:none;min-width:0}.legalflow-ui .app-shell .staff-page .toolbar .input{width:100%;height:38px;min-height:38px;border-radius:999px;font-size:13px}.legalflow-ui .app-shell .staff-page>.card:first-of-type .card-body{padding:12px 16px}.legalflow-ui .app-shell .staff-page .toolbar .client-filter{position:relative;flex:0 0 auto;min-width:148px}.legalflow-ui .app-shell .staff-page .toolbar .client-filter-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:38px;min-height:38px;padding:0 14px;border:1px solid var(--av-border);border-radius:999px;background:var(--av-surface-2);color:var(--av-text);font:400 13px/1 var(--av-font);box-shadow:none;cursor:pointer}.legalflow-ui .app-shell .staff-page .toolbar .client-filter-trigger:hover,.legalflow-ui .app-shell .staff-page .toolbar .client-filter-trigger[aria-expanded=true]{border-color:#B8AA96;background:var(--av-surface-2)}.legalflow-ui .app-shell .staff-page .toolbar .client-filter-trigger svg{flex-shrink:0;width:16px;height:16px;color:var(--av-muted);transition:transform .16s ease}.legalflow-ui .app-shell .staff-page .toolbar .client-filter-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.legalflow-ui .app-shell .staff-page .toolbar .client-filter-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:30;min-width:100%;width:max-content;padding:6px;border:1px solid var(--av-border);border-radius:16px;background:#fff;box-shadow:0 10px 28px #1F1D2014}.legalflow-ui .app-shell .staff-page .toolbar .client-filter-menu button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:36px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:var(--av-text);font:400 13px/1.3 var(--av-font);text-align:left;cursor:pointer}.legalflow-ui .app-shell .staff-page .toolbar .client-filter-menu button[aria-selected=true]{background:#F1ECDC;color:#1F1D20;font-weight:500}.legalflow-ui .app-shell .staff-page .toolbar .client-filter-menu button:focus-visible,.legalflow-ui .app-shell .staff-page .toolbar .client-filter-menu button:hover{outline:none;background:#F7F5F0}.legalflow-ui .app-shell .staff-page table{min-width:0}.legalflow-ui .app-shell .staff-page th{padding:9px 12px;font-size:12px;font-weight:500;color:var(--av-muted);background:transparent;border-bottom:1px solid var(--av-border)}.legalflow-ui .app-shell .staff-page .staff-person{display:flex;flex-direction:column;gap:2px;min-width:0}.legalflow-ui .app-shell .staff-page .staff-person>span:first-child{display:flex;align-items:baseline;gap:8px}.legalflow-ui .app-shell .staff-page .staff-email{color:var(--av-muted);font-size:12px}.legalflow-ui .app-shell .staff-page .staff-state{display:inline-flex;align-items:center;gap:6px;color:var(--av-muted)}.legalflow-ui .app-shell .staff-page .staff-state:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--av-subtle);flex:none}.legalflow-ui .app-shell .staff-page .staff-state.is-active{color:var(--av-text)}.legalflow-ui .app-shell .staff-page .staff-state.is-active:before{background:var(--av-success)}.legalflow-ui .app-shell .staff-page .staff-action-reason{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.legalflow-ui .app-shell .staff-page .staff-actions{display:flex;justify-content:flex-end}.legalflow-ui .app-shell .staff-page .staff-actions-trigger{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid var(--av-border);border-radius:999px;background:var(--av-surface-2);color:var(--av-muted);cursor:pointer}.legalflow-ui .app-shell .staff-page .staff-actions-trigger:hover,.legalflow-ui .app-shell .staff-page .staff-actions:has(.staff-actions-menu:popover-open) .staff-actions-trigger{border-color:#B8AA96;color:var(--av-ink)}.legalflow-ui .staff-actions-menu{position:fixed;inset:auto;z-index:40;min-width:196px;margin:0;padding:6px;border:1px solid var(--av-border);border-radius:16px;background:#fff;box-shadow:0 10px 28px #1F1D2014}.legalflow-ui .staff-actions-menu>p{margin:0;padding:6px 12px 4px;color:var(--av-muted);font-size:12px;line-height:1.4}.legalflow-ui .app-shell .staff-page .staff-actions-menu .button{display:flex;justify-content:flex-start;width:100%;height:36px;min-height:36px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--av-text);font-size:13px;font-weight:400;box-shadow:none}.legalflow-ui .app-shell .staff-page .staff-actions-menu .button:hover:not(:disabled){background:#F7F5F0;color:var(--av-ink)}.legalflow-ui .app-shell .staff-page .staff-actions-menu .button:disabled{opacity:1;background:transparent;color:var(--av-subtle)}.legalflow-ui .app-shell .staff-page td:last-child{width:1%;white-space:nowrap}.legalflow-ui .app-shell .staff-page .staff-back{align-self:flex-start}.legalflow-ui .app-shell .staff-page .staff-audit summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:0 16px;color:var(--av-text);font:500 14px/1.3 var(--av-font);list-style:none;cursor:pointer}.legalflow-ui .app-shell .staff-page .staff-audit summary::-webkit-details-marker{display:none}.legalflow-ui .app-shell .staff-page .staff-audit summary svg{flex-shrink:0;width:16px;height:16px;margin-left:auto;color:var(--av-muted);transition:transform .16s ease}.legalflow-ui .app-shell .staff-page .staff-audit details[open] summary svg{transform:rotate(180deg)}.legalflow-ui .app-shell .staff-page .staff-audit details>p{margin:0;padding:0 16px 12px;color:var(--av-muted);font-size:12px}.legalflow-ui .app-shell .staff-page td{padding:10px 12px;font-size:13px}.legalflow-ui .app-shell .staff-page tbody tr:hover td{background:transparent}.legalflow-ui .app-shell .staff-page td:first-child .subtext{margin-left:0;padding:0;border-radius:0;background:transparent;color:var(--av-muted);font-size:12px;font-weight:400}.legalflow-ui .app-shell .staff-page .staff-audit .table-scroll{max-height:320px;overflow:auto}.legalflow-ui .app-shell .staff-page .staff-roles{gap:8px 20px;padding:14px 16px 16px}.legalflow-ui .app-shell .staff-page .staff-roles>div{padding:0;border:0;border-radius:0;background:transparent}.legalflow-ui .app-shell .staff-page .staff-roles h3{margin:0;font:600 13px/1.3 var(--av-font)}.legalflow-ui .app-shell .staff-page .staff-roles p{margin-top:4px;font-size:12px;line-height:1.45}.legalflow-ui .app-shell .staff-page>.card:first-of-type .settings-inline-actions h3{font:600 16px/1.3 var(--av-font)}.legalflow-ui .settings-dialog summary{color:var(--av-ink)}.legalflow-ui .settings-dialog .form-actions .button{min-height:38px;border-radius:999px;box-shadow:none}@media(max-width:900px){.legalflow-ui .app-shell .settings-page .settings-office fieldset>.settings-form-grid,.legalflow-ui .app-shell .settings-page .settings-profile-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:780px){.legalflow-ui .app-shell :is(.settings-page,.staff-page) .page-heading{align-items:flex-start;flex-wrap:wrap}.legalflow-ui .app-shell :is(.settings-page,.staff-page) .page-heading h1{font-size:24px}.legalflow-ui .app-shell .workspace-pages .settings-page .settings-categories .settings-category,.legalflow-ui .app-shell :is(.settings-page,.staff-page) .page-heading .button{min-height:44px}}@media (max-width:1023px){.legalflow-ui{--mobile-header-height:60px}body.legalflow-ui .app-shell .desktop-sidebar,body.legalflow-ui .app-shell .sidebar-resize-toggle,body.legalflow-ui .app-shell .workspace-logo{display:none}body.legalflow-ui .app-shell .main-column{margin-left:0;width:100%}body.legalflow-ui .app-shell .main-column .topbar{position:sticky;top:0;z-index:40;min-height:var(--mobile-header-height);height:var(--mobile-header-height);padding:0 16px;border-bottom:1px solid var(--av-border);background:var(--av-bg)}body.legalflow-ui .app-shell .topbar:not(.mobile-topbar)>*{visibility:hidden}body.legalflow-ui .app-shell .main-column .mobile-topbar{position:sticky;top:0;z-index:40;display:flex;flex:none;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;height:60px;min-height:60px;max-height:60px;margin:0;padding:0 16px;border:0;border-bottom:1px solid var(--av-border);background:var(--av-bg);box-shadow:none}.legalflow-ui .mobile-header-brand{display:flex;align-items:center;gap:9px;min-height:44px;min-width:0;color:var(--av-ink)}.legalflow-ui .mobile-header-brand img{flex:none;width:34px;height:34px;object-fit:contain}.legalflow-ui .mobile-header-brand span{font:600 22px/1.2 var(--av-font);letter-spacing:-.04em}.legalflow-ui .mobile-header-actions{display:flex;align-items:center;flex:none;gap:4px}.legalflow-ui .mobile-header-actions :is(.mobile-search-trigger,.mobile-menu-trigger){display:grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:12px;color:var(--av-text);background:transparent;cursor:pointer}.legalflow-ui .mobile-header-actions :is(button:hover,button:active,button[aria-expanded=true]){background:var(--av-surface-3)}.legalflow-ui .mobile-header-actions svg{width:21px;height:21px;stroke-width:1.75}.legalflow-ui .mobile-search-panel{position:fixed;z-index:70;top:calc(var(--mobile-header-height) + 8px + env(safe-area-inset-top,0px));left:12px;right:12px;max-height:min(560px,var(--search-available-height,calc(100dvh - 84px)));padding:10px;border:1px solid var(--av-border);border-radius:16px;background:var(--av-surface);color:var(--av-text);box-shadow:0 8px 28px color-mix(in srgb,var(--av-ink) 10%,transparent);overflow-y:auto;overscroll-behavior:contain;animation:mobile-search-in .18s ease-out}.legalflow-ui .mobile-search-panel[data-state=closed]{animation:mobile-search-out .14s ease-in}.legalflow-ui .mobile-search-panel .global-search{display:block;width:100%;max-width:none;min-width:0}.legalflow-ui .mobile-search-panel .global-search-field{margin-right:40px}.legalflow-ui .mobile-search-panel .global-search-field .input{width:100%;min-height:46px;height:46px;padding:10px 10px 10px 42px;border:1px solid var(--av-border);border-radius:11px;background:var(--av-surface-2);color:var(--av-text);font-size:16px}.legalflow-ui .mobile-search-panel .global-search-submit{position:absolute;top:1px;left:1px;right:auto;display:grid;place-items:center;width:42px;height:44px;border:0;border-radius:10px;background:transparent;color:var(--av-muted)}html[data-workspace-palette=neutral] .legalflow-ui .mobile-search-panel .global-search-submit{background:transparent!important;color:var(--av-muted)!important}.legalflow-ui .mobile-search-close{position:absolute;top:11px;right:7px;display:grid;place-items:center;width:40px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--av-muted);cursor:pointer}.legalflow-ui .mobile-search-panel .global-search-panel{position:static;width:100%;max-height:none;margin-top:8px;padding:0;border:0;border-radius:0;box-shadow:none;background:var(--av-surface)}.legalflow-ui .mobile-search-panel .global-search-panel a{min-height:58px;padding:10px 8px;border-bottom:1px solid var(--av-border)}.legalflow-ui .mobile-search-panel .global-search-panel a:last-child{border:0}.legalflow-ui .mobile-search-panel .global-search-panel strong{font-size:14px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}.legalflow-ui .mobile-search-panel .global-search-panel small{font-size:12px}.legalflow-ui .mobile-search-panel .global-search-panel>p{padding:12px 8px;font-size:13px;line-height:1.5}.legalflow-ui .mobile-drawer-backdrop{z-index:80;background:var(--av-bg)}body.legalflow-ui .sidebar.mobile-sidebar{position:fixed;z-index:81;inset:0;display:flex;flex-direction:column;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:max(12px,env(safe-area-inset-top,0px)) 20px max(16px,env(safe-area-inset-bottom,0px));border:0;border-radius:0;background:var(--av-bg);color:var(--av-text);box-shadow:none;transform:none;overflow:hidden;animation:mobile-menu-in .18s ease-out}body.legalflow-ui .sidebar.mobile-sidebar[data-state=closed]{animation:mobile-menu-out .14s ease-in}body.legalflow-ui .sidebar.mobile-sidebar .mobile-close{position:absolute;top:max(12px,env(safe-area-inset-top,0px));right:16px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;color:var(--av-text);background:transparent}body.legalflow-ui .sidebar.mobile-sidebar .sidebar-brand{display:flex;align-items:center;flex:none;gap:9px;min-height:44px;padding:0 44px 0 8px;margin:0 0 18px}body.legalflow-ui .sidebar.mobile-sidebar .sidebar-brand .brand-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:0;background:transparent}body.legalflow-ui .sidebar.mobile-sidebar .sidebar-brand .brand-icon img{width:32px;height:32px}body.legalflow-ui .sidebar.mobile-sidebar .sidebar-brand>div{font:600 22px/1.2 var(--av-font);color:var(--av-ink);letter-spacing:-.04em}body.legalflow-ui .sidebar.mobile-sidebar :is(.sidebar-brand>div>span,.shell-workspace-info,.sidebar-section-label,.trial-card){display:none}body.legalflow-ui .sidebar.mobile-sidebar>nav{flex:1 1 auto;min-height:0;width:100%;max-width:560px;margin:0 auto;padding:4px;gap:4px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}body.legalflow-ui .sidebar.mobile-sidebar .nav-link{position:relative;display:flex;align-items:center;min-height:48px;height:auto;width:100%;gap:14px;margin:0;padding:12px 14px;border:0;border-radius:12px;color:var(--av-text);font:500 15px/1.4 var(--av-font)}body.legalflow-ui .sidebar.mobile-sidebar .nav-link svg{width:20px;height:20px;flex:none;stroke-width:1.7;color:inherit}body.legalflow-ui .sidebar.mobile-sidebar .sliding-navigation:after,body.legalflow-ui .sidebar.mobile-sidebar .sliding-navigation:before{display:none}body.legalflow-ui .sidebar.mobile-sidebar .sliding-navigation[data-slide-ready=true] .nav-link.nav-highlighted[aria-current=page]{background:var(--wt-accent,var(--av-ink))!important;color:var(--wt-on-accent,var(--av-surface))!important}body.legalflow-ui .sidebar.mobile-sidebar .nav-link:not([aria-current=page]):hover{background:var(--av-surface-3)}body.legalflow-ui .sidebar.mobile-sidebar .sidebar-bottom{flex:none;width:100%;max-width:560px;margin:16px auto 0;padding-top:12px;border-top:1px solid var(--av-border)}body.legalflow-ui .sidebar.mobile-sidebar :is(.workspace-theme-toggle,.sidebar-logout){display:flex;align-items:center;justify-content:flex-start;gap:14px;width:100%;min-height:48px;height:auto;margin:0;padding:12px 14px;border:0;border-radius:12px;background:transparent;color:var(--av-text);font:400 14px/1.4 var(--av-font);box-shadow:none;text-align:left}body.legalflow-ui .sidebar.mobile-sidebar :is(.workspace-theme-toggle,.sidebar-logout)>svg{flex:none;width:20px;height:20px}body.legalflow-ui .sidebar.mobile-sidebar :is(.workspace-theme-toggle,.sidebar-logout):hover{background:var(--av-surface-3)}body.legalflow-ui .sidebar.mobile-sidebar .assistant-sidebar-content{min-height:0;overflow-y:auto}body.legalflow-ui .app-shell .mobile-header-actions .notification-button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:12px;background:transparent;color:var(--av-text)}body.legalflow-ui .app-shell .mobile-header-actions .notification-button i{top:9px;right:10px}body.legalflow-ui .notifications-popover{max-width:calc(100vw - 24px);border-radius:16px}}@media (min-width:601px) and (max-width:1023px){body.legalflow-ui .app-shell .main-column .mobile-topbar{padding-inline:24px}.legalflow-ui .mobile-header-actions{gap:8px}.legalflow-ui .mobile-search-panel{left:auto;right:24px;width:min(440px,calc(100vw - 48px))}}@keyframes mobile-menu-in{0%{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%)}}@keyframes mobile-menu-out{to{opacity:0;transform:translate(-50%,-8px)}}@keyframes mobile-search-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}@keyframes mobile-search-out{to{opacity:0;transform:translateY(-4px)}}@keyframes mobile-drawer-in{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes mobile-drawer-out{to{transform:translateX(100%)}}@keyframes mobile-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes mobile-backdrop-out{to{opacity:0}}@media (max-width:1023px) and (prefers-reduced-motion:reduce){body.legalflow-ui :is(.mobile-search-panel,.mobile-sidebar,.mobile-drawer-backdrop){animation:none;transition:none}}@media (max-width:1023px){body.legalflow-ui .sidebar.mobile-sidebar{background:var(--av-bg)!important}.legalflow-ui .mobile-drawer-backdrop{top:var(--mobile-header-height);background:color-mix(in srgb,var(--av-ink) 18%,transparent);backdrop-filter:blur(2px)}body.legalflow-ui .sidebar.mobile-sidebar{inset:calc(var(--mobile-header-height) + 10px) auto auto 50%;width:min(560px,calc(100vw - 24px));max-width:560px;height:auto;max-height:calc(100dvh - var(--mobile-header-height) - 24px);padding:48px 16px 16px;border:1px solid var(--av-border);border-radius:22px;transform:translateX(-50%);box-shadow:0 16px 48px color-mix(in srgb,var(--av-ink) 12%,transparent)}body.legalflow-ui .sidebar.mobile-sidebar:before{content:"";position:absolute;top:15px;left:50%;width:32px;height:4px;transform:translateX(-50%);border-radius:999px;background:var(--av-border-strong)}body.legalflow-ui .sidebar.mobile-sidebar .sidebar-brand{display:none}body.legalflow-ui .sidebar.mobile-sidebar .mobile-close{top:3px;right:7px}body.legalflow-ui .sidebar.mobile-sidebar>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;flex:0 1 auto;gap:8px;padding:2px}body.legalflow-ui .sidebar.mobile-sidebar .nav-link{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:72px;padding:12px 8px;border:1px solid var(--av-border);border-radius:14px;background:var(--av-surface);font-size:13px;text-align:center;transition:background-color .16s ease,border-color .16s ease}body.legalflow-ui .sidebar.mobile-sidebar .sliding-navigation[data-slide-ready=true] .nav-link:not([aria-current=page]){background:var(--av-surface)!important;color:var(--av-text)!important}body.legalflow-ui .sidebar.mobile-sidebar .nav-link>svg{width:21px;height:21px}body.legalflow-ui .sidebar.mobile-sidebar .nav-link:last-of-type:nth-of-type(odd){grid-column:1/-1;flex-direction:row;min-height:48px}body.legalflow-ui .sidebar.mobile-sidebar .nav-link .nav-count-badge{position:absolute;top:7px;right:7px;margin:0}body.legalflow-ui .sidebar.mobile-sidebar .sidebar-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;margin-top:14px;padding-top:12px}}@media (max-width:1023px){body.legalflow-ui .sidebar.mobile-sidebar :is(.workspace-theme-toggle,.sidebar-logout){justify-content:center;gap:8px;min-height:44px;padding:10px 6px;font-size:12px;border-radius:12px}body.legalflow-ui .sidebar.mobile-sidebar .sidebar-logout{border:1px solid var(--av-border)}body.legalflow-ui .app-shell .page-content .office-home{display:flex;flex-direction:column;gap:16px;padding-bottom:4px}body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:0}body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools .button{min-height:44px;padding:8px 4px;gap:8px;font-size:13px}body.legalflow-ui .app-shell .page-content .office-home .home-stats.kpi-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}body.legalflow-ui .app-shell .page-content .office-home .kpi-summary .home-stat{min-height:94px;padding:14px;gap:8px}body.legalflow-ui .app-shell .page-content .office-home .home-stat-label{font-size:12px}body.legalflow-ui .app-shell .page-content .office-home .home-stat-value{font-size:28px}}@media(max-width:1023px){body.legalflow-ui .app-shell .page-content .office-home :is(.home-work-grid,.home-insights){grid-template-columns:minmax(0,1fr);margin:0}body.legalflow-ui .app-shell .page-content .office-home .card-head{min-height:56px;padding:10px 14px;gap:8px}body.legalflow-ui .app-shell .page-content .office-home .card-head .button{min-height:44px}body.legalflow-ui .app-shell .page-content .office-home .home-insights>section{min-width:0;padding:14px}body.legalflow-ui .app-shell .page-content .office-home .insight-heading{flex-wrap:wrap;gap:10px}body.legalflow-ui .app-shell .page-content .office-home .insight-period button{min-height:44px;min-width:44px}body.legalflow-ui .app-shell .page-content .office-home .schedule-chart{height:146px}body.legalflow-ui .app-shell .page-content .office-home .schedule-columns{gap:3px}body.legalflow-ui .app-shell .page-content .office-home .schedule-date{font-size:10px}body.legalflow-ui .app-shell .page-content .office-home .case-distribution{min-height:0;padding-top:14px;gap:12px}body.legalflow-ui .app-shell .page-content .office-home .case-donut{width:112px;height:112px;min-width:112px;min-height:112px;flex-basis:112px}body.legalflow-ui .app-shell .page-content .office-home .case-distribution-legend a{min-height:44px}body.legalflow-ui .app-shell .page-content .office-home .home-recent-cases tbody tr.home-case-row{padding:12px 14px}body.legalflow-ui .app-shell .page-content .office-home .home-recent-cases tbody tr.home-case-row>td{padding:0}body.legalflow-ui .app-shell .page-content .office-home .empty{min-height:0;padding:24px 16px}}@media(min-width:601px) and (max-width:1023px){body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){body.legalflow-ui .app-shell .page-content .office-home{gap:14px}body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools{gap:8px}body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools .button{justify-content:center;min-height:48px;padding:0 14px;border:0;border-bottom:1px solid var(--wt-border-strong,var(--av-border-strong));border-radius:0;background:transparent;font-size:13px;line-height:1.4}body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools .button:after{display:block}body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools .button>svg{flex:none;width:17px;height:17px}body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools .button:active:not(:disabled){background:transparent;border-color:var(--av-border-strong)}body.legalflow-ui .app-shell .page-content .office-home .kpi-summary .home-stat{grid-template-rows:minmax(30px,auto) 30px;min-height:96px;gap:6px;padding:12px 14px;border-radius:16px}body.legalflow-ui .app-shell .page-content .office-home .home-stat-label{line-height:1.4}body.legalflow-ui .app-shell .page-content .office-home :is(.home-insights,.home-work-grid){border-radius:18px}body.legalflow-ui .app-shell .page-content .office-home .insight-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px}body.legalflow-ui .app-shell .page-content .office-home .insight-heading>div{min-width:0}body.legalflow-ui .app-shell .page-content .office-home .insight-heading p{margin-top:4px;font-size:11px;line-height:1.5;max-width:none}body.legalflow-ui .app-shell .page-content .office-home .insight-period{gap:0;padding:2px}body.legalflow-ui .app-shell .page-content .office-home .insight-period button{min-width:44px;min-height:44px;padding:6px}body.legalflow-ui .app-shell .page-content .office-home .schedule-chart{height:126px;margin:16px 0 6px;gap:8px}body.legalflow-ui .app-shell .page-content .office-home .schedule-axis{width:12px;font-size:11px}body.legalflow-ui .app-shell .page-content .office-home .insight-chart-summary{gap:8px 16px;margin:12px 0 2px}body.legalflow-ui .app-shell .page-content .office-home .case-distribution{justify-content:space-between;align-items:center;gap:12px}body.legalflow-ui .app-shell .page-content .office-home .case-donut{width:100px;height:100px;min-width:100px;min-height:100px;flex-basis:100px}body.legalflow-ui .app-shell .page-content .office-home .case-donut strong{font-size:26px}body.legalflow-ui .app-shell .page-content .office-home .case-donut span{font-size:11px}body.legalflow-ui .app-shell .page-content .office-home .case-distribution-legend{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:stretch;gap:6px;max-width:320px}body.legalflow-ui .app-shell .page-content .office-home .case-distribution-legend a{display:grid;grid-template-columns:6px minmax(0,1fr) auto;align-items:center;gap:5px;width:100%;min-height:48px;padding:4px;font-size:12px}body.legalflow-ui .app-shell .page-content .office-home .case-distribution-legend span{white-space:normal;line-height:1.4}body.legalflow-ui .app-shell .page-content .office-home .home-recent-cases tbody tr.home-case-row{padding:10px 14px}body.legalflow-ui .app-shell .page-content .office-home .home-recent-cases .home-case-main strong{font-size:12px;color:var(--av-muted);font-weight:500}body.legalflow-ui .app-shell .page-content .office-home .home-recent-cases .home-case-main .subtext{margin-top:2px;font-size:14px;font-weight:500}body.legalflow-ui .app-shell .page-content .office-home .home-recent-cases .home-case-clients{font-size:12px}body.legalflow-ui .app-shell .page-content .office-home .office-reminders{padding:6px 14px 10px}body.legalflow-ui .app-shell .page-content .office-home .office-reminder{gap:4px 8px;min-height:64px;padding:10px 0}body.legalflow-ui .app-shell .page-content .office-home .office-reminder strong{font-size:14px}body.legalflow-ui .app-shell .page-content .office-home .office-reminder p{font-size:12px}body.legalflow-ui .app-shell .page-content .office-home .office-reminder .badge{font-size:11px}}@media(max-width:374px){body.legalflow-ui .app-shell .page-content .office-home .case-distribution-legend{grid-template-columns:minmax(0,1fr);gap:0}body.legalflow-ui .app-shell .page-content .office-home .case-distribution-legend a{min-height:44px}}@media(max-width:1023px){body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools{display:flex;flex-wrap:nowrap;gap:8px;min-width:0;max-width:100%;padding:3px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:3px;scrollbar-width:none}body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools .button{flex:0 0 auto;width:auto;min-width:132px;min-height:48px;padding:0 14px;white-space:nowrap;scroll-snap-align:start;border:0;border-bottom:1px solid var(--wt-border-strong,var(--av-border-strong));border-radius:0;background:transparent;font-size:13px}body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools .button:after{display:block}}@media(max-width:1023px){body.legalflow-ui .app-shell .page-content .office-home .home-quick-tools::-webkit-scrollbar{display:none;width:0;height:0}}@media(max-width:600px){body.legalflow-ui .app-shell .page-content .office-home .home-stats.kpi-summary{gap:10px}body.legalflow-ui .app-shell .page-content .office-home .kpi-summary .home-stat{grid-template-rows:minmax(32px,auto) minmax(36px,auto);align-content:start;gap:8px;min-height:104px;padding:14px;border-radius:18px}body.legalflow-ui .app-shell .page-content .office-home .kpi-summary .home-stat-label{align-self:start;max-width:100%;font-size:12px;font-weight:500;line-height:1.4}body.legalflow-ui .app-shell .page-content .office-home .kpi-summary .home-stat-value{align-self:end;max-width:calc(100% - 32px);font-size:30px;line-height:1.15;font-weight:600;letter-spacing:-.035em}body.legalflow-ui .app-shell .page-content .office-home .kpi-summary .kpi-open-arrow{right:12px;bottom:14px;width:28px;height:28px;padding:6px;border-radius:9px;background:var(--av-surface-3);color:var(--av-muted);opacity:1;transform:none}body.legalflow-ui .app-shell .page-content .office-home .kpi-summary .home-stat.has-overdue{border-color:color-mix(in srgb,var(--av-danger-ink) 22%,var(--av-border))}body.legalflow-ui .app-shell .page-content .office-home .kpi-summary .home-stat:hover{transform:none;box-shadow:none}body.legalflow-ui .app-shell .page-content .office-home .kpi-summary .home-stat:active{background:var(--av-surface-3)!important}}@media(max-width:1023px){body.legalflow-ui .app-shell .page-content .office-home :is(.home-insights,.home-work-grid){gap:14px;border:0;border-radius:0;background:transparent!important;overflow:visible}body.legalflow-ui .app-shell .page-content .office-home .home-insights>section,body.legalflow-ui .app-shell .page-content .office-home .home-work-grid>.card{border:1px solid var(--av-border);border-radius:18px;background:var(--av-surface);overflow:hidden}body.legalflow-ui .app-shell .page-content .office-home .home-insights>section{padding:16px}body.legalflow-ui .app-shell .page-content .office-home .card-head h2,body.legalflow-ui .app-shell .page-content .office-home .insight-heading h2{font-size:16px;line-height:1.35;font-weight:600}body.legalflow-ui .app-shell .page-content .office-home .insight-heading p{font-size:12px;line-height:1.5}body.legalflow-ui .app-shell .page-content .office-home .insight-period{border-radius:12px}body.legalflow-ui .app-shell .page-content .office-home .insight-period button{border-radius:9px}body.legalflow-ui .app-shell .page-content .office-home .card-head{min-height:58px;padding:10px 16px}body.legalflow-ui .app-shell .page-content .office-home .office-reminders{padding:0 16px}body.legalflow-ui .app-shell .page-content .office-home .office-reminder{grid-template-columns:32px minmax(0,1fr) auto;align-items:center;min-height:72px;padding:12px 0;gap:8px;border-bottom:1px solid var(--av-border);border-radius:0}body.legalflow-ui .app-shell .page-content .office-home .office-reminder:last-child{border-bottom:0}body.legalflow-ui .app-shell .page-content .office-home .office-reminder:before{display:none}body.legalflow-ui .app-shell .page-content .office-home .office-reminder>svg{width:16px;height:16px;padding:8px;margin:0;border:0;border-radius:10px;background:var(--av-surface-3);color:var(--av-muted)}body.legalflow-ui .app-shell .page-content .office-home .office-reminder strong{font-size:14px;line-height:1.45}body.legalflow-ui .app-shell .page-content .office-home .office-reminder p{margin-top:3px;font-size:12px}body.legalflow-ui .app-shell .page-content .office-home .office-reminder .badge{margin:0;padding:3px 8px;font-size:11px}}@media(max-width:780px){body.legalflow-ui .app-shell .page-content .office-home .home-recent-cases tbody tr.home-case-row{padding:12px 16px;row-gap:4px}body.legalflow-ui .app-shell .page-content .office-home .home-recent-cases .home-case-main strong{font-size:12px;line-height:22px}body.legalflow-ui .app-shell .page-content .office-home .home-recent-cases .home-case-main .subtext{white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.45;font-weight:550}body.legalflow-ui .app-shell .page-content .office-home .home-recent-cases .home-case-clients{white-space:normal;font-size:12px;line-height:1.5}}@media(max-width:600px){body.legalflow-ui .app-shell .page-content .office-home .schedule-chart{height:140px;margin-top:18px}body.legalflow-ui .app-shell .page-content .office-home .schedule-date{font-size:11px}body.legalflow-ui .app-shell .page-content .office-home .schedule-columns{background-image:linear-gradient(to top,var(--av-border) 0 1px,transparent 1px calc(50% - .5px),var(--av-border) calc(50% - .5px) calc(50% + .5px),transparent calc(50% + .5px) calc(100% - 1px),var(--av-border) calc(100% - 1px))}body.legalflow-ui .app-shell .page-content .office-home .insight-chart-summary{justify-content:flex-start;padding-top:10px;margin-top:10px;border-top:1px solid var(--av-border)}body.legalflow-ui .app-shell .page-content .office-home .case-distribution{padding-top:16px;gap:12px}body.legalflow-ui .app-shell .page-content .office-home .case-donut{width:112px;height:112px;min-width:112px;min-height:112px;flex-basis:112px}body.legalflow-ui .app-shell .page-content .office-home .case-donut span{max-width:68px;font-size:10px;line-height:1.3;text-align:center}body.legalflow-ui .app-shell .page-content .office-home .case-distribution-legend a{min-height:52px;padding:6px;border:1px solid var(--av-border);border-radius:10px;background:var(--av-surface-2);font-size:11px}body.legalflow-ui .app-shell .page-content .office-home .case-distribution-legend strong{font-size:13px}body.legalflow-ui .app-shell .page-content:has(>.office-home)>.page-footer{margin-top:14px;padding-top:14px;font-size:11px}}@media(max-width:374px){body.legalflow-ui .app-shell .page-content .office-home .case-donut{width:96px;height:96px;min-width:96px;min-height:96px;flex-basis:96px}body.legalflow-ui .app-shell .page-content .office-home .case-distribution-legend a{min-height:44px;padding:4px;border:0;background:transparent;font-size:12px}}@media(max-width:780px){body.legalflow-ui .app-shell .page-content .table-scroll :is(.home-case-open .button,.lf-clients-row-actions .lf-clients-open-action,.case-row-actions>.case-open-action,.finance-row-actions .finance-open-action){background:transparent!important;color:transparent!important;text-decoration:none!important}body.legalflow-ui .app-shell .page-content .home-recent-cases tbody tr.home-case-row:focus-within{background:var(--av-surface-3)}}@media(max-width:780px) and (hover:hover){body.legalflow-ui .app-shell .page-content .home-recent-cases tbody tr.home-case-row:hover{background:var(--av-surface-3)}}@media (max-width:1023px){.legalflow-ui .app-shell .lf-clients-page{min-width:0;padding-bottom:0}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-luxury-hero-content{gap:14px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-heading-actions .button{min-height:44px;height:auto}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;padding:12px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-toolbar:after{display:none}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-toolbar .field{order:0;width:auto;max-width:none;min-width:0;margin:0}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-toolbar .lf-clients-search{grid-column:1/-1}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-toolbar :is(.input,.client-filter-trigger){min-height:44px;height:44px;font-size:16px;padding-inline:12px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-toolbar .lf-clients-view-compact{width:90px;min-width:90px;max-width:90px;height:46px;margin:0;padding:0;gap:0}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-toolbar .lf-clients-view-compact button{width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;flex-basis:44px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-toolbar .lf-clients-clear-filters{order:0;grid-column:1/-1;justify-self:end;min-height:44px;min-width:44px}.legalflow-ui .app-shell .lf-clients-page .lf-client-actions{gap:8px}.legalflow-ui .app-shell .lf-clients-page .lf-client-actions .button{min-height:44px;height:auto;padding:0 10px;border:1px solid var(--av-border);border-radius:10px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-luxury-client{padding:16px;border-radius:16px;gap:14px}.legalflow-ui .app-shell .lf-clients-page .lf-clients-luxury-client-contact a{min-height:32px;font-size:13px}.legalflow-ui .app-shell .lf-clients-page .lf-clients-luxury-client-footer{gap:8px}.legalflow-ui .app-shell .lf-client-dosja.lf-clients-profile{padding:16px;gap:16px}.legalflow-ui .app-shell .lf-client-dosja .dosja-name-line h1{font-size:23px;line-height:1.25}.legalflow-ui .app-shell .lf-client-dosja .dosja-back.button{min-height:44px}.legalflow-ui .app-shell .lf-client-dosja .dosja-profile-actions{gap:8px}.legalflow-ui .app-shell .lf-client-dosja :is(.dosja-profile-actions,.dosja-more-menu,.dosja-row-actions,.dosja-case-footer,.dosja-upload-actions) .button{min-height:44px}.legalflow-ui .app-shell .lf-client-dosja .dosja-more>summary{width:44px;height:44px;min-height:44px}.legalflow-ui .app-shell .lf-client-dosja .dosja-tabs{gap:20px;overscroll-behavior-x:contain;scroll-padding-inline:2px}.legalflow-ui .app-shell .lf-client-dosja .dosja-tabs button{min-height:48px;flex:0 0 auto;padding-inline:2px}.legalflow-ui .app-shell .lf-client-dosja .dosja-tabs::-webkit-scrollbar{display:none}.legalflow-ui .app-shell .lf-client-dosja .dosja-overview-grid{grid-template-columns:minmax(0,1fr);gap:18px;padding-top:0}.legalflow-ui .app-shell .lf-client-dosja .dosja-right-column{gap:20px}.legalflow-ui .app-shell .lf-client-dosja .dosja-right-column .dosja-case-link{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"number badge" "title title";gap:6px 10px;padding:12px 0}.legalflow-ui .app-shell .lf-client-dosja .dosja-case-number{grid-area:number}.legalflow-ui .app-shell .lf-client-dosja .dosja-case-title{grid-area:title;white-space:normal;overflow-wrap:anywhere}.legalflow-ui .app-shell .lf-client-dosja .dosja-case-link>:last-child{grid-area:badge}.legalflow-ui .app-shell .lf-client-dosja .dosja-base-data a{display:inline-flex;align-items:center;min-height:44px;margin:-6px 0}.legalflow-ui .app-shell .lf-client-dosja .lf-client-notes-editor :is(.input,.textarea){font-size:16px}.legalflow-ui .dialog-content:has(>.lf-clients-form){width:min(560px,calc(100vw - 24px));height:min(780px,calc(100dvh - 24px));max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:18px}.legalflow-ui .dialog-content:has(>.lf-clients-form)>.dialog-heading{padding:14px 16px}.legalflow-ui .dialog-content:has(>.lf-clients-form)>.dialog-heading>.button{width:44px;height:44px;min-height:44px}.legalflow-ui .dialog-content>.lf-clients-form{overflow:hidden;padding:0 16px}.legalflow-ui .dialog-content .lf-clients-form>.lf-clients-fieldset{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 2px 4px;scrollbar-width:thin}.legalflow-ui .dialog-content .lf-clients-form .input{min-height:46px;font-size:16px;border-radius:10px}.legalflow-ui .dialog-content .lf-clients-form textarea[name=notes]{min-height:92px}.legalflow-ui .dialog-content .lf-clients-form .lf-clients-kind .button{min-height:44px}.legalflow-ui .dialog-content .lf-clients-form>.form-actions{position:static;flex:0 0 auto;margin-top:10px;padding:12px 0;gap:10px}.legalflow-ui .dialog-content .lf-clients-form>.form-actions .button{flex:1;min-height:46px;border-radius:12px}.legalflow-ui .dialog-content:has(.lf-client-delete) .form-actions .button{min-height:44px}}@media (max-width:780px){.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table{min-width:0;overflow:hidden}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table .table-scroll{display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table table{display:table;width:max(100%,860px);min-width:860px;border-collapse:collapse}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table thead{position:static;display:table-header-group;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table tbody{display:table-row-group;width:auto}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table tbody tr{position:static;display:table-row;min-height:0;padding:0;border:0}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table tbody tr:after{content:none;display:none}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table tbody td,.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table tbody td.lf-clients-actions-cell,.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table tbody td[data-label],.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table tbody td[data-label]:has(.lf-clients-missing){display:table-cell;order:0;width:auto;max-width:none;margin:0;padding:10px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;grid-column:auto;grid-row:auto}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table .table-scroll tbody td:before{content:none;display:none}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table tbody td.lf-clients-actions-cell{overflow:visible}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table .lf-clients-entity{display:flex;align-items:center;gap:10px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table .lf-clients-entity-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table .lf-clients-avatar{position:static;top:auto;left:auto;transform:none;flex:0 0 32px;width:32px;height:32px;min-width:32px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table .lf-clients-kind-label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:nowrap}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table .lf-clients-name{display:inline;min-height:0;max-width:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;text-align:left}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-luxury-table .lf-client-actions{flex-wrap:nowrap;justify-content:flex-end}}@media (max-width:600px){.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .lf-clients-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 90px;gap:8px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-toolbar .lf-clients-view-compact{grid-column:3;grid-row:2}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-toolbar .lf-clients-clear-filters{grid-column:1/-1;grid-row:3}.legalflow-ui .dialog-content .lf-clients-form .form-grid{grid-template-columns:minmax(0,1fr);gap:14px}.legalflow-ui .dialog-content .lf-clients-form .form-grid>.field{grid-column:1/-1}.legalflow-ui .app-shell .lf-client-dosja .dosja-base-data{grid-template-columns:minmax(0,1fr)}.legalflow-ui .dialog-content:has(>.lf-clients-form){width:min(440px,calc(100vw - 24px));height:auto;max-height:min(620px,calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)));border-radius:14px}.legalflow-ui .dialog-content:has(>.lf-clients-form)>.dialog-heading{padding:8px 14px}.legalflow-ui .dialog-content:has(>.lf-clients-form) .dialog-title{font-size:18px}.legalflow-ui .dialog-content>.lf-clients-form{padding:0 14px}.legalflow-ui .dialog-content .lf-clients-form>.lf-clients-fieldset{padding:8px 2px 2px}.legalflow-ui .dialog-content .lf-clients-form .lf-client-type-panel{padding-top:8px}.legalflow-ui .dialog-content .lf-clients-form .lf-client-type-panel>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.legalflow-ui .dialog-content .lf-clients-form .lf-client-type-panel>.form-grid>.field:not(.full){grid-column:auto}.legalflow-ui .dialog-content .lf-clients-form .form-grid{gap:8px}.legalflow-ui .dialog-content .lf-clients-form .input{min-height:44px}.legalflow-ui .dialog-content .lf-clients-form textarea[name=notes]{height:64px;min-height:64px}.legalflow-ui .dialog-content .lf-clients-form .lf-clients-optional.form-section-content{margin-top:8px;padding-top:8px}.legalflow-ui .dialog-content .lf-clients-form .form-extra-heading{margin-bottom:8px}.legalflow-ui .dialog-content .lf-clients-form>.form-actions{margin-top:4px;padding:8px 0;gap:8px}.legalflow-ui .dialog-content .lf-clients-form>.form-actions .button{min-height:44px}.legalflow-ui .dialog-content:has(.lf-client-delete){width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow-y:auto;padding:16px;border-radius:14px}.legalflow-ui .dialog-content:has(.lf-client-delete) .dialog-heading{margin-bottom:10px}.legalflow-ui .dialog-content:has(.lf-client-delete) .dialog-title{font-size:18px}.legalflow-ui .dialog-content:has(.lf-client-delete) .form-actions .button{min-height:44px}}@media (max-width:1023px){.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-overview-toolbar{display:none}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-luxury-hero-content{flex-wrap:nowrap;align-items:center;gap:10px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-title-block{flex:1 1 auto;min-width:0}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-title-block h1{font-size:23px;margin:0}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-title-block p{display:none}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-heading-actions{flex:0 0 auto;gap:8px;margin:0}}@media (max-width:600px){.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-heading-actions .lf-clients-import-action{width:44px;padding:0;gap:0;font-size:0}}@media (max-width:780px){.legalflow-ui .dialog-content:has(>.lf-clients-form){width:min(440px,calc(100vw - 16px));height:auto;max-height:calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));border-radius:12px}.legalflow-ui .dialog-content:has(>.lf-clients-form)>.dialog-heading{padding:8px 12px}.legalflow-ui .dialog-content:has(>.lf-clients-form)>.dialog-heading>.button{width:32px;height:32px;min-height:32px}.legalflow-ui .dialog-content:has(>.lf-clients-form) .dialog-title{font-size:16px}.legalflow-ui .dialog-content>.lf-clients-form{overflow:visible;padding:0 12px}.legalflow-ui .dialog-content .lf-clients-form>.lf-clients-fieldset{flex:none;min-height:0;overflow:visible;padding:4px 0 0}.legalflow-ui .dialog-content .lf-clients-form .lf-client-type-panel{padding-top:6px}.legalflow-ui .dialog-content .lf-clients-form .form-grid{gap:6px 8px}.legalflow-ui .dialog-content .lf-clients-form .lf-client-type-panel>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legalflow-ui .dialog-content .lf-clients-form .lf-client-type-panel>.form-grid>.field:not(.full){grid-column:auto}.legalflow-ui .dialog-content .lf-clients-form .field{gap:3px}.legalflow-ui .dialog-content .lf-clients-form .input{min-height:36px;height:36px;padding:6px 10px;font-size:16px}.legalflow-ui .dialog-content .lf-clients-form textarea[name=notes]{height:48px;min-height:48px}.legalflow-ui .dialog-content .lf-clients-form .lf-clients-kind{margin-bottom:0}.legalflow-ui .dialog-content .lf-clients-form .lf-clients-kind .button{min-height:34px}.legalflow-ui .dialog-content .lf-clients-form .lf-clients-optional.form-section-content{margin-top:6px;padding-top:6px}.legalflow-ui .dialog-content .lf-clients-form .form-extra-heading{margin-bottom:6px}.legalflow-ui .dialog-content .lf-clients-form>.form-actions{justify-content:flex-end;margin-top:2px;padding:8px 0;gap:8px}.legalflow-ui .dialog-content .lf-clients-form>.form-actions .button{flex:0 0 auto;min-width:84px;min-height:36px}.legalflow-ui .dialog-content .lf-client-status-choice legend{margin-bottom:4px}.legalflow-ui .dialog-content .lf-client-status-choice label{min-height:32px;padding:0 10px}.legalflow-ui .dialog-content:has(.lf-client-delete){width:min(360px,calc(100vw - 16px));max-height:calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));overflow-y:auto;padding:12px 14px;border-radius:12px}.legalflow-ui .dialog-content:has(.lf-client-delete) .dialog-heading{margin-bottom:6px;gap:8px}.legalflow-ui .dialog-content:has(.lf-client-delete) .dialog-title{font-size:16px}.legalflow-ui .dialog-content:has(.lf-client-delete) .dialog-description{margin-top:2px}.legalflow-ui .dialog-content:has(.lf-client-delete) .lf-client-delete{gap:8px}.legalflow-ui .dialog-content:has(.lf-client-delete) .form-actions{flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;gap:8px;padding-top:4px}.legalflow-ui .dialog-content:has(.lf-client-delete) .form-actions .button{width:auto;flex:0 0 auto;min-height:36px}}@media (max-width:1023px){.legalflow-ui .app-shell .page-content:has(>.calendar-page),.legalflow-ui .app-shell .page-content:has(>.cases-workspace),.legalflow-ui .app-shell .page-content:has(>.documents-page),.legalflow-ui .app-shell .page-content:has(>.finance-page),.legalflow-ui .app-shell .page-content:has(>.imports-page),.legalflow-ui .app-shell .page-content:has(>.lf-clients-page){padding:12px 20px 0}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-luxury-hero{margin-bottom:8px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-luxury-client{padding:14px;gap:10px;min-height:0}.legalflow-ui .app-shell .lf-clients-page .lf-clients-luxury-client-contact{min-height:0;gap:4px}.legalflow-ui .app-shell .lf-clients-page .lf-clients-luxury-client-contact a{min-height:24px}.legalflow-ui .app-shell .lf-clients-page .lf-clients-luxury-client-footer{padding-top:8px}.legalflow-ui .app-shell .lf-clients-page.lf-clients-luxury .lf-clients-card .client-filter-trigger{font-size:13px;padding-inline:10px;gap:4px}}