/* Start custom CSS for html, class: .elementor-element-7880aa5 */.em-smqtt{--smqtt-ink:#203a4c;--smqtt-muted:#556d7d;--smqtt-line:#d8e5eb;--smqtt-bg:#f3f8fb;font-family:inherit;color:var(--smqtt-ink);font-size:16px;line-height:1.76;max-width:1140px;margin:0 auto;overflow-wrap:break-word}
.em-smqtt *, .em-smqtt *::before,.em-smqtt *::after{box-sizing:border-box}
.em-smqtt h2{font-size:clamp(1.45rem,2.1vw,2rem);line-height:1.28;color:#163b55;margin:2.05em 0 .62em;letter-spacing:-.015em;font-weight:760;scroll-margin-top:98px}
.em-smqtt h3{font-size:clamp(1.08rem,1.5vw,1.27rem);line-height:1.35;color:#23455c;margin:1.38em 0 .5em;font-weight:730}
.em-smqtt p{margin:0 0 1.12em;line-height:1.77}
.em-smqtt ul,.em-smqtt ol{padding-left:25px;margin:15px 0 22px}
.em-smqtt li+li{margin-top:.5em}
.em-smqtt a{color:#0a6c98;text-decoration:underline;text-underline-offset:3px}
.em-smqtt a:focus-visible,.em-smqtt summary:focus-visible{outline:3px solid #1d92bd;outline-offset:3px;border-radius:4px}
.em-smqtt code{background:#e8f0f6;color:#193e56;font-size:.9em;padding:2px 5px;border-radius:5px;font-family:ui-monospace,Consolas,'Liberation Mono',monospace;overflow-wrap:anywhere}
.em-smqtt em{font-style:italic}
.em-smqtt__hero{border-radius:20px;padding:clamp(23px,3.7vw,43px);background:linear-gradient(132deg,#0e2c40 0%,#155773 62%,#087e7d 100%);color:#fff;box-shadow:0 15px 35px rgba(10,55,76,.14)}
.em-smqtt__eyebrow{font-size:.8rem!important;letter-spacing:.055em;color:#bde8ea!important;font-weight:750;text-transform:uppercase;margin:0 0 16px!important}
.em-smqtt__lead{color:#fff!important;font-size:clamp(1.08rem,1.8vw,1.27rem);line-height:1.67!important;margin:0 0 19px!important}
.em-smqtt__answer{border:1px solid rgba(223,243,248,.28);background:rgba(255,255,255,.115);padding:17px 20px;border-radius:12px;line-height:1.68}
.em-smqtt__answer strong{color:#fff}
.em-smqtt__chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}
.em-smqtt__chips span{display:inline-flex;align-items:center;line-height:1.2;padding:8px 11px;border:1px solid rgba(229,246,251,.34);border-radius:22px;color:#eefafd;font-size:.82rem}
.em-smqtt__toc{margin:26px 0 32px;border:1px solid var(--smqtt-line);border-radius:15px;background:var(--smqtt-bg);padding:22px 25px}
.em-smqtt__toc>strong{display:block;color:#1d3e52;margin-bottom:12px;font-size:1.13rem}
.em-smqtt__toc ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 28px;margin:0;padding-left:23px}
.em-smqtt__toc li{padding:0;margin:0}
.em-smqtt__toc a{font-size:.95rem}
.em-smqtt__notice{background:#fff7e8;border-left:4px solid #d5a348;border-radius:10px;padding:16px 19px;margin:20px 0;color:#524021}
.em-smqtt__notice--blue{background:#ecf6fc;border-left-color:#1384b4;color:#254e62}
.em-smqtt__notice--risk{background:#fff0ee;border-left-color:#bb5b4a;color:#66392f}
.em-smqtt__grid{display:grid;gap:15px;margin:22px 0}
.em-smqtt__grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.em-smqtt__grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.em-smqtt__card{border:1px solid var(--smqtt-line);background:#fff;border-radius:14px;padding:20px;min-width:0;box-shadow:0 5px 24px rgba(16,58,77,.035)}
.em-smqtt__card h3{font-size:1.08rem;margin:11px 0 9px}
.em-smqtt__card p{font-size:.95rem;margin:0;line-height:1.65}
.em-smqtt__number{display:inline-flex;width:37px;height:37px;align-items:center;justify-content:center;color:#0a7077;background:#e0f5f1;border-radius:10px;font-weight:800}
.em-smqtt__label{display:inline-flex;background:#e3f5ef;color:#167960;border-radius:17px;padding:5px 10px;font-weight:740;font-size:.78rem}
.em-smqtt__label--red{background:#ffefeb;color:#a24c3a}
.em-smqtt__diagram{border:1px solid #cedfea;background:linear-gradient(140deg,#f5fafc,#edf5f8);border-radius:16px;padding:25px 22px;margin:22px 0 27px}
.em-smqtt__diagramrow{display:flex;align-items:center;justify-content:center;gap:11px;min-width:0}
.em-smqtt__node{padding:13px 16px;border:1px solid #c2dce8;background:#fff;color:#1e475d;border-radius:11px;flex:0 1 250px;text-align:center;min-width:0}
.em-smqtt__node b{display:block;font-size:1rem}
.em-smqtt__node small{display:block;font-size:.8rem;color:#58778b;line-height:1.43;margin-top:4px}
.em-smqtt__node--dark{background:#163f57;color:#fff;border-color:#163f57}
.em-smqtt__node--dark small,.em-smqtt__node--blue small{color:#daf0fa}
.em-smqtt__node--blue{background:#106b82;color:#fff;border-color:#106b82}
.em-smqtt__line{flex:0 0 116px;font-size:.77rem;line-height:1.4;text-align:center;font-weight:700;color:#52788d;position:relative}
.em-smqtt__line:after{content:'→';font-size:1.5rem;display:block;line-height:1.05}
.em-smqtt__down{text-align:center;color:#177a91;font-size:1.4rem;padding:12px 0 8px;line-height:1.3}
.em-smqtt__down span{display:block;font-size:.78rem;font-weight:700;color:#55798b}
.em-smqtt__devices{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}
.em-smqtt__devices div{padding:10px 12px;border-radius:9px;background:#e3f5f0;color:#21665c;border:1px solid #beded6;font-size:.87rem;font-weight:650}
.em-smqtt__diagram>p{font-size:.82rem;color:#617987;text-align:center;margin:15px 0 0}
.em-smqtt__diagram--vpn .em-smqtt__node--bottom{max-width:240px;margin:auto}
.em-smqtt__steps{list-style:none;counter-reset:smqtt-step;display:grid;gap:11px;padding:0!important;margin:19px 0 25px!important}
.em-smqtt__steps li{counter-increment:smqtt-step;position:relative;border:1px solid var(--smqtt-line);border-left:4px solid #129596;background:#fff;padding:15px 18px 15px 56px;border-radius:11px;margin:0!important;line-height:1.65}
.em-smqtt__steps li:before{content:counter(smqtt-step);position:absolute;left:16px;top:16px;width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:#e1f7f4;color:#096d73;font-size:.84rem;font-weight:800;border-radius:7px}
.em-smqtt__compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:21px 0}
.em-smqtt__compare>div{display:flex;flex-direction:column;gap:9px;padding:20px;background:#f1f7fb;border:1px solid #cee0e9;border-radius:11px}
.em-smqtt__compare strong{color:#1e526e}
.em-smqtt__compare span{color:#4c6576;font-size:.93rem;line-height:1.6}
.em-smqtt__tablewrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--smqtt-line);border-radius:13px;margin:20px 0 24px}
.em-smqtt__tablewrap table{width:100%;min-width:640px;margin:0!important;border:0!important;border-collapse:collapse;font-size:.92rem;line-height:1.53}
.em-smqtt__tablewrap thead th{background:#155471;color:#fff;text-align:left;font-weight:750}
.em-smqtt__tablewrap th,.em-smqtt__tablewrap td{padding:13px 14px;vertical-align:top;border-right:1px solid #dbe6ea;border-bottom:1px solid #dbe6ea}
.em-smqtt__tablewrap td:first-child{font-weight:700;color:#24465b}
.em-smqtt__tablewrap tbody tr:nth-child(even){background:#f5f9fb}
.em-smqtt__tablewrap tbody tr:last-child td{border-bottom:0}
.em-smqtt__code{white-space:pre;max-width:100%;overflow:auto;background:#142c3c;color:#e7f5fd;border-radius:12px;padding:18px 20px;margin:18px 0}
.em-smqtt__code code{display:block;background:transparent;color:inherit;white-space:pre;overflow-wrap:normal;padding:0;font-size:.89rem}
.em-smqtt__checklist{list-style:none;padding:0!important;display:grid;gap:9px;margin:18px 0!important}
.em-smqtt__checklist li{margin:0!important;position:relative;border:1px solid #d2e7de;background:#f2faf6;border-radius:10px;padding:12px 13px 12px 40px;line-height:1.57}
.em-smqtt__checklist li:before{content:'✓';position:absolute;left:14px;top:11px;font-weight:900;color:#147b69}
.em-smqtt__faq{display:grid;gap:10px;margin:20px 0 28px}
.em-smqtt__faq details{border:1px solid #dae6eb;background:#fff;border-radius:12px;padding:0 19px}
.em-smqtt__faq summary{cursor:pointer;list-style:none;position:relative;padding:16px 26px 16px 0;color:#234354;font-weight:740;line-height:1.45}
.em-smqtt__faq summary::-webkit-details-marker{display:none}
.em-smqtt__faq summary:after{content:'+';position:absolute;right:0;top:12px;color:#168292;font-size:1.26rem}
.em-smqtt__faq details[open] summary:after{content:'−'}
.em-smqtt__faq details p{border-top:1px solid #ecf2f4;padding:13px 0 16px;margin:0;line-height:1.67}
.em-smqtt__related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:19px 0 27px}
.em-smqtt__related a{display:flex;flex-direction:column;gap:7px;border:1px solid #d3e3eb;background:#f4f9fb;border-radius:12px;padding:16px 18px;min-width:0;text-decoration:none!important}
.em-smqtt__related strong{color:#174b68;line-height:1.4}
.em-smqtt__related span{color:#247791;font-size:.85rem;line-height:1.5}
.em-smqtt__related a:hover{background:#e9f5fa}
.em-smqtt__cta{display:grid;grid-template-columns:minmax(0,1fr) 216px;gap:25px;align-items:center;padding:clamp(23px,3.5vw,38px);margin:35px 0 22px;background:linear-gradient(135deg,#123e58,#097381);border-radius:18px;color:#fff}
.em-smqtt__cta h2{color:#fff;margin:10px 0 15px;font-size:clamp(1.35rem,2vw,1.76rem)}
.em-smqtt__cta p{color:#e0f3f6;margin:0 0 12px;line-height:1.64}
.em-smqtt__cta-label{color:#c5f1e8;font-weight:700;font-size:.85rem}
.em-smqtt__cta-sub{font-size:.86rem;opacity:.94}
.em-smqtt__cta-actions{display:grid;gap:10px}
.em-smqtt__cta-actions a{display:block;background:#fff;color:#14516a!important;font-weight:750;text-align:center;padding:13px 11px;text-decoration:none!important;border-radius:10px;line-height:1.4}
.em-smqtt__cta-actions a:first-child{background:#d3f6e8;color:#195348!important}
.em-smqtt__cta-actions a:hover{filter:brightness(.93)}
.em-smqtt__sources{border-top:1px solid var(--smqtt-line);padding-top:16px;margin-top:25px;color:#617989;font-size:.84rem}
@media(max-width:950px){.em-smqtt__grid--three{grid-template-columns:repeat(2,minmax(0,1fr))}.em-smqtt__cta{grid-template-columns:1fr}.em-smqtt__cta-actions{display:flex;flex-wrap:wrap}.em-smqtt__cta-actions a{flex:1 1 175px}}
@media(max-width:650px){.em-smqtt__toc ol,.em-smqtt__grid--three,.em-smqtt__grid--two,.em-smqtt__compare,.em-smqtt__related{grid-template-columns:1fr}.em-smqtt__hero{border-radius:15px}.em-smqtt__toc{padding:18px}.em-smqtt h2{margin-top:1.8em}.em-smqtt__diagram{padding:19px 13px}.em-smqtt__diagramrow{flex-direction:column;gap:6px}.em-smqtt__node{flex:auto;width:100%;max-width:270px}.em-smqtt__line{flex:auto}.em-smqtt__line:after{transform:rotate(90deg)}.em-smqtt__tablewrap:after{content:'Таблица прокручивается по горизонтали';display:block;text-align:center;background:#f0f7fa;padding:7px;color:#5b7383;font-size:.74rem}.em-smqtt__cta-actions{display:grid}.em-smqtt__cta-actions a{flex:auto}}
@media(max-width:380px){.em-smqtt__steps li{padding:14px 12px 14px 49px}.em-smqtt__steps li:before{left:11px}.em-smqtt__faq details{padding:0 13px}.em-smqtt__chips span{font-size:.76rem}.em-smqtt__notice{padding:13px 14px}}
@media(prefers-reduced-motion:reduce){.em-smqtt *{scroll-behavior:auto!important;transition:none!important}}

/* MQTT-specific diagrams and preformatted examples */
.em-smqtt__diagramrow--second{padding-top:20px;border-top:1px solid #cee0e9;margin-top:20px}
@media(max-width:880px){.em-smqtt__diagramrow--second{flex-wrap:wrap}.em-smqtt__diagramrow--second .em-smqtt__node{flex-basis:100%}.em-smqtt__diagramrow--second .em-smqtt__line{flex-basis:100%;padding:3px 0}.em-smqtt__diagramrow--second .em-smqtt__line:after{content:'↓'}}
@media(max-width:480px){.em-smqtt__code{padding:14px 13px;font-size:.78rem}}/* End custom CSS */