/* Authenticated workspace shell. The existing import and login styles remain shared. */
.app-shell{--shell-green:#008366;--shell-text:#1e2e32;--shell-muted:#86918f;background:#f5f8f7;color:var(--shell-text);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px}
.app-shell button{font-weight:400}.ui-icon{flex-shrink:0;vertical-align:middle}.app-sidebar{position:fixed;inset:0 auto 0 0;width:236px;display:flex;flex-direction:column;background:#fff;border-right:1px solid #e3e8e6;padding:29px 18px 0;z-index:20;overflow-y:auto}
.axiom-brand{display:flex;align-items:center;gap:11px;color:var(--shell-green);margin:0 10px 25px;text-decoration:none}.axiom-brand:hover{text-decoration:none}.axiom-brand>span{font-size:29px;font-weight:700;letter-spacing:-1px;color:#182c31}.brand-dot{color:var(--shell-green)}
.practice-switch{display:flex;align-items:center;text-align:left;width:100%;gap:10px;padding:13px 11px;background:#fff!important;color:var(--shell-text);border:1px solid #e1e7e4;border-radius:5px;min-height:75px;margin-bottom:27px}.practice-switch>span:nth-child(2){flex:1;min-width:0}.practice-switch strong{display:block;font-size:12px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.practice-switch small{display:block;font-size:10px;color:var(--shell-muted);margin-top:3px}.practice-switch>.ui-icon{width:12px;color:#8a9691}.practice-icon{background:#f5f8f7;border:1px solid #e2e8e5;border-radius:5px;padding:6px;display:grid;place-items:center}.practice-icon .ui-icon{width:17px;height:17px}
.app-nav{display:flex;flex-direction:column;gap:5px}.app-shell .nav-item{display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:12px;width:100%;min-height:44px;padding:11px 12px;border:0;background:transparent;color:#75827e;border-radius:5px;font-size:12px;line-height:1.5;text-decoration:none}.nav-item .ui-icon{width:17px;height:17px}.app-shell .nav-item:hover{background:#f0f7f3;filter:none;color:#007c62}.app-shell .nav-item.is-active{background:#dff3e9;color:#008269;font-weight:600}.nav-count{margin-left:auto;font-size:10px}.nav-heading{margin:19px 12px 8px;color:#7a8984;font-size:9px;font-weight:600;letter-spacing:1.2px}.sidebar-bottom{margin-top:auto;padding-top:35px}.demo-space{display:flex;gap:10px;align-items:center;margin:13px 3px 0;padding:20px 10px 22px;border-top:1px solid #e4eae6;color:#8b9692;font-size:10px;line-height:1.6}.demo-space .ui-icon{width:15px;height:15px}
.app-main{margin-left:236px;min-height:100vh}.app-header{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border-bottom:1px solid #e2e8e5;padding:0 32px}.breadcrumbs{display:flex;align-items:center;gap:17px;font-size:10px;white-space:nowrap;color:#8b9690}.breadcrumbs strong{font-weight:500;color:#263933;max-width:240px;overflow:hidden;text-overflow:ellipsis}.header-actions{display:flex;align-items:center;gap:20px}.app-shell .global-search{display:flex;gap:10px;align-items:center;padding:7px 11px;border:1px solid #e0e7e3;background:#f6f8f7;color:#87958e;border-radius:5px;font-size:10px;white-space:nowrap}.global-search .ui-icon{height:15px;width:15px}.global-search kbd{font:9px inherit;border:1px solid #e1e6e3;padding:0 4px;margin-left:12px;border-radius:2px}.app-shell .icon-button{background:transparent;border:0;padding:6px;line-height:1;color:#7e8c84;display:inline-flex;align-items:center;justify-content:center;border-radius:5px}.icon-button:hover{background:#f0f6f3}.notification-button{position:relative}.notification-button>span{position:absolute;width:5px;height:5px;border-radius:50%;background:#d64b67;top:4px;right:7px;border:1px solid #fff}.app-shell .profile-button{display:flex;gap:10px;align-items:center;border:0;border-left:1px solid #e7ebe8;padding:0 0 0 20px;background:transparent;color:#283e33;text-align:left}.user-avatar,.tiny-avatar{display:grid;place-items:center;background:#dff4eb;color:#168e72;border-radius:50%;font-size:10px;font-weight:600;width:33px;height:33px;flex-shrink:0}.profile-copy strong{display:block;font-size:10px;font-weight:500;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-copy small{font-size:9px;display:block;color:#8a9890;margin-top:3px}.profile-button>.ui-icon{width:12px;margin-left:10px}.app-shell .shell-logout{border:0;background:transparent;color:#7d8b84;padding:5px 0;font-size:10px}.app-shell #workspace{max-width:1600px;padding:34px 34px 52px;margin:0 auto;outline-offset:-4px}.app-shell #workspace:has(.dashboard){max-width:1580px;padding-top:36px}.app-shell .mobile-menu{display:none}
.dashboard h1{font-size:25px;letter-spacing:-.6px;line-height:1.25;margin:0 0 7px;font-weight:650}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dashboard-heading p{font-size:11px;color:#87958d;margin:0}.dashboard-heading-actions{display:flex;align-items:center;gap:9px}.app-shell .month-button{display:flex;align-items:center;gap:12px;background:#fff;color:#62776b;border:1px solid #dfe5e1;border-radius:5px;padding:8px 11px;font-size:11px;box-shadow:0 1px 2px #1c3c2110}.month-button .ui-icon{width:14px;height:14px}.app-shell .new-document{gap:7px;background:var(--shell-green);border-color:var(--shell-green);font-size:11px;font-weight:500;padding:8px 12px;border-radius:5px}.new-document>span{font-size:18px;line-height:1}.dashboard-demo-note{font-size:10px;color:#72867b;display:flex;align-items:center;gap:7px;margin:14px 0 18px}.dashboard-demo-note>span{width:5px;height:5px;border-radius:50%;background:#8eae9d;flex-shrink:0}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.metric-card{background:#fff;border:1px solid #e1e7e3;border-radius:6px;padding:19px 19px 16px;box-shadow:0 2px 4px #1d312c04;min-width:0}.metric-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:#8b9790}.metric-icon{width:31px;height:31px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.metric-icon .ui-icon{width:17px;height:17px}.mint{color:#178d6a;background:#e1f4e9}.blue{color:#318ce2;background:#e4f1ff}.purple{color:#9776d9;background:#f1ebfd}.amber{color:#bf8c1b;background:#fff3d9}.rose{color:#dc6374;background:#ffebed}.metric-number{font-size:28px;font-weight:650;letter-spacing:-.8px;margin:13px 0 9px;line-height:1.2}.metric-number small{font-size:12px;font-weight:400;color:#84928a;margin-left:4px}.metric-foot{font-size:8px;color:#8b9790;margin:0;line-height:1.7}.metric-foot strong{font-size:8px;font-weight:500;color:#168b68;margin-right:4px}
.dashboard-middle{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);gap:19px;margin-top:23px}.dashboard-panel{background:#fff;border:1px solid #dfe6e1;border-radius:6px;overflow:hidden}.panel-heading{padding:21px 22px 15px;display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.dashboard h2{font-size:13px;font-weight:600;margin:0;line-height:1.5;letter-spacing:-.1px}.panel-heading p{color:#8b988f;font-size:9px;margin:4px 0 0}.chart-legend{display:flex;gap:12px;color:#93a095;font-size:8px;margin-top:2px;white-space:nowrap}.chart-legend span{display:flex;align-items:center;gap:4px}.chart-legend i{background:#00896b;width:5px;height:5px;border-radius:50%}.chart-legend span+span i{background:#87b9a4}.chart-container{padding:6px 22px 0 17px}.finance-chart{display:block;width:100%;height:auto;min-height:188px}.chart-grid{stroke:#e6ece8;stroke-width:1;stroke-dasharray:2 4;fill:none}.chart-labels{fill:#98a49c;font-size:9px;font-family:inherit}.chart-income{fill:none;stroke:#00896b;stroke-width:2.3}.chart-expense{fill:none;stroke:#88bba7;stroke-width:2;stroke-dasharray:4 4}.chart-summary{display:flex;align-items:center;gap:8px;margin:0;border-top:1px solid #e5eae6;font-size:9px;color:#94a095;padding:14px 20px}.chart-summary .ui-icon{color:#419d7c;width:13px;height:13px}.chart-summary strong{color:#5d7567}.tasks-panel{display:flex;flex-direction:column}.tasks-panel .panel-heading{padding-bottom:10px}.dashboard-badge{display:inline-flex;align-items:center;white-space:nowrap;border-radius:3px;padding:3px 6px;font-size:8px;line-height:1.5}.app-shell .dashboard-task{position:relative;display:flex;text-align:left;align-items:flex-start;gap:11px;width:100%;padding:17px 19px;border:0;border-bottom:1px solid #e8ede9;border-radius:0;background:transparent;color:var(--shell-text)}.dashboard-task:hover{background:#fafcfb;filter:none}.task-check{width:13px;height:13px;border:1px solid #dce4df;background:#f7f9f7;border-radius:3px;box-shadow:0 1px 2px #1d312c09;flex-shrink:0;margin-top:2px}.task-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px;flex:1;min-width:0}.task-copy strong{font-size:10px;font-weight:500;line-height:1.55}.task-copy small{color:#939e96;font-size:9px}.task-copy .dashboard-badge{font-size:7px;padding:1px 5px}.tiny-avatar{width:21px;height:21px;font-size:6px;align-self:flex-end}.app-shell .panel-footer-link{background:transparent;border:0;border-radius:0;font-size:9px;color:#4f9a81;padding:12px;width:100%;margin-top:auto;gap:7px}.panel-footer-link .ui-icon{width:12px;height:12px}
.modules-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:25px 0 12px}.modules-heading p{font-size:9px;color:#94a097;margin:0}.dashboard-modules{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.app-shell .module-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;background:#fff;color:var(--shell-text);border:1px solid #e0e7e1;border-radius:5px;padding:16px 15px;min-height:166px;gap:0}.module-card:hover{filter:none!important;border-color:#9bcab6;box-shadow:0 3px 12px #1b473410}.module-card>.metric-icon{margin-bottom:14px;width:29px;height:29px}.module-card>strong{font-size:10px;font-weight:600;line-height:1.5;display:block;margin-bottom:7px}.module-description{font-size:9px;color:#8f9b92;line-height:1.8;margin-bottom:24px}.module-bottom{display:flex;align-items:center;justify-content:space-between;width:100%;gap:7px;font-size:8px;color:#93a096;margin-top:auto}.module-bottom .ui-icon{width:12px;height:12px}
.documents-panel{margin-top:23px}.documents-panel .panel-heading{align-items:center;padding:20px 22px}.app-shell .text-button{display:flex;gap:7px;padding:0;background:transparent;border:0;font-size:9px;color:#499780}.text-button .ui-icon{width:12px;height:12px}.documents-panel table{font-size:10px;white-space:nowrap}.documents-panel th{background:#f6f8f7;font-size:8px;color:#86948a;font-weight:400;border-top:1px solid #e4eae5;padding:12px 20px}.documents-panel td{vertical-align:middle;padding:14px 20px;font-size:10px;border-bottom:1px solid #e5ebe6;color:#8c9990}.documents-panel tbody tr:last-child td{border-bottom:0}.app-shell .document-link{display:inline;padding:0;border:0;background:transparent;font-size:9px;color:#00876f}.document-client{display:flex;align-items:center;gap:11px;color:#253b2e}.client-initials{display:grid;place-items:center;width:26px;height:28px;border-radius:4px;background:#eff3f1;color:#8b9891;font-size:8px}.documents-panel .document-amount{color:#294133;font-variant-numeric:tabular-nums}.app-shell .document-more{border:0;background:transparent;padding:1px 6px;color:#667d6e;font-size:20px;line-height:1}.dashboard-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;color:#91a094;font-size:8px;margin-top:22px}.dashboard-footer>span:last-child{display:flex;gap:12px}
.app-shell .table-wrap{position:relative;max-width:100%}
.preview-dialog{border:1px solid #dbe6df;border-radius:12px;box-shadow:0 22px 80px #123b3026;padding:23px 28px 28px;max-width:460px;width:calc(100% - 36px);color:#213e33}.preview-dialog::backdrop{background:#163e3250;backdrop-filter:blur(2px)}.preview-dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.preview-label{color:#929c7d;font-size:10px;letter-spacing:1.5px;font-weight:600}.preview-dialog h2{font-size:21px;margin-bottom:10px}.preview-dialog p{font-size:14px;line-height:1.8;color:#6e8275;margin-bottom:25px}.preview-dialog>button{background:var(--shell-green);border-color:var(--shell-green);font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1800px){.app-shell #workspace:has(.dashboard){padding-top:42px}.dashboard-middle{grid-template-columns:minmax(0,1.65fr) minmax(350px,1fr)}.dashboard h1{font-size:27px}.metric-card{padding:23px 22px}.metric-number{font-size:31px}.dashboard-modules .module-card{min-height:177px}.dashboard-task{min-height:94px}.chart-container{padding-top:12px}}
@media(max-width:1250px){.app-sidebar{width:214px;padding-right:13px;padding-left:13px}.app-main{margin-left:214px}.app-header{padding:0 23px}.app-shell #workspace{padding:28px 24px 40px}.header-actions{gap:14px}.global-search kbd,.profile-copy,.profile-button>.ui-icon{display:none}.dashboard-middle{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)}.dashboard-modules{gap:9px}.app-shell .module-card{padding:13px 11px}.module-card>strong{font-size:9px}.metric-card{padding:15px 13px}.metric-number{font-size:25px}.metric-top{font-size:9px}.breadcrumbs{gap:10px}.breadcrumbs strong{max-width:180px}.dashboard h1{font-size:23px}}
@media(max-width:1050px){.app-shell .global-search{width:30px;padding:6px;justify-content:center}.global-search>span{display:none}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-middle{grid-template-columns:minmax(0,1fr)}.dashboard-modules{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell .module-card{min-height:155px}.dashboard-heading{align-items:flex-start}.dashboard-heading-actions{flex-wrap:wrap;justify-content:flex-end}.dashboard-heading p{max-width:270px;line-height:1.7}.tasks-panel .dashboard-task{padding:16px 22px}.finance-chart{max-height:300px}}
@media(max-width:760px){.app-sidebar{transform:translateX(-100%);width:236px;transition:transform .18s ease;top:65px;box-shadow:10px 12px 30px #163e3215}.menu-open .app-sidebar{transform:translateX(0)}.app-main{margin-left:0}.app-header{height:65px;padding:0 16px;gap:10px}.app-shell .mobile-menu{display:inline-flex}.breadcrumbs{margin-right:auto}.breadcrumbs>span{display:none}.breadcrumbs strong{max-width:180px;font-size:11px}.header-actions{gap:8px}.app-shell .profile-button{padding-left:8px}.header-actions .global-search{display:none}.app-shell .shell-logout{font-size:9px}.app-shell #workspace,.app-shell #workspace:has(.dashboard){padding:25px 16px 35px}.dashboard-heading{gap:14px;flex-wrap:wrap}.dashboard-heading-actions{justify-content:flex-start}.dashboard-heading p{max-width:none}.dashboard-demo-note{font-size:9px;line-height:1.7}.dashboard-metrics{gap:10px}.metric-top{align-items:flex-start}.metric-icon{width:27px;height:27px}.metric-number{font-size:25px}.metric-foot{font-size:7px}.metric-foot strong{font-size:7px}.dashboard-middle{margin-top:16px;gap:16px}.panel-heading{padding:17px 16px}.chart-legend{gap:8px}.chart-container{padding:6px 13px 0}.finance-chart{min-height:155px}.chart-summary{font-size:8px;padding:12px 15px}.dashboard-modules{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .module-card{padding:15px;min-height:165px}.module-card>strong{font-size:10px}.modules-heading p{max-width:145px;text-align:right;font-size:8px}.documents-panel .panel-heading{padding:17px 15px}.documents-panel td,.documents-panel th{padding:13px 15px}.dashboard-footer{align-items:flex-start;font-size:7px}.dashboard-footer>span:last-child{gap:5px;flex-wrap:wrap;justify-content:flex-end}.notification-button .ui-icon{width:17px}.axiom-brand{margin-top:4px}.dashboard-panel{border-radius:6px}}
@media(prefers-reduced-motion:reduce){.app-sidebar{transition:none}}

/* Primary client action shares the heading row and the client-grid width. */
.clients-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1050px;margin-bottom:8px}
.clients-heading .eyebrow{margin-top:0}.clients-heading .muted{margin-bottom:0}
.clients-heading>.button{flex-shrink:0;white-space:nowrap;gap:7px}
@media(max-width:650px){.clients-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:12px}}

/* Engagement context is shared; its data and professional stages are separate screens. */
.dossier-heading{margin-bottom:24px}.dossier-heading .eyebrow{font-size:10px;letter-spacing:1.2px}.dossier-heading h1{font-size:27px}.dossier-heading .muted{font-size:12px}
.dossier-tabs{display:flex;gap:8px;border-bottom:1px solid #dfe7e2;margin:0 0 25px;padding-bottom:12px;overflow-x:auto;white-space:nowrap}
.dossier-tabs>a,.dossier-tabs>span{display:inline-flex;align-items:center;padding:9px 15px;font-size:12px;border-radius:5px;color:#61786b;text-decoration:none}.dossier-tabs>a:hover{background:#eaf3ee}.dossier-tabs [aria-current=page]{background:#def2e7;color:#008267;font-weight:600}.dossier-tabs [aria-disabled=true]{color:#9da9a1;cursor:not-allowed}
.dossier-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.app-shell .dossier-card{margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px;color:#253d31;text-decoration:none}.dossier-card>.metric-icon{margin-bottom:6px}.dossier-card h2{margin:0}.dossier-card p{font-size:12px;color:#829388;line-height:1.8;margin:0 0 8px}.dossier-card-status{font-size:10px;color:#9a8c6e;background:#faf4e6;padding:3px 8px;border-radius:4px}.dossier-card-status.available{background:#e6f3eb;color:#2b8b63}.dossier-card-link{font-size:11px;color:#168267;margin-top:auto;padding-top:14px}a.dossier-card:hover{border-color:#8db9a2}
.section-placeholder{max-width:900px}.section-placeholder>.metric-icon{margin-bottom:12px}.section-placeholder h2{font-size:21px}.section-placeholder>.muted{font-size:13px;line-height:1.9}.workspace-title h1{font-size:27px}.workspace-title>.muted{font-size:12px}.workspace-choice{max-width:1050px}.workspace-choice h2{font-size:16px}.workspace-choice p{font-size:12px;margin-bottom:0}
@media(max-width:760px){.dossier-heading h1,.workspace-title h1{font-size:23px}.dossier-tabs>a,.dossier-tabs>span{padding:9px 11px;font-size:11px}.dossier-sections{grid-template-columns:minmax(0,1fr);gap:12px}.app-shell .dossier-card{padding:20px}.dossier-tabs{margin-bottom:18px}}
.app-shell a.module-card,.app-shell a.module-card:hover{text-decoration:none}
