:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#26352f;background:#f5f5f1;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{background:#1c302a;color:#d2ded6;padding:28px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 35px;color:white;font-weight:700;letter-spacing:.14em;font-size:19px}.brand-mark{width:35px;height:35px;border:1px solid #b7cba7;display:grid;place-items:center;border-radius:10px;color:#d7e5ca}.brand small{display:block;font-size:9px;letter-spacing:.14em;color:#9eafa5;margin-top:4px;font-weight:500}.nav-label{font-size:10px;letter-spacing:.15em;color:#80988a;padding:12px 12px}.nav button{width:100%;display:flex;gap:12px;align-items:center;text-align:left;border:0;background:none;color:#aebfb5;padding:12px;border-radius:8px;font-size:14px}.nav button.active,.nav button:hover{background:#344b40;color:white}.nav svg,.icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{margin-top:auto;border-top:1px solid #405249;padding:20px 10px 0;font-size:12px;color:#93a99b}.main{min-width:0}.topbar{height:72px;border-bottom:1px solid #e7eae3;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fff}.topbar span{font-size:13px;color:#7f8b82}.user{display:flex;align-items:center;gap:12px;font-size:13px}.avatar{width:34px;height:34px;background:#e8eee4;border-radius:50%;display:grid;place-items:center;color:#3e634c;font-weight:700}.content{max-width:1440px;margin:auto;padding:39px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;color:#8b9d8d;text-transform:uppercase}.heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}h1{font-family:Georgia,serif;font-weight:400;font-size:36px;letter-spacing:-.035em;margin:9px 0;color:#243a30}h2{font-family:Georgia,serif;font-weight:400;font-size:22px;margin:0}.muted{color:#89958c;font-size:14px;line-height:1.5}.primary,.secondary,.danger{border:0;border-radius:8px;padding:12px 17px;font-size:13px;font-weight:600}.primary{background:#355e46;color:#fff}.primary:hover{background:#284c37}.secondary{background:#f1f4ef;color:#41584a}.danger{background:#faeeea;color:#a34a3e}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.card,.panel{background:#fff;border:1px solid #e6ebe3;border-radius:12px}.card{padding:22px}.card-head{display:flex;justify-content:space-between;color:#75867a;font-size:13px}.card .icon{color:#6b8c71;background:#f1f5ef;padding:8px;border-radius:8px}.metric{font-family:Georgia,serif;font-size:36px;margin:17px 0 5px;color:#263e31}.card small{color:#9ca89d}.panel{padding:24px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.panel-head p{margin:5px 0 0}.dashboard-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.empty{text-align:center;padding:55px 20px;color:#89978a}.empty .icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 15px;border-radius:14px;background:#f2f5ef;color:#829c80}.empty strong{display:block;color:#4e6053;font-size:14px;margin-bottom:6px}.empty p{font-size:13px;margin:0}.quick{display:grid;gap:10px}.quick button{text-align:left;border:1px solid #e9eee7;background:#fff;border-radius:9px;padding:15px;color:#40584a}.quick button:hover{background:#f7faf6}.quick b{display:block;font-size:13px}.quick small{display:block;color:#98a49a;margin-top:5px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{font-weight:600;color:#9aa79c;border-bottom:1px solid #edf0eb;padding:13px 10px}td{border-bottom:1px solid #f1f3ef;padding:16px 10px;color:#59695d}td:first-child{font-weight:600;color:#304a39}.badge{display:inline-block;border-radius:30px;padding:6px 10px;background:#eef4eb;color:#648064;font-size:12px;white-space:nowrap}.row-button{border:0;background:none;color:#50775b;font-size:13px}.search{border:1px solid #e1e8df;background:#fff;border-radius:8px;padding:11px 14px;min-width:240px;outline:none}.search:focus,input:focus,textarea:focus,select:focus{border-color:#7da083}.overlay{position:fixed;inset:0;background:#17271fc0;display:grid;place-items:center;padding:20px;z-index:3}.modal{background:white;border-radius:15px;width:min(640px,100%);max-height:90vh;overflow:auto;padding:28px}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.close{background:none;border:0;font-size:25px;color:#829086}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:7px;font-size:12px;font-weight:600;color:#5f7163}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe6dc;border-radius:8px;padding:11px;color:#293e31;background:white;outline:none}.field textarea{min-height:85px;resize:vertical}.actions{display:flex;justify-content:space-between;gap:10px;margin-top:24px}.actions-right{display:flex;gap:8px}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{background:#203b2e;color:#e0eadc;padding:70px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-art:after{content:'';position:absolute;width:550px;height:550px;border:1px solid #688574;border-radius:50%;right:-200px;bottom:-180px;box-shadow:0 0 0 70px #ffffff08,0 0 0 140px #ffffff08}.login-art h1{color:#fff;font-size:50px;max-width:500px}.login-art p{max-width:420px;color:#b7caba;line-height:1.7}.login-box{display:grid;place-items:center;padding:30px;background:#fafbf8}.login-form{width:min(390px,100%)}.login-form h1{font-size:34px}.login-form form{display:grid;gap:17px;margin-top:30px}.login-form .primary{width:100%;margin-top:5px;padding:14px}.error{color:#ad4d3f;font-size:13px;min-height:20px}#toast{position:fixed;right:25px;bottom:25px;background:#233e2e;color:white;padding:13px 18px;border-radius:8px;display:none;z-index:5}.loading{padding:40px;color:#809283}@media(max-width:900px){.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.shell{grid-template-columns:75px 1fr}.brand{padding:0 2px 30px}.brand-text,.nav-label,.nav button span,.sidebar-bottom{display:none}.nav button{justify-content:center}.sidebar{padding:25px 12px}.topbar{padding:0 20px}.content{padding:28px 20px}}@media(max-width:600px){.login-page{grid-template-columns:1fr}.login-art{display:none}.stats{gap:10px}.card{padding:15px}.metric{font-size:30px}.heading{align-items:start;flex-direction:column}h1{font-size:30px}.panel{padding:16px}.panel-head{align-items:stretch;flex-direction:column}.search{min-width:0;width:100%}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}
/* Spacious dashboard and work surfaces */
:root{background:#f3f5f1;color:#293d31}.shell{grid-template-columns:258px minmax(0,1fr)}.sidebar{padding:34px 20px;background:#1d322a}.brand{padding-bottom:45px}.nav button{padding:14px 13px;margin:3px 0;font-size:14px}.nav button.active{background:#3a5244;box-shadow:inset 3px 0 #b5d3ad}.topbar{height:82px;padding:0 48px}.content{max-width:1660px;padding:48px}.heading{margin-bottom:34px}h1{font-size:40px}h2{font-size:24px}.dashboard-heading .primary{padding:14px 20px}.dashboard-heading .primary span{font-size:19px;vertical-align:-1px;margin-right:4px}.eyebrow-divider{padding:0 8px;color:#c3ccc3}.stats{gap:20px;margin-bottom:22px}.card,.panel{border-color:#e8eee6;box-shadow:0 6px 24px #263d2d09}.card{padding:25px 26px;min-height:163px}.card-head{align-items:center;font-weight:600;color:#63776a}.card .icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px}.card .icon-1{background:#f5f2e9;color:#ad956c}.card .icon-2{background:#f0f3ed;color:#799277}.card .icon-3{background:#f1f0f5;color:#89829f}.metric{font-size:39px;margin:12px 0 7px}.metric-dot{display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:#88ae8b;vertical-align:2px}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:22px}.panel{padding:30px;border-radius:14px}.chart-panel,.stages-panel{min-height:390px}.chart-head{align-items:start}.chart-head h2,.stages-panel h2,.action-panel h2,.overview-panel h2{margin-top:9px}.chart-total{text-align:right;display:grid;gap:4px}.chart-total strong{font:32px Georgia,serif;color:#355c43}.chart-total span{font-size:12px;color:#9aa99c}.chart-area{height:190px;display:flex;gap:15px;margin:32px 0 0}.chart-grid{display:flex;flex-direction:column;justify-content:space-between;text-align:right;color:#aab6ab;font-size:11px;height:145px}.chart-bars{height:145px;display:grid;grid-template-columns:repeat(6,1fr);gap:8%;flex:1;border-bottom:1px solid #e7ede5;background:linear-gradient(to bottom,#e9eee8 1px,transparent 1px,transparent 49%,#e9eee8 50%,transparent 51%);position:relative}.chart-column{height:100%;display:flex;align-items:center;flex-direction:column;position:relative}.bar-track{height:100%;width:min(42px,60%);display:flex;align-items:end}.bar-track svg{display:block;height:100%;width:100%;overflow:visible}.chart-column span{color:#98a69a;font-size:12px;margin-top:12px;text-transform:capitalize}.chart-column b{position:absolute;bottom:calc(100% + 5px);font-size:10px;color:#78927d;font-weight:500;display:none}.chart-column:hover b{display:block}.chart-note{color:#a0aca1;font-size:12px;margin-left:24px}.panel-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#f0f5ee;color:#78997c}.stage-summary{display:flex;align-items:baseline;gap:11px;padding:8px 0 20px;border-bottom:1px solid #edf1eb}.stage-summary strong{font:36px Georgia,serif;color:#2d4a37}.stage-summary span{font-size:13px;color:#98a79a}.stage-list{display:grid;gap:15px;max-height:180px;overflow:auto;padding:19px 0}.stage-name{display:flex;align-items:center;gap:9px;color:#677a6b;font-size:13px;margin-bottom:7px}.stage-name b{margin-left:auto;color:#355840}.stage-dot{width:9px;height:9px;flex:none}.stage-track{display:block;width:100%;height:6px}.stage-empty{text-align:center;padding:25px 12px 15px;color:#8e9d90}.stage-empty-icon{display:grid;place-items:center;margin:0 auto 10px;width:38px;height:38px;border-radius:12px;background:#f3f6f1;color:#93a998}.stage-empty strong{font-size:13px;color:#64796a}.stage-empty p{font-size:12px;line-height:1.5;margin:5px auto;max-width:210px}.text-link{background:none;border:0;padding:12px 0 0;color:#4c7957;font-size:13px;font-weight:600}.text-link span{padding-left:7px}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:22px;margin-top:22px}.quick{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px}.quick button{display:flex;align-items:center;gap:12px;padding:16px;min-width:0}.quick-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:10px;background:#f2f6f0;color:#719174}.quick button small{line-height:1.4}.quick-arrow{margin-left:auto;color:#9aada0}.overview-panel{background:#eff4ec;border-color:#e6eee3}.overview-panel .muted{max-width:330px}.overview-line{display:flex;justify-content:space-between;border-bottom:1px solid #dfe9dd;padding:12px 0;color:#728477;font-size:13px}.overview-line b{color:#385940}.modal{width:min(920px,100%);padding:38px 42px;border-radius:18px;box-shadow:0 30px 100px #101d1560}.modal-header{margin-bottom:30px}.modal-header h2{font-size:28px;margin-top:8px}.form-grid{gap:22px 24px}.field{font-size:13px;gap:9px}.field input,.field select,.field textarea{padding:14px 15px;min-height:50px}.field textarea{min-height:125px}.actions{margin-top:32px}.actions button{padding:14px 22px}.table-wrap table{font-size:14px}th{padding:16px 12px}td{padding:20px 12px}.search{padding:13px 16px}.login-form{width:min(440px,100%)}.login-form .field input{min-height:54px}.login-form .primary{padding:17px}.login-art .brand-mark svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5}
@media(max-width:1100px){.content{padding:34px}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.bottom-grid{grid-template-columns:1fr}.chart-panel,.stages-panel{min-height:0}.quick{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.shell{grid-template-columns:75px minmax(0,1fr)}.sidebar{padding:25px 12px}.topbar{padding:0 22px}.content{padding:28px 22px}}
@media(max-width:600px){.content{padding:25px 15px}.stats{gap:10px}.card{min-height:135px;padding:16px}.metric{font-size:32px}.card-head{font-size:12px}.panel{padding:21px}.quick{grid-template-columns:1fr}.modal{padding:25px 20px;max-height:94vh}.form-grid{gap:15px}.heading h1{font-size:30px}.chart-bars{gap:3%}.dashboard-heading .primary{width:100%}}
.attachments,.document-tools{margin-top:28px;padding-top:24px;border-top:1px solid #e7ede5}.attachments h3,.document-tools h3{margin:0;font:21px Georgia,serif;color:#2d4937}.attachments p,.document-tools p,.attachment-hint{color:#8a998d;font-size:12px;line-height:1.5;margin:7px 0 0}.attachments-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.upload-label{position:relative;display:inline-flex;white-space:nowrap;cursor:pointer}.upload-label input{position:absolute;width:1px;height:1px;opacity:0}.upload-label:focus-within{outline:2px solid #6c9473;outline-offset:3px}.attachment-list{margin-top:15px}.attachment-empty{background:#f6f8f5;color:#89998b;padding:16px;border-radius:9px;font-size:13px}.attachment-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf1eb}.attachment-symbol{display:grid;place-items:center;flex:none;width:37px;height:37px;background:#edf4ed;border-radius:9px;color:#6b9072}.attachment-symbol svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}.attachment-info{display:grid;gap:4px;min-width:0;flex:1}.attachment-info b{font-size:13px;overflow-wrap:anywhere}.attachment-info small{font-size:11px;color:#94a398}.attachment-link{color:#4d7757;font-size:12px;font-weight:600;text-decoration:none}.attachment-delete{background:none;border:0;color:#aa7a73;font-size:21px}.document-buttons{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.document-buttons button:disabled{opacity:.5}.attachment-hint{padding-top:15px}@media(max-width:600px){.attachments-heading{align-items:flex-start;flex-direction:column}.attachment-row{gap:8px}.attachment-link{font-size:11px}}

.brand-mark svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.performance-panel{margin-top:22px}.performance-panel h2{margin-top:9px}.performance-panel .muted{margin-bottom:16px}.account-button{margin-top:16px}[hidden]{display:none!important}
.workspace-overlay{z-index:6}.entry-overlay{z-index:8}.workspace-modal{width:min(1100px,100%)}.workspace-tabs{display:flex;gap:7px;overflow:auto;padding:0 0 18px;border-bottom:1px solid #e5ece4}.workspace-tabs button{flex:none;border:0;background:#f2f5ef;color:#64786a;border-radius:8px;padding:10px 13px;font-size:12px;font-weight:600}.workspace-tabs button.active{background:#355e46;color:#fff}.workspace-heading{margin:22px 0 16px}.workspace-heading h3{margin:0;font:21px Georgia,serif}.workspace-heading p{margin:7px 0 0;color:#8a998d;font-size:12px}.workspace-list{display:grid;gap:8px}.workspace-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:#f7f9f6;border:1px solid #e8eee6;border-radius:9px;padding:15px;color:#35503c}.workspace-row span:first-child{display:grid;gap:5px}.workspace-row small{color:#829184;font-size:12px}.workspace-row b{font-size:13px}.workspace-totals{padding:14px;background:#eef5ec;border-radius:9px;color:#526c57;margin-bottom:15px;font-size:13px}
/* Clear controls and a stable navigation area */
.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#61786a transparent}.shell{align-items:start}.main{min-height:100vh;background:linear-gradient(145deg,#f7f8f4,#eef3ed)}.topbar{position:relative;box-shadow:0 3px 16px #20372b08}.brand-mark{background:#ffffff0a}.nav button{transition:background .18s,color .18s,transform .18s}.nav button:hover{transform:translateX(2px)}.card,.panel{box-shadow:0 12px 32px #263d2d0d}.primary{box-shadow:0 5px 13px #355e4622;transition:background .18s,transform .18s}.primary:hover{transform:translateY(-1px)}.secondary:hover{background:#e4eee2}.row-button{background:#edf4ec;border-radius:7px;padding:9px 12px;font-weight:600;white-space:nowrap}.row-button:hover{background:#ddebdc}.sort-button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#718676;padding:3px 0;font-weight:700;white-space:nowrap}.sort-button:hover{color:#315b3c}.sort-button span{color:#a5b6a7;font-size:15px}.sort-button:focus-visible,.row-button:focus-visible{outline:2px solid #64926b;outline-offset:3px}th[aria-sort="ascending"] .sort-button span,th[aria-sort="descending"] .sort-button span{font-size:0;color:#3d754b}th[aria-sort="ascending"] .sort-button span:after{content:'↑';font-size:15px}th[aria-sort="descending"] .sort-button span:after{content:'↓';font-size:15px}.workspace-related{padding:12px 0}.workspace-related h3{font:20px Georgia,serif;color:#344e3c}.attachment-empty{line-height:1.5}.nav button.active{box-shadow:inset 3px 0 #c6dda9,0 4px 14px #14271b26}
@media(max-width:600px){.sidebar{height:100dvh}.nav button{min-height:47px}.table-wrap{margin-inline:-4px;padding:0 4px}h1{line-height:1.1}}
.performance-filter,.performance-dates{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.performance-filter{margin:22px 0 8px}.performance-filter .field{min-width:190px}.performance-dates .field{min-width:160px}.performance-filter .primary{min-height:50px}.performance-hint{color:#88998a;font-size:12px;margin:10px 0 18px}.performance-dates[hidden]{display:none}@media(max-width:600px){.performance-filter,.performance-dates{align-items:stretch;flex-direction:column}.performance-filter .field,.performance-dates .field{min-width:0}.performance-dates .primary{width:100%}}
.project-card-modal{width:min(1180px,100%)}.project-workspace{margin-top:34px;border-top:1px solid #e5ece4;padding-top:28px}.project-workspace-title h3{font:25px Georgia,serif;color:#2d4937;margin:8px 0}.project-workspace-title p{color:#829286;font-size:13px;margin:0}.project-section-links{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 24px}.project-section-links button{border:1px solid #dce8da;background:#f3f7f1;color:#41694b;border-radius:8px;padding:10px 13px;font-size:12px;font-weight:600}.project-section-links button:hover{background:#e6f0e3}.project-sections{display:grid;gap:14px}.project-section{border:1px solid #e5ede3;background:#fcfdfb;border-radius:12px;padding:20px;scroll-margin-top:15px}.project-section .workspace-heading{margin:0 0 16px}.project-section .workspace-heading p{line-height:1.45}.section-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.section-sort{display:grid;gap:5px;color:#76897b;font-size:11px;font-weight:600}.section-sort select{height:39px;max-width:165px;border:1px solid #dfe8dc;border-radius:8px;padding:0 9px;background:#fff;color:#405b47;font-size:12px}.project-section .primary{padding:12px 15px;white-space:nowrap}.workspace-related h4{font-size:13px;color:#617965;margin:0 0 8px}.workspace-related:first-child{padding-top:0}.workspace-related:last-child{padding-bottom:0}.workspace-related .workspace-row{margin:6px 0}.project-card-modal>form>.actions{position:sticky;bottom:-38px;background:#fff;padding:16px 0 4px;box-shadow:0 -10px 16px #fff;z-index:1}.project-card-modal .attachments{scroll-margin-top:16px}@media(max-width:600px){.project-section{padding:15px}.section-controls{width:100%;justify-content:space-between}.section-sort{flex:1}.section-sort select{max-width:none;width:100%}.project-card-modal>form>.actions{bottom:-25px}.project-section-links{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.project-section-links button{white-space:nowrap}}
.list-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.list-filters select{min-width:160px}.interest-badge{display:inline-block;white-space:nowrap;border-radius:20px;padding:5px 9px;font-size:12px;background:#eff1ef;color:#636b66}.interest-cold{background:#e6f0f8;color:#315c7a}.interest-warm{background:#fff1d6;color:#895c16}.interest-hot{background:#fbe7e3;color:#a1392d}@media(max-width:720px){.list-filters{width:100%}.list-filters .search{min-width:0;flex:1}}
