.fx-wa-page{box-sizing:border-box;width:100%;min-height:100%;padding:18px 20px 24px;background:#f6f8fb;color:#0b2d52;font:14px "Segoe UI",Arial,sans-serif}.fx-wa-page *{box-sizing:border-box}.fx-wa-breadcrumb{margin:0 6px 14px;color:#667b92;font-size:13px}.fx-wa-breadcrumb span{margin:0 10px;color:#9aabbd}.fx-wa-breadcrumb b{color:#0963d8}.fx-wa-header,.fx-wa-card{background:#fff;border:1px solid #dfe6ef;border-radius:12px;box-shadow:0 2px 8px rgba(25,55,90,.03)}.fx-wa-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 26px;margin-bottom:14px}.fx-wa-header h1{margin:0;font-size:30px;line-height:1.15;font-weight:700;color:#0a2b50}.fx-wa-header p{margin:7px 0 0;font-size:14px;color:#52677f}.fx-wa-card{padding:22px 24px;margin-bottom:14px}.fx-wa-section-title{margin:0 0 6px;font-size:20px;line-height:1.2;font-weight:700;color:#0b2d52}.fx-wa-section-subtitle{margin:0 0 18px;font-size:13px;color:#5c7087}.fx-wa-connection-layout{display:grid;grid-template-columns:minmax(0,1fr) 46%;gap:20px;align-items:stretch}.fx-wa-fields{display:grid;grid-template-columns:1.35fr .65fr 1fr;gap:14px;align-items:end}.fx-wa-field{display:block}.fx-wa-field>span,.fx-wa-field>label{display:block;margin-bottom:6px;font-size:12px;font-weight:600;color:#163b63}.fx-wa-field input,.fx-wa-field textarea{width:100%;border:1px solid #cfd9e6;border-radius:6px;background:#fff;color:#17395f;font:inherit}.fx-wa-field input{height:38px;padding:0 11px}.fx-wa-field textarea{min-height:70px;padding:10px 12px;resize:vertical}.fx-wa-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.fx-wa-button{min-height:38px;padding:0 16px;border-radius:6px;border:1px solid #8fb9f4;background:#fff;color:#0963d8;font:inherit;font-weight:600;cursor:pointer}.fx-wa-button-primary{border-color:#0b6bed;background:#0b6bed;color:#fff}.fx-wa-button-danger,.fx-wa-session-actions .is-danger{border-color:#ff6f6f;color:#e53232;background:#fff}.fx-wa-save{height:40px}.fx-wa-baileys button:disabled{opacity:.45;cursor:not-allowed}.fx-wa-switch-row{display:flex;align-items:center;gap:8px;height:38px}.fx-wa-switch-row input{appearance:none;width:42px;height:23px;padding:0;border:0;border-radius:14px;background:#aebdce;cursor:pointer}.fx-wa-switch-row input:checked{background:#1765dc}.fx-wa-switch-row input:after{content:"";display:block;width:19px;height:19px;margin:2px;border-radius:50%;background:#fff;transition:.15s}.fx-wa-switch-row input:checked:after{transform:translateX(19px)}.fx-wa-connection-side{display:grid;grid-template-columns:minmax(190px,.75fr) minmax(250px,1.25fr);gap:18px}.fx-wa-status-panel,.fx-wa-preview,.fx-wa-qr-box{border:1px solid #dbe5f0;border-radius:8px;background:#fbfcfe}.fx-wa-status-panel{display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:16px}.fx-wa-status-panel small{color:#607492}.fx-wa-qr-box{min-height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;border-style:dashed;color:#516981}.fx-wa-qr-box img{display:block;max-width:180px;max-height:180px;margin:0 auto 10px}.fx-wa-qr-box p{margin:0;line-height:1.6}.fx-wa-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:6px;font-size:12px;font-weight:600}.fx-wa-badge-waiting{background:#fff7e8;color:#d47b00;border:1px solid #ffd184}.fx-wa-badge-connected{background:#effaf2;color:#218344;border:1px solid #9edaae}.fx-wa-badge-error{background:#fff0f0;color:#c83232;border:1px solid #f3b0b0}.fx-wa-template-layout{display:grid;grid-template-columns:1.3fr .9fr 1fr;gap:20px;align-items:stretch}.fx-wa-message-field textarea{min-height:138px}.fx-wa-counter{margin-top:-20px;padding-right:8px;color:#718397;font-size:11px;text-align:right}.fx-wa-column-title{display:block;margin-bottom:6px;font-size:13px}.fx-wa-column-help{margin:0 0 10px;color:#607492;font-size:12px}.fx-wa-variable-list{display:flex;flex-wrap:wrap;gap:8px;align-content:flex-start}.fx-wa-variable{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid #c8dbf7;border-radius:6px;background:#f6faff;color:#0963d8;font-size:12px;cursor:pointer}.fx-wa-preview{padding:14px 16px;min-height:138px;color:#264563;background:#f8fbff;border-color:#cfe0f5}.fx-wa-preview>b{color:#0b4f9c;font-size:12px}.fx-wa-preview p{margin:12px 0 0;line-height:1.5}.fx-wa-bottom-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}.fx-wa-test-row{display:grid;grid-template-columns:230px minmax(0,1fr) auto;gap:12px;align-items:end}.fx-wa-phone{display:grid;grid-template-columns:34px 48px minmax(0,1fr);align-items:center;height:38px;border:1px solid #cfd9e6;border-radius:6px;overflow:hidden}.fx-wa-phone>span{display:grid;place-items:center;height:100%;border-right:1px solid #e1e7ef;background:#f8fafc}.fx-wa-phone input{height:36px;border:0}.fx-wa-test-card,.fx-wa-history{margin-bottom:0}.fx-wa-log-head,.fx-wa-log{display:grid;grid-template-columns:1.25fr 1fr .75fr;align-items:center}.fx-wa-log-head{border:1px solid #e1e7ef;background:#f8fafc;color:#334b65;font-size:12px}.fx-wa-log-head span,.fx-wa-log>*{padding:9px 10px}.fx-wa-log{border:1px solid #e5ebf2;border-top:0;font-size:12px}.fx-wa-log .is-ok{color:#218344}.fx-wa-log .is-fail{color:#c83232}.fx-wa-empty{min-height:84px;display:flex;align-items:center;justify-content:center;border:1px solid #e5ebf2;border-top:0;color:#718397;text-align:center}.fx-wa-notice,.fx-wa-error,.fx-wa-loading{margin:0 20px 14px;padding:11px 14px;border:1px solid #b9dfc3;border-radius:6px;background:#effaf2;color:#147536}.fx-wa-notice.is-error,.fx-wa-error{border-color:#efbdc2;background:#fff2f3;color:#b42332}@media(max-width:1250px){.fx-wa-connection-layout{grid-template-columns:1fr}.fx-wa-connection-side{grid-template-columns:.75fr 1.25fr}}@media(max-width:1100px){.fx-wa-connection-layout,.fx-wa-template-layout,.fx-wa-bottom-grid{grid-template-columns:1fr}.fx-wa-fields{grid-template-columns:1fr 1fr}.fx-wa-test-row{grid-template-columns:1fr}}@media(max-width:720px){.fx-wa-page{padding:14px}.fx-wa-header{align-items:flex-start;padding:18px;flex-direction:column}.fx-wa-header h1{font-size:28px}.fx-wa-card{padding:18px}.fx-wa-fields,.fx-wa-connection-side{grid-template-columns:1fr}}
