/* Lawyer-only shell. Public/customer/admin typography and business controls stay untouched. */
html body.dj-lawyer-page,html body .dj-lawyer-page {--dj-font:"SimHei","黑体","Noto Sans CJK SC","Microsoft YaHei",sans-serif;--dj-rail:64px;box-sizing:border-box;padding:0 0 0 var(--dj-rail);margin:0;max-width:none;background:#f7faf8!important;color:#24483e!important;font:16px/1.6 var(--dj-font)!important}
html body.dj-lawyer-page *,html body .dj-lawyer-page * {box-sizing:border-box;font-family:var(--dj-font)!important;font-weight:400!important}
html body.dj-lawyer-page :is(h1,h2,h3,h4,h5,h6,strong,b,th,legend),html body .dj-lawyer-page :is(h1,h2,h3,h4,h5,h6,strong,b,th,legend) {font-weight:700!important}
html body.dj-lawyer-page :is(h1,h2,h3,h4,h5,h6),html body .dj-lawyer-page :is(h1,h2,h3,h4,h5,h6) {font-size:18px!important}
html body.dj-lawyer-page :is(p,li,td,label,input,select,textarea,button,a,summary),html body .dj-lawyer-page :is(p,li,td,label,input,select,textarea,button,a,summary){font-size:16px!important}
html body.dj-lawyer-page :is(small,th,.dw-muted,.wb-meta),html body .dj-lawyer-page :is(small,th,.dw-muted,.wb-meta){font-size:14px!important}
.dj-lawyer-page [hidden]{display:none!important}.dj-lawyer-page :focus-visible{outline:2px solid #d18100!important;outline-offset:3px}
[data-lawyer-navigation]>.lc-sprite{position:absolute;width:0;height:0;overflow:hidden}
.dj-lawyer-page .lc-sidebar{position:fixed;inset:0 auto 0 0;width:var(--dj-rail);z-index:100;padding:16px 8px;background:#24483e!important;color:#fff!important;overflow:hidden auto;transition:width 160ms ease;display:flex;flex-direction:column;gap:8px;border:0}
.dj-lawyer-page .lc-sidebar[data-expanded=true]{width:224px;box-shadow:6px 0 16px #24483e22}
.dj-lawyer-page .lc-sidebar *{color:inherit!important}.dj-lawyer-page .lc-sidebar svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dj-lawyer-page .lc-brand{display:flex;align-items:center;gap:12px;padding:0 4px 8px;white-space:nowrap;text-decoration:none}.dj-lawyer-page .lc-brand img{width:32px;height:40px;object-fit:contain;flex:none}.dj-lawyer-page .lc-brand strong{display:block}.dj-lawyer-page .lc-brand small{display:block}
.dj-lawyer-page .lc-sidebar nav{display:grid;gap:6px}.dj-lawyer-page .lc-sidebar :is(nav a,nav button,.lc-toggle){display:flex;align-items:center;gap:12px;width:100%;height:44px;padding:10px 12px;white-space:nowrap;text-decoration:none;border:0;border-radius:7px;background:transparent!important;text-align:left;cursor:pointer}
.dj-lawyer-page .lc-sidebar nav :is(a:hover,[aria-current]){background:#ffffff22!important;color:#fff!important}.dj-lawyer-page .lc-sidebar [disabled]{opacity:.6;cursor:not-allowed}
.dj-lawyer-page .lc-label{opacity:0;visibility:hidden;white-space:nowrap}.dj-lawyer-page .lc-sidebar[data-expanded=true] .lc-label{opacity:1;visibility:visible}.dj-lawyer-page .lc-sidebar[data-expanded=true] .lc-toggle svg{transform:rotate(180deg)}
.dj-lawyer-page .lc-workspace{margin:0;min-width:0}.dj-lawyer-page .dj-lawyer-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;height:auto;padding:12px 24px;border-bottom:1px solid #d9e3dd;background:#fff!important;max-width:none;margin:0}
.dj-lawyer-page .dj-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;min-width:0}.dj-lawyer-page .dj-top-title{white-space:nowrap;color:#24483e;text-decoration:none}.dj-lawyer-page .dj-top-actions button{min-height:40px;border:1px solid #d9e3dd;border-radius:7px;background:white;padding:6px 12px;color:#24483e}
.dj-lawyer-page main,.dj-lawyer-page .dw-shell{max-width:none;min-width:0}.dj-lawyer-page .lc-workspace>.dw-shell,.dj-lawyer-page>main,.dj-lawyer-page>section.dw-shell{padding:20px 24px;margin:0;width:100%}
.dj-lawyer-page .lc-stats{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.dj-lawyer-page .lc-stat{display:inline-flex;align-items:center;gap:10px;min-height:40px;height:40px;padding:6px 12px;border:1px solid #d9e3dd;background:#fff;border-radius:7px}.dj-lawyer-page .lc-stat strong{font-size:16px!important}.dj-lawyer-page .lc-stat:hover{border-color:#24483e}
.dj-lawyer-page .dw-top{margin-bottom:8px}.dj-lawyer-page .dw-top p{margin:4px 0}.dj-lawyer-page #message:empty{display:none}.dj-lawyer-page .lc-filters{padding-top:12px}.dj-lawyer-page .lc-list-note{padding-bottom:8px}
.dj-lawyer-page .dw-card,.dj-lawyer-page .panel{border-color:#d9e3dd;border-radius:10px;background:#fff}.dj-lawyer-page .dw-grid{min-width:0}.dj-lawyer-page .dw-card{overflow-x:auto}.dj-lawyer-page .dj-account-popover a,.dj-lawyer-page .dj-account-popover p{padding:8px 12px;margin:0;text-decoration:none}.dj-lawyer-page .dj-account-popover p{max-width:260px;overflow-wrap:anywhere}
.dj-lawyer-page.lawyer-portal-page>.lawyer-portal-shell{width:100%;max-width:none;margin:0;padding:20px 24px}.dj-lawyer-page.lawyer-portal-page .case-brand,.dj-lawyer-page.lawyer-portal-page .case-nav{display:none}.dj-lawyer-page.lawyer-portal-page .case-topbar-inner{margin:0;width:100%}
.dj-lawyer-page .wb-integrated{margin:8px 0}.dj-lawyer-page .wb-attention,.dj-lawyer-page .wb-continue{border:1px solid #d9e3dd;border-radius:8px;background:white;padding:8px 12px;margin:6px 0}.dj-lawyer-page .wb-attention>summary{font-weight:700!important}.dj-lawyer-page .wb-attention section{margin:12px 0}.dj-lawyer-page .wb-attention [data-risk]{border-left:3px solid #d18100;padding-left:12px}.dj-lawyer-page .wb-continue{padding-block:6px}
.dj-lawyer-page dialog[data-notifications]{position:fixed;inset:0 0 0 auto;width:min(500px,calc(100vw - 16px));max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:20px;border:1px solid #d9e3dd;background:white;color:#24483e;overflow:auto}.dj-lawyer-page dialog::backdrop{background:#10261f44}
.dj-lawyer-page [data-open-notifications].wb-nudge{animation:wb-attention 900ms ease-in-out 3}.dj-lawyer-page[data-reduced-motion=true] .lc-sidebar,.dj-lawyer-page[data-reduced-motion=true] .wb-nudge{transition:none;animation:none}
.dj-lawyer-page .security-icon{background:#edf3ef!important;color:#24483e!important}.dj-lawyer-page .security-note{background:#f7faf8;color:#24483e}
@media(prefers-reduced-motion:reduce){.dj-lawyer-page .lc-sidebar,.dj-lawyer-page .wb-nudge{transition:none!important;animation:none!important}}
@media(max-width:760px){html body.dj-lawyer-page,html body .dj-lawyer-page{--dj-rail:52px}.dj-lawyer-page .lc-sidebar{padding:12px 4px}.dj-lawyer-page .lc-sidebar :is(nav a,nav button,.lc-toggle){padding-inline:10px}.dj-lawyer-page .dj-lawyer-topbar{padding:8px 12px;gap:8px;flex-wrap:wrap}.dj-lawyer-page .dj-top-actions{gap:8px}.dj-lawyer-page .lc-workspace>.dw-shell,.dj-lawyer-page>main,.dj-lawyer-page>section.dw-shell{padding:16px 12px}.dj-lawyer-page .wb .wb-panel{padding:12px}.dj-lawyer-page .dw-top{flex-wrap:wrap}.dj-lawyer-page .lc-pagination{padding:12px;gap:8px}.dj-lawyer-page .lc-pagination label{white-space:normal}.dj-lawyer-page .lc-date-range{flex-wrap:wrap}.dj-lawyer-page .lc-stats{gap:6px}.dj-lawyer-page .lc-stat{padding-inline:8px}.dj-lawyer-page .dw-form{grid-template-columns:minmax(0,1fr)}.dj-lawyer-page .dw-grid{display:block}.dj-lawyer-page .dw-grid>.dw-card{margin-bottom:12px}.dj-lawyer-page .tabs{display:flex;overflow:auto}.dj-lawyer-page .tabs button{flex-shrink:0}}

/* Small contrast plate keeps the existing dark-green logo readable on the rail. */
.dj-lawyer-page .lc-brand img{background:#fff;border-radius:4px}
.dj-lawyer-page :is(.dw-error,.notice.error,[role=alert]){color:#a12b25!important}
