/* Local replica of the observed Webflow Designer controls (Claude Test, 2026-10-13).
   Geometry in CSS px of the observed viewport 1512x771; numbers come from the DOM
   measurements in observed/*.json. Classes are prefixed df-; the canvas site content
   uses the scene's own class names inside .df-site only. */
.df-app { position: relative; width: 1512px; height: 771px; overflow: hidden; background: var(--wf-bg-1); color: var(--wf-text); font-family: var(--wf-font); font-size: 11.5px; letter-spacing: var(--wf-tracking); -webkit-font-smoothing: antialiased; }
.df-app *, .df-app *::before, .df-app *::after { box-sizing: border-box; }
.df-app svg { display: block; flex-shrink: 0; }
.df-abs { position: absolute; }
.df-btn { position: absolute; display: flex; align-items: center; justify-content: center; height: 24px; border-radius: 4px; color: var(--wf-text-2); line-height: 16px; letter-spacing: normal; white-space: nowrap; }

/* Top bar: top-bar-body 0,0,1512,40 */
.df-top { position: absolute; left: 0; top: 0; width: 1512px; height: 40px; background: var(--wf-bg-1); border-bottom: 1px solid var(--wf-border); }
.df-top .df-logo { position: absolute; left: 8px; top: 8px; color: var(--wf-text-2); }
.df-mode { top: 7.5px; padding: 4px 8px; gap: 4px; justify-content: flex-start; }
.df-mode.is-active { background: var(--wf-hover); color: var(--wf-text); }
.df-sep-v { position: absolute; width: 1px; background: var(--wf-border); }
.df-icon-btn { width: 24px; padding: 4px; }
.df-outline-btn { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1); }
.df-publish { background: var(--wf-control-sheen), var(--wf-control); box-shadow: var(--wf-shadow-control); color: var(--wf-text); padding: 4px 4px 4px 8px; justify-content: space-between; }
.df-avatar { position: absolute; left: 1283.2px; top: 7.5px; width: 24px; height: 24px; border-radius: 50%; background: var(--wf-border-input); }

/* Left bar 0,40,40,731 */
.df-left { position: absolute; left: 0; top: 40px; width: 40px; height: 731px; background: var(--wf-bg-1); border-right: 1px solid var(--wf-border); }
.df-left .df-li { position: absolute; left: 8px; color: var(--wf-text-2); }

/* Navigator 40,40,172,731 */
.df-nav { position: absolute; left: 40px; top: 40px; width: 172px; height: 731px; background: var(--wf-bg-2); border-right: 1px solid var(--wf-border); overflow: hidden; }
.df-nav-title { position: absolute; left: 16px; top: 12px; font-size: 13px; line-height: 16px; font-weight: 600; }
.df-nav-row { position: absolute; left: 8px; width: 216px; height: 24px; padding-left: 8px; border-radius: 4px 0 0 4px; display: flex; align-items: center; line-height: 24px; white-space: nowrap; }
.df-nav-row.is-selected { background: var(--wf-blue-soft); color: var(--wf-blue); }
.df-nav-row.is-selected .df-nav-icon { color: var(--wf-blue); }
.df-nav-edge { height: 24px; flex-shrink: 0; }
.df-nav-caret { width: 12px; height: 24px; position: relative; flex-shrink: 0; color: var(--wf-text-2); }
.df-nav-caret svg { position: absolute; left: -2px; top: 4px; }
.df-nav-icon { width: 20px; height: 16px; flex-shrink: 0; color: var(--wf-text-2); }

/* Canvas bar 212,40,1059,32 */
.df-cbar { position: absolute; left: 212px; top: 40px; width: 1059px; height: 32px; background: var(--wf-bg-2); border-bottom: 1px solid var(--wf-border); color: var(--wf-text-2); }
.df-cbar .df-btn { top: 3.5px; }
.df-crumbs { position: absolute; left: 77px; top: 3.5px; height: 24px; display: flex; align-items: center; color: var(--wf-text-2); letter-spacing: normal; }
.df-crumb { padding: 4px 8px; line-height: 16px; white-space: nowrap; }
.df-bp.is-active { background: var(--wf-hover); color: var(--wf-text); }

