/* The employee hub shares the approved DaBuzz identity with Accounting. */
.accounting-nav{display:flex;align-items:stretch;gap:0;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid var(--line);margin:-5px 0 28px;padding:0 0 1px;white-space:nowrap}.account-nav-item{display:flex;align-items:center;gap:8px;flex-shrink:0;min-height:48px;padding:10px 15px;border:0;border-bottom:2px solid transparent;background:#000;color:var(--muted);font-size:14px}.account-nav-item:first-child{padding-left:0;padding-right:18px}.account-nav-item:hover{color:#fff}.account-nav-item.active{border-color:var(--accent);color:var(--accent)}.account-nav-item .nav-count{font-size:12px;min-width:23px;text-align:center;background:var(--surface);padding:1px 4px;color:var(--muted);margin:0}.sidebar nav{gap:5px}.sidebar .nav-item{min-height:48px}.hub-workspace .page-header{margin-bottom:24px}.hub-workspace .page-header h1{font-size:44px}.hub-workspace .page-description{max-width:600px}.hub-workspace .page-footer{margin-top:32px;border-top:1px solid var(--line)}
.hub-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:0 0 24px;margin-bottom:24px}.hub-toolbar .filter-field{flex:0 1 200px;min-width:170px}.hub-toolbar .filter-field input,.hub-toolbar .filter-field select{width:100%;background:var(--surface)}.hub-toolbar .hub-search{flex:1 1 220px;max-width:360px}.hub-toolbar-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.hub-toolbar-actions .text-button{min-height:44px}.hub-view{max-width:1600px}.hub-welcome{display:flex;justify-content:space-between;align-items:center;gap:32px;min-height:116px;padding:8px 0 28px;border-bottom:1px solid var(--line);margin-bottom:32px}.hub-welcome h2{font-size:32px;line-height:1.06;margin-bottom:12px}.hub-welcome p{color:var(--muted);margin:0;max-width:580px;line-height:1.55}.hub-welcome img{flex-shrink:0;object-fit:contain;width:80px;height:80px;margin-left:24px}.hub-section-head{display:flex;justify-content:space-between;align-items:start;gap:24px;margin-bottom:20px}.hub-section-head h2{font-size:26px;margin-bottom:9px}.hub-section-head p{font-size:14px;color:var(--muted);margin:0}.hub-section-head>.text-button{flex-shrink:0;min-height:44px;margin-top:-9px}.hub-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:32px;margin-bottom:40px}.hub-task-panel,.hub-agenda{min-width:0}.hub-agenda{border-left:1px solid var(--line);padding-left:28px}.hub-task-list,.hub-date-list{list-style:none;margin:0;padding:0}.hub-task-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:4px 8px;align-items:center;border-top:1px solid var(--line);padding:14px 0;min-height:94px}.hub-task-row:last-child{border-bottom:1px solid var(--line)}.hub-check{display:flex;align-items:center;justify-content:center;background:none;border:0;padding:0;align-self:start;margin-top:0;width:44px;min-height:44px;color:var(--accent);font-size:21px}.hub-check-box{display:block;border:1px solid var(--muted);width:20px;height:20px}.hub-check:hover .hub-check-box{border-color:var(--accent);background:var(--surface)}.hub-task-copy,.hub-date-copy,.hub-case-copy{background:none;border:0;text-align:left;padding:0;display:block;min-width:0;min-height:44px}.hub-task-copy:hover .hub-task-title,.hub-date-copy:hover .hub-event-title,.hub-case-copy:hover h3{color:var(--accent)}.hub-task-title{display:block;font-size:16px;line-height:1.4;overflow-wrap:anywhere;margin:0 0 7px}.hub-task-meta{display:flex;gap:6px 14px;flex-wrap:wrap;color:var(--muted);font-size:13px;line-height:1.5}.hub-task-meta>span{border-left:1px solid var(--line);padding-left:14px}.hub-task-end{display:flex;flex-direction:column;align-items:end;gap:8px;padding-left:8px;font-size:13px}.hub-status{display:inline-flex;align-items:center;min-height:25px;padding:2px 8px;border:1px solid var(--line);color:var(--muted);font-size:12px;white-space:nowrap}.hub-status-active{border-color:var(--accent);color:var(--accent)}.hub-due{font-size:12px;color:var(--muted);white-space:nowrap}.hub-due.is-overdue{color:var(--danger)}.hub-task-row.is-done .hub-task-title{color:var(--muted);text-decoration:line-through}.hub-more{display:block;min-height:48px;background:var(--surface);color:var(--accent);border:0;width:100%;padding:12px;text-align:left;font-size:14px}.hub-more:hover{color:#fff}.hub-date-row{display:flex;align-items:start;gap:16px;padding:17px 0;border-top:1px solid var(--line);min-height:98px}.hub-date-row:last-child{border-bottom:1px solid var(--line)}.hub-date-block{width:46px;flex-shrink:0;padding-top:1px;font-variant-numeric:tabular-nums;text-align:center}.hub-date-block>span{display:block;font-size:31px;font-weight:300;font-stretch:87.5%;line-height:1.05;letter-spacing:-.025em}.hub-date-block small{display:block;color:var(--muted);font-size:13px;line-height:1.4;margin-top:5px}.hub-date-copy{padding:0;flex:1}.hub-event-title{display:block;font-size:15px;line-height:1.45;overflow-wrap:anywhere;margin-bottom:5px}.hub-date-copy>span:not(.hub-event-title){display:block;color:var(--muted);font-size:13px;line-height:1.55}.hub-agenda-note{font-size:12px;line-height:1.6;color:var(--muted);margin-top:16px}.hub-stories{margin-bottom:40px}.hub-case-row{display:grid;grid-template-columns:minmax(100px,.5fr) minmax(0,2fr) auto;gap:24px;align-items:start;border-top:1px solid var(--line);padding:24px 0}.hub-case-row:last-child{border-bottom:1px solid var(--line)}.hub-case-client{font-size:14px;color:var(--muted);padding-top:4px;overflow-wrap:anywhere}.hub-case-copy h3{font-size:25px;margin:0 0 10px;line-height:1.1}.hub-case-copy p{margin:0;color:var(--muted);font-size:14px;line-height:1.6;max-width:720px;overflow-wrap:anywhere}.hub-case-status{display:flex;flex-direction:column;align-items:end;gap:12px}.hub-case-status .text-button{font-size:13px;min-height:44px}.hub-accounting-gateway{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--line);background:var(--surface);padding:24px}.hub-accounting-gateway h2{font-size:26px;margin:0 0 10px}.hub-accounting-gateway p{margin:0;color:var(--muted);font-size:14px;max-width:500px}.hub-accounting-gateway>div:last-child{display:flex;align-items:center;gap:12px;flex-shrink:0}.hub-empty{padding:32px 12px 36px;max-width:640px}.hub-empty h3{font-size:24px;margin-bottom:12px}.hub-empty p{color:var(--muted);line-height:1.65;max-width:430px;margin-bottom:16px}.hub-agenda .hub-empty{padding:16px 0 22px}.hub-empty .text-button{font-size:14px;min-height:44px}.hub-list-heading{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:14px;margin:0 0 24px;line-height:1.55}.hub-list-heading p{color:#fff;margin:0}.hub-employee-section{margin-bottom:32px}.hub-employee-heading{display:flex;align-items:center;gap:16px;min-height:72px;padding-bottom:20px}.hub-person-avatar{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:var(--surface);border:1px solid var(--line);font-size:14px;color:var(--accent);flex-shrink:0}.hub-employee-heading h2{font-size:26px;margin:0 0 7px}.hub-employee-heading p{font-size:13px;color:var(--muted);margin:0}.hub-employee-heading>.text-button{margin-left:auto;font-size:13px}.hub-empty-employee{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);color:var(--muted)}.hub-empty-employee p{margin:0}.hub-calendar-month{display:grid;grid-template-columns:160px minmax(0,1fr);gap:32px;margin-bottom:32px}.hub-calendar-month>h2{font-size:26px;padding-top:17px}.hub-calendar-month .hub-date-row{padding:20px 0}.hub-calendar-month .hub-date-copy .hub-event-title{font-size:18px}.hub-dialog .hub-required{color:var(--muted);font-size:12px}.hub-dialog .drawer-header h2{margin:8px 0 10px}.hub-dialog .drawer-header p{max-width:450px}.hub-dialog .field-grid{margin-top:8px}.hub-dialog .form-error{outline:0}.hub-dialog .form-error:focus{border-left:2px solid var(--danger);padding-left:12px}.hub-case-detail p{white-space:pre-wrap;line-height:1.75;overflow-wrap:anywhere}.hub-case-detail h3{font-size:23px}.hub-dialog .drawer-actions .button{white-space:nowrap}.hub-dialog input[type=date]{min-width:0}
@media(min-width:1600px){.hub-welcome{padding-top:16px;padding-bottom:36px}.hub-dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(320px,1fr);gap:48px}.hub-agenda{padding-left:40px}.hub-task-row{padding:18px 0}.hub-case-row{padding:28px 0}.hub-accounting-gateway{padding:28px}}
@media(max-width:1250px){.hub-dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(245px,1fr);gap:24px}.hub-agenda{padding-left:24px}.hub-task-end{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;padding-left:0;margin-top:6px}.hub-task-copy{padding-right:8px}.hub-task-row{grid-template-columns:38px minmax(0,1fr);gap:0 8px}.hub-check{width:38px;grid-row:1/3}.hub-accounting-gateway{align-items:start}.hub-accounting-gateway>div:last-child{flex-direction:column;align-items:stretch}.hub-accounting-gateway .button{font-size:13px}.hub-section-head h2{font-size:25px}.hub-section-head{gap:10px}.hub-toolbar .filter-field{flex-basis:180px}}
@media(max-width:900px){.sidebar .nav-item{min-height:44px}.accounting-nav{margin-top:0}.hub-workspace .page-header h1{font-size:40px}.hub-task-row{grid-template-columns:44px minmax(0,1fr) auto}.hub-task-end{grid-column:auto;flex-direction:column;align-items:end;justify-content:start;padding-left:8px;margin:0}.hub-check{grid-row:auto;width:44px}.hub-dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr)}.hub-welcome h2{font-size:30px}.hub-task-title{font-size:15px}.hub-task-meta{font-size:12px}.hub-section-head h2{font-size:24px}.hub-case-row{gap:20px}.hub-case-copy h3{font-size:24px}.hub-toolbar-actions{gap:16px}}
@media(max-width:760px){.hub-dashboard-grid{grid-template-columns:1fr;gap:32px;margin-bottom:32px}.hub-agenda{border-left:0;padding-left:0}.hub-agenda .hub-date-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.hub-agenda .hub-date-row:last-child{border-bottom:0}.hub-agenda .hub-date-list{border-bottom:1px solid var(--line)}.hub-agenda .hub-empty{padding:20px 0}.hub-welcome{gap:16px}.hub-welcome img{width:64px;height:64px;margin-left:8px}.hub-welcome h2{font-size:29px;max-width:440px}.hub-stories{margin-bottom:32px}.hub-case-row{grid-template-columns:120px minmax(0,1fr);gap:10px 20px}.hub-case-status{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center;gap:16px}.hub-case-status .text-button{margin-top:0}.hub-accounting-gateway{display:block}.hub-accounting-gateway>div:last-child{flex-direction:row;align-items:center;margin-top:20px}.hub-calendar-month{grid-template-columns:130px minmax(0,1fr);gap:24px}.hub-toolbar .filter-field{flex:1 1 150px;max-width:none}.hub-toolbar-actions{flex-basis:100%;margin-left:0;justify-content:space-between}.hub-toolbar{gap:16px;padding-bottom:16px}.hub-list-heading{flex-wrap:wrap;gap:8px}}
@media(max-width:640px){.hub-workspace .page-header h1{font-size:38px}.hub-welcome{padding:4px 0 24px;align-items:start;margin-bottom:28px}.hub-welcome h2{font-size:28px}.hub-welcome p{font-size:14px}.hub-welcome img{width:56px;height:56px;margin-top:4px}.hub-task-row{grid-template-columns:36px minmax(0,1fr);gap:0 8px}.hub-task-end{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;padding:0;margin-top:10px}.hub-check{grid-row:1/3;width:36px}.hub-task-title{font-size:16px}.hub-task-meta{font-size:13px}.hub-agenda .hub-date-list{grid-template-columns:1fr}.hub-section-head h2{font-size:25px}.hub-case-row{grid-template-columns:1fr;gap:12px;padding:23px 0}.hub-case-client{padding:0;font-size:13px}.hub-case-status{grid-column:1;gap:16px}.hub-case-copy h3{font-size:25px}.hub-case-copy p{font-size:14px}.hub-case-status .text-button{min-height:44px}.hub-accounting-gateway{padding:22px 20px}.hub-accounting-gateway>div:last-child{align-items:stretch;flex-direction:column;gap:10px}.hub-accounting-gateway .button{font-size:14px}.hub-calendar-month{display:block;margin-bottom:24px}.hub-calendar-month>h2{padding:0;margin-bottom:20px}.hub-empty-employee{display:block;padding:20px 16px}.hub-empty-employee p{margin-bottom:12px}.hub-employee-heading{gap:12px}.hub-employee-heading h2{font-size:25px}.hub-employee-heading>.text-button{max-width:90px;text-align:right;line-height:1.4}.hub-toolbar .hub-search{flex-basis:100%}.hub-dialog .drawer-actions{align-items:start}.hub-dialog .drawer-actions .save-state{max-width:100px}.hub-workspace .page-footer{font-size:12px}.account-nav-item{padding-left:13px;padding-right:13px}.hub-dialog .field-grid{grid-template-columns:1fr}.hub-dialog .drawer-actions .button{font-size:13px;padding:11px 12px}}
@media(prefers-reduced-motion:reduce){.hub-dialog[open]{animation:none}}
.finance-card>details>summary{min-height:44px;padding:12px 0;cursor:pointer;color:var(--accent)}

.hub-task-meta .hub-suggestion{font-size:12px;color:var(--muted)}.hub-date-copy>span.hub-event-range{font-size:12px;margin-top:5px}
