/* ED 0.3.65 — scoped presentation. No financial calculation or source mutation. */
:root{--ed-row-white:#fff;--ed-row-mint:#eef8f3;--ed-row-hover:#ddeee6;--ed-table-head:#c7e7d8;--ed-table-head-text:#173f35;--ed-table-line:#b5d6c7;--ed-nav-height:78px;--ed-sticky-offset:142px}
body.ed-ui365 .app-shell{padding-top:var(--ed-nav-height)}
body.ed-ui365.ed-klm-layout .sidebar{position:fixed!important;inset:0 0 auto 0!important;width:100%!important;z-index:120!important;box-shadow:0 2px 10px #123b3622;overflow:visible!important}
body.ed-ui365.ed-klm-layout .topbar{position:sticky;top:var(--ed-nav-height);z-index:110;background:#fff}
body.ed-ui365 .sidebar nav a:focus-visible,body.ed-ui365 button:focus-visible,body.ed-ui365 input:focus-visible{outline:2px solid #188767;outline-offset:2px}
body.ed-ui365 .content{overflow:visible;max-width:100%}
body.ed-ui365 :is([id],input,button,select,summary,a){scroll-margin-top:calc(var(--ed-sticky-offset) + 12px)}
body.ed-ui365.ed-klm-layout .doc-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start;gap:16px!important}
body.ed-ui365 .doc-layout>.data-panel{position:relative;min-width:0;min-height:var(--ed-pdf-panel-height,0px)}
body.ed-ui365 .pdf-panel .panel-head{flex-wrap:wrap;gap:9px}
body.ed-ui365 .pdf-panel .panel-head p{overflow-wrap:anywhere}
body.ed-ui365 .pdf-pan-controls{flex-wrap:wrap}
body.ed-ui365 .pdfjs-viewport,body.ed-ui365 .pdf-placeholder,body.ed-ui365 .pdf-fallback .pdf-frame{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:210/297}
body.ed-ui365 .pdfjs-viewport{overflow:auto!important;overscroll-behavior:contain}
body.ed-ui365 .form-grid.two{min-width:0}
body.ed-ui365 .form-grid.two>label{min-width:0}
body.ed-ui365 .form-grid.two input,body.ed-ui365 .form-grid.two select{max-width:100%;min-width:0}
.ui365-data-original{min-width:0}.ui365-prices-open>.ui365-data-original{visibility:hidden;pointer-events:none}
.ui365-price-panel{position:absolute;top:0;left:0;width:100%;height:var(--ed-pdf-panel-height);max-width:50vw;max-height:var(--ed-pdf-panel-height);display:flex;flex-direction:column;min-height:0;border:1px solid #91c5ae;background:#fff;border-radius:12px;box-shadow:0 5px 24px #244e3620;z-index:15;overflow:hidden;box-sizing:border-box}
.ui365-price-panel[hidden]{display:none!important}
.ui365-price-head{padding:15px 13px 12px;background:#f1faf5;border-bottom:1px solid var(--ed-table-line);flex:none}
.ui365-price-head h2{font-size:18px;margin:0 0 5px}.ui365-price-head p{font-size:11px;line-height:1.4;color:#527369;margin:0}
.ui365-price-content{flex:1;min-height:0;display:flex}.ui365-price-view{display:flex;min-height:0}
.ui365-price-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;width:100%;scroll-padding-top:var(--ed-price-head-height,110px)}
.ui365-price-table{table-layout:fixed;width:100%;min-width:0;white-space:normal}
.ui365-price-table th{position:sticky;top:0;z-index:4;font-size:11px;padding:9px 5px;line-height:1.4;overflow-wrap:normal}
.ui365-price-table th small{display:block;font-size:10px;font-weight:400;text-align:center}
.ui365-price-table td{padding:9px 5px;font-size:12px;vertical-align:top}
.ui365-price-table .klm-cell{min-width:0}.ui365-price-table .klm-value{font-size:12px;white-space:normal;overflow-wrap:anywhere}
.ui365-price-table .klm-sales-input{min-width:0!important;max-width:100%;font-size:13px!important;width:100%!important}
.ui365-price-table .klm-name{font-size:12px;line-height:1.45;overflow-wrap:normal;hyphens:none}
.ui365-price-bottom{flex:none;border-top:1px solid var(--ed-table-line);padding:10px 12px;display:flex;gap:10px;align-items:center;justify-content:space-between;background:#f6fbf8}
.ui365-price-message{font-size:11px;line-height:1.45;text-align:left;white-space:normal;min-width:0}.ui365-price-message.error{color:#a12635}
/* A single physical cell keeps number, provenance and note under one header. */
body.ed-ui365 :is(.items-table,.klm-client-table,.klm-full-table,.klm-calculation-table,.ui365-price-table){border-collapse:separate;border-spacing:0}
body.ed-ui365 :is(.items-table,.klm-client-table,.klm-full-table,.klm-calculation-table,.ui365-price-table) th{background:var(--ed-table-head)!important;color:var(--ed-table-head-text)!important;text-align:center!important;vertical-align:middle!important;border-right:1px solid var(--ed-table-line);border-bottom:2px solid #9dcab6;white-space:normal;text-transform:none;font-size:11px;line-height:1.45;letter-spacing:0;font-weight:700}
body.ed-ui365 :is(.items-table,.klm-client-table,.klm-full-table,.klm-calculation-table,.ui365-price-table) td{border-right:1px solid #d5e6dd;border-bottom:1px solid #d7e8e0;vertical-align:top!important;background:var(--ed-current-row,#fff)!important;box-sizing:border-box}
body.ed-ui365 tr.ui365-row-white{--ed-current-row:var(--ed-row-white)}
body.ed-ui365 tr.ui365-row-mint{--ed-current-row:var(--ed-row-mint)}
body.ed-ui365 tr.ui365-item-row:hover{--ed-current-row:var(--ed-row-hover)}
body.ed-ui365 tr.ui365-item-row:focus-within{box-shadow:inset 3px 0 #218765}
body.ed-ui365 td.ui365-number{text-align:right;font-variant-numeric:tabular-nums}
body.ed-ui365 td.ui365-text{text-align:left}
body.ed-ui365 .ui365-cell-primary{min-height:36px;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:3px;text-align:left}
body.ed-ui365 td.ui365-number>.ui365-cell-primary{justify-content:flex-end;text-align:right;font-variant-numeric:tabular-nums}
body.ed-ui365 .ui365-cell-primary input{height:36px!important;box-sizing:border-box;max-width:100%}
body.ed-ui365 td.ui365-number input{text-align:right!important;font-variant-numeric:tabular-nums}
body.ed-ui365 .ui365-cell-meta{display:block;min-height:34px;text-align:left!important;font-size:10px;line-height:17px;white-space:normal;overflow-wrap:normal}
body.ed-ui365 .ui365-cell-meta:empty{min-height:34px}
body.ed-ui365 .ui365-cell-meta :is(small,.muted,.small,.ed-math-source,.klm-origin,.klm-field-state){text-align:left!important;line-height:17px;white-space:normal!important;min-height:17px}
body.ed-ui365 .klm-cell{grid-template-rows:36px minmax(34px,auto) minmax(17px,auto);row-gap:3px;align-content:start}
body.ed-ui365 .klm-cell>.klm-origin{min-height:34px;font-size:10px;color:#526c62!important;text-align:left!important}
body.ed-ui365 .klm-field-state{text-align:left!important;color:#526c62!important}
body.ed-ui365 .ui365-delta-line{display:flex;justify-content:space-between;align-items:flex-start;gap:4px;min-height:17px;font-size:10px;text-align:left}
body.ed-ui365 .ui365-delta-label{color:#647c72;font-weight:400;text-align:left;white-space:nowrap}
body.ed-ui365 .ui365-delta-line>.ed-math-delta{flex:1;min-width:0;text-align:right!important;font-variant-numeric:tabular-nums;margin:0!important;white-space:nowrap}
body.ed-ui365 .ed-math-source{font-size:10px;line-height:17px;text-align:left!important;white-space:normal!important}
body.ed-ui365 .klm-value{font-variant-numeric:tabular-nums;text-align:right}
body.ed-ui365 .klm-scroll{scroll-padding-top:120px}
body.ed-ui365 .klm-totals td,body.ed-ui365 .klm-totals th{background:#d9eee3!important;vertical-align:middle!important;text-align:right!important}
body.ed-ui365 .klm-totals th{text-align:left!important}
body.ed-ui365 .klm-calculation-table th:last-child{z-index:5}
/* Three read-only source/column comparisons; no pricing or model explanation. */
.ui365-controls-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ui365-total-card{border:1px solid #b9d9ca;border-radius:10px;min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#fff}
.ui365-total-card h3{padding:12px 14px;background:var(--ed-table-head);margin:0;font-size:15px;text-align:center;color:var(--ed-table-head-text)}
.ui365-total-card table{white-space:normal;font-size:13px}.ui365-total-card th{background:transparent;text-transform:none;letter-spacing:0;font-size:12px;padding:12px;text-align:left;color:#4a675c;width:55%}
.ui365-total-card td{text-align:right;font-weight:700;font-variant-numeric:tabular-nums;padding:12px;white-space:nowrap;font-size:15px}
.ui365-total-card .ui365-difference{background:#f4faf6}.ui365-card-notes{padding:3px 12px;min-height:40px;flex:1}
.ui365-card-notes p{font-size:11px;line-height:1.45;text-align:left;margin:5px 0;color:#536e62}
.ui365-total-card>button{margin:10px 12px 12px;align-self:stretch}
.ui365-client-control>.panel-head{align-items:center;flex-wrap:wrap}
.ui365-reconcile-list{max-height:220px;overflow:auto;border:1px solid var(--ed-table-line);padding:10px;font-size:12px;white-space:normal}
/* Documents: reserve actual action width, not a fragile tenth-child percentage. */
body.ed-ui365 .documents-table-wrap{overflow-x:auto!important;max-width:100%}
body.ed-ui365 table.documents-table{table-layout:fixed;width:100%;min-width:0!important}
body.ed-ui365 table.documents-table th,body.ed-ui365 table.documents-table td{width:auto!important;white-space:normal;overflow-wrap:anywhere;min-width:0;padding:10px 7px}
body.ed-ui365 table.documents-table th{background:var(--ed-table-head);color:var(--ed-table-head-text);text-align:center;letter-spacing:0}
body.ed-ui365 table.documents-table :is(th,td):nth-child(1){width:48px!important}
body.ed-ui365 table.documents-table :is(th,td):nth-child(3){width:21%!important;overflow-wrap:normal}
body.ed-ui365 table.documents-table :is(th,td):nth-child(4){width:15%!important}
body.ed-ui365 table.documents-table :is(th,td):nth-last-child(2){width:48px!important;text-align:center}
body.ed-ui365 table.documents-table .ui365-doc-actions-heading,body.ed-ui365 table.documents-table .ui365-doc-actions-cell{width:136px!important;min-width:136px}
body.ed-ui365 .ed-doc-actions{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px}
body.ed-ui365 .ed-doc-actions .small-btn{min-height:32px;min-width:54px}
.ui365-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.ed-ui365 .ed-modal-backdrop{z-index:9999}.klm-dialog{z-index:10000}
@media(max-width:1000px){body.ed-ui365.ed-klm-layout .content{padding:14px 12px}body.ed-ui365.ed-klm-layout .sidebar{padding:9px 12px;gap:7px 12px}body.ed-ui365 .ui365-price-table :is(th,td){padding-left:3px;padding-right:3px;font-size:10px}.ui365-price-table .klm-sales-input{padding:5px!important;font-size:11px!important}.ui365-price-table .klm-value{font-size:10px}.ui365-price-table .klm-name{font-size:11px;overflow-wrap:anywhere}.ui365-price-table .ui365-delta-label{display:none}.ui365-controls-grid{gap:8px}}
@media(max-width:700px){body.ed-ui365 .ui365-controls-grid{grid-template-columns:1fr}body.ed-ui365 .pdf-panel{padding:8px}.ui365-price-head{padding:8px}.ui365-price-head h2{font-size:14px}.ui365-price-table .klm-origin,.ui365-price-table .klm-field-state{font-size:9px!important;overflow-wrap:anywhere}.ui365-price-table input{font-size:10px!important}.ui365-price-bottom{padding:7px;flex-wrap:wrap}body.ed-ui365 table.documents-table .ui365-doc-actions-heading,body.ed-ui365 table.documents-table .ui365-doc-actions-cell{width:80px!important;min-width:80px}body.ed-ui365 .documents-table td,body.ed-ui365 .documents-table th{font-size:10px;padding:7px 3px}}
@media print{body.ed-ui365 .app-shell{padding:0!important}body.ed-ui365 .sidebar,body.ed-ui365 .topbar,.ui365-price-panel{display:none!important}body.ed-ui365 .klm-print-table th{text-align:center!important}body.ed-ui365 .klm-print-table td{text-align:right}body.ed-ui365 .klm-print-table .klm-name{text-align:left}body.ed-ui365 .klm-print-sheet .klm-recap small{text-align:left}}
/* Keep semantic mapping warnings visible on zebra rows; colour is not the only cue. */
body.ed-ui365 :is(.items-table,.klm-full-table) td:is(.article-code-unresolved,.article-status-unresolved){box-shadow:inset 3px 0 #b9404e;color:#8d2734}
body.ed-ui365 .klm-recap thead th{text-align:center;background:var(--ed-table-head);color:var(--ed-table-head-text);text-transform:none;letter-spacing:0}
body.ed-ui365 .klm-recap small{text-align:left;white-space:normal}
/* ED 0.3.68.1 FIX2: client math control action */
.ui365-client-control [data-ui365-recalculate]{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
