.confirm-grid.has-web-editor{display:block}.tool-card.has-editor{overflow:visible}.web-editor{min-width:0;color:#263c32}.web-editor *{box-sizing:border-box}.editor-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:8px 0 22px}.editor-heading h3{margin:0 0 6px;font-size:24px;color:#214e38}.editor-subtitle,.editor-hint{font-size:13px!important;line-height:1.6!important;color:#687c70!important;margin:8px 0}.editor-save-state{font-size:12px;color:#40775a;max-width:380px}.editor-save-state[data-state=error]{color:#a03526}.editor-top-actions,.editor-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.web-editor button,.draft-manager button{font:600 13px/1.4 system-ui,sans-serif;border-radius:8px;padding:10px 14px;white-space:normal}.editor-secondary,.draft-manager button{background:#f5f8f6;border:1px solid #d2dfd6;color:#2c6b48}.editor-secondary:hover,.draft-manager button:hover{background:#eaf3ee}.editor-generate{background:#2b8557;color:#fff;border:1px solid #2b8557}.editor-remove{background:#fff;color:#a34a38;border:1px solid #ead9d3}.web-editor button:disabled{opacity:.5;cursor:default}.editor-fields{padding:0;border:0;margin:0;min-width:0}.editor-section{border:1px solid #dce7df;border-radius:14px;padding:22px;margin-bottom:22px;background:#fff}.editor-section>summary,.editor-section-heading{font-weight:650;font-size:16px}.editor-section>summary{cursor:pointer}.editor-section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.editor-field-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px}.editor-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;color:#536c5e}.editor-field-wide{grid-column:span 2}.web-editor input[type=text],.web-editor input[type=search],.web-editor input[type=number],.web-editor select,.web-editor textarea,.draft-manager input[type=text]{width:100%;min-width:0;border:1px solid #cbdacf;border-radius:7px;background:#fff;color:#23392c;font:14px/1.45 system-ui,sans-serif;padding:10px 11px}.web-editor input:focus,.web-editor textarea:focus{outline:2px solid #81b99a;outline-offset:1px}.web-editor textarea{resize:vertical;min-height:44px}.web-editor input[data-edited=true],.web-editor textarea[data-edited=true]{border-left:3px solid #d6a446;background:#fffdf7}.editor-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0}.editor-toolbar .editor-search{flex:1;min-width:180px}.editor-toolbar .editor-jump{max-width:140px}.editor-filter{display:flex;align-items:center;gap:6px;font-size:13px;color:#496754}.editor-article{border:1px solid #dbe6df;border-radius:12px;margin:16px 0;background:#fff;overflow:hidden;scroll-margin-top:110px}.editor-article-head{display:flex;justify-content:space-between;gap:12px;padding:14px 18px;background:#f3f7f4;border-bottom:1px solid #e1e9e4;align-items:center}.editor-article-head strong{font-size:14px}.editor-article-body{padding:18px}.editor-article-body .editor-field-grid{margin:0}.editor-identity{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:16px;margin-bottom:18px}.editor-identity .editor-field-wide{grid-column:auto}.editor-hs-block{margin:16px 0 18px;padding:16px;background:#f7faf8;border:1px solid #e0eae4;border-radius:10px}.editor-hs-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.editor-hs-description{font-size:13px;line-height:1.6;color:#416450;margin:9px 0 0;overflow-wrap:anywhere}.editor-hs-suggestions{display:grid;gap:8px;margin-top:12px}.editor-hs-candidate{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:12px;align-items:center;background:white;border:1px solid #d9e5dd;padding:12px;border-radius:8px;font-size:13px;line-height:1.5}.editor-hs-candidate strong{color:#246743;letter-spacing:1px}.editor-hs-caption{font-size:12px;color:#617466;margin:0}.editor-row-note{color:#9b6521;background:#fff9ed;border-radius:6px;font-size:12px;padding:8px 10px;margin:10px 0 0;line-height:1.5}.editor-extra{margin-top:14px}.editor-extra summary{font-size:12px;color:#547260;cursor:pointer}.editor-extra .editor-field-grid{margin-top:12px}.editor-divider{font-size:12px;font-weight:650;color:#617366;margin:20px 0 10px}.editor-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:#617466;margin:16px 0}.editor-paste{font-size:13px;margin-top:18px;color:#4b6f59}.editor-paste summary{cursor:pointer}.editor-paste textarea{margin:10px 0}.editor-paste-feedback{color:#a03d2e;font-size:13px}.editor-check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.editor-check{border:1px solid #e0e9e3;border-radius:10px;padding:14px;font-size:13px;min-width:0}.editor-check-title{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}.editor-check[data-state=ok] .editor-check-title span{color:#2d7d50}.editor-check[data-state=warning],.editor-check[data-state=error]{background:#fffaf2;border-color:#ecd8b5}.editor-check[data-state=warning] .editor-check-title span,.editor-check[data-state=error] .editor-check-title span{color:#a26a23}.editor-check-values{color:#647669;line-height:1.6;overflow-wrap:anywhere}.editor-check-note{color:#8b622c;line-height:1.5;font-size:12px;margin-top:8px;white-space:pre-wrap}.editor-checks.is-pending{opacity:.65}.editor-error{color:#a43a2b;font-size:13px}.editor-footer{position:sticky;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f5faf7f5;border:1px solid #ccdcd1;border-radius:12px;padding:16px;z-index:3;box-shadow:0 5px 20px #23483112;backdrop-filter:blur(8px)}.editor-feedback{margin:0;font-size:13px!important;color:#4f6f5a;line-height:1.5!important}.draft-manager{background:#f5f9f6;border:1px solid #dce8df;border-radius:12px;padding:16px 20px;margin:0 0 22px;color:#34583f}.draft-manager summary{cursor:pointer;font-weight:650;font-size:14px}.draft-manager p{font-size:12px;line-height:1.6}.draft-list{display:grid;gap:10px;margin:14px 0}.draft-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;background:white;border:1px solid #e1e9e4;border-radius:8px;min-width:0}.draft-entry-info{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.draft-entry-info small{display:block;color:#738477}.draft-import input{display:none}.editor-empty{padding:24px;text-align:center;color:#75877a;font-size:14px}
@media(max-width:1100px){.editor-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-heading{flex-direction:column;gap:12px}}
@media(max-width:760px){.editor-footer{bottom:74px;flex-wrap:wrap;padding:12px}.editor-section{padding:16px}.editor-check-list{grid-template-columns:1fr}.editor-hs-candidate{grid-template-columns:90px minmax(0,1fr)}.editor-hs-candidate button{grid-column:1/-1}.editor-article-body{padding:14px}.editor-hs-block{padding:12px}.draft-entry{align-items:start;flex-direction:column}}
@media(max-width:480px){.editor-identity{grid-template-columns:1fr}.editor-field-grid,.editor-hs-inputs{gap:12px}.editor-field-wide{grid-column:1/-1}.editor-heading h3{font-size:21px}.editor-footer .editor-generate{width:100%}.editor-section-heading{flex-wrap:wrap}.editor-top-actions{gap:6px}.web-editor button{padding:9px 11px}.editor-check-title{flex-wrap:wrap}.editor-article-head{padding:12px}.editor-section{padding:12px}.editor-toolbar .editor-jump{max-width:110px}}
.editor-tariff-label{line-height:1.55;overflow-wrap:anywhere}.editor-tariff-full{margin-top:6px;color:#66816f;font-size:12px}.editor-tariff-full summary{cursor:pointer;font-weight:500}.editor-tariff-full p{font-size:12px!important;line-height:1.65!important;white-space:normal;overflow-wrap:anywhere}.editor-hs-description>strong{display:block;font-size:11px;letter-spacing:.04em;color:#758879;margin-bottom:4px}
.editor-heading>div:first-child{flex:1;min-width:0;max-width:600px}.editor-heading input{font-size:13px!important}.editor-heading .editor-field{margin-top:10px}
.editor-tariff-context{font-size:11px;color:#758579;line-height:1.45;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.web-editor input[aria-invalid=true]{border-color:#bf6550;background:#fff7f4}
.web-editor .editor-detail-button{background:transparent;color:#698372;font-size:18px;border:0;border-radius:4px;padding:2px 5px;line-height:25px}
.web-editor .editor-detail-button:hover{background:#e3efe7;color:#256443}
.editor-hs-inline{padding:12px 16px;background:#f4f8f5;border-block:1px solid #cddfd3}
.editor-hs-inline-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}
.editor-hs-inline-head button{font-size:11px;padding:3px 8px}.editor-hs-description{margin:8px 0;font-size:12px}
.editor-hs-suggestions{margin-top:6px;gap:6px}.editor-hs-candidate{grid-template-columns:85px minmax(0,1fr) auto;padding:8px 10px;font-size:12px;gap:10px}
.editor-hs-candidate button{padding:6px 10px;font-size:11px}.editor-hs-caption{font-size:11px}
.editor-detail-dialog{padding:22px;border:1px solid #cfded4;border-radius:12px;color:#294333;width:min(720px,calc(100vw - 32px));max-height:85vh;overflow-y:auto;box-shadow:0 16px 80px #15251b40}
.editor-detail-dialog::backdrop{background:#142d245e}.editor-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.editor-dialog-heading h3{font-size:17px;margin:0}.editor-detail-dialog .editor-field-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.editor-detail-dialog .editor-field-wide{grid-column:1/-1}.editor-dialog-actions{display:flex;gap:8px;margin-top:20px;justify-content:flex-end}.editor-dialog-actions .editor-remove{margin-right:auto}
.editor-view-tabs button,.editor-pagination button,.editor-detail-button,.editor-hs-inline-head button{min-height:0!important}
/* Page font for every editor control: system-ui maps to a CJK UI font on Chinese Windows and draws the apostrophe full width. */
.web-editor button,.draft-manager button,.web-editor input[type=text],.web-editor input[type=search],.web-editor textarea,.draft-manager input[type=text]{font-family:inherit}
/* Online editor = the standard table, editable (user ruling 2026-10-08): top bar, dossier strip, toolbar, one sheet with the
   workbook's columns, and the control area as the table footer, so totals always sit under their own columns. */
.tool-card.has-editor{min-width:0;padding:0}
.has-editor>.card-head{display:none}
.ed{display:block;color:#1f2a37;font-family:inherit}
.ed-topbar{position:sticky;top:76px;z-index:6;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 18px;background:#fff;border-bottom:1px solid #e7ecf1;border-radius:12px 12px 0 0}
.web-editor .ed-back{background:transparent;color:#647387;border:0;padding:6px 4px;font-size:13px;min-height:0}
.web-editor .ed-back:hover{background:transparent;color:#226b47}
.web-editor .ed-name{flex:0 1 360px;min-width:140px;font-family:inherit;font-weight:700;font-size:16px;line-height:1.3;border:1px solid transparent;border-bottom:1px dashed #c5d0db;border-radius:6px 6px 0 0;padding:4px 6px;background:transparent}
.web-editor .ed-name:hover,.web-editor .ed-name:focus{border-color:#cbdacf;background:#fff}
.ed-verdict{display:inline-flex;align-items:center;border-radius:999px;padding:4px 11px;font-size:12.5px;font-weight:700;white-space:nowrap;background:#f0f3f7;color:#33425a}
.ed-verdict[data-state=ok]{background:#e2efda;color:#006100}
.ed-verdict[data-state=warning]{background:#fff3c4;color:#8a5300}
.ed-verdict[data-state=blocker]{background:#ffe1e4;color:#9c0006}
.ed-verdict[data-state=pending]{background:#f0f3f7;color:#647387}
.ed-grow{flex:1}
.ed-save{font-size:12px;color:#647387;white-space:nowrap;max-width:none}
.ed-save[data-state=error]{color:#a03526;white-space:normal;max-width:360px}
.ed-save:empty{display:none}
.ed-menu{position:relative}
.ed-menu>summary{list-style:none;cursor:pointer;padding:4px 10px;border-radius:7px;color:#33425a;font-weight:700;font-size:18px;line-height:1}
.ed-menu>summary::-webkit-details-marker{display:none}
.ed-menu>summary:hover{background:#f0f3f7}
.ed-menu-list{position:absolute;right:0;top:34px;z-index:7;display:grid;gap:6px;width:240px;padding:10px;background:#fff;border:1px solid #d9e2ea;border-radius:9px;box-shadow:0 12px 30px #1f2a3722}
.web-editor .ed-menu-list button{justify-content:flex-start;text-align:left;min-height:0}
.web-editor .ed-generate{min-height:0;padding:9px 16px;font-size:13.5px}
.web-editor .ed-generate.is-secondary{background:#fff;color:#226b47;border:1px solid #bcd9c8}
.web-editor .ed-generate.is-secondary:hover{background:#eaf5ef}
.ed-download{display:inline-flex;align-items:center;border-radius:8px;padding:9px 16px;background:#2e875a;color:#fff;font-weight:650;font-size:13.5px;text-decoration:none}
.ed-download:hover{background:#226b47}
.ed-download[hidden]{display:none}
.ed-dossier{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px 16px;padding:14px 18px 16px;background:#fbfcfd;border-bottom:1px solid #e7ecf1}
.ed-dossier .editor-field-wide{grid-column:span 2}
.ed-kv{gap:3px}
.ed-kv>span{font-size:11px;font-weight:600;color:#647387}
.web-editor .ed-kv input[type=text],.web-editor .ed-kv textarea{padding:6px 9px;font-size:13px;font-family:inherit;min-height:0;border-color:#d9e2ea}
.web-editor .ed-kv input::placeholder{color:#97a2b2;font-style:italic}
.ed-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 18px}
.web-editor .ed-search{flex:0 1 320px;min-width:180px;padding:7px 10px;font-size:13px;font-family:inherit;border-color:#d9e2ea}
.ed-seg{display:inline-flex;border:1px solid #d9e2ea;border-radius:8px;overflow:hidden}
.web-editor .ed-seg-button{background:#fff;color:#33425a;border:0;border-radius:0;padding:6px 11px;font-size:12.5px;min-height:0}
.web-editor .ed-seg-button:hover{background:#f3f8f5}
.web-editor .ed-seg-button+.ed-seg-button{border-left:1px solid #d9e2ea}
.web-editor .ed-seg-button[aria-pressed=true]{background:#eaf5ef;color:#226b47}
.web-editor .ed-small{padding:7px 12px;font-size:13px;min-height:0}
.ed-paste{padding:0 18px 12px}
.ed-paste[hidden]{display:none}
.ed-paste textarea{margin:6px 0 8px}
.ed-paste-summary{margin:0 0 8px;font-size:12.5px;color:#647387}.ed-paste-summary:empty{display:none}
.ed-paste .editor-paste-feedback{margin:8px 0 0}.ed-paste .editor-paste-feedback[data-state=info]{color:#33425a}.ed-paste .editor-paste-feedback[data-state=done]{color:#226b47}.ed-paste .editor-paste-feedback[data-state=error]{color:#a03d2e}
.ed-paste-target{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin:0 0 10px;font-size:13px;color:#33425a}
.ed-paste-target label{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.web-editor .ed-paste-target input[type=number]{width:76px;padding:5px 7px;font-size:13px;min-height:0}
.web-editor .ed-paste-target select{width:auto;padding:5px 7px;font-size:13px}
.ed-paste-actions{display:flex;gap:8px;align-items:center}
.web-editor .ed-paste-apply{padding:7px 16px;font-size:13px;min-height:0}
/* The sheet scrolls inside its frame: the header row and the N° / Désignation columns stay visible. */
.ed-sheet-wrap{overflow:auto;max-height:max(420px,calc(100vh - 150px));border-top:1px solid #e7ecf1;border-bottom:1px solid #e7ecf1;overscroll-behavior:contain}
.ed-sheet{width:100%;min-width:1140px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:13px;font-variant-numeric:tabular-nums}
/* Fixed widths sized to their values; Désignation takes the remaining width (at least 150 px at the minimum table width). */
.ed-col-n{width:36px}.ed-col-hsCode{width:96px}.ed-col-origin{width:58px}.ed-col-quantity{width:54px}.ed-col-unit{width:46px}
.ed-col-unitPrice{width:80px}.ed-col-amount{width:96px}.ed-col-packageCount{width:50px}.ed-col-packageType{width:96px}.ed-col-grossWeight,.ed-col-netWeight{width:78px}
.ed-col-cbm{width:62px}.ed-col-ctl{width:132px}.ed-col-act{width:28px}
.ed-sheet th,.ed-sheet td{border-right:1px solid #eef2f5;border-bottom:1px solid #eef2f5;padding:0;vertical-align:top;background:#fff}
.ed-sheet thead th{position:sticky;top:0;z-index:3;background:#2f6f9f;color:#fff;font-size:11.5px;font-weight:650;line-height:1.3;text-align:left;vertical-align:bottom;padding:7px 6px;white-space:normal;overflow-wrap:normal}
.ed-sheet thead th.is-numeric{text-align:right}
.ed-sheet .ed-sticky1{position:sticky;left:0;z-index:2}
.ed-sheet .ed-sticky2{position:sticky;left:36px;z-index:2;box-shadow:1px 0 0 #dfe6ec}
.ed-sheet thead th.ed-sticky1,.ed-sheet thead th.ed-sticky2{z-index:4;background:#2f6f9f}
.ed-sheet thead th.ed-n{text-align:center}
.ed-sheet tbody .ed-n{text-align:center;color:#8a9c90;font-size:12px;font-weight:500;padding-top:9px}
.ed-sheet tbody tr[data-review=true]>.ed-n{color:#a56d24;box-shadow:inset 3px 0 #d5aa65}
.ed-sheet tbody tr:hover>td,.ed-sheet tbody tr:hover>th{background:#f7fbf9}
.ed-sheet tbody tr:focus-within>td,.ed-sheet tbody tr:focus-within>th{background:#f0f7f3}
.ed-sheet tbody tr.is-flash>td,.ed-sheet tbody tr.is-flash>th{background:#fff1c7;transition:background .2s}
.web-editor .ed-sheet tbody input[type=text],.web-editor .ed-sheet tbody textarea{display:block;width:100%;border:0;border-radius:0;background:transparent;font-family:inherit;font-size:13px;line-height:20px;padding:7px 6px;min-height:35px;box-shadow:none;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;text-overflow:ellipsis}
.web-editor .ed-sheet tbody .is-numeric input{text-align:right}
.web-editor .ed-sheet tbody input[data-edited=true],.web-editor .ed-sheet tbody textarea[data-edited=true]{border-left:0;background:#fffaf0;box-shadow:inset 0 -2px #d6ad63}
.web-editor .ed-sheet input:focus,.web-editor .ed-sheet textarea:focus{outline:2px solid #2e875a;outline-offset:-2px;position:relative;z-index:1;background:#fff}
.web-editor .ed-sheet tbody input[aria-invalid=true],.web-editor .ed-sheet tbody textarea[aria-invalid=true]{background:#fff0e9;box-shadow:inset 0 -2px #bf6550}
.ed-sheet td.ed-ctl{padding:8px 6px;font-size:11.5px;line-height:1.45;white-space:pre-line;color:#647387}
.ed-sheet td.ed-ctl[data-state=ok]{color:#006100}
.ed-sheet td.ed-ctl[data-state=warning]{color:#8a5300;background:#fffaf0}
.ed-sheet td.ed-ctl[data-state=blocker]{color:#9c0006;background:#fff1f2;font-weight:650}
.ed-sheet td.ed-act{text-align:center;padding-top:4px}
.ed-sheet td.editor-empty{padding:24px}
.ed-sheet tr.editor-hs-row>td{background:#f4f8f5}
.ed-sheet tfoot td,.ed-sheet tfoot th{border-color:transparent;padding:7px 6px;white-space:nowrap;background:#fff;font-size:13px;vertical-align:middle}
.ed-sheet tfoot tr.ed-gap td{height:6px;padding:0}
/* "Totaux et contrôle" = the workbook's control block (user rulings 2026-10-14/15): title and groups across A:M,
   five bands per row (Donnée right-aligned | document, yellow | calculated, grey | Écart | Statut); N stays blank. */
.ed-sheet tfoot tr.ed-block-title>td:first-child{background:#5b9bd5;color:#fff;font-weight:700;padding:0}
.ed-sheet tfoot tr.ed-block-group>td:first-child{background:#ddebf7;color:#1f4e79;font-weight:700;padding:0}
.ed-sheet tfoot tr.ed-block-title .ed-band,.ed-sheet tfoot tr.ed-block-group .ed-band{padding:6px 12px;line-height:1.4}
.ed-sheet tfoot tr.ed-block-head th{background:#ddebf7;color:#374151;font-weight:700;text-align:center;white-space:normal;line-height:1.3;padding:6px}
.ed-sheet tfoot tr.ed-item th.ed-label{text-align:right;font-weight:600;color:#33425a;white-space:normal;line-height:1.3;box-shadow:1px 0 0 #dfe6ec}
.ed-sheet tfoot tr.ed-item td,.ed-sheet tfoot tr.ed-item th,.ed-sheet tfoot tr.ed-block-head th{border-right:1px solid #fff;border-bottom:1px solid #fff}
.ed-sheet tfoot td.ed-document{background:#fff7d6;text-align:right;color:#33425a}
.ed-sheet tfoot td.ed-document.ed-input{padding:3px}
.ed-sheet tfoot td.ed-calculated{background:#ededed;text-align:right;font-weight:700;color:#1f2937}
.ed-sheet tfoot tr.ed-item-lines td.ed-calculated{white-space:normal;line-height:1.3}
.ed-sheet tfoot td.ed-difference{text-align:right}
.ed-sheet tfoot td.ed-difference[data-state=ok]{color:#006100;font-weight:700}
.ed-sheet tfoot td.ed-difference[data-state=mismatch]{color:#c00000;font-weight:700}
.ed-sheet tfoot td.ed-status{text-align:center;font-weight:700;white-space:normal;line-height:1.3;color:#1f2937}
.ed-sheet tfoot td.ed-status[data-state=ok]{background:#e2efda;color:#006100}
.ed-sheet tfoot td.ed-status[data-state=warning]{background:#ffeb9c;color:#9c6500}
.ed-sheet tfoot td.ed-status[data-state=blocker]{background:#ffc7ce;color:#9c0006}
/* Fret / Assurance carry no comparison; the line check has no document value and no difference: grey, as in the workbook. */
.ed-sheet tfoot tr.ed-item-charge td.ed-calculated,.ed-sheet tfoot tr.ed-item-charge td.ed-difference,.ed-sheet tfoot tr.ed-item-charge td.ed-status,.ed-sheet tfoot tr.ed-item-lines td.ed-document,.ed-sheet tfoot tr.ed-item-lines td.ed-difference{background:#ededed}
.web-editor .ed-sheet tfoot input[type=text]{width:100%;min-width:0;text-align:right;padding:5px 6px;font-family:inherit;font-size:13px;background:#fff7d6;border:1px solid #eadfb7;border-radius:5px;min-height:0}
.ed-sheet tfoot tr.ed-conclusion td,.ed-sheet tfoot tr.ed-note td{white-space:normal;padding:0}
.ed-sheet tfoot tr.ed-conclusion>td:first-child{background:#f3f6f4;color:#4b5f53;font-weight:700}
.ed-sheet tfoot tr.ed-conclusion[data-state=ok]>td:first-child{background:#e2efda;color:#006100}
.ed-sheet tfoot tr.ed-conclusion[data-state=warning]>td:first-child{background:#ffeb9c;color:#9c6500}
.ed-sheet tfoot tr.ed-conclusion[data-state=blocker]>td:first-child{background:#ffc7ce;color:#9c0006}
/* The conclusion stays readable when the sheet is scrolled sideways. */
.ed-band{position:sticky;left:0;max-width:min(100%,calc(100vw - 48px));padding:11px 14px;line-height:1.5}
.ed-sheet tfoot tr.ed-note td{color:#8b622c;font-size:12.5px}
.web-editor .ed-link{display:inline;background:transparent;border:0;padding:0;min-height:0;color:inherit;font:inherit;font-weight:700;line-height:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:normal}
.web-editor .ed-link:hover{background:transparent;color:inherit;text-decoration-thickness:2px}
.ed.is-pending tfoot td.ed-calculated,.ed.is-pending tfoot td.ed-difference,.ed.is-pending tfoot td.ed-status,.ed.is-pending tfoot tr.ed-conclusion td,.ed.is-pending td.ed-ctl{opacity:.55}
.ed-pagination{display:flex;justify-content:center;align-items:center;gap:10px;padding:10px 18px;font-size:12.5px;color:#647387}
.ed-pagination:empty{display:none}
.ed-foot{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:12px 18px;font-size:12.5px;line-height:1.5;color:#647387}
.ed-foot-count{white-space:nowrap;font-weight:600;color:#33425a}
.ed-feedback{margin:0;padding:0 18px 14px;font-size:13px;color:#226b47}
.ed-feedback:empty{display:none}
@media(max-width:860px){.ed-topbar{top:64px}}
@media(max-width:760px){.ed-topbar{position:static;padding:10px 12px}.web-editor .ed-name{flex-basis:100%}.ed-dossier{padding:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.ed-dossier .editor-field-wide{grid-column:1/-1}.ed-toolbar{padding:10px 12px}.web-editor .ed-search{flex-basis:100%}.ed-foot{flex-direction:column;padding:10px 12px}.ed-sheet .ed-sticky2{position:static;box-shadow:none}.ed-sheet-wrap{max-height:calc(100vh - 90px)}}
