:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17212b;background:#eef2f5;font-synthesis:none;--nav: #17324d;--nav2: #0f2438;--accent: #e7a326;--blue: #2167a5;--border: #d8e0e6;--muted: #667585;--danger: #b42318}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;height:100%}body{background:#eef2f5}button,input,textarea,select{font:inherit}button{border:1px solid var(--border);background:#fff;color:#263442;border-radius:8px;padding:.68rem .9rem;cursor:pointer;display:inline-flex;gap:.5rem;align-items:center;justify-content:center;font-weight:650}button:hover{border-color:#9eacb8}button:disabled{opacity:.5;cursor:not-allowed}button.primary,.primary{background:var(--blue);color:#fff;border-color:var(--blue)}button.quiet{border:0;background:transparent}button.danger,.danger{color:var(--danger)}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,3vw,2.5rem);margin-bottom:.35rem}h2{font-size:1.25rem}small,.muted{color:var(--muted)}svg{flex:none}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:800;color:#48708e;margin-bottom:.5rem}.app-shell{min-height:100%;padding-left:250px}.app-shell>aside{position:fixed;z-index:30;inset:0 auto 0 0;width:250px;background:var(--nav);color:#fff;padding:1.25rem 1rem;display:flex;flex-direction:column}.brand{background:transparent!important;color:#fff!important;border:0!important;font-size:1.25rem;justify-content:flex-start;padding:.5rem}.brand span:last-child{display:flex;flex-direction:column;align-items:flex-start}.brand small{color:#aac0d1;font-size:.68rem}.brand-mark{width:42px;height:42px;border-radius:10px;background:var(--accent);color:#17212b;display:grid!important;place-items:center!important}.app-shell aside nav{display:flex;flex-direction:column;gap:.25rem;margin-top:2rem}.app-shell aside nav button,.side-foot button{border:0;background:transparent;color:#dce8f1;justify-content:flex-start;padding:.8rem}.app-shell aside nav button.active,.app-shell aside nav button:hover{background:#294b68;color:#fff}.side-foot{margin-top:auto;display:flex;flex-direction:column;gap:.5rem;padding:.5rem}.workspace-switcher{display:grid;gap:.35rem;padding:.65rem 0;border-bottom:1px solid #ffffff20}.workspace-switcher>span{display:flex;align-items:center;gap:.4rem;color:#b9cbd8;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em}.workspace-switcher select{width:100%;color:#fff;background:#173047;border-color:#49657b}.side-foot small{color:#a9bdcd;overflow:hidden;text-overflow:ellipsis}.sync-state{font-size:.8rem;border:1px solid #5a7690;padding:.4rem .55rem;border-radius:7px;cursor:pointer}.content{padding:2rem;max-width:1500px;margin:0 auto;min-width:0}.mobile-header,.bottom-nav{display:none}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.page-head .primary{padding:.8rem 1rem}.panel,.table-panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:1.2rem;box-shadow:0 1px 2px #1b2b3710}.section-head,.section-actions{display:flex;justify-content:space-between;align-items:center;gap:.7rem;flex-wrap:wrap}.section-actions{justify-content:flex-start;margin-bottom:1rem}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem}.stats article{background:#fff;border:1px solid var(--border);border-radius:12px;padding:1.1rem;display:flex;gap:1rem;align-items:center}.stats article>svg{background:#e5f0f9;color:var(--blue);padding:.65rem;width:46px;height:46px;border-radius:10px}.stats strong,.stats span{display:block}.stats strong{font-size:1.25rem}.card-list{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}.work-card,.project-card{text-align:left;display:block;padding:1.1rem}.work-card h3,.project-card h2{margin:.75rem 0 .35rem}.work-card p,.project-card p{margin-bottom:.5rem}.status{display:inline-flex;background:#e6f1fa;color:#175885;border-radius:999px;padding:.25rem .55rem;font-size:.74rem;font-weight:750}.searchbar{max-width:720px;background:#fff;border:1px solid var(--border);border-radius:10px;display:flex;align-items:center;padding:0 .8rem;margin-bottom:1rem}.searchbar input{border:0;outline:0;width:100%;padding:.9rem;background:transparent}.table-panel{padding:0;overflow:auto}table{border-collapse:collapse;width:100%}th,td{padding:.8rem .9rem;text-align:left;border-bottom:1px solid #e5ebef;vertical-align:middle}th{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:#f8fafb}.name-cell{display:flex;align-items:center;gap:.7rem}.name-cell span,.name-cell small{display:block}.row-actions{display:flex}.icon-button{padding:.45rem;border:0;background:transparent}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.project-card{background:#fff;border:1px solid var(--border);border-radius:12px}.project-card small{display:flex;gap:.35rem}.project-card footer{margin-top:1rem;padding-top:.7rem;border-top:1px solid var(--border);font-size:.76rem;color:var(--muted)}.empty{text-align:center;padding:2.5rem;color:var(--muted)}.empty svg{display:block;margin:0 auto .75rem;width:38px;height:38px}.modal-backdrop{position:fixed;z-index:100;inset:0;background:#08131dcc;display:grid;place-items:center;padding:1rem}.editor~.modal-backdrop{z-index:1200}.photo-source-picker{display:grid;gap:.7rem;padding:1rem}.photo-source-picker>button{min-height:50px;justify-content:flex-start}.existing-photo-picker{display:grid;gap:.4rem;padding-top:.7rem;border-top:1px solid var(--border)}.existing-photo-picker>strong{display:flex;align-items:center;gap:.35rem}.existing-photo-picker>button{display:grid;grid-template-columns:56px 1fr;align-items:center;text-align:left}.existing-photo-picker img{width:48px;height:48px;object-fit:cover}.modal{background:#fff;border-radius:14px;width:min(620px,100%);max-height:95vh;overflow:auto;box-shadow:0 20px 70px #0006}.modal.wide{width:min(1100px,100%)}.modal>header{display:flex;justify-content:space-between;align-items:center;padding:1.1rem 1.3rem;border-bottom:1px solid var(--border)}.modal>header h2{margin:0}.modal>form,.modal>.stack,.modal>.section-actions,.modal>.callout,.modal>.document-list{margin:1.2rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.span-2{grid-column:span 2}label{font-size:.84rem;font-weight:700;color:#415363;display:flex;flex-direction:column;gap:.35rem}input,textarea,select{border:1px solid #becbd5;border-radius:7px;padding:.68rem;background:#fff;color:#17212b;min-width:0}textarea{resize:vertical}.stack{display:flex;flex-direction:column;gap:1rem}.form-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:.5rem}.wide{width:100%}.error{color:var(--danger)}.banner{background:#feeceb;padding:.7rem;border-radius:8px}.login-page,.loading-page{min-height:100vh;display:grid;place-content:center;padding:1rem}.login-card{width:min(420px,calc(100vw - 2rem));padding:2rem;background:#fff;border-radius:16px;box-shadow:0 16px 50px #0d223522}.login-card>.brand-mark{margin-bottom:1.2rem}.spinner{width:30px;height:30px;border:3px solid #bdd0de;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}.back-link{border:0;background:transparent;padding-left:0;margin-bottom:1rem}.project-head{display:flex;align-items:flex-start;justify-content:space-between}.project-head h1{margin:.6rem 0}.project-head p{display:flex;gap:.4rem}.tabs,.subtabs{display:flex;gap:.25rem;border-bottom:1px solid var(--border);overflow:auto;margin:1rem 0}.tabs button,.subtabs button{border:0;border-radius:7px 7px 0 0;background:transparent;white-space:nowrap;padding:.85rem}.tabs button.active,.subtabs button.active{background:#fff;color:var(--blue);box-shadow:inset 0 -3px var(--blue)}.tabs button span{background:var(--blue);color:#fff;border-radius:20px;padding:.05rem .4rem;font-size:.7rem}.chantier-content{background:#fff;border:1px solid var(--border);border-radius:0 12px 12px;padding:1.3rem;min-height:380px}.quick-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:.65rem;margin-bottom:1.2rem}.quick-actions button{justify-content:flex-start;text-align:left;padding:1rem}.quick-actions button>svg{color:var(--blue)}.quick-actions span,.quick-actions small{display:block}.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.overview-grid .span-2{grid-column:span 2}.overview-grid article>p:not(.eyebrow){display:flex;align-items:center;gap:.5rem}.overview-grid dl div{display:flex;justify-content:space-between;padding:.6rem 0;border-bottom:1px solid var(--border)}.overview-grid dd{font-weight:700}.preline{white-space:pre-line}.plan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.plan-card{border:1px solid var(--border);border-radius:10px;overflow:hidden}.plan-card>img,.plan-blank{width:100%;height:180px;object-fit:contain;background:#e8edf1}.plan-blank{display:grid;place-items:center}.plan-card>div:last-child{padding:.8rem}.plan-card h3{margin:0 0 .3rem}.plan-card>div>div{display:flex;justify-content:space-between;margin-top:.8rem}.plan-viewer{border-top:2px solid #7890a0;border-bottom:1px solid var(--border);background:#fff;margin-top:1rem}.plan-phases{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:.8rem;border:1px solid var(--border);background:#fff}.plan-phases button{display:flex;justify-content:flex-start;text-align:left;gap:.55rem;min-width:0;padding:.7rem;border:0;border-right:1px solid var(--border);border-radius:0;background:transparent}.plan-phases button:last-child{border-right:0}.plan-phases button>b{width:25px;height:25px;flex:0 0 auto;display:grid;place-items:center;border:1px solid #89a0af;border-radius:50%}.plan-phases button>span{min-width:0;display:flex;flex-direction:column}.plan-phases small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plan-phases button.active{color:#fff;background:var(--nav2)}.plan-phases button.active small{color:#c9d9e5}.plan-phases button.active>b{border-color:#fff}.plan-source-preview{min-height:380px;display:grid;place-items:center;background:#dce4e9;overflow:hidden}.plan-source-preview img{display:block;max-width:100%;max-height:68vh;object-fit:contain}.plan-source-preview>div{display:flex;flex-direction:column;align-items:center;gap:.5rem;color:var(--muted)}.plan-result-help{margin:0;padding:.7rem 1rem;border-top:1px solid var(--border);color:var(--muted)}.plan-viewer>header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem 0}.plan-viewer h2{margin:.15rem 0}.plan-viewer-actions,.plan-strip{display:flex;align-items:center;gap:.5rem}.plan-preview-stage{width:100%;max-height:68vh;position:relative;overflow:hidden;background-color:#dfe6eb;background-image:linear-gradient(45deg,#d4dde3 25%,transparent 25%),linear-gradient(-45deg,#d4dde3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d4dde3 75%),linear-gradient(-45deg,transparent 75%,#d4dde3 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.plan-preview-stage>svg{width:100%;height:100%;max-height:68vh;display:block}.plan-photo-marker{cursor:pointer;outline:none}.plan-photo-marker:hover circle,.plan-photo-marker:focus circle{fill:#b96500;stroke-width:7}.plan-photo-peek{position:absolute;z-index:4;width:min(260px,40%);transform:translate(22px,calc(-50% - 20px));border:2px solid #fff;background:#10243a;color:#fff;box-shadow:0 12px 32px #10243a55;pointer-events:none}.plan-photo-peek.align-right{transform:translate(calc(-100% - 22px),calc(-50% - 20px))}.plan-photo-peek img{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover}.plan-photo-peek span{display:block;padding:.45rem .6rem;font-size:.82rem}.plan-preview-loading{min-height:50vh;display:grid;place-items:center;color:var(--muted);background:#eef2f5}.plan-strip{overflow-x:auto;padding:.8rem 0 .2rem;align-items:stretch}.plan-strip>button{flex:0 0 180px;display:grid;grid-template-columns:58px 1fr;grid-template-rows:auto auto;column-gap:.65rem;text-align:left;padding:.45rem;border:1px solid var(--border);background:#fff}.plan-strip>button.active{border-color:var(--blue);box-shadow:inset 0 -3px var(--blue)}.plan-strip img,.plan-strip .plan-blank{grid-row:1 / 3;width:58px;height:48px;object-fit:contain;background:#e8edf1}.plan-strip strong,.plan-strip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.plan-phases{grid-template-columns:repeat(4,minmax(72px,1fr));overflow-x:auto}.plan-phases button{flex-direction:column;gap:.25rem;padding:.55rem}.plan-phases small{display:none}.plan-source-preview{min-height:52vh}.plan-viewer>header{align-items:flex-start;flex-direction:column}.plan-viewer-actions{width:100%}.plan-viewer-actions .primary{flex:1}.plan-preview-stage,.plan-preview-stage>svg{max-height:58vh}.plan-photo-peek{width:min(210px,55%)}.plan-strip>button{flex-basis:165px}}.panel-hub,.panel-workspace{max-width:1440px;margin:0 auto}.panel-hub button,.panel-workspace button{border-radius:2px}.section-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:2px solid var(--nav);padding:0 0 1rem;margin-bottom:1rem}.section-heading h2{font-size:1.65rem;margin-bottom:.35rem}.section-heading p:last-child{color:var(--muted);margin:0}.panel-list{border-top:1px solid var(--border);margin-bottom:1.5rem}.panel-list-item{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) auto 24px;text-align:left;gap:1rem;padding:1rem;border:0;border-bottom:1px solid var(--border);background:#fff}.panel-list-item:hover{background:#f7fafc}.panel-list-item>span:nth-child(2){display:flex;flex-direction:column;gap:.25rem}.panel-list-icon{width:40px;height:40px;display:grid;place-items:center;background:var(--nav);color:#fff}.panel-state{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:800;padding:.35rem .5rem;border-left:3px solid #7b8791;background:#eef2f4}.panel-state.ready{border-color:#16835f;background:#e8f5f0;color:#106148}.panel-state.review{border-color:#d08a00;background:#fff5dc;color:#805500}.panel-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.panel-start-card{min-height:128px;text-align:left;display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;padding:1.25rem;border:1px solid #bfcbd4;background:#fff}.panel-start-card.recommended{border-left:5px solid var(--blue)}.panel-start-card>svg:first-child{width:30px;height:30px;color:var(--blue)}.panel-start-card span{display:flex;flex-direction:column;gap:.25rem}.panel-start-card strong{font-size:1.1rem}.panel-start-card small{color:#1267a2;text-transform:uppercase;font-weight:800;font-style:normal}.panel-start-card em{font-style:normal;color:var(--muted);font-weight:400}.panel-workspace-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:2px solid var(--nav);padding-bottom:.8rem;margin-bottom:1rem}.panel-workspace-head>.icon-label{justify-self:start;border:0;padding-left:0;background:transparent}.panel-workspace-head>div:nth-child(2){text-align:center;display:flex;align-items:center;gap:.6rem}.panel-workspace-head h2{margin:0}.panel-mode-switch{justify-self:end;border:1px solid #9facb7;display:flex}.panel-mode-switch button{border:0;border-right:1px solid #9facb7;border-radius:0;background:#fff}.panel-mode-switch button:last-child{border:0}.panel-mode-switch button.active{background:var(--nav);color:#fff}.guided-panel{max-width:1050px;margin:0 auto}.guided-steps{list-style:none;margin:1.5rem 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--border)}.guided-steps li button{width:100%;border:0;border-radius:0;background:transparent;color:#657480;padding:.75rem}.guided-steps li.active{border-bottom:3px solid var(--blue)}.guided-steps li.active button{color:var(--blue)}.guided-steps li.done button{color:#176f53}.guided-steps li span{width:25px;height:25px;border:1px solid currentColor;display:grid;place-items:center;border-radius:50%;font-size:.75rem}.guided-steps li svg{width:14px}.guided-card{background:#fff;border:1px solid #cbd5dc;padding:clamp(1rem,3vw,2.2rem)}.guided-title{display:flex;gap:1rem;border-bottom:1px solid var(--border);padding-bottom:1.25rem;margin-bottom:1.25rem}.guided-title>span{width:38px;height:38px;display:grid;place-items:center;background:var(--nav);color:#fff;font-weight:800}.guided-title h3{font-size:1.45rem;margin-bottom:.35rem}.guided-title p{color:var(--muted);margin:0;max-width:720px}.choice-section{margin:1.25rem 0}.choice-section>strong{display:block;margin-bottom:.5rem}.choice-row{display:flex;flex-wrap:wrap;gap:.45rem}.choice-row button{font-weight:500}.choice-row button.selected{background:#e8f2f8;border-color:var(--blue);box-shadow:inset 0 -3px var(--blue);color:#164d78}.compact-field{display:flex;flex-direction:column;gap:.35rem;max-width:360px;font-weight:650}.compact-field select,.device-inspector input,.device-inspector select,.device-inspector textarea,.add-circuit-sheet input,.add-circuit-sheet select,.add-circuit-sheet textarea{width:100%;border:1px solid #b8c4cc;border-radius:2px;padding:.65rem;background:#fff}.room-presets{display:flex;flex-wrap:wrap;gap:.5rem}.room-list{margin-top:1.25rem;border-top:1px solid var(--border)}.room-list>div{display:grid;grid-template-columns:30px minmax(140px,1fr) 150px 38px;gap:.75rem;align-items:center;padding:.65rem 0;border-bottom:1px solid var(--border)}.room-list>div>span{width:26px;height:26px;background:#e8edf0;display:grid;place-items:center;font-weight:800}.room-list input{padding:.55rem;border:1px solid #b8c4cc}.room-list button{padding:.45rem;border:0}.room-list svg{width:17px}.empty-state{text-align:center;color:var(--muted);padding:2rem;border:1px dashed #aebbc4;margin-top:1rem}.room-needs{display:flex;flex-direction:column;gap:.75rem}.room-needs details{border:1px solid var(--border)}.room-needs summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:.8rem 1rem;background:#f3f6f8}.room-needs summary span{font-size:.8rem;color:var(--muted)}.room-needs details>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.room-needs label{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem;border-top:1px solid var(--border)}.room-needs label:nth-child(odd){border-right:1px solid var(--border)}.room-needs label>span:first-child{display:flex;flex-direction:column}.room-needs label small{font-weight:400}.stepper{display:flex;border:1px solid #b6c2ca}.stepper button{border:0;border-radius:0;padding:.3rem .55rem}.stepper input{width:44px;border:0;border-inline:1px solid #b6c2ca;text-align:center}.guided-actions{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--border);margin-top:1.5rem;padding-top:1rem}.panel-issues{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.panel-issues details{border-left:4px solid #607889;background:#f3f6f8}.panel-issues details.warning{border-color:#d38a00;background:#fff7e5}.panel-issues details.blocking{border-color:var(--danger);background:#fff0ef}.panel-issues summary{display:flex;gap:.7rem;padding:.7rem;cursor:pointer}.panel-issues summary span{display:flex;flex-direction:column}.panel-issues summary svg{width:18px}.panel-issues details>a{display:inline-block;margin:0 .75rem .75rem;font-size:.82rem}.replace-warning{display:flex;gap:.5rem;background:#fff2cf;border-left:4px solid #dc9300;padding:.8rem}.proposal-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.proposal-groups section{border-top:3px solid var(--nav);background:#f7f9fa}.proposal-groups h4{padding:.6rem;margin:0}.proposal-groups section>div{display:grid;grid-template-columns:minmax(0,1fr) 40px 60px;gap:.5rem;padding:.6rem;border-top:1px solid var(--border);align-items:center}.proposal-groups section>div>span{display:flex;flex-direction:column}.proposal-groups small{font-size:.7rem}.proposal-groups b,.proposal-groups em{font-style:normal;font-size:.75rem;text-align:right}.expert-layout{display:grid;grid-template-columns:minmax(0,1fr);min-height:560px;border:1px solid #c5cfd6;background:#fff}.expert-layout.has-inspector{grid-template-columns:minmax(0,1fr) 310px}.panel-board-area{min-width:0;background:#edf0ed;padding:1rem}.board-toolbar{display:flex;justify-content:space-between;gap:1rem;align-items:center;background:#fff;border-bottom:2px solid var(--nav);padding:.65rem}.board-toolbar>div:first-child{display:flex;flex-direction:column}.board-toolbar>div:last-child{display:flex;gap:.5rem}.inline-status{background:#e7f2f8;border-left:3px solid var(--blue);padding:.55rem;margin:.7rem 0}.board-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:5rem 1rem}.board-empty>svg{width:48px;height:48px;color:#7b8a92}.panel-enclosure{max-width:1180px;margin:1rem auto;padding:clamp(.8rem,2.5vw,2rem);border:2px solid #747c78;background:#f4f5f1;box-shadow:0 8px 24px #24313b18}.panel-enclosure>header{display:grid;grid-template-columns:auto 1fr auto;gap:.8rem;align-items:end;margin-bottom:1.5rem}.panel-enclosure>header>span{font-size:.7rem;letter-spacing:.15em}.panel-enclosure>header>strong{font-size:1.2rem}.rail-block{margin-bottom:1.5rem}.rail-meta{display:flex;justify-content:space-between;font-size:.75rem;padding:.35rem 0}.rail-scroll{overflow-x:auto;padding-top:34px}.module-labels,.din-rail{display:grid;position:relative;min-width:max-content}.module-labels{height:34px;margin-top:-34px;align-items:end}.module-labels>div{font-size:.64rem;line-height:1.05;text-align:center;padding:0 2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.din-rail{height:105px;border:6px solid #5d6561;background:#d7dad6}.empty-module{grid-row:1;border-right:1px dashed #a4aaa6;background:linear-gradient(135deg,#d8dcda 25%,#cfd4d1 25% 50%,#d8dcda 50% 75%,#cfd4d1 75%);background-size:8px 8px}.panel-device{grid-row:1;z-index:1;border:1px solid #303936;border-radius:0!important;background:#fafbf9;min-width:54px;padding:.28rem;display:grid;grid-template-rows:15px 1fr auto auto;gap:.1rem;align-items:center;overflow:hidden}.panel-device:hover,.panel-device.selected{border-color:#d18c00;box-shadow:inset 0 0 0 2px #e8aa25}.panel-device.kind-rcd{background:#e8ede4}.panel-device.kind-control{background:#fff3ce}.panel-device small{font-size:.55rem;justify-self:start;color:#333}.panel-device b{font-size:1rem}.panel-device span{font-size:.58rem;line-height:1}.panel-device i{font-size:.48rem;font-style:normal;color:#68736d}.device-inspector{border-left:1px solid #bbc6cc;background:#fff;padding:1rem;overflow:auto}.device-inspector>header,.add-circuit-sheet>header{display:flex;justify-content:space-between;gap:1rem;border-bottom:2px solid var(--nav);padding-bottom:.75rem;margin-bottom:1rem}.device-inspector h3,.add-circuit-sheet h3{margin:0}.device-inspector>header button,.add-circuit-sheet>header button{border:0;padding:.3rem}.why-box{display:flex;gap:.65rem;background:#eef5f8;border-left:3px solid var(--blue);padding:.7rem;margin-bottom:1rem}.why-box svg{width:18px}.why-box p{font-size:.78rem;margin:.2rem 0 0}.device-inspector form,.add-circuit-sheet form{display:flex;flex-direction:column;gap:.8rem}.device-inspector label,.add-circuit-sheet label{display:flex;flex-direction:column;gap:.3rem;font-size:.78rem;font-weight:700}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.sheet-backdrop{position:fixed;z-index:100;inset:0;background:#13233199;display:flex;justify-content:flex-end}.add-circuit-sheet{height:100%;width:min(430px,100%);background:#fff;padding:1.25rem;overflow:auto;box-shadow:-10px 0 30px #0002}.add-circuit-sheet footer{display:flex;justify-content:flex-end;gap:.6rem;margin-top:.5rem}.panel-title-edit{display:flex;gap:.3rem}.panel-title-edit input{min-width:220px;padding:.45rem;border:1px solid #aab7c0}.panel-title-edit button,.mini-action{padding:.35rem!important;border:0!important;background:transparent!important}.panel-title-edit svg,.mini-action svg{width:16px}.inspector-delete{margin-top:.25rem;background:#fff4f3}.panel-device.group-0,.module-labels .group-0{border-top-color:#277bb5}.panel-device.group-1,.module-labels .group-1{border-top-color:#c88a00}.panel-device.group-2,.module-labels .group-2{border-top-color:#38805a}.panel-device.group-3,.module-labels .group-3{border-top-color:#8a55a6}.panel-device.group-4,.module-labels .group-4{border-top-color:#b94a55}.panel-device.group-5,.module-labels .group-5{border-top-color:#52747c}.panel-device[class*=group-],.module-labels [class*=group-]{border-top-width:4px;border-top-style:solid}@media(max-width:1050px){.expert-layout.has-inspector{grid-template-columns:minmax(0,1fr)}.device-inspector{position:fixed;z-index:80;right:0;top:0;height:100dvh;width:min(360px,100%);box-shadow:-10px 0 35px #0003}.room-needs details>div,.proposal-groups{grid-template-columns:1fr}.room-needs label:nth-child(odd){border-right:0}.panel-enclosure{padding:.75rem}.panel-workspace-head{grid-template-columns:1fr auto}.panel-workspace-head>div:nth-child(2){grid-column:1/-1;grid-row:1;text-align:center;justify-self:center}.panel-mode-switch{grid-column:1/-1;width:100%;margin-top:.8rem}.panel-mode-switch button{flex:1}}@media(max-width:680px){.panel-start-grid{grid-template-columns:1fr}.panel-start-card{min-height:100px}.panel-list-item{grid-template-columns:40px minmax(0,1fr) 22px}.panel-list-item .panel-state{grid-column:2}.guided-card{padding:1rem}.guided-steps{overflow-x:auto;display:flex}.guided-steps li{min-width:110px}.guided-steps li button{flex-direction:column;font-size:.72rem}.choice-row{display:grid;grid-template-columns:1fr 1fr}.choice-row button{min-height:48px}.room-list>div{grid-template-columns:28px minmax(0,1fr) 36px}.room-list small{display:none}.room-needs label{padding:.7rem}.room-needs label small{display:none}.proposal-groups section>div{grid-template-columns:minmax(0,1fr) 35px 50px}.guided-actions{position:sticky;bottom:0;background:#fff;padding:.8rem 0;z-index:5}.guided-actions button{min-height:46px}.panel-workspace-head{display:flex;flex-wrap:wrap}.panel-workspace-head>div:nth-child(2){order:-1;width:100%;justify-content:center}.panel-mode-switch{width:100%;margin-top:.4rem}.board-toolbar{align-items:flex-start}.board-toolbar>div:last-child button{font-size:0;padding:.65rem}.board-toolbar>div:last-child button svg{margin:0}.panel-board-area{padding:.5rem}.panel-enclosure>header{grid-template-columns:1fr}.panel-enclosure>header small{display:none}.rail-scroll{margin-inline:-.4rem}.field-pair{grid-template-columns:1fr}.add-circuit-sheet{padding:1rem}}.calculation-areas{border:1px solid var(--border);border-left:3px solid #516f83;background:#fff;padding:.75rem .85rem}.calculation-areas>header,.calculation-areas>header>div,.calculation-areas>header form,.area-chips,.area-chip,.material-media>button,.material-media-popover a,.button-like{display:flex;align-items:center;gap:.45rem}.calculation-areas>header{justify-content:space-between;gap:1rem}.calculation-areas>header>div>svg{color:#516f83}.calculation-areas strong,.calculation-areas small{display:block}.calculation-areas small{color:var(--muted)}.calculation-areas form input{min-height:38px}.area-chips{flex-wrap:wrap;margin-top:.7rem}.area-chip{border:1px solid #b8c6ce;padding:.35rem .45rem;background:#f4f7f8}.area-chip small{padding-left:.35rem;border-left:1px solid #cbd5da}.area-chip button{border:0;min-height:25px;min-width:25px;padding:.1rem;background:transparent}.area-select{min-width:130px}.material-media{position:relative}.material-media>button{min-width:48px;min-height:38px;justify-content:center;border:1px solid #aebdc6;background:#fff}.material-media>button img,.document-choice-list img{width:34px;height:34px;object-fit:cover;border:1px solid var(--border)}.material-media>button svg{width:17px}.material-media-popover{position:absolute;z-index:12;top:calc(100% + 4px);right:0;width:290px;padding:.7rem;background:#fff;border:1px solid #8399a7;box-shadow:0 10px 24px #10202d2d}.material-media-popover label{display:grid;gap:.25rem;font-size:.75rem;font-weight:700}.material-media-popover input[type=url]{width:100%}.material-media-popover a{margin:.55rem 0;color:#1f6fa3;overflow-wrap:anywhere}.button-like{justify-content:center;min-height:38px;border:1px solid #8ca1af;cursor:pointer}.button-like input{display:none}.material-media-dialog{display:grid;gap:.8rem;padding:1rem 1.2rem 1.2rem}.material-media-dialog>a{color:var(--blue);display:flex;align-items:center;gap:.35rem;overflow-wrap:anywhere}.material-image-preview{width:100%;max-height:220px;object-fit:contain;background:#eef2f4;border:1px solid var(--border)}.material-link-actions{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.material-link-actions a{display:inline-flex;align-items:center;gap:.35rem;overflow-wrap:anywhere}.material-link-actions button{flex:0 0 auto;padding:.45rem .6rem}.material-remote-preview{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:.7rem;padding:.55rem;background:#f4f7f8;border:1px solid var(--border)}.material-remote-preview img{width:72px;height:58px;object-fit:contain;background:#fff}.material-media-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.picker-thumbnail{width:54px;height:54px;object-fit:cover;flex:0 0 auto;border:1px solid var(--border);background:#eef2f4}.dossier-builder{display:grid;gap:1rem;padding:0 1.2rem}.dossier-fixed-item{display:flex;align-items:center;gap:.7rem;padding:.75rem;border:1px solid #97adba;border-left:4px solid var(--blue);background:#f5f8fa}.dossier-fixed-item span,.dossier-fixed-item small{display:block}.dossier-fixed-item small{color:var(--muted);margin-top:.15rem}.document-choice-group{min-width:0}.document-choice-group h3{margin:0 0 .45rem;font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.document-choice-list{display:grid;overflow:visible;border:1px solid var(--border)}.document-choice-list>label{display:flex;gap:.55rem;align-items:center;padding:.55rem;border-bottom:1px solid var(--border);cursor:pointer}.document-choice-list>label:last-child{border-bottom:0}.document-choice-list input[type=checkbox]{width:18px;height:18px;flex:0 0 auto}.document-choice-list span{min-width:0}.document-choice-list strong,.document-choice-list small{display:block;overflow-wrap:anywhere}.document-choice-list small{color:var(--muted);margin-top:.15rem}.document-choice-list .choice-preview{width:76px;height:56px;order:-1;flex:0 0 auto;object-fit:cover;background:#edf1f3}.dossier-workspace{display:grid;gap:1rem}.latest-dossier{display:grid;grid-template-columns:120px minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.8rem;border:1px solid #7f9aac;border-left:5px solid var(--blue);background:#f4f8fa}.latest-dossier>img{width:120px;height:86px;object-fit:contain;border:1px solid var(--border);background:#fff}.latest-dossier h2{margin:.15rem 0;font-size:1rem}.latest-dossier small{color:#276487;font-weight:800;text-transform:uppercase}.dossier-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;border-bottom:2px solid #8ca1af;padding-bottom:.8rem}.dossier-heading h2,.dossier-heading p{margin-bottom:.25rem}.dossier-quote-fixed{display:flex;align-items:center;gap:.6rem;padding:.8rem;border:1px solid #7f9aac;background:#e9f2f7}.dossier-order-list{display:grid;gap:.45rem}.dossier-order-list article{display:grid;grid-template-columns:auto auto 92px minmax(0,1fr) auto;align-items:center;gap:.7rem;min-width:0;padding:.55rem;border:1px solid var(--border);border-left:4px solid #b7c3ca;background:#fff}.dossier-order-list article.selected{border-left-color:var(--blue)}.dossier-order-list input{width:18px;height:18px}.dossier-order-list img{width:92px;height:64px;object-fit:contain;background:#eef2f4;border:1px solid var(--border)}.dossier-order-list article>span{min-width:0}.dossier-order-list strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dossier-order-list small{display:flex;align-items:center;gap:.3rem;color:var(--muted)}.dossier-order-list small svg{width:14px}.dossier-order-list article>div{display:flex;gap:.25rem}.dossier-grip{color:#8497a3;cursor:grab}@media(max-width:680px){.latest-dossier{grid-template-columns:78px minmax(0,1fr)}.latest-dossier>img{width:78px;height:64px}.latest-dossier>a{grid-column:1/-1}.dossier-heading{align-items:stretch;flex-direction:column}.dossier-order-list article{grid-template-columns:auto auto 64px minmax(0,1fr)}.dossier-order-list img{width:64px;height:54px}.dossier-order-list article>div{grid-column:3/-1;justify-content:flex-end}}.dossier-progress{margin:1rem 1.2rem 0;padding:.65rem .8rem;border-left:3px solid var(--blue);background:#edf5fa}.modal-intro{margin-top:0;color:var(--muted);max-width:72ch}.modal-actions{display:flex;justify-content:flex-end;gap:.55rem;margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border)}.snap-toggle.active{background:#dcebf3;border-color:#377493;color:#173f54}@media(max-width:760px){.calculation-areas>header{align-items:stretch;flex-direction:column}.calculation-areas>header form{display:grid;grid-template-columns:1fr auto}.area-chip{flex:1 1 100%;justify-content:space-between}.material-media-popover{position:fixed;left:.7rem;right:.7rem;top:auto;bottom:.7rem;width:auto}.document-choice-list .choice-preview{width:62px;height:48px}.modal-actions{position:sticky;bottom:0;background:#fff}.material-section td:nth-child(1):before{content:"Article"}.material-section td:nth-child(2):before{content:"Zone"}.material-section td:nth-child(3):before{content:"Quantité"}.material-section td:nth-child(4):before{content:"Unité"}.material-section td:nth-child(5):before{content:"Fourni par"}.material-section td:nth-child(6):before{content:"Référence"}.material-section td:nth-child(7):before{content:"Lien / image"}.material-section td:nth-child(8):before{content:"PA HT"}.material-section td:nth-child(9):before{content:"PV HT"}.material-section td:nth-child(10):before{content:"PV TTC"}.material-section td:nth-child(11):before{content:"TVA"}.material-section td:nth-child(12):before{content:"Total HT"}.material-section td:nth-child(13):before{content:"Total TTC"}.labor-section td:nth-child(1):before{content:"Prestation"}.labor-section td:nth-child(2):before{content:"Zone"}.labor-section td:nth-child(3):before{content:"Quantité"}.labor-section td:nth-child(4):before{content:"Unité"}.labor-section td:nth-child(5):before{content:"Temps"}.labor-section td:nth-child(6):before{content:"Prix HT"}.labor-section td:nth-child(7):before{content:"Prix TTC"}.labor-section td:nth-child(8):before{content:"TVA"}.labor-section td:nth-child(9):before{content:"Total HT"}.labor-section td:nth-child(10):before{content:"Total TTC"}.cost-section td:nth-child(1):before{content:"Catégorie"}.cost-section td:nth-child(2):before{content:"Libellé"}.cost-section td:nth-child(3):before{content:"Zone"}.cost-section td:nth-child(4):before{content:"Quantité"}.cost-section td:nth-child(5):before{content:"Unité"}.cost-section td:nth-child(6):before{content:"Prix HT"}.cost-section td:nth-child(7):before{content:"Prix TTC"}.cost-section td:nth-child(8):before{content:"TVA"}.cost-section td:nth-child(9):before{content:"Total HT"}.cost-section td:nth-child(10):before{content:"Total TTC"}}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.8rem}.photo-grid button{display:block;text-align:left;padding:.5rem}.photo-card{position:relative;border:1px solid var(--border);background:#fff}.photo-card .photo-card-open{width:100%;border:0;background:transparent}.photo-card .photo-card-delete{position:absolute;top:.75rem;right:.75rem;display:grid;padding:.35rem;background:#fff;box-shadow:0 1px 5px #0003}.photo-grid img{width:100%;object-fit:contain;border-radius:6px}.annotated-photo-thumbnail{position:relative;display:grid;place-items:center;overflow:hidden;background:#e8edf1;border-radius:4px}.annotated-photo-thumbnail>img{width:100%;height:100%;display:block}.photo-grid span,.photo-grid small{display:block;margin-top:.35rem}.photo-stage{position:relative;background:#101820;display:grid;place-items:center;max-height:65vh;overflow:hidden}.photo-stage img{max-width:100%;max-height:65vh;display:block}.annotation-preview{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.photo-details{padding:1rem;display:grid;grid-template-columns:2fr 2fr auto;gap:1rem;align-items:end}.segmented{display:flex;margin-top:.6rem}.segmented button{padding:.35rem .65rem}.segmented button.active{background:var(--blue);color:#fff}.fullscreen-modal{position:fixed;z-index:150;inset:0}.notes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.8rem}.notes-grid article{background:#fff;border:1px solid var(--border);border-top:3px solid #7890a0;border-radius:2px;padding:.8rem}.notes-grid input,.notes-grid textarea{width:100%;background:transparent;border:0;padding:.35rem}.note-title{font-weight:800}.note-editor>header,.note-editor>footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.note-editor textarea{min-height:12rem;line-height:1.55;border-top:1px solid var(--border);border-bottom:1px solid var(--border);border-radius:0;resize:vertical}.text-tools{display:flex;gap:.25rem;padding:.35rem 0}.text-tools button{width:34px;height:32px;padding:.4rem}.text-tools svg{width:16px;height:16px}.document-list{display:grid;gap:.5rem}.document-list a{display:flex;align-items:center;gap:.8rem;border:1px solid var(--border);padding:.8rem;border-radius:8px}.document-row{display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid var(--border);background:#fff}.document-row>a{border:0;min-width:0}.document-row>button{margin-right:.65rem}.document-list span,.document-list small{display:block}.callout{background:#e8f3fa;border-left:4px solid var(--blue);padding:.8rem 1rem;border-radius:5px}.editable input,.editable select{min-width:90px;width:100%;padding:.45rem}.calculation-summary{max-width:700px;margin:auto}.calculation-summary article{display:flex;justify-content:space-between;padding:.8rem;border-bottom:1px solid var(--border)}.calculation-summary .internal{background:#fff7e5}.calculation-summary .total{font-size:1.35rem;background:var(--nav);color:#fff;margin-top:1rem;border-radius:8px}.settings-grid{display:grid;grid-template-columns:2fr 1fr;gap:1rem}.settings-grid h2{display:flex;gap:.5rem;align-items:center}.editor{position:fixed;z-index:60;inset:0;background:#d9e0e5;display:grid;grid-template:60px auto 1fr / 190px 1fr 180px;grid-template-areas:"head head head" "tools tools tools" "props canvas layers"}.editor-head{grid-area:head;background:var(--nav2);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem}.editor-head button,.editor-tools button,.editor-properties button{padding:.48rem;background:#fff}.editor-head>div{display:flex;flex-direction:column;align-items:center}.editor-head small{display:flex;align-items:center;gap:.3rem;color:#b9cbd8}.editor-head-actions{flex-direction:row!important;gap:.4rem}.editor-tools{grid-area:tools;display:flex;gap:.25rem;overflow-x:auto;padding:.4rem;background:#fff;border-bottom:1px solid var(--border)}.editor-tools button{flex-direction:column;gap:.15rem;min-width:68px;font-size:.7rem}.editor-tools button.active{background:var(--blue);color:#fff}.editor-tools select{min-width:120px}.symbol-button{font-size:1.1rem}.editor-properties{grid-area:props;background:#f8fafb;padding:.7rem;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:.75rem;overflow:auto}.editor-properties input[type=color]{width:100%;padding:.15rem;height:38px}.editor-layers{grid-area:layers;background:#f8fafb;padding:.7rem;border-left:1px solid var(--border);overflow:auto}.editor-layers h3{font-size:.9rem}.editor-layers>div{display:flex;align-items:center;gap:.4rem;padding:.45rem;border-radius:6px;cursor:pointer}.editor-layers>div.active{background:#dcecf8}.editor-layers span{flex:1;font-size:.82rem}.editor-layers button{padding:.2rem;border:0;background:transparent}.canvas-wrap{grid-area:canvas;overflow:hidden;position:relative;touch-action:none;background-color:#cbd3d9;background-image:linear-gradient(45deg,#c1cbd2 25%,transparent 25%),linear-gradient(-45deg,#c1cbd2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c1cbd2 75%),linear-gradient(-45deg,transparent 75%,#c1cbd2 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.zoom-controls{position:absolute;right:1rem;bottom:1rem;display:flex}.zoom-controls button{border-radius:0;padding:.45rem}.zoom-controls button:first-child{border-radius:7px 0 0 7px}.zoom-controls button:last-child{border-radius:0 7px 7px 0}@media(max-width:900px){.app-shell{padding-left:0;padding-top:56px;padding-bottom:65px}.app-shell>aside{transform:translate(-100%);transition:transform .2s}.app-shell>aside.open{transform:none}.mobile-header{display:flex;position:fixed;z-index:25;inset:0 0 auto;height:56px;background:var(--nav);color:#fff;align-items:center;justify-content:space-between;padding:.45rem .8rem}.mobile-header button{color:#fff}.sync-dot{width:28px;height:28px;border-radius:50%;background:#2a7250;display:grid;place-items:center;font-size:.72rem}.scrim:not([hidden]){display:block;position:fixed;z-index:29;inset:0;background:#0007}.bottom-nav{display:flex;position:fixed;z-index:20;inset:auto 0 0;height:65px;background:#fff;border-top:1px solid var(--border);justify-content:space-around}.bottom-nav button{border:0;flex-direction:column;gap:.1rem;padding:.3rem;background:transparent}.content{padding:1rem}.stats,.card-list{grid-template-columns:1fr}.quick-actions{grid-template-columns:1fr 1fr}.overview-grid,.settings-grid{grid-template-columns:1fr}.overview-grid .span-2{grid-column:auto}.editor{grid-template:56px auto 1fr auto / 1fr;grid-template-areas:"head" "tools" "canvas" "props"}.editor-properties{grid-area:props;flex-direction:row;overflow-x:auto;border:0;border-top:1px solid var(--border);min-height:75px}.editor-properties label{min-width:100px}.editor-layers,.editor-head span,.editor-tools button span{display:none}.editor-tools button{min-width:45px}.photo-details{grid-template-columns:1fr}.table-panel{margin-left:-1rem;margin-right:-1rem;border-radius:0}.chantier-content{padding:1rem}.tabs button{flex-direction:column;font-size:.72rem}.tabs button svg{width:19px}.project-head{display:block}.project-head>button{margin-bottom:1rem}}.conductor-colors{display:block;padding-bottom:.65rem;border-bottom:1px solid var(--line)}.conductor-colors>header{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:.45rem}.conductor-colors>header>span{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.conductor-colors>header small{font-size:.62rem}.wire-primary{display:grid;grid-template-columns:repeat(3,1fr);gap:.3rem}.wire-color{min-width:0;padding:.35rem .2rem!important;display:grid!important;grid-template-columns:10px 1fr;gap:.3rem!important;justify-content:stretch!important;text-align:left;overflow:hidden}.wire-color>span{min-width:0;display:flex;flex-direction:column;line-height:1.05}.wire-color b{font-size:.7rem}.wire-color small{font-size:.52rem;overflow:hidden;text-overflow:ellipsis}.wire-color i,.wire-swatch i{width:10px;height:26px;flex:0 0 auto;border:1px solid #87909a;background:var(--wire-a)}.wire-color.striped i{background:repeating-linear-gradient(135deg,var(--wire-a) 0 4px,var(--wire-b) 4px 8px)}.wire-secondary{display:flex;gap:.42rem;padding-top:.45rem}.wire-swatch{width:31px;height:26px;padding:3px!important;border-radius:2px}.wire-swatch i{width:21px;height:16px;display:block}@media(max-width:560px){.page-head{display:block}.page-head>button{margin-top:.7rem}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.modal{max-height:100vh;border-radius:0}.modal-backdrop{padding:0}.quick-actions{grid-template-columns:1fr 1fr}.quick-actions button{padding:.75rem}.chantier-content{border-radius:0}.photo-grid{grid-template-columns:1fr 1fr}.editor-head{padding:.4rem}.editor-head>div strong{max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.document-switch{background:#fff;border:2px solid var(--nav)}.document-switch button{background:#fff;color:var(--nav);font-weight:800;opacity:1}.document-switch button.active{background:var(--nav);color:#fff;box-shadow:inset 0 0 0 2px #fff}.document-switch button:not(.active):hover{background:#e8f0f5}.save-calcul.dirty{border-color:#a96700;color:#754800;background:#fff5d9;font-weight:750}.money-cell{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.money-cell.strong{font-weight:800;color:var(--nav)}.calculation-section table{min-width:1180px}.calculation-section>header strong{color:var(--nav)}.catalog-picker{position:relative;padding:0;overflow:hidden}.catalog-picker>header{padding:.8rem 1rem;margin:0;border-bottom:1px solid var(--border)}.catalog-picker>header>div{display:flex;flex-direction:column}.catalog-picker>header small{color:var(--muted);text-transform:uppercase;font-size:.67rem;letter-spacing:.08em}.picker-search{display:flex;flex-direction:row;align-items:center;gap:.55rem;margin:.75rem 1rem}.picker-search input{width:100%}.catalog-picker>.picker-layout{display:grid;grid-template-columns:210px minmax(0,1fr);max-height:360px;overflow:hidden;border-top:1px solid var(--border)}.picker-layout nav{padding:.45rem;overflow-y:auto;border-right:1px solid var(--border);background:#f5f7f8}.picker-layout nav button{display:flex;width:100%;justify-content:space-between;border:0;border-left:3px solid transparent;padding:.55rem .6rem;text-align:left;background:transparent}.picker-layout nav button.active{border-left-color:var(--accent);background:#fff;color:var(--nav);font-weight:800}.picker-layout nav small{color:var(--muted)}.picker-layout>section{overflow-y:auto}.picker-result{display:grid!important;grid-template-columns:minmax(0,1fr) auto;width:100%;min-height:64px;border:0!important;border-bottom:1px solid var(--border)!important;padding:.7rem .9rem!important;text-align:left;background:#fff}.picker-result:hover{background:#eef5f8}.picker-result>span{min-width:0}.picker-result strong,.picker-result small{display:block}.picker-result small{color:var(--muted);overflow:hidden;text-overflow:ellipsis}.picker-price{text-align:right;padding-left:1rem}.catalog-head-actions{display:flex;gap:.5rem}.catalog-tabs span{margin-left:.35rem;color:var(--muted);font-size:.75rem}.catalog-browser{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:520px;border:1px solid var(--border);background:#fff}.catalog-families{padding:.8rem .55rem;background:#f4f7f8;border-right:1px solid var(--border)}.catalog-families>strong{display:block;padding:.4rem .6rem .7rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.catalog-families button{display:flex;justify-content:space-between;width:100%;border:0;border-left:3px solid transparent;background:transparent;padding:.6rem;text-align:left}.catalog-families button.active{border-left-color:var(--accent);background:#fff;color:var(--nav);font-weight:800}.catalog-families small{color:var(--muted)}.catalog-results{min-width:0;padding:.9rem}.catalog-results .catalog-search{max-width:none;margin:0 0 .8rem;position:static;flex-direction:row}.catalog-results .catalog-search small{white-space:nowrap;color:var(--muted)}.catalog-resource-list{display:grid;gap:.7rem}.catalog-resource{border:1px solid var(--border);border-left:4px solid #607f91;padding:.75rem .85rem;background:#fff}.catalog-resource.inactive{opacity:.58;border-left-color:#9aa7ae}.catalog-resource>header,.catalog-resource>footer{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.catalog-resource>header>div:first-child{min-width:0;flex:1}.resource-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;flex:1;min-width:0;border:0;padding:.2rem 0;text-align:left;background:transparent}.resource-heading>svg{transition:transform .16s ease}.catalog-resource.expanded .resource-heading>svg{transform:rotate(180deg)}.resource-heading>span{min-width:0}.resource-heading strong,.resource-heading small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-heading strong{color:var(--nav)}.resource-heading small{margin-top:.15rem;color:var(--muted);font-weight:500}.resource-heading>b{white-space:nowrap;color:var(--nav);font-size:.84rem}.resource-name{width:100%;padding:.25rem 0;border:0;border-bottom:1px solid transparent;font-size:1rem;font-weight:800;color:var(--nav)}.resource-name:focus{border-bottom-color:var(--accent)}.resource-meta{display:block;color:var(--muted);font-size:.72rem;margin-top:.1rem}.catalog-field-grid{display:grid;grid-template-columns:repeat(4,minmax(115px,1fr));gap:.55rem;margin:.7rem 0}.catalog-field-grid.services{grid-template-columns:repeat(3,minmax(130px,1fr))}.catalog-field-grid label{min-width:0;color:var(--muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.03em}.catalog-field-grid .wide-field{grid-column:span 2}.catalog-field-grid input,.catalog-field-grid select{width:100%;min-width:0;margin-top:.2rem;color:var(--text);text-transform:none}.catalog-resource>footer{justify-content:flex-start;padding-top:.55rem;border-top:1px solid #e5ebee}.catalog-resource>footer a{margin-left:auto;font-size:.8rem}.unsaved-bar{position:sticky;z-index:12;bottom:.75rem;display:flex;align-items:center;justify-content:flex-end;gap:.55rem;width:fit-content;margin:.8rem 0 0 auto;padding:.55rem;background:var(--nav);color:#fff;box-shadow:0 8px 24px #10283e38}.unsaved-bar span{padding:0 .55rem;font-size:.82rem;font-weight:700}.clickable-client-row{cursor:pointer}.clickable-client-row:hover,.clickable-client-row:focus{background:#eef5f8;outline:none}.clickable-client-row:focus{box-shadow:inset 4px 0 var(--accent)}.client-projects-link{display:inline-flex}.overview-pencil{border:1px solid var(--border)}.overview-description{min-height:5rem;padding:.5rem 0}.overview-edit{border:1px solid var(--border);border-top:4px solid var(--nav);background:#fff}.overview-edit>header,.overview-edit>footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;background:#f4f7f8}.overview-edit>header h2{margin:0}.overview-edit>section{padding:1rem;border-top:1px solid var(--border)}.overview-edit h3{margin:0 0 .75rem;font-size:.95rem}.overview-edit textarea{width:100%}.overview-edit .tax-edit{border-left:4px solid var(--accent)}.overview-edit .tax-edit>p{color:var(--muted);font-size:.82rem}@media(max-width:760px){.catalog-head-actions{width:100%}.catalog-head-actions button{flex:1}.catalog-browser{display:block;border-left:0;border-right:0}.catalog-families{display:flex;gap:.3rem;overflow-x:auto;border:0;border-bottom:1px solid var(--border);padding:.5rem}.catalog-families>strong{display:none}.catalog-families button{flex:0 0 auto;width:auto;min-height:42px;border-left:0;border-bottom:3px solid transparent}.catalog-families button.active{border-bottom-color:var(--accent)}.catalog-results{padding:.65rem}.catalog-field-grid,.catalog-field-grid.services{grid-template-columns:1fr 1fr}.catalog-resource>header{align-items:flex-start}.unsaved-bar{bottom:.4rem;width:100%;justify-content:space-between}.unsaved-bar span{display:none}.catalog-picker>.picker-layout{grid-template-columns:1fr;max-height:58dvh}.picker-layout nav{display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid var(--border)}.picker-layout nav button{flex:0 0 auto;width:auto;border-left:0;border-bottom:3px solid transparent}.picker-layout nav button.active{border-bottom-color:var(--accent)}.picker-layout>section{min-height:220px}.picker-result{display:grid!important}.overview-edit>header{align-items:flex-start}.overview-edit>header .form-actions{flex-direction:column-reverse}.calculation-section:nth-of-type(1) td:nth-child(8):before{content:"PV TTC"}.calculation-section:nth-of-type(1) td:nth-child(9):before{content:"TVA"}.calculation-section:nth-of-type(1) td:nth-child(10):before{content:"Total HT"}.calculation-section:nth-of-type(1) td:nth-child(11):before{content:"Total TTC"}.calculation-section:nth-of-type(2) td:nth-child(6):before{content:"Prix TTC"}.calculation-section:nth-of-type(2) td:nth-child(7):before{content:"TVA"}.calculation-section:nth-of-type(2) td:nth-child(8):before{content:"Total HT"}.calculation-section:nth-of-type(2) td:nth-child(9):before{content:"Total TTC"}.calculation-section:nth-of-type(3) td:nth-child(6):before{content:"Prix TTC"}.calculation-section:nth-of-type(3) td:nth-child(7):before{content:"TVA"}.calculation-section:nth-of-type(3) td:nth-child(8):before{content:"Total HT"}.calculation-section:nth-of-type(3) td:nth-child(9):before{content:"Total TTC"}}@media(max-width:760px){.calculation-workspace .calculation-section.material-section td:nth-child(1):before{content:"Article"}.calculation-workspace .calculation-section.material-section td:nth-child(2):before{content:"Zone"}.calculation-workspace .calculation-section.material-section td:nth-child(3):before{content:"Quantité"}.calculation-workspace .calculation-section.material-section td:nth-child(4):before{content:"Unité"}.calculation-workspace .calculation-section.material-section td:nth-child(5):before{content:"Fourni par"}.calculation-workspace .calculation-section.material-section td:nth-child(6):before{content:"Référence"}.calculation-workspace .calculation-section.material-section td:nth-child(7):before{content:"Lien / image"}.calculation-workspace .calculation-section.material-section td:nth-child(8):before{content:"PA HT"}.calculation-workspace .calculation-section.material-section td:nth-child(9):before{content:"PV HT"}.calculation-workspace .calculation-section.material-section td:nth-child(10):before{content:"PV TTC"}.calculation-workspace .calculation-section.material-section td:nth-child(11):before{content:"TVA"}.calculation-workspace .calculation-section.material-section td:nth-child(12):before{content:"Total HT"}.calculation-workspace .calculation-section.material-section td:nth-child(13):before{content:"Total TTC"}.calculation-workspace .calculation-section.labor-section td:nth-child(1):before{content:"Prestation"}.calculation-workspace .calculation-section.labor-section td:nth-child(2):before{content:"Zone"}.calculation-workspace .calculation-section.labor-section td:nth-child(3):before{content:"Quantité"}.calculation-workspace .calculation-section.labor-section td:nth-child(4):before{content:"Unité"}.calculation-workspace .calculation-section.labor-section td:nth-child(5):before{content:"Temps"}.calculation-workspace .calculation-section.labor-section td:nth-child(6):before{content:"Prix HT"}.calculation-workspace .calculation-section.labor-section td:nth-child(7):before{content:"Prix TTC"}.calculation-workspace .calculation-section.labor-section td:nth-child(8):before{content:"TVA"}.calculation-workspace .calculation-section.labor-section td:nth-child(9):before{content:"Total HT"}.calculation-workspace .calculation-section.labor-section td:nth-child(10):before{content:"Total TTC"}.calculation-workspace .calculation-section.cost-section td:nth-child(1):before{content:"Catégorie"}.calculation-workspace .calculation-section.cost-section td:nth-child(2):before{content:"Libellé"}.calculation-workspace .calculation-section.cost-section td:nth-child(3):before{content:"Zone"}.calculation-workspace .calculation-section.cost-section td:nth-child(4):before{content:"Quantité"}.calculation-workspace .calculation-section.cost-section td:nth-child(5):before{content:"Unité"}.calculation-workspace .calculation-section.cost-section td:nth-child(6):before{content:"Prix HT"}.calculation-workspace .calculation-section.cost-section td:nth-child(7):before{content:"Prix TTC"}.calculation-workspace .calculation-section.cost-section td:nth-child(8):before{content:"TVA"}.calculation-workspace .calculation-section.cost-section td:nth-child(9):before{content:"Total HT"}.calculation-workspace .calculation-section.cost-section td:nth-child(10):before{content:"Total TTC"}}@media(max-width:480px){.catalog-field-grid,.catalog-field-grid.services{grid-template-columns:1fr}.catalog-field-grid .wide-field{grid-column:auto}.resource-heading{grid-template-columns:auto minmax(0,1fr)}.resource-heading>b{grid-column:2;margin-top:.2rem}.picker-price{padding-left:.5rem}.overview-edit>header .form-actions button{width:100%}}@media(max-width:680px){.app-shell{padding-bottom:60px}.content{width:100%;padding:.7rem;overflow-x:clip}.mobile-header{height:52px}.app-shell{padding-top:52px}.bottom-nav{height:60px;overflow-x:auto;justify-content:flex-start}.bottom-nav button{min-width:20%;min-height:58px;flex:0 0 20%;font-size:.65rem}.page-head{margin-bottom:.8rem;align-items:stretch}.page-head h1{font-size:1.55rem}.page-head .muted{font-size:.84rem}.page-head>button{min-height:44px}.project-head{padding:.2rem 0}.project-head h1{font-size:1.35rem;margin:.4rem 0}.project-head p{font-size:.8rem;margin:.2rem 0 .7rem}.workflow-stepper{margin:0 -.7rem;border-left:0;border-right:0;scroll-snap-type:x proximity;scrollbar-width:none}.workflow-stepper>div{min-width:78px;padding:.45rem .2rem;scroll-snap-align:center}.workflow-stepper i{width:24px;height:24px}.workflow-actions{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.workflow-actions button{min-height:44px;margin:0}.workflow-actions .next-status{grid-column:1/-1}.tabs{position:sticky;top:52px;z-index:8;margin:.6rem -.7rem 0;padding:0 .35rem;background:#f3f6f8;scrollbar-width:none}.tabs button{min-width:68px;min-height:55px;padding:.45rem .55rem;border-radius:0}.chantier-content{margin:0 -.7rem;padding:.7rem;border-left:0;border-right:0}.document-toolbar{display:grid;grid-template-columns:1fr 1fr;overflow:visible;margin:-.7rem -.7rem .6rem;padding:.55rem;gap:.4rem}.document-toolbar .document-switch{grid-column:1/-1;min-height:44px}.document-toolbar label{min-width:0;width:100%}.document-toolbar label input,.document-toolbar label select{width:100%}.document-toolbar>button{min-width:0;min-height:44px;width:100%}.tax-rationale,.warning,.callout{font-size:.8rem;margin:.4rem 0}.calculation-workspace{gap:.75rem}.calculation-section>header{padding:.65rem;gap:.5rem}.calculation-section .section-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:.35rem}.calculation-section .section-actions button{min-width:0;min-height:44px;padding:.55rem .35rem}.calculation-section .table-panel{margin:0;overflow:visible}.calculation-section table,.calculation-section tbody{display:block;width:100%}.calculation-section thead{display:none}.calculation-section tr{display:grid;padding:.65rem;border-bottom:1px solid #bcc9d1;gap:.35rem}.calculation-section td{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:.45rem;padding:0;border:0;min-width:0}.calculation-section td:before{color:var(--muted);font-size:.68rem;font-weight:750;text-transform:uppercase}.calculation-section td input,.calculation-section td select{width:100%;min-height:40px;min-width:0}.calculation-section td:last-child{display:flex;justify-content:flex-end}.calculation-section td:last-child:before{display:none}.calculation-section:nth-of-type(1) td:nth-child(1):before{content:"Article"}.calculation-section:nth-of-type(1) td:nth-child(2):before{content:"Quantité"}.calculation-section:nth-of-type(1) td:nth-child(3):before{content:"Unité"}.calculation-section:nth-of-type(1) td:nth-child(4):before{content:"Fourni par"}.calculation-section:nth-of-type(1) td:nth-child(5):before{content:"Référence"}.calculation-section:nth-of-type(1) td:nth-child(6):before{content:"Prix achat"}.calculation-section:nth-of-type(1) td:nth-child(7):before{content:"Prix vente HT"}.calculation-section:nth-of-type(1) td:nth-child(8):before{content:"TVA"}.calculation-section:nth-of-type(1) td:nth-child(9):before{content:"Total HT"}.calculation-section:nth-of-type(2) td:nth-child(1):before{content:"Prestation"}.calculation-section:nth-of-type(2) td:nth-child(2):before{content:"Quantité"}.calculation-section:nth-of-type(2) td:nth-child(3):before{content:"Unité"}.calculation-section:nth-of-type(2) td:nth-child(4):before{content:"Temps"}.calculation-section:nth-of-type(2) td:nth-child(5):before{content:"Prix HT"}.calculation-section:nth-of-type(2) td:nth-child(6):before{content:"TVA"}.calculation-section:nth-of-type(2) td:nth-child(7):before{content:"Total HT"}.calculation-section:nth-of-type(3) td:nth-child(1):before{content:"Catégorie"}.calculation-section:nth-of-type(3) td:nth-child(2):before{content:"Libellé"}.calculation-section:nth-of-type(3) td:nth-child(3):before{content:"Quantité"}.calculation-section:nth-of-type(3) td:nth-child(4):before{content:"Unité"}.calculation-section:nth-of-type(3) td:nth-child(5):before{content:"Prix HT"}.calculation-section:nth-of-type(3) td:nth-child(6):before{content:"Total HT"}.catalog-picker{position:fixed;z-index:40;inset:auto 0 0;margin:0;max-height:76dvh;overflow:auto;border-left:0;border-right:0;padding:.8rem;box-shadow:0 -12px 35px #10202d45}.catalog-picker>div{grid-template-columns:1fr;max-height:none}.catalog-picker>div>button{min-height:54px}.calculation-total{width:100%}.commercial-ledger>header{display:grid;gap:.5rem}.commercial-ledger>header button{min-height:44px}.commercial-ledger article{grid-template-columns:1fr auto;padding:.7rem 0;gap:.4rem .7rem}.commercial-ledger article>span{grid-column:1/-1;font-size:.8rem}.commercial-ledger article>button{min-height:44px}.catalog-tabs button{flex:1;min-height:44px}.catalog-search{position:sticky;top:52px;z-index:7;background:var(--surface);padding:.4rem 0}.catalog-table{margin:0;overflow:visible;border-left:0;border-right:0;padding:0;background:transparent}.catalog-table table,.catalog-table tbody{display:block;min-width:0;width:100%}.catalog-table thead{display:none}.catalog-table tr{display:grid;padding:.7rem;margin-bottom:.55rem;background:#fff;border:1px solid var(--border);border-top:3px solid #516f83;gap:.35rem}.catalog-table td{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:.4rem;border:0;padding:0}.catalog-table td:before{color:var(--muted);font-size:.67rem;font-weight:750;text-transform:uppercase}.catalog-table td input,.catalog-table td select,.catalog-table td:first-child input{width:100%;min-width:0;min-height:40px}.catalog-table td:last-child{display:flex;justify-content:flex-end}.catalog-table td:last-child:before{display:none}.catalog-table td:nth-child(1):before{content:"Nom"}.catalog-table td:nth-child(2):before{content:"Famille"}.catalog-table td:nth-child(3):before{content:"Unité"}.catalog-table.services td:nth-child(4):before{content:"Temps"}.catalog-table.services td:nth-child(5):before{content:"Prix client"}.catalog-table.services td:nth-child(6):before{content:"Matériel"}.catalog-table.services td:nth-child(7):before{content:"TVA"}.catalog-table.services td:nth-child(8):before{content:"Favori"}.catalog-table.services td:nth-child(9):before{content:"Actif"}.catalog-table.articles td:nth-child(4):before{content:"Référence"}.catalog-table.articles td:nth-child(5):before{content:"Fournisseur"}.catalog-table.articles td:nth-child(6):before{content:"Prix achat"}.catalog-table.articles td:nth-child(7):before{content:"Prix vente"}.catalog-table.articles td:nth-child(8):before{content:"TVA"}.catalog-table.articles td:nth-child(9):before{content:"Actif"}.financial-overview{padding:.75rem}.financial-grid{grid-template-columns:1fr 1fr}}.catalog-tabs{display:flex;border-bottom:1px solid var(--border);margin-bottom:1rem}.catalog-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:.8rem 1.25rem}.catalog-tabs button.active{border-bottom-color:var(--accent);color:var(--accent);font-weight:700}.catalog-search{display:flex;align-items:center;gap:.6rem;max-width:650px;margin-bottom:1rem}.catalog-search input{flex:1}.catalog-table{max-height:calc(100vh - 260px);overflow:auto}.catalog-table table{min-width:1150px}.catalog-table td:first-child input{min-width:180px}.catalog-table input,.catalog-table select{min-width:85px}.catalog-picker{border:1px solid var(--border);border-top:3px solid var(--accent);background:#fff;padding:.75rem;margin:.8rem 0;box-shadow:0 8px 25px #10283e18}.catalog-picker header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.6rem}.catalog-picker>input{width:100%;margin-bottom:.5rem}.catalog-picker>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));max-height:260px;overflow:auto}.catalog-picker>div>button{display:flex;justify-content:space-between;text-align:left;border-radius:0;border-width:0 0 1px;padding:.65rem}.catalog-picker span{display:flex;flex-direction:column}.catalog-picker small{color:var(--muted)}.warning{border-left:4px solid #d18a00;background:#fff7df;padding:.7rem .9rem}.tax-rationale{font-size:.86rem;color:var(--muted);border-bottom:1px solid var(--border);padding-bottom:.8rem}.commercial-ledger{border-top:3px solid #203f58;margin-top:1.2rem}.commercial-ledger>header{padding:.8rem 0}.commercial-ledger>header span{color:var(--muted);font-size:.8rem}.commercial-ledger article{display:grid;grid-template-columns:minmax(150px,1fr) auto auto auto;align-items:center;gap:1rem;border-top:1px solid var(--border);padding:.65rem 0}.commercial-ledger article div{display:flex;flex-direction:column}.financial-overview{border-top:3px solid var(--accent);background:#fff;padding:1rem}.financial-overview header{display:flex;justify-content:space-between;align-items:center}.financial-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--border);border-left:1px solid var(--border);margin:.6rem 0}.financial-grid div{display:flex;flex-direction:column;padding:.65rem;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.financial-grid span,.micro-line span,.micro-line small{font-size:.75rem;color:var(--muted)}.micro-line{display:grid;margin:.8rem 0}.financial-overview progress{width:100%;height:10px}.checkbox-field{flex-direction:row!important;align-items:center;gap:.5rem}.checkbox-field input{width:auto}@media(max-width:760px){.catalog-table{max-height:none}.commercial-ledger article{grid-template-columns:1fr auto}.commercial-ledger article button{grid-column:1/-1}.document-toolbar{overflow-x:auto;flex-wrap:nowrap}.document-toolbar>*{flex:none}}.document-toolbar{position:sticky;top:0;z-index:5;display:flex;align-items:end;flex-wrap:wrap;gap:.55rem;padding:.75rem;margin:-1rem -1rem 1rem;background:#eef3f6;border-bottom:2px solid #8ca1af}.document-toolbar label{display:grid;gap:.2rem;font-size:.7rem;font-weight:750;color:var(--muted)}.document-toolbar input,.document-toolbar select{min-height:38px;padding:.45rem .55rem}.document-toolbar-spacer{flex:1}.pdf-image-toggle{position:relative;grid-template-columns:auto 40px!important;align-items:center;column-gap:.45rem!important}.pdf-image-toggle input{position:absolute;width:1px;height:1px;min-height:0;padding:0;opacity:0;pointer-events:none}.pdf-image-toggle i{position:relative;display:block;width:40px;height:22px;border:1px solid #7890a0;border-radius:12px;background:#c8d1d7;cursor:pointer}.pdf-image-toggle i:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #10202d55;transition:transform .14s ease}.pdf-image-toggle input:checked+i{border-color:#2167a5;background:#2167a5}.pdf-image-toggle input:checked+i:after{transform:translate(18px)}.pdf-image-toggle input:focus-visible+i{outline:2px solid #2167a5;outline-offset:2px}.calcul-sync-state{min-height:38px;display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .6rem;color:#356348;font-size:.78rem;font-weight:750;white-space:nowrap}.calcul-sync-state svg{width:18px}.calcul-sync-state.pending,.calcul-sync-state.syncing{color:#7a570b}.calcul-sync-state.syncing svg{animation:calcul-sync-spin .8s linear infinite}.calcul-sync-state.error{color:var(--danger)}@keyframes calcul-sync-spin{to{transform:rotate(360deg)}}.document-switch{display:flex;align-self:stretch;border:1px solid #7890a0}.document-switch button{min-width:86px;border:0;border-radius:0}.document-switch button.active{background:var(--nav);color:#fff}.calculation-workspace{display:grid;gap:1.1rem;min-width:0;max-width:100%}.calculation-section{border:1px solid var(--border);border-top:3px solid #516f83;background:#fff;min-width:0;max-width:100%}.calculation-section>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem .9rem;background:#f5f7f8;border-bottom:1px solid var(--border)}.calculation-section>header h2{margin:0;font-size:1rem}.calculation-section>header span{color:var(--muted);font-size:.78rem}.calculation-section .section-actions{margin:0}.calculation-section .table-panel{border:0;border-radius:0;box-shadow:none}.calculation-total{width:min(100%,430px);margin-left:auto;border-top:3px solid var(--nav)}.calculation-total>div{display:flex;justify-content:space-between;padding:.55rem .75rem;border-bottom:1px solid var(--border)}.calculation-total .grand{padding:.8rem .75rem;background:var(--nav);color:#fff;font-size:1.2rem}.service-picker{padding:.8rem;background:#edf3f6;border-bottom:1px solid var(--border)}.service-picker>input{width:100%;margin-bottom:.55rem}.service-picker>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.35rem;max-height:300px;overflow:auto}.service-picker>div>button{display:flex;justify-content:space-between;align-items:center;text-align:left;border-radius:0;background:#fff}.service-picker span,.service-picker small{display:block}.service-picker small{color:var(--muted);margin-top:.15rem}.profit-details{border-top:1px solid var(--border);padding-top:.75rem}.profit-details summary{cursor:pointer;color:var(--muted);font-weight:750}.profit-details .profit-box{margin-top:.75rem}.request-editor textarea{width:100%;border-radius:0;line-height:1.5}.status[data-status=demande]{background:#e6ebee;color:#34434c}.status[data-status="devis à préparer"]{background:#ffe6b8;color:#714800}.status[data-status="attente client"]{background:#e7dcf5;color:#553477}.status[data-status=accepté]{background:#d6eddd;color:#205d37}.status[data-status=planifié]{background:#d5e7f6;color:#255d87}.status[data-status="en cours"]{background:#cfecee;color:#135a5f}.status[data-status=terminé]{background:#dde3e8;color:#304756}.status[data-status=facturé]{background:#ffe0c9;color:#7a3c12}.status[data-status=payé]{background:#bee4c9;color:#174f2b}.status[data-status=annulé]{background:#f3d2d2;color:#842a2a}.billing-summary{border-top:3px solid #3d6b56;background:#fff;padding:.7rem}.billing-summary>button{width:100%;display:flex;justify-content:space-between;border:0;border-top:1px solid var(--border);border-radius:0;padding:.65rem 0;background:transparent}.billing-summary>button strong{color:#255d3d}@media(max-width:760px){.document-toolbar{position:static;margin:-.75rem -.75rem .75rem;align-items:stretch}.document-switch{width:100%}.document-switch button{flex:1}.document-toolbar label{flex:1 1 120px}.document-toolbar-spacer{display:none}.document-toolbar>button{flex:1 1 150px}.calculation-section>header{align-items:flex-start;flex-direction:column}.calculation-section .section-actions{width:100%;overflow-x:auto;flex-wrap:nowrap}}@media(min-width:901px)and (max-width:1280px),(min-width:901px)and (orientation:portrait){.editor:not(.mode-photos){grid-template-columns:58px minmax(0,1fr) 58px}.editor-tools>button{min-width:48px}.editor-tools>button span,.symbol-palette button span{display:none}.symbol-palette button{min-width:48px;max-width:48px}.editor-properties,.editor-layers{position:relative;z-index:9;width:58px;padding:.5rem;overflow:hidden;transition:width .14s ease,box-shadow .14s ease}.editor-properties:before,.editor-layers:before{display:grid;place-items:center;width:40px;min-height:40px;border:1px solid #9dafbc;background:#fff;color:#355064;font-size:1.15rem;cursor:default}.editor-properties:before{content:"☷"}.editor-layers:before{content:"▤"}.editor-properties:not(:hover):not(:focus-within)>*,.editor-layers:not(:hover):not(:focus-within)>*{display:none}.editor-properties:hover,.editor-properties:focus-within{width:220px;overflow-y:auto;box-shadow:10px 0 24px #10202d30}.editor-layers:hover,.editor-layers:focus-within{width:210px;margin-left:-152px;overflow-y:auto;box-shadow:-10px 0 24px #10202d30}.editor-properties:hover:before,.editor-properties:focus-within:before,.editor-layers:hover:before,.editor-layers:focus-within:before{display:none}.editor-properties>*,.editor-layers>*{min-width:190px}.editor-head>div:nth-child(2){min-width:0;max-width:36vw}.editor-head>div:nth-child(2) strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.head-actions,.workflow-actions,.week-nav{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}.today-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.7fr);gap:1.25rem;align-items:start}.today-list,.workflow-columns>section,.estimate-builder,.estimate-total,.status-summary,.week-backlog{background:#fff;border:1px solid var(--border);border-radius:2px}.today-list{padding:1.1rem}.today-list h2{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:1.2rem 0 .45rem}.overdue-title{color:var(--danger)!important}.overdue-title span{background:var(--danger);color:#fff;padding:.1rem .38rem;margin-left:.3rem}.agenda-row{width:100%;min-height:64px;display:grid;grid-template-columns:64px 34px 1fr 24px;gap:.65rem;align-items:center;border:0;border-top:1px solid var(--border);border-radius:0;padding:.65rem .2rem;text-align:left}.agenda-row time{font-weight:800;color:#405365;font-size:.8rem}.agenda-row>span,.agenda-main{display:flex;flex-direction:column;align-items:flex-start;border:0;padding:0;text-align:left}.task-check{width:30px;height:30px;padding:0;border-radius:50%}.dashboard-side{display:grid;gap:0}.quick-estimate-card,.quick-demand,.invoice-reminder{border-radius:2px;border:1px solid var(--border);background:#fff;padding:1rem;justify-content:flex-start;text-align:left}.quick-estimate-card>span{display:flex;flex:1;flex-direction:column;align-items:flex-start}.status-summary{margin-top:.7rem;padding:.85rem}.status-summary h2{font-size:.9rem}.status-summary button{width:100%;border:0;border-top:1px solid var(--border);border-radius:0;justify-content:space-between;padding:.55rem .1rem}.invoice-reminder{display:flex;margin-top:.7rem}.invoice-reminder div{display:flex;flex-direction:column}.workflow-stepper{display:grid;grid-template-columns:repeat(9,1fr);border:1px solid var(--border);background:#fff}.workflow-stepper>div{border-right:1px solid var(--border);display:flex;align-items:center;flex-direction:column;padding:.65rem .25rem;font-size:.7rem;text-transform:capitalize}.workflow-stepper i{width:27px;height:27px;display:grid;place-items:center;border:1px solid #9aa8b4;border-radius:50%;font-style:normal}.workflow-stepper .done{background:#eef6fb;color:#144e7a}.workflow-stepper .done i{background:var(--blue);color:#fff;border-color:var(--blue)}.workflow-actions{margin:1rem 0}.next-status{margin-left:auto}.workflow-detail-drawer{border-top:1px solid var(--border);padding-top:.7rem}.workflow-detail-drawer>summary{cursor:pointer;font-weight:750;color:#294b68}.workflow-detail-drawer[open]>summary{margin-bottom:.8rem}.workflow-columns{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:1rem}.workflow-columns>section>header{padding:.85rem;border-bottom:2px solid #253c50}.workflow-columns h2{margin:0;font-size:1rem}.task-row,.planning-row{display:flex;gap:.65rem;align-items:center;padding:.7rem;border-bottom:1px solid var(--border)}.task-row>button{width:30px;height:30px;border-radius:50%;padding:0}.task-row>div,.planning-row>div{display:flex;flex-direction:column;min-width:0}.relance-buttons{margin-left:auto;flex-direction:row!important}.relance-buttons button{font-size:.7rem;padding:.25rem}.quote-record{border-bottom:1px solid var(--border)}.quote-record details{padding:.6rem}.quote-record summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer}.quote-lines-mini{display:flex;flex-direction:column;margin:.5rem 0}.quote-lines-mini span{display:flex;justify-content:space-between;font-size:.82rem;padding:.3rem 0}.history{margin-top:1rem;background:#fff;border:1px solid var(--border);padding:.8rem}.history p{display:flex;gap:.5rem;border-top:1px solid var(--border);padding:.55rem 0;margin:0}.history p span{display:flex;flex-direction:column}.empty.compact{min-height:90px}.quote-editor{display:grid;gap:.3rem}.quote-editor-head,.quote-editor>div{display:grid;grid-template-columns:minmax(180px,1fr) 70px 100px 100px 38px;gap:.3rem}.quote-editor input,.quote-editor select{min-width:0}.quote-editor button{padding:.4rem}.quote-total{margin-left:auto;font-size:1.1rem}.quote-total strong{margin-left:1rem;font-size:1.45rem}.estimate-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.55fr);gap:1rem}.estimate-builder{padding:1rem}.estimate-search{display:flex;gap:.6rem;align-items:center;border-bottom:2px solid #263f54;padding:.4rem}.estimate-search input{border:0!important;font-size:1.2rem;flex:1}.service-results{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin:.7rem 0}.service-results button{border-radius:2px;text-align:left;justify-content:space-between}.service-results span,.estimate-line>div:first-child{display:flex;flex-direction:column;align-items:flex-start}.estimate-line{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 0;border-top:1px solid var(--border)}.quantity{display:flex;align-items:center;gap:.45rem}.quantity button{width:32px;height:32px;padding:0}.estimate-fields{display:grid;grid-template-columns:2fr 1fr;gap:.7rem;margin-top:.8rem}.estimate-total{padding:1.1rem;display:flex;flex-direction:column;gap:.75rem;position:sticky;top:1rem}.estimate-total>strong{font-size:2rem;color:#173f60}.estimate-total button{width:100%}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));background:#fff;border:1px solid var(--border);overflow:auto}.week-grid>section{min-height:420px;border-right:1px solid var(--border)}.week-grid>section>header{display:flex;justify-content:space-between;align-items:center;padding:.65rem;border-bottom:1px solid var(--border)}.week-grid>section.today>header{background:#173f60;color:#fff}.week-grid section button{border:0;border-left:3px solid var(--blue);border-radius:0;margin:.35rem;padding:.5rem;width:calc(100% - .7rem);display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#edf5fb}.week-backlog{margin-top:1rem;padding:1rem}.week-backlog button{width:100%;border:0;border-top:1px solid var(--border);border-radius:0;justify-content:space-between}.tariff-zones{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;border:1px solid var(--border)}@media(max-width:900px){.today-layout,.estimate-layout{grid-template-columns:1fr}.estimate-total{position:static;order:-1}.workflow-stepper{display:flex;overflow:auto}.workflow-stepper>div{min-width:92px}.workflow-columns{grid-template-columns:1fr}.week-grid{grid-template-columns:repeat(7,145px)}.service-results{grid-template-columns:1fr}}@media(max-width:600px){.dashboard-head .head-actions{width:100%}.dashboard-head .head-actions button{flex:1}.agenda-row{grid-template-columns:52px 30px 1fr 18px}.estimate-fields{grid-template-columns:1fr}.quote-editor-head{display:none}.quote-editor>div{grid-template-columns:1fr 70px 90px}.quote-editor>div input:first-child{grid-column:1/-1}.tariff-zones{grid-template-columns:1fr}}.status-filters{display:flex;gap:.35rem;overflow:auto;margin:.65rem 0 1rem;padding-bottom:.25rem}.status-filters button{white-space:nowrap;border-radius:2px;padding:.45rem .7rem;text-transform:capitalize}.status-filters button.active{background:#173f60;color:#fff;border-color:#173f60}.profit-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:1rem}.profit-box{background:#172b3c;color:#fff;padding:1.1rem;border-left:5px solid var(--accent)}.profit-box h2{margin-bottom:.8rem}.profit-box dl{margin:0}.profit-box dl>div{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0}.profit-box dt{color:#c6d3dc}.profit-box dd{margin:0;font-weight:700}.profit-box .deduct{color:#ffd2cd}.profit-box .profit-rest{border-top:1px solid #7c8d9a;margin-top:.4rem;padding-top:.8rem;font-size:1.12rem}.profit-box small{display:block;color:#9fb0bd;margin-top:.8rem}.service-settings{grid-column:1/-1}.amendment{display:flex;justify-content:space-between;gap:.5rem;border-left:3px solid var(--accent);background:#fff8e8;padding:.55rem;margin:.45rem 0 0}@media(max-width:800px){.profit-layout{grid-template-columns:1fr}}button,input,textarea,select{border-radius:2px}button{box-shadow:none}.brand-mark{border-radius:2px}.panel,.table-panel,.stats article,.project-card,.plan-card,.searchbar{border-radius:2px;box-shadow:none}.panel,.stats article{border-top:2px solid #a9bac7}.table-panel{border-top:2px solid #a9bac7}.status{border-radius:0;text-transform:uppercase;letter-spacing:.04em}.modal{border-radius:2px;box-shadow:0 18px 55px #0005}.modal-backdrop{background:#08131dcf}.zoom-controls button:first-child,.zoom-controls button:last-child{border-radius:0}.banner,.callout,.notes-grid article,.document-list a{border-radius:2px}.login-card{border-radius:2px;box-shadow:0 12px 35px #0d22351c}.quick-actions button{border-radius:2px;background:#fff;border:1px solid var(--border);box-shadow:none}.quick-actions button:hover{border-color:#8fa3b2;background:#f7fafc}.tabs button,.subtabs button{border-radius:0}.chantier-content{border-radius:0 2px 2px}.side-secondary{border-top:1px solid #46617a;margin:1rem .5rem 0;padding-top:.75rem}.side-secondary button{width:100%;color:#a9bdcd!important;font-size:.88rem;padding:.6rem .8rem!important}.side-secondary button.active,.side-secondary button:hover{background:#294b68;color:#fff!important}.settings-link{width:100%;font-weight:700}.client-projects-link{padding:.35rem .5rem;border:1px solid var(--border);font-size:.82rem;white-space:nowrap}.client-projects-link:hover{background:#f1f6f9}.client-projects{padding:1.2rem}.client-project-list{display:grid;border-top:1px solid var(--border)}.client-project-row{width:100%;justify-content:space-between;text-align:left;border:0;border-bottom:1px solid var(--border);border-radius:0;padding:.9rem 0;background:transparent}.client-project-row:hover{color:var(--blue);background:#f7fafc}.client-project-row span{display:flex;flex-direction:column;gap:.25rem;align-items:flex-start}.client-project-row small{color:var(--muted)}.editor:fullscreen,.editor.immersive{position:fixed;z-index:1000;width:100vw;height:100dvh;inset:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.editor.mode-photos{grid-template:60px auto 1fr / 1fr;grid-template-areas:"head" "tools" "canvas"}.editor.mode-photos .editor-properties,.editor.mode-photos .editor-layers{display:none}html.plan-editor-immersive,body.plan-editor-immersive{overflow:hidden;overscroll-behavior:none}.symbol-catalog{position:absolute;z-index:12;top:118px;left:50%;width:min(620px,calc(100% - 2rem));max-height:min(520px,calc(100dvh - 150px));overflow:auto;transform:translate(-50%);background:#fff;border:1px solid #91a5b4;border-top:4px solid var(--blue);box-shadow:0 18px 48px #10202d42;padding:.8rem}.symbol-catalog>header,.symbol-catalog-row{display:flex;align-items:center;gap:.55rem}.symbol-catalog>header{justify-content:space-between;padding-bottom:.7rem;border-bottom:1px solid var(--border)}.symbol-catalog>header div{display:flex;flex-direction:column}.symbol-catalog>header small,.symbol-catalog>p{color:var(--muted)}.symbol-catalog-row{padding:.5rem 0;border-bottom:1px solid var(--border)}.symbol-catalog-row svg{width:34px;height:34px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2.5}.symbol-catalog-row input{min-width:0;flex:1}.symbol-catalog-row .symbol-glyph-input{flex:0 0 58px;text-align:center}.editor-tools{align-items:stretch}.editor-tools>button{min-height:50px}.symbol-palette{display:flex;gap:.25rem;align-items:stretch;padding-left:.4rem;border-left:1px solid var(--border)}.symbol-palette button{min-width:74px;max-width:90px}.symbol-palette button span{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.symbol-palette svg,.editor-tools>button>svg:not(.lucide){width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.symbol-palette svg text,.editor-tools>button>svg:not(.lucide) text{fill:currentColor;stroke:none;font:700 14px system-ui;text-anchor:middle}.editor-layers>div{border-bottom:1px solid #e2e8ec;border-radius:0}.editor-layers>div:not(.active){background:transparent}.editor-layers .layer-icon{width:28px;height:28px;padding:0;display:grid;place-items:center;color:#526779}.canvas-wrap.tool-freehand canvas,.canvas-wrap.tool-line canvas,.canvas-wrap.tool-arrow canvas,.canvas-wrap.tool-rect canvas,.canvas-wrap.tool-ellipse canvas,.canvas-wrap.tool-text canvas,.canvas-wrap.tool-symbol canvas,.canvas-wrap.tool-photo canvas{cursor:crosshair}.canvas-wrap.tool-eraser canvas{cursor:cell}.tool-hint{position:absolute;z-index:4;left:50%;bottom:1rem;transform:translate(-50%);background:#10283ee8;color:#fff;border-left:3px solid var(--accent);padding:.55rem .75rem;font-size:.78rem;pointer-events:none;white-space:nowrap}.photo-marker-menu{position:absolute;z-index:8;right:1rem;bottom:4rem;width:min(340px,calc(100% - 2rem));background:#fff;border:1px solid #9dafbc;border-top:3px solid var(--accent);box-shadow:0 12px 35px #10202d35;padding:1rem}.photo-marker-menu>header{display:flex;justify-content:space-between;gap:.7rem;align-items:flex-start;border-bottom:1px solid var(--border);padding-bottom:.7rem;margin-bottom:.8rem}.photo-marker-menu>header div{display:flex;flex-direction:column;min-width:0}.photo-marker-menu>header small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.photo-marker-menu label{gap:.6rem}.photo-marker-menu input[type=range]{width:100%}.marker-angle-actions,.marker-menu-actions{display:flex;gap:.35rem;margin-top:.8rem}.marker-angle-actions button{flex:1;padding:.5rem}.marker-menu-actions{border-top:1px solid var(--border);padding-top:.8rem}.marker-menu-actions button{flex:1}@media(max-width:900px){.editor{height:100dvh;grid-template:52px 58px minmax(0,1fr) auto / 1fr;grid-template-areas:"head" "tools" "canvas" "props"}.symbol-catalog{position:fixed;inset:auto 0 0;transform:none;width:100%;max-height:72dvh;border-left:0;border-right:0;padding-bottom:max(.8rem,env(safe-area-inset-bottom))}.editor-head{padding:.25rem .45rem}.editor-head button{padding:.4rem;min-width:40px;min-height:40px}.editor-head-actions{gap:.15rem}.editor-tools{padding:.25rem;overscroll-behavior-x:contain;scroll-snap-type:x proximity}.editor-tools>button,.symbol-palette button{min-width:52px;min-height:48px;scroll-snap-align:start}.symbol-palette button{max-width:62px}.symbol-palette button span{max-width:55px;font-size:.58rem}.editor-properties{min-height:68px;max-height:88px;padding:.45rem;gap:.55rem}.editor-properties label{font-size:.7rem}.tool-hint{bottom:.55rem;max-width:calc(100% - 7rem);overflow:hidden;text-overflow:ellipsis}.photo-marker-menu{position:absolute;left:0;right:0;bottom:0;width:100%;max-height:70%;overflow:auto;border-left:0;border-right:0;border-bottom:0;padding:.85rem}.zoom-controls{right:.5rem;bottom:.5rem}}@media(max-width:560px){.editor-head>div:nth-child(2){display:none}.editor-head{justify-content:space-between}.editor-properties{max-height:76px}.marker-menu-actions{flex-direction:column}}.plan-start{display:flex;justify-content:flex-end;margin-bottom:1rem}.plan-start.first-plan{display:block;padding:2rem 0;max-width:760px}.plan-start.first-plan h2{font-size:clamp(1.4rem,4vw,2rem);margin:.6rem 0}.plan-start.first-plan p{color:var(--muted);max-width:60ch;line-height:1.6}.plan-start button,.plan-viewer-actions button{min-height:44px}.plan-viewer-actions{flex-wrap:wrap;justify-content:flex-end}.guided-editor{height:100dvh;grid-template-rows:60px auto minmax(0,1fr) auto;grid-template-areas:"head head head" "tools tools tools" "props canvas layers" "workflow workflow workflow"}.guided-editor.mode-photos{grid-template-columns:1fr;grid-template-areas:"head" "tools" "canvas" "workflow"}.editor-workflow{grid-area:workflow;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1rem max(.7rem,env(safe-area-inset-bottom));border-top:1px solid var(--border);background:#fff}.workflow-copy{display:flex;flex-direction:column;gap:.2rem;min-width:0}.workflow-copy small,.workflow-copy span{color:var(--muted);font-size:.8rem}.workflow-copy strong{color:var(--nav2)}.editor-workflow .workflow-actions{display:flex;gap:.5rem;flex-shrink:0}.editor-workflow .workflow-actions button{min-height:44px}.editor-options-toggle{display:none}.photo-marker-menu>header img{width:64px;height:48px;object-fit:cover;flex-shrink:0}.photo-marker-menu .marker-instruction{margin:.6rem 0;font-size:.85rem;color:#155e75}.photo-marker-menu .marker-angle-actions button{min-height:44px}.photo-marker-menu button.active{color:#fff;background:#155e75}.photo-marker-menu .marker-menu-actions{display:flex;flex-direction:row;margin-top:.6rem;padding-top:.6rem}.photo-marker-menu .marker-menu-actions>button:last-child{flex:0 0 44px}.photo-marker-menu{z-index:6}.photo-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.photo-choice-grid button{display:flex;flex-direction:column;min-width:0;padding:.4rem}.photo-choice-grid button .annotated-photo-thumbnail{width:100%}.photo-choice-grid button img{width:100%;height:100%;object-fit:contain}.photo-choice-grid button span{overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:.8rem}.photo-source-picker>button{min-height:52px;justify-content:center}.editor-notice{position:absolute;z-index:15;top:120px;left:1rem;right:1rem;padding:.8rem;background:#fff;border:1px solid #b66a00;display:flex;gap:1rem;justify-content:space-between}.photo-image-frame{position:relative;max-width:100%}.photo-image-frame>img{width:100%;height:100%;max-height:none;object-fit:contain}.photo-details button{min-height:44px}@media(max-width:900px){.guided-editor,.guided-editor.mode-photos{grid-template:52px 62px minmax(0,1fr) auto auto / 1fr;grid-template-areas:"head" "tools" "canvas" "props" "workflow"}.editor:not(.options-open) .editor-properties{display:none}.editor-options-toggle{display:flex}.editor-tools button span{display:block;font-size:.65rem}.editor-tools>button{min-width:58px}.editor.options-open .editor-properties{max-height:140px}.editor-workflow{display:block;padding:.55rem .7rem max(.55rem,env(safe-area-inset-bottom))}.workflow-copy{gap:.15rem}.workflow-copy>span{display:none}.workflow-copy{position:relative;padding-right:80px}.workflow-copy>small:last-child{position:absolute;right:0;bottom:0;max-width:85px;text-align:right;font-size:.7rem}.editor-workflow .workflow-actions{margin-top:.5rem}.editor-workflow .workflow-actions .primary{flex:1}.editor-workflow .workflow-actions button{font-size:.8rem;padding:.5rem}.plan-viewer>header{align-items:stretch;flex-direction:column}.plan-viewer-actions{justify-content:flex-start}.plan-viewer-actions button{flex:1;font-size:.8rem}.plan-viewer-actions .icon-button{flex:0 0 44px}.photo-marker-menu{max-height:60%;padding:.6rem}.photo-marker-menu>header small{white-space:normal}.photo-details{grid-template-columns:1fr 1fr;padding:.7rem;gap:.6rem}.photo-details label{grid-column:1 / -1}.photo-viewer .modal>header h2{overflow-wrap:anywhere;font-size:.9rem}}.legacy-base-action{border:0;background:transparent;padding:.2rem 0;color:#155e75;text-decoration:underline;text-align:left;font-size:.8rem;justify-content:flex-start}.plan-add-more{margin-top:1rem;border-top:1px solid var(--border);padding-top:.8rem}.plan-add-more summary{cursor:pointer;color:var(--muted);padding:.4rem 0}@media(max-height:500px)and (max-width:900px){.editor-workflow .workflow-copy{display:none}.editor-workflow .workflow-actions{margin-top:0}.photo-adjustment .photo-marker-menu{left:auto;width:min(320px,45%);max-height:100%}}@media(max-width:900px){.guided-editor .tool-hint{top:.5rem;bottom:auto;left:.5rem;transform:none;max-width:calc(100% - 1rem);padding:.35rem .5rem;white-space:normal;font-size:.75rem;pointer-events:none}.workflow-copy>span{display:block;font-size:.72rem;line-height:1.3}.workflow-copy{padding-right:0}.workflow-copy>small:last-child{position:static;max-width:none;text-align:left}.photo-adjustment .workflow-copy{display:none}.photo-adjustment .workflow-actions{margin-top:0}}@media(max-width:760px){.calculation-section tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .65rem}.calculation-section td{display:flex;flex-direction:column;align-items:stretch;gap:.2rem}.calculation-section td:first-child,.calculation-section td:last-child{grid-column:1/-1}.calculation-section td:before{display:block;min-height:.85rem}.calculation-section td:last-child{align-items:flex-end}.calculation-section .money-cell{text-align:left;min-height:38px;justify-content:center;padding:.45rem .55rem;background:#f4f7f8}.calculation-section .money-cell.strong{background:#e8f0f5}.document-toolbar .document-switch button.active{background:var(--nav);color:#fff}.calculation-section:nth-of-type(1) td:nth-child(8):before{content:"PV TTC"}.calculation-section:nth-of-type(1) td:nth-child(9):before{content:"TVA"}.calculation-section:nth-of-type(1) td:nth-child(10):before{content:"Total HT"}.calculation-section:nth-of-type(1) td:nth-child(11):before{content:"Total TTC"}.calculation-section:nth-of-type(2) td:nth-child(6):before{content:"Prix TTC"}.calculation-section:nth-of-type(2) td:nth-child(7):before{content:"TVA"}.calculation-section:nth-of-type(2) td:nth-child(8):before{content:"Total HT"}.calculation-section:nth-of-type(2) td:nth-child(9):before{content:"Total TTC"}.calculation-section:nth-of-type(3) td:nth-child(6):before{content:"Prix TTC"}.calculation-section:nth-of-type(3) td:nth-child(7):before{content:"TVA"}.calculation-section:nth-of-type(3) td:nth-child(8):before{content:"Total HT"}.calculation-section:nth-of-type(3) td:nth-child(9):before{content:"Total TTC"}}@media(min-width:601px)and (max-width:1350px)and (hover:hover)and (pointer:fine){.app-shell{padding:0 0 0 62px}.app-shell>aside,.app-shell>aside.open{width:62px;padding:.8rem .55rem;transform:none;overflow:hidden;transition:width .16s ease,box-shadow .16s ease}.app-shell>aside:hover,.app-shell>aside:focus-within{width:250px;box-shadow:12px 0 28px #0b1c2a38}.mobile-header,.bottom-nav,.scrim{display:none!important}.content{width:100%;max-width:none;padding:1.2rem;margin:0}.app-shell>aside:not(:hover):not(:focus-within) .brand>span:last-child,.app-shell>aside:not(:hover):not(:focus-within) .side-label,.app-shell>aside:not(:hover):not(:focus-within) .workspace-switcher,.app-shell>aside:not(:hover):not(:focus-within) .sync-state,.app-shell>aside:not(:hover):not(:focus-within) .side-foot>small{display:none}.app-shell>aside:not(:hover):not(:focus-within) .brand,.app-shell>aside:not(:hover):not(:focus-within) nav button,.app-shell>aside:not(:hover):not(:focus-within) .side-secondary button,.app-shell>aside:not(:hover):not(:focus-within) .side-foot button{width:44px;min-width:44px;justify-content:center;padding-left:0;padding-right:0}.app-shell>aside:not(:hover):not(:focus-within) .brand-mark{width:40px;height:40px}.app-shell aside nav{margin-top:1rem}.side-secondary{margin-left:0;margin-right:0}.side-foot{padding-left:0;padding-right:0}.app-shell>aside:hover .side-foot,.app-shell>aside:focus-within .side-foot{padding-left:.5rem;padding-right:.5rem}.chantier-content,.calculation-workspace,.calculation-section,.document-toolbar{min-width:0;max-width:100%}}