/* Canvas: page frame 212,72,1059,698 */
.df-canvas { position: absolute; left: 40px; top: 72px; width: 1231px; height: 699px; background: var(--wf-bg-3); }
.df-page { position: absolute; left: 172px; top: 0; width: 1059px; height: 698px; background: #ffffff; box-shadow: var(--wf-page-shadow); overflow: hidden; }
.df-site { position: absolute; inset: 0; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; color: #333333; letter-spacing: normal; -webkit-font-smoothing: auto; }
.df-site-container { position: absolute; left: 0; top: 0; width: 1059px; padding: 128px 64px; }
.df-site-wrapper { display: flex; gap: 31px; padding-left: 16px; }
.df-site-el { width: 279.3px; height: 419px; display: flex; align-items: center; justify-content: center; }
.df-site-text { font-size: 25px; line-height: 38px; }
.df-overlay { position: absolute; inset: 0; pointer-events: none; }
.df-outline { position: absolute; border: 1px solid var(--wf-blue); }
.df-outline.is-hover { border-color: var(--wf-hover-outline); }
.df-tag { position: absolute; height: 18px; display: flex; align-items: center; padding-right: 4px; white-space: nowrap; font-size: 11.5px; }
.df-tag svg { margin: 0 4px; }
.df-tag.is-selected { background: var(--wf-blue); color: #ffffff; border-radius: 4px 4px 0 0; line-height: 11.5px; }
.df-tag.is-hover { color: var(--wf-hover-label); border-radius: 2px; line-height: 13.8px; }

/* Right panel 1271,40,241,731 */
.df-panel { position: absolute; left: 1271px; top: 40px; width: 241px; height: 731px; background: var(--wf-bg-1); border-left: 1px solid var(--wf-border); }
.df-ptop { position: absolute; left: 8px; top: 8px; width: 224px; height: 24px; }
.df-ptitle { position: absolute; left: 0; top: 4px; height: 16px; display: flex; align-items: center; gap: 4px; line-height: 16px; white-space: nowrap; }
.df-ptitle .is-none { opacity: 0.75; }
.df-pbtn { position: absolute; top: 0; width: 24px; height: 24px; padding: 4px; border-radius: 4px; color: var(--wf-text-2); }
.df-copilot { background: var(--wf-copilot); box-shadow: var(--wf-shadow-control); opacity: 0.6; color: var(--wf-text); }
.df-tabs { position: absolute; left: 0; top: 32px; width: 240px; height: 35px; box-shadow: inset 0 -1px 0 var(--wf-border); }
.df-tab { position: absolute; top: 0; height: 35px; padding-top: 9px; line-height: 16px; font-weight: 600; color: var(--wf-text-2); }
.df-tab.is-active { color: var(--wf-text); box-shadow: inset 0 -1.5px 0 var(--wf-text); }

/* Style selector block 1272,107,240,89 */
.df-sel-block { position: absolute; left: 0; top: 67px; width: 240px; height: 89px; padding: 8px; border-bottom: 1px solid var(--wf-border); }
.df-sel-head { height: 18px; display: flex; align-items: center; justify-content: space-between; line-height: 16px; }
.df-sel-head .df-label2 { color: var(--wf-text-2); }
.df-inherit { display: flex; align-items: center; white-space: pre; }
.df-inherit-btn { color: var(--wf-orange); line-height: 12px; padding: 2px; margin: -2px; border-radius: 2px; letter-spacing: normal; }
.df-field { position: relative; margin-top: 4px; height: 32px; display: flex; background: var(--wf-bg-1); border: 1px solid var(--wf-border-input); border-radius: 4px; box-shadow: var(--wf-shadow-input); }
.df-field-inner { display: flex; align-items: center; padding: 1px; flex: 1; min-width: 0; }
.df-bp-token { width: 30px; height: 24px; margin: 2px; border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.df-bp-token.is-alone { background: var(--wf-blue); color: #ffffff; }
.df-bp-token.is-with-class { background: var(--wf-control-sheen), var(--wf-control); color: var(--wf-text); }
.df-chip { position: relative; height: 24px; margin: 2px; padding: 0 6px; border-radius: 2px; display: flex; align-items: center; background: var(--wf-blue); color: #ffffff; white-space: nowrap; overflow: hidden; flex-shrink: 0; }
.df-chip-text { line-height: normal; }
.df-chip.is-editing { background: var(--wf-control-sheen), var(--wf-control); color: var(--wf-text); }
.df-chip-text.is-selected { background: var(--wf-text-selection); color: #ffffff; }
.df-chip-text.has-caret::after { content: ''; display: inline-block; width: 1px; height: 13px; margin-left: 0.5px; vertical-align: -2px; background: var(--wf-text); }
.df-chip-fade { position: absolute; top: 0; right: 16px; width: 10px; height: 24px; background: linear-gradient(to right, rgba(0,0,0,0) 0px, var(--wf-blue) 10px); }
.df-chip-caret { position: absolute; top: 0; right: 0; width: 16px; height: 24px; background: var(--wf-blue); border-left: 1px solid var(--wf-border-input); border-radius: 0 2px 2px 0; }
.df-chip-caret svg { position: absolute; left: -0.5px; top: 4px; }
.df-placeholder { margin-left: 4px; line-height: 28px; color: var(--wf-text-dim); white-space: nowrap; letter-spacing: normal; }
.df-field-chevron { position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 4px; color: var(--wf-text-2); }
.df-count { height: 18px; padding-top: 4px; line-height: 14px; color: var(--wf-text-2); }

/* Class menu */
.df-menu { position: absolute; width: 120px; background: var(--wf-bg-3); border-radius: 4px; box-shadow: var(--wf-shadow-menu); overflow: hidden; }
.df-menu-item { height: 24px; padding: 4px 8px; display: flex; align-items: center; gap: 6px; line-height: 16px; white-space: nowrap; color: var(--wf-text); }
.df-menu-item svg { color: var(--wf-text-2); }
.df-menu-item.is-hover { background: var(--wf-item-hover); }
.df-menu-item.is-hover svg { color: var(--wf-text); }

/* Empty state */
.df-blocker { position: absolute; left: 12px; top: 168px; width: 216px; height: 140px; padding: 8px 12px 12px; background: var(--wf-bg-2); border-radius: 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.df-blocker-art { width: 64px; height: 64px; }
.df-blocker-title { font-weight: 600; line-height: 16px; }
.df-blocker-body { width: 192px; text-align: center; line-height: 16px; color: var(--wf-text-2); }

/* Sections */
.df-props { position: absolute; left: 0; top: 156px; width: 240px; }
.df-vm { height: 41px; padding: 8px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--wf-border); color: var(--wf-text-2); line-height: 16px; }
.df-section { border-bottom: 1px solid var(--wf-border); }
.df-sh { position: relative; height: 40px; margin-bottom: -8px; padding: 4px 8px; display: flex; align-items: center; color: var(--wf-text-2); }
.df-sh-title { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--wf-text); flex: 1; }
.df-sh-extra { width: 16px; height: 24px; margin-right: 12px; display: flex; align-items: center; }
.df-sbody { position: relative; padding: 8px; }
.df-row { position: relative; height: 24px; display: flex; align-items: center; }
.df-row + .df-row { margin-top: 8px; }
.df-plabel { margin-left: -2px; padding: 2px; border-radius: 2px; line-height: 14px; color: var(--wf-text-2); white-space: nowrap; }
.df-plabel.is-set { background: var(--wf-blue-soft); color: var(--wf-blue); }
.df-plabel.is-inherited { background: var(--wf-orange-soft); color: var(--wf-orange); }
.df-ctl { position: absolute; left: 52px; top: 0; width: 172px; height: 24px; }
.df-seg { display: flex; padding: 1px; border-radius: 3px; background: var(--wf-control-sheen), var(--wf-control); box-shadow: var(--wf-shadow-control); }
.df-seg-item { height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 3px; line-height: 14px; color: var(--wf-text-2); }
.df-seg-item.is-active { background: #ffffff; color: var(--wf-text); box-shadow: 1px 0 0 0 var(--wf-border); }
.df-seg-item.is-dim { opacity: 0.5; justify-content: flex-start; padding-left: 6px; }
.df-seg-more { position: absolute; right: 2px; top: 2px; width: 14px; height: 20px; color: var(--wf-text-2); }
.df-seg-more svg { position: absolute; left: -1px; top: 2px; }
.df-add { position: absolute; right: 0; top: 0; width: 24px; height: 24px; padding: 4px; border-radius: 4px; color: var(--wf-text-2); }
.df-input { background: var(--wf-bg-1); border: 1px solid var(--wf-border-input); border-radius: 4px; box-shadow: var(--wf-shadow-input); padding: 0 4px 0 28px; line-height: 22px; white-space: nowrap; overflow: hidden; letter-spacing: normal; color: var(--wf-text); }
.df-swatch { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-right: 1px solid var(--wf-border); border-radius: 4px 0 0 4px; overflow: hidden; }
.df-swatch i { position: absolute; left: 1px; top: 1px; width: 22px; height: 22px; }
.df-swatch .base { background: var(--wf-swatch-base); border-radius: 4px 0 0 4px; }
.df-input-text.has-caret::after { content: ''; display: inline-block; width: 1px; height: 13px; margin-left: 0.5px; vertical-align: -2px; background: var(--wf-text); }
.df-select { border-radius: 4px; background: var(--wf-control-sheen), var(--wf-control); box-shadow: var(--wf-shadow-control); padding: 0 4px 0 8px; display: flex; align-items: center; justify-content: space-between; line-height: 14px; }

/* Spacing box (SVG drawn as observed) */
.df-spacing { position: relative; width: 224px; height: 112px; }
.df-spacing svg.df-fuse { position: absolute; filter: var(--wf-fuse-filter); }
.df-sp-label { position: absolute; font-size: 7px; font-weight: 500; letter-spacing: var(--wf-tracking); color: var(--wf-text-2); line-height: 8.5px; }
.df-sp-val { position: absolute; padding: 2px; border-radius: 4px; transform: translate(-50%, -50%); }
.df-sp-val span { display: block; padding: 2px; border-radius: 2px; font-size: 11px; line-height: 11px; color: var(--wf-text-2); }
.df-sp-val span.is-set { background: var(--wf-blue-soft); color: var(--wf-blue); }

/* Pointer used only in the scene view (reconstruction, not Designer UI) */
.df-pointer { position: absolute; left: 0; top: 0; width: 22px; height: 27px; pointer-events: none; }

/* Stacking as in the Designer: the canvas wrapper (40,72) lies under the navigator. */
.df-canvas { z-index: 1; }
.df-top, .df-left, .df-nav, .df-cbar, .df-panel { z-index: 2; }
.df-pointer { z-index: 3; }

/* Sub-pixel corrections measured with tools/offset.mjs against the Designer captures
   (glyph placement of the observed Inter build differs slightly at tight line-heights).
   Text snaps to whole CSS px: a residual offset of 0.5 CSS px remains on some titles. */
.df-tag span { position: relative; }
.df-tag.is-selected span { top: 1px; }
.df-tag.is-selected svg { margin-left: 3.5px; margin-right: 4.5px; }
.df-tag.is-hover span { top: 0; left: -0.5px; }
.df-select svg { color: var(--wf-text-2); }

/* Codex candidate: observed wrapping of automatically generated Copy chip. */
.df-field { height:auto; min-height:32px; }
.df-field-inner { flex-wrap:wrap; align-content:flex-start; padding-right:32px; }
.df-chip { max-width:calc(100% - 4px); }
.df-chip.is-editing { padding:0 6px; }
.df-chip-text { overflow:hidden; text-overflow:ellipsis; }
.df-chip.is-editing .df-chip-text { text-overflow:clip; }
.df-ptitle { max-width:150px; overflow:hidden; }
.df-ptitle span { overflow:hidden; text-overflow:ellipsis; }
.df-input:has(.has-caret) { outline:1px solid var(--wf-blue); }

.df-input-text.is-selected { background:var(--wf-text-selection); color:#fff; }
