.embed-guide{background:var(--color-bg-secondary,#f5f8fd);color:var(--color-text,#172b4d);padding:28px 16px 76px}
.embed-guide__shell{max-width:1160px;margin:0 auto}
.embed-guide__crumbs{display:flex;gap:9px;align-items:center;margin:0 0 22px;color:var(--color-text-secondary,#64748b);font-size:.83rem}
.embed-guide__crumbs a{color:var(--color-primary,#2359d4);text-decoration:none}
.embed-guide__hero{position:relative;overflow:hidden;padding:clamp(28px,3.5vw,42px) 22px;border-radius:20px;background:linear-gradient(120deg,#112e65,#155cda);color:#fff;text-align:center;box-shadow:0 18px 42px rgba(23,71,143,.13)}
.embed-guide__hero::after{content:'';position:absolute;right:-115px;top:-175px;width:350px;height:350px;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 52px rgba(255,255,255,.035),0 0 0 105px rgba(255,255,255,.025);pointer-events:none}
.embed-guide__eyebrow{position:relative;display:inline-block;margin-bottom:10px;color:#b7d5ff;font-size:.73rem;font-weight:800;letter-spacing:.14em}
.embed-guide__hero h1{position:relative;max-width:800px;margin:0 auto;font-size:clamp(1.9rem,3.3vw,2.75rem);line-height:1.2;letter-spacing:-.035em;color:#fff}
.embed-guide__hero p{position:relative;max-width:690px;margin:14px auto 19px;color:#dfebff;font-size:1rem;line-height:1.62}
.embed-guide__primary{position:relative;display:inline-flex;align-items:center;gap:12px;padding:12px 18px;border-radius:11px;background:#fff;color:#1749a7;font-weight:800;text-decoration:none}
.embed-guide__primary:hover{background:#eaf2ff;color:#123b86}
.embed-guide__layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:26px;align-items:start;margin-top:30px}
.embed-guide__article{min-width:0;padding:clamp(20px,3.3vw,38px);border:1px solid var(--color-border,#dce5f2);border-radius:20px;background:var(--color-surface,#fff);box-shadow:0 12px 38px rgba(27,53,97,.045)}
.embed-guide__article section+section{padding-top:27px;margin-top:31px;border-top:1px solid var(--color-border,#e3eaf4)}
.embed-guide__article h2{margin:0 0 13px;color:var(--color-text,#172b4d);font-size:clamp(1.35rem,2vw,1.7rem);line-height:1.3}
.embed-guide__article p,.embed-guide__article li{color:var(--color-text-secondary,#52647c);font-size:.96rem;line-height:1.72}
.embed-guide__article p{margin:0 0 14px}
.embed-guide__article a{color:var(--color-primary,#2359d4)}
.embed-guide__article code{padding:2px 5px;border-radius:5px;background:var(--color-bg-secondary,#f2f6fc);font-size:.87em}
.embed-guide__benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.embed-guide__benefits>div{display:grid;gap:6px;padding:17px;border:1px solid var(--color-border,#dce5f2);border-radius:13px;background:var(--color-bg-secondary,#f7faff)}
.embed-guide__benefits strong{color:var(--color-text,#172b4d);font-size:.94rem}
.embed-guide__benefits span{color:var(--color-text-secondary,#52647c);font-size:.84rem;line-height:1.55}
.embed-guide__steps{counter-reset:step;list-style:none;margin:18px 0;padding:0;display:grid;gap:11px}
.embed-guide__steps li{position:relative;padding:13px 14px 13px 55px;border:1px solid var(--color-border,#dce5f2);border-radius:11px}
.embed-guide__steps li::before{counter-increment:step;content:counter(step);position:absolute;left:13px;top:13px;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e8f0ff;color:#1554cf;font-weight:800}
.embed-guide__steps strong{color:var(--color-text,#172b4d)}
.embed-guide__preview-controls{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:12px;margin:18px 0 14px}
.embed-guide__preview-picker{display:grid;gap:6px;min-width:0;color:var(--color-text,#172b4d);font-size:.82rem;font-weight:750}
.embed-guide__preview-picker select{width:100%;min-width:0;height:42px;padding:0 12px;border:1px solid var(--color-border,#dce5f2);border-radius:10px;background:var(--color-surface,#fff);color:var(--color-text,#172b4d);font:inherit;font-size:.9rem}
.embed-guide__preview-actions{display:flex;gap:3px;padding:3px;border:1px solid var(--color-border,#dce5f2);border-radius:11px;background:var(--color-bg-secondary,#f3f6fb)}
.embed-guide__preview-actions button{height:34px;padding:0 11px;border:0;border-radius:8px;background:transparent;color:var(--color-text-secondary,#52647c);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}
.embed-guide__preview-actions button[aria-pressed="true"]{background:var(--color-surface,#fff);color:var(--color-primary,#2359d4);box-shadow:0 1px 5px rgba(24,57,112,.12)}
.embed-guide__preview-theme{display:flex;align-items:center;gap:7px;min-height:42px;color:var(--color-text,#172b4d);font-size:.82rem;font-weight:700;white-space:nowrap;cursor:pointer}
.embed-guide__preview-theme input{width:16px;height:16px;accent-color:#2359d4}
.embed-guide__preview-stage{max-height:530px;overflow:auto;padding:0;border:1px solid var(--color-border,#dce5f2);border-radius:13px;background:var(--color-surface,#fff);transition:width .2s ease}
.embed-guide__preview-stage.is-dark{background:#0f172a}
.embed-guide__preview-stage.is-mobile{width:min(390px,100%);margin-inline:auto}
.embed-guide__preview-site{width:100%;margin:0;overflow:hidden;background:#fff}
.embed-guide__preview-stage.is-dark .embed-guide__preview-site,.embed-guide__preview-stage.is-dark iframe{background:#0f172a}
.embed-guide__preview-sitebar{display:flex;align-items:center;gap:12px;min-height:38px;padding:0 14px;border-bottom:1px solid #e3eaf4;background:#f8faff;color:#53657e;font-size:.76rem}
.embed-guide__preview-sitebar span{color:#93a9c4;letter-spacing:3px;white-space:nowrap}
.embed-guide__preview-sitebar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
.embed-guide__preview-stage.is-dark .embed-guide__preview-sitebar{border-color:#31415d;background:#1c2b45;color:#dbe6fa}
.embed-guide__preview-stage iframe{display:block;width:100%;min-height:320px;border:0;background:#fff}
.embed-guide__preview-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px;color:var(--color-text-secondary,#52647c);font-size:.8rem}
.embed-guide__preview-footer a{font-weight:750;text-decoration:none}
.embed-guide__preview-picker select:focus-visible,.embed-guide__preview-actions button:focus-visible,.embed-guide__preview-theme input:focus-visible,.embed-guide__preview-footer a:focus-visible{outline:3px solid #80a8ff;outline-offset:2px}
.embed-guide__code{display:flex;align-items:flex-start;gap:10px;margin-top:17px}
.embed-guide__code pre{flex:1;min-width:0;margin:0;padding:15px;border:1px solid var(--color-border,#dce5f2);border-radius:11px;background:var(--color-bg-secondary,#f3f6fb);color:var(--color-text,#172b4d);white-space:pre-wrap;overflow-wrap:anywhere;font-size:.82rem;line-height:1.65}
.embed-guide__code pre code{padding:0;background:transparent;font-size:inherit}
.embed-guide__code button{flex:none;padding:12px 14px;border:0;border-radius:10px;background:#2359d4;color:#fff;font:inherit;font-size:.84rem;font-weight:800;cursor:pointer}
.embed-guide__code button:hover{background:#1746af}
.embed-guide__code button:focus-visible,.embed-guide__primary:focus-visible,.embed-guide__aside a:focus-visible{outline:3px solid #80a8ff;outline-offset:3px}
.embed-guide__copy-status{display:block;min-height:20px;margin-top:5px;color:var(--color-primary,#2359d4);font-size:.8rem}
.embed-guide__notes{margin:9px 0 0;padding-left:20px}
.embed-guide__tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.embed-guide--interactive .embed-guide__tools:not(.is-expanded)>a:nth-child(n+10){display:none}
.embed-guide__tools a{display:flex;flex-direction:column;gap:5px;min-width:0;padding:14px;border:1px solid var(--color-border,#dce5f2);border-radius:12px;background:var(--color-bg-secondary,#f7faff);text-decoration:none}
.embed-guide__tools a:hover{border-color:#93b4f8;box-shadow:0 8px 20px rgba(24,88,205,.08)}
.embed-guide__tools strong{color:var(--color-text,#172b4d);font-size:.91rem;line-height:1.35}
.embed-guide__tools span{color:var(--color-text-secondary,#52647c);font-size:.8rem;line-height:1.45}
.embed-guide__tools em{margin-top:auto;padding-top:4px;font-size:.79rem;font-style:normal;font-weight:750}
.embed-guide__more{display:block;margin:18px auto 0;padding:10px 18px;border:1px solid #abc5f5;border-radius:10px;background:var(--color-surface,#fff);color:var(--color-primary,#2359d4);font:inherit;font-weight:750;cursor:pointer}
.embed-guide__more:hover{background:var(--color-bg-secondary,#f3f7ff)}
.embed-guide__more[hidden]{display:none}
.embed-guide__contact{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:20px;padding:18px;border:1px solid var(--color-border,#dce5f2);border-radius:13px;background:var(--color-bg-secondary,#f7faff)}
.embed-guide__contact strong{color:var(--color-text,#172b4d)}
.embed-guide__article .embed-guide__contact p{margin:4px 0 0;font-size:.85rem;line-height:1.5}
.embed-guide__contact-links{display:flex;flex-wrap:wrap;gap:8px}
.embed-guide__article .embed-guide__contact-links a{display:inline-flex;align-items:center;padding:8px 11px;border:1px solid var(--color-border,#dce5f2);border-radius:9px;background:var(--color-surface,#fff);font-size:.82rem;font-weight:700;text-decoration:none}
.embed-guide__tools a:focus-visible,.embed-guide__more:focus-visible,.embed-guide__contact-links a:focus-visible{outline:3px solid #80a8ff;outline-offset:2px}
.embed-guide__faqs{display:grid;gap:12px;margin-top:18px}
.embed-guide__faq{padding:18px 20px;border:1px solid var(--color-border,#dce5f2);border-radius:13px;background:var(--color-surface,#fff);box-shadow:0 2px 4px rgba(24,57,112,.04)}
.embed-guide__faq h3{margin:0 0 7px;color:var(--color-text,#172b4d);font-size:1rem;line-height:1.45;font-weight:750}
.embed-guide__faq p{margin:0;color:var(--color-text-secondary,#52647c);font-size:.9rem;line-height:1.65}
.embed-guide__aside{position:sticky;top:100px;display:grid;gap:5px;padding:20px;border:1px solid var(--color-border,#dce5f2);border-radius:17px;background:var(--color-surface,#fff)}
.embed-guide__aside strong{margin-bottom:7px;color:var(--color-text,#172b4d);font-size:.91rem}
.embed-guide__aside a{padding:8px 10px;border-radius:8px;color:var(--color-text-secondary,#52647c);font-size:.86rem;text-decoration:none}
.embed-guide__aside a:hover{background:var(--color-bg-secondary,#f3f6fb);color:var(--color-primary,#2359d4)}
.embed-guide [id]{scroll-margin-top:100px}
@media(max-width:900px){.embed-guide__layout{grid-template-columns:1fr}.embed-guide__aside{position:static;grid-row:1;display:flex;flex-wrap:wrap;gap:5px}.embed-guide__aside strong{width:100%}}
@media(max-width:760px){.embed-guide__tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.embed-guide__preview-controls{grid-template-columns:minmax(0,1fr) auto}.embed-guide__preview-picker{grid-column:1/-1}}
@media(max-width:620px){.embed-guide{padding:18px 12px 48px}.embed-guide__hero{padding:30px 20px;border-radius:18px}.embed-guide__hero p{font-size:.92rem}.embed-guide__faqs{gap:10px}.embed-guide__faq{padding:16px}.embed-guide__benefits,.embed-guide__tools{grid-template-columns:1fr}.embed-guide__preview-controls{grid-template-columns:1fr;align-items:start}.embed-guide__preview-picker{grid-column:auto}.embed-guide__preview-actions{justify-self:start}.embed-guide__preview-theme{min-height:26px}.embed-guide__preview-stage{max-height:500px}.embed-guide__code{flex-direction:column}.embed-guide__code pre{width:100%}.embed-guide__aside{display:none}}
