.workspace-back{display:flex;align-items:center;gap:8px;min-height:44px;margin:2px 0 0;padding:8px 12px;color:var(--muted);font-size:13px;border-radius:6px}
.workspace-back:hover{background:var(--surface-subtle);color:var(--brand)}
.workspace-back:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.workspace-back svg{width:16px;height:16px;flex-shrink:0;transform:rotate(180deg)}
.workspace-context{font-size:12px;background:var(--brand-soft);color:var(--brand);padding:5px 9px;border-radius:6px;white-space:nowrap}
.workspace-company-note{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 24px;margin-bottom:24px;background:var(--brand-soft);border:1px solid var(--line);border-radius:8px}
.workspace-company-note p{font-size:12px;color:var(--muted);line-height:1.8;margin:9px 0 0}
.workspace-role-labels{display:flex;gap:7px;flex-wrap:wrap}
.workspace-role-labels span{font-size:12px;background:#fff;color:var(--brand);padding:5px 9px;border:1px solid var(--line);border-radius:6px}
.workspace-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.workspace-module{display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px;min-width:0}
.workspace-module>svg{width:24px;height:24px;color:var(--brand);flex-shrink:0}
.workspace-module strong{font-size:14px;display:block;color:var(--ink);line-height:1.7}
.workspace-module small{font-size:12px;display:block;color:var(--muted);line-height:1.8;margin-top:5px}
.workspace-module:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.workspace-loading{padding:48px 20px;text-align:center;font-size:14px;color:var(--muted)}
.workspace-current-scope{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 20px}
@media(max-width:1150px){.workspace-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace-context{display:none}
}
@media(max-width:650px){.workspace-company-note{padding:18px;flex-direction:column}
.workspace-module-grid{grid-template-columns:1fr;gap:12px}
.workspace-module{padding:18px}
.workspace-company-note p{margin-top:7px}
}
/* Workbenches prioritize tasks and compact destinations. Personal assets live in the personal center. */
.workbench{max-width:1320px;margin:0 auto}
.workbench-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}
.workbench-heading h1{font-size:22px;font-weight:600;line-height:1.4;margin:0;color:var(--ink)}
.workbench-heading-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}
.workbench-heading-actions .btn{font-size:14px;min-height:36px;padding:7px 14px}
.workbench-center-link{font-size:12px;color:var(--muted);white-space:nowrap}
.workbench-section{margin:0 0 20px}
.workbench-section h2{font-size:15px;font-weight:600;color:var(--ink);line-height:1.6;margin:0 0 10px}
.workbench-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.workbench-section-heading h2{margin:0}
.workbench-section-heading>div{display:flex;gap:14px;font-size:12px;color:var(--muted)}
.workbench-links{display:grid;grid-template-columns:repeat(var(--workbench-columns,4),minmax(0,1fr));gap:1px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--line)}
.workbench-link{display:flex;align-items:center;gap:11px;text-align:left;min-height:56px;background:#fff;padding:12px 16px;min-width:0;color:var(--ink);font-size:14px;line-height:1.5}
.workbench-link svg{width:19px;height:19px;flex-shrink:0;color:var(--brand)}
.workbench-link span{min-width:0;overflow-wrap:anywhere}
.workbench-link:hover{background:var(--surface-subtle)}
.workbench-link:focus-visible,.workbench-center-link:focus-visible,.workbench-section-heading a:focus-visible{outline:2px solid var(--brand);outline-offset:-3px;border-radius:4px}
.workbench-tasks{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.workbench-tasks li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:13px 17px;border-bottom:1px solid var(--line)}
.workbench-tasks li:last-child{border-bottom:0}
.workbench-task-copy{min-width:0}
.workbench-task-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;font-weight:500;color:var(--ink);line-height:1.6;overflow-wrap:anywhere}
.workbench-task-copy small{display:block;font-size:12px;color:var(--muted);margin-top:3px;line-height:1.6;overflow-wrap:anywhere}
.workbench-task-status .badge{font-size:12px;white-space:nowrap}
.workbench-tasks .btn{font-size:12px;min-height:34px;padding:7px 11px}
.workbench-empty{padding:14px 17px;border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--muted);background:var(--surface-subtle)}
.workbench-load-error{padding:12px 15px;margin-bottom:10px;font-size:12px;line-height:1.8;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#b42318}
.workbench-load-error button{font-size:12px;color:var(--brand);text-decoration:underline;margin-left:10px}
/* Company landing: daily actions first, large business entries, then supporting services. */
.workbench-company .workbench-heading{margin-bottom:24px;align-items:flex-start}
.workbench-company .workbench-heading h1{font-size:24px;letter-spacing:.2px}
.workbench-company .workbench-heading p{margin:6px 0 0;color:var(--muted);font-size:13px}
.workbench-company .workbench-heading-actions .btn{min-height:40px}
.workbench-company .workbench-progress{margin-bottom:24px}
.workbench-company .workbench-empty{display:flex;align-items:center;gap:10px;background:#fff;padding:13px 16px}
.company-home-clear{width:26px;height:26px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:var(--success-soft);color:var(--success)}
.company-home-clear svg{width:15px;height:15px}
.company-home-feature{display:grid;gap:20px;margin-bottom:24px;align-items:stretch}
.company-home-with-budget{grid-template-columns:minmax(0,2fr) minmax(270px,1fr)}
.company-home-primary{min-width:0}
.company-home-primary>h2,.company-home-panel>h2{font-size:15px;font-weight:600;line-height:1.6;margin:0;color:var(--ink)}
.company-home-primary>h2{margin:0 0 12px}
.company-home-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.company-home-tiles[data-count="1"]{grid-template-columns:1fr}
.company-home-tiles[data-count="3"]>a:last-child{grid-column:1/-1}
.company-home-destination{display:flex;align-items:center;gap:12px;min-width:0;min-height:74px;padding:14px 0;color:var(--ink);border-radius:6px}
.company-home-destination-copy{min-width:0;flex:1}
.company-home-destination strong{display:block;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.company-home-destination small{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
.company-home-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:8px;background:var(--surface-subtle);color:var(--brand)}
.company-home-icon svg{width:20px;height:20px}
.company-home-arrow{display:grid;place-items:center;flex-shrink:0;color:#98a2b3}
.company-home-arrow svg{width:16px;height:16px}
.company-home-tile{min-height:124px;padding:20px;gap:16px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 2px 4px #10182803}
.company-home-tile strong{font-size:16px;font-weight:600}
.company-home-tile>.company-home-icon{width:52px;height:52px;border-radius:12px;background:var(--brand-soft)}
.company-home-tile>.company-home-icon svg{width:29px;height:29px}
.company-home-tile>.company-home-icon-box{background:#eaf7f4;color:#147d70}
.company-home-tile>.company-home-icon-shop{background:#fff3e8;color:#a05a16}
.company-home-tile>.company-home-icon-calendar{background:#f1edff;color:#7154b8}
.company-home-destination:hover strong,.company-home-destination:hover .company-home-arrow{color:var(--brand)}
.company-home-tile:hover{border-color:#b9cff0;box-shadow:0 4px 12px #1664d309}
.company-home-destination:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.company-home-panel{background:#fff;min-width:0;border:1px solid var(--line);border-radius:10px;padding:20px}
.company-home-panel>h2{display:flex;align-items:center;gap:9px;padding-bottom:12px;margin-bottom:2px;border-bottom:1px solid var(--line)}
.company-home-panel>h2 svg{width:18px;height:18px;color:var(--muted);flex-shrink:0}
.company-home-panel nav>a+a{border-top:1px solid var(--line)}
.company-home-panel nav>a:last-child{padding-bottom:0}
.company-home-secondary{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;align-items:start}
.company-home-mobile{display:none}
.union-home{max-width:1120px;margin:0 auto}
.union-home>.workbench-heading p{margin:6px 0 0;color:var(--muted);font-size:13px}
.union-ai{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid #cfddf4;border-radius:10px;background:var(--brand-soft);margin-bottom:24px}
.union-ai-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#fff;color:var(--brand);flex-shrink:0}
.union-ai-icon svg{width:25px;height:25px}
.union-ai>span:nth-child(2){flex:1;min-width:0}
.union-ai strong{display:block;color:var(--brand);font-size:16px;font-weight:600}
.union-ai small{display:block;font-size:12px;color:var(--muted);line-height:1.7;margin-top:3px}
.union-ai>svg{width:18px;height:18px;flex-shrink:0;color:var(--brand)}
.union-home h2{font-size:15px;font-weight:600;margin:0 0 12px}
.union-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}
.union-service{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0}
.union-service-icon{width:40px;height:40px;border-radius:9px;display:grid;place-items:center;color:var(--brand);background:var(--brand-soft)}
.union-service-icon svg{width:23px;height:23px}
.union-service strong{font-size:15px;font-weight:600}
.union-service small{font-size:12px;color:var(--muted);line-height:1.7}
.union-ai:focus-visible,.union-service:focus-visible,.union-categories button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.union-extension{padding:20px;border:1px solid var(--line);border-radius:10px;background:#fff}
.union-extension-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.union-extension-heading h2{margin:0}
.union-extension-heading>span{font-size:12px;color:var(--muted)}
.union-categories{display:flex;gap:8px;margin-bottom:16px;border-bottom:1px solid var(--line);padding-bottom:10px}
.union-categories button{padding:8px 14px;min-height:40px;border-radius:6px;font-size:13px;color:var(--muted)}
.union-categories button[aria-pressed=true]{background:var(--brand-soft);color:var(--brand);font-weight:600}
.union-planned-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.union-planned-grid[hidden]{display:none!important}
.union-planned{padding:16px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;min-width:0}
.union-planned-icon{display:block;color:var(--muted);margin-bottom:6px}
.union-planned-icon svg{width:21px;height:21px}
.union-planned strong{font-size:14px;font-weight:500}
.union-planned-state{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.union-planned p,.union-planning-note{font-size:12px;color:var(--muted);line-height:1.7}
.union-planned p{margin:8px 0 0}
.union-planning-note{margin:12px 0 0}
@media(max-width:800px){
 .union-ai{padding:14px;gap:12px;margin-bottom:20px}
 .union-ai strong{font-size:15px}
 .union-ai-icon{width:38px;height:38px}
 .union-service-grid{gap:8px;margin-bottom:20px}
 .union-service{align-items:center;text-align:center;padding:14px 6px;gap:9px;min-height:100px}
 .union-service strong{font-size:14px}
 .union-service small,.union-planned p{display:none}
 .union-extension{padding:14px}
 .union-categories{gap:4px}
 .union-categories button{flex:1;padding:8px 4px;min-height:44px}
 .union-planned-grid{gap:8px}
 .union-planned{text-align:center;padding:12px 4px}
 .union-planned strong{font-size:13px}
 .union-planned-state{font-size:12px}
}
@media(min-width:801px) and (max-width:1150px){
 .company-home-with-budget{grid-template-columns:1fr}
 .company-home-with-budget>.company-home-panel nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .company-home-with-budget>.company-home-panel nav>a{border-top:0;padding-bottom:0}
}
@media(max-width:800px){
 .workbench-company .workbench-heading{gap:10px;margin-bottom:16px;align-items:center}
 .workbench-company .workbench-heading h1{font-size:22px}
 .workbench-company .workbench-heading p,.workbench-company .workbench-heading-actions a{display:none}
 .workbench-company .workbench-heading-actions{gap:8px}
 .workbench-company .workbench-heading-actions .btn{min-height:44px}
 .company-home-desktop{display:none}
 .company-home-mobile{display:block}
 .workbench-company .workbench-progress{margin-bottom:16px}
 .workbench-company .workbench-progress-empty{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;background:#fff;border:1px solid var(--line);border-radius:8px}
 .workbench-company .workbench-progress-empty .workbench-section-heading{order:2;margin:0;flex-shrink:0}
 .workbench-company .workbench-progress-empty h2{display:none}
 .workbench-company .workbench-progress-empty .workbench-section-heading a{display:flex;align-items:center;min-height:44px}
 .workbench-company .workbench-progress-empty .workbench-empty{border:0;padding:0;min-height:44px;gap:8px}
 .company-home-quick{margin-bottom:16px}
 .company-home-quick>h2{font-size:14px;font-weight:600;margin:0 0 10px}
 .company-home-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 4px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff}
 .company-home-mobile .company-home-destination{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:88px;padding:10px 2px;gap:8px;border:0;border-radius:6px;box-shadow:none;text-align:center;background:transparent}
 .company-home-mobile .company-home-destination-copy{flex:none;max-width:100%}
 .company-home-mobile .company-home-destination strong{font-size:14px;font-weight:500;line-height:1.5}
 .company-home-mobile .company-home-destination small,.company-home-mobile .company-home-arrow{display:none}
 .company-home-mobile .company-home-icon{width:36px;height:36px;border-radius:9px}
 .company-home-mobile .company-home-icon svg{width:22px;height:22px}
 .company-home-management{padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff}
 .company-home-group-switch{display:flex;gap:2px;border-bottom:1px solid var(--line);padding-bottom:6px}
 .company-home-group-switch button{flex:1;min-width:0;min-height:44px;border-radius:6px;padding:7px 4px;color:var(--muted);font-size:12px;line-height:1.5;white-space:nowrap}
 .company-home-group-switch button[aria-pressed=true]{background:var(--brand-soft);color:var(--brand);font-weight:600}
 .company-home-group-switch button:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
 .company-home-group-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding-top:8px}
 .company-home-group-panel[hidden]{display:none!important}
}
@media(max-width:1150px){.workbench-links{grid-template-columns:repeat(var(--workbench-mid-columns,3),minmax(0,1fr))}
.workbench-link{padding:13px 14px}
}
@media(max-width:650px){
 .workbench-heading{margin-bottom:18px;gap:10px}
.workbench-heading h1{font-size:22px;white-space:nowrap}
.workbench-heading-actions{gap:9px}
.workbench-heading-actions .btn{font-size:12px;padding:8px 10px;min-height:44px}
.workbench-heading-actions .btn svg{width:14px;height:14px}
.workbench-center-link{font-size:12px}
 .workbench-section{margin-bottom:20px}
.workbench-section h2{font-size:15px;margin-bottom:10px}
.workbench-section-heading{margin-bottom:9px}
.workbench-section-heading h2{margin:0}
.workbench-section-heading>div{font-size:12px;gap:10px}
 .workbench-links{grid-template-columns:repeat(var(--workbench-mobile-columns,2),minmax(0,1fr));border-radius:8px}
.workbench-link{gap:10px;min-height:56px;padding:12px;font-size:14px}
.workbench-link svg{width:18px;height:18px}
 .workbench-tasks{border-radius:8px}
.workbench-tasks li{padding:12px;gap:8px 10px;grid-template-columns:minmax(0,1fr) auto}
.workbench-task-copy{grid-column:1;grid-row:1/3}
.workbench-task-copy strong{font-size:14px}
.workbench-task-copy small{font-size:12px}
.workbench-task-status{grid-column:2;justify-self:end}
.workbench-tasks .btn{grid-column:2;justify-self:end;font-size:12px;min-height:44px;padding:6px 10px}
 .workbench-empty{padding:12px;font-size:12px}
.workbench-load-error{font-size:12px;padding:10px 12px}
}
