/* Task-based navigation and a compact, responsive working home. */
.hub-office.app-shell{display:block;min-height:100vh}
.hub-office .sidebar{position:relative;inset:auto;width:100%;height:auto;min-height:0;overflow:visible;display:flex;align-items:center;gap:22px;padding:14px 24px;background:#142b40;z-index:40}
.hub-office .sidebar-head{flex:0 0 auto;padding:0;min-height:0}
.hub-office .sidebar .brand{margin:0;padding:0}
.hub-office .brand-kicker{display:none}
.hub-office .sidebar .nav{display:flex;flex-direction:row;flex:1;flex-wrap:wrap;align-items:center;gap:4px;overflow:visible;margin:0;padding:0;max-height:none}
.office-navigation{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.office-navigation>a,.office-menu>summary{display:block;min-height:44px;padding:12px 14px;color:#fff;border-radius:7px;font-weight:650;text-decoration:none;cursor:pointer;font-size:14px;list-style:none}
.office-menu>summary::-webkit-details-marker{display:none}
.office-menu>summary:after{content:'⌄';margin-left:8px;font-size:12px}
.office-menu[open]>summary,.office-navigation>a:hover,.office-menu>summary:hover,.office-menu>summary.current-section,.office-navigation>a.active{background:#ffffff20;color:#fff}
.office-menu{position:relative}
.office-menu-links{position:absolute;top:calc(100% + 8px);left:0;min-width:260px;max-width:min(320px,calc(100vw - 32px));max-height:65vh;overflow:auto;background:#fff;border:1px solid #d6dfe8;border-radius:12px;padding:8px;box-shadow:0 12px 30px #10203024;z-index:70}
.office-menu-links a{display:block;padding:12px;border-radius:7px;color:#21374b;text-decoration:none;font-size:14px;min-height:44px;white-space:normal}
.office-menu-links a:hover,.office-menu-links a:focus-visible{background:#edf4f9;color:#152f44}
.hub-office .main{margin:0;min-width:0;width:100%;max-width:none;padding:18px clamp(12px,3vw,42px) 32px}
.hub-refresh .topbar{position:static!important;inset:auto!important;display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:0 0 16px;margin:0 0 14px;min-height:0;max-width:100%;overflow:visible;background:transparent;box-shadow:none;border-bottom:1px solid #dce4eb}
.hub-refresh .topbar .global-search{flex:1 1 280px;width:auto;max-width:560px;min-width:0}
.hub-refresh .topbar-quick-links{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.hub-refresh .topbar-quick-links>.today-quick-link{display:none}
.hub-refresh .topbar-account{display:flex;flex-wrap:wrap;margin-left:auto;gap:8px;min-width:0}
.hub-refresh .create-menu>div{right:0;left:auto;max-width:calc(100vw - 32px)}
.hub-office .mobile-nav-toggle{display:none}
.workspace-home{max-width:1600px;margin:auto}
.workspace-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin:16px 0 20px}
.workspace-heading h1{font-size:clamp(26px,3vw,36px);margin:5px 0 8px;letter-spacing:-.03em}
.workspace-heading p,.workspace-meta{color:#526479;font-size:14px;line-height:1.6}
.workspace-eyebrow{font-size:12px;font-weight:700;color:#506a80;letter-spacing:.08em;text-transform:uppercase}
.workspace-heading-actions,.workspace-start{display:flex;flex-wrap:wrap;gap:8px}
.workspace-start{margin-bottom:20px}
.workspace-start a{display:inline-flex;align-items:center;min-height:44px;border:1px solid #cfdae5;border-radius:9px;padding:10px 16px;background:#fff;color:#183e58;font-weight:650;text-decoration:none}
.workspace-start a:first-child{background:#f36b21;color:#fff;border-color:#f36b21}
.workspace-stages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:22px}
.workspace-stages a{padding:16px;background:#eaf0f5;border-radius:10px;color:#19374b;min-width:0;text-decoration:none;border-bottom:3px solid #9bb5c8}
.workspace-stages small,.workspace-stages strong{display:block;overflow-wrap:anywhere}
.workspace-stages small{margin-bottom:7px;font-size:12px}.workspace-stages strong{font-size:17px}
.workspace-widgets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.workspace-widget.panel{margin:0;min-width:0;padding:22px;box-shadow:0 2px 4px #152c4010}
.workspace-widget>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.workspace-widget h2{font-size:20px;margin:0}
.workspace-row{display:flex;gap:12px;justify-content:space-between;align-items:start;padding:14px 0;border-bottom:1px solid #e7edf2;color:#1c3448;text-decoration:none;min-width:0}
.workspace-row>span:first-child{min-width:0;flex:1}.workspace-row strong{font-size:14px;overflow-wrap:anywhere}.workspace-row small{display:block;color:#5d7083;line-height:1.5;margin-top:4px;font-size:12px}
.workspace-row:hover strong{color:#b9470c}.workspace-row>strong{white-space:nowrap}
.workspace-tag{flex-shrink:0;background:#edf3f7;padding:5px 8px;border-radius:6px;font-size:11px;color:#344e62}.workspace-tag.late{background:#fff0e8;color:#a63f16}
.workspace-footer{display:block;margin-top:16px;color:#245c78;font-size:13px;font-weight:700;min-height:36px}
.workspace-figures{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0 16px}
.workspace-figures a{color:#213c52;text-decoration:none}.workspace-figures small{display:block;font-size:12px;line-height:1.5;color:#607487}.workspace-figures strong{display:block;font-size:clamp(20px,2vw,28px);margin-top:6px;overflow-wrap:anywhere}
.workspace-filter{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:6px}.workspace-filter label{flex:1;min-width:110px;font-size:12px}.workspace-filter select{width:100%;min-height:42px;margin-top:5px;padding:8px}
.workspace-empty{padding:16px;background:#f5f8fa;border-radius:8px;line-height:1.6;color:#567084}
.workspace-customise label{display:inline-flex;align-items:center;gap:8px;margin:8px 16px 8px 0}.workspace-customise input{width:18px;height:18px;margin:0}
.staff-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 20px}.staff-quick-actions a{padding:15px 10px;border:1px solid #cad8e3;border-radius:12px;min-height:60px;background:#fff;color:#183d55;text-align:center;text-decoration:none;font-weight:700;font-size:14px}
.staff-quick-actions a:first-child{background:#143950;color:white}.staff-quick-actions a:focus-visible,.workspace-start a:focus-visible,.office-menu summary:focus-visible{outline:3px solid #f36b21;outline-offset:3px}
@media(min-width:1000px){.hub-office .sidebar .nav>a{font-size:12px;padding:8px}.office-menu:last-child .office-menu-links{left:auto;right:0}}
@media(max-width:1100px){.hub-office .sidebar{gap:12px;flex-wrap:wrap}.hub-office .sidebar .nav{flex-basis:100%}.workspace-stages{gap:6px}.workspace-stages a{padding:12px}}
@media(max-width:760px){
 .hub-office .sidebar{display:block;padding:12px 16px}.hub-office .sidebar-head{display:flex;justify-content:space-between;width:100%}.hub-office .mobile-nav-toggle{display:flex;min-height:44px;align-items:center;padding:10px 14px;gap:14px;color:white;border:1px solid #ffffff45;border-radius:8px}
 .hub-office .sidebar .nav{display:none;margin-top:12px}.hub-office .nav-toggle-checkbox:checked~.nav{display:flex;align-items:stretch;flex-direction:column}.office-navigation{display:block;width:100%}.office-menu-links{position:static;min-width:0;width:100%;max-width:none;max-height:50vh;margin:4px 0 10px;box-shadow:none}.office-menu summary{border-bottom:1px solid #ffffff15}
 .hub-refresh .topbar .global-search{flex-basis:calc(100% - 110px);max-width:none}.hub-refresh .topbar-account{flex-basis:100%;justify-content:space-between;margin-left:0}.hub-refresh .topbar-account .profile{display:none}.hub-refresh .profile-card{padding:0}.hub-refresh .topbar-account .account-switch-link{font-size:12px}
 .workspace-heading{align-items:flex-start;flex-direction:column;gap:10px}.workspace-heading-actions{width:100%}.workspace-heading-actions button{flex:1}.workspace-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-stages a:last-child{grid-column:1/-1}.workspace-widgets{grid-template-columns:1fr}.workspace-widget.panel{padding:17px}.workspace-start a{flex:1 1 42%;justify-content:center;padding:10px}.workspace-row{flex-wrap:wrap}.workspace-tag{max-width:110px;white-space:normal}
 .hub-refresh .job-workspace-nav-streamlined{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;position:static}.hub-refresh .job-workspace-nav-streamlined button{min-width:0;width:100%;white-space:normal;min-height:50px;padding:10px}.hub-refresh .job-workspace-nav-streamlined button:last-child{grid-column:1/-1}
 .staff-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-refresh input,.hub-refresh select,.hub-refresh textarea{font-size:16px}
}
