.page-designer-panel { scroll-margin-top:24px; }
.local-owner-login { margin-top:28px; padding-top:22px; border-top:1px solid #eee; }
.local-owner-login h2 { font-size:14px; font-weight:500; margin-bottom:12px; }
.local-owner-login p { font-size:12px; line-height:1.6; color:#777; }
.local-owner-login .button { width:100%; min-height:44px; margin-top:14px; }
.local-request-id { display:block; font-size:14px; overflow-wrap:anywhere; margin-top:14px; }
.local-owner-command { white-space:pre-wrap; overflow-wrap:anywhere; font-size:11px; padding:14px; background:#f8f8f8; margin:15px 0; line-height:1.7; }
.page-designer-fields { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:22px; }
.page-section-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:24px; }
.page-section-heading h3 { font-size:13px; font-weight:500; }
.page-section-heading > div { display:flex; gap:8px; }
.page-section-list { list-style:none; margin:18px 0; padding:0; }
.page-section-list li { display:flex; justify-content:space-between; align-items:center; gap:18px; border-bottom:1px solid #eee; padding:14px 0; }
.page-section-list strong { display:block; font-size:12px; font-weight:500; overflow-wrap:anywhere; }
.page-section-list small { display:block; margin-top:6px; color:#777; font-size:11px; }
.page-section-actions { display:flex; align-items:center; gap:4px; flex-shrink:0; }
.page-section-actions .icon-button { width:36px; height:36px; }
.page-sections-empty { padding:18px 0; color:#777; font-size:12px; line-height:1.6; }
.page-designer-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.page-designer-actions .button { width:156px; justify-content:center; }
.page-draft-status { margin:15px 0 10px; font-size:11px; color:#666; }
.page-preview-dialog { width:min(1080px,calc(100vw - 40px)); max-width:none; }
.page-preview-controls { display:flex; gap:10px; padding:15px 24px; background:#f8f8f8; flex-shrink:0; }
.pdp-preview-device { width:100%; border:1px solid #e5e5e5; border-radius:8px; overflow:hidden; background:white; }
.pdp-preview-device.is-mobile { width:390px; max-width:100%; margin:auto; }
.pdp-preview-device header { display:flex; justify-content:center; padding:24px; border-bottom:1px solid #eee; }
.pdp-preview-device header img { width:175px; height:auto; filter:grayscale(1) brightness(.5); }
.pdp-preview-product { display:grid; grid-template-columns:1fr 1fr; gap:28px; padding:28px; align-items:center; }
.pdp-preview-product .pdp-preview-main-image { width:100%; height:300px; object-fit:cover; border-radius:4px; }
.pdp-preview-product > div { display:flex; flex-direction:column; gap:16px; }
.pdp-preview-product h3 { font-size:24px; font-weight:500; line-height:1.3; }
.pdp-preview-product p,.pdp-preview-section p { font-size:13px; color:#666; line-height:1.7; white-space:pre-line; overflow-wrap:anywhere; }
.pdp-preview-product strong { font-weight:500; font-size:18px; }
.template-editorial .pdp-preview-product { grid-template-columns:1.35fr 1fr; }
.template-editorial .pdp-preview-main-image { height:400px; }
.template-charm .pdp-preview-product { background:#f5f5f5; }
.pdp-preview-section { display:grid; grid-template-columns:1fr 1fr; gap:24px; padding:24px 28px; align-items:center; }
.pdp-preview-section > img { width:100%; height:280px; object-fit:cover; border-radius:4px; }
.pdp-preview-section h3 { font-size:22px; line-height:1.3; font-weight:500; margin-bottom:15px; overflow-wrap:anywhere; }
.pdp-preview-section .button { margin-top:18px; }
.pdp-preview-section.layout-image-right > img { order:2; }
.pdp-preview-section.layout-full,.pdp-preview-section.is-text { display:block; }
.pdp-preview-section.layout-full > img { margin-bottom:24px; height:320px; }
.is-mobile .pdp-preview-product,.is-mobile .pdp-preview-section { grid-template-columns:1fr; padding:20px; }
.is-mobile .pdp-preview-section.layout-image-right > img { order:0; }
.module-settings-panel { padding:26px; max-width:1000px; }
.module-settings-panel h3 { font-size:14px; font-weight:500; margin:28px 0 18px; }
.module-settings-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 22px; }
.module-settings-note { font-size:12px; color:#777; line-height:1.7; margin:15px 0 22px; }
.rule-collection-options { display:grid; grid-template-columns:1fr 1fr; gap:12px 20px; }
.rule-collection-options .ops-checkbox,.rule-exclusions-reviewed { min-height:44px; line-height:1.5; }
.module-settings-panel input[type="checkbox"] { width:16px; min-height:initial; flex-shrink:0; }
.rule-exclusions-reviewed { margin:20px 0; }
.rule-readiness { display:grid; gap:20px; }
.rule-readiness section { padding-bottom:18px; border-bottom:1px solid #eee; }
.rule-readiness h3,.rule-result h3 { font-size:15px; font-weight:500; margin-bottom:10px; }
.rule-readiness p,.rule-result p { font-size:13px; line-height:1.6; }
.rule-missing-fields { padding-left:18px; font-size:12px; line-height:1.9; color:#777; }
.rule-result:empty { display:none; }
.rule-result { padding:20px; border:1px solid #eee; border-radius:8px; }
@media(max-width:560px) {
 .page-designer-fields,.module-settings-grid { grid-template-columns:1fr; gap:0; }
 .page-section-heading { flex-direction:column; align-items:stretch; }
 .page-section-heading > div .button { flex:1 1 0; min-height:44px; }
 .page-section-list li { align-items:flex-start; flex-direction:column; gap:13px; }
 .page-section-actions { width:100%; justify-content:space-between; }
 .page-section-actions .icon-button { width:44px; height:44px; }
 .page-designer-actions .button { width:auto; min-height:44px; flex:1 1 45%; }
 .page-preview-dialog { width:100%; max-width:100%; margin:0; border-radius:12px 12px 0 0; align-self:end; }
 .page-preview-controls { padding:12px 16px; }
 .page-preview-controls .button { flex:1 1 0; min-height:44px; }
 .pdp-preview-product,.pdp-preview-section { grid-template-columns:1fr; padding:18px; }
 .pdp-preview-product .pdp-preview-main-image { height:280px; }
 .module-settings-panel { padding:22px; }
 .module-settings-panel input,.module-settings-panel textarea,.module-settings-panel select,.page-designer-panel input,.page-designer-panel select { font-size:16px; min-height:44px; }
 .module-settings-panel .button { width:100%; min-height:44px; }
 .rule-collection-options { grid-template-columns:1fr; gap:8px; }
}

.page-section-heading .button { width:156px; justify-content:center; }
@media(max-width:560px) { .page-designer-actions { flex-direction:column; } .page-designer-actions .button { width:100%; flex:initial; } .page-section-heading .button { width:auto; } }
