.login-shell{background:var(--canvas)}.login-brand{--text:#eff4ef;--muted:#b7cbbf;--line:#345342;--gold:#dfca92;color:var(--text);background:#102c22}.login-brand h1{font-family:var(--font-kufi),var(--font-arabic),sans-serif;letter-spacing:0;font-size:clamp(32px,3vw,48px);font-weight:500;line-height:1.8}.login-brand .kicker{color:var(--gold);font-size:13px}.login-card{background:var(--canvas);padding:clamp(24px,5vw,80px)}.login-card h2{letter-spacing:0;font-size:28px;line-height:1.7}.login-card p{font-size:16px;line-height:1.9}.login-form{gap:20px;max-width:480px}.login-form label{gap:8px;font-size:14px;line-height:1.8}.login-form input{border-color:var(--line-strong);direction:ltr;border-radius:6px;font-size:16px}.login-form button{background:var(--primary);color:#fff;border-radius:8px;height:auto;min-height:52px;padding:14px 20px;font-size:16px;line-height:1.8}.login-form button:focus-visible{outline:3px solid var(--primary);outline-offset:4px}.login-form input:-webkit-autofill{-webkit-text-fill-color:#172f27;caret-color:#172f27;box-shadow:inset 0 0 0 1000px #edf2ed}.login-card .inline-error{color:var(--danger);background:var(--danger-soft);border:1px solid var(--danger-line);border-radius:6px;padding:12px;font-size:14px}html,body,button,input,select,textarea{font-family:var(--font-arabic),Tahoma,Arial,sans-serif}body{font-size:16px;line-height:1.8}h1,h2,h3,.page-heading h2,.dialog-header h2{font-family:var(--font-kufi),var(--font-arabic),sans-serif;letter-spacing:0;font-weight:500;line-height:1.7}button:disabled{cursor:wait;opacity:.65}.legal-os-shell{background:var(--canvas);height:auto!important;min-height:100vh!important;overflow:visible!important}.legal-os-shell .workspace{min-height:100vh;color:var(--text);padding:24px 32px 36px;height:auto!important;display:block!important;overflow:visible!important}.legal-os-shell .dashboard-workspace .legal-home{display:block!important}#workspace-content{outline:none;width:100%;min-width:0;max-width:1520px;margin-inline:auto}.legal-workspace,.legal-home{min-width:0;max-width:100%}.workspace-icon{vertical-align:middle;flex:0 0 22px;width:22px;height:22px;display:inline-block}.legal-os-shell .sidebar{--surface:#102c22;--surface-2:#254b39;--text:#eff4ef;--muted:#b7cbbf;--gold:#dfca92;--line:#345342;background:var(--sidebar-bg);color:var(--text);border-inline-end:1px solid var(--line);height:100dvh;box-shadow:none;padding:28px 18px 18px;overflow:hidden}.legal-os-shell .sidebar-brand{border-bottom:1px solid var(--line);flex:none;height:auto;min-height:90px;padding:0 8px 24px}.legal-os-shell .sidebar-tagline{color:var(--muted);margin-top:12px;font-size:13px;line-height:1.9}.legal-os-shell .sidebar nav{flex:1;align-content:start;gap:6px;min-height:0;padding-top:22px;overflow-y:auto}.legal-os-shell .sidebar nav a{min-height:46px;color:var(--muted);background:0 0;border:0;border-radius:8px;justify-content:flex-start;align-items:center;gap:12px;padding:10px 14px;font-size:14px;line-height:1.7;transition:background .14s,color .14s;display:flex}.legal-os-shell .sidebar nav a span{overflow-wrap:anywhere;min-width:0}.legal-os-shell .sidebar nav a .workspace-icon{color:inherit}.legal-os-shell .sidebar nav a.active,.legal-os-shell .sidebar nav a:hover{color:var(--gold);background:#274c39}.legal-os-shell .sidebar-bottom{flex:none}.workspace-bottom{border-top:1px solid var(--line);flex-direction:column;gap:4px;padding-top:16px;display:flex!important}.legal-os-shell .workspace-bottom a,.legal-os-shell .workspace-bottom button{text-align:start;color:var(--muted);background:0 0;min-height:40px;font-size:13px!important}.workspace-bottom a{align-items:center;gap:10px;text-decoration:none;display:flex}.workspace-bottom .workspace-icon{flex-basis:18px;width:18px;height:18px}.workspace-skip{z-index:1500;background:var(--primary);color:#fff;border-radius:8px;padding:12px 18px;position:fixed;inset-block-start:-100px;inset-inline-start:24px}.workspace-skip:focus{inset-block-start:12px}.legal-os-shell a:focus-visible,.legal-os-shell button:focus-visible,.legal-os-shell summary:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.legal-os-shell .sidebar a:focus-visible,.legal-os-shell .sidebar button:focus-visible{outline-color:var(--gold)}.legal-os-shell .topbar,.legal-os-shell .utilitybar{border-bottom:1px solid var(--line);background:0 0;gap:18px;max-width:1520px;height:auto;min-height:58px;margin:0 auto 24px;padding:0 0 18px}.legal-os-shell .topbar h1{color:var(--text);margin:4px 0 6px;font-size:28px;line-height:1.7}.legal-os-shell .topbar p,.legal-os-shell .date-label{color:var(--muted);font-size:13px;line-height:1.8}.legal-os-shell .top-actions{flex-shrink:0;align-self:center;gap:8px}.legal-os-shell .icon-button,.legal-os-shell .avatar,.legal-os-shell .mobile-menu-button{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;min-height:44px;color:var(--primary);border-radius:8px}.legal-os-shell .avatar{background:var(--surface-2);border-color:#0000;border-radius:50%}.legal-os-shell .icon-button svg,.legal-os-shell .avatar svg,.legal-os-shell .mobile-menu-button svg{width:22px;height:22px}.legal-os-shell .mobile-menu-button{gap:8px;width:auto;padding-inline:12px;font-size:14px}.legal-os-shell .page-heading{align-items:center;gap:20px;margin:0 0 24px}.legal-os-shell .page-heading h2,.legal-os-shell .detail-heading h2{color:var(--text);margin:0 0 5px;font-size:28px;line-height:1.7}.legal-os-shell .page-heading>div>p:last-child{color:var(--muted);max-width:76ch;font-size:14px;line-height:1.8}.legal-os-shell .kicker{letter-spacing:0;color:var(--gold);margin-bottom:6px;font-size:13px;font-weight:500}.heading-actions,.detail-actions,.matter-type-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.legal-os-shell .gold-button,.legal-os-shell .primary-action,.legal-os-shell .outline-button,.legal-os-shell .danger-button,.legal-os-shell .quiet-action{white-space:normal;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:auto;min-height:44px;padding:10px 16px;font-size:14px;font-weight:600;line-height:1.6;text-decoration:none;display:inline-flex}.legal-os-shell .gold-button,.legal-os-shell .primary-action{border:1px solid var(--primary);background:var(--primary);color:#fff}.legal-os-shell .gold-button:hover,.legal-os-shell .primary-action:hover{color:#fff;background:#103b2e}.legal-os-shell .outline-button,.legal-os-shell .quiet-action{border:1px solid var(--line-strong);background:var(--surface);color:var(--primary)}.legal-os-shell .outline-button:hover,.legal-os-shell .quiet-action:hover{background:var(--surface-2)}.legal-os-shell .danger-button{background:var(--danger-soft);border-color:var(--danger-line);color:var(--danger)}.legal-os-shell .text-button,.legal-os-shell .row-arrow,.legal-os-shell .inline-link{color:var(--primary);font-size:14px;font-weight:500;line-height:1.8}.legal-os-shell .text-button{min-height:40px;padding:8px 4px}.workspace-section-nav{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:4px;margin:0 0 24px;padding-bottom:4px;display:flex}.workspace-section-nav a{color:var(--muted);border-bottom:2px solid #0000;align-items:center;min-height:44px;padding:10px 16px;font-size:14px;text-decoration:none;display:flex}.workspace-section-nav a[aria-current],.workspace-section-nav a:hover{border-bottom-color:var(--primary);color:var(--primary);background:var(--surface-2)}.workspace-hub-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;display:grid}.workspace-hub-card{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:8px;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;padding:22px;text-decoration:none;display:flex}.workspace-hub-card>.workspace-icon{color:var(--primary)}.workspace-hub-card h3{margin:0;font-size:18px}.workspace-hub-card p{color:var(--muted);margin:0;font-size:14px;line-height:1.8}.workspace-hub-card>span{color:var(--primary);margin-top:auto;font-size:14px}.workspace-hub-card:hover{border-color:var(--line-strong);background:var(--surface-2)}.workspace-scope{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.workspace-scope h2{margin:0 0 5px;font-size:20px}.workspace-scope p{color:var(--muted);margin:0;font-size:14px;line-height:1.8}.workspace-scope-switch,.schedule-view-switch{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-shrink:0;gap:4px;padding:4px;display:flex}.workspace-scope-switch button,.schedule-view-switch button{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;min-height:40px;padding:8px 16px;font-size:14px}.workspace-scope-switch button[aria-pressed=true],.schedule-view-switch button[aria-pressed=true]{background:var(--primary);color:#fff}.schedule-view-switch{width:max-content;max-width:100%;margin-bottom:16px}.workspace-load-error{border:1px solid var(--warning-line);background:var(--warning-soft);color:var(--warning);border-radius:8px;margin-bottom:18px;padding:15px 18px;font-size:14px;line-height:1.9}.workspace-load-error button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:6px;min-height:44px;margin-inline-start:12px;padding:8px 12px}.workspace-home-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;margin:0 0 24px;display:grid}.legal-os-shell .data-panel,.legal-os-shell .records-panel,.legal-os-shell .member-card,.legal-os-shell .metric-card,.legal-os-shell .finance-summary article,.legal-os-shell .audit-metrics article,.legal-os-shell .audit-event,.legal-os-shell .operation-alert{background:var(--surface);border-color:var(--line);box-shadow:none;border-radius:8px}.legal-os-shell .data-panel{height:auto;min-height:0;padding:24px;overflow:visible}.workspace-home-panel{min-width:0;min-height:0;height:auto!important;overflow:visible!important}.legal-os-shell .panel-title{gap:16px;margin-bottom:18px}.legal-os-shell .panel-title h2,.legal-os-shell .panel-title h3{color:var(--text);font-size:20px;line-height:1.7}.workspace-home-panel .focus-row{align-items:center;gap:14px;min-height:88px;padding-block:14px}.workspace-home-panel .focus-row>div{min-width:0}.workspace-home-panel .focus-row strong,.workspace-home-panel .compact-matter-list strong{color:var(--text);white-space:normal;overflow-wrap:anywhere;font-size:16px;line-height:1.8}.workspace-home-panel .focus-row small,.workspace-home-panel .compact-matter-list small{color:var(--muted);white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.9}.workspace-home-panel .focus-row em{border-radius:5px;flex-shrink:0;padding:5px 10px;font-size:13px;font-style:normal}.legal-os-shell .vr-overdue{color:var(--danger);background:var(--danger-soft)}.legal-os-shell .vr-upcoming{color:var(--warning);background:var(--warning-soft)}.legal-os-shell .metrics{gap:16px;margin:0 0 24px}.legal-os-shell .metric-card{min-height:130px;padding:18px 20px;transform:none}.legal-os-shell .metric-head{color:var(--muted);font-size:14px}.legal-os-shell .metric-card>strong{font-family:var(--font-inter),var(--font-arabic),sans-serif;color:var(--text);margin:12px 0 6px;font-size:32px;line-height:1.3}.legal-os-shell .metric-card>p{color:var(--muted);font-size:13px;line-height:1.8}.workspace-muted{color:var(--muted);font-size:14px;line-height:1.9}.workspace-release{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:28px;padding-top:16px;font-size:13px;display:flex}.workspace-release a{color:var(--primary)}.matter-type-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));gap:12px;display:grid}.legal-os-shell .matter-type-choice{border:1px solid var(--line);background:var(--surface);min-height:64px;color:var(--text);overflow-wrap:anywhere;border-radius:8px;align-items:center;padding:16px 20px;font-size:16px;line-height:1.8;text-decoration:none;transition:background .14s,border-color .14s;display:flex}.legal-os-shell .matter-type-choice:hover{border-color:var(--line-strong);background:var(--surface-2)}.legal-os-shell .matter-type-search{max-width:440px;margin:0 0 20px}.legal-os-shell .toolbar{flex-wrap:wrap;gap:12px}.legal-os-shell .search-field{background:var(--surface);border:1px solid var(--line-strong);height:auto;min-height:48px;color:var(--muted);border-radius:8px}.legal-os-shell .search-field input{min-height:44px;color:var(--text);background:0 0;font-size:16px;line-height:1.8}.legal-os-shell .toolbar select{border-color:var(--line-strong);background:var(--surface);height:48px;color:var(--text);border-radius:8px;font-size:16px}.legal-os-shell .result-count{color:var(--muted);font-size:13px}.legal-os-shell .record-head,.legal-os-shell .finance-record-head{color:var(--muted);background:var(--surface-2);padding-block:12px;font-size:13px;line-height:1.8}.legal-os-shell .record-row,.legal-os-shell .finance-record-row{min-height:88px;color:var(--text);background:var(--surface);border-color:var(--line);padding-block:18px;font-size:14px;line-height:1.8}.legal-os-shell .record-row strong,.legal-os-shell .finance-record-row strong{color:var(--text);font-size:16px;line-height:1.8}.legal-os-shell .record-row small,.legal-os-shell .finance-record-row small{color:var(--muted);font-size:13px;line-height:1.8}.legal-os-shell .record-row:hover,.legal-os-shell .finance-record-row:hover{background:var(--surface-2)}.legal-os-shell .document-intelligence select{background:var(--surface);height:auto;min-height:44px;color:var(--text);border:1px solid var(--line-strong);border-radius:6px;width:100%;padding:7px 10px;font-size:14px}.legal-os-shell .document-size{color:var(--muted);white-space:nowrap;font-size:13px}.legal-os-shell .document-actions{flex-wrap:wrap;align-items:flex-start;gap:8px;display:flex;overflow:visible}.row-more{min-width:84px;max-width:100%;position:relative}.row-more summary{cursor:pointer;border:1px solid var(--line);min-height:44px;color:var(--primary);background:var(--surface);white-space:nowrap;border-radius:8px;padding:8px 12px;font-size:14px}.row-more>div{gap:6px;min-width:130px;padding:8px 0;display:grid}.legal-os-shell .row-more button{border:1px solid var(--line);background:var(--surface-2);width:100%;height:auto;min-height:44px;color:var(--primary);text-align:start;border-radius:6px;padding:8px 10px;font-size:14px;line-height:1.6}.legal-os-shell .row-more .document-delete{color:var(--danger);background:var(--danger-soft);border-color:var(--danger-line)}.legal-os-shell .processing-status,.legal-os-shell .invoice-status,.legal-os-shell .severity-label,.legal-os-shell .detail-status,.legal-os-shell .role-chip,.legal-os-shell .audit-status,.legal-os-shell .record-row em{white-space:normal;border:1px solid var(--line);border-radius:5px;padding:4px 10px;font-size:13px;font-weight:500;line-height:1.8}.legal-os-shell .invoice-paid,.legal-os-shell .status-ready,.legal-os-shell .status-active,.legal-os-shell .outcome-success{color:var(--success);background:var(--success-soft);border-color:var(--success-line)}.legal-os-shell .invoice-issued,.legal-os-shell .invoice-partially_paid,.legal-os-shell .status-queued,.legal-os-shell .status-processing,.legal-os-shell .status-on_hold,.legal-os-shell .severity-label-warning{color:var(--warning);background:var(--warning-soft);border-color:var(--warning-line)}.legal-os-shell .status-failed,.legal-os-shell .outcome-failure,.legal-os-shell .severity-label-critical{color:var(--danger);background:var(--danger-soft);border-color:var(--danger-line)}.legal-os-shell .invoice-draft,.legal-os-shell .invoice-cancelled,.legal-os-shell .status-closed,.legal-os-shell .role-chip{color:var(--muted);background:var(--surface-2);border-color:var(--line)}.legal-os-shell .overdue-text,.legal-os-shell .danger-text{color:var(--danger)}.legal-os-shell .finance-summary{gap:16px;margin-bottom:24px}.legal-os-shell .finance-summary article{padding:20px}.legal-os-shell .finance-summary article strong{color:var(--text)}.legal-os-shell .finance-status-tabs button{min-height:44px;color:var(--muted);border-radius:6px;font-size:14px}.legal-os-shell .finance-status-tabs button.active{color:#fff;background:var(--primary);border-color:var(--primary)}.legal-os-shell .team-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:16px}.legal-os-shell .member-card{opacity:1;min-height:0;padding:22px}.legal-os-shell .member-top{align-items:flex-start;gap:18px}.legal-os-shell .member-card h3{color:var(--text);font-size:18px;line-height:1.8}.legal-os-shell .member-card p,.legal-os-shell .member-footer{color:var(--muted);overflow-wrap:anywhere;font-size:13px;line-height:1.8}.legal-os-shell .member-meta{gap:12px;margin-block:18px}.legal-os-shell .member-footer{flex-wrap:wrap;gap:12px}.legal-os-shell .settings-summary{gap:24px;margin-bottom:22px;padding:18px 22px}.legal-os-shell .settings-summary p,.legal-os-shell .settings-summary span{color:var(--muted);font-size:14px}.legal-os-shell .audit-event{padding:18px 22px;display:block}.legal-os-shell .audit-event-head,.legal-os-shell .audit-event-body{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:16px;display:flex}.legal-os-shell .audit-event-head{margin-bottom:8px}.legal-os-shell .audit-title{flex-wrap:wrap;gap:12px}.legal-os-shell .audit-title strong{font-size:16px}.legal-os-shell .audit-event-body footer,.legal-os-shell .audit-actor{color:var(--muted);gap:12px;margin:0;font-size:13px}.legal-os-shell .audit-event details{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.legal-os-shell .audit-event summary{cursor:pointer;min-height:40px;color:var(--primary);font-size:14px}.legal-os-shell .operation-alert{opacity:1;padding:20px 22px}.legal-os-shell .operation-title strong{color:var(--text);font-size:16px}.legal-os-shell .operation-copy>p{color:var(--muted);font-size:14px;line-height:1.9}.legal-os-shell .operation-copy footer{color:var(--muted);font-size:13px}.alert-read-label{color:var(--muted);white-space:nowrap;font-size:13px}.legal-os-shell .operation-alert.is-read,.legal-os-shell .notification-item.read{opacity:1}.legal-os-shell .notification-item{color:var(--text);padding:18px 0}.legal-os-shell .notification-item strong{font-size:16px;font-weight:600;line-height:1.8}.legal-os-shell .notification-item p{color:var(--muted);font-size:14px;line-height:1.8}.legal-os-shell .notification-item.read strong{font-weight:400}.notification-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.legal-os-shell .notification-footer small{color:var(--muted);font-size:13px}.legal-os-shell .reminder-chip{border-radius:5px;padding:4px 9px;font-size:13px;line-height:1.8}.legal-os-shell .reminder-past{color:var(--muted);background:var(--surface-2);border-color:var(--line)}.legal-os-shell .reminder-upcoming{color:var(--warning);background:var(--warning-soft);border-color:var(--warning-line)}.legal-os-shell .count-badge{width:auto;min-width:32px;height:auto;min-height:32px;color:var(--muted);background:var(--surface-2);white-space:nowrap;border-radius:6px;padding:4px 10px;font-size:13px;line-height:1.7}.legal-os-shell .schedule-grid{gap:20px;margin-bottom:24px}.legal-os-shell .schedule-panel{min-height:0}.legal-os-shell .schedule-item strong{font-size:16px;line-height:1.8}.legal-os-shell .schedule-item p{font-size:14px;line-height:1.8}.legal-os-shell .schedule-item small{font-size:13px}.legal-os-shell .schedule-date{border-radius:6px;width:48px;height:60px}.legal-os-shell .schedule-date strong{font-size:20px}.legal-os-shell .schedule-date span{font-size:13px}.legal-os-shell .notifications-panel{margin-top:0}.legal-os-shell .dialog-backdrop{z-index:500;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d1f1761;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);padding:24px}.legal-os-shell .dialog-backdrop>.dialog{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;overscroll-behavior:contain;background:var(--surface);min-width:0;max-width:100%;min-height:0;max-height:100%;color:var(--text);border:1px solid var(--line);border-radius:8px;padding:28px;overflow-y:auto;box-shadow:0 24px 72px #0d1f172e}.legal-os-shell .matter-create-dialog{width:min(720px,100%)}.legal-os-shell .member-dialog{width:min(600px,100%)}.legal-os-shell .dialog-header{border-color:var(--line);gap:20px;margin-bottom:24px;padding-bottom:20px}.legal-os-shell .dialog-header h2{color:var(--text);font-size:24px;line-height:1.7}.legal-os-shell .dialog-header .kicker{color:var(--gold);font-size:13px}.legal-os-shell .dialog-header>button{border:1px solid var(--line-strong);width:44px;min-width:44px;height:44px;color:var(--muted);background:var(--surface);border-radius:8px;place-items:center;padding:0;font-size:24px;line-height:1;display:grid}.legal-os-shell .dialog-form{gap:18px}.legal-os-shell .dialog-form label,.legal-os-shell .detail-form label{color:var(--text);gap:8px;min-width:0;font-size:14px;font-weight:500;line-height:1.8}.legal-os-shell .field-label{justify-content:space-between;align-items:center;gap:12px;display:flex}.legal-os-shell .field-hint{color:var(--muted);font-size:13px;font-weight:400;line-height:1.7}.legal-os-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.legal-os-shell select,.legal-os-shell textarea{font-size:16px;line-height:1.8}.legal-os-shell .dialog-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.legal-os-shell .dialog-form select,.legal-os-shell .dialog-form textarea,.legal-os-shell .detail-form input,.legal-os-shell .detail-form select,.legal-os-shell .detail-form textarea{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-width:0;height:auto;min-height:48px;color:var(--text);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;border-radius:6px;outline:none;padding:10px 12px}.legal-os-shell input::placeholder,.legal-os-shell textarea::placeholder{color:var(--muted);opacity:1}.legal-os-shell input:focus,.legal-os-shell select:focus,.legal-os-shell textarea:focus{border-color:var(--primary);outline:2px solid var(--primary);outline-offset:2px;box-shadow:none}.legal-os-shell input:-webkit-autofill{-webkit-text-fill-color:#172f27;caret-color:#172f27;border-color:var(--line-strong);box-shadow:inset 0 0 0 1000px #edf2ed}.legal-os-shell input:-webkit-autofill:hover{-webkit-text-fill-color:#172f27;caret-color:#172f27;border-color:var(--line-strong);box-shadow:inset 0 0 0 1000px #edf2ed}.legal-os-shell input:-webkit-autofill:focus{-webkit-text-fill-color:#172f27;caret-color:#172f27;border-color:var(--line-strong);box-shadow:inset 0 0 0 1000px #edf2ed}.legal-os-shell input:autofill{color:var(--text);background:var(--surface-2);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.legal-os-shell .matter-create-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.matter-title-field,.matter-reference-field,.matter-judicial-field{grid-column:1/-1}.matter-reference-field{max-width:360px}.matter-judicial-field{border-top:1px solid var(--line);padding-top:16px}.legal-os-shell .matter-create-dialog .dialog-header .matter-selected-type{color:var(--gold);margin:8px 0 0;font-size:16px;font-weight:500;line-height:1.8}.judicial-field-toggle{border:1px solid var(--line-strong);background:var(--surface);color:var(--primary);height:auto;min-height:44px;font:inherit;border-radius:6px;place-self:start;padding:8px 12px;font-size:14px}.legal-os-shell .dialog-footer{border-top:1px solid var(--line);grid-column:1/-1;justify-content:flex-end;gap:10px;margin-top:4px;padding-top:20px;display:flex}.legal-os-shell .dialog-footer button{border:1px solid var(--primary);background:var(--primary);color:#fff;border-radius:8px;height:auto;min-height:46px;padding:10px 20px;font-size:14px;font-weight:600;line-height:1.8}.legal-os-shell .dialog-footer .cancel{border-color:var(--line-strong);color:var(--muted);background:var(--surface)}.member-form-fields{border:0;gap:18px;min-width:0;margin:0;padding:0;display:grid}.file-picker-field{gap:8px;min-width:0;display:grid}.legal-os-shell .dialog-form .file-picker{border:1px dashed var(--line-strong);background:var(--surface-2);min-height:76px;color:var(--primary);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.file-picker input.file-input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;padding:0;font-size:16px;position:absolute;inset:0}.file-picker:focus-within{outline:3px solid var(--primary);outline-offset:3px}.file-picker-name{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:14px}.reference-choice{border-top:1px solid var(--line);gap:12px;padding:16px 0;display:grid}.reference-choice>div{flex-wrap:wrap;gap:10px;display:flex}.reference-choice button,.reference-choice a{min-height:44px;font:inherit;border-radius:6px;padding:9px 16px;font-size:14px}.reference-result .agent-result-header p{overflow-wrap:anywhere;margin:6px 0 0}.legal-os-shell .agent-command{margin:0 0 24px}.legal-os-shell .agent-command-form{background:var(--surface);border:1px solid var(--line-strong);border-radius:8px;gap:14px;height:auto;min-height:64px;padding:12px 16px}.legal-os-shell .agent-command-input input{color:var(--text);min-height:44px;font-size:16px;line-height:1.8}.legal-os-shell .agent-command-actions>button{background:var(--primary);color:#fff;border-radius:6px;min-height:44px;font-size:14px}.intelligence-workspace{max-width:1100px;margin-inline:auto}.intelligence-workspace .agent-command-form{min-height:84px;padding:18px 20px}.agent-examples{flex-wrap:wrap;gap:10px;padding:20px 0;display:flex}.agent-examples p{color:var(--muted);flex-basis:100%;margin:0 0 4px;font-size:14px}.agent-examples button{font:inherit;background:var(--surface);min-height:44px;color:var(--primary);border:1px solid var(--line);border-radius:8px;padding:9px 14px;font-size:14px}.agent-examples button:hover{background:var(--surface-2)}.help-contents{flex-wrap:wrap;gap:8px 18px;margin-bottom:22px;display:flex}.help-contents a{min-height:40px;color:var(--primary);padding-block:8px;font-size:14px}.workspace-help{max-width:980px;margin-inline:auto;height:auto!important;padding:28px!important}.workspace-help h3{color:var(--text);margin:28px 0 12px;scroll-margin-top:24px;font-size:20px}.workspace-help h3:first-child{margin-top:0}.workspace-help p,.workspace-help li{color:var(--text);font-size:16px;line-height:2}.workspace-help li{margin-block:10px}.workspace-help a,.workspace-help a:visited{color:var(--primary);text-underline-offset:4px;text-decoration:underline}.workspace-client-stats{flex-wrap:wrap;gap:12px;margin:18px 0;display:flex}.workspace-client-stats>div{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex:1;min-width:160px;padding:18px}.workspace-client-stats strong{color:var(--text);font-size:28px;display:block}.workspace-client-stats span{color:var(--muted);font-size:14px}.workspace-client-filters{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.workspace-client-filters button{font:inherit;min-height:44px;color:var(--muted);background:var(--surface);border:1px solid var(--line);cursor:pointer;border-radius:6px;padding:8px 14px;font-size:14px}.workspace-client-filters button[aria-pressed=true]{color:#fff;background:var(--primary)}.legal-os-shell .inline-error{background:var(--danger-soft);color:var(--danger);border-color:var(--danger-line);border-radius:6px;font-size:14px;line-height:1.9}.legal-os-shell .empty{color:var(--muted);padding:36px 20px;font-size:14px;line-height:1.9}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.login-shell{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:var(--canvas)}.login-brand{--text:#eff4ef;--muted:#b7cbbf;--gold:#dfca92;background:var(--sidebar-bg);color:var(--text)}.login-card{background:var(--canvas);box-shadow:none}.login-form button{background:var(--primary);color:#fff;border-radius:8px}.login-form input{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);border-radius:6px;font-size:16px}@media (min-width:1101px){.legal-os-shell{grid-template-columns:238px minmax(0,1fr)!important}.legal-os-shell .sidebar-logo-wide{width:138px!important;display:block!important}.legal-os-shell .sidebar-logo-compact{display:none!important}}@media (min-width:1550px){.matter-type-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (max-width:1250px){.workspace-home-grid{grid-template-columns:1fr}.legal-os-shell .workspace{padding:22px 24px 32px}.legal-os-shell .team-grid{grid-template-columns:1fr}}@media (max-width:1100px){.legal-os-shell .top-actions{flex-wrap:wrap;gap:8px}.legal-os-shell .sidebar nav a{padding-block:9px!important}.legal-os-shell .sidebar .workspace-bottom{padding-bottom:max(16px,env(safe-area-inset-bottom))}.legal-os-shell .sidebar{transition:transform .16s,visibility .16s;background:#102c22!important}.legal-os-shell .sidebar .mobile-control-links a{color:var(--text);border-radius:6px;font-size:13px}.legal-os-shell .sidebar .mobile-account small{color:var(--muted);font-size:13px}}@media (max-width:1100px) and (max-height:600px){.legal-os-shell .sidebar{overflow-y:auto!important}.legal-os-shell .sidebar nav{flex:none;overflow-y:visible}.legal-os-shell .mobile-account,.legal-os-shell .mobile-control-links{flex-shrink:0}}@media (min-width:1101px){.legal-os-shell .document-head,.legal-os-shell .document-row{grid-template-columns:minmax(180px,1.5fr) minmax(120px,.8fr) minmax(150px,.9fr) 70px minmax(156px,.9fr)}}@media (min-width:901px) and (max-width:1100px){.legal-os-shell .document-head,.legal-os-shell .document-row{grid-template-columns:minmax(180px,1.4fr) minmax(125px,.8fr) minmax(150px,.9fr) minmax(156px,.9fr)}}@media (max-width:900px){.legal-os-shell .document-row{row-gap:14px}.legal-os-shell .record-row strong{font-size:16px}.legal-os-shell .document-actions{grid-area:auto/1/auto/-1;max-width:none}.legal-os-shell .schedule-grid,.legal-os-shell .notification-list{grid-template-columns:1fr}}@media (max-width:640px){.legal-os-shell .workspace{padding:18px 16px 28px}.legal-os-shell .topbar{flex-wrap:wrap;align-items:flex-start;gap:14px}.legal-os-shell .topbar h1,.legal-os-shell .page-heading h2{font-size:24px}.legal-os-shell .page-heading{flex-direction:column;align-items:stretch;gap:16px}.legal-os-shell .top-actions .avatar{display:none}.workspace-scope{flex-direction:column;align-items:stretch;gap:13px}.workspace-scope-switch{align-self:flex-start}.workspace-home-panel .focus-row{flex-wrap:wrap}.workspace-home-panel .focus-row>div{flex:150px}.workspace-home-panel .focus-row em{margin-inline-start:auto}.legal-home .workspace-home-panel .focus-row{grid-template-columns:30px minmax(0,1fr)}.legal-home .workspace-home-panel .focus-row em{grid-column:2;justify-self:start;margin-inline-start:0}.workspace-hub-card{padding:20px}.workspace-help{padding:20px!important}.workspace-section-nav{gap:2px}.workspace-section-nav a{padding:8px 10px;font-size:14px}.workspace-client-stats>div{min-width:120px}.matter-type-grid{grid-template-columns:1fr}.legal-os-shell .matter-type-choice{min-height:60px}.legal-os-shell .dialog-backdrop{padding:8px}.legal-os-shell .dialog-backdrop>.dialog{width:100%;max-height:100%;padding:20px}.legal-os-shell .matter-create-form{grid-template-columns:1fr}.matter-reference-field{max-width:none}.legal-os-shell .dialog-footer{flex-wrap:wrap;display:flex}.legal-os-shell .dialog-footer button{flex:1;min-width:120px}.legal-os-shell .dialog-header h2{font-size:21px}.legal-os-shell .data-panel{padding:20px}.legal-os-shell .member-card{padding:18px}.legal-os-shell .notification-heading{flex-wrap:wrap}.legal-os-shell .toolbar select{width:100%;max-width:100%}.legal-os-shell .audit-event-body{gap:8px}.legal-os-shell .audit-event-body footer{flex-wrap:wrap}.legal-os-shell .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.legal-os-shell .metric-card{padding:16px}.legal-os-shell .metric-card>strong{font-size:28px}.legal-os-shell .agent-command-actions{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.legal-os-shell *,.legal-os-shell :before,.legal-os-shell :after{scroll-behavior:auto!important;transition:none!important}}@media (min-width:1101px){.legal-os-shell .sidebar{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;overflow-y:auto}.legal-os-shell .sidebar nav{flex:none;overflow-y:visible}.legal-os-shell .sidebar-bottom{margin-top:auto}}@media (min-width:1101px) and (max-height:920px){.legal-os-shell .sidebar{padding-block:18px 12px}.legal-os-shell .sidebar nav{gap:2px;padding-top:10px}.legal-os-shell .sidebar nav a{min-height:40px;padding-block:7px;line-height:1.6}.legal-os-shell .workspace-bottom{gap:2px;padding-top:8px}.legal-os-shell .workspace-bottom a,.legal-os-shell .workspace-bottom button{min-height:34px}}@media (min-width:1101px) and (max-height:800px){.legal-os-shell .sidebar-brand{height:auto!important;min-height:0!important;padding:0 4px 12px!important}.legal-os-shell .sidebar nav{padding-top:6px}.legal-os-shell .sidebar nav a{min-height:38px;padding-block:6px}}.not-found-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px;display:flex}.legal-os-shell .not-found-actions a{margin-top:0}.global-error-shell{background:var(--canvas);place-items:center;min-height:100vh;padding:24px 16px;display:grid}.global-error-shell .coming-soon{width:min(560px,100%);margin:0}.legal-os-shell .account-menu{align-items:center;display:flex;position:relative}.legal-os-shell .account-menu .utility-account{font:inherit;border:0;border-inline-start:1px solid var(--line);cursor:pointer;min-height:44px;color:var(--muted);background:0 0;border-radius:0;font-size:14px}.legal-os-shell .account-menu .utility-account:hover,.legal-os-shell .account-menu .utility-account[aria-expanded=true]{color:var(--text);background:var(--surface-2)}.legal-os-shell .account-menu .utility-account:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.legal-os-shell .account-menu .account-menu-caret{stroke-width:2px;width:16px;height:16px}.legal-os-shell .account-menu-list{top:calc(100% + 6px);z-index:60;background:var(--surface);border:1px solid var(--line);border-radius:8px;flex-direction:column;min-width:220px;padding:6px;display:flex;position:absolute;inset-inline-end:0;box-shadow:0 12px 32px #102c2229}.legal-os-shell .account-menu-head{border-bottom:1px solid var(--line);flex-direction:column;margin-bottom:4px;padding:8px 12px 10px;line-height:1.6;display:flex}.legal-os-shell .account-menu-head strong{color:var(--text);font-size:14px}.legal-os-shell .account-menu-head small{color:var(--muted);font-size:13px}.legal-os-shell .account-menu-list [role=menuitem]{min-height:44px;color:var(--text);font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;padding:8px 12px;font-size:14px;text-decoration:none;display:flex}.legal-os-shell .account-menu-list [role=menuitem]:hover,.legal-os-shell .account-menu-list [role=menuitem]:focus{background:var(--surface-2);outline:none}.legal-os-shell .account-menu-list [role=menuitem]:focus-visible{box-shadow:inset 0 0 0 2px var(--primary)}.legal-os-shell .account-menu-list .account-menu-logout{border-top:1px solid var(--line);color:var(--danger);border-radius:0 0 6px 6px;margin-top:4px}@media (min-width:1101px){.legal-os-shell .sidebar-bottom .sidebar-account-link{display:none!important}}.workspace-section-select{display:none}@media (max-width:699.98px){.legal-os-shell .workspace-section-nav{display:none}.legal-os-shell .workspace-section-select{margin:0 0 18px;display:block}.legal-os-shell .workspace-section-select select{width:100%;min-height:48px;font:inherit;color:var(--primary);background:var(--surface);border:1px solid var(--line-strong);border-radius:8px;padding:10px 14px;padding-inline-end:40px;font-size:15px;font-weight:700}}.scroll-shadow{min-width:0;position:relative}.scroll-shadow:before,.scroll-shadow:after{content:"";pointer-events:none;opacity:0;z-index:1;width:36px;transition:opacity .15s;position:absolute;top:1px;bottom:1px}.scroll-shadow:before{background:linear-gradient(to left,var(--surface) 15%,transparent);inset-inline-start:0}.scroll-shadow:after{background:linear-gradient(to right,var(--surface) 15%,transparent);inset-inline-end:0}.scroll-shadow[data-more-start]:before,.scroll-shadow[data-more-end]:after{opacity:1}.legal-os-shell .matter-section-tabs{z-index:20;margin-bottom:16px;position:sticky;top:0}.legal-os-shell .matter-section-tabs>.matter-section-nav{position:static;margin:0!important}.legal-os-shell .matter-legal-link a{color:var(--primary);font-weight:600}@media (max-width:900px){.legal-os-shell .matter-section-tabs{margin-inline:-1px}}@media (max-width:700px){.legal-os-shell .matter-section-tabs{margin-inline:-16px}.legal-os-shell .matter-section-nav a{flex-shrink:0;min-height:48px}.legal-os-shell .matter-file-actions{grid-template-columns:1fr;gap:10px;display:grid!important}.legal-os-shell .matter-file-actions .detail-status{justify-self:start;margin:0}.legal-os-shell .matter-file-actions button{width:100%;min-height:48px}.legal-os-shell .matter-file-actions .danger-button{margin-top:10px}.legal-os-shell .matter-breadcrumb a,.legal-os-shell .matter-legal-link a,.legal-os-shell .matter-client-strip a,.legal-os-shell .work-desk .work-actions a{align-items:center;min-height:44px;display:inline-flex}.legal-os-shell .work-desk .work-actions{flex-wrap:wrap;gap:4px 16px}.legal-os-shell .document-intelligence .quiet-action.quiet-action{min-width:56px;min-height:44px}.legal-os-shell .work-desk>header>a{align-items:center;min-height:44px;display:inline-flex}}
.legal-os-shell #workspace-content,.legal-os-shell .topbar,.legal-os-shell .utilitybar{max-width:1400px}.legal-os-shell .top-actions{flex-wrap:nowrap;align-items:center;gap:4px}.legal-os-shell .top-actions .icon-button{white-space:nowrap;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;width:auto;min-width:44px;height:44px;padding:0 12px;font-size:14px;text-decoration:none;display:inline-flex}.legal-os-shell .top-actions .icon-button:hover{background:#e7ede6}.legal-os-shell .top-actions .utility-create{background:var(--primary);color:#fff;margin-inline-end:8px;padding-inline:15px}.legal-os-shell .top-actions .utility-create:hover{background:#103b2e}.legal-os-shell .top-actions .alert-button{display:inline-flex!important}.legal-os-shell .top-actions .alert-button b{color:#244e3a;background:#e7eee8;border:0;border-radius:7px;justify-content:center;align-items:center;width:auto;min-width:22px;height:22px;padding:0 5px;font-size:12px;font-weight:600;line-height:1;display:inline-flex;position:static}.legal-os-shell .utility-account{border-inline-start:1px solid var(--line);max-width:160px;color:var(--muted);align-items:center;gap:8px;padding-inline:12px;font-size:14px;display:flex}.legal-os-shell .utility-account svg{fill:none;stroke:currentColor;stroke-width:1.6px;flex-shrink:0;width:20px;height:20px}.legal-os-shell .utility-account span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.legal-os-shell .sidebar nav a:hover:not(.active){color:#eff4ef;background:#193a2c}.legal-os-shell .sidebar nav a.active{color:#f1dca6;background:#2b503e;box-shadow:inset -3px 0 #cfb67a}.legal-os-shell .workspace-section-nav a:hover:not([aria-current]){color:var(--text);background:#f0f3ed;border-bottom-color:#0000}.legal-os-shell .workspace-section-nav a[aria-current]{border-bottom-color:var(--primary);background:0 0;font-weight:700}.legal-os-shell .records-panel{border-radius:12px;overflow:hidden}.legal-os-shell .record-head,.legal-os-shell .record-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(100px,.55fr) 72px;gap:20px}.legal-os-shell .record-row small,.legal-os-shell .finance-record-row small,.legal-os-shell .field-hint{font-size:14px;line-height:1.8}.legal-os-shell .row-arrow{white-space:nowrap;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;width:auto;min-width:54px;height:auto;min-height:36px;display:inline-flex;overflow:visible}.legal-os-shell .clients-panel .record-person{gap:0}.legal-os-shell .record-row strong,.legal-os-shell .record-row small{overflow-wrap:anywhere}.legal-os-shell .contact-stack{text-align:right;direction:ltr;unicode-bidi:isolate}.legal-os-shell .finance-record-head,.legal-os-shell .finance-record-row{grid-template-columns:minmax(0,1.25fr) minmax(0,1.2fr) minmax(95px,.75fr) minmax(95px,.75fr) minmax(100px,.8fr) 60px}.legal-os-shell .finance-quick-filters{flex-wrap:wrap;gap:6px;margin-bottom:16px;display:flex}.legal-os-shell .finance-quick-filters button{border-radius:8px;flex:0 auto;gap:10px;min-height:44px;padding:8px 12px}.legal-os-shell .finance-toolbar{grid-template-columns:minmax(0,1fr) auto}.legal-os-shell .document-head,.legal-os-shell .document-row{grid-template-columns:minmax(0,1.4fr) minmax(0,.85fr) minmax(0,1.1fr) 80px 100px;gap:18px}.legal-os-shell .document-name{align-items:flex-start;min-width:0}.legal-os-shell .document-name>div{min-width:0}.legal-os-shell .document-type{border-radius:8px;flex-shrink:0;font-size:12px}.legal-os-shell .category-display{flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;display:flex}.legal-os-shell .category-display .quiet-action,.legal-os-shell .document-recovery .quiet-action{text-underline-offset:4px;background:0 0;border:0;min-height:36px;padding:4px 8px;font-size:13px;text-decoration:underline}.legal-os-shell .category-editor{flex-wrap:wrap;gap:6px;display:flex}.legal-os-shell .category-editor select{max-width:100%;min-height:44px;font-size:16px}.legal-os-shell .category-editor button{color:var(--primary);font:inherit;background:0 0;border:0}.legal-os-shell .document-recovery{color:var(--muted);margin-top:10px;font-size:14px;line-height:1.8}.legal-os-shell .document-recovery p{overflow-wrap:anywhere;white-space:pre-line;margin:5px 0;font-size:14px}.legal-os-shell .document-recovery details{font-size:13px}.legal-os-shell .document-recovery summary{cursor:pointer;min-height:36px;padding-block:5px}.legal-os-shell .document-matter strong{unicode-bidi:plaintext}.legal-os-shell .action-notice{border:1px solid var(--line);color:#2e503c;background:#edf3ec;border-radius:8px;padding:12px 16px;font-size:14px;line-height:1.9}.legal-os-shell .task-board{flex-direction:column;gap:12px;display:flex}.legal-os-shell .task-card{border-radius:12px;height:auto;min-height:0;padding:20px 24px}.legal-os-shell .task-card.task-focused{outline-offset:2px;border-color:#48775e;outline:2px solid #48775e}.legal-os-shell .task-card-top{align-items:flex-start;gap:12px}.legal-os-shell .task-title-wrap{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.legal-os-shell .task-title-wrap h3{overflow-wrap:anywhere;margin:0;font-size:17px;line-height:1.8}.legal-os-shell .task-description{margin:8px 0 12px;font-size:14px;line-height:1.8}.legal-os-shell .task-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;display:flex}.legal-os-shell .task-actions .quiet-action{background:0 0;border-color:#0000;min-height:40px;padding:7px 12px}.legal-os-shell .complete-task{min-height:40px;color:var(--primary);font:inherit;cursor:pointer;white-space:nowrap;background:#eef4ed;border:1px solid #c7d7ca;border-radius:8px;justify-content:center;align-items:center;padding:7px 12px;font-size:14px;display:inline-flex}.legal-os-shell .complete-task:hover{background:#e2eddf}.legal-os-shell .task-footer{margin-top:14px;padding-top:12px;font-size:14px}.legal-os-shell .task-meta{gap:12px;font-size:14px}.legal-os-shell .task-due{font-size:14px}.legal-os-shell .task-actions .row-more summary{background:0 0;border:0;min-height:40px;padding:7px 10px;font-size:14px}.legal-os-shell .overdue-badge{color:#a94135;box-shadow:none;background:0 0;border:1px solid #d6b2aa;border-radius:6px;flex-shrink:0;align-items:center;gap:6px;padding:1px 8px;font-size:13px;font-weight:500;line-height:1.8;display:inline-flex}.legal-os-shell .overdue-badge:before{content:"";background:currentColor;border-radius:50%;width:5px;height:5px}.legal-os-shell .vr-overdue,.legal-os-shell .overdue-text{box-shadow:none;text-shadow:none;color:#a94135;background:0 0}.legal-os-shell .office-datetime{border:1px solid var(--line);background:#f8f9f5;border-radius:10px;grid-column:1/-1;width:100%;min-width:0;margin:4px 0;padding:16px}.legal-os-shell .office-datetime legend{color:var(--text);padding-inline:6px;font-size:14px}.legal-os-shell .office-datetime legend span{color:var(--muted);margin-inline-start:8px;font-size:13px}.legal-os-shell .office-datetime-inputs{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;display:grid}.legal-os-shell .office-datetime label{gap:6px;min-width:0;font-size:14px;display:grid}.legal-os-shell .office-datetime input{box-sizing:border-box;border:1px solid var(--line-strong);width:100%;min-width:0;min-height:48px;color:var(--text);background:#fff;border-radius:7px;padding:8px 10px;font-size:16px}.legal-os-shell .date-shortcuts{flex-wrap:wrap;align-items:center;gap:5px;margin-top:12px;display:flex}.legal-os-shell .date-shortcuts span{color:var(--muted);margin-inline-end:auto;font-size:13px}.legal-os-shell .date-shortcuts button{font:inherit;color:var(--primary);cursor:pointer;background:0 0;border:0;border-radius:6px;min-height:36px;padding:6px 9px;font-size:13px}.legal-os-shell .date-shortcuts button:hover{background:#e7eee6}.legal-os-shell .schedule-grid{align-items:start}.legal-os-shell .schedule-grid .schedule-panel{height:auto;min-height:0}.legal-os-shell .schedule-list{height:auto;max-height:none;overflow:visible}.legal-os-shell .schedule-item{min-height:88px;padding-block:16px}.legal-os-shell .schedule-item p,.legal-os-shell .schedule-item small{font-size:14px}.legal-os-shell .audit-date-filters{flex-wrap:wrap;align-items:end;gap:12px;margin:0 0 20px;display:flex}.legal-os-shell .audit-date-filters label{flex:0 200px;gap:5px;font-size:14px;display:grid}.legal-os-shell .audit-date-filters input{border:1px solid var(--line);min-width:0;min-height:44px;color:var(--text);background:#fff;border-radius:8px;padding:8px 12px;font-size:16px}.legal-os-shell .audit-date-filters p{color:var(--muted);flex:240px;margin:0;font-size:14px}.legal-os-shell .pagination{justify-content:center;align-items:center;gap:18px;padding:24px 0;font-size:14px;display:flex}.legal-os-shell .pagination button{font:inherit;border:1px solid var(--line);min-height:44px;color:var(--primary);cursor:pointer;background:#fff;border-radius:8px;padding:8px 18px}.legal-os-shell .pagination button:disabled{cursor:default;opacity:.45}.legal-os-shell .alert-group{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.legal-os-shell .alert-group .operation-alert{border:0;border-radius:0;width:100%}.legal-os-shell .alert-group-details{border-top:1px solid var(--line);padding:0 18px}.legal-os-shell .alert-group-details summary{color:var(--primary);cursor:pointer;min-height:44px;padding:10px 0;font-size:14px}.legal-os-shell .operation-alert .operation-copy p,.legal-os-shell .operation-alert footer{font-size:14px}.legal-os-shell .intelligence-workspace{max-width:1080px;margin:24px auto 0}.legal-os-shell .intelligence-workspace .page-heading{margin-bottom:28px}.legal-os-shell .intelligence-workspace .page-heading h2{font-size:30px}.legal-os-shell .agent-command{box-shadow:none;isolation:isolate;z-index:1;background:0 0;border:0;margin:0}.legal-os-shell .agent-command-form{background:#fff;border:1px solid #b9cbbc;border-radius:12px;min-height:76px;padding:14px 18px;box-shadow:0 3px 12px #183d2910}.legal-os-shell .agent-command-form:focus-within{border-color:#49735b;box-shadow:0 0 0 3px #254d3610}.legal-os-shell .agent-command .agent-command-actions{flex-wrap:nowrap;gap:10px;width:auto}.legal-os-shell .agent-command .agent-command-actions>button{border:0;border-radius:8px;min-width:110px;height:auto;min-height:44px;padding:10px 14px}.legal-os-shell .privacy-badge{white-space:nowrap;color:var(--muted);background:0 0;border:0;font-size:13px}.legal-os-shell .agent-context{margin-bottom:14px}.legal-os-shell .agent-context label{color:var(--muted);align-items:center;gap:12px;font-size:14px;display:flex}.legal-os-shell .agent-context select{min-width:0;max-width:min(100%,540px);font:inherit;border:1px solid var(--line);min-height:44px;color:var(--text);background:#fff;border-radius:8px;padding:8px 12px;font-size:14px}.legal-os-shell .agent-examples{background:0 0;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:24px 0;display:grid}.legal-os-shell .agent-examples p{grid-column:1/-1;margin:0 0 2px;font-size:14px}.legal-os-shell .agent-examples button{text-align:start;border:1px solid var(--line);background:#ffffffa8;border-radius:12px;grid-template-columns:24px 1fr;align-content:start;gap:5px 10px;min-height:116px;padding:18px;font-size:14px;display:grid}.legal-os-shell .agent-examples strong{font-size:15px;font-weight:600}.legal-os-shell .agent-examples small{color:var(--muted);grid-column:2;font-size:13px;line-height:1.8}.legal-os-shell .agent-command>.agent-result-panel,.legal-os-shell .legal-home.day-workspace .day-assistant .agent-command>.agent-result-panel{box-sizing:border-box;border-radius:12px;width:100%;max-width:100%;max-height:none;margin:16px 0 0;padding:22px;position:relative;inset:auto;overflow:visible}.legal-os-shell .agent-command>.agent-search-results{border-radius:10px;width:100%;max-width:100%;max-height:400px;margin:10px 0 0;position:relative;inset:auto;overflow:auto}.legal-os-shell .agent-result-panel p,.legal-os-shell .agent-result-panel small{font-size:14px}.legal-os-shell .legal-home.day-workspace .day-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:20px}.legal-os-shell .legal-home.day-workspace .day-grid.day-single{grid-template-columns:1fr}.legal-os-shell .legal-home.day-workspace .day-feature{background:#edf2e9;border-inline-start-width:1px;padding:22px}.legal-os-shell .legal-home.day-workspace .day-feature-top{align-items:flex-start;margin-bottom:14px;font-size:14px}.legal-os-shell .legal-home.day-workspace .day-feature-top time{box-shadow:none;color:var(--muted);background:0 0}.legal-os-shell .legal-home.day-workspace .day-pill{background:0 0;border:0;padding:0;font-size:13px}.legal-os-shell .legal-home.day-workspace .day-feature .kicker{font-size:14px}.legal-os-shell .day-title-line{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.legal-os-shell .legal-home.day-workspace .day-feature h2{font-size:22px}.legal-os-shell .legal-home.day-workspace .day-feature-actions{margin-top:18px}.legal-os-shell .legal-home.day-workspace .day-assistant{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;margin-top:16px;padding:18px}.legal-os-shell .legal-home.day-workspace .day-assistant .agent-command-form{grid-template-columns:1fr;padding:10px 14px;display:grid}.legal-os-shell .legal-home.day-workspace .day-assistant .agent-command-actions{justify-content:space-between;width:100%}.legal-os-shell .legal-home.day-workspace .day-assistant .agent-command-actions>button{flex:none}.legal-os-shell .legal-home.day-workspace .day-assistant-heading h2{font-size:17px}.legal-os-shell .legal-home.day-workspace .day-assistant-heading p,.legal-os-shell .legal-home.day-workspace .day-scope-note,.legal-os-shell .legal-home.day-workspace .day-metric small,.legal-os-shell .legal-home.day-workspace .compact-matter-list small,.legal-os-shell .legal-home.day-workspace .focus-row small,.legal-os-shell .legal-home.day-workspace .day-search>span,.legal-os-shell .legal-home.day-workspace .panel-title .workspace-muted{font-size:14px}.legal-os-shell .legal-home.day-workspace .compact-matter-list>a{gap:8px;padding:12px 0}.legal-os-shell .legal-home.day-workspace .compact-matter-list strong{font-size:15px}.legal-os-shell .legal-home.day-workspace .compact-matter-list em,.legal-os-shell .legal-home.day-workspace .day-metric span,.legal-os-shell .legal-home.day-workspace .focus-row em,.legal-os-shell .legal-home.day-workspace .panel-title .kicker{font-size:13px}.legal-os-shell .legal-home.day-workspace .focus-row{min-height:76px;padding:12px 0}.legal-os-shell .legal-home.day-workspace .focus-row strong{font-size:16px}.legal-os-shell .legal-home.day-workspace .day-metric{align-items:flex-start}.legal-os-shell .legal-home.day-workspace .day-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}@media (max-width:1200px){.legal-os-shell .utility-account span,.legal-os-shell .utility-label{display:none}.legal-os-shell .utility-account{padding-inline:7px}.legal-os-shell .legal-home.day-workspace .day-grid{grid-template-columns:1fr}.legal-os-shell .document-head,.legal-os-shell .document-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) 90px}.legal-os-shell .document-head>span:nth-child(4),.legal-os-shell .document-row>.document-size{display:none}.legal-os-shell .finance-record-head,.legal-os-shell .finance-record-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) .8fr .8fr 60px}}@media (max-width:700px){.legal-os-shell .workspace{padding-inline:16px}.legal-os-shell .utilitybar,.legal-os-shell .topbar{flex-wrap:wrap;gap:12px}.legal-os-shell .top-actions{flex-wrap:wrap;flex-shrink:1;order:-1;justify-content:flex-start;gap:2px;max-width:100%}.legal-os-shell .utilitybar{min-height:48px;height:auto!important}.legal-os-shell .top-actions .icon-button{padding-inline:8px;display:inline-flex}.legal-os-shell .top-actions .utility-create{margin-inline-end:2px;padding-inline:10px}.legal-os-shell .utility-account,.legal-os-shell .utility-assistant span{display:none}.legal-os-shell .top-actions .alert-button b{min-width:18px;height:18px;padding:0 3px;font-size:11px}.legal-os-shell .date-label{font-size:12px}.legal-os-shell .record-head,.legal-os-shell .finance-record-head,.legal-os-shell .document-head{display:none}.legal-os-shell .record-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:16px}.legal-os-shell .record-row .contact-stack{grid-area:2/1}.legal-os-shell .record-row .record-number{grid-area:3/1}.legal-os-shell .record-row>.row-arrow{grid-area:1/2}.legal-os-shell .finance-record-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px}.legal-os-shell .finance-record-row>div:nth-child(2){grid-area:2/1;display:grid}.legal-os-shell .finance-record-row>.row-arrow{grid-area:3/2;display:inline-flex}.legal-os-shell .document-row{grid-template-columns:minmax(0,1fr) auto;gap:14px}.legal-os-shell .document-row .document-name,.legal-os-shell .document-row .document-matter,.legal-os-shell .document-row .document-intelligence{grid-column:1/-1}.legal-os-shell .document-row .document-size{grid-column:1;display:block}.legal-os-shell .document-row .document-actions{grid-column:2}.legal-os-shell .task-card{padding:16px}.legal-os-shell .task-card-top{flex-direction:column;align-items:stretch;gap:8px}.legal-os-shell .task-actions{justify-content:flex-start}.legal-os-shell .task-footer{flex-wrap:wrap}.legal-os-shell .task-title-wrap h3{font-size:16px}.legal-os-shell .office-datetime{padding:12px}.legal-os-shell .office-datetime-inputs{grid-template-columns:minmax(0,1fr);gap:12px}.legal-os-shell .office-datetime .date-input{grid-template-columns:minmax(42px,.8fr) minmax(0,2.5fr) minmax(60px,1.2fr);width:100%;display:grid!important}.legal-os-shell .office-datetime .date-input>input,.legal-os-shell .office-datetime .date-input>select{min-width:0;max-width:none;min-height:48px;width:100%!important}.legal-os-shell .office-datetime .date-input-hijri{grid-column:1/-1}.legal-os-shell .office-datetime input{padding-inline:6px;font-size:16px}.legal-os-shell .date-shortcuts span{flex-basis:100%}.legal-os-shell .audit-date-filters label{flex:140px}.legal-os-shell .intelligence-workspace{margin-top:8px}.legal-os-shell .intelligence-workspace .page-heading h2{font-size:23px}.legal-os-shell .agent-command-form{grid-template-columns:1fr;gap:8px;padding:14px;display:grid}.legal-os-shell .agent-command .agent-command-actions{justify-content:space-between;width:100%}.legal-os-shell .agent-command .agent-command-actions>button{flex:none}.legal-os-shell .agent-context label{gap:6px;display:grid}.legal-os-shell .agent-context select{width:100%;max-width:100%}.legal-os-shell .agent-examples{grid-template-columns:1fr;padding-block:18px}.legal-os-shell .agent-examples button{min-height:90px;padding:16px}.legal-os-shell .agent-command>.agent-result-panel,.legal-os-shell .legal-home.day-workspace .day-assistant .agent-command>.agent-result-panel{padding:16px}.legal-os-shell .legal-home.day-workspace .day-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.legal-os-shell .legal-home.day-workspace .day-feature{padding:18px}.legal-os-shell .legal-home.day-workspace .day-feature h2{font-size:20px}.legal-os-shell .legal-home.day-workspace .day-assistant{padding:16px 0}}.legal-os-shell .task-card .task-description{min-height:0;margin:8px 0 12px}.legal-os-shell .task-card .task-status,.legal-os-shell .task-card .task-priority-label{background:#f0f3ed;border:0;border-radius:6px;padding:3px 10px;font-size:13px}.legal-os-shell .task-card .task-due{background:0 0;border:0;padding:3px 0}.legal-os-shell .legal-home.day-workspace .compact-matter-list em{background:0 0;border:1px solid #cfdbd0;border-radius:6px;align-items:center;padding:2px 8px;line-height:1.8;display:inline-flex}.legal-os-shell .legal-home.day-workspace .day-assistant{margin-bottom:18px}html[dir=ltr] .timeline-event-head time{direction:ltr}
