#ep-hub-button{position:fixed;right:22px;bottom:22px;z-index:9000;border:0;border-radius:999px;padding:14px 22px;background:#216443;color:#fff;font-size:16px;font-weight:700;box-shadow:0 10px 30px #16402b44;cursor:pointer}
.ep-modal{display:none;position:fixed;inset:0;z-index:9100;background:#0b2118aa;padding:28px;overflow:auto}.ep-modal.show{display:block}
.ep-card{max-width:1000px;margin:0 auto;background:#f8fbf7;border-radius:24px;box-shadow:0 22px 70px #0005;overflow:hidden;color:#173629}
.ep-head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;background:#eaf4ec}.ep-head strong{display:block;font-size:24px}.ep-head small,.ep-row small{display:block;color:#668073;margin-top:5px}
.ep-tabs{display:flex;gap:8px;padding:14px 22px;border-bottom:1px solid #dbe7dd;overflow:auto}.ep-panel{padding:24px}.ep-panel h3{margin:0 0 18px;font-size:22px}.ep-panel hr{border:0;border-top:1px solid #dbe7dd;margin:22px 0}
.ep-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.ep-field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#496558}.ep-input{width:100%;box-sizing:border-box;border:1px solid #c9d9cc;border-radius:12px;background:#fff;padding:11px 12px;color:#173629;font:inherit}.ep-textarea{min-height:150px;resize:vertical}
.ep-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:#2f7150;color:#fff;padding:10px 15px;font-weight:700;text-decoration:none;cursor:pointer;white-space:nowrap}.ep-btn.secondary{background:#fff;color:#2f7150;border:1px solid #bed2c2}.ep-btn:disabled{opacity:.55}
.ep-toolbar,.ep-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ep-toolbar{margin-bottom:14px}.ep-list{display:grid;gap:10px}.ep-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dbe7dd;border-radius:15px;background:#fff;padding:14px}.ep-row p{margin:6px 0;white-space:pre-wrap}.ep-contract-row>div:first-child{min-width:0}.ep-contract-row .ep-actions{justify-content:flex-end}
.ep-preview{margin-top:18px;max-height:520px;overflow:auto;background:#fff;border:1px solid #dbe7dd;border-radius:14px;padding:20px;white-space:pre-wrap;line-height:1.68;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC",Arial,sans-serif}.ep-muted{color:#6f8178}.ep-error{color:#a43838}.ep-toast{position:fixed;top:22px;left:50%;transform:translateX(-50%);z-index:9300;background:#245f43;color:#fff;border-radius:12px;padding:12px 18px;box-shadow:0 8px 30px #0003}.ep-toast.bad{background:#a33b3b}
.ep-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.ep-stats>div{border:1px solid #d6e4d9;border-radius:16px;background:#fff;padding:16px}.ep-stats small{display:block;color:#6c8176}.ep-stats strong{display:block;margin-top:8px;font-size:20px;color:#1d6445}.ep-section{margin:14px 0;border:1px solid #d6e4d9;border-radius:16px;background:#fff;padding:0 18px 18px}.ep-section summary{cursor:pointer;padding:16px 0;font-weight:800;color:#205d41}.ep-table{display:grid;border:1px solid #dbe7dd;border-radius:13px;overflow:hidden}.ep-table>div{display:grid;grid-template-columns:1fr 1fr .7fr 1fr;gap:10px;padding:10px 12px;border-top:1px solid #e5eee7}.ep-table>div:first-child{border-top:0}.ep-table-head{background:#edf5ef;font-weight:700}.ep-paid{color:#25704e;font-weight:700}
@media(max-width:700px){#ep-hub-button{left:14px;right:auto;bottom:86px;padding:11px 16px;font-size:14px}.ep-modal{padding:8px}.ep-card{border-radius:16px}.ep-grid{grid-template-columns:1fr}.ep-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ep-table{overflow:auto}.ep-table>div{min-width:620px}.ep-panel{padding:16px}.ep-tabs{padding:10px}.ep-row{align-items:flex-start}.ep-contract-row{flex-direction:column}.ep-contract-row .ep-actions{width:100%;justify-content:flex-start}.ep-head{padding:16px}.ep-head strong{font-size:20px}}

.ep-live-note{margin-top:14px;padding:10px 12px;border-radius:12px;background:#eef7f0;color:#2b6b4a;font-weight:650}
