.tool-embed-section{margin-top:calc(-1 * var(--tool-section-gap) + 2rem);padding:0 0 2rem}.tool-embed-setup{border-block:1px solid var(--tool-line);scroll-margin-top:6rem}.tool-embed-setup>summary{padding:12px 0;font-size:15px}.tool-embed-setup summary{display:flex;align-items:baseline;gap:12px;color:var(--tool-text-dim);font-weight:600;cursor:pointer;list-style:none;min-height:44px;overflow-wrap:anywhere}.tool-embed-setup summary::-webkit-details-marker{display:none}.tool-embed-setup summary:before{content:"";flex:0 0 7px;width:7px;height:7px;border-inline-end:2px solid currentColor;border-block-end:2px solid currentColor;transform:rotate(-45deg)}.tool-embed-setup details[open]>summary:before,.tool-embed-setup[open]>summary:before{transform:rotate(45deg)}.tool-embed-setup details:not([open])>summary:dir(rtl):before,.tool-embed-setup:not([open])>summary:dir(rtl):before{transform:rotate(45deg)}.tool-embed-setup details[open]>summary:dir(rtl):before,.tool-embed-setup[open]>summary:dir(rtl):before{transform:rotate(-45deg)}.tool-embed-setup summary:hover{color:var(--tool-text)}.tool-embed-setup :focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.embed-setup-content{padding:.5rem 0 1.5rem}.embed-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.tool-embed-setup label{display:block;margin-bottom:.5rem;color:var(--tool-text-dim);font-size:14px;font-weight:600}.tool-embed-setup select,.tool-embed-setup input[type=number]{width:100%;max-width:100%;min-height:44px}.tool-embed-setup button{min-height:44px;white-space:normal;overflow-wrap:anywhere}.tool-embed-setup .embed-hint,.embed-copy-row p,.embed-guide p{color:var(--tool-text-dim);font-size:15px;line-height:1.6}.embed-hint{margin:.75rem 0 1rem}.tool-embed-setup #embedCode{height:160px;min-height:160px;max-height:400px;font-size:13.5px;line-height:1.5;white-space:pre;overflow-wrap:normal}.embed-code-viewer{height:160px;min-width:0;overflow:hidden;border:1px solid var(--tool-line);border-radius:12px}.embed-code-viewer[hidden],.tool-embed-setup #embedCode[hidden]{display:none}.embed-code-viewer:focus-within{outline:2px solid var(--focus-ring);outline-offset:3px}.tool-embed-setup .embed-code-viewer .cm-content:focus{outline:none}.embed-copy-row{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1rem;margin:1rem 0}.embed-copy-row p{flex:1 1 250px;margin:0}.embed-options>summary,.embed-preview>summary,.embed-guide>summary{padding:.6rem 0;font-size:15px}.embed-option-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;padding:.75rem 0}.tool-embed-setup .tool-checkbox-label{display:flex;min-height:44px;gap:.65rem;color:var(--tool-text);font-size:15px;font-weight:500}.tool-embed-setup .tool-checkbox-label input{flex-shrink:0}.embed-width-controls{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.embed-width-controls .tool-btn-secondary[aria-pressed=true]{border-color:var(--tool-accent-line);background:var(--tool-accent-soft);color:var(--accent-color)}.tool-embed-setup #previewStage{display:flex;justify-content:center}.tool-embed-setup #widgetPreview{display:block;width:100%;max-width:100%;border:0;border-radius:12px;background:#fff}.tool-embed-setup #previewStage.is-narrow iframe{width:375px}.embed-guide p{max-width:75ch;margin:.75rem 0}@media (max-width: 767px){.embed-settings,.embed-option-fields{grid-template-columns:1fr}.embed-settings{gap:1rem}.embed-option-fields{gap:.5rem}}
