/* Workspace-only layout; existing detailed screens retain their styles. */
.workspace-top{height:auto;min-height:76px;flex-wrap:wrap;padding:12px 22px}.workspace-top form{display:flex;flex:1;min-width:220px}.workspace-top .search{width:100%}.header-soon{font-size:12px;color:var(--muted);padding:8px;background:var(--bg);border-radius:10px}.header-soon small{display:block;margin-top:4px}.header-profile{display:flex;align-items:center;gap:12px;max-width:310px}.header-profile b{display:block;overflow-wrap:anywhere}.header-profile small{display:block;color:var(--muted);margin-top:3px}.menu-toggle{width:100%;margin-top:10px}.side .menu-toggle{background:#1d2b44;color:white;border-color:#27334a}.menu-collapsed .side{width:72px;padding:12px 6px}.menu-collapsed .brand div,.menu-collapsed .mobile-nav-label,.menu-collapsed .theme span{display:none}.menu-collapsed .brand{padding:8px 0 18px}.menu-collapsed .nav button{padding:12px}.home-workspace{display:grid;gap:18px}.home-banner{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 32px;border-radius:20px;background:linear-gradient(115deg,#e4ebff,#eee9ff 55%,#d8f5fa);color:#152033;overflow:hidden}.home-banner p{margin:0 0 12px;color:#52617c}.home-banner h1{margin:0 0 12px;font-size:30px;overflow-wrap:anywhere}.home-banner img{width:190px;max-height:125px;object-fit:contain}.home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-metric{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden}.home-metric>button{display:flex;align-items:center;gap:14px;text-align:left;padding:20px;width:100%;border:0;background:none;color:var(--text)}.home-metric strong{display:block;font-size:28px;margin-top:7px}.metric-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eaf0ff;color:#1769ff;font-size:25px;flex-shrink:0}.metric-1 .metric-icon{background:#e1f7ee;color:#078753}.metric-2 .metric-icon{background:#ffebee;color:#ce3652}.metric-3 .metric-icon{background:#eee7ff;color:#7146cb}.home-columns{display:grid;grid-template-columns:minmax(190px,.85fr) minmax(350px,1.6fr) minmax(210px,.9fr);gap:18px;align-items:start}.home-workspace h2{font-size:17px;margin:0 0 16px}.home-workspace .panel{margin:0;min-width:0}.home-right{display:grid;gap:16px;min-width:0}.home-actions{display:grid;gap:10px}.home-actions .btn{text-align:left}.plan-placeholder{text-align:center;padding:34px 0;color:var(--muted)}.plan-placeholder>span{font-size:40px}.home-plan>.btn{width:100%}.home-task-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.home-task-tabs .btn{font-size:12px}.home-task-list{list-style:none;padding:0;margin:0}.home-task-list>li{display:flex;gap:10px;align-items:start;border-bottom:1px solid var(--line);padding:14px 0}.home-task-body{min-width:0;flex:1}.home-task-body p{font-size:12px;margin:7px 0;overflow-wrap:anywhere}.home-task-body .btn{text-align:left;overflow-wrap:anywhere}.home-task-body .task-title{padding:0;min-height:24px;border:0;background:none;font-weight:700}.task-type-icon{color:var(--blue);background:var(--blue2);border-radius:9px;padding:7px}.home-tasks footer{margin-top:14px;text-align:center}.home-bottom{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.home-unassigned{font-size:13px}.dark .home-banner{background:linear-gradient(115deg,#172b4e,#302448,#193c49);color:var(--text)}.dark .home-banner p{color:#b7c8de}.home-metric>button:hover{background:var(--blue2)}
@media(max-width:1200px){.home-columns{grid-template-columns:minmax(200px,.8fr) minmax(320px,1.5fr)}.home-right{grid-column:1/-1;grid-template-columns:1fr 1fr}.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.header-profile{max-width:240px}}
@media(max-width:720px){.workspace-top{padding:10px;gap:8px}.workspace-top form{min-width:0;flex-basis:100%}.header-profile{max-width:none;width:100%;justify-content:space-between}.header-soon{font-size:11px}.home-banner{padding:20px;gap:10px}.home-banner h1{font-size:23px}.home-banner img{width:72px}.home-banner p{font-size:12px}.home-columns{display:flex;flex-direction:column}.home-tasks{order:0;width:100%}.home-right{order:1;width:100%;display:grid;grid-template-columns:1fr}.home-plan{order:2;width:100%}.home-metric>button{padding:12px;gap:8px;font-size:12px}.metric-icon{width:28px;height:28px;font-size:20px}.home-metric strong{font-size:24px}.home-task-list>li{flex-wrap:wrap}.home-task-body{flex-basis:calc(100% - 45px)}.home-task-list>li>.btn{margin-left:40px}.home-bottom{grid-template-columns:minmax(0,1fr)}.menu-toggle{display:none}}

/* Keep leads visible beside a bounded task list. */
.home-left{display:grid;gap:14px;min-width:0}.home-left .compact-widget{padding:14px}.home-left .compact-list li{min-height:48px;padding:7px 0}.home-left .compact-widget h2{font-size:15px;margin:0}.home-left .compact-widget footer{margin-top:5px}.home-plan-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:12px;font-size:12px}.home-tasks{display:flex;flex-direction:column;max-height:500px}.home-tasks>.widget-heading,.home-tasks>.home-task-tabs,.home-tasks>footer,.home-tasks>.btn,.home-tasks>.form-error{flex-shrink:0}.home-tasks .home-task-list{overflow-y:auto;min-height:0;overscroll-behavior-y:contain;scrollbar-gutter:stable}.home-tasks .home-task-list:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.home-bottom:empty{display:none}
@media(max-width:720px){.home-left{order:2;width:100%}.home-tasks{max-height:none}.home-tasks .home-task-list{overflow:visible;scrollbar-gutter:auto}.home-task-list>.home-task-extra,.home-tasks-more{display:none}.home-left .compact-list li{min-height:48px}}
