:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#20232b;background:#f8f8fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#fff,#fff8fc 38%,#f8fffb)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:24px 16px;background:#fff;border-right:1px solid #ececf2;display:flex;flex-direction:column}.brand{font-size:25px;font-weight:950;letter-spacing:-.045em}.brand.big{font-size:34px;margin-bottom:10px}.brand span{color:#ff2f92}.workspace-name{margin:9px 0 24px;color:#626674;font-size:13px}.workspace-name small{display:block;margin-top:2px;color:#a0a2aa;text-transform:capitalize}.sidebar nav{display:grid;gap:6px}.sidebar nav button{border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:12px;color:#4d515e}.sidebar nav button:hover,.sidebar nav button.active{background:#fff0f7;color:#ce0064;font-weight:800}.sidebar-foot{margin-top:auto;font-size:12px;color:#727681;display:flex;align-items:center;gap:7px;padding:10px}.live-dot{width:8px;height:8px;border-radius:50%;background:#18b766;box-shadow:0 0 0 4px #e5fff0}.content-shell{min-width:0}.mobile-nav{display:none}.content-shell main{padding:26px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.topbar h1{font-size:29px;line-height:1.1;margin:0}.topbar p{margin:5px 0 0;color:#777b87}.top-actions,.button-group,.clock-actions,.row-gap{display:flex;gap:9px;align-items:center}.workspace-pill{font-size:12px;padding:7px 10px;border-radius:999px;background:#edfff2;color:#187a42;border:1px solid #cef1d8}.btn{border:0;border-radius:11px;padding:9px 13px;font-weight:800}.btn.primary{background:#ff2f92;color:#fff}.btn.soft{background:#f4f4f8;color:#4f5360}.btn.green{background:#e8fff0;color:#157b40}.btn.full{width:100%;margin-top:12px}.card,.metric-card,.project-card,.person-card{background:#fff;border:1px solid #ececf2;box-shadow:0 8px 28px #262a320d}.card{border-radius:18px;padding:18px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.metric-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card{border-radius:16px;padding:17px}.metric-card small{display:block;color:#7b7e89;font-size:12px}.metric-card strong{display:block;margin-top:6px;font-size:25px;letter-spacing:-.03em}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:16px}.dashboard-grid .wide{grid-column:1/-1}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:15px}.section-head h2,.card h2{font-size:18px;margin:0}.section-head p,.card>p{font-size:13px;color:#7d808c;margin:5px 0 0}.accent-card{background:linear-gradient(135deg,#fff4f9,#f4fff8)}.flow{margin-top:16px;font-size:13px;font-weight:800;display:flex;gap:7px;flex-wrap:wrap}.flow span{color:#ff2f92}.list{display:grid}.list-row,.project-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #f0f0f4}.list-row:last-child,.project-row:last-child{border-bottom:0}.project-row{border-left:0;border-right:0;border-top:0;background:transparent;text-align:left;width:100%}.list-row small,.project-row small,td small{display:block;color:#8b8e98;margin-top:3px}.align-right{text-align:right}.kpi-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #f0f0f4;font-size:13px}.kpi-row:last-child{border-bottom:0}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;background:#f1f2f5;color:#575b67;font-size:11px;font-weight:850;text-transform:capitalize;white-space:nowrap}.badge.live,.badge.active,.badge.approved,.badge.ready,.badge.accepted{background:#e8fff0;color:#15783e}.badge.pre_start,.badge.pending,.badge.sent,.badge.qualified,.badge.quoting{background:#fff5db;color:#8a6110}.badge.urgent,.badge.rejected,.badge.lost{background:#ffe8e8;color:#a12626}.badge.high,.badge.quote_sent{background:#fff0e7;color:#a24b18}.badge.completed,.badge.done{background:#edf4ff;color:#285d9a}.project-cards,.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.project-card,.person-card{border-radius:17px;padding:16px;text-align:left}.project-card{border:1px solid #ececf2}.project-card:hover{border-color:#ff9bc7;transform:translateY(-1px)}.project-card-top{display:flex;justify-content:space-between;align-items:center}.project-card h3,.person-card h3{margin:13px 0 4px;font-size:17px}.project-card p,.person-card p{margin:0;color:#7d808c;font-size:13px}.project-dates{display:flex;justify-content:space-between;gap:10px;margin-top:18px;color:#898c96;font-size:11px}.person-card{display:grid;gap:10px}.person-avatar{width:42px;height:42px;border-radius:13px;background:#fff0f7;color:#cf0063;display:grid;place-items:center;font-weight:950}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.tabs button{border:1px solid #e8e8ee;background:#fff;border-radius:10px;padding:8px 11px;text-transform:capitalize}.tabs button.active{border-color:#ff2f92;background:#fff0f7;color:#c90060;font-weight:800}.panel{background:#fbfbfd;border:1px solid #ededf2;border-radius:14px;padding:15px;margin-bottom:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field{display:grid;gap:6px}.field label{font-size:12px;font-weight:800;color:#555965}.field input,.field select,.field textarea,.person-card select,td select{width:100%;border:1px solid #dfe1e8;border-radius:10px;padding:9px 10px;background:#fff;color:#252832}.field textarea{min-height:100px;resize:vertical}.span-2{grid-column:1/-1}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px 10px;text-align:left;border-bottom:1px solid #f0f0f3;font-size:13px;vertical-align:top}th{font-size:11px;text-transform:uppercase;letter-spacing:.045em;color:#8c8f99}.empty{padding:28px;text-align:center;color:#888b95;font-size:13px}.timeline{display:grid;gap:12px}.timeline-item{display:grid;grid-template-columns:120px 1fr;gap:18px;padding:14px 0;border-bottom:1px solid #f0f0f3}.timeline-date{font-weight:850;color:#535762}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:12px;color:#777b87}.muted{color:#7f828d}.notice{margin-top:12px;padding:10px 12px;border-radius:10px;background:#eef8ff;color:#235a7e;font-size:13px}.notice.danger{background:#fff0f0;color:#9a2525}.centered{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{width:min(460px,100%);background:#fff;border:1px solid #ececf2;border-radius:22px;padding:28px;box-shadow:0 20px 65px #22262f1a}.auth-card h1{margin:0 0 5px}.row-gap{justify-content:space-between}@media (max-width:1080px){.project-cards,.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.mobile-nav{display:flex;position:sticky;top:0;z-index:20;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid #ececf2;padding:11px 14px}.mobile-nav select{border:1px solid #dfe1e8;border-radius:9px;padding:7px 9px;background:#fff}.content-shell main{padding:15px}.topbar{align-items:flex-start}.workspace-pill{display:none}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.metric-grid.compact,.timeline-item,.detail-grid{grid-template-columns:1fr}.preview-mode{display:flex;flex-direction:column}.preview-mode .sidebar{display:block;position:sticky;top:0;z-index:35;width:100%;height:auto;padding:calc(env(safe-area-inset-top,0px) + 7px) 10px 7px;border-right:0;border-bottom:1px solid #343843;background:#17191f;overflow:hidden}.preview-mode .sidebar>.brand,.preview-mode .workspace-name,.preview-mode .sidebar-foot{display:none}.preview-mode .sidebar nav{display:flex;gap:5px;overflow-x:auto;padding:0 0 1px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.preview-mode .sidebar nav::-webkit-scrollbar{display:none}.preview-mode .sidebar nav button{flex:0 0 auto;white-space:nowrap;padding:6px 9px;font-size:12px;line-height:1.1;border:1px solid #343843;background:#20232a;color:#d7dae2;border-radius:10px}.preview-mode .sidebar nav button.active{background:#fff;color:#17191f;border-color:#fff}.preview-mode .content-shell{width:100%}.preview-mode .content-shell main{padding-top:11px}.preview-mode .topbar{margin-top:0;margin-bottom:16px}.preview-mode .topbar h1{font-size:22px}.preview-mode .topbar p{font-size:13px;line-height:1.35}.preview-mode .dashboard-grid .card h2:only-child:after{content:"Nothing needs your attention here yet.";display:block;margin-top:12px;font-size:13px;font-weight:500;color:#888d98}}@media (max-width:560px){.metric-grid,.project-cards,.people-grid{grid-template-columns:1fr 1fr}.metric-card strong{font-size:21px}.project-cards,.people-grid{grid-template-columns:1fr}.topbar h1{font-size:24px}.top-actions .btn{padding:8px 10px}.card{padding:14px}.section-head{align-items:flex-start}.button-group{flex-wrap:wrap}.tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.tabs button{white-space:nowrap}.preview-mode .sidebar nav button{padding:5px 8px;font-size:11px}.preview-mode .topbar h1{font-size:21px}.preview-mode .metric-card{padding:14px}.preview-mode .card{border-radius:15px}}@media (min-width:821px) and (max-width:1180px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:20px 12px}.content-shell main{padding:20px}.metric-grid,.project-cards,.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.topbar h1{font-size:27px}}@media (max-width:820px){.test-shell{display:flex;flex-direction:column}.test-shell .sidebar{display:block;position:sticky;top:0;z-index:40;width:100%;height:auto;padding:calc(env(safe-area-inset-top,0px) + 6px) 8px 6px;border-right:0;border-bottom:1px solid #343843;background:#17191f;overflow:hidden}.test-shell .sidebar>.brand,.test-shell .sidebar>.workspace-name,.test-shell .sidebar>.sidebar-foot{display:none}.test-shell .sidebar nav{display:flex;gap:6px;overflow-x:auto;padding:0 0 2px;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x}.test-shell .sidebar nav::-webkit-scrollbar{display:none}.test-shell .sidebar nav button{flex:0 0 auto;min-height:42px;white-space:nowrap;padding:9px 12px;border:1px solid #343843;border-radius:10px;background:#20232a;color:#d7dae2;font-size:12px;line-height:1.1;touch-action:manipulation}.test-shell .sidebar nav button.active{background:#fff;border-color:#fff;color:#17191f}.test-shell .content-shell{width:100%}.test-shell .content-shell main{padding-top:12px}.test-shell .topbar{flex-direction:column;align-items:stretch}.test-shell .topbar>.button-group,.test-shell .section-head>.button-group{width:100%;flex-wrap:wrap}.test-shell .topbar>.button-group .btn,.test-shell .section-head>.button-group .btn{min-height:44px}.test-shell .btn,.test-shell button,.test-shell select,.test-shell input{touch-action:manipulation}.test-shell .table-wrap{-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}html,body{max-width:100%;overflow-x:hidden}.content-shell,.content-shell main,.card,.metric-card,.project-card,.person-card{min-width:0}.content-shell main{padding:clamp(12px,3.5vw,18px)}.topbar{gap:10px;margin-bottom:16px}.topbar>div{min-width:0}.topbar h1{font-size:clamp(21px,6vw,26px)}.topbar p{font-size:clamp(12px,3.5vw,14px);line-height:1.4}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric-card{padding:clamp(13px,4vw,17px)}.metric-card strong{font-size:clamp(20px,6vw,25px)}.card{padding:clamp(13px,4vw,18px)}.section-head{gap:10px}.section-head>*{min-width:0}.list-row,.project-row{align-items:flex-start}.align-right{flex:0 0 auto}.preview-mode .sidebar{padding:calc(env(safe-area-inset-top,0px) + 5px) max(8px,env(safe-area-inset-right,0px)) 5px max(8px,env(safe-area-inset-left,0px))}.preview-mode .sidebar nav{gap:5px}.preview-mode .sidebar nav button{min-height:36px;padding:7px 10px;font-size:12px;border-radius:9px}}@media (max-width:480px){.test-shell .sidebar nav button{min-height:40px;padding:8px 10px;font-size:11px}.test-shell .button-group{width:100%;flex-wrap:wrap}.test-shell .button-group .btn{flex:1 1 140px;min-height:44px}.content-shell main{padding:11px}.topbar{margin-bottom:13px}.topbar h1{font-size:21px}.topbar p{font-size:12px}.metric-grid{gap:8px}.metric-card{padding:12px;border-radius:14px}.metric-card small{font-size:11px}.metric-card strong{font-size:20px}.card{padding:12px;border-radius:14px}.section-head{flex-direction:column;align-items:stretch}.button-group{width:100%}.button-group .btn{flex:1 1 auto}.project-row,.list-row{gap:8px}.project-row>div:first-child,.list-row>div:first-child{min-width:0}.project-row strong,.project-row small,.list-row strong,.list-row small{overflow-wrap:anywhere}.preview-mode .sidebar nav button{min-height:34px;padding:6px 8px;font-size:11px}}@media (max-width:360px){.content-shell main{padding:9px}.metric-grid{grid-template-columns:1fr 1fr;gap:7px}.metric-card{padding:10px}.metric-card strong{font-size:18px}.card{padding:10px}.preview-mode .sidebar nav button{padding:5px 7px;font-size:10.5px}}.pwa-install{display:grid;gap:7px}.pwa-install.compact{display:inline-grid}.pwa-install-help{font-size:12px;line-height:1.45;padding:10px 12px;border-radius:12px;background:#ff2f9214;border:1px solid rgba(255,47,146,.22)}.site-qr-layout{display:grid;grid-template-columns:minmax(260px,420px) minmax(0,1fr);gap:28px;align-items:center}.site-qr-preview{text-align:center}.site-qr-image-button{width:100%;max-width:380px;border:0;background:transparent;padding:0;color:inherit}.site-qr-image-button img{display:block;width:100%;max-width:360px;margin:0 auto;border-radius:14px}.site-qr-image-button span{display:block;margin-top:8px;font-size:12px;color:#7d808c;font-weight:700}.site-qr-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#0a0c10e0}.site-qr-modal-card{width:min(620px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;color:#20232b;border-radius:22px;padding:24px;text-align:center}.site-qr-modal-card img{display:block;width:min(78vw,460px);max-width:100%;margin:18px auto;border-radius:14px}.site-qr-modal-card .button-group{justify-content:center;flex-wrap:wrap}.site-qr-close{position:fixed;top:max(14px,env(safe-area-inset-top,0px));right:max(14px,env(safe-area-inset-right,0px));z-index:1001;min-width:72px;min-height:44px;border:0;border-radius:12px;background:#fff;color:#20232b;font-weight:850}@media (max-width:820px){.site-qr-layout{grid-template-columns:1fr;gap:18px}.site-qr-image-button{max-width:430px;min-height:44px}.site-qr-modal{padding:14px}.site-qr-modal-card{padding:18px;border-radius:18px;max-height:calc(100vh - 28px)}.site-qr-modal-card img{width:min(88vw,520px)}}.timesheet-week-picker{max-width:220px}.timesheet-week-table{min-width:1680px}.timesheet-week-table th:first-child,.timesheet-week-table td:first-child{position:sticky;left:0;z-index:2;background:#fff}.timesheet-week-table th:first-child{z-index:3}.timesheet-week-table td:first-child{box-shadow:8px 0 12px #00000009}@media (max-width:1180px){.timesheet-week-picker{max-width:none;min-width:190px;flex:1 1 210px}.timesheet-week-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x}.timesheet-week-table th,.timesheet-week-table td{padding:10px 9px}.timesheet-week-table td:last-child .button-group{min-width:180px;flex-wrap:wrap}.timesheet-week-table td:last-child .btn{min-height:42px}}@media (max-width:820px){.timesheet-week-picker{width:100%;flex-basis:100%}.timesheet-week-picker select{min-height:44px}.timesheet-week-table{min-width:1500px}.timesheet-week-table th:first-child,.timesheet-week-table td:first-child{min-width:150px}.timesheet-week-table-wrap{margin-left:-4px;margin-right:-4px}}@media (max-width:480px){.timesheet-week-table{min-width:1380px}.timesheet-week-table th,.timesheet-week-table td{padding:9px 8px;font-size:12px}.timesheet-week-table th:first-child,.timesheet-week-table td:first-child{min-width:135px}}.rota-date-picker{max-width:220px}.rota-save-action .btn{min-height:44px}@media (max-width:820px){.rota-date-picker{max-width:none;width:100%}.rota-date-picker input{min-height:44px}.rota-shift-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.rota-shift-row>.button-group{justify-content:flex-end;flex-wrap:wrap;max-width:260px}.rota-shift-row>.button-group .btn{min-height:44px}.rota-save-action .btn{width:100%}}@media (max-width:560px){.rota-shift-row{grid-template-columns:1fr;gap:10px;padding:14px 0}.rota-shift-row>.button-group{width:100%;max-width:none;justify-content:stretch}.rota-shift-row>.button-group .btn{flex:1 1 30%;min-width:88px}}.assignments-top-actions .btn,.assignment-save-action .btn{min-height:44px}@media (max-width:820px){.assignments-top-actions,.assignments-top-actions .btn{width:100%}.assignment-person-row,.assignment-current-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.assignment-person-row>.btn{min-height:44px;min-width:96px}.assignment-current-row>.button-group{justify-content:flex-end;flex-wrap:wrap}.assignment-current-row>.button-group .btn{min-height:44px}.assignment-save-action .btn{width:100%}}@media (max-width:560px){.assignment-person-row,.assignment-current-row{grid-template-columns:1fr;gap:10px;padding:14px 0}.assignment-person-row>.btn{width:100%}.assignment-current-row>.button-group{width:100%;justify-content:stretch}.assignment-current-row>.button-group .btn{flex:1 1 45%}}.project-control-actions{flex-wrap:wrap}.project-save-button,.project-toolbox-action,.project-toolbox-save .btn{min-height:44px}@media (max-width:820px){.project-workspace-head{flex-direction:column;align-items:stretch}.project-workspace-head>.button-group{width:100%;flex-wrap:wrap}.project-workspace-head>.button-group .btn{min-height:44px;flex:1 1 140px}.project-control-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.project-control-actions .btn{width:100%;min-height:46px}.project-save-button,.project-toolbox-action,.project-toolbox-save .btn{width:100%}.test-shell .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.test-shell .detail-grid>div{min-width:0}.test-shell .detail-grid strong{overflow-wrap:anywhere}}@media (max-width:560px){.project-control-actions{grid-template-columns:1fr}.project-workspace-head>.button-group .btn{flex:1 1 45%}.test-shell .detail-grid{grid-template-columns:1fr}.project-card{min-height:118px}.project-card .project-dates{gap:8px;flex-wrap:wrap}}.crm-global-search{min-width:280px;max-width:460px;width:42%}.crm-global-search input{min-height:44px}@media (max-width:1180px){.preview-mode .topbar{flex-wrap:wrap}.crm-global-search{order:3;width:100%;max-width:none;min-width:0;flex:1 1 100%}.preview-mode .topbar>.button-group{margin-left:auto}}@media (max-width:820px){.preview-mode .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px}.preview-mode .topbar>div:first-child{min-width:0}.preview-mode .topbar>.button-group{width:auto;margin:0}.preview-mode .topbar>.button-group .btn{min-height:44px}.crm-global-search{grid-column:1/-1;order:initial;width:100%;max-width:none}.crm-global-search .field,.crm-global-search input{width:100%}.preview-mode .project-row{min-height:54px;touch-action:manipulation}}@media (max-width:560px){.preview-mode .topbar{grid-template-columns:1fr}.preview-mode .topbar>.button-group{width:100%}.preview-mode .topbar>.button-group .btn{width:100%}.preview-mode .project-row{align-items:flex-start}}.crm-search-input-wrap{position:relative;display:flex;align-items:center}.crm-search-input-wrap input{padding-right:44px}.crm-search-clear{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:9px;background:#f1f2f5;color:#555965;font-size:22px;line-height:1;display:grid;place-items:center}.crm-search-results{scroll-margin-top:64px}.crm-search-result-row{min-height:56px;touch-action:manipulation}.crm-search-result-row>div:first-child{min-width:0}.crm-search-result-row strong,.crm-search-result-row small{overflow-wrap:anywhere}@media (max-width:820px){.crm-global-search{position:sticky;top:49px;z-index:30;padding:8px 0;background:linear-gradient(to bottom,#fff 78%,#ffffffeb)}.crm-search-input-wrap input{min-height:48px;font-size:16px}.crm-search-clear{width:38px;height:38px}.crm-search-results{margin-top:4px}.crm-search-result-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:14px 0}.crm-search-result-row .badge{align-self:start}}@media (max-width:560px){.crm-global-search{top:47px}.crm-search-result-row{grid-template-columns:1fr}.crm-search-result-row .badge{justify-self:start}}.cost-period-table{min-width:860px}.cost-save-action .btn{min-height:44px}@media (max-width:820px){.cost-period-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x}.cost-period-table th:first-child,.cost-period-table td:first-child{position:sticky;left:0;z-index:2;background:#fff;min-width:145px}.cost-period-table th:first-child{z-index:3}.cost-period-table td:first-child{box-shadow:8px 0 12px #00000009}.cost-period-table .btn{min-height:42px;white-space:nowrap}.cost-save-action .btn{width:100%}.cost-entry-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.cost-entry-row>.align-right{min-width:110px}.cost-entry-row .link-btn{min-width:44px;min-height:44px}}@media (max-width:560px){.cost-entry-row{grid-template-columns:1fr;gap:8px}.cost-entry-row>.align-right{text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}}.diary-clock-count{margin-top:8px;min-height:42px}.diary-save-action .btn{min-height:44px}.diary-entry-actions{flex-wrap:wrap}.diary-entry-actions .btn{min-height:42px}.diary-upload-action{display:inline-flex;align-items:center;justify-content:center}@media (max-width:820px){.diary-top-actions{width:100%}.diary-top-actions .btn{width:100%;min-height:44px}.diary-clock-count{width:100%;min-height:46px}.diary-save-action .btn{width:100%;min-height:48px}.diary-entry-card .section-head{align-items:flex-start}.diary-entry-card .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.diary-entry-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.diary-entry-actions .btn{width:100%;min-height:46px}}@media (max-width:560px){.diary-entry-card .detail-grid,.diary-entry-actions{grid-template-columns:1fr}.diary-entry-actions .btn{min-height:48px}.diary-entry-card .panel .list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.diary-entry-card .panel .list-row .btn{min-height:44px}}.evidence-linked-clear{margin-left:8px;min-height:42px}.evidence-upload-field input[type=file]{min-height:46px;padding:9px;background:#fff}.evidence-card-actions .button-group{flex-wrap:wrap;justify-content:flex-end}.evidence-card-actions .btn{min-height:42px}@media (max-width:820px){.evidence-linked-clear{display:block;width:100%;margin:10px 0 0}.evidence-upload-field input[type=file]{min-height:50px;font-size:16px}.evidence-card{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.evidence-card>div:first-child{min-width:0}.evidence-card h3,.evidence-card p,.evidence-card small{overflow-wrap:anywhere}.evidence-card-actions{text-align:left;width:100%}.evidence-card-actions .button-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.evidence-card-actions .btn{width:100%;min-height:46px}}@media (max-width:560px){.evidence-card-actions .button-group{grid-template-columns:1fr}.evidence-card-actions .btn{min-height:48px}}.variation-top-actions .btn,.variation-save-action .btn{min-height:44px}.variation-filters{flex-wrap:wrap}.variation-register-side{min-width:280px}.variation-register-summary{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:8px}.variation-register-actions{justify-content:flex-end;flex-wrap:wrap}.variation-register-actions .btn{min-height:42px}@media (max-width:820px){.variation-top-actions,.variation-top-actions .btn{width:100%}.variation-save-action .btn{width:100%;min-height:48px}.variation-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:7px}.variation-filters .btn{width:100%;min-height:44px;padding:8px}.variation-register-card{display:grid;grid-template-columns:1fr;gap:12px}.variation-register-card>div:first-child{min-width:0}.variation-register-card h3,.variation-register-card p,.variation-register-card small{overflow-wrap:anywhere}.variation-register-side{min-width:0;width:100%;text-align:left}.variation-register-summary{justify-content:space-between}.variation-register-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.variation-register-actions .btn{width:100%;min-height:46px}}@media (max-width:560px){.variation-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.variation-register-actions{grid-template-columns:1fr}.variation-register-actions .btn{min-height:48px}}.invoice-top-actions .btn,.invoice-save-button,.invoice-overdue-action{min-height:44px}.invoice-detail-actions,.invoice-filters{flex-wrap:wrap}.invoice-register-row{min-height:58px}@media (max-width:820px){.invoice-top-actions{width:100%}.invoice-top-actions .btn{width:100%;min-height:48px}.invoice-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.invoice-detail-actions .btn{width:100%;min-height:46px}.invoice-overdue-action{width:100%}.invoice-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px}.invoice-filters .btn{width:100%;min-height:44px;padding:8px}.invoice-register-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:14px 0}.invoice-register-row>div:first-child{min-width:0}.invoice-register-row strong,.invoice-register-row small{overflow-wrap:anywhere}.invoice-register-row>.align-right{min-width:110px}.invoice-save-button{width:100%;min-height:48px;margin-top:10px}.test-shell .form-grid .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.invoice-detail-actions{grid-template-columns:1fr}.invoice-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-register-row{grid-template-columns:1fr}.invoice-register-row>.align-right{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left}.test-shell .form-grid .form-grid{grid-template-columns:1fr}}.payment-top-actions .btn,.payment-save-button{min-height:44px}.payment-detail-actions,.payment-filters{flex-wrap:wrap}.payment-register-row{min-height:58px}@media (max-width:820px){.payment-top-actions{width:100%}.payment-top-actions .btn{width:100%;min-height:48px}.payment-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.payment-detail-actions .btn{width:100%;min-height:46px}.payment-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px}.payment-filters .btn{width:100%;min-height:44px;padding:8px}.payment-register-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:14px 0}.payment-register-row>div:first-child{min-width:0}.payment-register-row strong,.payment-register-row small{overflow-wrap:anywhere}.payment-register-row>.align-right{min-width:110px}.payment-save-button{width:100%;min-height:48px;margin-top:10px}}@media (max-width:560px){.payment-detail-actions{grid-template-columns:1fr}.payment-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-register-row{grid-template-columns:1fr}.payment-register-row>.align-right{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left}}.delay-top-actions .btn,.delay-save-action .btn{min-height:44px}.delay-detail-actions,.delay-mode-switch{flex-wrap:wrap}.delay-register-row{min-height:58px}@media (max-width:820px){.delay-top-actions{width:100%}.delay-top-actions .btn{width:100%;min-height:48px}.delay-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.delay-detail-actions .btn{width:100%;min-height:46px}.delay-mode-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.delay-mode-switch .btn{width:100%;min-height:46px}.delay-save-action .btn{width:100%;min-height:48px}.delay-register-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:14px 0}.delay-register-row>div:first-child{min-width:0}.delay-register-row strong,.delay-register-row small{overflow-wrap:anywhere}}@media (max-width:560px){.delay-detail-actions,.delay-register-row{grid-template-columns:1fr}.delay-register-row .badge{justify-self:start}}.rfi-top-actions .btn,.rfi-save-action .btn{min-height:44px}.rfi-detail-actions,.rfi-filters{flex-wrap:wrap}.rfi-register-row{min-height:58px}@media (max-width:820px){.rfi-top-actions{width:100%}.rfi-top-actions .btn{width:100%;min-height:48px}.rfi-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.rfi-detail-actions .btn{width:100%;min-height:46px}.rfi-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:7px}.rfi-filters .btn{width:100%;min-height:44px;padding:8px}.rfi-save-action .btn{width:100%;min-height:48px}.rfi-register-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:14px 0}.rfi-register-row>div:first-child{min-width:0}.rfi-register-row strong,.rfi-register-row small{overflow-wrap:anywhere}}@media (max-width:560px){.rfi-detail-actions{grid-template-columns:1fr}.rfi-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.rfi-register-row{grid-template-columns:1fr}.rfi-register-row .badge{justify-self:start}}.snag-top-actions .btn,.snag-save-action .btn{min-height:44px}.snag-detail-actions,.snag-filters{flex-wrap:wrap}.snag-register-row{min-height:58px}@media (max-width:820px){.snag-top-actions{width:100%}.snag-top-actions .btn{width:100%;min-height:48px}.snag-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.snag-detail-actions .btn{width:100%;min-height:46px}.snag-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:7px}.snag-filters .btn{width:100%;min-height:44px;padding:8px}.snag-save-action .btn{width:100%;min-height:48px}.snag-register-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:14px 0}.snag-register-row>div:first-child{min-width:0}.snag-register-row strong,.snag-register-row small{overflow-wrap:anywhere}}@media (max-width:560px){.snag-detail-actions{grid-template-columns:1fr}.snag-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.snag-register-row{grid-template-columns:1fr}.snag-register-row .badge{justify-self:start}}@media (max-width:1100px){.test-shell,.preview-mode{display:flex;flex-direction:column;min-width:0}.test-shell .sidebar,.preview-mode .sidebar{display:block;position:sticky;top:0;z-index:50;width:100%;height:auto;padding:calc(env(safe-area-inset-top,0px) + 6px) 8px 6px;border-right:0;border-bottom:1px solid #343843;background:#17191f;overflow:hidden}.test-shell .sidebar>.brand,.test-shell .sidebar>.workspace-name,.test-shell .sidebar>.sidebar-foot,.preview-mode .sidebar>.brand,.preview-mode .sidebar>.workspace-name,.preview-mode .sidebar>.sidebar-foot{display:none}.test-shell .sidebar nav,.preview-mode .sidebar nav{display:flex;gap:6px;overflow-x:auto;padding:0 0 2px;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x}.test-shell .sidebar nav::-webkit-scrollbar,.preview-mode .sidebar nav::-webkit-scrollbar{display:none}.test-shell .sidebar nav button,.preview-mode .sidebar nav button{flex:0 0 auto;min-height:42px;white-space:nowrap;padding:9px 12px;border:1px solid #343843;border-radius:10px;background:#20232a;color:#d7dae2;font-size:12px;line-height:1.1;touch-action:manipulation}.test-shell .sidebar nav button.active,.preview-mode .sidebar nav button.active{background:#fff;border-color:#fff;color:#17191f}.test-shell .content-shell,.preview-mode .content-shell{width:100%;min-width:0}.test-shell .content-shell main,.preview-mode .content-shell main{padding:16px;min-width:0}.test-shell .topbar,.preview-mode .topbar{flex-wrap:wrap;align-items:flex-start}.test-shell .topbar>div:first-child,.preview-mode .topbar>div:first-child{min-width:0;flex:1 1 320px}.test-shell .topbar>button.btn,.preview-mode .topbar>button.btn{min-height:44px}.test-shell .topbar>.button-group,.preview-mode .topbar>.button-group{flex-wrap:wrap}.test-shell .topbar h1,.preview-mode .topbar h1,.test-shell .topbar p,.preview-mode .topbar p{overflow-wrap:anywhere}.test-shell .section-head,.preview-mode .section-head{flex-wrap:wrap}.test-shell .section-head>div:first-child,.preview-mode .section-head>div:first-child{min-width:0;flex:1 1 280px}.test-shell .section-head>.button-group,.preview-mode .section-head>.button-group{flex-wrap:wrap}.test-shell .form-grid,.preview-mode .form-grid,.test-shell .form-grid .form-grid,.preview-mode .form-grid .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.test-shell .field input,.test-shell .field select,.test-shell .field textarea,.preview-mode .field input,.preview-mode .field select,.preview-mode .field textarea{min-height:44px;font-size:16px}.test-shell textarea,.preview-mode textarea{min-width:0;max-width:100%}.test-shell .button-group,.preview-mode .button-group{flex-wrap:wrap}.test-shell .button-group .btn,.preview-mode .button-group .btn{min-height:44px;touch-action:manipulation}.test-shell .project-row,.preview-mode .project-row{min-height:58px}.test-shell .list-row,.preview-mode .list-row{min-width:0}.test-shell .project-row>div:first-child,.test-shell .list-row>div:first-child,.preview-mode .project-row>div:first-child,.preview-mode .list-row>div:first-child{min-width:0}.test-shell .project-row strong,.test-shell .project-row small,.test-shell .list-row strong,.test-shell .list-row small,.preview-mode .project-row strong,.preview-mode .project-row small,.preview-mode .list-row strong,.preview-mode .list-row small{overflow-wrap:anywhere}.test-shell .variation-card,.test-shell .talk-card,.test-shell .client-package,.preview-mode .variation-card,.preview-mode .talk-card,.preview-mode .client-package{min-width:0}.test-shell .table-wrap,.preview-mode .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x}.test-shell table,.preview-mode table{max-width:none}.test-shell input[type=file],.preview-mode input[type=file]{max-width:100%}.test-shell .metric-grid,.preview-mode .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.test-shell .dashboard-grid,.preview-mode .dashboard-grid{grid-template-columns:1fr}.test-shell .project-cards,.test-shell .people-grid,.preview-mode .project-cards,.preview-mode .people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.test-shell .content-shell main,.preview-mode .content-shell main{padding:12px}.test-shell .topbar,.preview-mode .topbar{display:flex;flex-direction:column;align-items:stretch}.test-shell .topbar>div:first-child,.preview-mode .topbar>div:first-child{flex-basis:auto;width:100%}.test-shell .topbar>button.btn,.preview-mode .topbar>button.btn{width:100%;min-height:48px}.test-shell .topbar>.button-group,.preview-mode .topbar>.button-group{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.test-shell .topbar>.button-group .btn,.preview-mode .topbar>.button-group .btn{width:100%;min-height:48px}.test-shell .section-head,.preview-mode .section-head{flex-direction:column;align-items:stretch}.test-shell .section-head>.button-group,.preview-mode .section-head>.button-group{width:100%}.test-shell .form-grid,.test-shell .form-grid .form-grid,.preview-mode .form-grid,.preview-mode .form-grid .form-grid{grid-template-columns:1fr}.test-shell .span-2,.preview-mode .span-2{grid-column:auto}.test-shell .metric-grid,.test-shell .metric-grid.compact,.preview-mode .metric-grid,.preview-mode .metric-grid.compact{grid-template-columns:1fr 1fr}.test-shell .detail-grid,.preview-mode .detail-grid,.test-shell .project-cards,.test-shell .people-grid,.preview-mode .project-cards,.preview-mode .people-grid{grid-template-columns:1fr}.test-shell .project-row,.preview-mode .project-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:14px 0}.test-shell .list-row,.preview-mode .list-row{flex-wrap:wrap;align-items:flex-start}.test-shell .list-row>.button-group,.preview-mode .list-row>.button-group{width:100%}.test-shell .list-row>.button-group .btn,.preview-mode .list-row>.button-group .btn{flex:1 1 130px}}@media (max-width:480px){.test-shell .topbar>.button-group,.preview-mode .topbar>.button-group{grid-template-columns:1fr}.test-shell .metric-grid,.test-shell .metric-grid.compact,.preview-mode .metric-grid,.preview-mode .metric-grid.compact,.test-shell .project-row,.preview-mode .project-row{grid-template-columns:1fr}.test-shell .project-row>.align-right,.preview-mode .project-row>.align-right{width:100%;text-align:left}.test-shell .sidebar nav button,.preview-mode .sidebar nav button{min-height:40px;padding:8px 10px;font-size:11px}}.preview-mode .crm-sidebar-nav{display:grid;gap:14px}.preview-mode .crm-nav-group{display:grid;gap:4px}.preview-mode .crm-nav-group-label{padding:0 10px 4px;color:#7f8591;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.preview-mode .crm-nav-group button{width:100%}.preview-mode .crm-nav-group:has(button.active) .crm-nav-group-label{color:#ff78b6}@media (max-width:820px){.preview-mode .crm-sidebar-nav{display:flex;gap:5px}.preview-mode .crm-nav-group{display:contents}.preview-mode .crm-nav-group-label{display:none}.preview-mode .crm-nav-group button{width:auto}}.crm-command-bar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.crm-command-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px}.crm-unread-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ff2f92;color:#fff;font-size:11px;line-height:1}.crm-signout{min-height:40px}@media (max-width:1180px){.preview-mode .crm-command-bar{margin-left:auto}}@media (max-width:820px){.preview-mode .crm-command-bar{width:auto;display:grid;grid-template-columns:auto auto;gap:7px}.preview-mode .crm-command-bar .workspace-pill{display:none}.preview-mode .crm-command-button,.preview-mode .crm-signout{min-height:44px;padding:9px 11px}.preview-mode .crm-signout{grid-column:1/-1}}@media (max-width:560px){.preview-mode .crm-command-bar{width:100%;grid-template-columns:1fr 1fr}.preview-mode .crm-command-button{width:100%}.preview-mode .crm-signout{width:100%;grid-column:1/-1}}.crm-module-return{position:fixed;top:14px;left:264px;z-index:120;display:flex;align-items:center;gap:8px;min-height:38px;padding:5px 8px;border:1px solid #e6e7ed;border-radius:12px;background:#fffffff0;box-shadow:0 8px 24px #181c2414;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.crm-module-return button{min-height:28px;border:0;border-radius:8px;padding:5px 9px;background:#f4f4f8;color:#4f5360;font-weight:850}.crm-module-return span{padding-right:4px;color:#6b6f7b;font-size:12px;font-weight:800}:root[data-theme=dark] .crm-module-return{background:#1b1e24f0;border-color:#373c46}:root[data-theme=dark] .crm-module-return button{background:#282c34;color:#f1f2f5}:root[data-theme=dark] .crm-module-return span{color:#b7bcc6}@media (max-width:1180px){.crm-module-return{left:224px}}@media (max-width:820px){.crm-module-return{position:sticky;top:0;left:auto;width:100%;border-radius:0;border-left:0;border-right:0;padding:max(7px,env(safe-area-inset-top,0px)) 10px 7px;box-shadow:0 4px 16px #181c2414}.crm-module-return button{min-height:36px}}.crm-focused-row{border-radius:12px;background:#ff2f920f;outline:2px solid rgba(255,47,146,.18);outline-offset:2px}:root[data-theme=dark] .crm-focused-row{background:#ff2f921a}.project-control-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.project-control-actions .btn{width:100%;min-height:44px;white-space:normal;line-height:1.25}.crm-project-scope{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.crm-project-scope .btn{flex:0 0 auto}@media (max-width:1180px){.project-control-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:820px){.crm-module-return{position:relative;top:auto;z-index:10}.project-control-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}@media (max-width:560px){.project-control-actions{grid-template-columns:1fr}.crm-project-scope{align-items:stretch;flex-direction:column}.crm-project-scope .btn{width:100%;min-height:44px}.test-shell .invoice-detail-actions,.test-shell .payment-detail-actions,.test-shell .project-workspace-head>.button-group{display:grid;grid-template-columns:1fr;width:100%}.test-shell .invoice-detail-actions .btn,.test-shell .payment-detail-actions .btn,.test-shell .project-workspace-head>.button-group .btn{width:100%;min-height:46px}}.crm-return-mobile{display:none}@media (max-width:820px){.crm-module-return{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));position:sticky;top:0;z-index:120;background:var(--surface,#fff);border-bottom:1px solid rgba(125,125,125,.16)}.crm-module-return button{min-height:44px;min-width:44px;padding:10px 12px;border-radius:11px;touch-action:manipulation}.crm-module-return .crm-return-mobile{display:inline-flex;align-items:center}.crm-module-return>span{font-weight:800;font-size:12px;min-width:0;overflow-wrap:anywhere}.test-shell .tabs,.preview-mode .tabs{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x proximity}.test-shell .tabs>button,.preview-mode .tabs>button{min-height:44px;flex-shrink:0;scroll-snap-align:start}.test-shell .content-shell,.preview-mode .content-shell{min-width:0;max-width:100%}.test-shell input[type=date],.test-shell input[type=time],.test-shell input[type=datetime-local],.preview-mode input[type=date],.preview-mode input[type=time],.preview-mode input[type=datetime-local]{max-width:100%;min-width:0}}.qs-workspace .qs-start-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.qs-workspace .qs-start-card h3,.qs-workspace .qs-start-card p{margin:0}.qs-workspace .qs-method-details{display:block}.qs-workspace .qs-method-details>summary{cursor:pointer;font-weight:700;font-size:1rem;line-height:1.5}.qs-workspace .qs-method-details>summary span{display:block;font-size:.83rem;font-weight:400;opacity:.78;margin-top:4px}.qs-workspace .qs-method-inner{display:grid;gap:20px;padding-top:22px;min-width:0}.qs-workspace .qs-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;min-width:0}.qs-workspace .qs-method-grid>label,.qs-workspace .qs-method-inner>label,.qs-workspace .qs-method-review>label{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;font-weight:600;line-height:1.4}.qs-workspace .qs-method-grid>label:has(input[type=checkbox]){flex-direction:row;align-items:center;gap:9px}.qs-workspace .qs-method-grid :is(input:not([type=checkbox]),select),.qs-workspace .qs-method-inner>label textarea,.qs-workspace .qs-method-review :is(select,textarea){display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:42px;margin:0}.qs-workspace .qs-method-group{display:grid;gap:14px;min-width:0;padding:18px}.qs-workspace .qs-method-group>strong{display:block;font-size:1rem;line-height:1.5}.qs-workspace .qs-method-review{margin-top:6px}.qs-workspace .qs-method-inner>button,.qs-workspace .qs-method-review>button{justify-self:start;min-height:42px;white-space:normal}#qs-estimating-brain{scroll-margin-top:90px}@media (max-width:760px){.qs-workspace .qs-method-grid{grid-template-columns:minmax(0,1fr)}.qs-workspace .qs-method-group{padding:12px}.qs-workspace .qs-start-card .btn{width:100%}}.qe-advanced-summary{display:block}.qe-advanced-summary>summary{cursor:pointer;font-size:1rem;font-weight:700;line-height:1.5;padding:4px 0;list-style:disclosure-closed}.qe-advanced-summary[open]>summary{list-style:disclosure-open}.qe-advanced-summary>summary span{display:block;font-size:.82rem;font-weight:400;opacity:.8;margin:4px 0 0 18px}.qe-advanced-summary .qe-advanced-content{padding-top:16px;min-width:0}.theme-toggle{position:fixed;right:14px;bottom:14px;z-index:1000;width:46px;height:46px;border-radius:50%;border:1px solid #dfe1e8;background:#fff;color:#222;font-size:22px;box-shadow:0 8px 24px #0000001f}.worker-shell{min-height:100vh;padding:18px;background:linear-gradient(180deg,#fff,#fff8fc 50%,#f6fff9)}.worker-app{width:min(560px,100%);margin:0 auto;display:grid;gap:14px}.worker-header{display:flex;justify-content:space-between;align-items:center}.worker-header p{margin:2px 0;color:#777}.worker-card{background:#fff;border:1px solid #ececf2;border-radius:18px;padding:18px;box-shadow:0 8px 28px #262a320f}.worker-status{text-align:center;padding:18px 0}.worker-status h1{font-size:30px;margin:10px 0 5px}.worker-status p{margin:0;color:#777}.worker-state{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900}.worker-state.in{background:#e8fff0;color:#14763d}.worker-state.out{background:#f1f2f5;color:#5b5f69}.worker-clock-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.clock-button{min-height:96px;border:0;border-radius:16px;font-size:22px;font-weight:900}.clock-button.in{background:#e8fff0;color:#14763d}.clock-button.out{background:#ffecec;color:#9d2828}.scan-btn{width:100%;border:0;border-radius:14px;padding:14px;background:#ff2f92;color:#fff;font-weight:900;margin-bottom:12px}.qr-video{width:100%;border-radius:14px;margin-bottom:12px;background:#111;aspect-ratio:4/3;object-fit:cover}.signal{padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}.signal.online{background:#e8fff0;color:#14763d}.signal.offline{background:#fff0df;color:#8a5d00}.worker-event{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f0f0f3}.worker-event small{display:block;color:#888;margin-top:3px}:root[data-theme=dark]{color-scheme:dark;background:#15171c;color:#f4f5f7}:root[data-theme=dark] body,:root[data-theme=dark] #root{background:#15171c;color:#f4f5f7;min-height:100vh}:root[data-theme=dark] body,:root[data-theme=dark] .worker-shell{background:linear-gradient(180deg,#15171c,#1a1d23)}:root[data-theme=dark] .sidebar,:root[data-theme=dark] .mobile-nav,:root[data-theme=dark] .card,:root[data-theme=dark] .metric-card,:root[data-theme=dark] .project-card,:root[data-theme=dark] .person-card,:root[data-theme=dark] .auth-card,:root[data-theme=dark] .worker-card{background:#1f2229;border-color:#30343d;color:#f4f5f7;box-shadow:none}:root[data-theme=dark] .sidebar nav button,:root[data-theme=dark] .topbar p,:root[data-theme=dark] .section-head p,:root[data-theme=dark] .card>p,:root[data-theme=dark] .muted,:root[data-theme=dark] .worker-status p,:root[data-theme=dark] .worker-header p{color:#aeb3bd}:root[data-theme=dark] .sidebar nav button.active,:root[data-theme=dark] .sidebar nav button:hover,:root[data-theme=dark] .tabs button.active{background:#3b1730;color:#ff72b4}:root[data-theme=dark] .tabs button,:root[data-theme=dark] .btn.soft,:root[data-theme=dark] .theme-toggle{background:#2a2e36;color:#f4f5f7;border-color:#3b404a}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] .field input,:root[data-theme=dark] .field select,:root[data-theme=dark] .field textarea{background:#17191e;color:#f4f5f7;border-color:#3b404a}:root[data-theme=dark] th,:root[data-theme=dark] td,:root[data-theme=dark] .kpi-row,:root[data-theme=dark] .worker-event{border-color:#30343d}:root[data-theme=dark] .panel{background:#191c21;border-color:#30343d}:root[data-theme=dark] .accent-card{background:linear-gradient(135deg,#2d1723,#17251e)}:root[data-theme=dark] .app-shell,:root[data-theme=dark] .test-shell,:root[data-theme=dark] .content-shell,:root[data-theme=dark] .app-shell main,:root[data-theme=dark] .test-shell main{background:#15171c;color:#f4f5f7}:root[data-theme=dark] .topbar,:root[data-theme=dark] .qe-header,:root[data-theme=dark] .worker-header{color:#f4f5f7}:root[data-theme=dark] .notice{background:#242932;border-color:#3a404b;color:#e7e9ed}:root[data-theme=dark] .notice.danger{background:#321c23;border-color:#673344;color:#ffd8e2}:root[data-theme=dark] .empty{color:#9fa6b2}:root[data-theme=dark] table,:root[data-theme=dark] thead,:root[data-theme=dark] tbody,:root[data-theme=dark] tr{background:transparent;color:#f4f5f7}:root[data-theme=dark] th{background:#20242b;color:#c9ced7}:root[data-theme=dark] td{background:#1b1e24;color:#e7e9ed}:root[data-theme=dark] .list-row,:root[data-theme=dark] .quote-card,:root[data-theme=dark] .task-card,:root[data-theme=dark] .lead-card,:root[data-theme=dark] .enquiry-card{background:#1f2229!important;border-color:#30343d!important;color:#f4f5f7!important}:root[data-theme=dark] .quote-open{color:#f4f5f7!important}:root[data-theme=dark] .quote-card-actions[style]{background:#1b1e24!important;border-color:#30343d!important}:root[data-theme=dark] .badge{border-color:#454b56}:root[data-theme=dark] .qe-shell{background:#15171c;color:#f4f5f7}:root[data-theme=dark] .qe-main{background:#15171c;color:#f4f5f7}:root[data-theme=dark] .qe-main-nav{background:linear-gradient(180deg,#17211d,#182423 42%,#18212b)}:root[data-theme=dark] .qe-main-nav nav button{color:#cbd2dc}:root[data-theme=dark] .qe-main-nav nav button:hover,:root[data-theme=dark] .qe-main-nav nav button.active{background:#f5007d;color:#fff}:root[data-theme=dark] .qe-header p,:root[data-theme=dark] .qe-analysis-grid small,:root[data-theme=dark] .qe-warning p,:root[data-theme=dark] .qe-programme-row span,:root[data-theme=dark] .qe-programme-row small,:root[data-theme=dark] .qe-scope-row small,:root[data-theme=dark] .qe-cost-line small,:root[data-theme=dark] .upload-hero p,:root[data-theme=dark] .upload-drop span{color:#aeb3bd}:root[data-theme=dark] .qe-meta span,:root[data-theme=dark] .qe-kpi,:root[data-theme=dark] .qe-progress>div,:root[data-theme=dark] .qe-section-nav button,:root[data-theme=dark] .qe-commercial,:root[data-theme=dark] .qe-analysis-grid>div,:root[data-theme=dark] .qe-warning,:root[data-theme=dark] .qe-package,:root[data-theme=dark] .qe-package-head,:root[data-theme=dark] .qe-programme-row,:root[data-theme=dark] .qe-client-doc,:root[data-theme=dark] .qe-shell .card,:root[data-theme=dark] .upload-drop,:root[data-theme=dark] .file-chip,:root[data-theme=dark] .qe-rate-hint span{background:#1f2229;color:#f4f5f7;border-color:#30343d;box-shadow:none}:root[data-theme=dark] .qe-section-nav button{color:#b4bac4}:root[data-theme=dark] .qe-section-nav button:hover,:root[data-theme=dark] .qe-section-nav button.active{background:#3b1730;color:#ff72b4}:root[data-theme=dark] .qe-kpi small,:root[data-theme=dark] .qe-warning b{color:#9ba2ae}:root[data-theme=dark] .qe-kpi.warn,:root[data-theme=dark] .qe-warning.critical{background:#321c23;border-color:#673344}:root[data-theme=dark] .qe-warning.review{background:#30291a;border-color:#655632}:root[data-theme=dark] .qe-progress .done,:root[data-theme=dark] .qe-audit.ready{background:#17291f;border-color:#315b42;color:#9ce0b8}:root[data-theme=dark] .qe-audit.review{background:#321c23;border-color:#673344;color:#ffd8e2}:root[data-theme=dark] .qe-package-head,:root[data-theme=dark] .qe-rate-hint{background:#1a1e25}:root[data-theme=dark] .qe-scope-row,:root[data-theme=dark] .qe-cost-line,:root[data-theme=dark] .qe-client-doc>section,:root[data-theme=dark] .qe-revision,:root[data-theme=dark] .qe-commercial hr{border-color:#30343d}:root[data-theme=dark] .qe-client-cover{background:linear-gradient(145deg,#17251f,#1b2028 62%,#2b1822)}:root[data-theme=dark] .upload-first-page{background:linear-gradient(180deg,#15171c,#1b1820);color:#f4f5f7}:root[data-theme=dark] .file-chip,:root[data-theme=dark] .qe-rate-hint{background:#1a1e25;border-color:#30343d}:root[data-theme=dark] .test-shell .content-shell{background:linear-gradient(180deg,#15171c,#171a20 60%,#15171c)}:root[data-theme=dark] .test-shell .brand-sidebar{background:linear-gradient(180deg,#17211d,#182423 34%,#18212b,#18202a)}:root[data-theme=dark] .test-shell .sidebar nav button{color:#cbd2dc}:root[data-theme=dark] .test-shell .workspace-name{color:#d8dde5}:root[data-theme=dark] .test-shell .workspace-name small{color:#9ca5b3}:root[data-theme=dark] .workspace-pill{background:#17291f;color:#9ce0b8;border-color:#315b42}:root[data-theme=dark] .sidebar-foot,:root[data-theme=dark] .workspace-name,:root[data-theme=dark] .project-dates,:root[data-theme=dark] .detail-grid,:root[data-theme=dark] .timeline-date,:root[data-theme=dark] .variation-total small{color:#aeb3bd}:root[data-theme=dark] .field label{color:#c9ced7}:root[data-theme=dark] .person-avatar{background:#3b1730;color:#ff72b4}:root[data-theme=dark] .project-row,:root[data-theme=dark] .list-row,:root[data-theme=dark] .timeline-item,:root[data-theme=dark] .client-package,:root[data-theme=dark] .variation-card,:root[data-theme=dark] .commercial-line,:root[data-theme=dark] .scope-line,:root[data-theme=dark] .quote-card-actions{border-color:#30343d}:root[data-theme=dark] .quote-progress>div,:root[data-theme=dark] .quote-nav button,:root[data-theme=dark] .commercial-rail,:root[data-theme=dark] .workflow-list div,:root[data-theme=dark] .scope-package,:root[data-theme=dark] .issue-card,:root[data-theme=dark] .talk-card,:root[data-theme=dark] .file-chip,:root[data-theme=dark] .client-preview,:root[data-theme=dark] .client-package,:root[data-theme=dark] .not-priced{background:#1f2229;color:#f4f5f7;border-color:#30343d;box-shadow:none}:root[data-theme=dark] .quote-progress>div,:root[data-theme=dark] .quote-nav button{color:#b4bac4}:root[data-theme=dark] .quote-progress .done{background:#17291f;color:#9ce0b8;border-color:#315b42}:root[data-theme=dark] .quote-nav button.active{background:#3b1730;color:#ff72b4}:root[data-theme=dark] .commercial-rail hr,:root[data-theme=dark] .rail-row.strong{border-color:#30343d}:root[data-theme=dark] .not-priced{background:#182231;color:#b8d8ff}:root[data-theme=dark] .scope-package-head{background:#1a1e25;color:#f4f5f7}:root[data-theme=dark] .issue-card.critical{background:#321c23;border-color:#673344}:root[data-theme=dark] .issue-card.review{background:#30291a;border-color:#655632}:root[data-theme=dark] .issue-card p,:root[data-theme=dark] .variation-card p,:root[data-theme=dark] .talk-card p,:root[data-theme=dark] .client-package ul,:root[data-theme=dark] .quote-card p,:root[data-theme=dark] .quote-card-foot,:root[data-theme=dark] .scope-line small,:root[data-theme=dark] .commercial-line small,:root[data-theme=dark] .talk-card summary small{color:#aeb3bd}:root[data-theme=dark] .variation-card select{background:#17191e;color:#f4f5f7;border-color:#3b404a}:root[data-theme=dark] .client-total{border-color:#d7dbe2}:root[data-theme=dark] .upload-first-page{background:linear-gradient(180deg,#15171c,#181a20 55%,#15171c)}:root[data-theme=dark] .upload-drop{background:linear-gradient(145deg,#201a1f,#182028);border-color:#8a4166;color:#f4f5f7;box-shadow:none}:root[data-theme=dark] .upload-drop.dragging{background:#32182a;border-color:#f5007d}:root[data-theme=dark] .mobile-nav select{background:#17191e;color:#f4f5f7;border-color:#3b404a}:root[data-theme=dark] .btn.green{background:#1d633d;color:#fff}:root[data-theme=dark] .btn.soft{background:#2a2e36;color:#f4f5f7;border:1px solid #3b404a}:root[data-theme=dark] .badge{background:#292d35;color:#d8dde5}:root[data-theme=dark] .badge.live,:root[data-theme=dark] .badge.active,:root[data-theme=dark] .badge.approved,:root[data-theme=dark] .badge.ready,:root[data-theme=dark] .badge.accepted{background:#173624;color:#91ddb0}:root[data-theme=dark] .badge.pre_start,:root[data-theme=dark] .badge.pending,:root[data-theme=dark] .badge.sent,:root[data-theme=dark] .badge.qualified,:root[data-theme=dark] .badge.quoting{background:#3a3018;color:#e6c36d}:root[data-theme=dark] .badge.urgent,:root[data-theme=dark] .badge.rejected,:root[data-theme=dark] .badge.lost{background:#3a1d21;color:#f2a6ad}:root[data-theme=dark] .badge.high,:root[data-theme=dark] .badge.quote_sent{background:#3a261b;color:#eab08e}:root[data-theme=dark] .badge.completed,:root[data-theme=dark] .badge.done{background:#1e2b3c;color:#9fc7f6}:root[data-theme=dark] .btn.primary{color:#fff}:root[data-theme=dark] .btn.green{color:#fff}:root[data-theme=dark] a{color:#ff72b4}@media (max-width:560px){.theme-toggle{width:42px;height:42px;right:10px;bottom:10px}.worker-shell{padding:12px}.clock-button{min-height:110px}}:root[data-theme=dark] .worker-record-panel,:root[data-theme=dark] .worker-record-panel .card,:root[data-theme=dark] .worker-record-panel .panel,:root[data-theme=dark] .attendance-add-shift,:root[data-theme=dark] .attendance-detail-row td,:root[data-theme=dark] .table-wrap,:root[data-theme=dark] .dashboard-grid .card{background:#1f2229;color:#f4f5f7;border-color:#30343d;box-shadow:none}:root[data-theme=dark] .worker-record-panel h2,:root[data-theme=dark] .worker-record-panel h3,:root[data-theme=dark] .list-row strong,:root[data-theme=dark] .metric-card strong{color:#f4f5f7}:root[data-theme=dark] .list-row small,:root[data-theme=dark] .metric-card small,:root[data-theme=dark] .worker-record-panel p{color:#aeb3bd}:root[data-theme=dark] .compact-select{background:#17191e;color:#f4f5f7;border:1px solid #3b404a;border-radius:10px;padding:8px 10px}:root[data-theme=dark] input[type=date],:root[data-theme=dark] input[type=time],:root[data-theme=dark] input[type=number],:root[data-theme=dark] input[type=email],:root[data-theme=dark] input[type=file]{color-scheme:dark}:root[data-theme=light] body,:root[data-theme=light] #root{background:linear-gradient(180deg,#fff,#fff8fc 38%,#f8fffb);color:#20232b}:root[data-theme=light] .app-shell,:root[data-theme=light] .test-shell,:root[data-theme=light] .content-shell{color:#20232b}:root[data-theme=light] .card,:root[data-theme=light] .metric-card,:root[data-theme=light] .project-card,:root[data-theme=light] .person-card,:root[data-theme=light] .auth-card{background:#fff;color:#20232b;border-color:#ececf2}:root[data-theme=dark] .quote-detail-actions{background:#1f2229;border-color:#30343d}:root[data-theme=dark] .crm-global-search{background:linear-gradient(to bottom,#15171c 78%,#15171cf0)}:root[data-theme=dark] .timesheet-week-table th:first-child,:root[data-theme=dark] .timesheet-week-table td:first-child,:root[data-theme=dark] .cost-period-table th:first-child,:root[data-theme=dark] .cost-period-table td:first-child,:root[data-theme=dark] .attendance-table td:first-child,:root[data-theme=dark] .attendance-table th:first-child,:root[data-theme=dark] .attendance-table td:nth-child(2),:root[data-theme=dark] .attendance-table th:nth-child(2){background:#1b1e24}:root[data-theme=dark] .qe-client-doc,:root[data-theme=dark] .qe-client-doc>section,:root[data-theme=dark] .qe-client-cover,:root[data-theme=dark] .client-preview,:root[data-theme=dark] .client-package{background:#fff!important;color:#172033!important;border-color:#dfe4ec!important}:root[data-theme=dark] .qe-client-cover{background:linear-gradient(145deg,#eafaf2,#f8fbff 62%,#fff0f7)!important}:root[data-theme=dark] .qe-client-doc p,:root[data-theme=dark] .qe-client-doc small,:root[data-theme=dark] .client-preview p,:root[data-theme=dark] .client-preview small,:root[data-theme=dark] .client-package,:root[data-theme=dark] .client-package ul{color:#5f6775!important}:root[data-theme=dark] .qe-client-doc strong,:root[data-theme=dark] .qe-client-doc h1,:root[data-theme=dark] .qe-client-doc h2,:root[data-theme=dark] .qe-client-doc h3,:root[data-theme=dark] .client-preview strong,:root[data-theme=dark] .client-preview h1,:root[data-theme=dark] .client-preview h2,:root[data-theme=dark] .client-preview h3{color:#172033!important}:root[data-workforce-skin=blue]{--wf-bg:#0c1422;--wf-surface:#121f30;--wf-panel:#18283b;--wf-line:#2a3b50;--wf-text:#f2f6fa;--wf-muted:#a1b1c2;--wf-accent:#6ae1bd;--wf-primary:#245da5;--wf-on-primary:#fff;--wf-focus:#76b9ff;color-scheme:dark}:root[data-workforce-skin=blue][data-theme=light]{--wf-bg:#f3f6fa;--wf-surface:#fff;--wf-panel:#edf3f7;--wf-line:#d9e2eb;--wf-text:#152638;--wf-muted:#62758a;--wf-accent:#007e65;--wf-primary:#245da5;--wf-on-primary:#fff;--wf-focus:#245da5;color-scheme:light}:root[data-workforce-skin=blue] body{background:var(--wf-bg);color:var(--wf-text)}:root[data-workforce-skin=blue] :is(.shared-workforce-header,.shared-workforce-nav,.app-shell,.test-shell,.content-shell,.content-shell main){background:var(--wf-bg);color:var(--wf-text);border-color:var(--wf-line)}:root[data-workforce-skin=blue] .shared-workforce-header{background:var(--wf-surface);padding:15px 22px}:root[data-workforce-skin=blue] :is(.card,.metric-card,.project-card,.person-card,.auth-card,.worker-card,.panel,.sidebar,.detail-grid,.attendance-table-wrap){background:var(--wf-surface);color:var(--wf-text);border-color:var(--wf-line);box-shadow:none}:root[data-workforce-skin=blue] :is(.btn.soft,.tabs button,.chip,.badge,.field input,.field select,.field textarea,input,select,textarea){background:var(--wf-panel);color:var(--wf-text);border-color:var(--wf-line)}:root[data-workforce-skin=blue] :is(.btn.primary,.tabs button.active,.sidebar nav button.active){background:var(--wf-primary);color:var(--wf-on-primary);border-color:var(--wf-primary)}:root[data-workforce-skin=blue] :is(.muted,.topbar p,.section-head p,.workspace-name,.field span,th,small){color:var(--wf-muted)}:root[data-workforce-skin=blue] :is(th,td,.attendance-table th,.attendance-table td){border-color:var(--wf-line)}:root[data-workforce-skin=blue] :is(.brand span,.mini-header-brand span,.mini-brand span){color:var(--wf-accent)}:root[data-workforce-skin=blue] :is(button,input,select,textarea,a):focus-visible{outline:2px solid var(--wf-focus);outline-offset:2px}:root[data-workforce-skin=blue] a{color:var(--wf-focus)}.mini-header-brand{font-size:25px!important;letter-spacing:-.045em}.mini-header-brand small{display:inline!important;font-size:10px;letter-spacing:.12em;margin-left:8px}.mini-login{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 15% 10%,#284b7033,transparent 45%),var(--wf-bg)}.mini-login-card{display:grid;grid-template-columns:1fr 1fr;width:min(870px,100%);background:var(--wf-surface);border:1px solid var(--wf-line);border-radius:27px;overflow:hidden;box-shadow:0 26px 85px #0003}.mini-login-mark{min-height:450px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:45px 28px;background:linear-gradient(145deg,#10283e,#174d78);color:#f2f6fa;gap:10px}.mini-emblem{position:relative;display:grid;place-items:center;width:84px;height:84px;border-radius:22px;background:linear-gradient(145deg,#387db2,#132e48);border:1px solid #83b4db80;font-weight:850;font-size:52px;box-shadow:0 12px 32px #0003}.mini-emblem span{position:absolute;right:12px;bottom:12px;font-size:12px;color:#7de8c6}.mini-brand{font-size:44px;font-weight:850;letter-spacing:-.06em}.mini-login-mark>strong{font-size:12px;letter-spacing:.25em}.mini-login-mark p{color:#d2e3f3;line-height:1.5;margin:12px 0 0}.mini-login-form{padding:clamp(26px,5vw,54px);display:flex;flex-direction:column;justify-content:center;gap:12px;min-width:0}.mini-login-form h1{margin:0}.mini-login-form form{display:grid;gap:16px}.mini-login-form input{min-height:49px;width:100%}.mini-login-form .btn{min-height:44px}.mini-login-form>p{margin:0}.mini-login-form>.btn{align-self:flex-start}@media (max-width:670px){.mini-login{padding:14px}.mini-login-card{grid-template-columns:1fr;max-width:450px}.mini-login-mark{min-height:auto;padding:25px 20px}.mini-emblem{width:58px;height:58px;font-size:38px}.mini-brand{font-size:34px}.mini-login-form{padding:25px 22px}}:root[data-workforce-skin=blue][data-theme=dark] :is(.btn.primary,.tabs button.active){background:#6ae1bd;color:#092d2a;border-color:#6ae1bd}:root[data-workforce-skin=blue][data-theme=light] :is(.btn.primary,.tabs button.active){background:#007e65;color:#fff;border-color:#007e65}:root[data-workforce-skin=blue] input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--wf-panel) inset;-webkit-text-fill-color:var(--wf-text)}
