.eg-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh;background:#f5f7f8;color:#233b36;font-family:Inter,system-ui,sans-serif}.eg-sidebar{background:#103c30;color:#fff;padding:26px 18px}.eg-brand{font-size:22px;font-weight:750;margin-bottom:32px}.eg-sidebar p{font-size:11px;text-transform:uppercase;letter-spacing:1.3px;color:#b8c9c2;margin:28px 12px 10px}.eg-sidebar button{width:100%;border:0;text-align:left;color:#dce9e3;background:transparent;padding:13px 12px;border-radius:7px;font:inherit;margin:3px 0;cursor:pointer}.eg-sidebar button.active{background:#2c5945;color:#fff;border-left:3px solid #b5cf44}.eg-main{padding:30px 40px;max-width:1400px;min-width:0}.eg-preview{font-size:12px;background:#fff5d9;color:#624b0f;padding:12px 15px;border:1px solid #dfc983;border-radius:7px;margin-bottom:24px}.eg-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:24px}.eg-head h1{font-size:28px;margin:4px 0 8px;letter-spacing:-.5px}.eg-head p{margin:0;color:#5c6e68;line-height:1.6}.eg-breadcrumb{font-size:12px;color:#64766e}.eg-tabs{display:flex;gap:24px;border-bottom:1px solid #d8e2dc;margin-bottom:24px;overflow:auto}.eg-tabs button{background:none;border:0;padding:15px 0;color:#61716c;white-space:nowrap;font:inherit;cursor:pointer}.eg-tabs button.active{color:#15583d;border-bottom:3px solid #8aab27;font-weight:650}.eg-card{background:white;border:1px solid #dde5e0;border-radius:10px;padding:24px;margin-bottom:20px}.eg-card h2{font-size:19px;margin:0 0 12px}.eg-muted{color:#60726a;font-size:14px;line-height:1.65}.eg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.eg-stat{font-size:28px;font-weight:650;margin:9px 0}.eg-action{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.eg-btn{border:1px solid #c9d7ce;border-radius:7px;background:white;color:#254c3b;padding:11px 18px;font:inherit;font-weight:600;cursor:pointer}.eg-btn.primary{background:#1e5b40;color:white;border-color:#1e5b40}.eg-btn:focus-visible,.eg-sidebar button:focus-visible,.eg-tabs button:focus-visible{outline:3px solid #b1c94d;outline-offset:3px}.eg-btn:disabled{opacity:.5;cursor:not-allowed}.eg-tag{display:inline-block;border-radius:5px;background:#edf3e5;color:#3e6035;padding:5px 8px;font-size:12px;font-weight:600}.eg-row{display:flex;justify-content:space-between;gap:24px;align-items:center}.eg-row h3{margin:10px 0}.eg-steps{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 20px}.eg-steps li{flex:1;border-top:3px solid #d9e3dd;padding-top:10px;font-size:12px;color:#6b7973}.eg-steps li.active{border-color:#86a72d;color:#23583f;font-weight:650}.eg-field{border:0;border-bottom:1px solid #e4eae6;padding:18px 0;margin:0}.eg-field legend{font-weight:600;padding:0;line-height:1.5}.eg-field label{display:inline-flex;align-items:start;gap:8px;padding:9px 16px 9px 0;font-size:14px;line-height:1.4}.eg-field input[type=radio],.eg-field input[type=checkbox]{accent-color:#235c41;width:17px;height:17px;flex-shrink:0;margin:1px 0}.eg-field input[type=text],.eg-field textarea,.eg-field select{display:block;width:100%;padding:11px;margin-top:10px;border:1px solid #c4d3ca;border-radius:6px;box-sizing:border-box;font:inherit;color:#233b36;background:#fff}.eg-field textarea{min-height:90px}.eg-field.invalid{border-left:3px solid #a52f2f;padding-left:14px}.eg-error{color:#a12727;font-size:13px;margin:10px 0}.eg-review{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:13px 0;border-bottom:1px solid #e2e9e4;font-size:14px}.eg-table{width:100%;border-collapse:collapse;font-size:14px}.eg-table td,.eg-table th{text-align:left;padding:14px;border-bottom:1px solid #e2e9e4}.eg-table th{color:#65736d;font-weight:500}.eg-note{border-left:3px solid #829f30;padding-left:16px;line-height:1.6}.eg-form-title{max-width:800px}.eg-form-content{max-width:980px}.eg-preview small{display:block;margin-top:4px}.eg-empty{text-align:center;padding:35px 20px}.eg-empty h2{margin-top:10px}@media(max-width:800px){.eg-layout{grid-template-columns:1fr}.eg-sidebar{padding:15px 20px}.eg-brand{font-size:18px;margin:0}.eg-sidebar p,.eg-sidebar button{display:none}.eg-main{padding:20px 18px}.eg-head{display:block}.eg-head h1{font-size:25px}.eg-grid{grid-template-columns:1fr}.eg-card{padding:20px}.eg-row{display:block}.eg-steps{flex-wrap:wrap}.eg-steps li{min-width:26%}.eg-review{grid-template-columns:1fr}.eg-action{margin-top:16px}.eg-tabs{gap:20px}.eg-table-wrap{overflow:auto}.eg-field label{display:flex}.eg-preview{line-height:1.5}}
.eg-guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;list-style:none;margin:0 0 20px}.eg-guide-steps li{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink-500);font-weight:600}.eg-guide-steps li span{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);width:26px;height:26px;border-radius:50%;flex-shrink:0}.eg-guide-steps li.active{border-color:var(--brand-600);color:var(--brand-600);background:var(--brand-50)}.eg-guide-steps li.done span{background:var(--brand-600);color:white}.eg-guide-card{padding:24px;margin-bottom:20px}.eg-guide-card h2{font-size:17px;margin:0 0 20px}.eg-company-selected,.eg-company-label{padding:14px;margin:12px 0 0;border:1px solid var(--line);background:var(--brand-50);border-radius:8px}.eg-company-selected p{margin:6px 0 0}.eg-contact-summary{padding:16px;background:var(--bg);border-radius:8px;margin:16px 0}.eg-contact-summary p{margin:8px 0 0}.eg-review{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0}.eg-review dt{font-size:12px;font-weight:600;color:var(--ink-500);margin-bottom:6px}.eg-review dd{margin:0;overflow-wrap:anywhere}.eg-message-preview{background:var(--bg);border:1px solid var(--line);padding:16px;border-radius:8px;margin:18px 0}.eg-message-preview p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;line-height:1.5}.eg-send-status,.eg-inline-error{white-space:normal;display:block;line-height:1.5;padding:10px}.eg-branches{margin-top:20px}.eg-branches summary{cursor:pointer;font-weight:600;margin-bottom:12px}.eg-guide-card .eg-action{margin-top:24px}.eg-guide-card input,.eg-guide-card select{width:100%}@media(max-width:600px){.eg-guide-steps{grid-template-columns:1fr;gap:8px}.eg-guide-steps li{padding:12px}.eg-guide-card{padding:18px}.eg-review{grid-template-columns:1fr}.eg-guide-card .eg-action{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.eg-guide-card .eg-action .btn{min-height:44px}.eg-product-fields{grid-template-columns:1fr}}
.eg-guide-card>.btn{margin-top:16px}.eg-send-toggle{display:flex;align-items:flex-start;gap:10px;margin-top:24px;line-height:1.5}.eg-send-toggle input{width:18px;height:18px;flex:0 0 18px;margin-top:2px}.eg-guide-card h2{text-transform:none;letter-spacing:0;color:var(--ink-900)}.eg-review{margin-bottom:20px}
.eg-company-label{margin-bottom:16px}.eg-guide-card>p.sub{margin-top:12px;margin-bottom:16px}.eg-product-fields{gap:20px 24px}.eg-guide-card .field{margin-bottom:16px}.eg-send-toggle+p.sub{margin-top:8px}

.eg-company-results{border:1px solid var(--line,#d7e0df);border-radius:10px;max-height:330px;overflow:auto;padding:8px;background:var(--card,#fff)}.eg-company-results[hidden]{display:none}.eg-company-option{display:block;width:100%;padding:12px;text-align:left;background:transparent;border:0;border-radius:6px;color:inherit;font:inherit;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.eg-company-option:hover,.eg-company-option:focus{background:#e6f4ee;outline:2px solid #198467}.eg-company-results .sub{padding:8px;margin:0}
.eg-guide-card input[data-company-search]+.sub{margin:10px 0 14px;line-height:1.6}
.eg-error-panel{border-left:4px solid #a33e38;background:#fff5f4;margin-bottom:20px}.eg-error-panel h2{font-size:16px;margin:0 0 8px}.eg-error-panel p{margin:8px 0;line-height:1.5}
/* Painel de aplicações: ações alinhadas em telas compactas, sem larguras por texto. */
@media(max-width:600px){#eg-product-root .eg-guide-card .eg-action{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;justify-content:stretch;align-items:stretch;margin-top:20px}#eg-product-root .eg-guide-card .eg-action>.btn{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:48px;margin:0;padding:13px 16px;box-sizing:border-box;white-space:normal;line-height:1.4;text-align:center}#eg-product-root .eg-guide-card .field{min-width:0}#eg-product-root .eg-guide-card select{min-width:0;max-width:100%}}
