.legalflow-ui .app-shell .cases-workspace{min-width:0;--av-r-lg:18px;--av-r:12px;--av-fs-md:13px;--av-fs-sm:12px;--av-fs-xs:11px}.legalflow-ui .app-shell:has(.cases-workspace) .topbar{min-height:84px;padding-top:16px;padding-bottom:8px}.legalflow-ui .app-shell .page-content:has(>.cases-workspace){padding-top:4px}.legalflow-ui .app-shell .cases-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:0}.legalflow-ui .app-shell .cases-title-block h1{min-height:0;margin:0;font:600 25px/1.2 var(--av-font);letter-spacing:-.035em;color:var(--av-ink)}.legalflow-ui .app-shell .cases-title-block p{margin:5px 0 0;font-size:12px;line-height:1.45;color:var(--av-muted)}.legalflow-ui .app-shell .cases-heading>.button{min-height:38px;padding:0 14px;font-size:13px}.legalflow-ui .app-shell .cases-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 12px;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}.legalflow-ui .app-shell .cases-summary button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 6px;border:0;border-bottom:1px solid var(--av-border-strong);background:transparent;color:var(--av-text);font:500 13px/1.4 var(--av-font);cursor:pointer}.legalflow-ui .app-shell .cases-summary button :is(strong,span){margin:0;font:inherit;color:inherit}.legalflow-ui .app-shell :is(.cases-summary button,.case-section-links button):after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--av-ink);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}.legalflow-ui .app-shell :is(.cases-summary button,.case-section-links button):is(:hover,:focus-visible,[aria-pressed=true],[aria-selected=true]):after{transform:scaleX(1)}.legalflow-ui .app-shell .cases-workspace .cases-list-card{border-radius:18px;box-shadow:none}.legalflow-ui .app-shell .cases-workspace .cases-toolbar{padding:12px;gap:10px}.legalflow-ui .app-shell .cases-workspace .cases-toolbar :is(.input,.client-filter-trigger){min-height:38px;height:38px;font-size:13px;border-radius:999px}.legalflow-ui .app-shell .cases-workspace .cases-toolbar>.search{flex:1 1 260px;min-width:0;max-width:none}.legalflow-ui .app-shell .cases-workspace .cases-toolbar>.search>.cases-search{width:100%;flex:none;min-width:0}.legalflow-ui .app-shell .cases-list-card th{padding:9px 12px;font-size:12px}.legalflow-ui .app-shell .cases-list-card td{padding:10px 12px;font-size:13px}.legalflow-ui .app-shell .cases-list-card .case-row{cursor:pointer}.legalflow-ui .app-shell .cases-list-card .case-row:hover,.legalflow-ui .app-shell .cases-list-card .case-row:hover td{background:transparent}.legalflow-ui .app-shell .cases-workspace .case-title-link:hover{text-decoration:none;color:var(--av-ink)}.legalflow-ui .app-shell .cases-workspace .case-row-actions{display:flex;gap:12px}.legalflow-ui .app-shell .cases-workspace .case-row-actions .button{width:auto;min-width:0;min-height:32px;padding:0 2px;border:0;border-radius:0;background:transparent;color:var(--av-muted);font-size:12px;gap:6px;box-shadow:none}.legalflow-ui .app-shell .cases-workspace .case-row-actions .case-action-label{position:static;width:auto;height:auto;clip-path:none;overflow:visible}.legalflow-ui .app-shell .cases-workspace .case-row-actions .button:hover{background:transparent;color:var(--av-ink);text-decoration:underline;text-underline-offset:4px}.legalflow-ui .app-shell .cases-workspace .case-row-actions .case-delete-action:hover{color:var(--av-danger-ink)}.legalflow-ui .app-shell .cases-workspace :is(.badge,.status-text){background:transparent;border:0;padding:0;border-radius:0;box-shadow:none;font-size:12px;font-weight:400;gap:5px}.legalflow-ui .app-shell .cases-workspace :is(.badge,.status-text):before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}.legalflow-ui .app-shell .cases-workspace .case-full-detail{display:grid;gap:8px;padding:8px 24px 24px;border:1px solid var(--av-border);border-radius:22px;background:var(--av-surface);box-shadow:0 4px 20px #1F1D2004}.legalflow-ui .app-shell .cases-workspace .case-full-detail>.button:first-child{margin:0 0 -4px -8px}.legalflow-ui .app-shell .cases-workspace .case-detail-header{padding:0;gap:16px}.legalflow-ui .app-shell .cases-workspace .case-detail-identity{gap:12px;flex-basis:320px;align-items:center}.legalflow-ui .app-shell .cases-workspace .case-detail-avatar{width:40px;height:40px;min-width:40px;border-radius:50%;background:var(--av-surface-3);color:var(--av-text)}.legalflow-ui .app-shell .cases-workspace .case-detail-identity h1{font:550 23px/1.25 var(--av-font);letter-spacing:-.035em}.legalflow-ui .app-shell .cases-workspace .case-detail-identity>div{gap:4px}.legalflow-ui .app-shell .cases-workspace .case-detail-number{font-size:11px;color:var(--av-muted);font-weight:500}.legalflow-ui .app-shell .cases-workspace .case-detail-court{font-size:12px}.legalflow-ui .app-shell .cases-workspace .detail-actions .button{min-height:36px;padding-inline:12px;font-size:12px}.legalflow-ui .app-shell .cases-workspace .case-section-links{display:flex;gap:16px;padding:0 0 1px;border:0;overflow-x:auto}.legalflow-ui .app-shell .cases-workspace .case-section-links button{position:relative;flex:1 0 auto;min-height:40px;padding:0 8px;border:0;border-bottom:1px solid var(--av-border-strong);border-radius:0;background:transparent;color:var(--av-muted);font:500 13px var(--av-font);cursor:pointer}.legalflow-ui .app-shell .cases-workspace .case-section-links button[aria-selected=true]{color:var(--av-ink)}.legalflow-ui .app-shell .cases-workspace .case-detail-panels{display:block;min-width:0;padding-top:12px}.legalflow-ui .app-shell .cases-workspace .case-detail-panels>[hidden]{display:none}.legalflow-ui .app-shell .cases-workspace .case-detail-panel{padding:0;border:0;border-radius:0;box-shadow:none}.legalflow-ui .app-shell .cases-workspace .case-detail-panel section>h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip-path:inset(50%);overflow:hidden}.legalflow-ui .app-shell .cases-workspace .case-detail-panel h3{font-size:12px;margin:4px 0}.legalflow-ui .app-shell .cases-workspace .case-detail-panel .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 24px}.legalflow-ui .app-shell .cases-workspace .case-related-list{border:0;border-radius:0}.legalflow-ui .app-shell .cases-workspace .case-related-list li{padding:12px 0;background:transparent}.legalflow-ui .app-shell .cases-workspace .case-empty-related{border:0;background:transparent;padding:20px 0;text-align:left}.legalflow-ui .app-shell .cases-workspace .case-create-actions{display:flex;justify-content:center;padding-top:12px}.legalflow-ui .app-shell .case-create-actions.case-create-deadlines>.button:not(:nth-child(3)),.legalflow-ui .app-shell .case-create-actions.case-create-documents>.button:not(:first-child),.legalflow-ui .app-shell .case-create-actions.case-create-hearings>.button:not(:nth-child(2)){display:none}@media(max-width:780px){.legalflow-ui .app-shell .cases-heading{align-items:flex-start}.legalflow-ui .app-shell .cases-summary{display:flex;overflow-x:auto;gap:12px}.legalflow-ui .app-shell .cases-summary button{flex:1 0 125px;min-height:44px}.legalflow-ui .app-shell .cases-workspace .cases-toolbar{padding:10px}.legalflow-ui .app-shell .cases-workspace .cases-toolbar>.search{flex-basis:100%}.legalflow-ui .app-shell .cases-workspace .cases-toolbar :is(.input,.client-filter-trigger){min-height:44px;height:44px}.legalflow-ui .app-shell .cases-workspace .case-full-detail{padding:6px 14px 14px;border-radius:18px}.legalflow-ui .app-shell .cases-workspace .case-detail-panel .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.legalflow-ui .app-shell .cases-workspace .case-section-links button{min-height:44px}.legalflow-ui .app-shell .cases-workspace .case-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}.legalflow-ui .app-shell .cases-workspace .case-row-actions .button{min-height:40px}}@media(max-width:400px){.legalflow-ui .app-shell .cases-workspace .case-detail-panel .detail-grid{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.legalflow-ui .app-shell :is(.cases-summary button,.case-section-links button):after{transition:none}}.legalflow-ui .app-shell .cases-workspace .cases-heading{width:100%;justify-content:space-between}.legalflow-ui .app-shell .cases-workspace .cases-title-block{flex:1;margin:0;padding:0;text-align:left;position:static;width:auto;height:auto;overflow:visible;clip-path:none}.legalflow-ui .app-shell .cases-workspace .cases-heading>.button{height:38px;min-height:38px;margin:0;padding:0 14px;border-radius:999px;background:var(--wt-accent,#1F1D20);border-color:var(--wt-accent,#1F1D20);color:var(--wt-on-accent,#FFF);font-size:13px;font-weight:500;line-height:1;gap:7px;box-shadow:none}.legalflow-ui .app-shell .cases-workspace .case-section-links{position:static;top:auto;margin:0;background:transparent;z-index:auto;max-width:100%;min-width:0}.legalflow-ui .app-shell .cases-workspace .case-section-links button{min-width:100px}.legalflow-ui .app-shell .cases-workspace .case-section-links button:after{width:auto;max-width:none}@media(max-width:780px){.legalflow-ui .app-shell .cases-workspace .cases-heading{flex-direction:row;flex-wrap:wrap}.legalflow-ui .app-shell .cases-workspace .cases-summary{flex-wrap:nowrap}.legalflow-ui .app-shell .cases-workspace .cases-list-card .case-row-actions>.button-ghost{display:inline-flex}.legalflow-ui .app-shell .cases-workspace .cases-list-card .case-row{grid-template-areas:"number status" "main main" "actions actions";grid-template-columns:minmax(0,1fr) auto}.legalflow-ui .app-shell .cases-workspace .cases-list-card td.case-actions-cell{grid-area:actions;width:100%;padding:6px 0 0}.legalflow-ui .app-shell .cases-workspace .cases-list-card .case-row-actions{display:flex;justify-content:flex-end}.legalflow-ui .app-shell .cases-workspace .cases-list-card td.case-status-cell .badge{padding:0}}.legalflow-ui .app-shell .cases-workspace .case-detail-identity>div{gap:7px}.legalflow-ui .app-shell .cases-workspace .case-detail-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}.legalflow-ui .app-shell .cases-workspace .case-detail-meta .case-detail-number{font-size:12px;font-weight:500;color:var(--av-muted);letter-spacing:0}.legalflow-ui .app-shell .cases-workspace .case-detail-meta .case-detail-court{padding-left:12px;border-left:1px solid var(--av-border);font-size:12px;color:var(--av-muted);overflow-wrap:anywhere}.legalflow-ui .app-shell .cases-workspace #case-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.legalflow-ui .app-shell .cases-workspace .case-party-group{min-width:0;padding:14px 16px;border:1px solid var(--av-border);border-radius:14px;background:var(--av-surface-2)}.legalflow-ui .app-shell .cases-workspace .case-party-group h3{margin:0 0 8px;font-size:12px;font-weight:500;color:var(--av-muted)}.legalflow-ui .app-shell .cases-workspace .case-party-group .case-related-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px 0;gap:4px 12px}.legalflow-ui .app-shell .cases-workspace .case-party-group li>:is(a,strong){grid-column:1;min-height:0;font-size:13px;font-weight:500}.legalflow-ui .app-shell .cases-workspace .case-party-group li>span{grid-column:2;grid-row:1;text-align:right;font-size:11px}.legalflow-ui .app-shell .cases-workspace .case-party-group>p{margin:12px 0 0;font-size:12px;color:var(--av-muted)}.legalflow-ui .app-shell .cases-workspace .case-related-list .case-document-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 4px}.legalflow-ui .app-shell .cases-workspace .case-document-row>.case-document-icon{grid-column:1;grid-row:1;padding:0;border-radius:0;background:transparent;color:var(--av-muted)}.legalflow-ui .app-shell .cases-workspace .case-document-row>.case-document-copy{grid-column:2;grid-row:1;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;min-width:0}.legalflow-ui .app-shell .cases-workspace .case-document-copy strong{font-size:13px;font-weight:500;color:var(--av-ink);overflow-wrap:anywhere}.legalflow-ui .app-shell .cases-workspace .case-document-row>.office-actions{grid-column:3;grid-row:1;margin:0;gap:12px}.legalflow-ui .app-shell .cases-workspace .case-document-row>p{grid-column:2/-1}.legalflow-ui .app-shell .cases-workspace .case-detail-panel section>.button{justify-self:center;margin-top:8px;border-radius:999px;padding-inline:16px}.legalflow-ui .app-shell .cases-workspace :is(#case-hearings,#case-deadlines) .case-related-list li{padding:14px 0;gap:5px 16px}.legalflow-ui .app-shell .cases-workspace .case-create-actions{margin-top:4px;padding-top:16px;border-top:1px solid var(--av-border)}.legalflow-ui .app-shell .cases-workspace #case-notes>.case-preserve-lines{padding:16px;min-height:80px;font-size:13px;border-radius:12px;line-height:1.7}@media(max-width:780px){.legalflow-ui .app-shell .cases-workspace #case-parties{grid-template-columns:minmax(0,1fr);gap:12px}.legalflow-ui .app-shell .cases-workspace .case-document-row>.office-actions{grid-column:2/-1;grid-row:2;justify-content:flex-start}.legalflow-ui .app-shell .cases-workspace .case-document-row .office-actions .button{min-height:40px}.legalflow-ui .app-shell .cases-workspace :is(#case-hearings,#case-deadlines) .case-related-list li>.status-text{grid-column:1/-1;grid-row:auto;justify-self:start;white-space:normal}}.legalflow-ui .app-shell .cases-workspace #case-documents .case-document-row .subtext{font-size:11px;color:var(--av-muted);white-space:nowrap}.legalflow-ui .app-shell .cases-workspace #case-documents .case-document-row .office-actions{gap:8px}@media(min-width:781px){.legalflow-ui .app-shell .cases-workspace #case-documents .case-document-row .office-actions .button{min-height:36px;height:36px}}.legalflow-ui .app-shell .cases-workspace .case-create-documents{border-top:0;margin-top:0;padding-top:8px}.legalflow-ui .app-shell .cases-workspace .cases-heading>.button svg{width:16px;height:16px}html[data-workspace-palette=neutral] .legalflow-ui .app-shell .cases-workspace .cases-heading>.button:hover:not(:disabled){background:var(--wt-text,#4D4845)!important;border-color:var(--wt-text,#4D4845)!important}@media(max-width:780px){.legalflow-ui .app-shell .cases-workspace .cases-heading>.button{height:44px;min-height:44px}}.legalflow-ui .app-shell .cases-list-card th{white-space:nowrap}.legalflow-ui .app-shell .documents-page{gap:12px;--av-fs-md:13px;--av-fs-sm:12px;--av-fs-xs:11px;--av-r:12px;--av-r-lg:18px}.legalflow-ui .app-shell:has(.documents-page) .topbar{min-height:84px;padding-top:16px;padding-bottom:8px}.legalflow-ui .app-shell .page-content:has(>.documents-page){padding-top:4px}.legalflow-ui .app-shell .documents-page>.page-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 2px;gap:16px}.legalflow-ui .app-shell .workspace-pages .documents-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}.legalflow-ui .app-shell .documents-page .page-heading h1{font:600 25px/1.25 var(--av-font);letter-spacing:-.035em;margin:0;color:var(--av-ink)}.legalflow-ui .app-shell .documents-page .page-heading p{margin:5px 0 0;font-size:12px;color:var(--av-muted)}.legalflow-ui .app-shell .documents-page .documents-heading-actions{gap:8px}.legalflow-ui .app-shell .documents-page .documents-primary-upload{min-height:38px;height:38px;padding:0 14px;border-radius:999px;font-size:13px}.legalflow-ui .app-shell .documents-page .documents-card{border-radius:18px;box-shadow:none;overflow:visible;container-type:normal;--documents-grid:minmax(210px,1.4fr) minmax(170px,1fr) 150px 134px}.legalflow-ui .app-shell .documents-page .documents-filters{display:grid;grid-template-columns:minmax(230px,1.2fr) minmax(170px,.85fr) minmax(230px,1.2fr) minmax(160px,.8fr);gap:10px;align-items:center;padding:12px;border-radius:18px 18px 0 0}.legalflow-ui .app-shell .documents-page .documents-filters :is(.input,.client-filter-trigger){height:38px;min-height:38px;border-radius:999px;font-size:13px}.legalflow-ui .app-shell .documents-page .documents-list-heading{padding:8px 12px;border:0}.legalflow-ui .app-shell .documents-page .documents-list-heading p{margin:0;font-size:11px}.legalflow-ui .app-shell .documents-page .documents-list-heading .button{margin-left:auto}.legalflow-ui .app-shell .documents-page .documents-columns{grid-template-columns:var(--documents-grid);gap:16px;padding:9px 12px;font-size:12px;background:var(--av-surface-2)}.legalflow-ui .app-shell .documents-page .documents-columns>span:first-child{padding:0}.legalflow-ui .app-shell .documents-page .documents-row{grid-template-areas:none;grid-template-columns:var(--documents-grid);gap:16px;padding:10px 12px;position:relative;cursor:pointer;background:transparent}.legalflow-ui .app-shell .documents-page .documents-row:hover{background:transparent}.legalflow-ui .app-shell .documents-page .documents-row:last-child{border-radius:0 0 18px 18px}.legalflow-ui .app-shell .documents-page .documents-file{gap:10px}.legalflow-ui .app-shell .documents-page .documents-file-icon{width:34px;height:40px;min-width:34px;border-radius:8px;background:var(--av-surface-2);color:var(--av-muted);border:1px solid var(--av-border);box-shadow:none}.legalflow-ui .app-shell .documents-page .documents-file-icon small{font-size:7px;color:inherit}.legalflow-ui .app-shell .documents-page .documents-name{display:block;max-width:100%;padding:0;border:0;background:transparent;color:var(--av-ink);font:500 13px/1.5 var(--av-font);text-align:left;overflow-wrap:anywhere;cursor:pointer}.legalflow-ui .app-shell .documents-page .documents-name:disabled{color:var(--av-muted);cursor:default}.legalflow-ui .app-shell .documents-page .documents-file-metadata{margin-top:3px}.legalflow-ui .app-shell .documents-page .documents-associations p{font-size:12px;line-height:1.5;margin:0}.legalflow-ui .app-shell .documents-page .documents-associations a{text-decoration:none;font-weight:400;color:var(--av-text)}.legalflow-ui .app-shell .documents-page .documents-version :is(.version-label,.muted){font-size:11px}.legalflow-ui .app-shell .documents-page .documents-version .version-label{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 4px}.legalflow-ui .app-shell .documents-page .documents-updated-label{display:none}.legalflow-ui .app-shell :is(.documents-page,.documents-preview) .badge{padding:0;background:transparent;border:0;border-radius:0;font-size:11px;font-weight:400;gap:5px}.legalflow-ui .app-shell .documents-page .documents-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;position:static}.legalflow-ui .app-shell .documents-page .documents-row-actions>.button{min-height:32px;height:32px;padding:0;border:0;border-radius:0;background:transparent;color:var(--av-muted);font-size:12px;gap:6px}.legalflow-ui .app-shell .documents-page .documents-row-actions>.button:hover{color:var(--av-ink);text-decoration:underline;text-underline-offset:4px;background:transparent}.legalflow-ui .documents-actions-menu{position:relative;flex:none}.legalflow-ui .documents-actions-menu>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:32px;height:32px;border-radius:8px;color:var(--av-muted);cursor:pointer}.legalflow-ui .documents-actions-menu>summary::-webkit-details-marker{display:none}.legalflow-ui .documents-actions-menu>summary::marker{content:""}.legalflow-ui .documents-actions-menu>summary:hover{background:var(--av-surface-2)}.legalflow-ui .documents-actions-menu[open]{z-index:30}.legalflow-ui .documents-actions-panel{position:absolute;top:calc(100% + 4px);right:0;display:grid;min-width:170px;padding:6px;border:1px solid var(--av-border);border-radius:12px;background:var(--av-surface);box-shadow:0 8px 24px #1F1D2012;z-index:30}.legalflow-ui .documents-page .documents-actions-panel .button{justify-content:flex-start;min-height:36px;padding:0 10px;border:0;border-radius:8px;font-size:12px;gap:8px;background:transparent}.legalflow-ui .documents-page .documents-actions-panel .button:hover{background:var(--av-surface-2)}.legalflow-ui .documents-actions-panel .documents-delete{color:var(--av-danger-ink)}.legalflow-ui .dialog-content:has(.documents-form) .dialog-heading{margin-bottom:16px}.legalflow-ui .documents-form .documents-upload-area{padding:18px 16px;border:1px dashed var(--av-border-strong);border-radius:14px;background:var(--av-surface-2);box-shadow:none}.legalflow-ui .documents-form .documents-upload-area h3{font-size:13px;font-weight:500;margin:6px 0}.legalflow-ui .documents-form .documents-upload-area p{font-size:11px}.legalflow-ui .documents-form .documents-upload-icon{width:32px;height:32px;background:transparent;color:var(--av-muted)}.legalflow-ui .documents-form .form-stack{gap:14px}.legalflow-ui .documents-form .documents-security{font-size:11px;margin:0;line-height:1.5}.legalflow-ui .documents-preview .preview-toolbar{padding:0 0 14px;gap:10px;border-color:var(--av-border)}.legalflow-ui .documents-preview .preview-toolbar .field{flex:1;max-width:280px;min-width:140px}.legalflow-ui .documents-preview .documents-preview-summary{padding:12px 0;margin:0 0 12px;background:transparent;border:0;border-bottom:1px solid var(--av-border);border-radius:0}.legalflow-ui .documents-preview .documents-preview-metadata{gap:8px}.legalflow-ui .documents-preview .document-preview{border:1px solid var(--av-border);border-radius:12px}@media(max-width:1200px){.legalflow-ui .app-shell .documents-page .documents-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.legalflow-ui .app-shell .documents-page .documents-filters>.search{grid-column:1/-1}.legalflow-ui .app-shell .documents-page .documents-card{--documents-grid:minmax(180px,1.3fr) minmax(130px,1fr) 110px}.legalflow-ui .app-shell .documents-page .documents-columns>span:last-child{display:none}.legalflow-ui .app-shell .documents-page .documents-row-actions{grid-column:1/-1;justify-content:flex-end}}@media(max-width:780px){.legalflow-ui .app-shell .documents-page .page-heading{flex-wrap:wrap;align-items:flex-start}.legalflow-ui .app-shell .documents-page .documents-heading-actions{width:100%;justify-content:flex-end}.legalflow-ui .app-shell .documents-page .documents-upload-fab{position:static;inset:auto;width:auto;border-radius:999px;box-shadow:none}.legalflow-ui .app-shell .documents-page .documents-primary-upload{min-height:44px;height:44px;font-size:12px}.legalflow-ui .app-shell .documents-page .documents-filters{grid-template-columns:minmax(0,1fr);padding:10px}.legalflow-ui .app-shell .documents-page .documents-columns{display:none}.legalflow-ui .app-shell .documents-page .documents-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:14px}.legalflow-ui .app-shell .documents-page .documents-row>*{grid-area:auto;grid-column:1;min-width:0;position:static;padding-left:0}.legalflow-ui .app-shell .documents-page .documents-version{display:flex;justify-content:space-between;gap:12px}.legalflow-ui .app-shell .documents-page .documents-row-actions{justify-content:flex-end;padding-top:4px}.legalflow-ui .app-shell .documents-page .documents-row-actions>.button,.legalflow-ui .documents-actions-menu>summary{min-height:40px;height:40px}.legalflow-ui .documents-preview .preview-toolbar{flex-wrap:wrap}.legalflow-ui .documents-preview .preview-toolbar .field{max-width:none}}@media(prefers-reduced-motion:reduce){.legalflow-ui .documents-actions-menu *{scroll-behavior:auto}}.legalflow-ui .documents-preview .badge{padding:0;border:0;background:transparent;font-size:11px;font-weight:400}@media(max-width:780px){.legalflow-ui .app-shell .documents-page .page-heading .documents-heading-actions{display:flex;flex-direction:row;justify-content:flex-end;flex-wrap:wrap;width:100%}.legalflow-ui .app-shell .documents-page .page-heading .documents-heading-actions>.button{width:auto;flex:0 0 auto;min-height:40px;height:40px;padding-inline:12px}.legalflow-ui .app-shell .documents-page .documents-row>.documents-version{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}.legalflow-ui .app-shell .documents-page .documents-version>.muted{margin:0}.legalflow-ui .app-shell .documents-page .documents-row>.documents-version{width:100%;text-align:left;justify-content:space-between}.legalflow-ui .app-shell .documents-page .documents-version .version-label{justify-content:flex-start;text-align:left;margin:0}.legalflow-ui .app-shell .documents-page .documents-version>.muted{text-align:left}}.legalflow-ui .app-shell .workspace-pages .documents-page>.page-heading{margin:0;gap:16px;justify-content:space-between}.legalflow-ui .app-shell .workspace-pages .documents-page .page-heading h1{font-size:25px;line-height:1.2;letter-spacing:-.035em}.legalflow-ui .app-shell .workspace-pages .documents-page .page-heading p{font-size:12px;line-height:1.45;margin:5px 0 0}.legalflow-ui .app-shell .workspace-pages .documents-page .documents-heading-actions .button{height:38px;min-height:38px;padding:0 14px;font-size:13px;font-weight:500;line-height:1;gap:7px}.legalflow-ui .app-shell .workspace-pages .documents-page .documents-card{border-radius:18px}.legalflow-ui .app-shell .documents-page .documents-filters :is(.input,.client-filter-trigger){padding-inline:13px;border:1px solid var(--av-border);background:var(--av-surface-2);color:var(--av-text);box-shadow:none}.legalflow-ui .app-shell .documents-page .documents-filters:has(.documents-clear-filters){grid-template-columns:minmax(210px,1.2fr) minmax(160px,.85fr) minmax(220px,1.2fr) minmax(150px,.8fr) 32px}.legalflow-ui .app-shell .documents-page .documents-clear-filters{width:32px;min-width:32px;min-height:32px;padding:0;border:0;background:transparent;color:var(--av-muted)}@media(max-width:1200px){.legalflow-ui .app-shell .documents-page .documents-filters,.legalflow-ui .app-shell .documents-page .documents-filters:has(.documents-clear-filters){grid-template-columns:repeat(3,minmax(0,1fr))}.legalflow-ui .app-shell .documents-page .documents-clear-filters{justify-self:end}}@media(max-width:780px){.legalflow-ui .app-shell .workspace-pages .documents-page .documents-heading-actions .button{height:44px;min-height:44px}.legalflow-ui .app-shell .documents-page .documents-filters,.legalflow-ui .app-shell .documents-page .documents-filters:has(.documents-clear-filters){grid-template-columns:minmax(0,1fr)}.legalflow-ui .app-shell .documents-page .documents-filters :is(.input,.client-filter-trigger){min-height:44px;height:44px}}.legalflow-ui .app-shell .documents-page .documents-file-metadata{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-size:11px;line-height:1.5}.legalflow-ui .app-shell .documents-page .documents-file-metadata>span:first-child{font-weight:400;letter-spacing:0}.legalflow-ui .app-shell .documents-page .documents-file-metadata>span+span:before{content:"·";margin:0 8px 0 0}.legalflow-ui .app-shell .documents-page .documents-associations{display:grid;gap:5px;min-width:0}.legalflow-ui .app-shell .documents-page .documents-associations p:not(.muted){display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px;align-items:baseline}.legalflow-ui .app-shell .documents-page .documents-associations p>span{color:var(--av-muted);font-size:11px}.legalflow-ui .app-shell .documents-page .documents-associations a{line-height:1.5;overflow-wrap:anywhere}.legalflow-ui .app-shell .documents-page .documents-version .version-label{display:grid;justify-items:start;gap:5px;margin:0 0 5px;text-align:left}.legalflow-ui .app-shell .documents-page .documents-version-number{font-weight:400;font-size:12px;color:var(--av-text)}.legalflow-ui .app-shell .documents-page .documents-version .badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1.5}.legalflow-ui .app-shell .documents-page .documents-version>.muted{margin:0;text-align:left;font-size:11px}@media(max-width:780px){.legalflow-ui .app-shell .documents-page .documents-row>.documents-version{display:flex;align-items:flex-end;justify-content:space-between;padding-top:8px;border-top:1px solid var(--av-border)}}.legalflow-ui .app-shell .documents-page .documents-filters>.search{min-width:0}.legalflow-ui .app-shell .documents-page .documents-filters .search>.input{padding-left:36px;padding-right:14px}.legalflow-ui .app-shell .documents-page .documents-filters .client-filter-trigger{gap:12px;padding-inline:16px}.legalflow-ui .app-shell .documents-page .documents-filters .client-filter-trigger>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legalflow-ui .app-shell .documents-page .documents-filters .client-filter-menu{max-height:300px;overflow-y:auto;min-width:100%;width:max-content;max-width:min(440px,calc(100vw - 48px))}.legalflow-ui .app-shell .documents-page .documents-filters .client-filter-menu button>span{white-space:normal;overflow-wrap:anywhere;line-height:1.5}.legalflow-ui .app-shell .documents-page .documents-date{font-size:12px;line-height:1.5;color:var(--av-muted);font-variant-numeric:tabular-nums}.legalflow-ui .dialog-content:has(>.documents-preview){display:flex;flex-direction:column;width:min(1100px,calc(100vw - 32px));height:min(880px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:20px;overflow:hidden;box-sizing:border-box}.legalflow-ui .dialog-content:has(>.documents-preview)>.dialog-heading{flex:none;margin-bottom:14px;padding-bottom:14px;align-items:flex-start}.legalflow-ui .dialog-content:has(>.documents-preview) .dialog-title{font-size:18px;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.legalflow-ui .dialog-content>.documents-preview{flex:1;min-height:0;overflow:hidden;gap:12px}.legalflow-ui .documents-preview>.preview-toolbar{flex:none;align-items:center;flex-wrap:nowrap;padding:0;border:0;gap:8px}.legalflow-ui .documents-preview .preview-toolbar .field{max-width:260px;min-width:0;margin-right:auto}.legalflow-ui .documents-preview .preview-toolbar .field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.legalflow-ui .documents-preview .preview-toolbar .button{min-height:38px;font-size:12px;padding-inline:12px;white-space:nowrap}.legalflow-ui .documents-preview>.documents-preview-summary{flex:none;margin:0;padding:0 0 12px;gap:10px}.legalflow-ui .documents-preview .documents-preview-summary .documents-file-icon{display:none}.legalflow-ui .documents-preview .documents-associations{flex-direction:row;flex-wrap:wrap;gap:4px 16px}.legalflow-ui .documents-preview .documents-associations p{font-size:12px}.legalflow-ui .documents-preview>.documents-preview-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid var(--av-border);border-radius:12px;background:var(--av-surface-2);scrollbar-width:thin}.legalflow-ui .documents-preview-content .document-preview{width:100%;height:100%;min-height:0;border:0;border-radius:0;display:block}.legalflow-ui .documents-preview-content .text-preview{max-height:none;overflow:visible;min-height:100%;box-sizing:border-box;border:0;border-radius:0;padding:18px;margin:0}.legalflow-ui .documents-preview-content .image-preview{max-height:none;max-width:100%;height:auto;border:0;border-radius:0;margin:auto;padding:0}.legalflow-ui .documents-preview-content>.documents-loading,.legalflow-ui .documents-preview-content>[aria-busy]{padding:16px}@media(max-width:780px){.legalflow-ui .dialog-content:has(>.documents-preview){width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:14px}.legalflow-ui .documents-preview>.preview-toolbar{flex-wrap:wrap}.legalflow-ui .documents-preview .preview-toolbar .field{flex:1 1 100%;max-width:none}.legalflow-ui .documents-preview .preview-toolbar>.button{flex:1;min-height:40px}}.legalflow-ui .documents-preview .documents-preview-summary-text{width:100%;gap:12px}.legalflow-ui .documents-preview .documents-preview-metadata{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:11px;line-height:1.5;color:var(--av-muted)}.legalflow-ui .documents-preview .documents-preview-metadata strong{font-weight:500;font-size:11px}.legalflow-ui .documents-preview .documents-associations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.legalflow-ui .documents-preview .documents-associations p:not(.muted){display:flex;flex-direction:column;gap:4px;min-width:0;margin:0}.legalflow-ui .documents-preview .documents-associations p>span{font-size:11px;color:var(--av-muted)}.legalflow-ui .documents-preview .documents-associations a{font-size:13px;line-height:1.5;font-weight:500;color:var(--av-text);overflow-wrap:anywhere}.legalflow-ui .documents-preview .documents-viewer-status{margin-right:auto;font-size:11px;flex:none}.legalflow-ui .documents-preview .preview-toolbar .field{margin-right:0}.legalflow-ui .documents-preview .documents-viewer-status .badge{padding:0;font-size:11px;font-weight:400;background:transparent;border:0}@media(max-width:600px){.legalflow-ui .documents-preview .documents-associations{grid-template-columns:minmax(0,1fr);gap:8px}.legalflow-ui .documents-preview .documents-associations p:not(.muted){flex-direction:row;align-items:baseline;gap:10px}.legalflow-ui .documents-preview .documents-associations p>span{flex:0 0 42px}.legalflow-ui .documents-preview .documents-associations a{font-size:12px}.legalflow-ui .documents-preview .documents-viewer-status{flex-basis:100%;margin:0}}.legalflow-ui .documents-preview .preview-toolbar>.button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:38px;height:38px;padding:0 14px;gap:7px;border:1px solid var(--av-border);border-radius:999px;background:var(--av-surface);color:var(--av-text);font:500 12px/1 var(--av-font);box-shadow:none;white-space:nowrap}.legalflow-ui .documents-preview .preview-toolbar>.button svg{width:15px;height:15px;flex:none}.legalflow-ui .documents-preview .preview-toolbar>.button:hover:not(:disabled){background:var(--av-surface-2);border-color:var(--av-border-strong);color:var(--av-ink)}.legalflow-ui .documents-preview .preview-toolbar>.button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:600px){.legalflow-ui .documents-preview .preview-toolbar>.button{flex:1 1 0;min-height:40px;height:40px;padding-inline:12px}}.legalflow-ui .app-shell .documents-page .documents-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:14px 12px 6px;border-top:1px solid var(--av-border)}.legalflow-ui .app-shell .documents-page .documents-pagination-summary{margin:0;font-size:13px;color:var(--av-muted);font-variant-numeric:tabular-nums}.legalflow-ui .app-shell .documents-page .documents-pagination-pages{display:flex;align-items:center;gap:4px;margin-left:auto;flex-wrap:wrap}.legalflow-ui .app-shell .documents-page .documents-pagination-number{min-width:36px;justify-content:center;font-variant-numeric:tabular-nums}.legalflow-ui .app-shell .documents-page .documents-pagination-gap{padding:0 4px;color:var(--av-muted)}.legalflow-ui .app-shell .documents-page .documents-pagination-size{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--av-muted)}.legalflow-ui .app-shell .documents-page .documents-pagination-size .input{width:auto;min-width:76px;height:36px;padding-block:0}@media (max-width:640px){.legalflow-ui .app-shell .documents-page .documents-pagination{justify-content:space-between}.legalflow-ui .app-shell .documents-page .documents-pagination-pages{order:3;width:100%;justify-content:center;margin-left:0}.legalflow-ui .app-shell .documents-page .documents-pagination-word{display:none}.legalflow-ui .app-shell .documents-page .documents-pagination-pages .button{min-height:44px;min-width:44px}}.legalflow-ui .app-shell .imports-page{gap:16px;--av-r:12px;--av-r-lg:18px;--av-fs-md:13px;--av-fs-sm:12px;--av-fs-xs:11px}.legalflow-ui .app-shell:has(.imports-page) .topbar{min-height:84px;padding-top:16px;padding-bottom:8px}.legalflow-ui .app-shell .page-content:has(>.imports-page){padding-top:4px}.legalflow-ui .app-shell .workspace-pages .imports-page .page-heading{justify-content:space-between;align-items:center;margin:0;gap:16px}.legalflow-ui .app-shell .workspace-pages .imports-page .page-heading>div:first-child{position:static;width:auto;height:auto;margin:0;padding:0;clip-path:none;overflow:visible;flex:1}.legalflow-ui .app-shell .workspace-pages .imports-page .page-heading h1{margin:0;font:600 25px/1.2 var(--av-font);letter-spacing:-.035em}.legalflow-ui .app-shell .workspace-pages .imports-page .page-heading p{margin:5px 0 0;width:100%;max-width:none;font-size:12px;line-height:1.5}.legalflow-ui .app-shell .imports-workspace-grid{display:grid;align-items:start}.legalflow-ui .app-shell .workspace-pages .imports-page .card{border-radius:18px;box-shadow:none}.legalflow-ui .app-shell .workspace-pages .imports-page .card-head{min-height:48px;padding:10px 16px}.legalflow-ui .app-shell .workspace-pages .imports-page .card-head h2{font-size:14px;font-weight:600;letter-spacing:0}.legalflow-ui .app-shell .workspace-pages .imports-page .card-body{padding:16px}.legalflow-ui .app-shell .imports-page .button{min-height:36px;padding-inline:14px;gap:7px;border-radius:999px;font-size:12px;box-shadow:none}.legalflow-ui .app-shell .imports-page .imports-upload-card{padding:16px;gap:14px}.legalflow-ui .app-shell .imports-page .imports-dropzone{border:1px dashed var(--av-border-strong);border-radius:14px}.legalflow-ui .app-shell .imports-page .imports-dropzone-copy{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}.legalflow-ui .app-shell .imports-page .imports-dropzone-icon{color:var(--av-muted);box-shadow:none}.legalflow-ui .app-shell .imports-page .imports-dropzone h2{font:600 14px/1.4 var(--av-font);letter-spacing:-.02em;margin:0;text-align:left}.legalflow-ui .app-shell .imports-page .imports-dropzone p{margin:0;max-width:none;font-size:12px;line-height:1.5;text-align:left;color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-formats{font-size:11px;line-height:1.5;color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-dropzone .imports-pick{flex:none;height:38px;min-height:38px;background:var(--av-surface)}.legalflow-ui .app-shell .imports-page .imports-dropzone.is-dragging{border-color:var(--av-ink);background:var(--av-surface-3)}.legalflow-ui .app-shell .imports-page .imports-consent{padding:0;border:0;border-radius:0;background:transparent;gap:10px;align-items:flex-start;font-size:11px;line-height:1.6;color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-consent input{width:16px;height:16px;min-width:16px;margin-top:2px;accent-color:var(--av-ink)}.legalflow-ui .app-shell .imports-page .imports-consent.is-missing{color:var(--av-danger-ink)}.legalflow-ui .app-shell .imports-page .imports-upload-actions{flex-wrap:wrap;gap:12px;padding-top:14px;border-top:1px solid var(--av-border)}.legalflow-ui .app-shell .imports-page .imports-security{margin:0;padding:0;font-size:11px;line-height:1.5;color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-upload-buttons{margin-left:auto}.legalflow-ui .app-shell .imports-page .imports-selected{padding:0;border:1px solid var(--av-border);border-radius:12px;background:transparent}.legalflow-ui .app-shell .imports-page .imports-selected-head{padding:10px 12px}.legalflow-ui .app-shell .imports-page .imports-selected-head h3{font-size:12px;font-weight:500}.legalflow-ui .app-shell .imports-page .imports-selected ul{max-height:200px;overflow-y:auto;scrollbar-width:thin}.legalflow-ui .app-shell .imports-page .imports-selected li{padding:10px 12px}.legalflow-ui .app-shell .imports-page .imports-file-name strong{font-size:12px;font-weight:500}.legalflow-ui .app-shell .imports-page .imports-file-name small{font-size:11px}.legalflow-ui .app-shell .imports-page .imports-file-icon{width:30px;height:34px;border:1px solid var(--av-border);border-radius:8px;background:var(--av-surface-2);color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-history-row{gap:10px;background:transparent}.legalflow-ui .app-shell .imports-page .imports-history-row:hover{background:var(--av-surface-2)}.legalflow-ui .app-shell .imports-page .imports-history-icon{width:32px;height:32px;border-radius:50%;background:var(--av-surface-2);color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-history-main strong{font-size:12px;font-weight:500}.legalflow-ui .app-shell .imports-page .imports-history-main small{font-size:11px}.legalflow-ui .app-shell .imports-page .import-pill{padding:0;border:0;background:transparent;border-radius:0;font-size:11px;font-weight:400;gap:5px}.legalflow-ui .app-shell .imports-page .import-pill:before{width:5px;height:5px}.legalflow-ui .app-shell .imports-page .imports-detail-head{padding:18px 20px;border:1px solid var(--av-border);border-radius:18px;background:var(--av-surface)}.legalflow-ui .app-shell .imports-page .imports-detail-head .page-heading h1{overflow-wrap:anywhere}.legalflow-ui .app-shell .imports-page .imports-back{min-height:28px;padding:0;margin:0 0 10px;border:0;background:transparent;color:var(--av-muted);font-size:12px}.legalflow-ui .app-shell .imports-page .imports-review-banner{padding:12px 14px;border:1px solid var(--av-border);border-radius:12px;background:var(--av-surface-2);font-size:12px;line-height:1.5;color:var(--av-text)}.legalflow-ui .app-shell .imports-page .imports-steps{padding:16px;gap:8px}.legalflow-ui .app-shell .imports-page .imports-summary ul{gap:12px}.legalflow-ui .app-shell .imports-page .imports-summary-card{position:relative;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:8px 4px;min-height:40px;border:0;border-bottom:1px solid var(--av-border-strong);border-radius:0;background:transparent;box-shadow:none}.legalflow-ui .app-shell .imports-page .imports-summary-card:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--av-ink);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}.legalflow-ui .app-shell .imports-page .imports-summary-card:is(:hover,:focus-visible):after{transform:scaleX(1)}.legalflow-ui .app-shell .imports-page .imports-summary-label{font-size:13px;color:var(--av-text)}.legalflow-ui .app-shell .imports-page .imports-summary-label svg{display:none}.legalflow-ui .app-shell .imports-page .imports-summary-value strong{font:500 13px var(--av-font)}.legalflow-ui .app-shell .imports-page .imports-summary-value small{display:none}.legalflow-ui .app-shell .imports-page .imports-section{overflow:hidden}.legalflow-ui .app-shell .imports-page .imports-items{padding:12px}.legalflow-ui .app-shell .imports-page .imports-item{padding:0;border:1px solid var(--av-border);border-radius:12px;background:var(--av-surface);box-shadow:none}.legalflow-ui .app-shell .imports-page .imports-item-head{padding:12px 14px;background:var(--av-surface-2);border-radius:12px 12px 0 0}.legalflow-ui .app-shell .imports-page .imports-item-body{padding:14px;border:0}.legalflow-ui .app-shell .imports-page .imports-include strong{font-size:13px;font-weight:500}.legalflow-ui .app-shell .imports-page .imports-item.is-excluded .imports-item-head{border-radius:12px}.legalflow-ui .app-shell .imports-page .imports-existing{padding:12px;border-radius:10px;background:var(--av-surface-2);border-color:var(--av-border)}.legalflow-ui .app-shell .imports-page .imports-sources{font-size:12px;padding:10px 14px;border-color:var(--av-border)}.legalflow-ui .app-shell .imports-page .imports-sticky-footer{padding:12px 16px;border-radius:16px;bottom:12px;box-shadow:0 4px 20px #1F1D2010}.legalflow-ui .app-shell .imports-page .imports-footer-state{font-size:11px}.legalflow-ui .app-shell .imports-page .imports-outcome h2{font:600 20px/1.3 var(--av-font);letter-spacing:-.025em}.legalflow-ui .app-shell .imports-page .imports-outcome .card-body{gap:12px}.legalflow-ui .imports-confirm .imports-confirm-counts{background:var(--av-surface-2)}@media(max-width:1100px){.legalflow-ui .app-shell .imports-workspace-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:780px){.legalflow-ui .app-shell .imports-page{gap:12px}.legalflow-ui .app-shell .workspace-pages .imports-page .page-heading h1{font-size:24px}.legalflow-ui .app-shell .imports-page .imports-upload-card{padding:14px}.legalflow-ui .app-shell .imports-page .imports-dropzone{padding:22px 14px}.legalflow-ui .app-shell .imports-page .button{min-height:44px}.legalflow-ui .app-shell .imports-page .imports-upload-actions{flex-wrap:nowrap;align-items:center}.legalflow-ui .app-shell .imports-page .imports-upload-buttons{width:auto;justify-content:flex-end}.legalflow-ui .app-shell .imports-page .imports-detail-head{padding:14px}.legalflow-ui .app-shell .imports-page .imports-summary ul{display:flex;overflow-x:auto;gap:12px;padding-bottom:2px}.legalflow-ui .app-shell .imports-page .imports-summary li{flex:1 0 110px}.legalflow-ui .app-shell .imports-page .imports-item-head{padding:10px 12px}.legalflow-ui .app-shell .imports-page .imports-item-body{padding:12px}.legalflow-ui .app-shell .imports-page .imports-sticky-footer{position:static}.legalflow-ui .app-shell .imports-page .imports-footer-buttons{width:100%;flex-wrap:wrap;gap:8px}.legalflow-ui .app-shell .imports-page .imports-footer-buttons .button{flex:1 1 130px}}@media(prefers-reduced-motion:reduce){.legalflow-ui .app-shell .imports-page .imports-summary-card:after{transition:none}}.legalflow-ui .app-shell .workspace-pages .imports-page .page-heading>div:first-child{white-space:normal;min-width:0}.legalflow-ui .app-shell .workspace-pages .imports-page .page-heading p{white-space:normal;overflow-wrap:anywhere}.legalflow-ui .app-shell .imports-page .imports-item-body .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.legalflow-ui .app-shell .imports-page .imports-item.is-included:before{display:none}.legalflow-ui .app-shell .imports-page .imports-item .field{gap:5px}.legalflow-ui .app-shell .imports-page .imports-items{display:grid;gap:12px}.legalflow-ui .app-shell .imports-page .imports-section-count{padding:0;background:transparent;box-shadow:none;font-size:11px;font-weight:400}.legalflow-ui .app-shell .imports-page .imports-security{display:flex;gap:7px;background:transparent;border:0;border-radius:0}.legalflow-ui .app-shell .imports-page .imports-security svg{flex:none}@media(max-width:780px){.legalflow-ui .app-shell .imports-page .imports-item-body .form-grid{grid-template-columns:minmax(0,1fr)}.legalflow-ui .app-shell .imports-page .imports-history-main{min-width:0}.legalflow-ui .app-shell .imports-page .imports-detail-head .page-heading{flex-wrap:wrap}}.legalflow-ui .app-shell .imports-workspace-grid{grid-template-columns:minmax(0,1fr);gap:12px}.legalflow-ui .app-shell .imports-page .imports-dropzone{position:relative;display:flex;flex-direction:row;align-items:center;gap:14px;padding:16px;text-align:left;border-style:dashed;background:var(--av-surface-2);transition:border-color .18s ease,background-color .18s ease}.legalflow-ui .app-shell .imports-page .imports-dropzone:hover:not(.is-disabled){border-color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-dropzone-icon{position:static;width:40px;height:40px;margin:0;border:1px solid var(--av-border);border-radius:10px;background:var(--av-surface);transform:none}.legalflow-ui .app-shell .imports-page .imports-dropzone-icon:before{content:none}.legalflow-ui .app-shell .imports-page .imports-dropzone .imports-pick{margin:0;padding-inline:14px}.legalflow-ui .app-shell .imports-page .imports-history-row{display:grid;grid-template-columns:40px minmax(0,1.4fr) auto auto;align-items:center;column-gap:12px;row-gap:0;min-height:64px;padding:12px 16px}.legalflow-ui .app-shell .imports-page .imports-history-row>.import-pill{grid-column:auto;grid-row:auto;justify-self:end}.legalflow-ui .app-shell .imports-page .imports-history-open{grid-column:auto;grid-row:auto;color:var(--av-muted);gap:6px;font-size:12px}.legalflow-ui .app-shell .imports-page .imports-history-row:hover .imports-history-open{color:var(--av-ink)}.legalflow-ui .app-shell .imports-page .imports-step.is-done .imports-step-dot{border-color:var(--av-border);background:var(--av-surface-2);color:var(--av-text)}.legalflow-ui .app-shell .imports-page .imports-step.is-done:not(:last-child):after{background:var(--av-border-strong);height:1px}.legalflow-ui .app-shell .imports-page .imports-step.is-current .imports-step-dot{box-shadow:none}.legalflow-ui .app-shell .imports-page .imports-section-icon{width:28px;height:28px;border:1px solid var(--av-border);border-radius:8px;background:var(--av-surface-2);color:var(--av-muted)}@media(max-width:780px){.legalflow-ui .app-shell .imports-page .imports-dropzone{flex-direction:column;align-items:flex-start;padding:16px 14px}.legalflow-ui .app-shell .imports-page .imports-dropzone .imports-pick{width:100%}.legalflow-ui .app-shell .imports-page .imports-history-row{grid-template-columns:40px minmax(0,1fr) auto;row-gap:6px}.legalflow-ui .app-shell .imports-page .imports-history-row>.import-pill{grid-column:2;grid-row:2;justify-self:start;margin:0}.legalflow-ui .app-shell .imports-page .imports-history-open{grid-column:3;grid-row:1/3}}@media(prefers-reduced-motion:reduce){.legalflow-ui .app-shell .imports-page .imports-dropzone{transition:none}}.legalflow-ui .app-shell .imports-page .imports-history-row>.imports-history-icon{grid-column:1;grid-row:1;width:40px;height:40px;border-radius:10px;border:1px solid var(--av-border);background:var(--av-surface-2)}.legalflow-ui .app-shell .imports-page .imports-history-row>.imports-history-main{grid-column:2;grid-row:1}@media(max-width:780px){.legalflow-ui .app-shell .imports-page .imports-history-row>.imports-history-icon{grid-row:1/3;align-self:center}.legalflow-ui .app-shell .imports-page .imports-history-row>.imports-history-open{align-self:center}}.legalflow-ui .app-shell .imports-page .imports-upload-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:16px}.legalflow-ui .app-shell .imports-page .imports-upload-actions>.imports-security{flex:1 1 auto;width:auto;min-width:0;max-width:none;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.legalflow-ui .app-shell .imports-page .imports-upload-actions>.imports-upload-buttons{display:flex;flex:none;justify-content:flex-end;width:auto;margin:0}.legalflow-ui .app-shell .imports-page .imports-upload-progress{padding:14px;border:1px solid var(--av-border);border-radius:12px;background:var(--av-surface-2);gap:10px}.legalflow-ui .app-shell .imports-page .imports-progress-label{font-size:12px;line-height:1.5}.legalflow-ui .app-shell .imports-page .imports-progress-label strong{font-size:12px;font-weight:500}.legalflow-ui .app-shell .imports-page .imports-bar{height:5px;border-radius:999px;background:var(--av-border);overflow:hidden}.legalflow-ui .app-shell .imports-page .imports-bar>span{background:var(--av-ink);border-radius:999px;transition:width .22s ease}.legalflow-ui .app-shell .imports-page .imports-steps-card.is-live{padding:0}.legalflow-ui .app-shell .imports-page .imports-steps-card.is-live>.imports-progress{margin:0;padding:20px;border:0;border-top:1px solid var(--av-border);border-radius:0;background:var(--av-surface-2);gap:14px}.legalflow-ui .app-shell .imports-page .imports-processing-head{display:flex;align-items:center;gap:12px;min-width:0}.legalflow-ui .app-shell .imports-page .imports-processing-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;border:1px solid var(--av-border);background:var(--av-surface);color:var(--av-text)}.legalflow-ui .app-shell .imports-page .imports-processing-icon svg{animation:imports-working 1.5s linear infinite}.legalflow-ui .app-shell .imports-page .imports-processing-head>div{flex:1;min-width:0}.legalflow-ui .app-shell .imports-page .imports-processing-head h2{font:600 14px/1.4 var(--av-font);margin:0 0 4px}.legalflow-ui .app-shell .imports-page .imports-processing-head p{margin:0;font-size:12px;line-height:1.5;color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-processing-count{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-files-details summary{padding:12px 16px;min-height:44px;font-size:12px;font-weight:500}.legalflow-ui .app-shell .imports-page .imports-file-list{max-height:320px;overflow-y:auto;scrollbar-width:thin}.legalflow-ui .app-shell .imports-page .imports-file-list li{padding:12px 16px;gap:10px;align-items:center}.legalflow-ui .app-shell .imports-page .imports-file-list .import-file-status{padding:0;background:transparent;font-size:11px;font-weight:400}.legalflow-ui .app-shell .imports-page .imports-file-reason{font-size:11px;line-height:1.5}.legalflow-ui .app-shell .imports-page .imports-outcome .card-body{padding:20px;gap:14px}.legalflow-ui .app-shell .imports-page .imports-outcome .detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.legalflow-ui .app-shell .imports-page .imports-result-counts{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;gap:0;border:1px solid var(--av-border);border-radius:12px;background:var(--av-surface-2);overflow:hidden}.legalflow-ui .app-shell .imports-page .imports-result-counts li{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px;border:0;border-right:1px solid var(--av-border);font-size:11px}.legalflow-ui .app-shell .imports-page .imports-result-counts li:last-child{border:0}.legalflow-ui .app-shell .imports-page .imports-result-counts li>svg{display:none}.legalflow-ui .app-shell .imports-page .imports-result-counts strong{font:600 22px/1.2 var(--av-font);color:var(--av-ink)}.legalflow-ui .app-shell .imports-page .imports-result-links{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.legalflow-ui .app-shell .imports-page .imports-result-links>div{min-width:0}.legalflow-ui .app-shell .imports-page .imports-result-links h3{font:500 12px var(--av-font);color:var(--av-muted);margin:0 0 8px}.legalflow-ui .app-shell .imports-page .imports-result-links li{padding:10px 0;border-bottom:1px solid var(--av-border);font-size:12px;gap:10px}.legalflow-ui .imports-confirm .imports-confirm-summary{font-size:13px;line-height:1.6;margin-top:0}.legalflow-ui .imports-confirm .imports-confirm-counts{padding:0;border:1px solid var(--av-border);border-radius:12px;overflow:hidden}.legalflow-ui .imports-confirm .imports-confirm-counts li{padding:10px 12px;font-size:12px;gap:10px}.legalflow-ui .imports-confirm .imports-confirm-counts li+li{border-top:1px solid var(--av-border)}@keyframes imports-working{to{transform:rotate(1turn)}}@media(max-width:780px){.legalflow-ui .app-shell .imports-page .imports-processing-head{flex-wrap:wrap}.legalflow-ui .app-shell .imports-page .imports-processing-count{margin-left:52px}.legalflow-ui .app-shell .imports-page .imports-steps-card.is-live>.imports-progress{padding:14px}.legalflow-ui .app-shell .imports-page .imports-result-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.legalflow-ui .app-shell .imports-page .imports-result-counts li{border-right:0;border-bottom:1px solid var(--av-border)}.legalflow-ui .app-shell .imports-page .imports-result-counts li:last-child{grid-column:1/-1}.legalflow-ui .app-shell .imports-page .imports-result-links{grid-template-columns:minmax(0,1fr);gap:16px}.legalflow-ui .app-shell .imports-page .imports-outcome .card-body{padding:16px}}@media(prefers-reduced-motion:reduce){.legalflow-ui .app-shell .imports-page .imports-processing-icon svg{animation:none}.legalflow-ui .app-shell .imports-page .imports-bar>span{transition:none}}.legalflow-ui .app-shell .imports-page .imports-detail-head{padding:0;border:0;border-radius:0;background:transparent}.legalflow-ui .app-shell .imports-page .imports-detail-head .page-heading{align-items:flex-end}.legalflow-ui .app-shell .imports-page .imports-detail-head .page-heading h1{font:600 25px/1.2 var(--av-font);letter-spacing:-.035em}.legalflow-ui .app-shell .imports-page .imports-detail-head .page-heading p{max-width:none;margin-top:5px;font-size:12px;line-height:1.5}.legalflow-ui .app-shell .imports-page .imports-outcome .card-body{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:14px 16px;padding:16px 18px}.legalflow-ui .app-shell .imports-page .imports-outcome-icon{width:40px;height:40px;border-radius:10px;background:var(--av-surface-2);color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-outcome-failed .imports-outcome-icon{background:var(--av-surface-2);color:var(--av-danger-ink)}.legalflow-ui .app-shell .imports-page .imports-outcome-success .imports-outcome-icon{background:var(--av-surface-2);color:var(--av-text)}.legalflow-ui .app-shell .imports-page .imports-outcome-copy{flex:1 1 240px;min-width:0}.legalflow-ui .app-shell .imports-page .imports-outcome-copy h2{margin:0;font:600 14px/1.4 var(--av-font);letter-spacing:-.02em}.legalflow-ui .app-shell .imports-page .imports-outcome-copy p{margin:3px 0 0;font-size:12px;line-height:1.5;color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-outcome .detail-actions{margin:0 0 0 auto}.legalflow-ui .app-shell .imports-page .imports-outcome-success :is(.imports-result-counts,.imports-result-links,.detail-actions){flex-basis:100%;margin-left:0}.legalflow-ui .app-shell .imports-page .imports-outcome .error-message{flex-basis:100%}.legalflow-ui .app-shell .imports-page .imports-file-list .import-file-status{display:inline-flex;align-items:center;gap:5px;color:var(--av-muted)}.legalflow-ui .app-shell .imports-page .imports-file-list .import-file-status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.legalflow-ui .app-shell .imports-page .imports-file-list .import-file-rejected{color:var(--av-danger-ink)}@media(max-width:780px){.legalflow-ui .app-shell .imports-page .imports-detail-head{padding:0}.legalflow-ui .app-shell .imports-page .imports-outcome .card-body{align-items:flex-start}.legalflow-ui .app-shell .imports-page .imports-outcome .detail-actions{width:100%;margin:0}.legalflow-ui .app-shell .imports-page .imports-outcome .detail-actions .button{flex:1}}.legalflow-ui .app-shell .calendar-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:has(.calendar-page) .topbar{min-height:84px;padding-top:16px;padding-bottom:8px}.legalflow-ui .app-shell .page-content:has(>.calendar-page){padding-top:4px}.legalflow-ui .app-shell .workspace-pages .calendar-page>.page-heading{display:flex;align-items:center;justify-content:space-between;margin:0;gap:16px}.legalflow-ui .app-shell .workspace-pages .calendar-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 .calendar-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 .calendar-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 .calendar-page .calendar-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.legalflow-ui .app-shell .calendar-page .calendar-heading-actions .button{height:38px;min-height:38px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:500;gap:7px;box-shadow:none}.legalflow-ui .app-shell .calendar-page .button{border-radius:999px;box-shadow:none}.legalflow-ui .app-shell .calendar-page :is(.calendar-month-card,.calendar-day-panel,.calendar-office-deadlines){border-radius:18px;box-shadow:none}.legalflow-ui .app-shell .calendar-page h2{font-family:var(--av-font);font-weight:600;letter-spacing:-.02em}.legalflow-ui .app-shell .calendar-page .calendar-month-toolbar{align-items:center;justify-content:space-between;padding:14px 16px;gap:12px 16px}.legalflow-ui .app-shell .calendar-page .calendar-month-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.legalflow-ui .app-shell .calendar-page .calendar-month-picker{position:relative;order:-1}.legalflow-ui .app-shell .calendar-page .calendar-month-controls h2{margin:0;font:600 16px/1.3 var(--av-font);letter-spacing:-.03em}.legalflow-ui .app-shell .calendar-page .calendar-month-picker-trigger{display:inline-flex;align-items:center;gap:4px;min-height:34px;padding:0 8px 0 0;border:0;background:transparent;color:var(--av-ink);font:600 16px/1.3 var(--av-font);letter-spacing:-.03em;text-transform:capitalize;cursor:pointer}.legalflow-ui .app-shell .calendar-page .calendar-month-picker-trigger:hover{color:var(--av-text)}.legalflow-ui .app-shell .calendar-page .calendar-month-picker-chevron{transform:rotate(90deg);color:var(--av-muted)}.legalflow-ui .app-shell .calendar-page .calendar-month-year{position:absolute;z-index:20;top:calc(100% + 8px);left:0;width:280px;padding:12px;border:1px solid var(--av-border);border-radius:16px;background:var(--av-surface);box-shadow:0 12px 32px rgba(31,29,32,.12)}.legalflow-ui .app-shell .calendar-page .calendar-month-year-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.legalflow-ui .app-shell .calendar-page .calendar-month-year-nav .button{width:34px;height:34px;min-height:34px;padding:0}.legalflow-ui .app-shell .calendar-page .calendar-month-year-label{min-height:34px;padding:0 10px;border:0;border-radius:999px;background:transparent;color:var(--av-ink);font:600 14px/1 var(--av-font);cursor:pointer}.legalflow-ui .app-shell .calendar-page .calendar-month-year-label:hover,.legalflow-ui .app-shell .calendar-page .calendar-month-year-label[aria-pressed=true]{background:var(--av-surface-2)}.legalflow-ui .app-shell .calendar-page .calendar-month-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.legalflow-ui .app-shell .calendar-page .calendar-month-year-grid button{min-height:36px;padding:6px 4px;border:0;border-radius:10px;background:transparent;color:var(--av-text);font:500 13px/1.2 var(--av-font);text-transform:capitalize;cursor:pointer}.legalflow-ui .app-shell .calendar-page .calendar-month-year-grid button:hover{background:var(--av-surface-2)}.legalflow-ui .app-shell .calendar-page .calendar-month-year-grid button.is-current{background:var(--av-ink);color:var(--av-surface)}.legalflow-ui .app-shell .calendar-page .calendar-month-controls .button{height:34px;min-height:34px;padding:0 12px;font-size:12px;gap:6px}.legalflow-ui .app-shell .calendar-page .calendar-view-controls{border-radius:999px;padding:3px;background:var(--av-surface-2)}.legalflow-ui .app-shell .calendar-page .calendar-view-controls .button{height:32px;min-height:32px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:var(--av-muted);font-size:12px;font-weight:500;box-shadow:none}.legalflow-ui .app-shell .calendar-page .calendar-view-controls .button[aria-pressed=true]{background:var(--av-ink);color:var(--av-surface);box-shadow:none}.legalflow-ui .app-shell .calendar-page .calendar-view-controls .button[aria-pressed=true] svg{color:inherit}.legalflow-ui .app-shell .calendar-page .calendar-instructions{padding:0 16px 12px;font-size:12px;line-height:1.5}.legalflow-ui .app-shell .calendar-page .calendar-month-scroll{padding:0}.legalflow-ui .app-shell .calendar-page .calendar-month-table{min-width:0;border-width:1px 0 0;border-radius:0}.legalflow-ui .app-shell .calendar-page .calendar-month-table th{padding:8px 10px;font-size:12px;font-weight:500;color:var(--av-muted);background:var(--av-surface-2)}.legalflow-ui .app-shell .calendar-page .calendar-month-table td{position:relative;height:96px;padding:0}.legalflow-ui .app-shell .calendar-page{--tone-hearing:color-mix(in srgb,var(--av-ink) 9%,#fff);--tone-meeting:var(--av-info-soft);--tone-deadline:var(--av-warning-soft)}.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-tone-hearing,.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-tone-hearing:hover{background:var(--tone-hearing)}.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-tone-meeting,.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-tone-meeting:hover{background:var(--tone-meeting)}.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-tone-deadline,.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-tone-deadline:hover{background:var(--tone-deadline)}.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-mix-hearing-meeting,.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-mix-hearing-meeting:hover{background:linear-gradient(135deg,var(--tone-hearing),var(--tone-meeting))}.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-mix-hearing-deadline,.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-mix-hearing-deadline:hover{background:linear-gradient(135deg,var(--tone-hearing),var(--tone-deadline))}.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-mix-meeting-deadline,.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-mix-meeting-deadline:hover{background:linear-gradient(135deg,var(--tone-meeting),var(--tone-deadline))}.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-mix-hearing-meeting-deadline,.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-mix-hearing-meeting-deadline:hover{background:linear-gradient(135deg,var(--tone-hearing),var(--tone-meeting) 52%,var(--tone-deadline))}.legalflow-ui .app-shell .calendar-page .calendar-date-button{position:absolute;inset:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:2px;width:100%;height:100%;min-height:0;padding:4px;border:0;border-radius:0;background:transparent;cursor:pointer;text-align:left}.legalflow-ui .app-shell .calendar-page .calendar-date-line{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%}.legalflow-ui .app-shell .calendar-page .calendar-date-summary{display:flex;flex-direction:column;gap:2px;width:100%;min-width:0;overflow:hidden}.legalflow-ui .app-shell .calendar-page .calendar-month-activity{display:flex;align-items:center;gap:4px;height:16px;min-width:0;overflow:hidden}.legalflow-ui .app-shell .calendar-page .calendar-month-activity :is(.calendar-summary-time,.calendar-summary-title){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legalflow-ui .app-shell .calendar-page .calendar-summary-time{flex:none}.legalflow-ui .app-shell .calendar-page .calendar-month-activity :is(.calendar-urgency,.calendar-status,.calendar-completed){display:none}.legalflow-ui .app-shell .calendar-page .calendar-more{padding:0 0 0 8px;color:var(--av-muted);font-size:11px;line-height:16px}.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-selected,.legalflow-ui .app-shell .calendar-page .calendar-month-table td.calendar-selected:hover{box-shadow:inset 0 0 0 1.5px var(--av-ink)}.legalflow-ui .app-shell .calendar-page .calendar-date-button[aria-pressed=true] .calendar-date-number{background:var(--av-ink);color:var(--av-surface)}.legalflow-ui .app-shell .calendar-page .calendar-month-activity,.legalflow-ui .app-shell .calendar-page .calendar-month-activity.calendar-type-hearing{padding:0 2px 0 7px;border-radius:0;background:transparent;color:var(--av-ink)}.legalflow-ui .app-shell .calendar-page .calendar-month-activity.calendar-type-hearing:before,.legalflow-ui .app-shell .calendar-page .calendar-month-activity:before{left:0;top:0;bottom:0;width:3px;height:auto;border-radius:6px 0 0 6px;background:var(--av-ink)}.legalflow-ui .app-shell .calendar-page .calendar-month-activity.calendar-type-meeting{background:transparent;color:var(--av-info)}.legalflow-ui .app-shell .calendar-page .calendar-month-activity.calendar-type-meeting:before{background:var(--av-info)}.legalflow-ui .app-shell .calendar-page .calendar-month-activity.calendar-type-deadline{background:transparent;color:var(--av-warning-ink)}.legalflow-ui .app-shell .calendar-page .calendar-month-activity.calendar-type-deadline:before{background:var(--av-warning)}.legalflow-ui .app-shell .calendar-page .calendar-summary-title{font-weight:500;font-size:11px;color:inherit}.legalflow-ui .app-shell .calendar-page .calendar-type-legend{padding:10px 16px;background:transparent}.legalflow-ui .app-shell .calendar-page .calendar-type-legend>span:before{width:10px;height:10px;border-radius:3px}.legalflow-ui .app-shell .calendar-page .calendar-type-legend>.calendar-type-hearing:before{background:var(--av-ink)}.legalflow-ui .app-shell .calendar-page .calendar-type-legend>.calendar-type-meeting:before{background:var(--av-info)}.legalflow-ui .app-shell .calendar-page .calendar-type-legend>.calendar-type-deadline:before{background:var(--av-warning)}.legalflow-ui .app-shell .calendar-page .calendar-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px}.legalflow-ui .app-shell .calendar-page .calendar-panel-copy{min-width:0}.legalflow-ui .app-shell .calendar-page .calendar-day-toggle{height:34px;min-height:34px;padding:0 10px;gap:6px;flex:none}.legalflow-ui .app-shell .calendar-page .calendar-day-toggle-grow{transform:rotate(180deg)}.legalflow-ui .app-shell .calendar-page .calendar-panel-heading h2{font:600 14px/1.4 var(--av-font)}.legalflow-ui .app-shell .calendar-page .calendar-panel-heading p{margin-top:3px;font-size:12px;line-height:1.5}.legalflow-ui .app-shell .calendar-page .calendar-activity-item{gap:4px;padding:12px 16px 12px 28px}.legalflow-ui .app-shell .calendar-page .calendar-activity-item:before{left:16px;top:18px;bottom:auto;width:5px;height:5px;border-radius:50%}.legalflow-ui .app-shell .calendar-page .calendar-activity-heading h3{font-size:13px;font-weight:500}.legalflow-ui .app-shell .calendar-page .calendar-activity-heading .badge{padding:0;background:transparent;color:var(--av-muted);font-size:11px;font-weight:400}.legalflow-ui .app-shell .calendar-page .calendar-activity-heading :is(.badge-meeting,.badge-deadline){background:transparent;color:var(--av-muted)}.legalflow-ui .app-shell .calendar-page :is(.calendar-status,.calendar-urgent,.calendar-overdue,.calendar-completed){padding:0;border:0;background:transparent;font-size:11px;font-weight:400}.legalflow-ui .app-shell .calendar-page .calendar-row-actions .button{min-height:32px;height:32px;padding:0 2px;border:0;border-radius:0;background:transparent;color:var(--av-muted);font-size:12px}.legalflow-ui .app-shell .calendar-page .calendar-row-actions .button:hover{background:transparent;color:var(--av-ink);text-decoration:underline;text-underline-offset:4px}.legalflow-ui .app-shell .calendar-page .calendar-row-actions .calendar-delete:hover{background:transparent;color:var(--av-danger-ink)}.legalflow-ui .app-shell .calendar-page .calendar-case-link{color:var(--av-text);font-weight:400;text-decoration:none}.legalflow-ui .app-shell .calendar-page .calendar-case-link:hover{color:var(--av-ink);text-decoration:underline;text-underline-offset:3px}.legalflow-ui .app-shell .calendar-page .calendar-workspace{grid-template-columns:minmax(0,1fr);gap:16px}.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines{margin-top:0;min-width:0}.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines .calendar-panel-heading{align-items:flex-start;border-bottom:1px solid var(--av-border)}.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines .calendar-panel-heading p{margin:3px 0 0;color:var(--av-muted)}.legalflow-ui .app-shell .calendar-page .calendar-office-count{flex:none;padding:3px 10px;border-radius:999px;background:var(--av-surface-2);color:var(--av-muted);font-size:11px;line-height:1.4;white-space:nowrap}.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines .calendar-activity-list{margin:0;padding:0;list-style:none}.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines .calendar-activity-item{min-width:0;overflow-wrap:anywhere}.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines .calendar-activity-item:has(.calendar-urgency-overdue) .calendar-activity-time,.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines .calendar-urgency-overdue :is(.calendar-urgent,.calendar-overdue){color:var(--av-danger-ink);font-weight:500}.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines .calendar-activity-item:has(.calendar-urgency-overdue):before{background:var(--av-danger)}.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines .calendar-row-actions{flex-wrap:wrap}.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines>.calendar-panel-body,.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines>.skeleton{margin:16px}@media(min-width:1100px){.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines .calendar-activity-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.legalflow-ui .app-shell .calendar-page .calendar-office-deadlines .calendar-activity-item:nth-child(odd){border-right:1px solid var(--av-border)}}.legalflow-ui .app-shell .calendar-page :is(.calendar-day-panel,.calendar-office-deadlines,.calendar-month-card) .empty{padding:24px 16px}@media(min-width:1100px){.legalflow-ui .app-shell .calendar-page .calendar-workspace{grid-template-columns:minmax(0,1fr) 48px}.legalflow-ui .app-shell .calendar-page .calendar-workspace.calendar-day-open{grid-template-columns:minmax(0,1fr) 300px}.legalflow-ui .app-shell .calendar-page .calendar-day-panel{position:sticky;top:16px}.legalflow-ui .app-shell .calendar-page .calendar-day-collapsed .calendar-panel-heading{justify-content:center;padding:10px 6px;border-bottom:0}.legalflow-ui .app-shell .calendar-page .calendar-day-collapsed .calendar-day-toggle span,.legalflow-ui .app-shell .calendar-page .calendar-day-collapsed .calendar-panel-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.legalflow-ui .app-shell .calendar-page .calendar-day-collapsed .calendar-day-toggle{width:34px;padding:0}}@media(max-width:640px){.legalflow-ui .app-shell .calendar-page .calendar-month-table td{height:auto}.legalflow-ui .app-shell .calendar-page .calendar-date-button{position:relative;inset:auto;height:auto;min-height:44px;align-items:center}.legalflow-ui .app-shell .calendar-page .calendar-date-summary{flex-direction:row;justify-content:center;overflow:visible}.legalflow-ui .app-shell .calendar-page .calendar-month-activity{width:6px;height:6px;padding:0;border-radius:50%;background:var(--av-ink)}.legalflow-ui .app-shell .calendar-page .calendar-month-activity.calendar-type-meeting{background:var(--av-info)}.legalflow-ui .app-shell .calendar-page .calendar-month-activity.calendar-type-deadline{background:var(--av-warning)}.legalflow-ui .app-shell .calendar-page .calendar-month-activity:before,.legalflow-ui .app-shell .calendar-page .calendar-month-activity>*{display:none}}@media(max-width:780px){.legalflow-ui .app-shell .calendar-page .page-heading{align-items:flex-start;flex-wrap:wrap}.legalflow-ui .app-shell .calendar-page .page-heading h1{font-size:24px}.legalflow-ui .app-shell .calendar-page .calendar-heading-actions{width:100%;justify-content:flex-end}.legalflow-ui .app-shell .calendar-page .calendar-heading-actions .button{height:44px;min-height:44px}.legalflow-ui .app-shell .calendar-page .calendar-month-controls h2{font-size:18px}}@media(prefers-reduced-motion:reduce){.legalflow-ui .app-shell .calendar-page .calendar-month-table td{transition:none}}.legalflow-ui .app-shell .finance-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:has(.finance-page) .topbar{min-height:84px;padding-top:16px;padding-bottom:8px}.legalflow-ui .app-shell .page-content:has(>.finance-page){padding-top:4px}.legalflow-ui .app-shell .finance-page .page-heading,.legalflow-ui .app-shell .workspace-pages .finance-page>.page-heading{display:flex;align-items:center;justify-content:space-between;margin:0;gap:16px}.legalflow-ui .app-shell .finance-page .page-heading>div:first-child,.legalflow-ui .app-shell .workspace-pages .finance-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 .finance-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 .finance-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 .finance-page .detail-actions,.legalflow-ui .app-shell .finance-page .office-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.legalflow-ui .app-shell .finance-page .detail-actions .button,.legalflow-ui .app-shell .finance-page .page-heading .button{height:38px;min-height:38px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:500;box-shadow:none}.legalflow-ui .app-shell .finance-page .button{border-radius:999px;box-shadow:none}.legalflow-ui .app-shell .finance-page :is(.finance-list,.detail-panel,.finance-ledger .card){border-radius:18px;box-shadow:none}.legalflow-ui .app-shell .finance-page .finance-toolbar{padding:12px 16px;gap:12px}.legalflow-ui .app-shell .finance-page .finance-toolbar .search{flex:1 1 auto;width:100%;max-width:none;min-width:0}.legalflow-ui .app-shell .finance-page .finance-toolbar .input{width:100%;height:38px;min-height:38px;border-radius:999px;font-size:13px}.legalflow-ui .app-shell .finance-page .toolbar-count{font-size:12px}.legalflow-ui .app-shell .finance-page .finance-filters{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;margin:0;padding:0;border:0;background:transparent}.legalflow-ui .app-shell .finance-page .finance-filters .button{position:relative;flex:1 1 0;justify-content:center;height:40px;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}.legalflow-ui .app-shell .finance-page .finance-filters .button: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 .finance-page .finance-filters .button:is(:hover,:focus-visible,[aria-pressed=true]){background:transparent;border-color:transparent transparent #B8AA96;color:#1F1D20;box-shadow:none}.legalflow-ui .app-shell .finance-page .finance-filters .button:is(:hover,:focus-visible,[aria-pressed=true]):after{transform:scaleX(1)}.legalflow-ui .app-shell .finance-page .finance-filters .button:focus-visible{outline:2px solid var(--av-muted);outline-offset:3px}@media(prefers-reduced-motion:reduce){.legalflow-ui .app-shell .finance-page .finance-filters .button:after{transition:none}}.legalflow-ui .app-shell .finance-page .table-scroll th{padding:9px 12px;font-size:12px;font-weight:500;color:var(--av-muted);background:var(--av-surface-2)}.legalflow-ui .app-shell .finance-page .table-scroll td{padding:10px 12px;font-size:13px}.legalflow-ui .app-shell .finance-page .table-scroll tbody tr:hover td{background:transparent}.legalflow-ui .app-shell .finance-page .invoice-number-link{color:var(--av-ink);font-size:13px;font-weight:500;text-decoration:none}.legalflow-ui .app-shell .finance-page .invoice-number-link:hover{text-decoration:underline;text-underline-offset:3px}.legalflow-ui .app-shell .finance-page .invoice-client,.legalflow-ui .app-shell .finance-page .invoice-date,.legalflow-ui .app-shell .finance-page .invoice-kind{font-size:12px;color:var(--av-muted)}.legalflow-ui .app-shell .finance-page .amount-cell{font-size:13px;font-weight:500}.legalflow-ui .app-shell .finance-page .finance-row-actions{min-width:0;gap:10px}.legalflow-ui .app-shell .finance-page .finance-row-actions>.button{min-height:32px;height:32px;padding:0;border:0;border-radius:0;background:transparent;color:var(--av-muted);font-size:12px}.legalflow-ui .app-shell .finance-page .finance-row-actions>.button:hover{background:transparent;color:var(--av-ink);text-decoration:underline;text-underline-offset:4px}.legalflow-ui .app-shell .finance-page [class*=finance-status-] .badge{padding:0;background:transparent;color:var(--av-muted);font-size:12px;font-weight:400}.legalflow-ui .app-shell .finance-page .finance-status-late .badge{background:transparent;color:var(--av-danger-ink)}.legalflow-ui .app-shell .finance-page .finance-status-pending .badge{background:transparent;color:var(--av-warning-ink)}.legalflow-ui .app-shell .finance-page .finance-status-paid .badge{background:transparent;color:var(--av-success-ink)}.legalflow-ui .app-shell .finance-page .finance-bookkeeping,.legalflow-ui .app-shell .finance-page .finance-notice{margin:0;padding:0;border:0;background:transparent;font-size:12px;line-height:1.5;color:var(--av-muted)}.legalflow-ui .app-shell .finance-page .detail-panel{padding:16px}.legalflow-ui .app-shell .finance-page .detail-panel h2{margin:0 0 12px;font:600 14px/1.4 var(--av-font)}.legalflow-ui .app-shell .finance-page .finance-ledger{gap:12px}.legalflow-ui .app-shell .finance-page .finance-ledger .card{padding:16px}.legalflow-ui .app-shell .finance-page .finance-ledger p{margin:0 0 6px;font-size:12px}.legalflow-ui .app-shell .finance-page .finance-ledger strong{font:600 22px/1.2 var(--av-font);letter-spacing:-.03em}.legalflow-ui .app-shell .finance-page .finance-ledger .finance-ledger-remaining{border-top:0}@media(max-width:780px){.legalflow-ui .app-shell .finance-page .finance-list .finance-toolbar .search{grid-column:1/-1;max-width:none}.legalflow-ui .app-shell .finance-page .page-heading{align-items:flex-start;flex-wrap:wrap}.legalflow-ui .app-shell .finance-page .page-heading h1{font-size:24px}.legalflow-ui .app-shell .finance-page .office-actions{width:100%;justify-content:flex-end}.legalflow-ui .app-shell .finance-page .page-heading .button{height:44px;min-height:44px}}.legalflow-ui .app-shell .simple-reports{display:flex;flex-direction:column;gap:16px}.legalflow-ui .app-shell:has(.simple-reports) .topbar{min-height:84px;padding-top:16px;padding-bottom:8px}.legalflow-ui .app-shell .page-content:has(>.simple-reports){padding-top:4px}.legalflow-ui .app-shell .workspace-pages .simple-reports>.page-heading{display:flex;align-items:center;justify-content:space-between;margin:0;gap:16px}.legalflow-ui .app-shell .workspace-pages .simple-reports>.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 .simple-reports .page-heading h1{margin:0;font:600 25px/1.2 var(--av-font);letter-spacing:-.035em;color:var(--av-ink)}.legalflow-ui .app-shell .simple-reports .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 .simple-reports .page-heading .button{height:38px;min-height:38px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:500;box-shadow:none}.legalflow-ui .app-shell .simple-reports .office-metrics{gap:12px}.legalflow-ui .app-shell .simple-reports .metric-card{gap:6px;padding:16px 20px;border-radius:20px;box-shadow:none}.legalflow-ui .app-shell .simple-reports .metric-icon{width:32px;height:32px;margin:0 0 4px;border-radius:10px;background:var(--av-surface-2);color:var(--av-muted)}.legalflow-ui .app-shell .simple-reports .metric-income .metric-icon,.legalflow-ui .app-shell .simple-reports .metric-unpaid .metric-icon{background:var(--av-surface-2);color:var(--av-muted)}.legalflow-ui .app-shell .simple-reports .metric-card h2{font:500 13px/1.4 var(--av-font);color:#7B7369}.legalflow-ui .app-shell .simple-reports .metric-card strong{font:600 30px/1.1 var(--av-font);letter-spacing:-.04em}.legalflow-ui .app-shell .simple-reports .metric-card p{font-size:12px;line-height:1.5}.legalflow-ui .app-shell .simple-reports .report-loading,.legalflow-ui .app-shell .simple-reports .report-note{margin:0;max-width:none;padding:0;border:0;background:transparent;font-size:12px;line-height:1.5;color:var(--av-muted)}@media(max-width:780px){.legalflow-ui .app-shell .simple-reports .page-heading{align-items:flex-start;flex-wrap:wrap}.legalflow-ui .app-shell .simple-reports .page-heading h1{font-size:24px}.legalflow-ui .app-shell .simple-reports .page-heading .button{height:44px;min-height:44px}.legalflow-ui .app-shell .simple-reports .metric-card strong{font-size:28px}}