/* DetailFlow v1.6.11: responsive property pane, compact typography, no clipped inputs */
#editorView .right-pane {min-width:0;max-width:100%}
#editorView .right-pane .property-panel {min-width:0;overflow-x:hidden;padding:10px 14px 15px}
#editorView .right-pane .property-panel>* {min-width:0;max-width:100%;box-sizing:border-box}
#editorView .right-pane .property-panel :is(.prop-row,.prop-group,.text-photo-properties,.text-border-properties,.text-size-properties,.typography-panel) {min-width:0;max-width:100%;box-sizing:border-box}
#editorView .right-pane .property-panel .prop-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:start;margin:0}
#editorView .right-pane .property-panel .prop-row>* {min-width:0;max-width:100%;width:100%;box-sizing:border-box}
#editorView .right-pane .property-panel .prop-row>.prop-group {margin:0}
#editorView .right-pane .property-panel .prop-group {margin:8px 0;gap:4px}
#editorView .right-pane .property-panel .prop-group .field-label {margin-top:0;line-height:1.3}
#editorView .right-pane .property-panel :is(.field,.color-input,input[type="number"],input[type="text"],input[type="color"],textarea,select) {max-width:100%;min-width:0;box-sizing:border-box}
#editorView .right-pane .property-panel :is(.field,.color-input) {min-height:32px;padding:6px 8px}
#editorView .right-pane .property-panel input[type="color"] {height:34px;min-height:34px;padding:2px 4px}
#editorView .right-pane .property-panel .prop-row>label {display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
#editorView .right-pane .property-panel .text-border-properties {padding:10px;margin:10px 0}
#editorView .right-pane .property-panel .text-border-properties .prop-row {margin-top:7px}
#editorView .right-pane .property-panel .text-border-properties .prop-row .prop-group {margin:0}
#editorView .right-pane .property-panel .text-photo-properties {padding:10px;margin:10px 0}
#editorView .right-pane .property-panel .text-size-properties {margin:10px 0}
#editorView .right-pane .property-panel .text-mode-chooser {padding:9px 10px;margin:7px 0 9px;gap:6px}
#editorView .right-pane .property-panel .text-mode-buttons {gap:7px}
#editorView .right-pane .property-panel .text-mode-buttons button {padding:8px 7px;gap:3px}
#editorView .right-pane .property-panel .text-editor-guide {margin:7px 0 8px;padding:8px 10px}
#editorView .right-pane .property-panel .df1610-text-controls {display:grid;gap:7px;min-width:0}
#editorView .right-pane .property-panel .df1610-text-controls>.prop-group {margin:0}
#editorView .right-pane .property-panel #propText {width:100%;min-height:74px;resize:vertical;line-height:1.45}
#editorView .right-pane .property-panel .df1610-text-controls .prop-row:has(#propTextIndent) {grid-template-columns:1fr}
#editorView .right-pane .property-panel .small-help {line-height:1.45;overflow-wrap:anywhere}
#editorView .right-pane .property-panel .typography-panel {padding:9px;gap:6px;margin:8px 0}
#editorView .right-pane .property-panel .typography-line {grid-template-columns:minmax(0,1fr) minmax(72px,100px);gap:7px}
@media(max-width:1100px){#editorView .right-pane .property-panel {padding:9px 10px 14px}#editorView .right-pane .property-panel .prop-row {gap:7px}#editorView .right-pane .property-panel .text-border-properties {padding:8px}}
/* Keep color and its automatically inserted HEX field in the SAME row. */
#editorView .right-pane .property-panel .prop-row>.prop-group:has(>input[type="color"]+.df-hex-input) {display:grid;grid-template-columns:minmax(0,1fr) 95px;grid-template-rows:auto 34px;gap:4px 5px;align-items:start;}
#editorView .right-pane .property-panel .prop-row>.prop-group:has(>input[type="color"]+.df-hex-input)>.field-label {grid-column:1/-1;}
#editorView .right-pane .property-panel .prop-row>.prop-group:has(>input[type="color"]+.df-hex-input)>input[type="color"] {grid-column:1;grid-row:2;}
#editorView .right-pane .property-panel .prop-row>.prop-group:has(>input[type="color"]+.df-hex-input)>.df-hex-input {grid-column:2;grid-row:2;margin:0!important;width:95px!important;height:34px!important;}
