.workspace-tabs{display:flex;gap:8px;margin:0 0 24px;padding-bottom:10px;border-bottom:1px solid #dfe6dc;flex-wrap:wrap}.workspace-tab{display:inline-flex;align-items:center;gap:8px;border:1px solid #d8e3d4;border-radius:9px;background:#fff;padding:10px 13px;font-weight:700;color:#4c6753}.workspace-tab.current{background:#eaf3e5;color:#254a35;border-color:#b9d0ac}.billing-header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:22px}.billing-header h2{font-size:25px;margin:0 0 8px}.billing-header p{max-width:780px;margin:0}.billing-header .secondary{display:inline-flex;align-items:center;gap:8px}.billing-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.billing-totals>div{display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:15px;background:#fff;border:1px solid #e0e8df;border-radius:12px}.billing-totals span{font-size:12px;color:#708374}.billing-totals strong{font-size:21px;color:#264532}.billing-filters{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 17px}.billing-filters label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:170px;max-width:400px;font-size:12px;font-weight:700}.billing-filters input,.billing-filters select{width:100%}.billing-list{display:flex;flex-direction:column;gap:12px}.billing-line{display:grid;grid-template-columns:minmax(220px,1fr) minmax(370px,1.5fr);gap:16px;padding:17px;background:#fff;border:1px solid #dfe8db;border-radius:12px}.billing-description{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.billing-description small{color:#718374;font-size:11px}.billing-description strong{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.billing-open{border:0;background:none;padding:0;color:#2e6847;font-weight:700;font-size:12px;display:inline-flex;align-items:center;gap:4px;text-align:left}.billing-open:hover{text-decoration:underline}.billing-fields{display:grid;grid-template-columns:minmax(130px,1fr) minmax(130px,.8fr) auto;align-items:end;gap:10px}.billing-fields label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650;min-width:0}.billing-fields input,.billing-fields select{width:100%}@media(max-width:1100px){.billing-line{grid-template-columns:1fr}}@media(max-width:650px){.billing-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-fields{grid-template-columns:1fr}.billing-fields .primary{justify-self:start}.workspace-tab{font-size:12px}.billing-header h2{font-size:22px}}.calendar-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#51b749;flex:none}.calendar-dot.state-vert{background:#51b749}.calendar-dot.state-orange{background:#ffb878}.calendar-dot.state-jaune{background:#fbd75b}.calendar-dot.state-rouge{background:#dc2127}.calendar-dot.state-retire{background:#9aa59e}.calendar-origin{color:#52735a!important;font-size:12px!important;padding-left:19px!important;margin:8px 0 0!important}.calendar-pill{display:inline-block;margin:10px 0 0;border-radius:10px;padding:6px 10px;font-size:12px;font-weight:760;background:#eaf3e4;color:#265332}.calendar-pill.state-vert{background:#eaf3e4;color:#265332}.calendar-pill.state-orange{background:#fff0da;color:#815011}.calendar-pill.state-jaune{background:#fff7d1;color:#786318}.calendar-pill.state-rouge{background:#ffe7e5;color:#902621}.calendar-pill.state-retire{background:#ebeeeb;color:#667168}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1e3129;background:#f7f8f5;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,textarea,select{border:1px solid #d9dfd9;border-radius:10px;padding:12px 14px;color:#1d3027;background:#fff;outline-color:#96b34c}textarea{resize:vertical}a{color:#204c3b}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;letter-spacing:.035em;font-size:13px}.brand strong{font-size:14px;font-weight:850}.brand span{letter-spacing:.11em;font-size:10px;color:#8d783c}.brand-logo{width:30px;height:30px;border-radius:9px;display:flex;justify-content:center;align-items:center;background:#a6cd57;font-weight:900;color:#22352b}.center-screen{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:24px;background:#f5f7f3}.login-card{background:#fff;border:1px solid #e0e5de;border-radius:22px;width:100%;max-width:465px;padding:36px;box-shadow:0 16px 50px #1c392213}.login-card h1{font-size:27px;margin:22px 0 10px;letter-spacing:-.03em}.login-card p{line-height:1.55;color:#65756a}.login-icon{display:inline-flex;padding:13px;border-radius:14px;margin-top:27px;background:#eef4e7}.stack{display:flex;flex-direction:column;gap:16px}.stack label{display:flex;flex-direction:column;gap:7px;font-weight:650;font-size:14px}.stack h3{margin-bottom:6px;font-size:16px}.stack .checkline,.checkline{display:flex;flex-direction:row;align-items:center;gap:9px;padding:7px 0;font-weight:500;font-size:14px;cursor:pointer}.checkline input{accent-color:#2e5a42;width:18px;height:18px;padding:0}.primary{background:#213c2e;color:#fff;border:0;border-radius:10px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:760}.primary:hover:not(:disabled){background:#346247}.secondary{background:#fff;color:#244231;border:1px solid #cdd9cd;border-radius:10px;padding:10px 14px;font-weight:680}.notice{background:#edf4e8;padding:14px;border-radius:10px}.error{background:#fff0ed;color:#842f28;border:1px solid #f5ccc6;padding:12px 15px;border-radius:10px;line-height:1.5}.muted{color:#738277;font-size:13px;line-height:1.5;font-weight:400}.app-shell{display:flex;min-height:100vh}.side-bar{width:62px;min-width:62px;background:#182c22;display:flex;flex-direction:column;align-items:center;padding:16px 0;gap:23px}.side-logo{width:36px;height:36px;background:#b5d766;color:#21392c;border-radius:10px;display:grid;place-items:center;font-size:19px;font-weight:900}.side-icon{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;color:#b5cbbb}.side-icon.active{background:#2c4d38;color:#d3e99a}.side-spacer{flex:1}.side-avatar{width:30px;height:30px;display:grid;place-items:center;color:#d1ebd1;background:#2c4d38;font-size:12px;border-radius:50%}.app-content{min-width:0;flex:1}.topbar{height:76px;background:#fff;border-bottom:1px solid #e3e8e0;display:flex;align-items:center;justify-content:space-between;padding:0 4.4%;gap:15px}.account{display:flex;align-items:center;gap:14px}.role-tag{border-radius:20px;padding:8px 12px;background:#ebf1e4;color:#39613e;font-size:12px;font-weight:760;white-space:nowrap}.account-name{color:#69806e;font-size:12px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button{border:0;background:transparent;color:#536d5c;display:inline-grid;place-items:center;padding:8px;border-radius:9px}.icon-button:hover{background:#eef3ec}.content{max-width:1300px;margin:0 auto;padding:36px 4.4% 70px}.page-kicker{color:#6c8b43;letter-spacing:.16em;font-size:11px;font-weight:850;margin-bottom:12px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:24px}.page-heading h1{font-size:33px;letter-spacing:-.045em;margin:0 0 10px;color:#1d3127}.page-heading p{color:#7b887b;font-size:14px;margin:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px}.stat{background:#fff;border:1px solid #e2e8df;border-radius:12px;padding:17px 17px 15px;min-height:80px;display:flex;flex-direction:column;justify-content:space-between;gap:9px}.stat span{color:#849085;font-size:12px}.stat strong{font-size:21px;color:#173526}.stat.active-stat{border:1.5px solid #9ec44f}.searchbar{display:flex;align-items:center;gap:14px;margin-bottom:11px}.searchbar input{flex:1;max-width:510px;padding:12px 17px}.searchbar span{font-size:12px;color:#889688;margin-left:auto;white-space:nowrap}.job-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;background:#fff;border:1px solid #e1e7de;border-radius:13px;text-align:left;margin:9px 0;color:inherit}.job-card:hover{border-color:#a4c56c;box-shadow:0 3px 16px #32453112}.job-title{display:flex;align-items:center;gap:10px;font-size:14px}.dot{display:inline-block;height:9px;width:9px;border-radius:50%;background:#c69a40}.dot.en_cours{background:#6f9c3d}.dot.termine{background:#556b84}.job-card p{color:#8b9b8c;font-size:12px;margin:10px 0;padding-left:19px}.job-address{font-size:12px;color:#849286;display:flex;align-items:center;gap:4px;padding-left:18px}.job-right{display:flex;flex-direction:column;align-items:flex-end;gap:7px;font-size:12px;color:#859184;white-space:nowrap}.status-pill{color:#b28734;background:#fcf5e8;padding:4px 8px;border-radius:6px}.job-right svg{display:none}.empty{background:#fff;border:1px dashed #d4ddd2;padding:34px;text-align:center;color:#819080;border-radius:12px}.footnote{margin-top:28px;font-size:11px;color:#97a296;display:flex;align-items:center;gap:8px}.back-link{border:0;background:transparent;color:#567a50;display:flex;align-items:center;gap:8px;padding:0;margin-bottom:28px;font-weight:720}.detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:20px;align-items:start}.panel{background:#fff;border:1px solid #e1e7dd;border-radius:15px;padding:24px;min-width:0}.panel h2{margin:0 0 19px;font-size:17px;display:flex;align-items:center;gap:10px}.panel>p{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.inline-label{display:flex;align-items:center;gap:12px;margin-top:18px;font-size:14px;font-weight:700}.inline-label select{max-width:230px}.messages{display:flex;flex-direction:column;gap:12px;max-height:390px;overflow:auto}.message{align-self:flex-start;background:#f4f5f0;border-radius:11px;padding:11px 15px;max-width:95%}.message.mine{align-self:flex-end;background:#eaf1de}.message small{color:#809080;font-size:11px}.message p{margin:5px 0 0;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.5;font-size:14px}.send-row{display:flex;gap:9px;margin-top:16px}.send-row input{flex:1;width:80px}.upload{display:inline-flex;gap:8px;align-items:center;background:#eaf1e7;color:#254c35;border:1px dashed #aac49d;padding:12px 14px;border-radius:10px;cursor:pointer;font-size:13px;font-weight:800}.upload input{display:none}.files-list{margin-top:16px}.file-item{padding:11px 0;border:0;border-bottom:1px solid #e9eee8;background:#fff;width:100%;display:flex;justify-content:space-between;gap:9px;text-align:left;font-size:13px;overflow-wrap:anywhere}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#11251f98;display:flex;justify-content:flex-end;z-index:10}.modal{background:#fff;width:min(550px,100%);height:100%;overflow-y:auto;padding:28px;box-shadow:-12px 0 40px #17352724}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-header h2{margin:0}.toast{position:fixed;bottom:20px;left:25%;padding:15px;background:#fff0ee;border:1px solid #dfb3a8;border-radius:10px;z-index:20}@media(max-width:850px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.content{padding-top:25px}.page-heading h1{font-size:29px}}@media(max-width:550px){.side-bar{width:46px;min-width:46px}.topbar{height:65px;padding:0 14px}.brand{font-size:10px;gap:5px}.brand strong{font-size:12px}.brand span{font-size:8px}.brand-logo{height:26px;width:26px}.account{gap:5px}.account-name{display:none}.role-tag{font-size:10px;padding:7px 9px}.content{padding:23px 13px 45px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.page-heading h1{font-size:27px}.page-heading .primary{width:100%}.searchbar{gap:5px}.searchbar span{display:none}.job-card{padding:13px}.job-right{gap:8px;font-size:10px}.job-right svg{display:block}.job-address{font-size:11px}.panel{padding:17px}.login-card{padding:26px}.stat{min-height:70px;padding:13px}}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-heading h2{margin:0}.route-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0 16px}.route-links a{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cadcc5;background:#edf4e9;color:#225139;padding:9px 12px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:750}.route-links a:hover{background:#dcebd7}.edit-buttons{display:flex;justify-content:flex-end;gap:9px}.job-consignes{white-space:pre-wrap;overflow-wrap:anywhere}.job-report{margin-top:30px;border-top:1px solid #e0e7df;padding-top:31px}.report-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:22px}.report-head h2{display:flex;align-items:center;gap:10px;font-size:24px;letter-spacing:-.025em;margin:0 0 6px}.report-head .page-kicker{display:block;margin-bottom:10px}.report-head p{margin:0}.report-date{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700}.report-date input{min-width:170px}.form-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.report-field-label{display:block;font-size:14px;margin-bottom:7px}.material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;margin-top:6px}.material-grid .checkline{margin:0;min-width:0}.job-report .stack label{min-width:0}.job-report .checkline{flex-direction:row;font-weight:500}.job-report .checkline input[type=checkbox]{flex:none}.job-report .form-grid-2 .checkline{padding:9px 0}.job-report .panel h2{margin-bottom:17px}.report-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.report-actions button{display:inline-flex;align-items:center;gap:8px}.signature-canvas{width:100%;height:auto;aspect-ratio:640 / 190;border:1.5px dashed #afc5a9;border-radius:10px;touch-action:none;cursor:crosshair;background-color:#f9fbf7}.signature-item{display:flex;flex-direction:column;gap:5px;border-top:1px solid #e3e8dd;margin-top:14px;padding-top:14px}.signature-item small{color:#738277}.signature-preview{max-width:100%;height:100px;object-fit:contain;object-position:left center;background:#fafbf8;border:1px solid #e5eadf;border-radius:8px}.hours-total{display:flex;gap:7px;font-size:15px;align-items:center;flex-wrap:wrap}.time-rows{display:flex;flex-direction:column;gap:9px;margin:15px 0}.time-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e2e9de;border-radius:10px;background:#fafcf9;padding:10px 12px;font-size:13px}.time-row>div{display:flex;flex-direction:column;gap:4px}.time-row small{color:#748578}.job-report .muted{overflow-wrap:anywhere}@media(max-width:610px){.report-head{align-items:stretch}.report-date,.report-date input{width:100%}.form-grid-2{grid-template-columns:1fr}.material-grid{grid-template-columns:1fr 1fr;gap:2px 8px}.job-report .material-grid .checkline{font-size:12px}.job-report .report-head h2{font-size:22px}}.manual-time-form{margin-top:18px;padding:15px;background:#f6f9f3;border:1px solid #e0e9d8;border-radius:12px}.manual-time-form h3{margin:0}.manual-time-form button{align-self:flex-start}.report-head-actions{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}.report-head-actions .secondary{display:inline-flex;align-items:center;gap:7px}.report-print-only{display:none}@media print{@page{size:A4;margin:14mm 11mm}html,body{margin:0;padding:0;background:#fff;color:#000;font-family:Arial,sans-serif}body *{visibility:hidden!important}.report-print-only,.report-print-only *{visibility:visible!important}.report-print-only{display:block!important;position:absolute;top:0;left:0;width:100%;font-size:11px;color:#111;line-height:1.5}.report-print-only h1{font-size:21px;margin:10px 0 5px}.report-print-only h2{font-size:14px;margin:20px 0 8px;padding:0 0 5px;border-bottom:1px solid #aaa}.report-print-only p{margin:7px 0}.print-header{padding-bottom:14px;margin-bottom:12px;border-bottom:2px solid #213c2e}.print-header strong{color:#213c2e;font-size:15px}.print-table{border-collapse:collapse;width:100%;table-layout:fixed}.print-table td,.print-table th{border:1px solid #999;padding:6px 8px;vertical-align:top;text-align:left;word-break:break-word;font-size:10px}.print-table th{width:31%;font-weight:700;background:#f1f3f0}.print-table thead th{width:auto}.print-signature{margin:8px 0;border:1px solid #999;padding:10px;break-inside:avoid}.print-signature img{display:block;max-width:280px;height:80px;object-fit:contain;margin-top:6px}.print-footnote{border-top:1px solid #aaa;padding-top:8px;font-size:9px}}.extra-work-section{margin-top:20px}.extra-work-section h2{margin-bottom:12px}.add-extra-button{display:inline-flex;align-items:center;gap:7px;align-self:flex-start}.extra-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:20px 0 12px}.extra-summary>div{background:#f7f9f4;padding:12px;border:1px solid #e3ebdf;border-radius:10px;display:flex;flex-direction:column;justify-content:space-between;gap:7px;min-height:73px}.extra-summary span{color:#66776b;font-size:11px;line-height:1.35}.extra-summary strong{font-size:16px;color:#213e2c}.extra-works-list{display:flex;flex-direction:column;gap:12px;margin-top:15px}.extra-work-item{border:1px solid #e0e9dd;border-radius:10px;padding:14px;background:#fff}.extra-work-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.extra-work-title>div{display:flex;flex-direction:column;gap:6px}.extra-work-title strong{font-size:14px;font-weight:650;white-space:pre-wrap;overflow-wrap:anywhere}.extra-work-title small{color:#778779;font-size:11px}.extra-status{border-radius:8px;background:#f3f0e2;color:#7a6529;padding:6px 9px;font-size:11px;font-weight:700;text-align:center;flex:none}.extra-billing{display:grid;grid-template-columns:minmax(180px,1fr) minmax(130px,.7fr) auto;align-items:end;gap:11px;padding-top:16px}.extra-billing label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700}.extra-billing input,.extra-billing select{width:100%;min-width:0}.extra-billing button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.profit-overview{margin-top:20px;padding:15px;background:#f6f9f3;border-radius:10px;border:1px solid #dce9d5;font-size:13px}.profit-overview>strong{display:block;margin-bottom:10px}.profit-overview>div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid #e1e8db}.profit-overview>div strong{text-align:right}@media(max-width:1050px){.extra-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.extra-billing{grid-template-columns:1fr}}@media(max-width:550px){.extra-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.extra-work-title{flex-direction:column}.extra-status{align-self:flex-start}}.extra-input-hint{margin:-6px 0 0}
