/* Client workspace v40. Isolated from public pages and administrator views. */
body:not(.anon) .app-main{max-width:1800px;padding:0 32px 50px}body:not(.anon) .app-sidebar{background:linear-gradient(160deg,#112443,#0c172d);overflow-y:auto}body:not(.anon) .app-header{min-height:68px}body:not(.anon) .app-header>div:first-child{font-size:11px;color:#7186a3}body:not(.anon) .app-header>div:first-child>b{display:none}body:not(.anon) #client-nav button{display:flex;align-items:center;gap:13px;min-height:46px;font-size:13px}body:not(.anon) #client-nav button.active{background:#2566f5;color:white;box-shadow:0 5px 16px #00133025}body:not(.anon) #client-nav svg{width:19px;height:19px;flex-shrink:0}.dashboard-view{padding-top:26px}.dash-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.dash-hero small{font-size:9px;letter-spacing:1.5px;color:#5c78a0;font-weight:650}.dash-hero h1{margin:9px 0 10px;font-size:clamp(26px,2.6vw,39px);letter-spacing:-1.2px}.dash-hero p{margin:0;font-size:14px}.dash-hero>.btn{flex-shrink:0}.dash-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px}.dash-stat{display:flex;align-items:center;gap:17px;text-align:left;background:white;border:1px solid #dfe7f3;border-radius:14px;padding:23px;color:#112749;transition:border-color .15s}.dash-stat:hover{border-color:#719df9}.dash-symbol{display:grid;place-items:center;background:#edf3ff;color:#2668f5;border-radius:12px;width:48px;height:48px;flex-shrink:0}.dash-symbol svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.6;fill:none}.dash-stat:nth-child(2) .dash-symbol{background:#fff4df;color:#b97b13}.dash-stat:nth-child(3) .dash-symbol{background:#f0ecff;color:#7655ce}.dash-stat small{display:block;font-size:12px}.dash-stat strong{display:block;font-size:30px;line-height:1.2;margin-top:5px}.dash-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px}.dash-layout>div{min-width:0}.dash-panel{margin:0 0 22px;padding:23px;border-radius:15px;box-shadow:none}.dash-panel h2{font-size:18px;letter-spacing:-.4px}.dash-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.dash-section-head h2{margin:0}.dash-text-button{border:0;background:transparent;color:#2566f5;font-size:12px;font-weight:650;padding:8px 0;min-height:40px;text-align:left}.dash-project{border:1px solid #e2e9f4;border-radius:12px;padding:19px;margin-top:13px;background:linear-gradient(110deg,#fff,#fcfdff)}.dash-project-head{display:flex;gap:13px;align-items:center}.dash-project-title{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;min-width:0}.dash-project-title small{font-size:10px;width:100%}.dash-project-title h3{font-size:16px;margin:0;overflow-wrap:anywhere}.dash-project-title .badge{font-size:10px;padding:3px 8px}.dash-description{font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;margin:12px 0}.dash-next{font-size:12px;color:#4d6486;margin:12px 0}.dash-stages{list-style:none;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:17px 0}.dash-stages li{border-top:3px solid #e6edf7;padding-top:7px;font-size:8px;color:#7c8da5;overflow-wrap:anywhere}.dash-stages .done{border-color:#90b2ff;color:#5375a8}.dash-stages .current{border-color:#2668f5;color:#1657cf;font-weight:700}.dash-project-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px}.dash-project-footer small{font-size:10px}.dash-project-footer .btn{font-size:11px;padding:9px 13px;min-height:40px}.dash-empty{padding:20px 7px;text-align:left}.dash-empty h3{font-size:16px;margin:0 0 10px}.dash-empty p{font-size:13px;margin:0 0 16px;max-width:500px}.dash-proposal{background:#f8faff;border:1px solid #e1e9f6;border-radius:12px;padding:19px;margin:13px 0}.dash-proposal>small{font-size:11px;display:block;overflow-wrap:anywhere}.dash-proposal h3{margin:12px 0;font-size:23px}.dash-proposal p{font-size:11px}.dash-proposal .btn{width:100%;font-size:12px}.dash-proposals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dash-proposals .dash-proposal{margin:0}.dash-help{background:#eef4ff}.dash-help p{font-size:13px}.dash-help .btn{font-size:12px}.dash-activity{display:flex;align-items:flex-start;gap:12px;width:100%;padding:15px 0;text-align:left;border:0;border-bottom:1px solid #e8edf6;background:transparent;color:#203a5e}.dash-activity:last-child{border-bottom:0}.dash-activity>span:last-child{min-width:0}.dash-activity strong{font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-weight:600}.dash-activity small{display:block;font-size:10px;margin-top:5px}.dash-activity-icon{display:grid;place-items:center;color:#2668f5;background:#edf3ff;border-radius:50%;width:30px;height:30px;flex-shrink:0}.dash-file{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid #e3eaf6;font-size:14px;overflow-wrap:anywhere}.dash-file small{flex-shrink:0;font-size:10px}.dash-warning{padding:16px;background:#fff4df;border:1px solid #f0debb;border-radius:12px;margin-bottom:20px}.dash-warning p{color:#7e5b20;margin-top:0;font-size:13px}.dash-loading{padding:25px 0}.dashboard-view>.invoice-panel{margin-top:20px}body:not(.anon) .project-workspace{max-width:1100px}.dashboard-view .payments{overflow-wrap:anywhere}
@media(min-width:1700px){.dash-project{padding:22px}.dash-project-title h3{font-size:17px}.dash-stages li{font-size:10px}}
@media(max-width:1200px){.dash-layout{grid-template-columns:minmax(0,1fr)}.dash-layout>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.dash-proposals{grid-template-columns:1fr 1fr}.dash-stat{padding:18px;gap:12px}.dash-symbol{width:40px;height:40px}.dash-stat small{font-size:11px}.dash-hero{align-items:flex-start}.dash-hero h1{font-size:29px}}
@media(max-width:800px){body:not(.anon) .app-main{padding-inline:20px}.dash-stats{gap:10px}.dash-stat{padding:15px 10px;gap:8px}.dash-stat .dash-symbol{display:none}.dash-stat strong{font-size:25px}.dash-layout>div:last-child{display:block}.dash-hero{flex-direction:column;gap:18px}.dash-proposals{grid-template-columns:1fr}.dash-panel{padding:20px}}
@media(max-width:700px){body:not(.anon) .app-sidebar{padding:14px 16px}body:not(.anon) .app-sidebar>.brand{display:none}body:not(.anon) #client-nav{margin:0;display:flex;gap:6px;padding:0 0 3px}body:not(.anon) #client-nav button{display:flex;flex-direction:column;gap:6px;padding:9px 12px;font-size:10px;flex-shrink:0;align-items:center;min-height:60px}body:not(.anon) #client-nav svg{width:19px;height:19px}body:not(.anon) .app-main{padding:0 16px 35px}.dashboard-view{padding-top:22px}.dash-hero h1{font-size:28px}.dash-hero p{font-size:13px}.dash-stats{grid-template-columns:1fr;margin-bottom:20px}.dash-stat{padding:14px 17px;gap:15px}.dash-stat .dash-symbol{display:grid;width:38px;height:38px}.dash-stat>span:last-child{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:1}.dash-stat strong{margin:0}.dash-stat small{font-size:12px}.dash-panel{padding:18px}.dash-project{padding:15px}.dash-project-head .dash-symbol{width:34px;height:34px;border-radius:9px}.dash-project-title h3{font-size:14px}.dash-project-title .badge{font-size:9px}.dash-section-head{align-items:flex-start;gap:10px}.dash-section-head h2{font-size:17px}.dash-text-button{font-size:10px;padding-top:0}.dash-project-footer{flex-wrap:wrap}.dash-stages{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dash-stages li{font-size:9px}.dash-file{align-items:flex-start;flex-direction:column;gap:8px}}
@media(prefers-reduced-motion:reduce){.dash-stat{transition:none}}
@media(max-width:700px){body:not(.anon) #client-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:5px}body:not(.anon) #client-nav button{white-space:normal;padding:8px 3px;font-size:9px;min-width:0;line-height:1.35}.dash-layout{display:flex;flex-direction:column}.dash-layout>div:last-child{order:-1}.dash-layout .dash-help{margin-bottom:0}}
