:root{font-size:16px}body{line-height:1.5}.layout{grid-template-columns:270px minmax(0,1fr)}.sidebar{width:270px;padding:24px 16px;overflow-y:auto;overflow-x:hidden}.brand{font-size:24px;padding:0 12px;min-height:54px;gap:12px}.brand-copy{overflow-wrap:anywhere;line-height:1.25}.brand small{font-size:11px;letter-spacing:1.4px;line-height:1.5}.brandmark{flex-shrink:0}.company-logo{width:44px;height:44px;object-fit:contain;border-radius:8px;background:white;flex-shrink:0}.workspace{margin:22px 8px 18px;font-size:14px}.workspace b{font-size:14px}.workspace span{font-size:12px}.nav-label{font-size:11px;letter-spacing:1.2px}.nav-item{font-size:14px;min-height:45px;padding:11px 16px;border-radius:0 24px 24px 0;margin:2px 0;gap:14px}.nav-item svg{width:21px;height:21px;flex-shrink:0}.nav-item .count{font-size:12px}.nav-item.active{background:#dbe8d8;color:#173e30;font-weight:600}.sidebar-bottom{padding-top:16px;flex-shrink:0}.profile b{font-size:13px}.profile small{font-size:12px}.topbar{height:76px;padding:0 28px;font-size:14px;gap:16px}.topbar-start{display:flex;align-items:center;gap:18px;min-width:0}.menu-toggle{width:42px;height:42px;border-radius:50%;background:transparent;color:#45604e;display:grid;place-items:center;flex-shrink:0}.menu-toggle:hover{background:#edf2e9}.menu-toggle svg{width:23px;height:23px}.date{font-size:13px}.content{padding:30px 28px}.page-heading{align-items:flex-start}h1{font-size:30px;line-height:1.25}h2{font-size:18px;line-height:1.4}p.sub{font-size:14px;color:#65786a}.btn{font-size:14px;padding:11px 16px;min-height:44px}.btn svg{width:18px;height:18px}.demo-banner{font-size:13px;color:#56674c;line-height:1.6}.stats{gap:16px}.stat-label{font-size:14px;color:#647767;gap:8px}.stat-value{font-size:32px}.stat-foot{font-size:12px;color:#70816e}.stat-icon svg{width:19px;height:19px}.grid-main{grid-template-columns:minmax(0,1fr) 310px}.card-head{gap:14px;flex-wrap:wrap}.card-head p{font-size:13px;color:#70816e}.legend{font-size:12px;flex-wrap:wrap}.chart{height:235px}.chart text{font-size:12px;fill:#71826d}.chart-labels{font-size:12px;color:#65795e;gap:8px;flex-wrap:wrap}.linkbutton{font-size:13px;min-height:32px;line-height:1.5}.ring-inner span{font-size:12px}.status-line{font-size:14px}.section-toolbar h2 span{font-size:13px}.filter-row input,.filter-row select{font-size:14px;min-height:42px;max-width:100%;color:#4f6854}.filter-row{flex-wrap:wrap}table{font-size:14px}th{font-size:12px;color:#657b68;letter-spacing:.4px;padding:14px 18px}td{padding:18px;color:#526b58}td strong{font-size:14px;line-height:1.45}td small{font-size:12px;color:#72836f}.project-name{min-width:225px}.badge{font-size:12px;padding:5px 9px}.progress-text{font-size:12px}.progress,.progress div{height:6px}.pending-item .small-label{font-size:11px;color:#74826b}.pending-item b{font-size:14px}.pending-item p{font-size:12px;color:#71816b}.activity-row{font-size:13px}.activity-row small{font-size:12px;color:#71846d}.footer{font-size:12px;color:#71816b;line-height:1.6}.field{font-size:14px;color:#4e6953}.field input,.field select,.field textarea{font-size:16px;padding:12px}.summary-note,.detail-body{font-size:14px}.detail-body dt{font-size:13px}.form-error{font-size:14px}.tabbar button{font-size:14px;padding:11px 16px}.eyebrow{font-size:12px}#toast{font-size:14px}.branding-card{margin-bottom:24px}.branding-layout{display:grid;grid-template-columns:190px 1fr;gap:30px;padding:0 24px 26px}.logo-editor{display:flex;align-items:center;flex-direction:column;gap:12px}.logo-preview{width:112px;height:112px;display:grid;place-items:center;background:#f0f5ed;border:1px dashed #a5b69e;border-radius:14px;color:#456b45;font-size:42px}.logo-preview img{width:100%;height:100%;object-fit:contain;border-radius:12px;padding:8px}.logo-editor small{font-size:12px;color:#71816b;text-align:center}.branding-fields{display:flex;flex-direction:column;gap:18px;max-width:600px}.branding-fields .btn{align-self:flex-start}.branding-fields p{font-size:14px;color:#58734d;margin:0}.upload-label{cursor:pointer}.sidebar-collapsed{grid-template-columns:80px minmax(0,1fr)}.sidebar-collapsed .sidebar{width:80px;padding:24px 8px}.sidebar-collapsed .brand{padding:0;justify-content:center}.sidebar-collapsed .brand-copy,.sidebar-collapsed .workspace,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-text,.sidebar-collapsed .count,.sidebar-collapsed .sidebar-bottom{display:none}.sidebar-collapsed nav{margin-top:24px}.sidebar-collapsed .nav-item{justify-content:center;padding:12px;border-radius:16px;margin:5px 0}.sidebar-collapsed .brandmark{width:34px}.sidebar-collapsed .company-logo{width:40px;height:40px}
@media(max-width:1250px){.grid-main{grid-template-columns:1fr}.rail{display:grid;grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr 1fr}.section-toolbar{flex-wrap:wrap;gap:15px}}
@media(max-width:750px){.layout,.layout.sidebar-collapsed{display:block}.sidebar,.sidebar-collapsed .sidebar{position:fixed;top:76px;bottom:0;left:0;height:calc(100dvh - 76px);width:270px;z-index:15;padding:20px 16px;box-shadow:8px 0 28px #153e3422;display:flex}.sidebar-collapsed .sidebar{transform:translateX(-110%)}.sidebar nav{display:block;overflow:visible;margin:0}.sidebar .nav-item{width:100%;font-size:14px}.sidebar .nav-item svg{display:block}.sidebar .brand,.sidebar .workspace,.sidebar .nav-label,.sidebar .sidebar-bottom{display:none}.topbar{position:sticky;top:0;z-index:16;height:76px;padding:0 14px}.topbar-start{gap:8px}.breadcrumb{font-size:12px}.date{display:none}.content{padding:24px 16px}.page-heading{flex-direction:column;gap:16px}.actions{flex-direction:row;flex-wrap:wrap}.btn{font-size:14px}.stat-value{font-size:30px}.stat{padding:16px}.stat-label{font-size:13px}.stat-icon{display:none}.stat-foot{font-size:12px}h1{font-size:27px}.rail{grid-template-columns:1fr}.branding-layout{grid-template-columns:1fr;padding:0 20px 24px}.branding-fields{max-width:none}.filter-row{width:100%}.filter-row input,.filter-row select{width:100%}.demo-banner{font-size:12px}.footer{flex-direction:column}.chart-labels{font-size:11px}.card-head{padding:18px}.top-actions{gap:8px}}

/* Mobile site-entry workflow */
@media(max-width:750px){
 html,body{max-width:100%;overflow-x:hidden}.topbar{height:64px;padding:0 10px;box-shadow:0 2px 12px #153e3412}.sidebar,.sidebar-collapsed .sidebar{top:64px;height:calc(100dvh - 64px);width:min(86vw,320px);padding:12px 10px;transition:transform .2s ease}.sidebar nav{overflow-y:auto;padding:4px 0 24px}.sidebar .nav-item{min-height:48px;padding:12px 14px;margin:2px 0;border-radius:10px}.sidebar .nav-item svg{width:22px;height:22px}.menu-toggle{width:46px;height:46px}.top-actions #top-logout,.top-actions>.avatar{display:none}.top-actions .iconbutton{min-width:44px;min-height:44px}.breadcrumb{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb>b{margin-left:4px}.content{padding:18px 12px 90px}.page-heading{margin-bottom:18px}.page-heading h1{font-size:25px}.page-heading .actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:10px}.page-heading .actions .btn{width:100%}.btn{min-height:48px;padding:12px 16px;font-size:15px;border-radius:8px}.linkbutton{min-height:44px;padding:9px 4px;font-size:14px}.card{border-radius:10px}.card-head{padding:16px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:15px}.stat-value{font-size:25px}.section-toolbar{margin:20px 0 12px}.filter-row{display:grid;grid-template-columns:1fr;width:100%}.filter-row input,.filter-row select,.accounts-filters input,.accounts-filters select,.labour-filters input,.labour-filters select{min-height:48px;font-size:16px}.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.table-wrap table{min-width:700px}.table-wrap:after{content:'Swipe table sideways to see more';display:block;position:sticky;left:12px;width:max-content;padding:8px 0 10px;color:#829087;font-size:11px}.report-link{min-height:44px;padding:8px 0}.tabbar{overflow-x:auto;padding-bottom:4px}.tabbar button{min-height:46px;white-space:nowrap;font-size:14px}.modal-backdrop{padding:0;place-items:end center;background:#102c2480}.modal,.modal.project-wide-modal{width:100%;height:calc(100dvh - 10px);max-height:calc(100dvh - 10px);border-radius:16px 16px 0 0;display:flex;flex-direction:column;overflow:hidden}.modal>form,.modal>.project-workspace{display:flex;flex-direction:column;min-height:0;height:100%}.modal-header{position:sticky;top:0;z-index:5;flex:0 0 auto;padding:16px;background:white}.modal-header h2{font-size:19px}.modal-header button{width:46px;height:46px;font-size:28px}.form-grid,.report-content,.task-panel,.detail-body{padding:18px 14px;overflow-y:auto;display:grid;grid-template-columns:1fr;gap:16px;flex:1 1 auto}.form-grid .wide,.wide{grid-column:1}.field{font-size:14px;gap:8px}.field input,.field select,.field textarea{min-height:48px;padding:12px;font-size:16px;border-radius:8px}.field textarea{min-height:104px;resize:vertical}.field input[type=file]{padding:10px;background:white}.modal-footer{position:sticky;bottom:0;z-index:5;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:white;box-shadow:0 -4px 16px #153e3412}.modal-footer .btn{width:100%;margin:0}.form-error{padding:8px 14px;margin:0;background:#fff;font-size:14px}.task-report-hint,.ai-draft-box{grid-column:1;padding:14px}.report-facts{grid-template-columns:1fr 1fr;gap:10px;padding:14px}.report-title{flex-direction:column}.report-media-grid{grid-template-columns:1fr}.project-workspace-body{overflow-y:auto;padding:16px;flex:1}.project-tabs{flex:0 0 auto;padding:0 14px 10px}.project-tabs button{min-height:46px}.project-period{display:grid;grid-template-columns:1fr 1fr;padding:14px}.project-period input{width:100%;min-height:46px;font-size:16px}.project-period small{grid-column:1/-1}.project-metrics{grid-template-columns:1fr}.project-facts{grid-template-columns:1fr;gap:14px}.project-progress>div,.milestone-numbers{align-items:flex-start;flex-direction:column}.milestone-card{padding:15px}.task-thread{max-height:none;min-height:240px}.task-message{max-width:96%;font-size:15px}.task-composer .btn,.ai-chat-send .btn{width:100%}.ai-chat-card,.ai-chat-help,.ai-settings-card{padding:15px}.ai-chat-messages{height:42dvh;padding:12px}.ai-message{max-width:96%;padding:12px}.branding-layout{padding:0 15px 20px}.login{padding:14px;min-height:100dvh}.login .card{width:100%;padding:26px 20px}.login .btn{min-height:52px;font-size:16px}.login input{min-height:50px;font-size:16px}.muster-row{min-width:0;grid-template-columns:1fr 1fr}.muster-row>*:first-child{grid-column:1/-1}.muster-row input:not([type=checkbox]),.muster-row select{min-height:46px;font-size:16px}.labour-filters label{flex:1 1 100%}.dashboard-period{display:grid;grid-template-columns:1fr 1fr}.dashboard-period>div,.dashboard-period small{grid-column:1/-1}.dashboard-period input{width:100%;font-size:16px}.pagination button{min-width:44px;height:44px}#toast{left:12px;right:12px;bottom:12px;text-align:center;font-size:14px;padding:14px}
}
@media(max-width:430px){.stats,.page-heading .actions,.modal-footer,.project-period,.dashboard-period{grid-template-columns:1fr}.project-period small,.dashboard-period>div,.dashboard-period small{grid-column:1}.stat-value{font-size:23px}.content{padding-left:10px;padding-right:10px}.report-facts{grid-template-columns:1fr}.invoice-parties{grid-template-columns:1fr}}
.users-card{margin-bottom:24px}.access-section{margin:0;border:1px solid #dce5da;border-radius:8px;padding:16px}.access-section legend{font-size:16px;font-weight:600;padding:0 6px}.access-section p{font-size:13px;color:#65795e;line-height:1.6}.check-row{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:14px;color:#36553e}.check-row input{width:18px;height:18px;flex-shrink:0;accent-color:#214f40}#permission-options{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}@media(max-width:550px){#permission-options{grid-template-columns:1fr}}
.access-section.wide{grid-column:1/-1}
.login{padding:24px}.login .card{width:min(440px,100%);padding:36px}.login .field{font-size:15px}.login .sub{font-size:15px}.login .form-error{padding:0;color:#a65d45}.login .btn{font-size:16px}.top-actions #top-logout{white-space:nowrap;min-height:38px;padding:7px 12px;font-size:13px}

/* Project workspace */
.modal.project-wide-modal{width:min(1180px,96vw);max-height:94vh}.project-workspace .modal-header{position:sticky;top:0;background:white;z-index:2;gap:20px}.project-workspace .modal-header h2{font-size:22px;line-height:1.4}.project-workspace .sub{margin:6px 0 0;font-size:14px}.project-workspace-top{display:flex;align-items:center;gap:14px;padding:16px 26px;color:#607369;font-size:14px}.project-workspace-top button{margin-left:auto}.project-tabs{display:flex;gap:6px;overflow:auto;padding:0 26px 15px;border-bottom:1px solid var(--line)}.project-tabs button{white-space:nowrap;padding:12px 16px;background:#f0f4ef;border-radius:7px;color:#365d47;font-size:15px}.project-tabs button.active{background:#214f40;color:white}.project-period{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:18px 26px;background:#f8faf6}.project-period label{display:grid;gap:5px;font-size:13px}.project-period input{border:1px solid #dce5da;padding:9px;border-radius:5px;color:#294b35;font-size:14px}.project-period small{flex-basis:100%;line-height:1.6;color:#718175}.project-workspace-body{padding:24px 26px}.project-progress{padding:20px;background:#eef5ed;border-radius:10px;display:grid;gap:12px}.project-progress>div{display:flex;justify-content:space-between;font-size:15px}.project-progress strong{font-size:24px;color:#214f40}.project-progress progress{width:100%;height:14px;accent-color:#387458}.project-progress progress.planned{height:8px;accent-color:#a4b995}.project-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:20px 0}.project-metric{padding:18px;border:1px solid #e1e8df;border-radius:9px;display:grid;gap:10px}.project-metric small{font-size:14px;color:#677c6a}.project-metric strong{font-size:24px;color:#234e38;overflow-wrap:anywhere}.project-metric span{font-size:13px;color:#7c8b7e;line-height:1.5}.project-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;padding:22px 0}.project-facts dt{font-size:13px;color:#758576;margin-bottom:6px}.project-facts dd{margin:0;font-size:16px;color:#315840}.project-section{margin:28px 0}.project-section h3{font-size:18px;margin:0 0 15px;color:#315840}.project-section .table-wrap{border:1px solid #e1e8df;border-radius:8px}.project-note{line-height:1.8!important;margin:15px 0!important}.project-workspace td{min-width:100px}.project-workspace td small{display:block;line-height:1.7;margin-top:5px}.project-workspace td:first-child{min-width:165px}@media(max-width:650px){.modal.project-wide-modal{width:100%}.project-workspace .modal-header,.project-workspace-body{padding:18px}.project-tabs{padding-left:18px;padding-right:18px}.project-period{padding:16px}.project-workspace .modal-header h2{font-size:18px}.project-workspace-top{padding:14px 18px;flex-wrap:wrap}.project-metrics{grid-template-columns:1fr 1fr}.project-metric{padding:13px}.project-metric strong{font-size:20px}}
.timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.timeline-heading h3{margin:0;font-size:19px}.timeline-heading p{font-size:14px;color:#718175}.milestone-card{border:1px solid #dae5d8;border-radius:10px;padding:22px;margin:20px 0}.milestone-track{height:22px;border-radius:5px;background:#edf1e9;margin:18px 0}.milestone-span{height:22px;background:#c7dac1;border-radius:4px;overflow:hidden;min-width:3px}.milestone-span>div{height:100%;background:#367555}.milestone-numbers{display:flex;justify-content:space-between;gap:14px;font-size:14px;color:#47624b}.milestone-costs{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;padding:18px;background:#f6f8f2;border-radius:7px;font-size:13px;line-height:1.7}.milestone-costs b{display:block;font-size:16px}.milestone-card details{padding:16px 0;border-bottom:1px solid #edf1e9;line-height:1.8;font-size:14px}.milestone-card summary{cursor:pointer;font-weight:600}.badge.Overdue{background:#f8eae5;color:#a75242}

/* Final mobile overrides: keep project sheets usable and row actions in reach. */
@media(max-width:750px){
 .modal.project-wide-modal{width:100%;height:calc(100dvh - 10px);max-height:calc(100dvh - 10px)}
 .project-workspace .modal-header{padding:16px 14px}
 .project-workspace-body{padding:16px 14px}
 .project-tabs{padding-left:14px;padding-right:14px}
 .project-period{display:grid;grid-template-columns:1fr 1fr;padding:14px}
 .project-metrics{grid-template-columns:1fr}
 .table-wrap th:last-child,.table-wrap td:last-child{position:sticky;right:0;background:#fff;box-shadow:-7px 0 10px #173d3510}
 .table-wrap th:last-child{background:#f7faf5;z-index:2}
}
@media(max-width:430px){
 .project-period{grid-template-columns:1fr}
 .project-period small{grid-column:1}
}

/* Shared filtering, pagination and report exports */
.data-table-tools{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:14px 17px;background:#f7faf5;border-top:1px solid #e4e9e5;border-bottom:1px solid #e4e9e5;transition:box-shadow .2s,background .2s}.data-table-tools-focus{background:#fff9e8;box-shadow:inset 0 0 0 2px #d8ad58}.data-filter-group,.data-export-group{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.data-table-tools label{display:grid;gap:5px;color:#647767;font-size:11px}.data-table-tools input,.data-table-tools select{height:38px;border:1px solid #d7e1d5;border-radius:6px;background:white;color:#294b35;padding:7px 9px;font-size:13px}.data-table-tools button,.table-pagination button{min-height:38px;border:1px solid #d4dfd2;border-radius:6px;background:white;color:#315b43;padding:8px 12px;font-size:12px;font-weight:600}.data-table-tools .table-export{background:#214f40;color:white;border-color:#214f40}.data-table-tools .table-clear{background:transparent}.undated-table-note{align-self:center;color:#718077;font-size:12px}.table-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 17px;border-top:1px solid #edf0eb;background:white;color:#6d7e70;font-size:12px}.table-pagination>div{display:flex;align-items:center;gap:12px}.table-pagination b{font-weight:500;color:#4d6656}.table-pagination button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:750px){.data-table-tools{align-items:stretch;flex-direction:column;padding:12px}.data-filter-group{display:grid;grid-template-columns:1fr 1fr}.data-filter-group .table-clear{grid-column:1/-1}.data-export-group{display:grid;grid-template-columns:1fr 1fr 1fr}.data-table-tools label{font-size:12px}.data-table-tools input,.data-table-tools select,.data-table-tools button{width:100%;min-height:46px;font-size:14px}.table-pagination{align-items:stretch;flex-direction:column;padding:12px}.table-pagination>div{display:grid;grid-template-columns:1fr auto 1fr}.table-pagination button{min-height:44px}}
@media(max-width:430px){.data-filter-group{grid-template-columns:1fr}.data-filter-group .table-clear{grid-column:1}.data-export-group{grid-template-columns:1fr 1fr}.data-export-group label{grid-column:1/-1}}

/* Grouped workspace navigation and readable labour registers */
.sidebar-nav{display:block}.nav-group{margin:8px 0}.nav-group summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:9px 15px;color:#8eac9b;font-size:11px;font-weight:650;letter-spacing:.5px;text-transform:uppercase;cursor:pointer}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary i{font-style:normal;font-size:16px;transition:transform .18s ease}.nav-group[open] summary i{transform:rotate(180deg)}.nav-group-items{padding-left:8px;border-left:1px solid #315b4b;margin-left:12px}.nav-group-items .nav-item{padding-left:12px}.sidebar-collapsed .nav-group{margin:0}.sidebar-collapsed .nav-group>summary{display:none}.sidebar-collapsed .nav-group:not([open])>.nav-group-items{display:block!important}.sidebar-collapsed .nav-group-items{padding:0;border:0;margin:0}.labour-data-table table{min-width:1020px}.labour-data-table td small{display:block;line-height:1.55;margin-top:4px}.labour-data-table td:nth-child(2){min-width:160px}.labour-data-table td:nth-child(4){min-width:190px}
@media(max-width:750px){.nav-group summary{min-height:44px;padding:10px 14px}.nav-group-items{margin-left:16px}.labour-data-table table{min-width:960px}}

/* Account actions live together in the top-right user menu */
.account-menu{position:relative}.account-menu>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;padding:5px 8px;border-radius:24px;color:#405d4b}.account-menu>summary::-webkit-details-marker{display:none}.account-menu>summary:hover,.account-menu[open]>summary{background:#eef3ec}.account-menu-name{font-size:13px;font-weight:600;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-chevron{font-size:15px}.account-popover{position:absolute;right:0;top:calc(100% + 10px);z-index:30;width:310px;padding:10px;background:white;border:1px solid #dfe7df;border-radius:12px;box-shadow:0 18px 50px #153e3430}.account-summary{display:flex;align-items:center;gap:12px;padding:10px 10px 14px;border-bottom:1px solid #e7ece7;margin-bottom:6px}.account-summary strong,.account-summary small,.account-popover button strong,.account-popover button small{display:block}.account-summary strong{font-size:14px;color:#294d38}.account-summary small{margin-top:3px;color:#7a8d80;text-transform:capitalize}.account-popover button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 10px;background:transparent;border-radius:8px;color:#3c5e48;text-align:left}.account-popover button:hover,.account-popover button:focus-visible{background:#eef4eb}.account-popover button svg{width:20px;height:20px;flex:0 0 auto}.account-popover button strong{font-size:14px}.account-popover button small{margin-top:3px;color:#77887c;font-size:12px}.account-popover .account-logout{color:#9b513f;border-top:1px solid #e7ece7;border-radius:0;margin-top:5px;padding-top:15px}.account-logout-icon{font-size:19px;width:20px;flex:0 0 20px;text-align:center}
@media(max-width:750px){.account-menu-name,.account-chevron{display:none}.account-menu>summary{padding:3px}.account-popover{position:fixed;left:12px;right:12px;top:76px;width:auto}.top-actions{margin-left:auto}}

/* Compact dashboard activity stream */
.dashboard-activity-card{min-height:0}.dashboard-activity-list{max-height:360px;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #edf0eb;border-bottom:1px solid #edf0eb;scrollbar-width:thin;scrollbar-color:#a8b9ac transparent}.dashboard-activity-item{display:grid;grid-template-columns:10px 1fr;gap:10px;padding:14px 18px;border-bottom:1px solid #edf0eb}.dashboard-activity-item:last-child{border-bottom:0}.dashboard-activity-item .activity-bullet{margin-top:7px}.dashboard-activity-item>div{min-width:0}.dashboard-activity-item .activity-kind{display:block;color:#87958b;font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;margin-bottom:3px}.dashboard-activity-item strong,.activity-title{display:block;color:#365845;font-size:13px;font-weight:600;line-height:1.45;text-align:left;padding:0;background:transparent;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-activity-item p{margin:4px 0;color:#748579;font-size:11px;line-height:1.45}.dashboard-activity-item time{font-size:10px;color:#9aa69e}.dashboard-activity-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 17px;font-size:10px;color:#8a998f}.dashboard-activity-foot .linkbutton{white-space:nowrap}
@media(max-width:750px){.dashboard-activity-list{max-height:300px}.dashboard-activity-item{padding:14px}.dashboard-activity-item strong,.activity-title{font-size:14px}.dashboard-activity-item p{font-size:12px}}

.project-dashboard-page{background:transparent;min-width:0}.project-dashboard-page>.modal-header{position:static!important;background:transparent;padding:0 0 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.project-dashboard-page>.modal-header h2{font-size:29px;line-height:1.25;color:#214f40}.project-dashboard-page>.modal-header .sub{font-size:14px;margin-top:8px}.project-dashboard-page .project-workspace-top{padding:14px 20px;border:1px solid #e1e8df;background:#fff;border-radius:12px 12px 0 0}.project-dashboard-page .project-tabs{padding:12px 16px;background:#fff;border:1px solid #e1e8df;border-top:0;flex-wrap:wrap;gap:8px}.project-dashboard-page .project-tabs button{padding:10px 15px;border-radius:8px}.project-dashboard-page .project-period{border:1px solid #e1e8df;border-top:0;border-radius:0 0 12px 12px;padding:14px 20px}.project-dashboard-page .project-workspace-body{padding:24px 0;overflow:visible;max-height:none}.project-dashboard-page .project-progress{background:#fff;border:1px solid #e1e8df;padding:24px}.project-dashboard-page .project-section{background:white;border:1px solid #e1e8df;border-radius:12px;margin:20px 0;padding:20px}.project-dashboard-page .project-metric{background:#fff}.project-dashboard-page .project-facts{background:#fff;border:1px solid #e1e8df;border-radius:12px;padding:22px}.project-dashboard-page .project-section .table-wrap{border:0}.project-dashboard-page .project-note{font-size:12px}.project-dashboard-page #back-projects{white-space:nowrap;width:auto;height:auto;font-size:14px}.project-dashboard-page .project-tabs button.active{box-shadow:0 3px 8px #214f4022}@media(max-width:750px){.project-dashboard-page>.modal-header{padding:0 0 14px!important;flex-direction:column;gap:12px}.project-dashboard-page>.modal-header h2{font-size:24px}.project-dashboard-page .project-tabs{flex-wrap:nowrap;overflow-x:auto}.project-dashboard-page .project-period{display:flex;padding:12px;gap:10px}.project-dashboard-page .project-period label{flex:1 1 38%;min-width:0}.project-dashboard-page .project-period input{width:100%}.project-dashboard-page .project-period .btn{min-height:42px;padding:8px 12px}.project-dashboard-page .project-period small{font-size:11px}.project-dashboard-page .project-workspace-body{padding:16px 0}.project-dashboard-page .project-section{padding:14px;margin:14px 0}.project-dashboard-page .project-metrics{grid-template-columns:1fr 1fr}.project-dashboard-page .project-facts{grid-template-columns:1fr 1fr;gap:14px;padding:16px}.project-dashboard-page .project-facts dd{font-size:14px}.project-dashboard-page .project-workspace-top{padding:12px;flex-wrap:wrap}.project-dashboard-page .project-workspace-top span:not(.badge){font-size:12px}}

.project-report-period{background:#f8faf6;border:1px solid #e1e8df;border-top:0;border-radius:0 0 12px 12px}.project-report-period>summary{padding:14px 20px;cursor:pointer;font-size:14px;color:#536e5c;font-weight:600}.project-dashboard-page .project-report-period .project-period{border:0}

.sidebar-scrim{display:none}@media(max-width:750px){.layout:not(.sidebar-collapsed)>.sidebar-scrim{display:block;position:fixed;inset:64px 0 0;z-index:14;border:0;background:#102c2466;width:100%;padding:0;cursor:pointer}.sidebar-collapsed>.sidebar-scrim{display:none}}


.attention-card{margin-top:24px}.attention-list{max-height:360px;overflow:auto;padding:0 16px 14px}.attention-item{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;background:white;border-bottom:1px solid #e4e9e5;text-align:left;padding:14px 6px;color:#315840}.attention-item:hover{background:#f4f7f1}.attention-item strong{display:block;font-size:14px}.attention-item small{display:block;font-size:12px;color:#718175;line-height:1.6;margin-top:5px}.attention-item>span{min-width:0;overflow-wrap:anywhere}@media(max-width:750px){.attention-list{max-height:320px}.attention-item{min-height:64px}}


.field-draft-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 16px;background:#edf4e9;color:#49634b;border-bottom:1px solid #dfe8d9;flex:0 0 auto}.field-draft-bar small{font-size:12px;line-height:1.5;flex:1 1 200px}.field-draft-bar .linkbutton{font-size:13px;padding:4px 8px}.field-upload-status{grid-column:1/-1;overflow-wrap:anywhere}@media(max-width:750px){.field-draft-bar{padding:7px 12px}.field-draft-bar .linkbutton{min-height:36px}}

.notification-menu{position:relative}.notification-menu>summary{list-style:none;position:relative;cursor:pointer;display:flex;align-items:center;justify-content:center;min-width:42px;min-height:42px}.notification-menu>summary::-webkit-details-marker{display:none}.notification-count{position:absolute;right:-2px;top:-2px;background:#b64235;color:#fff;font-size:10px;font-weight:700;line-height:18px;min-width:18px;text-align:center;border-radius:12px;padding:0 4px;border:2px solid #fff}.notification-popover{position:absolute;right:0;top:calc(100% + 12px);width:390px;max-width:calc(100vw - 24px);background:white;border:1px solid #dce6df;border-radius:14px;box-shadow:0 16px 48px #183c302b;z-index:50;overflow:hidden;color:#254d3b}.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #e5ebe7}.notification-heading strong{display:block;font-size:17px}.notification-heading small{display:block;font-size:12px;color:#718175;margin-top:4px}.notification-heading .linkbutton{font-size:12px;white-space:nowrap}.notification-scroll{max-height:60vh;max-height:min(440px,calc(100dvh - 210px));overflow-y:auto;overscroll-behavior:contain}.notification-item{display:flex;align-items:flex-start;gap:10px;width:100%;border:0;border-bottom:1px solid #edf0ed;background:white;text-align:left;padding:15px 16px;color:inherit;cursor:pointer;min-height:72px}.notification-item:hover,.notification-item:focus-visible{background:#f0f6ee}.notification-item.unread{background:#f5f9f1}.notification-status{width:7px;height:7px;background:transparent;border-radius:50%;margin-top:7px;flex:0 0 7px}.notification-item.unread .notification-status{background:#2a7850}.notification-item>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.notification-item strong{display:block;font-size:14px;line-height:1.45}.notification-item small{display:block;font-size:12px;color:#6c7c71;line-height:1.5;margin-top:4px}.notification-item em{display:block;font-style:normal;font-size:11px;color:#52745f;margin-top:6px}.notification-footer{padding:9px 16px;border-top:1px solid #e5ebe7;text-align:center}.notification-empty{text-align:center;padding:36px 20px;font-size:15px}.notification-empty small{display:block;font-size:12px;margin-top:7px;color:#718175}.notification-highlight{outline:2px solid #74a567;outline-offset:3px}.notification-menu[open]>summary{background:#edf4e8;border-radius:50%}@media(max-width:750px){.notification-popover{position:fixed;right:12px;top:70px;width:calc(100vw - 24px)}.notification-scroll{max-height:calc(100dvh - 210px)}.notification-heading .linkbutton{min-height:38px}.notification-item{padding:14px 12px}}
.stage-summary{margin-bottom:24px}.stage-summary-heading h3{font-size:21px;margin:0 0 6px}.stage-summary-heading p{font-size:13px;color:#6d7b70;margin:0 0 16px}.stage-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.stage-summary-grid>.card{min-width:0;margin:0}.stage-summary-grid .card-head h3{font-size:16px}.stage-summary-scroll{max-height:390px;overflow:auto;overscroll-behavior:contain}.stage-summary-item{padding:16px 20px;border-bottom:1px solid #e6ece7}.stage-summary-item:last-child{border-bottom:0}.stage-summary-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.stage-summary-row strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.stage-summary-item>small{display:block;color:#6d7b70;margin-top:5px}.stage-summary-progress{display:flex;align-items:center;gap:12px;margin-top:14px}.stage-summary-progress progress{width:100%;height:9px;accent-color:#2d7951}.stage-summary-progress b{font-size:14px}.stage-summary-item p{font-size:13px;line-height:1.8;margin:10px 0}.stage-summary-warning{color:#9b5934}.stage-summary-empty{padding:20px;color:#758075;font-size:14px;line-height:1.7}@media(max-width:750px){.stage-summary-grid{grid-template-columns:1fr;gap:12px}.stage-summary-scroll{max-height:320px}.stage-summary-item{padding:14px}.stage-summary-row{flex-wrap:wrap}.stage-summary .linkbutton{min-height:40px}}
