:root{--yg-color-primary: #022d69;--yg-color-primary-strong: #031552;--yg-color-primary-hover: #0a3d8f;--yg-color-primary-text: #ffffff;--yg-color-accent: #f7b406;--yg-color-nav-bg: #0f1d2b;--yg-color-nav-text: #e7ecf2;--yg-color-nav-muted: #7d8ea1;--yg-color-nav-active: #0f458c;--yg-color-nav-hover: #17293c;--yg-color-nav-border: #1c2b3b;--yg-color-bg: #f5f7fa;--yg-color-surface: #ffffff;--yg-color-surface-alt: #edf3f8;--yg-color-surface-hover: #f1f5f9;--yg-color-text: #111722;--yg-color-text-muted: #5b6675;--yg-color-text-faint: #98a4b3;--yg-color-text-disabled: #b0bac7;--yg-color-border: #d7e1ec;--yg-color-border-subtle: #e8eef5;--yg-color-danger: #b42318;--yg-color-success: #16794a;--yg-color-warning: #8a4b00;--yg-color-info: #2563a6;--yg-color-special: #6246a8;--yg-color-danger-bg: #fdecec;--yg-color-danger-border: #f2b8b5;--yg-color-success-bg: #e8f5ee;--yg-color-success-border: #b8e0ca;--yg-color-warning-bg: #fff4d6;--yg-color-warning-border: #f2d28b;--yg-color-info-bg: #eaf2fb;--yg-color-info-border: #b8d5ee;--yg-color-special-bg: #f0ecfa;--yg-color-special-border: #d4c9f2;--yg-color-neutral-bg: #f3f4f6;--yg-color-neutral-border: #d1d5db;--yg-color-primary-bg: #eaf1f7;--yg-color-primary-border: #b8d2ec;--yg-radius-xs: 4px;--yg-radius-sm: 6px;--yg-radius: 8px;--yg-radius-lg: 10px;--yg-radius-pill: 999px;--yg-space-0: 0px;--yg-space-1: 4px;--yg-space-2: 8px;--yg-space-3: 12px;--yg-space-4: 16px;--yg-space-5: 20px;--yg-space-6: 24px;--yg-space-8: 32px;--yg-space-10: 40px;--yg-space-12: 48px;--yg-control-sm: 32px;--yg-control-md: 40px;--yg-control-lg: 48px;--yg-row-default: 44px;--yg-row-compact: 36px;--yg-sidebar-width: 252px;--yg-sidebar-collapsed: 78px;--yg-topbar-height: 56px;--yg-shadow-card: 0 1px 2px rgb(16 24 40 / 5%);--yg-shadow: 0 1px 2px rgb(22 28 36 / 5%), 0 14px 34px rgb(22 45 74 / 8%);--yg-shadow-popover: 0 4px 8px rgb(16 24 40 / 8%), 0 12px 24px rgb(16 24 40 / 10%);--yg-shadow-modal: 0 16px 40px rgb(16 24 40 / 18%);--yg-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--yg-font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;--yg-transition-fast: .12s ease;--yg-transition: .16s ease}:root[data-theme=dark]{--yg-color-primary: #0f458c;--yg-color-primary-strong: #022d69;--yg-color-primary-hover: #1a5aad;--yg-color-primary-text: #ffffff;--yg-color-accent: #f7b406;--yg-color-nav-active: #2b5591;--yg-color-nav-hover: #1a2c3f;--yg-color-bg: #0e141c;--yg-color-surface: #19212c;--yg-color-surface-alt: #212b38;--yg-color-surface-hover: #1e2937;--yg-color-text: #e7ecf2;--yg-color-text-muted: #a2aebc;--yg-color-text-faint: #6b7888;--yg-color-text-disabled: #4a5568;--yg-color-border: #2e3a48;--yg-color-border-subtle: #243040;--yg-color-danger: #e0654f;--yg-color-success: #3fb07e;--yg-color-warning: #e0a04a;--yg-color-info: #5aa6e0;--yg-color-special: #9b7fdb;--yg-color-danger-bg: #2d1614;--yg-color-danger-border: #5a2520;--yg-color-success-bg: #0f2d1e;--yg-color-success-border: #1d5c3a;--yg-color-warning-bg: #2d2008;--yg-color-warning-border: #5a3d10;--yg-color-info-bg: #0e2038;--yg-color-info-border: #1c3d6a;--yg-color-special-bg: #1e1535;--yg-color-special-border: #3d2870;--yg-color-neutral-bg: #1e2530;--yg-color-neutral-border: #2e3a48;--yg-color-primary-bg: #0f2040;--yg-color-primary-border: #1c3d6a;--yg-shadow-card: 0 1px 2px rgb(0 0 0 / 30%);--yg-shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px rgb(0 0 0 / 24%);--yg-shadow-popover: 0 4px 12px rgb(0 0 0 / 40%), 0 16px 32px rgb(0 0 0 / 30%);--yg-shadow-modal: 0 16px 48px rgb(0 0 0 / 50%)}body{margin:0;background:var(--yg-color-bg);color:var(--yg-color-text);font-family:var(--yg-font-sans);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;background-image:radial-gradient(circle at 92% -10%,rgb(201 162 74 / 10%),transparent 28rem),linear-gradient(135deg,rgb(255 255 255 / 44%),transparent 42%)}*,*:before,*:after{box-sizing:border-box}button,select,input,textarea{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease,opacity .16s ease}.yg-nav-link:hover{background:var(--yg-color-nav-hover)!important;color:#fff!important;transform:translate(2px)}.yg-mobile-nav-toggle{display:none;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--yg-color-border);border-radius:var(--yg-radius);background:var(--yg-color-surface);color:var(--yg-color-text);cursor:pointer}@media(max-width:760px){.yg-app-shell{display:block!important}.yg-app-nav{display:none!important;width:100%!important;max-height:min(72vh,620px)}.yg-app-nav--open{display:flex!important}.yg-mobile-nav-toggle{display:grid}.yg-app-header{padding:10px 14px!important}.yg-app-main{padding:18px 14px!important}}.yg-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.yg-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px #162d4a1f;border-color:color-mix(in srgb,var(--yg-color-primary) 26%,var(--yg-color-border))}.yg-button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.04)}:where(button,a,input,select,textarea):focus-visible{outline:2px solid var(--yg-color-accent);outline-offset:2px}.yg-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:100;display:flex;align-items:center;justify-content:center;animation:yg-fade-in .12s ease}.yg-overlay--drawer{justify-content:flex-end}@keyframes yg-fade-in{0%{opacity:0}to{opacity:1}}@keyframes yg-slide-up{0%{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes yg-slide-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}.yg-scroll{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--yg-color-border) transparent}.yg-tr:hover{background:var(--yg-color-surface-hover)!important}.yg-tr--selected{background:var(--yg-color-primary-bg)!important}.yg-toast-region{position:fixed;bottom:24px;right:24px;z-index:500;display:flex;flex-direction:column;gap:10px;pointer-events:none}@keyframes yg-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.yg-skeleton{background:linear-gradient(90deg,var(--yg-color-surface-alt) 25%,var(--yg-color-border-subtle) 50%,var(--yg-color-surface-alt) 75%);background-size:200% 100%;animation:yg-shimmer 1.5s infinite;border-radius:var(--yg-radius-sm)}.yg-tooltip{position:absolute;z-index:300;padding:5px 10px;background:var(--yg-color-text);color:var(--yg-color-surface);border-radius:var(--yg-radius-xs);font-size:12px;font-weight:500;white-space:nowrap;pointer-events:none;animation:yg-fade-in .1s ease;box-shadow:var(--yg-shadow-popover)}.yg-chip:hover{border-color:var(--yg-color-primary)!important;color:var(--yg-color-primary)!important}.devis-screen{width:min(100%,1440px);margin:0 auto;display:grid;gap:18px;color:#172033}.devis-heading,.devis-heading-actions,.devis-switch,.devis-filters,.devis-line-editor-title,.devis-notice{display:flex;align-items:center}.devis-heading{justify-content:space-between;gap:20px}.devis-heading h1{margin:0;color:#162033;font-size:23px;line-height:1.2;letter-spacing:-.6px}.devis-heading p{margin:5px 0 0;color:#8190aa;font-size:12px}.devis-heading-actions{gap:9px}.devis-switch{overflow:hidden;padding:3px;border:1px solid #d4dfef;border-radius:7px;background:#edf3fd}.devis-switch button,.devis-filters>button,.devis-export-menu summary,.devis-export-popover button,.devis-notice button{border:0;background:transparent;font:inherit;cursor:pointer}.devis-switch button:focus,.devis-filters>button:focus{outline:none}.devis-switch button:focus-visible,.devis-filters>button:focus-visible{outline:2px solid #83aaf0;outline-offset:2px}.devis-switch button{padding:5px 10px;border-radius:4px;color:#71809b;font-size:11px;font-weight:700}.devis-switch button[aria-selected=true]{color:#fff;background:#183e72;box-shadow:none}.devis-export-menu{position:relative}.devis-export-menu summary{display:flex;align-items:center;gap:5px;min-height:33px;padding:0 10px;border:1px solid #cbd9ee;border-radius:6px;color:#41658f;font-size:12px;font-weight:700;list-style:none}.devis-export-menu summary::-webkit-details-marker{display:none}.devis-export-popover{position:absolute;z-index:8;top:calc(100% + 6px);right:0;width:184px;padding:5px;border:1px solid #d6e1f2;border-radius:8px;background:#fff;box-shadow:0 10px 28px #23457829}.devis-export-popover button{display:flex;width:100%;align-items:center;gap:8px;padding:8px;border-radius:5px;color:#34445e;font-size:12px;text-align:left}.devis-export-popover button:hover{background:#f2f6fd}.devis-create-button{display:inline-flex;align-items:center;gap:7px}.devis-notice{justify-content:space-between;gap:14px;padding:10px 13px;border:1px solid;border-radius:7px;font-size:12px;font-weight:600}.devis-notice button{color:inherit;font-size:18px;line-height:1}.devis-notice--error{border-color:#fecaca;background:#fff1f2;color:#b42338}.devis-notice--success{border-color:#a7f3d0;background:#ecfdf5;color:#067647}.devis-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.devis-kpi-card{display:flex;height:80px;min-height:0;justify-content:space-between;padding:11px 15px;border:1px solid #d9e4f4;border-radius:8px;background:#fff;box-shadow:0 1px 2px #1d3c680a}.devis-kpi-card>div{display:grid;align-content:start;gap:5px}.devis-kpi-card span{color:#62738f;font-size:10px;font-weight:800;letter-spacing:.45px;text-transform:uppercase}.devis-kpi-card strong{color:#172033;font-size:21px;letter-spacing:-.5px}.devis-kpi-card small{color:#8a98b0;font-size:11px}.devis-kpi-card--blue strong{color:#2378d7}.devis-kpi-card--purple strong{color:#079669}.devis-kpi-card--orange strong{color:#d89108}.devis-workspace{overflow:visible;background:transparent}.devis-filters{min-height:38px;gap:3px;padding:0;overflow-x:auto;border-bottom:1px solid #e4ebf6}.devis-filters>button{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;padding:7px 8px;border-radius:5px;color:#667791;font-size:11px;font-weight:700;white-space:nowrap}.devis-filters>button span{min-width:17px;padding:1px 5px;border-radius:10px;color:#7b8aa4;background:#edf2f9;font-size:10px;text-align:center}.devis-filters>button[aria-selected=true] span{color:#fff;background:#4381f7}.devis-filters>button[aria-selected=true]{color:#fff;background:#183e72}.devis-table-wrap{overflow:auto;margin-top:5px;border:1px solid #d7e1f1;border-radius:8px;background:#fff}.devis-table{width:100%;border-collapse:collapse;min-width:850px}.devis-table th{height:38px;padding:0 15px;border-bottom:1px solid #dfe8f5;color:#7888a1;background:#f9fbfe;font-size:10px;font-weight:800;letter-spacing:.35px;text-align:left;text-transform:uppercase}.devis-table td{padding:13px 15px;border-bottom:1px solid #e8eef7;color:#40506a;font-size:12px;vertical-align:middle}.devis-table tbody tr:hover{background:#f8fbff}.devis-table tbody tr:last-child td{border-bottom:0}.devis-table td strong{color:#25334c;font-size:12px}.devis-table td small{display:block;max-width:215px;overflow:hidden;margin-top:3px;color:#8b99b0;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.devis-row-actions{display:flex;align-items:center;gap:5px;min-width:150px;white-space:nowrap}.devis-row-actions .yg-button{padding:4px 7px!important;font-size:10.5px!important}.quote-print-sheet{display:none}.devis-number{color:#276be9!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.2px}.devis-table .is-right{text-align:right}.devis-table-message{padding:34px!important;color:#7a8aa5!important;text-align:center}.devis-pipeline{display:grid;grid-template-columns:repeat(4,minmax(205px,1fr));gap:12px;padding:14px;overflow-x:auto;background:#f6f8fc}.devis-pipeline-column{min-height:400px;padding:10px;border:1px solid #e0e8f4;border-radius:7px;background:#eef3fa}.devis-pipeline-column>header{display:flex;align-items:center;gap:7px;padding:2px 2px 11px;color:#4e5f7c;font-size:11px;font-weight:800;text-transform:uppercase}.devis-pipeline-column>header>span{width:7px;height:7px;border-radius:50%}.devis-pipeline-column>header b{display:grid;min-width:18px;height:18px;margin-left:auto;place-items:center;border-radius:12px;color:#6680a5;background:#dae5f3;font-size:10px}.devis-pipeline-column>div{display:grid;gap:9px}.devis-pipeline-card{display:grid;gap:6px;padding:12px;border:1px solid #dae4f2;border-radius:6px;background:#fff;box-shadow:0 1px 2px #2240670d}.devis-pipeline-card strong{color:#2d6fdd;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.devis-pipeline-card span{color:#31435f;font-size:12px;font-weight:700}.devis-pipeline-card b{color:#14233a;font-size:13px}.devis-pipeline-card small{color:#8291a8;font-size:10px}.devis-pipeline-card button{justify-self:start;padding:4px 7px!important;color:#3170d9!important;font-size:10px!important}.devis-pipeline-empty{margin:20px 0;color:#94a3b8;font-size:11px;text-align:center}.devis-form{display:grid;gap:16px}.devis-recap{display:grid;gap:10px}.devis-recap>div{display:grid;gap:4px;padding:13px 14px;border:1px solid #dce5f2;border-radius:7px;background:#f9fbfe}.devis-recap span{color:#8190aa;font-size:10px;font-weight:800;letter-spacing:.35px;text-transform:uppercase}.devis-recap strong{color:#25334c;font-size:13px}.devis-recap small{color:#7d8ca4;font-size:11px}.devis-recap-total{display:flex!important;align-items:baseline;justify-content:space-between;margin-top:4px;background:#eef5ff!important}.devis-recap-total strong{color:#183e72;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:20px}.devis-form-primary-grid{display:grid;grid-template-columns:1.35fr .9fr .9fr 1.45fr;gap:10px}.devis-form-grid{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px}.devis-form-grid--terms{grid-template-columns:repeat(2,minmax(0,1fr))}.devis-target-picker{position:relative}.devis-target-options{position:absolute;z-index:4;top:calc(100% + 4px);left:0;display:grid;width:min(230px,100%);max-height:185px;overflow-y:auto;padding:4px;border:1px solid #d7e1f1;border-radius:6px;background:#fff;box-shadow:0 10px 20px #1b345929}.devis-target-options button{display:grid;gap:2px;padding:7px;border:0;border-radius:4px;background:transparent;color:#2e405c;cursor:pointer;text-align:left}.devis-target-options button:hover,.devis-target-options button[aria-selected=true]{background:#edf4ff}.devis-target-options strong{color:#263750;font-size:11px;line-height:1.2}.devis-target-options em{margin-left:4px;color:#b88929;font-size:9px;font-style:normal;font-weight:700}.devis-target-options small,.devis-target-options p{margin:0;color:#7d8ca4;font-size:10px}.devis-target-options p{padding:7px}.devis-line-editor{display:grid;gap:7px}.devis-line-editor-title{justify-content:space-between;color:#52627c;font-size:12px;font-weight:800}.devis-line-editor-title button{padding:4px 7px!important;color:#3874df!important;font-size:11px!important}.devis-line-editor-head,.devis-line-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 68px 55px 88px 78px 28px;gap:7px;align-items:center}.devis-line-editor-head{padding:0 2px;color:#8391a7;font-size:10px;font-weight:800;letter-spacing:.3px;text-transform:uppercase}.devis-line-editor-row button{padding:5px 8px!important;color:#b45b68!important}.devis-line-editor-row output{color:#40516b;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:700;text-align:right}.devis-total-preview{display:flex;align-items:baseline;justify-content:flex-end;gap:13px;padding-top:12px;border-top:1px solid #dce5f2;color:#52627c;font-size:12px}.devis-total-preview strong{color:#183e72;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:18px}.devis-empty-panel{display:grid;gap:12px;padding:32px;border:1px solid #fecaca;border-radius:8px;background:#fff}.devis-empty-panel h1,.devis-empty-panel p{margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:980px){.devis-heading{align-items:flex-start;flex-direction:column}.devis-heading-actions{width:100%;flex-wrap:wrap}.devis-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.devis-kpis{grid-template-columns:1fr}.devis-heading-actions{align-items:stretch}.devis-switch,.devis-switch button,.devis-export-menu{flex:1}.devis-export-menu summary{justify-content:center}.devis-create-button{flex:1;justify-content:center}.devis-search{min-width:150px}.devis-form-primary-grid,.devis-form-grid{grid-template-columns:1fr}.devis-line-editor-head,.devis-line-editor-row{grid-template-columns:minmax(130px,1fr) 56px 48px 78px 65px 26px}}@media print{.devis-heading-actions,.devis-filters,.devis-row-actions,.devis-notice{display:none!important}.devis-workspace{border:0}body>*{visibility:hidden}.quote-print-sheet,.quote-print-sheet *{visibility:visible}.quote-print-sheet{display:block;position:absolute;top:0;right:0;bottom:0;left:0;padding:32px;background:#fff;color:#172033}}.commande-print-sheet{display:none}.commande-cancel-panel{display:grid;gap:12px;padding:18px;border:1px solid #e8b4b4;border-radius:8px;background:#fff8f8}.commande-cancel-panel h2,.commande-cancel-panel p{margin:0}.commande-cancel-panel label{display:grid;gap:5px;font-size:12px;font-weight:700}.commande-cancel-panel textarea{min-height:76px;padding:8px;border:1px solid #d7a0a0;border-radius:5px;font:inherit}.commande-cancel-panel>div{display:flex;justify-content:flex-end;gap:8px}.commande-action-message{padding:10px 14px;border:1px solid #a9d9bd;border-radius:8px;background:#f2fbf5;color:#176b3b;font-size:13px}@media print{body>*{visibility:hidden}.commande-print-sheet,.commande-print-sheet *{visibility:visible}.commande-cancel-panel{display:none!important}.commande-print-sheet{display:block;position:absolute;top:0;right:0;bottom:0;left:0;padding:32px;background:#fff;color:#172033}}
