.link-email-automation{margin-top:2rem;color:#1c2846;font:inherit}.link-email-automation h2{font-size:1.6rem}.link-email-automation h3{font-size:1.2rem}.link-email-automation [hidden],.ea-dialog [hidden]{display:none!important}.ea-card{padding:1rem;border:1px solid #dce2eb;background:#fff;border-radius:14px;margin-block:.8rem}.ea-card summary{cursor:pointer;font-weight:650}.ea-card details{margin-top:1rem}.ea-field{display:grid;gap:.4rem;margin-block:.8rem;font-weight:550;min-width:0}.ea-field small,.ea-help{font-size:.85rem;color:#5b6577;line-height:1.6;font-weight:400}.ea-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ea-title,.ea-actions,.ea-step header{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.ea-title{justify-content:space-between}.ea-button{border:1px solid #1c2846;background:#1c2846;color:white;padding:.65rem .9rem;border-radius:9px;font:inherit;font-size:.88rem;cursor:pointer;min-height:42px;line-height:1.35}.ea-button:focus-visible{outline:3px solid #8392f0;outline-offset:2px}.ea-secondary,.ea-token{background:#fff;color:#1c2846;border-color:#ccd5e3}.ea-button:disabled{opacity:.5;cursor:default}.ea-field input,.ea-field textarea,.ea-field select,.ea-actions select,.ea-actions input,.ea-table input{box-sizing:border-box;width:100%;max-width:100%;padding:.65rem .7rem;border:1px solid #cbd4e1;background:#fff;color:#1c2846;border-radius:8px;font:inherit;min-height:42px}.ea-field textarea{resize:vertical;line-height:1.6}.ea-actions select,.ea-actions input{width:auto;max-width:100%}.ea-toggle{display:flex;align-items:flex-start;gap:.6rem;margin:.7rem 0;font-size:.94rem;line-height:1.5}.ea-toggle input{margin-top:.3rem;flex-shrink:0}.ea-banner{padding:.8rem;border-radius:10px;background:#fff4d7;border:1px solid #eedca9}.ea-quota{font-size:.88rem;color:#546176}.ea-error{color:#a52525}.ea-scenario,.ea-journal,.ea-model{display:flex;gap:1rem;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}.ea-scenario p,.ea-journal p{margin:.4rem 0;overflow-wrap:anywhere}.ea-badge{display:inline-block;padding:.3rem .6rem;border-radius:20px;background:#eaf0ff;font-size:.8rem}.ea-model{padding:.7rem 0;border-bottom:1px solid #e5e9ef}.ea-model span{font-size:.85rem}.ea-table-scroll{overflow-x:auto}.ea-table{border-collapse:collapse;width:100%;font-size:.85rem}.ea-table td,.ea-table th{text-align:left;padding:.5rem}.ea-table input{min-width:70px}.ea-dialog{box-sizing:border-box;border:1px solid #d7dfeb;border-radius:18px;padding:0;width:min(900px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:92dvh;color:#1c2846;background:#f9fafc;font:16px/1.5 system-ui;overflow:auto}.ea-dialog::backdrop{background:#13223e85}.ea-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:1rem;position:sticky;top:0;background:white;padding:1rem 1.3rem;border-bottom:1px solid #dce2eb;z-index:1}.ea-dialog h2{font-size:1.2rem;margin:0}.ea-dialog-body{padding:1.3rem}.ea-dialog fieldset{border:1px solid #dce2eb;border-radius:12px;padding:1rem}.ea-days{display:flex;flex-wrap:wrap;gap:.8rem}.ea-step{background:#fff;border:1px solid #d8dfeb;border-radius:12px;padding:1rem;margin-block:1rem}.ea-step header{justify-content:space-between}.ea-step h4{margin:0}.ea-tokens{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.4rem}.ea-token{font-size:.75rem;min-height:30px;padding:.3rem .5rem}.ea-editor-footer{display:flex;justify-content:flex-end;gap:.8rem;margin-top:1.3rem;position:sticky;bottom:0;padding:1rem;background:#f9fafc;border-top:1px solid #dce2eb}.ea-email-preview{display:block;width:100%;height:320px;background:#fff;border:1px solid #dce2eb;border-radius:10px;box-sizing:border-box}@media(max-width:650px){.ea-grid{grid-template-columns:1fr;gap:0}.ea-dialog-body{padding:.9rem}.ea-dialog>header{padding:.8rem}.ea-title .ea-button,.ea-editor-footer .ea-button{flex:1}.ea-dialog{font-size:15px}.ea-scenario,.ea-journal{display:block}.ea-actions{margin-top:.5rem}.ea-actions .ea-button{flex:1}.ea-days{gap:.6rem}.ea-card{padding:.8rem}.ea-field input,.ea-field textarea,.ea-field select{font-size:16px}}
