/* One editor layout, no editable-paper illusion. */
.quote-main{max-width:1360px;margin:auto;padding:32px 28px 36px}.quote-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.quote-heading h1{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:6px 0 10px}.quote-heading p{margin:0;color:var(--muted);max-width:650px}.quote-start{display:flex;gap:10px;flex-shrink:0}.quote-start>a{display:none}.r6-steps{display:flex;list-style:none;gap:25px;margin:0 0 24px;padding:0;color:#72817b;font-size:13px}.r6-steps li{display:flex;align-items:center;gap:8px}.r6-steps span{border:1px solid #cad8d2;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.r6-steps .current{color:var(--green)}.r6-steps .current span{background:var(--green);color:#fff;border-color:var(--green)}
.r6-toolbar{display:flex;justify-content:flex-end;margin:-58px 0 26px;min-height:36px}.r6-more-tools>summary{list-style:none;background:#fff;border:1px solid var(--line);padding:8px 14px;border-radius:7px;font-size:13px;min-height:38px}.r6-more-tools[open] .workspace-tools{display:flex;position:absolute;z-index:10;background:#fff;padding:10px;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 30px #193c2920;gap:6px;inset-inline-end:28px}.sheet-instruction{font-size:12px;color:var(--muted);margin-bottom:16px}.r6-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:24px;align-items:start}.r6-fields{display:grid;gap:18px;min-width:0}.r6-preview-side{position:sticky;top:90px;display:grid;gap:14px;min-width:0}.r6-card,.quote-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;min-width:0;box-shadow:0 2px 4px #223b3003}.r6-title{font-size:18px;margin:0 0 14px;letter-spacing:-.35px}.r6-hint,.muted{font-size:12px;line-height:1.6;color:var(--muted);font-weight:400}.r6-hint{margin:0 0 14px}.r6-company{padding:0}.r6-company>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;list-style:none;min-height:76px}.r6-company>summary div{display:grid;gap:5px;min-width:0}.r6-company>summary strong{font-size:15px;overflow-wrap:anywhere}.r6-company>summary small{font-size:12px;color:var(--muted)}.r6-company>summary>span{font-size:12px;color:var(--green)}.r6-company[open]>summary{border-bottom:1px solid var(--line)}.sheet-company{padding:24px}.sheet-party{display:grid;gap:12px;text-align:start}.sheet-party-caption{font-size:18px}.sheet-field,.r6-field{display:flex;flex-direction:column;gap:7px;margin:0}.sheet-sr,.sr-only,.sheet-save-state{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.r6-label{font-size:12px;font-weight:600;color:#38594b}.required>.r6-label:after{content:' *';color:#667a70}.sheet-extra{display:grid;grid-template-columns:110px minmax(0,1fr) 44px;align-items:center;gap:10px}.sheet-extra-label{font-size:12px}.sheet-extra .sheet-field>span{display:none}.sheet-add-fields{position:relative}.sheet-add-options{display:flex;gap:5px;flex-wrap:wrap;background:#f5f8f6;padding:12px;border-radius:7px;margin-top:8px}.sheet-utility{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.sheet-logo{display:grid;grid-template-columns:80px minmax(0,1fr);gap:5px 12px;align-items:center;margin:4px 0 12px}.sheet-logo img{width:76px;max-height:75px;object-fit:contain;grid-column:1;grid-row:1/4}.sheet-logo input{grid-column:2;grid-row:2;font-size:12px;max-width:100%}.sheet-logo .sheet-logo-prompt{grid-column:2;grid-row:1;font-size:12px;font-weight:600}.sheet-logo .r6-hint{grid-column:2;grid-row:3}.sheet-logo:not(.has-logo){grid-template-columns:1fr}.sheet-logo:not(.has-logo)>*{grid-column:1}.r6-tax{border-top:1px solid var(--line);padding-top:18px;margin-top:8px}.r6-tax>h2{font-size:14px}.r6-tax .sheet-field{margin:10px 0}.sheet-client{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}.sheet-client>.r6-title,.sheet-client>.r6-hint,.sheet-client>#savedClientLabel,.sheet-client>.sheet-utility,.sheet-client>.sheet-add-fields,.sheet-client>.free-fields{grid-column:1/-1}.sheet-client>.sheet-extra{grid-column:1/-1}.sheet-client>label:last-child{font-size:12px;max-width:200px}.r6-meta{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:16px;margin-top:16px}.sheet-document-head{display:block}.r6-meta>div:first-child{display:contents}.sheet-meta{display:contents}.sheet-document-custom{grid-column:1/-1}.sheet-work{display:block}.r6-work-tools{display:flex;gap:16px;justify-content:space-between;align-items:start}.r6-work-tools .r6-hint{max-width:400px}.r6-work-tools button{white-space:normal;min-width:130px}.quote-line{display:grid;grid-template-columns:minmax(0,1fr) 80px 125px 95px;gap:12px;padding:18px 0;border-top:1px solid var(--line);position:relative}.sheet-description{grid-column:1/-1;min-width:0}.sheet-description>label>span,.sheet-numeric label>span,.quote-section label>span{font-size:12px;font-weight:600;color:#38594b}.sheet-description textarea{min-height:75px}.sheet-row-tools{grid-column:1/-1;grid-row:1;display:flex;justify-content:space-between}.quote-line-top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.quote-line-label{font-size:12px;color:#60776b}.quote-item-actions{display:flex;gap:3px}.quote-item-actions button{min-width:36px;min-height:36px;padding:6px}.sheet-numeric{min-width:0}.sheet-numeric label{display:grid;gap:7px}.sheet-row-total{display:flex;flex-direction:column;justify-content:end;align-items:flex-end;grid-column:4}.sheet-row-total:before{content:'Total HT';font-size:11px;color:var(--muted)}.quote-line-total{font-variant-numeric:tabular-nums;font-size:15px;font-weight:700;margin:0;padding:14px 0}.sheet-line-settings{grid-column:1/-1}.sheet-line-settings summary{font-size:12px;color:var(--green)}.quote-line-advanced{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:330px;padding:12px 0}.quote-line-advanced label{display:grid;gap:7px;font-size:12px}.line-text-actions{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:8px 0 0}.line-text-actions button{padding:4px 0;font-size:11px;min-height:36px}.sheet-line-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:16px}.sheet-add-line{background:#edf5f1;border:1px solid #bcd5c8;color:var(--green);padding:12px 16px;border-radius:7px;font-weight:600;font-size:13px}.quote-section{border-inline-start:3px solid #d1e4da;background:#f7faf8;padding:12px;margin:10px 0}.quote-section label{display:grid;gap:7px;margin-top:8px}.quote-section .quote-line-top{min-height:32px}.quote-section-label{font-size:11px;color:var(--muted)}.quote-section textarea{min-height:95px}.quote-live canvas{width:100%;height:auto;box-shadow:0 3px 20px #123d2620;background:#fff}.quote-live{background:#edf2ef;padding:20px}.quote-live h2{font-size:14px}.quote-live p{font-size:12px;line-height:1.6;color:var(--muted)}.r6-totals{padding:20px 24px}.quote-totals>div{display:flex;justify-content:space-between;font-size:13px;margin-bottom:12px}.quote-totals .final{font-size:19px;font-weight:700;border-top:1px solid var(--line);padding-top:14px;margin:0}.sheet-terms>summary{display:flex;justify-content:space-between;gap:16px;list-style:none}.sheet-terms>summary>span{font-size:11px;color:var(--muted);font-weight:400}.sheet-terms .quote-detail-body{display:grid;gap:16px;padding-top:20px}.sheet-terms label{display:grid;gap:7px;font-size:12px;font-weight:600}.sheet-terms .check{display:flex;font-weight:400}.sheet-terms textarea{min-height:90px}.sheet-notes{gap:7px}.workspace-note-label{display:none}.free-field{display:grid;grid-template-columns:1fr 1.5fr auto;gap:8px;padding:8px 0}.free-field-tools{display:flex;gap:2px}.free-field-action{min-width:36px;padding:5px}.free-fields:empty{display:none}.r6-dock{position:fixed;bottom:0;inset-inline:0;background:#fff;border-top:1px solid #cbdcd3;z-index:30;box-shadow:0 -5px 25px #163b2610;padding:13px 28px;padding-bottom:max(13px,env(safe-area-inset-bottom))}.r6-dock-inner{max-width:1304px;margin:auto;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 20px}.r6-dock-state{display:grid;gap:5px}.r6-dock-state small{font-size:11px;color:var(--muted)}.r6-dock-state strong{font-size:17px}.r6-actions{display:flex;gap:8px;align-items:center}.r6-actions .btn.solid{background:var(--green);color:#fff;border-color:var(--green);font-weight:600;min-width:195px}.r6-approval{grid-column:1/-1;grid-row:1;justify-self:end;font-size:12px;max-width:680px;margin:0}.r6-feedback{grid-column:1/-1;font-size:12px;color:#46705a;margin:0;max-height:66px;overflow:auto}.r6-feedback.error{color:#9c362c}.r6-error{display:block;font-size:12px;color:#9c362c;margin-top:4px}.product-editor #quoteStatus{position:absolute;clip-path:inset(50%);height:1px;overflow:hidden}.product-editor .local-foot{padding-bottom:calc(var(--dock-height,100px) + 24px)}[data-stage=preview] #quoteForm,[data-stage=import] #quoteForm,[data-stage=preview] .quote-import-options,[data-stage=import] .quote-import-options{display:none}#quotePreview,#importReview{margin:20px 0;padding:25px}#generatedPages{max-height:none;overflow:visible;text-align:center;background:#edf2ef;padding:20px;border-radius:8px}#generatedPages canvas{width:min(100%,760px);height:auto;background:#fff;box-shadow:0 3px 22px #19352425}.quote-source-nav{display:flex;justify-content:center;gap:15px;align-items:center;margin-bottom:16px}.quote-import-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}#sourceCanvas{width:100%;height:auto;border:1px solid var(--line)}.quote-suggestion{border:1px solid var(--line);border-radius:8px;padding:15px;margin-bottom:12px}.quote-suggestion p{white-space:pre-wrap;font-size:12px;line-height:1.5;max-height:280px;overflow:auto}.quote-warning{font-size:12px;color:#915827;line-height:1.6}.quote-section-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:16px}.quote-section-head h2{font-size:22px;margin:3px 0}.quote-import-options{background:#edf4ef;border-radius:8px;margin:14px 0;padding:14px;font-size:13px}.quote-import-hint{font-size:12px;line-height:1.6;max-width:800px}#importText{max-height:240px;overflow:auto;white-space:pre-wrap;font-size:11px}.quote-style-logos{display:flex;gap:12px;flex-wrap:wrap}.quote-style-logos label{border:1px solid var(--line);padding:12px;font-size:12px;max-width:180px;display:grid;gap:8px}.quote-style-logos img{max-width:120px;max-height:80px;object-fit:contain}.quote-help{margin-top:30px;font-size:12px;color:var(--muted)}.quote-help p{line-height:1.7;max-width:850px}
.workspace-dialog{width:min(820px,calc(100vw - 24px));max-height:88dvh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;color:var(--ink);box-shadow:0 25px 100px #193c2930}.workspace-dialog::backdrop{background:#142c235c}.workspace-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.workspace-dialog-head h2{font-size:23px;line-height:1.25;margin:0}.workspace-dialog h3{font-size:16px}.workspace-dialog p{font-size:13px;line-height:1.65;color:var(--muted)}.workspace-dialog label{font-size:12px;font-weight:600;display:grid;gap:7px;min-width:0}.workspace-dialog .check{display:flex;font-weight:400}.workspace-dialog-lead{margin:18px 0}.workspace-dialog-foot{border-top:1px solid var(--line);padding-top:18px;margin-top:24px}.workspace-label-grid,.catalog-editor-grid,.quote-design-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.workspace-style-choices{display:flex;gap:8px;margin:14px 0 24px}.workspace-style-choice{flex:1;border-inline-start:5px solid var(--choice-color);padding:13px}.workspace-models>summary{display:none}.workspace-local-status:empty{display:none}.workspace-local-status{background:#edf5ef;padding:12px;border-radius:7px}.catalog-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px}.catalog-results{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.catalog-card{border:1px solid var(--line);padding:18px;border-radius:8px}.catalog-card-title{display:flex;justify-content:space-between;gap:10px}.catalog-card h3{overflow-wrap:anywhere}.catalog-description{white-space:pre-wrap;font-size:12px}.catalog-card-actions{display:flex;gap:8px;flex-wrap:wrap}.catalog-section-row{background:#f4f7f4;border-radius:6px;padding:12px;margin-top:12px}.catalog-editor-actions{display:flex;gap:10px;margin-top:20px}.quote-model-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-top:16px}.quote-model-actions label{flex:1}.quote-detail-body .metier-grid{display:grid;gap:12px;grid-template-columns:1fr 1fr}.quote-options{margin-top:14px}.quote-options>summary{font-size:12px;color:var(--green)}.quote-options>label{margin-top:12px}
@media(min-width:1100px){.sheet-company{grid-template-columns:1fr 1fr}.sheet-company>p,.sheet-company>.sheet-logo,.sheet-company>.sheet-utility,.sheet-company>.sheet-add-fields,.sheet-company>.free-fields,.sheet-company>.r6-tax,.sheet-company>#companyMemory{grid-column:1/-1}.sheet-company>.sheet-extra{grid-column:1/-1}.r6-reference .sheet-subject{max-width:100%}}
@media(max-width:1100px){.r6-editor-grid{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.r6-card,.quote-card{padding:20px}.sheet-company{padding:20px}.quote-line{grid-template-columns:minmax(0,1fr) 70px 110px 90px}.r6-meta{grid-template-columns:1fr 1fr}.r6-meta>.sheet-number{grid-column:1/-1}}
@media(max-width:850px){.r6-editor-grid{grid-template-columns:1fr}.r6-preview-side{position:static}.quote-live{display:none}.r6-preview-side>.r6-hint{display:none}.r6-totals{max-width:none}.r6-meta{grid-template-columns:1fr 1fr 1fr}.quote-main{padding:24px 20px}.r6-toolbar{margin:0 0 14px}.r6-steps{margin-bottom:16px}.r6-more-tools[open] .workspace-tools{inset-inline-end:20px}.quote-heading{gap:15px}.quote-heading h1{font-size:29px}.quote-heading .quote-start{display:block}.quote-start .local-example{display:none}.quote-import-grid{grid-template-columns:1fr}.quote-import-grid>div:first-child{max-width:450px;margin:auto}.quote-section-head{flex-wrap:wrap}}
@media(max-width:540px){.quote-main{padding:22px 12px}.quote-heading{display:block;margin-bottom:18px}.quote-heading h1{font-size:28px}.quote-heading p{font-size:13px}.quote-start{margin-top:14px}.quote-start .btn{width:100%}.r6-steps{gap:18px;font-size:11px}.r6-steps span{width:24px;height:24px}.r6-toolbar{justify-content:start}.r6-more-tools{width:100%}.r6-more-tools[open] .workspace-tools{position:static;box-shadow:none;display:grid;grid-template-columns:1fr 1fr}.r6-more-tools>summary{min-height:44px;padding:12px}.r6-card,.quote-card{padding:18px}.r6-company{padding:0}.r6-company>summary{padding:16px 18px}.sheet-company{padding:18px}.sheet-client{grid-template-columns:1fr;gap:12px}.sheet-client>*{grid-column:1!important}.r6-meta{grid-template-columns:1fr 1fr;gap:12px}.r6-meta .sheet-number{grid-column:1/-1}.r6-meta .sheet-document-custom{grid-column:1/-1}.r6-title{font-size:17px}.r6-work-tools{display:block}.r6-work-tools>span{display:block;margin-bottom:12px}.r6-work-tools>span button{width:100%}.quote-line{grid-template-columns:65px minmax(0,1fr) 95px;gap:12px 10px}.sheet-numeric{grid-column:auto}.sheet-row-total{grid-column:3}.sheet-description{grid-column:1/-1}.quote-line [data-field]{font-size:16px}.sheet-line-bottom{align-items:stretch;flex-direction:column}.sheet-line-bottom .sheet-add-line{width:100%}.sheet-line-bottom #showSaveQuotePreset{font-size:12px}.sheet-terms>summary{display:grid;gap:7px}.sheet-extra{grid-template-columns:85px minmax(0,1fr) 36px}.sheet-extra-label{font-size:11px}.free-field{grid-template-columns:1fr 1fr}.free-field-tools{grid-column:1/-1;justify-content:end}.r6-dock{padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.r6-dock-inner{gap:8px 10px;grid-template-columns:minmax(0,1fr) auto}.r6-dock-state strong{font-size:14px}.r6-dock-state small{font-size:10px;max-width:140px}.r6-actions .btn.solid{min-width:0;font-size:12px;padding:12px 14px}.r6-actions #backToQuote{padding:10px;font-size:11px}.r6-approval{font-size:11px;justify-self:start}.r6-feedback{font-size:11px;max-height:50px}.r6-actions{gap:5px}.r6-feedback:empty{display:none}.workspace-dialog{padding:20px 16px;max-height:92dvh}.workspace-dialog-head{gap:10px;align-items:start}.workspace-dialog-head h2{font-size:21px}.workspace-label-grid,.catalog-editor-grid,.quote-design-grid,.catalog-filters,.catalog-results{grid-template-columns:1fr}.workspace-style-choice{padding:12px 8px;font-size:12px}.quote-detail-body .metier-grid{grid-template-columns:1fr}.quote-line-advanced{max-width:100%}#quotePreview,#importReview{padding:16px}#generatedPages{padding:10px}.quote-source-nav{position:sticky;top:72px;background:#edf2ef;padding:8px;z-index:1}.sheet-logo input{font-size:11px}.quote-section .quote-item-actions button,.quote-item-actions button{min-height:44px;min-width:40px}}
.r6-company-more{grid-column:1/-1}.r6-company-more>summary,.r6-client-more>summary,.r6-reference>summary{font-size:13px;color:var(--green)}.r6-company-more[open]>*:not(summary){margin-top:12px}.r6-client-more{grid-column:1/-1}.r6-client-more .sheet-utility{margin:12px 0}.r6-client-more label{display:grid;gap:7px;font-size:12px;max-width:220px}.sheet-work>.sheet-subject{margin:14px 0 20px}.r6-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.r6-meta label{min-width:0}.quote-line{grid-template-columns:90px 150px minmax(0,1fr) 120px}.sheet-numeric{grid-column:auto}.sheet-description label{display:grid;gap:7px}.sheet-company>button#rememberCompany{justify-self:start;grid-column:1/-1}.r6-reference:not([open]) .r6-meta{display:none}
@media(max-width:540px){.r6-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-line{grid-template-columns:65px minmax(0,1fr) 95px}.r6-company-more .sheet-extra{grid-template-columns:80px minmax(0,1fr) 35px}}
.quote-import-options:not([open]){display:none}.r6-toolbar{margin:0 0 14px}.quote-card,#quotePreview,#importReview{scroll-margin-top:95px}.r6-reference[open] .r6-meta{display:grid}.import-edit{margin-top:14px;font-size:12px}.import-edit>label{display:grid;gap:6px;margin:12px 0}.import-edit-line{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid var(--line);padding:16px 0}.import-edit-line>label{display:grid;gap:7px;min-width:0;font-size:11px}.import-edit-line>label:first-child{grid-column:1/-1}.import-edit-line>button{justify-self:start}.import-edit-line input{min-width:0}.import-edit>summary{font-weight:600;color:var(--green)}
@media(max-width:540px){.product-editor .local-head{flex-wrap:nowrap;min-height:64px;padding:12px;gap:12px}.product-editor .local-head .local-brand{padding:0;font-size:22px}.product-editor .local-head nav{width:auto;order:0;gap:0}.product-editor .local-head nav a[href="index.html"]{display:none}.product-editor .local-head .pph-language{position:static;margin:0}.product-editor .local-head .pph-language select{width:87px}.product-editor .quote-start{display:none}.product-editor .local-head nav a{font-size:11px}.sheet-client>.r6-hint{display:none}.r6-more-tools .local-example{display:flex}.r6-more-tools[open] .workspace-tools{margin-top:8px}.r6-meta>div{min-width:0}.quote-main{padding-top:20px}.r6-toolbar{margin-bottom:10px}.r6-steps{margin-bottom:12px}.quote-source-nav{top:64px}}
.r6-language-note{font-size:12px;background:#fff4df;border:1px solid #ebdcc0;padding:12px;border-radius:7px;line-height:1.7;margin:16px 0}
.r7-client-memory{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.r7-client-memory>p{margin:0;max-width:440px}.r7-client-memory button[data-saved=true]{background:#edf5ef;border-color:transparent;color:#406c50;opacity:1;cursor:default}.r7-habit-choice,.r7-habit-hint{grid-column:1/-1;font-size:12px}.r7-habit-hint{margin-top:0}.r7-habit-choice input{flex-shrink:0}
[dir=rtl] .sheet-numeric input,[dir=rtl] input[type=date]{direction:ltr;text-align:right}
@media(max-width:540px){.product-editor .local-head{flex-wrap:wrap;gap:10px!important}.product-editor .local-head .local-brand{margin-inline-end:auto}.product-editor .local-head .pph-language{margin-inline-start:auto}.product-editor .local-head nav{order:2;width:100%;justify-content:space-between;gap:10px!important}.product-editor .local-head nav a{display:inline-flex;align-items:center;min-height:44px}}
