.sms-gateway{font:16px/1.4 system-ui,sans-serif;color:#183c35;max-width:1000px;margin:0 auto;padding:12px}.sms-gateway .sms-heading{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-bottom:8px}.sms-gateway h1{font-size:24px;margin:0}.sms-gateway h2{font-size:18px;margin:0 0 8px}.sms-gateway p{margin:8px 0}.sms-gateway .sms-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:start}.sms-gateway section{padding:8px;border:1px solid #bdcfca;border-radius:12px;background:#fff}.sms-gateway label{display:flex;align-items:center;gap:8px;min-height:44px}.sms-gateway input[type=checkbox]{width:20px;height:20px}.sms-gateway input[type=number]{width:90px;min-height:44px;font:inherit}.sms-gateway .sms-download{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font:inherit;padding:0 10px;border:1px solid #176d60;border-radius:8px;background:#176d60;color:#fff;text-decoration:none;cursor:pointer;height:30px;min-height:30px;line-height:18px;}.sms-gateway button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font:inherit;padding:0 12px;border:1px solid #176d60;border-radius:8px;background:#176d60;color:#fff;text-decoration:none;cursor:pointer;height:30px;min-height:30px;line-height:18px;}.sms-gateway .sms-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.sms-gateway .sms-events{display:grid;grid-template-columns:1fr 1fr;gap:0 8px}.sms-gateway output{display:block;overflow-wrap:anywhere;margin-top:8px}.sms-gateway .sms-log{margin-top:12px}.sms-gateway .sms-entry{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #dce6e3}.sms-gateway .sms-error{color:#a32228}.sms-gateway .sms-note{font-size:14px}.sms-gateway .sms-device{margin:8px 0}.sms-gateway code{font-size:20px;letter-spacing:1px}.sms-gateway button:disabled{opacity:.6}.sms-gateway .sms-log:empty{display:none}@media(max-width:700px){.sms-gateway{padding:8px}.sms-gateway .sms-grid{grid-template-columns:1fr}}

.sms-gateway .sms-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sms-gateway .sms-fields label{flex-wrap:wrap;gap:4px}.sms-gateway select{min-height:44px;font:inherit;max-width:100%}.sms-gateway .sms-preview{border-top:1px solid #dce6e3;padding:8px 0;overflow-wrap:anywhere}.sms-gateway [data-error]:empty,.sms-gateway output:empty{display:none}

.sms-gateway .sms-device{padding:6px 0;border-bottom:1px solid #dce6e3;overflow-wrap:anywhere}.sms-gateway .sms-endpoint{margin:4px 0;padding:4px 6px;background:#f4f8f6;border-radius:6px;min-width:0}.sms-gateway .sms-endpoint-enabled{min-height:28px;flex-wrap:wrap}.sms-gateway .sms-endpoint-fields{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:end}.sms-gateway .sms-endpoint-fields label{display:flex;flex-direction:column;align-items:start;gap:2px;flex:1 1 125px;min-width:0;font-size:13px}.sms-gateway .sms-endpoint-fields input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;font:inherit}.sms-gateway .sms-endpoint-fields span{font-size:12px;flex-basis:100%}.sms-gateway .sms-grid>section{min-width:0}.sms-gateway .sms-sender{font-size:13px}

.sms-gateway .sms-endpoint summary{cursor:pointer;min-height:30px;box-sizing:border-box;padding:4px 0;font-size:13px;line-height:22px}.sms-gateway .sms-endpoint[open]{padding-bottom:4px}

.sms-gateway .sms-events label,.sms-gateway .sms-grid>section>form>label:has(input[type=checkbox]){min-height:30px;line-height:1.25;padding:2px 0}

.sms-gateway .sms-message-note{margin-top:6px;font-size:14px}.sms-gateway .sms-message-note summary{min-height:30px;line-height:22px;padding:4px 0;box-sizing:border-box;cursor:pointer}
