
.essg-open{display:inline-flex;align-items:center;justify-content:center;margin:12px 0 18px;padding:11px 22px;border:1px solid #171717;background:#fff;color:#171717;border-radius:4px;cursor:pointer;font-size:14px;font-weight:600;line-height:1.2;transition:.2s}
.essg-open:hover{background:#171717;color:#fff}
.essg-modal{display:none;position:fixed;inset:0;z-index:999999}
.essg-modal.is-open{display:block}
.essg-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(2px)}
.essg-dialog{position:relative;z-index:2;width:min(1120px,calc(100% - 28px));max-height:94vh;margin:3vh auto;background:#fff;border-radius:12px;box-shadow:0 25px 80px rgba(0,0,0,.35);overflow:hidden;display:flex;flex-direction:column}
.essg-close{position:absolute;right:15px;top:10px;width:42px;height:42px;border:0;background:transparent;color:#222;font-size:32px;line-height:42px;cursor:pointer;z-index:10}
.essg-top{text-align:center;padding:26px 60px 18px;border-bottom:1px solid #e7e7e7}
.essg-top h2{margin:0;font-size:28px;letter-spacing:.2px;color:#171717}
.essg-top p{margin:8px 0 0;color:#555;font-size:14px}
.essg-tabs{display:flex;gap:8px;padding:14px 28px 0;border-bottom:1px solid #ddd;overflow-x:auto;background:#fff}
.essg-tab{flex:0 0 auto;padding:13px 28px;border:1px solid #d8d8d8;border-bottom:0;border-radius:7px 7px 0 0;background:#f4f4f4;color:#333;font-size:14px;font-weight:700;letter-spacing:.5px;cursor:pointer}
.essg-tab.is-active{background:#171717;color:#fff;border-color:#171717}
.essg-content{overflow:auto;padding:22px 30px 8px;min-height:180px}
.essg-sheet-wrap{display:none}.essg-sheet-wrap.is-active{display:block}
.essg-sheet-heading{display:flex;align-items:center;gap:20px;margin:2px 0 20px}
.essg-sheet-heading span{height:1px;background:#d6d6d6;flex:1}
.essg-sheet-heading h3{font-size:20px;margin:0;color:#151515;text-align:center;white-space:nowrap}
.essg-table-scroll{overflow:auto;border:1px solid #ddd}
.essg-table{border-collapse:collapse;width:100%;min-width:620px;font-family:Arial,Helvetica,sans-serif;font-size:14px;background:#fff}
.essg-table td{border:1px solid #d4d4d4;padding:10px 12px;text-align:center;vertical-align:middle;height:25px;color:#222}
.essg-table .essg-title-row td{background:#f6f6f6;font-size:17px;font-weight:700;color:#171717;padding:13px}
.essg-table .essg-header-row td{background:#142b49!important;color:#fff!important;font-weight:700!important;font-size:14px;padding:12px 10px}
.essg-table .essg-note-row td{border:0;background:#fff;color:#555;text-align:left;font-size:12px;padding:5px 8px}
.essg-table .essg-spacer td{height:10px;border:0;background:#fff}
.essg-note-box{display:flex;gap:12px;align-items:flex-start;border:1px solid #ddd;border-radius:6px;padding:12px 14px;margin-top:15px;color:#444;font-size:12px;line-height:1.55}
.essg-note-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#142b49;color:#fff;font-weight:700;flex:0 0 28px}
.essg-footer{text-align:center;padding:15px 20px 20px}
.essg-close-btn{border:0;border-radius:4px;background:#171717;color:#fff;padding:12px 34px;font-size:13px;font-weight:700;cursor:pointer}
body.essg-lock{overflow:hidden}
@media(max-width:700px){
 .essg-dialog{width:calc(100% - 12px);max-height:96vh;margin:2vh auto;border-radius:9px}
 .essg-top{padding:21px 50px 15px}.essg-top h2{font-size:23px}
 .essg-tabs{padding:10px 12px 0;gap:5px}.essg-tab{padding:11px 16px;font-size:12px}
 .essg-content{padding:18px 12px 5px}.essg-sheet-heading{gap:10px}.essg-sheet-heading h3{font-size:16px}
 .essg-table{min-width:560px}
}
