/* The embed handoff is a self-contained editorial panel and code editor. */
.foc-embed-tool-section { margin: 32px 0 40px; width: 100%; scroll-margin-top: 120px; }
.foc-embed-tool-section * { box-sizing: border-box; }
.foc-embed-box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 40px; border: 1px solid #dce5f4; border-radius: 24px; background: radial-gradient(ellipse at 0 0, #edf2ff, transparent 60%), #fff; box-shadow: 0 12px 40px -28px #27467e55; font-family: var(--font-sans, system-ui), sans-serif; }
.foc-embed-intro { min-width: 0; }
.foc-embed-symbol { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border: 1px solid #cfdcff; border-radius: 16px; color: #315fe3; background: #fff; font: 700 23px/1 ui-monospace, monospace; box-shadow: 0 5px 0 #e4ebfc; transform: rotate(-5deg); }
.foc-embed-symbol > span { position: absolute; display: grid; place-items: center; right: -8px; top: -7px; width: 22px; height: 22px; background: #315fe3; color: #fff; border: 3px solid #f3f6ff; border-radius: 50%; font: 600 15px/1 sans-serif; }
.foc-embed-header, .foc-embed-header-left { display: block; }
.foc-embed-badge { display: block; color: #4666a0; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 13px; }
.foc-embed-box .foc-embed-heading { color: #17243c; font: 650 clamp(25px,2.5vw,34px)/1.15 var(--font-heading,system-ui), sans-serif; letter-spacing: -.035em; margin: 0 0 16px; max-width: 390px; }
.foc-embed-subtitle { color: #61708a; font-size: 14px; line-height: 1.8; margin: 0 0 24px; max-width: 410px; }
.foc-embed-steps { display: grid; gap: 12px; margin: 0 0 25px; padding: 0; list-style: none; }
.foc-embed-steps li { display: flex; align-items: center; gap: 11px; color: #34435d; font-size: 13px; font-weight: 550; }
.foc-embed-steps li > span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #dce4f3; border-radius: 7px; background: #fff; color: #647b9f; font: 11px/1 ui-monospace,monospace; }
.foc-embed-perks { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #5b6e8c; font-size: 11px; }
.foc-embed-perks span::before { content: '✓'; margin-right: 5px; color: #17816b; font-weight: 750; }
.foc-embed-code-container { min-width: 0; overflow: hidden; background: #101b30; border: 1px solid #263653; border-radius: 16px; box-shadow: 0 18px 34px -18px #162b5266; transform: rotate(1deg); }
.foc-embed-editor-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #2a3650; color: #c7d4ec; font: 11px/1.5 ui-monospace, monospace; }
.foc-embed-window-dots { display: flex; gap: 5px; }
.foc-embed-window-dots b { width: 7px; height: 7px; background: #53617b; border-radius: 50%; }
.foc-embed-window-dots b:first-child { background: #ff9c94; }
.foc-embed-window-dots b:nth-child(2) { background: #ebca7e; }
.foc-embed-window-dots b:last-child { background: #80c9ac; }
.foc-embed-language { margin-left: auto; color: #94a7c7; letter-spacing: .1em; font-size: 10px; }
.foc-embed-editor-label { display: flex; align-items: center; gap: 9px; padding: 22px 22px 8px; color: #e2eafd; font-size: 12px; font-weight: 600; }
.foc-embed-editor-label > span:first-child { color: #94b4ff; font: 15px/1 ui-monospace,monospace; }
.foc-embed-box textarea.foc-embed-code-area { display: block; width: 100%; height: 210px; min-height: 0; max-width: 100%; padding: 12px 22px 22px; margin: 0; background: transparent; color: #b7cdf8; border: 0; border-radius: 0; resize: vertical; font: 12px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace; white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-color: #52627d #101b30; }
.foc-embed-code-area:focus-visible { outline: 2px solid #94b4ff; outline-offset: -3px; }
.foc-embed-code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-top: 1px solid #2a3650; background: #18243b; }
.foc-embed-code-tip { display: flex; align-items: center; gap: 7px; color: #b3c2dc; font-size: 11px; line-height: 1.5; }
.foc-embed-ready-dot { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #70d7b1; }
.foc-embed-box .foc-btn-copy { flex-shrink: 0; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; padding: 10px 17px; border: 1px solid #7d9fff; border-radius: 8px; background: #4779f5; color: #fff; font: 650 12px/1.4 var(--font-sans,system-ui),sans-serif; cursor: pointer; transition: background .15s; }
.foc-embed-box .foc-btn-copy:hover { background: #3465e1; }
.foc-btn-copy:focus-visible { outline: 3px solid #9ebcff; outline-offset: 3px; }
.foc-embed-box .foc-btn-copy.is-copied { background: #087f69; border-color: #78d2b9; }
@media (max-width: 960px) { .foc-embed-box { grid-template-columns: minmax(0,1fr); gap: 28px; padding: 28px; } .foc-embed-box .foc-embed-heading, .foc-embed-subtitle { max-width: 580px; } .foc-embed-code-container { transform: none; } }
@media (max-width: 540px) { .foc-embed-box { padding: 22px 18px; border-radius: 18px; } .foc-embed-badge { font-size: 10px; line-height: 1.7; } .foc-embed-code-bar { flex-direction: column; align-items: stretch; } .foc-embed-box .foc-btn-copy { width: 100%; } .foc-embed-code-tip { justify-content: center; } .foc-embed-box textarea.foc-embed-code-area { padding-inline: 16px; } .foc-embed-editor-label { padding-inline: 16px; } }
@media (prefers-reduced-motion: reduce) { .foc-embed-box .foc-btn-copy { transition: none; } }
