
/* TNPFurniture 2.9 - Excel preflight only. No global layout overrides. */
.ep-excel-preflight-22{position:fixed;inset:0;z-index:2147481000;display:none;align-items:center;justify-content:center;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));background:rgba(2,6,12,.78);backdrop-filter:blur(10px)}
.ep-excel-preflight-22.active{display:flex}
.ep-excel-dialog-22{width:min(980px,100%);max-height:min(92vh,920px);overflow:auto;color:#f7f8fb;background:#111820;border:1px solid rgba(201,154,76,.52);border-radius:22px;box-shadow:0 28px 90px rgba(0,0,0,.58);font-size:clamp(14px,1.05vw,17px);line-height:1.42}
body:not(.dark-mode) .ep-excel-dialog-22{color:#111827;background:#fff;border-color:rgba(201,154,76,.62)}
.ep-excel-dialog-22>header{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:inherit;border-bottom:1px solid rgba(201,154,76,.26)}
.ep-excel-dialog-22>header span{display:block;color:#d6ad65;font-size:.75em;font-weight:900;letter-spacing:.09em}
.ep-excel-dialog-22 h3{margin:3px 0 2px;font-size:clamp(21px,2vw,29px);font-weight:900;line-height:1.18}
.ep-excel-dialog-22 p{margin:0;opacity:.72;font-weight:700;overflow-wrap:anywhere}
.ep-excel-close-22{flex:0 0 38px;width:38px;height:38px;border:0;border-radius:50%;color:inherit;background:rgba(255,255,255,.1)}
body:not(.dark-mode) .ep-excel-close-22{background:#eef1f5}
.ep-excel-summary-22{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:16px 22px 10px}
.ep-excel-summary-22>div{min-width:0;padding:11px 9px;border:1px solid rgba(201,154,76,.24);border-radius:14px;background:rgba(255,255,255,.045);text-align:center}
body:not(.dark-mode) .ep-excel-summary-22>div{background:#f7f8fa}
.ep-excel-summary-22 b{display:block;color:#d6ad65;font-size:1.45em;line-height:1;font-variant-numeric:tabular-nums}
.ep-excel-summary-22 span{display:block;margin-top:5px;font-size:.72em;font-weight:800;overflow-wrap:anywhere}
.ep-excel-identity-22{display:flex;align-items:center;gap:12px;margin:6px 22px 12px;padding:12px 14px;border-radius:14px;background:rgba(59,130,246,.12);border:1px solid rgba(96,165,250,.3)}
.ep-excel-identity-22>i{font-size:1.35em;color:#60a5fa}
.ep-excel-identity-22 b,.ep-excel-identity-22 span{display:block}.ep-excel-identity-22 span{margin-top:2px;opacity:.76;font-size:.85em;font-weight:700}
.ep-excel-mapping-22{margin:0 22px 12px;overflow:auto;max-height:250px;border:1px solid rgba(255,255,255,.12);border-radius:14px}
body:not(.dark-mode) .ep-excel-mapping-22{border-color:#d8dde5}
.ep-excel-mapping-22 table{width:100%;border-collapse:collapse;font-size:.88em}.ep-excel-mapping-22 th,.ep-excel-mapping-22 td{padding:9px 11px;border-bottom:1px solid rgba(255,255,255,.09);text-align:left;white-space:normal;overflow-wrap:anywhere}.ep-excel-mapping-22 th{position:sticky;top:0;background:#1c2631;color:#e6be76;font-weight:900}body:not(.dark-mode) .ep-excel-mapping-22 th{background:#edf1f5;color:#76531c}.ep-excel-mapping-22 tr:last-child td{border-bottom:0}
.ep-excel-issues-22{display:grid;gap:7px;margin:0 22px 15px}.ep-excel-issues-22>div{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border-radius:12px;font-weight:750;overflow-wrap:anywhere}.ep-excel-issues-22 .error{color:#fecaca;background:rgba(220,38,38,.2);border:1px solid rgba(248,113,113,.36)}.ep-excel-issues-22 .warning{color:#fde68a;background:rgba(217,119,6,.18);border:1px solid rgba(251,191,36,.32)}.ep-excel-issues-22 .success{color:#bbf7d0;background:rgba(22,163,74,.17);border:1px solid rgba(74,222,128,.3)}body:not(.dark-mode) .ep-excel-issues-22 .error{color:#991b1b}body:not(.dark-mode) .ep-excel-issues-22 .warning{color:#854d0e}body:not(.dark-mode) .ep-excel-issues-22 .success{color:#166534}
.ep-excel-dialog-22>footer{position:sticky;bottom:0;display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;padding:14px 22px 18px;background:inherit;border-top:1px solid rgba(201,154,76,.24)}
.ep-excel-dialog-22>footer label{margin-right:auto;min-width:min(420px,100%);font-size:.75em;font-weight:900}.ep-excel-dialog-22>footer select{display:block;width:100%;margin-top:5px;padding:10px 12px;color:inherit;background:#1a232d;border:1px solid rgba(201,154,76,.42);border-radius:11px;font:inherit;font-weight:800}body:not(.dark-mode) .ep-excel-dialog-22>footer select{background:#f4f6f8}
.ep-excel-dialog-22 button:disabled{cursor:not-allowed;opacity:.48}
@media(max-width:760px){.ep-excel-preflight-22{padding:7px}.ep-excel-dialog-22{max-height:96vh;border-radius:17px}.ep-excel-dialog-22>header{padding:15px 14px 12px}.ep-excel-summary-22{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 14px 8px}.ep-excel-identity-22,.ep-excel-mapping-22,.ep-excel-issues-22{margin-left:14px;margin-right:14px}.ep-excel-dialog-22>footer{align-items:stretch;flex-wrap:wrap;padding:12px 14px}.ep-excel-dialog-22>footer label{order:-1;min-width:100%}.ep-excel-dialog-22>footer .ops-button{flex:1 1 44%;white-space:normal}}
@media(max-width:420px){.ep-excel-summary-22{grid-template-columns:repeat(2,minmax(0,1fr))}.ep-excel-dialog-22 h3{font-size:20px}.ep-excel-mapping-22{max-height:210px}.ep-excel-dialog-22>footer .ops-button{font-size:13px;padding:9px 8px}}

