        /* Keep existing Font Awesome 6-style classes compatible with the bundled FA5 font. */
        .fa-solid,.fa-regular,.fa-brands { display:inline-block; font-style:normal; font-variant:normal; text-rendering:auto; line-height:1; -webkit-font-smoothing:antialiased; }
        .fa-solid { font-family:"Font Awesome 5 Free"; font-weight:900; }
        .fa-regular { font-family:"Font Awesome 5 Free"; font-weight:400; }
        .fa-brands { font-family:"Font Awesome 5 Brands"; font-weight:400; }
        .fa-circle-check:before { content:"\f058"; }
        .fa-circle-info:before { content:"\f05a"; }
        .fa-triangle-exclamation:before { content:"\f071"; }
        .fa-sliders:before,.fa-sliders-h:before { content:"\f1de"; }
        .fa-wand-magic-sparkles:before { content:"\f0d0"; }
        .fa-clock-rotate-left:before { content:"\f1da"; }
        .fa-file-pdf:before { content:"\f1c1"; }
        .fa-file-image:before { content:"\f1c5"; }
        .fa-cloud-arrow-up:before { content:"\f093"; }
        .fa-calendar-days:before { content:"\f073"; }
        .fa-calendar-plus:before { content:"\f271"; }
        .fa-calendar-xmark:before { content:"\f273"; }
        .fa-calendar-check:before { content:"\f274"; }
        .fa-bolt-lightning:before { content:"\f0e7"; }
        .fa-door-closed:before { content:"\f52a"; }
        .fa-door-open:before { content:"\f52b"; }
        .fa-up-right-from-square:before { content:"\f35d"; }
        .fa-floppy-disk:before { content:"\f0c7"; }
        .fa-trash-can:before { content:"\f2ed"; }
        .fa-users-line:before { content:"\f0c0"; }
        .fa-plus-minus:before { content:"\f0b2"; }
        .fa-calendar-clock:before { content:"\f017"; }
        .fa-display:before { content:"\f108"; }
        .fa-language:before { content:"\f1ab"; }
        .fa-cash-register:before { content:"\f07a"; }
        .fa-circle-question:before { content:"\f059"; }
        .fa-photo-video:before { content:"\f87c"; }
        .member-feature-group-title { display:flex; align-items:center; gap:10px; margin-bottom:1rem; }
        .member-feature-group-title > div:last-child { min-width:0; }
        .member-feature-group-title .member-feature-kicker { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.14em; color:var(--brosurhub-muted-foreground); }
        .member-feature-group-title .member-feature-heading { font-size:18px; font-weight:800; letter-spacing:-.03em; color:var(--brosurhub-card-foreground); margin:2px 0 0; }
        .member-dashboard-lower { display:grid !important; grid-template-columns:minmax(0,1.25fr) minmax(320px,.9fr) !important; gap:20px !important; align-items:stretch !important; margin-top:20px !important; }
        .member-dashboard-lower > .card { min-width:0; height:100%; box-sizing:border-box; }
        .member-accordion-title { min-height:42px; padding:10px 12px; border-radius:12px; background:var(--brosurhub-surface-soft); display:flex; align-items:center; gap:8px; }
        .member-accordion-title > svg { flex:0 0 auto; }
        .member-accordion-title .accordion-kicker { display:block; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.14em; color:var(--brosurhub-muted-foreground); line-height:1.2; }
        .member-accordion-title .accordion-heading { display:block; margin-top:2px; font-size:15px; font-weight:800; letter-spacing:-.02em; color:var(--brosurhub-card-foreground); line-height:1.25; }
        .member-accordion-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; padding:10px 0 0 24px; border-top:1px solid var(--brosurhub-border); width:100%; }
        .member-accordion-actions button { min-height:36px; padding:.55rem .9rem !important; border-radius:10px !important; }
        .member-accordion-title > button { order:3; }
        .member-accordion-title > .fa-circle { display:none !important; }
        .feature-panel label { margin-bottom:8px !important; }
        .feature-panel input, .feature-panel textarea, .feature-panel select { margin-bottom:10px; }
        .feature-panel > div > div > div > div[style*="flex-direction: column"] > div { padding-bottom:14px; margin-bottom:14px; border-bottom:1px solid color-mix(in srgb,var(--brosurhub-border) 72%,transparent); }
        .feature-panel > div > div > div > div[style*="flex-direction: column"] > div:last-child { padding-bottom:0; margin-bottom:0; border-bottom:0; }
        .feature-panel p { margin-top:8px !important; }
        .feature-panel .member-field-row { padding-bottom:14px; margin-bottom:14px; border-bottom:1px solid color-mix(in srgb,var(--brosurhub-border) 72%,transparent); }
        .feature-panel .member-field-row:last-child { padding-bottom:0; margin-bottom:0; border-bottom:0; }
        
        /* Reusable section card styles */
        .section-card { background: var(--brosurhub-card); border: 1px solid var(--brosurhub-border); border-radius: var(--brosurhub-radius-lg); padding: 1.5rem; box-shadow: var(--brosurhub-shadow-soft); overflow: hidden; }
        .section-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brosurhub-muted-foreground); margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; }
        .panel-container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1.25rem; max-width: 860px; margin-inline: auto; }
        .form-field { display: flex; flex-direction: column; gap: 1rem; }
        .form-label { font-size: 12px; font-weight: 700; color: var(--brosurhub-card-foreground); margin-bottom: 6px; display: block; }
        .form-input { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--brosurhub-input); background: var(--brosurhub-card); border-radius: var(--brosurhub-radius-sm); font-size: 14px; color: var(--brosurhub-card-foreground); font-family: inherit; outline: none; }
        
        .member-upload-btn { display:inline-flex !important; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:.55rem .9rem !important; border:1px dashed var(--brosurhub-border) !important; border-radius:10px !important; background:var(--brosurhub-surface-soft) !important; color:var(--brosurhub-card-foreground) !important; font:800 12px/1.2 inherit !important; cursor:pointer; white-space:nowrap; }
        .member-upload-btn:hover { border-color:var(--brosurhub-primary) !important; background:color-mix(in srgb,var(--brosurhub-primary) 6%,var(--brosurhub-surface-soft)) !important; }
        label:has(> input[type="file"]) { display:inline-flex !important; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:.55rem .9rem !important; border:1px dashed var(--brosurhub-border) !important; border-radius:10px !important; background:var(--brosurhub-surface-soft) !important; font-weight:800 !important; font-size:12px !important; }
        input[type="file"] { display:none !important; }
        .member-media-field { padding:1rem 0 1.15rem; border-bottom:1px solid var(--brosurhub-border); }
        .member-media-field:last-child { border-bottom:0; padding-bottom:0; }
        .member-media-actions { display:grid !important; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px; padding-top:10px; border-top:1px solid var(--brosurhub-border); }
        .member-media-actions > * { width:100% !important; min-height:36px; }
        .member-media-actions .member-upload-btn { grid-column:2; }
        .member-media-actions > .member-upload-btn + button { grid-column:1 / -1; }
        #document_pdf_url_0, #document_pdf_url_1, #document_pdf_url_2 { margin-bottom:0; }
        #document_pdf_url_0, #document_pdf_url_1, #document_pdf_url_2 { grid-column:1; }
        @media (max-width:560px) { .member-media-actions { grid-template-columns:1fr; } }
        .member-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:.7rem !important; }
        .member-products-grid > * { min-width:0; padding:.75rem !important; border:1px solid var(--brosurhub-border); border-radius:10px; background:var(--brosurhub-card); font-size:12px; }
        @media (max-width:700px) { .member-products-grid, #products_grid, #gallery_grid { grid-template-columns:1fr !important; } }
        .member-custom-html-card { grid-column:1 / -1 !important; width:100%; min-width:0; box-sizing:border-box; padding:1.25rem; border:1px solid var(--brosurhub-border); border-radius:var(--brosurhub-radius-lg); background:var(--brosurhub-card); box-shadow:var(--brosurhub-shadow-soft); }
        .member-custom-html-card textarea { display:block; width:100%; min-height:180px; box-sizing:border-box; }
        #products_grid { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:.75rem !important; }
        #gallery_grid { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:.75rem !important; }
        #brochure_images_list, #document_pdfs_list { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:.75rem !important; }
        .gallery-media-card { position:relative; aspect-ratio:1 / 1; overflow:hidden; display:flex; align-items:center; justify-content:center; border:1px solid var(--brosurhub-border); border-radius:14px; background:var(--brosurhub-surface-soft); }
        .gallery-media-card-image { width:100%; height:100%; object-fit:contain; display:block; background:var(--brosurhub-surface-soft); }
        .gallery-media-card-placeholder { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:2rem; color:var(--brosurhub-primary); }
        .gallery-media-card-actions { position:absolute; top:6px; right:6px; z-index:5; display:flex; gap:4px; pointer-events:auto; }
        .gallery-media-card-edit, .gallery-media-card-delete { position:relative; z-index:6; width:28px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:8px; cursor:pointer; pointer-events:auto; box-shadow:0 2px 6px rgba(0,0,0,.2); }
        .gallery-media-card-edit { border:1px solid rgba(255,255,255,.7); background:rgba(255,255,255,.95); }
        .gallery-media-card-delete { border:1px solid rgba(255,100,100,.55); background:rgba(255,235,235,.97); color:#b91c1c; }
        .member-media-section { padding:1rem; border:1px solid var(--brosurhub-border); border-radius:var(--brosurhub-radius-md); background:var(--brosurhub-surface-soft); }
        .bh-fcard-content { padding-top:1.35rem !important; }
        .member-add-product-section { margin:12px 0 16px; padding:12px 14px; border:1px solid var(--brosurhub-border); border-radius:12px; background:var(--brosurhub-surface-soft); text-align:center; }
        .member-add-action { display:inline-flex !important; justify-content:center; }
        .member-add-caption { margin:8px 0 0; text-align:center; font-size:12px; line-height:1.5; color:var(--brosurhub-muted-foreground); }
        .member-add-section { margin:12px 0 16px; padding:12px 14px; border:1px solid var(--brosurhub-border); border-radius:12px; background:var(--brosurhub-surface-soft); text-align:center; }
        .member-add-section > button { margin:0 auto !important; }
        /* Shared action model for controls placed in each brochure editor section. */
        #frm_brosur_edit .member-section-action { display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:8px !important; min-height:40px !important; padding:.55rem 1rem !important; border-radius:10px !important; font:800 12px/1.2 inherit !important; letter-spacing:0 !important; cursor:pointer; transition:transform .16s ease, box-shadow .16s ease, opacity .16s ease, border-color .16s ease, background .16s ease !important; }
        #frm_brosur_edit .member-section-action:hover { transform:translateY(-1px); }
        #frm_brosur_edit .member-section-action:focus-visible { outline:3px solid color-mix(in srgb,var(--brosurhub-primary) 28%,transparent); outline-offset:2px; }
        #frm_brosur_edit .member-section-action--primary { border:0 !important; background:var(--brosurhub-primary) !important; color:var(--brosurhub-primary-foreground) !important; box-shadow:0 6px 16px color-mix(in srgb,var(--brosurhub-primary) 26%,transparent) !important; }
        #frm_brosur_edit .member-section-action--secondary { border:1px dashed var(--brosurhub-border) !important; background:var(--brosurhub-surface-soft) !important; color:var(--brosurhub-card-foreground) !important; box-shadow:none !important; }
        #frm_brosur_edit .member-section-action--success { border:1px solid #bbf7d0 !important; background:color-mix(in srgb,#22c55e 7%,var(--brosurhub-card)) !important; color:#15803d !important; box-shadow:none !important; }
        #frm_brosur_edit .member-section-action--danger { border:1px solid #fecaca !important; background:color-mix(in srgb,#ef4444 6%,var(--brosurhub-card)) !important; color:#b91c1c !important; box-shadow:none !important; }
        #frm_brosur_edit .member-add-product-section,
        #frm_brosur_edit .member-add-section { margin:12px 0 16px; padding:12px 14px !important; border:1px solid #d8e1f2 !important; border-radius:12px !important; background:#f7f9fe !important; text-align:center; }
        #frm_brosur_edit .member-add-product-section .member-section-action--primary,
        #frm_brosur_edit > .member-editor-layout .member-section-action--primary,
        #frm_brosur_edit .member-section-action--primary { background:linear-gradient(180deg,#3564f5 0%,#2454ed 100%) !important; border-radius:999px !important; min-height:36px !important; padding:.5rem 1rem !important; box-shadow:0 7px 16px rgba(37,84,237,.24) !important; }
        #frm_brosur_edit .member-add-product-section .member-section-action--primary:hover,
        #frm_brosur_edit .member-section-action--primary:hover { background:linear-gradient(180deg,#416df7 0%,#1e4be0 100%) !important; box-shadow:0 10px 20px rgba(37,84,237,.3) !important; }
        #frm_brosur_edit .member-add-section .member-add-caption,
        #frm_brosur_edit .member-add-product-section .member-add-caption { margin:8px 0 0; color:#435476; }
        #frm_brosur_edit #btn_add_gallery,
        #frm_brosur_edit #btn_add_faq { border-radius:999px !important; border:0 !important; background:linear-gradient(180deg,#3564f5 0%,#2454ed 100%) !important; color:#fff !important; box-shadow:0 7px 16px rgba(37,84,237,.24) !important; }
        @media (max-width:700px) { #products_grid, #gallery_grid, #brochure_images_list, #document_pdfs_list { grid-template-columns:1fr !important; } }
        .member-custom-html-card { display:block !important; }
        .member-custom-html-card .member-accordion-title { cursor:pointer !important; margin-bottom:0 !important; }
        .member-toggle { position:relative; width:50px; height:28px; flex:0 0 50px; display:inline-block; }
        .member-toggle input { position:absolute !important; inset:0; opacity:0; margin:0 !important; cursor:pointer; z-index:2; }
        .member-toggle .toggle-track { position:absolute; inset:0; border-radius:999px; background:#cbd5e1; transition:.2s ease; }
        .member-toggle .toggle-dot { position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 2px 6px rgba(15,23,42,.25); transition:.2s ease; }
        .member-toggle input:checked + .toggle-track { background:var(--brosurhub-primary); }
        .member-toggle input:checked + .toggle-track + .toggle-dot { transform:translateX(22px); }
        #oh_batch_daypicker_wrap { border-bottom:1px solid var(--brosurhub-border); padding-bottom:.9rem; }
        #oh_batch_daypicker_wrap { padding:1rem !important; margin-top:.75rem; border:1px solid var(--brosurhub-border); border-radius:12px; background:var(--brosurhub-card); }
        #oh_batch_actions_wrap { margin-top:.9rem; padding:1rem !important; border:1px solid var(--brosurhub-border); border-radius:12px; background:var(--brosurhub-card); }
        #oh_batch_daypicker_wrap { width:100%; display:grid !important; grid-template-columns:repeat(8,minmax(0,1fr)) !important; }
        #oh_batch_actions_wrap { width:100%; display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px !important; align-items:stretch !important; }
        #oh_batch_actions_wrap > div:first-child { grid-column:1/-1; width:100% !important; }
        #oh_batch_actions_wrap > button { width:100% !important; min-width:0 !important; }
        #oh_batch_actions_wrap > div:first-child { border-radius:10px; padding:.55rem .7rem; background:var(--brosurhub-surface-soft); }
        #oh_grid { gap:1rem !important; padding:.25rem 0 !important; }
        #oh_grid > div { padding:1rem 1.1rem !important; border-radius:14px !important; margin-bottom:.25rem; }
        #oh_grid > div > div:first-child { padding-bottom:.75rem !important; margin-bottom:.8rem !important; border-bottom:1px solid var(--brosurhub-border) !important; }
        #oh_grid input[type="time"] { min-height:40px !important; padding:.55rem .75rem !important; }
        #oh_batch_actions_wrap { justify-content:flex-start !important; padding-top:.15rem; }
        #oh_batch_actions_wrap > div:first-child { min-width:240px; justify-content:center; }
        #oh_batch_actions_wrap button { min-width:140px !important; }
        @media (max-width:700px) {
            #oh_batch_daypicker_wrap { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
            #oh_batch_actions_wrap { grid-template-columns:1fr 1fr !important; }
            #oh_batch_actions_wrap > div:first-child, #oh_batch_actions_wrap button { width:100%; min-width:0 !important; }
            #oh_batch_actions_wrap > div:first-child { grid-column:1/-1; }
        }
        @media (max-width: 700px) {
            .member-dashboard-lower { grid-template-columns:1fr !important; gap:16px !important; margin-top:16px !important; }
            .layout { display:block !important; }
            .sidebar { position:relative !important; width:100% !important; max-height:none !important; }
            main, .main-content, .content { width:100% !important; min-width:0 !important; max-width:100% !important; padding-left:12px !important; padding-right:12px !important; }
            #feature_tabs { grid-template-columns:1fr !important; min-width:0 !important; width:100% !important; }
            #feature_tabs + div { max-width:100% !important; width:100% !important; }
            .member-editor-layout { grid-template-columns:1fr !important; }
            .member-editor-actions { position:static !important; width:100% !important; }
            .member-editor-actions > * { width:100% !important; justify-content:center !important; }
            [style*="grid-template-columns: 1fr 1fr"], [style*="grid-template-columns:1fr 1fr"] { grid-template-columns:1fr !important; }
            [style*="grid-template-columns:1fr auto"], [style*="grid-template-columns: 1fr auto"] { grid-template-columns:1fr !important; }
            .member-feature-group-title { align-items:flex-start !important; flex-wrap:wrap !important; }
            .member-feature-group-title .member-feature-heading { font-size:16px !important; }
            button, a { max-width:100%; }
            #frm_brosur_edit, #frm_brosur_edit * { min-width:0 !important; max-width:100%; }
            #frm_brosur_edit .member-editor-layout { display:block !important; width:100% !important; }
            #frm_brosur_edit .member-editor-layout > * { width:100% !important; margin-left:0 !important; margin-right:0 !important; }
            #frm_brosur_edit #brochure_images_list > div, #frm_brosur_edit #document_pdfs_list > div { width:100% !important; overflow:hidden; }
            #frm_brosur_edit #brochure_images_list input, #frm_brosur_edit #document_pdfs_list input { width:100% !important; }
            #frm_brosur_edit .member-add-section { flex-wrap:wrap !important; }
            #frm_brosur_edit .member-section-action, #frm_brosur_edit .member-upload-btn { width:100% !important; max-width:100% !important; min-height:40px !important; white-space:nowrap !important; overflow:visible !important; }
            #frm_brosur_edit #brochure_images_list .member-upload-btn, #frm_brosur_edit #brochure_images_list .member-section-action, #frm_brosur_edit #document_pdfs_list .member-upload-btn, #frm_brosur_edit #document_pdfs_list .member-section-action { display:flex !important; visibility:visible !important; opacity:1 !important; }
            #frm_brosur_edit #brochure_images_list > div, #frm_brosur_edit #document_pdfs_list > div { overflow:visible !important; }
        }
