/* Scoped widget styles. No host-page or demo rules. */
#nw123-widget{--nw123-green:#5f8c00;--nw123-deep:#315b14;--nw123-gold:#ddac00;--nw123-ink:#352000;--nw123-cream:#fbfaf5;--nw123-line:#e7e5dd;--nw123-shadow:0 20px 65px #24341529}
#nw123-widget *{box-sizing:border-box}
#nw123-widget{box-sizing:border-box;margin:0;color:var(--nw123-ink);background:var(--nw123-cream);font:16px/1.5 "Segoe UI",Arial,sans-serif}
#nw123-widget button,#nw123-widget a{font:inherit;-webkit-tap-highlight-color:transparent}
#nw123-widget button{cursor:pointer;border:0;color:inherit}
#nw123-widget a{color:inherit;text-decoration:none}
#nw123-widget button:focus-visible,#nw123-widget a:focus-visible{outline:3px solid #719d22;outline-offset:4px}
#nw123-widget svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
#nw123-widget p,#nw123-widget h1,#nw123-widget h2,#nw123-widget h3{margin-top:0}
#nw123-widget [hidden]{display:none!important}
#nw123-widget .nw123-eyebrow{font-size:11px;color:var(--nw123-deep);font-weight:750;letter-spacing:1.3px;text-transform:uppercase}
#nw123-widget .nw123-gold{display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(115deg,#efd468,#ddac00,#efca39,#ddac00);background-size:260% 260%;animation:nw123-gradient 7s ease infinite;color:#352000;font-weight:750;border-radius:15px;padding:16px 20px;transition:transform .2s,box-shadow .2s}
#nw123-widget .nw123-gold:hover{transform:translateY(-2px);box-shadow:0 8px 20px #ddac0040}
#nw123-widget .nw123-gold:active{transform:translateY(0)}
#nw123-widget .nw123-launcher{position:fixed;right:30px;bottom:max(28px,env(safe-area-inset-bottom));z-index:99;display:flex;align-items:center;gap:12px;width:348px;min-height:88px;padding:11px 12px;background:linear-gradient(115deg,#fffef9,#f7f5e4);border:2px solid var(--nw123-green);border-radius:60px;box-shadow:0 12px 40px #31421c24;text-align:left;transition:transform .25s,box-shadow .25s}
#nw123-widget .nw123-launcher:hover{transform:translateY(-4px);box-shadow:0 16px 42px #31421c35}
#nw123-widget .nw123-avatar{width:62px;height:62px;flex:none;border-radius:50%;background:#eef1e6;overflow:hidden;border:1px solid #e7e3d6}
#nw123-widget .nw123-avatar img{width:100%;height:100%;object-fit:cover;object-position:center top;transform:scale(1.1);transform-origin:50% 0}
#nw123-widget .nw123-launcher-copy{flex:1;min-width:0}
#nw123-widget .nw123-launcher-copy strong{display:block;font-size:14px;line-height:1.3}
#nw123-widget .nw123-launcher-phone{display:block;margin-top:5px;font-size:14px;font-weight:750;color:var(--nw123-deep);white-space:nowrap}
#nw123-widget .nw123-launcher-icon{width:60px;height:60px;flex:none;display:grid;place-items:center;position:relative;border-radius:50%;background:linear-gradient(120deg,#638f0b,#315b14);color:white;box-shadow:0 0 0 3px #e6c23b;isolation:isolate}
#nw123-widget .nw123-launcher-icon:before,#nw123-widget .nw123-launcher-icon:after{content:"";position:absolute;inset:-4px;border:2px solid #d9b11c;border-radius:50%;z-index:-1;pointer-events:none;animation:nw123-pulse 3s ease-out infinite}
#nw123-widget .nw123-launcher-icon:after{animation-delay:1.5s}
#nw123-widget .nw123-launcher-icon svg{width:29px;height:29px;animation:nw123-nudge 4.5s ease-in-out infinite}
#nw123-widget .nw123-launcher.nw123-switching .nw123-launcher-copy{animation:nw123-copyEnter .5s ease both}
#nw123-widget .nw123-launcher.nw123-switching .nw123-launcher-icon svg{animation:nw123-iconEnter .55s ease both}
#nw123-widget dialog{padding:0;position:fixed;border:1px solid #eae5d4;border-radius:27px;color:var(--nw123-ink);background:#fff;box-shadow:var(--nw123-shadow);max-height:calc(100dvh - 32px);overflow:auto;animation:nw123-popupEnter .5s cubic-bezier(.16,1,.3,1)}
#nw123-widget dialog::backdrop{background:#1b2c2a70;backdrop-filter:blur(7px);animation:nw123-fade .25s ease}
#nw123-widget .nw123-doctor-popup{width:min(500px,calc(100% - 32px));margin:0;left:auto;top:auto;right:28px;bottom:28px;padding:14px}
#nw123-widget .nw123-close{width:42px;height:42px;position:absolute;right:12px;top:12px;border-radius:50%;background:#fffffff2;z-index:3;display:grid;place-items:center;box-shadow:0 2px 10px #35200009;transition:background .2s,transform .2s}
#nw123-widget .nw123-close:hover{background:#eaf1da;transform:rotate(8deg)}
#nw123-widget .nw123-doctor-head{position:relative;overflow:hidden;min-height:258px;padding:25px 210px 22px 23px;border-radius:18px;background:radial-gradient(ellipse at 83% 15%,#f5e8a8,transparent 65%),linear-gradient(115deg,#fffdf5,#eef4df)}
#nw123-widget .nw123-doctor-head:before,#nw123-widget .nw123-doctor-head:after{content:"";position:absolute;width:42px;height:92px;right:9px;bottom:35px;transform:rotate(24deg);border-radius:100% 0 100% 0;background:#6e932138;pointer-events:none}
#nw123-widget .nw123-doctor-head:after{right:34px;bottom:15px;width:28px;height:78px;transform:rotate(-24deg);background:#49751c29}
#nw123-widget .nw123-doctor-head .nw123-eyebrow{font-size:10px;letter-spacing:.6px;position:relative;z-index:1}
#nw123-widget .nw123-doctor-head h2{font-size:29px;line-height:1.08;letter-spacing:-.6px;margin:14px 0 15px;position:relative;z-index:1}
#nw123-widget .nw123-doctor-head p{font-size:14px;line-height:1.5;margin:0 0 20px;position:relative;z-index:1}
#nw123-widget .nw123-doctor-head strong{display:block;font-size:13px;line-height:1.4;position:relative;z-index:1}
#nw123-widget .nw123-doctor-head small{display:block;font-size:11px;margin-top:4px;position:relative;z-index:1}
#nw123-widget .nw123-doctor-photo{position:absolute;right:-3px;bottom:0;width:212px;height:245px;z-index:1;pointer-events:none}
#nw123-widget .nw123-doctor-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
#nw123-widget .nw123-doctor-popup>.nw123-gold{width:100%;margin:11px 0}
#nw123-widget .nw123-channels{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:8px}
#nw123-widget .nw123-channel{display:flex;align-items:center;justify-content:center;gap:7px;padding:13px 8px;min-height:61px;background:white;border:1px solid var(--nw123-line);border-radius:14px;font-size:12px;font-weight:650;transition:background .2s,transform .2s}
#nw123-widget .nw123-channel small{display:block;font-size:11px;font-weight:400;white-space:nowrap}
#nw123-widget .nw123-channel svg{width:20px;height:20px;color:var(--nw123-deep)}
#nw123-widget .nw123-channel:hover{background:#f3f7e8;transform:translateY(-2px)}
#nw123-widget .nw123-later{display:block;width:100%;background:none;color:#746f66;font-size:12px;padding:10px 0 0}
#nw123-widget .nw123-numbers-popup{width:min(460px,calc(100% - 28px));padding:28px;margin:auto}
#nw123-widget .nw123-back{display:flex;align-items:center;gap:5px;background:none;padding:0;margin:0 0 22px;font-size:13px;color:#746f66}
#nw123-widget .nw123-numbers-popup h2{font-size:27px;line-height:1.1;margin:0 30px 12px 0}
#nw123-widget .nw123-numbers-popup p{font-size:14px;color:#746f66;margin-bottom:22px}
#nw123-widget .nw123-phone-option{display:flex;align-items:center;gap:13px;padding:18px 14px;border:1px solid #dde5ce;background:linear-gradient(120deg,#f5f8ed,#fffdf4);border-radius:16px;margin:10px 0;transition:transform .2s,border-color .2s}
#nw123-widget .nw123-phone-option:hover{transform:translateY(-2px);border-color:#87a84a}
#nw123-widget .nw123-phone-option .nw123-phone-icon{width:40px;height:40px;border-radius:50%;background:#e9f0dc;color:var(--nw123-deep);display:grid;place-items:center;flex:none}
#nw123-widget .nw123-phone-option small{display:block;font-size:12px;color:#746f66;margin-bottom:4px}
#nw123-widget .nw123-phone-option strong{display:block;font-size:23px;white-space:nowrap;letter-spacing:-.3px;color:var(--nw123-deep)}
#nw123-widget .nw123-phone-option .nw123-arrow{margin-left:auto;color:#67863a}
#nw123-widget .nw123-numbers-popup .nw123-telegram-link{display:flex;gap:8px;align-items:center;justify-content:center;color:var(--nw123-deep);font-size:14px;margin:24px 0 0;text-decoration:underline;text-underline-offset:4px}
#nw123-widget .nw123-hint{font-size:11px!important;margin:16px 0 0!important;line-height:1.6}
@keyframes nw123-gradient{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@keyframes nw123-pulse{0%{opacity:.6;transform:scale(.97)}85%,100%{opacity:0;transform:scale(1.42)}}
@keyframes nw123-nudge{0%,65%,100%{transform:rotate(0)}70%{transform:rotate(-15deg)}77%{transform:rotate(12deg)}84%{transform:rotate(-8deg)}90%{transform:rotate(0)}}
@keyframes nw123-iconEnter{from{opacity:0;transform:translateY(9px) rotate(-35deg) scale(.5)}to{opacity:1;transform:none}}
@keyframes nw123-copyEnter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes nw123-popupEnter{from{opacity:0;transform:translateY(35px) scale(.94)}to{opacity:1;transform:none}}
@keyframes nw123-fade{from{opacity:0}to{opacity:1}}
@media (max-width:700px){#nw123-widget .nw123-launcher{right:14px;bottom:max(20px,env(safe-area-inset-bottom));width:min(330px,calc(100% - 28px));min-height:78px;padding:9px 11px;gap:9px}
#nw123-widget .nw123-avatar{width:52px;height:52px}
#nw123-widget .nw123-launcher-copy strong{font-size:13px}
#nw123-widget .nw123-launcher-phone{font-size:13px}
#nw123-widget .nw123-launcher-icon{width:50px;height:50px}
#nw123-widget .nw123-launcher-icon svg{width:25px;height:25px}
#nw123-widget .nw123-doctor-popup{right:12px;bottom:12px;width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:10px}
#nw123-widget .nw123-doctor-head{padding:22px 140px 20px 16px;min-height:248px}
#nw123-widget .nw123-doctor-head h2{font-size:25px}
#nw123-widget .nw123-doctor-head p{font-size:13px}
#nw123-widget .nw123-doctor-photo{width:145px;height:225px}
#nw123-widget .nw123-doctor-head strong{font-size:12px}
#nw123-widget .nw123-doctor-head small{font-size:11px}
#nw123-widget .nw123-channels{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#nw123-widget .nw123-channel{flex-direction:column;padding:10px 5px;text-align:center;font-size:11px;min-width:0}
#nw123-widget .nw123-channel small{font-size:10px;white-space:normal}
#nw123-widget .nw123-numbers-popup{padding:25px 19px}
#nw123-widget .nw123-phone-option{padding:16px 10px;gap:9px}
#nw123-widget .nw123-phone-option strong{font-size:21px}
#nw123-widget .nw123-phone-option .nw123-phone-icon{width:34px;height:34px}
#nw123-widget .nw123-phone-option .nw123-arrow{width:18px;height:18px}}
@media (max-width:360px){#nw123-widget .nw123-launcher-copy strong{font-size:12px}
#nw123-widget .nw123-launcher-phone{font-size:12px}
#nw123-widget .nw123-avatar{width:47px;height:47px}
#nw123-widget .nw123-launcher-icon{width:46px;height:46px}
#nw123-widget .nw123-doctor-head{padding-right:113px}
#nw123-widget .nw123-doctor-head h2{font-size:23px}
#nw123-widget .nw123-doctor-head p{font-size:12px}
#nw123-widget .nw123-doctor-photo{width:118px;height:210px}
#nw123-widget .nw123-phone-option strong{font-size:20px}
#nw123-widget .nw123-phone-option .nw123-phone-icon{width:30px;height:30px}
#nw123-widget .nw123-numbers-popup h2{font-size:25px}}
@media (prefers-reduced-motion:reduce){#nw123-widget *,#nw123-widget *:before,#nw123-widget *:after{animation:none!important;transition:none!important}
#nw123-widget .nw123-launcher-icon:before,#nw123-widget .nw123-launcher-icon:after{display:none}}
#nw123-widget .nw123-doctor-head .nw123-eyebrow{font-size:12px}
#nw123-widget .nw123-doctor-head p{font-size:15px}
#nw123-widget .nw123-doctor-head strong{font-size:14px}
#nw123-widget .nw123-doctor-head small{font-size:13px;line-height:1.5}
#nw123-widget .nw123-channel{font-size:14px;min-height:68px}
#nw123-widget .nw123-channel small{font-size:12px}
#nw123-widget .nw123-later{font-size:14px;padding:13px 0 3px}
#nw123-widget .nw123-phone-option small{font-size:14px}
#nw123-widget .nw123-hint{font-size:13px!important;color:#625b50!important}
#nw123-widget .nw123-numbers-popup p{font-size:15px}
#nw123-widget .nw123-back{font-size:14px}
#nw123-widget .nw123-channel svg{width:22px;height:22px}
@media (max-width:700px){#nw123-widget .nw123-doctor-head{padding-right:140px}
#nw123-widget .nw123-doctor-head p{font-size:14px}
#nw123-widget .nw123-doctor-head strong{font-size:14px}
#nw123-widget .nw123-doctor-head small{font-size:13px}
#nw123-widget .nw123-channel{font-size:13px;line-height:1.35;min-height:80px}
#nw123-widget .nw123-channel small{font-size:12px}
#nw123-widget .nw123-launcher-copy strong,#nw123-widget .nw123-launcher-phone{font-size:14px}}
@media (max-width:360px){#nw123-widget .nw123-doctor-head{padding-right:113px}
#nw123-widget .nw123-doctor-head h2{font-size:23px}
#nw123-widget .nw123-launcher-copy strong,#nw123-widget .nw123-launcher-phone{font-size:13px}
#nw123-widget .nw123-channel{font-size:13px}
#nw123-widget .nw123-phone-option strong{font-size:20px}}
#nw123-widget #nw123-doctor-description{display:grid;min-height:0;margin-bottom:12px}
#nw123-widget #nw123-doctor-description:before{content:attr(data-nw123-copy);visibility:hidden;grid-area:1/1}
#nw123-widget #nw123-typed-description{grid-area:1/1}
#nw123-widget .nw123-typing #nw123-typed-description:after{content:"";display:inline-block;width:2px;height:1em;background:var(--nw123-deep);margin-left:3px;vertical-align:-2px;animation:nw123-cursorBlink .65s steps(1) infinite}
#nw123-widget .nw123-doctor-head h2{min-height:0}
@keyframes nw123-cursorBlink{50%{opacity:0}}
@media (max-width:700px){#nw123-widget .nw123-doctor-head h2{min-height:0}
#nw123-widget #nw123-doctor-description{min-height:0;margin-bottom:12px}}
#nw123-widget .nw123-launcher-open{position:absolute;inset:0;z-index:0;border-radius:inherit;background:transparent}
#nw123-widget .nw123-launcher>.nw123-avatar,#nw123-widget .nw123-launcher>.nw123-launcher-copy,#nw123-widget .nw123-launcher>.nw123-launcher-icon{position:relative;z-index:1;pointer-events:none}
#nw123-widget .nw123-launcher-phone{position:relative;pointer-events:auto;width:max-content;max-width:100%;margin-top:0;padding:5px 0;line-height:1.3;text-decoration:underline;text-decoration-color:#5f8c0060;text-underline-offset:3px;border-radius:5px}
#nw123-widget .nw123-launcher-phone:hover{color:#234610;text-decoration-color:currentColor}
#nw123-widget .nw123-launcher-open:focus-visible{outline-offset:4px}
#nw123-widget .nw123-launcher-phone:focus-visible{outline-offset:1px}
#nw123-widget .nw123-cookie-tools{display:none;position:fixed;left:24px;bottom:70px;z-index:99}
#nw123-widget .nw123-cookie-toggle{display:flex;align-items:center;gap:7px;min-height:36px;padding:7px 12px;border:1px solid #d7dfc9;border-radius:30px;background:#fffef9;color:var(--nw123-deep);font-size:13px;font-weight:600;box-shadow:0 4px 15px #31421c12;transition:background .2s,transform .2s}
#nw123-widget .nw123-cookie-toggle svg{width:18px;height:18px}
#nw123-widget .nw123-cookie-toggle:hover{background:#eff4e5;transform:translateY(-2px)}
#nw123-widget .nw123-cookie-panel{position:absolute;left:0;bottom:47px;width:280px;padding:18px;border:1px solid var(--nw123-line);border-radius:18px;background:#fffef9;box-shadow:0 10px 35px #31421c24}
#nw123-widget .nw123-cookie-panel h2{font-size:16px;margin:0 30px 8px 0}
#nw123-widget .nw123-cookie-panel p{font-size:14px;line-height:1.5;margin:0 0 12px;color:#625b50}
#nw123-widget .nw123-cookie-panel a{color:var(--nw123-deep);text-decoration:underline;text-underline-offset:3px}
#nw123-widget .nw123-cookie-close{position:absolute;right:9px;top:9px;display:grid;place-items:center;width:32px;height:32px;background:transparent;border-radius:50%}
#nw123-widget .nw123-cookie-close:hover{background:#eaf0dd}
#nw123-widget .nw123-cookie-close svg{width:18px;height:18px}
#nw123-widget .nw123-cookie-ok{width:100%;padding:9px 12px;background:var(--nw123-deep);color:white;border-radius:10px;font-size:14px;font-weight:600}
#nw123-widget .nw123-cookie-ok:hover{background:#406b20}
@media (min-width:1024px) and (hover:hover) and (pointer:fine){#nw123-widget .nw123-cookie-tools{display:block}}
#nw123-widget button:disabled{cursor:default;opacity:.55;transform:none;box-shadow:none}
