#dwv4{--v4-ink:#203447;--v4-muted:#718397;--v4-line:#e2e9f0;--v4-accent:#087f90;color:var(--v4-ink);background:#f3f6fa;border-radius:16px;overflow:hidden;min-height:82vh;font-family:system-ui,sans-serif}#dwv4 *{box-sizing:border-box}#dwv4 button,#dwv4 select{font:inherit;cursor:pointer}#dwv4 .v4-top{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fff;border-bottom:1px solid var(--v4-line);position:sticky;top:0;z-index:20;flex-wrap:wrap}#dwv4 .v4-identity{display:flex;gap:10px;align-items:center}#dwv4 .v4-identity strong{display:block;font-size:15px}#dwv4 .v4-identity small{display:block;color:var(--v4-muted);font-size:11px}#dwv4 .v4-dot{width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,#087f90,#153e61)}#dwv4 .v4-back{color:#62778b;text-decoration:none;font-size:12px}#dwv4 .v4-grow{flex:1}#dwv4 #v4-state{color:#7b8a9a;font-size:12px}#dwv4 .v4-top button,#dwv4 .v4-top .v4-publish{border:1px solid #dce6ed;background:#fff;border-radius:10px;padding:9px 12px;font-size:12px}#dwv4 .v4-top .v4-primary{background:#087f90;color:#fff;border-color:#087f90;font-weight:700}#dwv4 .v4-publish{opacity:.6}#dwv4 .v4-device{display:flex;border:1px solid var(--v4-line);border-radius:10px;overflow:hidden}#dwv4 .v4-device button{border:0;border-radius:0}#dwv4 .v4-device button[aria-pressed=true]{background:#e3f4f5;color:#006d7d}#dwv4 .v4-body{display:grid;grid-template-columns:220px minmax(0,1fr) 260px;gap:12px;padding:12px;min-height:75vh}#dwv4 .v4-panel{background:#fff;border:1px solid var(--v4-line);border-radius:14px;padding:15px;min-width:0}#dwv4 .v4-panel-title{font-size:12px;text-transform:uppercase;letter-spacing:.4px;font-weight:800;margin:8px 0 13px;color:#536c81}#dwv4 #v4-pages button,#dwv4 #v4-sections button{display:flex;align-items:center;gap:8px;width:100%;border:0;border-radius:9px;background:transparent;padding:11px;text-align:start;color:#40566b;font-size:13px}#dwv4 #v4-pages button.active,#dwv4 #v4-sections button.active{background:#e7f5f6;color:#087283;font-weight:750}#dwv4 .v4-handle{color:#a2afba}#dwv4 .v4-add{border-top:1px solid var(--v4-line);padding-top:13px;margin-top:13px}#dwv4 .v4-add select,#dwv4 .v4-add button{width:100%;padding:10px;border:1px solid #d6e4eb;border-radius:9px;background:#fff;margin-bottom:7px}#dwv4 .v4-add button{background:#e7f5f6;color:#087283;font-weight:750}#dwv4 .v4-stage{background:#e9eef3;border:1px solid #dce6ee;border-radius:15px;padding:12px;min-width:0;display:flex;flex-direction:column;align-items:center}#dwv4 .v4-stage-label{font-size:11px;color:#728497;margin:3px 0 12px}#dwv4 iframe{width:100%;height:calc(100vh - 195px);min-height:480px;max-width:1100px;background:white;border:0;border-radius:12px;box-shadow:0 12px 32px #183b5524;transition:max-width .2s}#dwv4 #v4-inspector label,#dwv4 .v4-page-props label{display:block;font-size:12px;color:#53697b;margin:14px 0}#dwv4 #v4-inspector input,#dwv4 #v4-inspector textarea,#dwv4 .v4-page-props input:not([type=checkbox]){display:block;width:100%;padding:11px;margin-top:7px;border:1px solid #d8e4eb;border-radius:9px;background:#fcfdfe;color:#25394d;font:inherit}#dwv4 textarea{min-height:110px;resize:vertical}#dwv4 .v4-inspector-heading{font-weight:800;font-size:15px}#dwv4 .v4-inspector-actions{display:flex;gap:6px}#dwv4 .v4-inspector-actions button{flex:1;border:1px solid #dae5eb;background:#fff;border-radius:9px;padding:9px}#dwv4 .v4-page-props{border-top:1px solid var(--v4-line);margin-top:22px;padding-top:8px}#dwv4 .v4-check{display:flex!important;align-items:center;gap:7px}#dwv4.hide-left .v4-body{grid-template-columns:0 minmax(0,1fr) 260px}#dwv4.hide-left #v4-left-panel{visibility:hidden;padding:0;border:0;overflow:hidden}#dwv4.hide-right .v4-body{grid-template-columns:220px minmax(0,1fr) 0}#dwv4.hide-right #v4-right-panel{visibility:hidden;padding:0;border:0;overflow:hidden}#dwv4.hide-left.hide-right .v4-body{grid-template-columns:0 minmax(0,1fr) 0}#dwv4 .v4-empty{margin:60px auto;padding:30px;max-width:500px;text-align:center;background:#fff;border-radius:15px}@media(max-width:1100px){#dwv4 .v4-body{grid-template-columns:180px minmax(0,1fr) 220px}}@media(max-width:740px){#dwv4 .v4-top{padding:8px;gap:5px}#dwv4 .v4-back{font-size:10px}#dwv4 .v4-identity small,#dwv4 .v4-publish{display:none}#dwv4 .v4-body{display:block;padding:6px;position:relative}#dwv4 .v4-stage{min-height:65vh}#dwv4 iframe{height:65vh;min-height:380px}#dwv4 .v4-panel{position:absolute;top:6px;bottom:6px;z-index:10;width:min(290px,84vw);overflow:auto;box-shadow:0 12px 32px #183b5524}#dwv4 #v4-left-panel{left:6px}#dwv4 #v4-right-panel{right:6px}#dwv4.hide-left #v4-left-panel,#dwv4.hide-right #v4-right-panel{display:none}#dwv4:not(.hide-left) #v4-left-panel,#dwv4:not(.hide-right) #v4-right-panel{display:block}#dwv4 .v4-top button{padding:7px}}
/* V4.1 — compact visual workspace; no global application selectors */
#dwv4{--v4-ink:#172c3c;--v4-muted:#7b8b98;--v4-line:#e7edf1;--v4-accent:#097d83;background:#eef2f5;border:1px solid #e0e8ee;border-radius:18px;box-shadow:0 14px 50px #203b4b0d;min-height:calc(100vh - 135px)}
#dwv4 .v4-top{min-height:68px;padding:10px 18px;gap:9px;background:#fff;box-shadow:0 4px 20px #213f4a0a;flex-wrap:nowrap}
#dwv4 .v4-back{display:inline-flex;align-items:center;max-width:118px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
#dwv4 .v4-dot{display:grid;place-items:center;color:#fff;font-size:18px;background:linear-gradient(145deg,#0d9c9a,#153c62);border-radius:12px;width:36px;height:36px}
#dwv4 .v4-identity strong{font-size:14px;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dwv4 .v4-identity small{color:#98a7b2;font-size:10px}
#dwv4 #v4-state{border-radius:100px;padding:6px 10px;background:#f2f6f8;font-size:11px;white-space:nowrap}
#dwv4 .v4-top button{min-height:37px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
#dwv4 #v4-left,#dwv4 #v4-right{width:37px;height:37px;padding:0;font-size:18px;border-radius:10px}
#dwv4 .v4-device{background:#f2f5f7;padding:3px;border:0;border-radius:11px;gap:3px}
#dwv4 .v4-device button{width:36px;height:31px;padding:0!important;border-radius:8px!important;font-size:19px!important;background:transparent}
#dwv4 .v4-device button[aria-pressed=true]{background:#fff;box-shadow:0 1px 6px #183b5520;color:#0b7884}
#dwv4 .v4-top .v4-primary{border-radius:10px;background:#116f7c;border-color:#116f7c;padding:10px 15px}
#dwv4 .v4-publish{background:#f5f7f8!important;border-color:#eef0f1!important;font-size:11px!important}
#dwv4 .v4-body{grid-template-columns:minmax(205px,225px) minmax(0,1fr) minmax(230px,255px);gap:10px;padding:10px;min-height:calc(100vh - 205px)}
#dwv4 .v4-panel{border:1px solid #e7edf1;box-shadow:0 4px 16px #1c3c5008;border-radius:13px;padding:16px;max-height:calc(100vh - 195px);overflow:auto}
#dwv4 .v4-panel-title{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;color:#7a8b98;letter-spacing:.7px;margin:9px 0 13px}
#dwv4 .v41-title-icon{width:25px;height:25px;display:grid;place-items:center;background:#eff5f6;color:#0e8190;border-radius:7px;font-size:15px}
#dwv4 #v4-pages button,#dwv4 #v4-sections button{border-radius:9px;min-height:40px;transition:background .15s,padding .15s}
#dwv4 #v4-sections button:hover,#dwv4 #v4-pages button:hover{background:#f1f6f8}
#dwv4 #v4-sections button.active,#dwv4 #v4-pages button.active{background:#e5f4f3;color:#0a737d;box-shadow:inset 3px 0 #0a9295}
#dwv4 .v4-add{margin-top:18px}#dwv4 .v4-add button{background:#116f7c;color:#fff;border-color:#116f7c}
#dwv4 .v4-stage{padding:10px 10px 16px;border:1px solid #e4ebef;background:radial-gradient(circle at top,#f9fbfc,#e7edf2);border-radius:14px}
#dwv4 .v4-stage-label{align-self:flex-start;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:650;color:#718596;margin:4px 6px 13px}
#dwv4 .v41-live-dot{width:7px;height:7px;border-radius:50%;background:#12a88f;box-shadow:0 0 0 3px #12a88f20}
#dwv4 iframe{border-radius:13px;box-shadow:0 14px 45px #16384d1c;height:calc(100vh - 240px);min-height:480px}
#dwv4 .v4-inspector-heading{padding:11px 12px;background:#f3f8f8;border-radius:9px;color:#136d77;font-size:13px}
#dwv4 #v4-inspector input:focus,#dwv4 #v4-inspector textarea:focus{outline:2px solid #15a3a44a;border-color:#15a3a4}
#dwv4 .v4-inspector-actions button{font-size:12px}#dwv4 #v4-delete{color:#b34b4b}
#dwv4.hide-left .v4-body{grid-template-columns:0 minmax(0,1fr) 255px}#dwv4.hide-right .v4-body{grid-template-columns:225px minmax(0,1fr) 0}
@media(max-width:1200px){#dwv4 .v4-body{grid-template-columns:185px minmax(0,1fr) 220px}#dwv4 .v4-back{max-width:55px}#dwv4 .v4-identity strong{max-width:140px}#dwv4 .v4-publish{display:none}#dwv4.hide-left .v4-body{grid-template-columns:0 minmax(0,1fr) 220px}#dwv4.hide-right .v4-body{grid-template-columns:185px minmax(0,1fr) 0}}
@media(max-width:740px){#dwv4{border-radius:10px;min-height:80vh}#dwv4 .v4-top{gap:5px;min-height:55px;padding:6px;flex-wrap:wrap}#dwv4 .v4-back{display:none}#dwv4 .v4-dot{width:29px;height:29px;font-size:15px}#dwv4 .v4-identity strong{font-size:11px;max-width:100px}#dwv4 #v4-state{font-size:10px;padding:5px}#dwv4 .v4-top .v4-primary{font-size:11px;padding:7px 9px}#dwv4 .v4-body{display:block!important;padding:5px;min-height:70vh}#dwv4 .v4-stage{min-height:70vh}#dwv4 iframe{height:calc(100dvh - 175px);min-height:400px}#dwv4 .v4-panel{position:absolute;top:5px;bottom:5px;max-height:none;z-index:15;width:min(315px,88vw);box-shadow:0 15px 45px #0d2b4440}#dwv4.hide-left #v4-left-panel,#dwv4.hide-right #v4-right-panel{display:none}#dwv4 .v4-stage-label{font-size:10px}}

/* V4.2 specialized sections and contextual editing */
#dwv4 .v42-help{font-size:12px;line-height:1.7;color:#73899a;margin:12px 0 18px}#dwv4 #v4-inspector textarea{min-height:125px;line-height:1.6}#dwv4 #v4-sections button{gap:10px}#dwv4 .v4-stage-label{font-weight:700}#dwv4 iframe{background:#fff}#dwv4 #v4-inspector label{font-weight:600}#dwv4 .v4-inspector-actions{margin-top:18px}#dwv4 #v4-delete{color:#b64c4c}#dwv4 #v4-inspector [data-prop]:focus{outline:2px solid #1aa5a54d}

/* V4.3 contextual layout library */
#dwv4 .v43-library-title{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;opacity:.55;margin:18px 8px 5px}
#dwv4 .v43-variant{display:block;margin:14px 0;padding:12px;border-radius:12px;background:#eef5f7;font-size:12px;font-weight:700}
#dwv4 .v43-variant select{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #d5e3e8;background:white;border-radius:9px;color:#16364b}
#dwv4 .v4-panel{scrollbar-width:thin}
#dwv4 .v4-stage{min-width:0}
@media(max-width:740px){#dwv4 .v43-variant{padding:10px}}

/* V4.4 visual section library: isolated from legacy studio */
.v44-library-hint{display:block;font-size:12px;opacity:.7;margin-bottom:8px}.v44-overlay{position:fixed;inset:0;z-index:999999;background:rgba(12,28,45,.65);display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(5px)}.v44-dialog{width:min(900px,100%);max-height:min(90vh,850px);overflow:auto;background:#fff;color:#19344b;border-radius:20px;padding:22px;box-shadow:0 24px 90px #091b304d;direction:inherit}.v44-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.v44-head h2{font-size:22px;margin:0 0 5px}.v44-head p{margin:0;color:#63788b;font-size:13px}.v44-close{border:0;background:#edf2f6;border-radius:10px;font-size:24px;width:38px;height:38px;cursor:pointer}.v44-search{display:block;width:100%;margin:18px 0;border:1px solid #d6e2e8;border-radius:11px;padding:12px 14px;font:inherit}.v44-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v44-template{text-align:start;display:flex;flex-direction:column;gap:5px;border:1px solid #dfe8ef;background:white;border-radius:14px;padding:10px;cursor:pointer;transition:transform .15s,border-color .15s}.v44-template:hover,.v44-template:focus-visible{border-color:#139ca1;transform:translateY(-2px);outline:none}.v44-template strong{font-size:13px}.v44-template small{font-size:11px;color:#738799}.v44-art{height:95px;width:100%;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:15px;background:linear-gradient(130deg,#173e58,#128a91);color:white}.v44-art-icon{font-size:28px}.v44-art-lines{display:flex;flex-direction:column;gap:7px;width:40%}.v44-art-lines i{height:6px;border-radius:10px;background:currentColor;opacity:.6}.v44-art-lines i:nth-child(2){width:80%;opacity:.35}.v44-art-lines i:nth-child(3){width:55%;opacity:.25}.v44-art-minimal,.v44-art-centered,.v44-art-spacer{background:#eff6f7;color:#164c60}.v44-art-panel,.v44-art-split{background:linear-gradient(90deg,#eaf3f6 50%,#1b6778 50%);color:#164c60}.v44-art-features,.v44-art-campaigns{background:repeating-linear-gradient(90deg,#eef4f7 0 30%,#fff 30% 33%);color:#176d80}.v44-no-results{grid-column:1/-1;color:#6d7f8e}@media(max-width:700px){.v44-overlay{padding:8px;align-items:flex-end}.v44-dialog{border-radius:18px 18px 0 0;max-height:90vh;padding:16px}.v44-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v44-art{height:75px}.v44-head h2{font-size:18px}}@media(max-width:360px){.v44-grid{grid-template-columns:1fr}}

/* V4.5 — DonorWave identity, isolated editor UI. Preview continues using each organization's brand kit. */
#dwv4{--v4-accent:#087f90;--v45-navy:#153e61;--v45-teal:#087f90;--v45-teal-dark:#116f7c;--v45-soft:#e7f5f6;--v45-surface:#fff;--v45-focus:#0d9c9a;accent-color:var(--v45-teal)}
#dwv4 .v4-top{border-bottom:1px solid #dce8ee}
#dwv4 .v4-dot{background:linear-gradient(135deg,var(--v45-teal),var(--v45-navy))}
#dwv4 .v4-top .v4-primary,#dwv4 .v4-add button{background:var(--v45-teal-dark);border-color:var(--v45-teal-dark);color:white}
#dwv4 .v4-top .v4-primary:hover,#dwv4 .v4-add button:hover{background:#075d6b;border-color:#075d6b}
#dwv4 .v4-top button:focus-visible,#dwv4 .v4-panel button:focus-visible,#dwv4 .v4-panel input:focus-visible,.v44-dialog button:focus-visible,.v44-dialog input:focus-visible{outline:3px solid var(--v45-focus,#0d9c9a);outline-offset:2px}
#dwv4 .v45-page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:0 0 9px;font-size:10px;color:#63798b}
#dwv4 .v45-page-count{font-weight:800;color:var(--v45-navy)}
#dwv4 .v45-page-safety{white-space:nowrap;color:#667e8c}
#dwv4 #v45-page-search{width:100%;height:37px;border:1px solid #d7e5eb;border-radius:10px;background:#f9fbfc;color:#17374b;padding:8px 11px;font-size:12px;margin:0 0 8px}
#dwv4 #v4-pages button{gap:8px;min-width:0}
#dwv4 #v4-pages button[hidden]{display:none!important}
#dwv4 .v45-page-icon{flex:0 0 23px;width:23px;height:23px;display:grid;place-items:center;background:#eff5f7;border-radius:7px;color:#407083}
#dwv4 .v45-page-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#dwv4 .v45-page-status{font-size:16px;line-height:1;flex:0 0 auto}
#dwv4 .v45-page-status.is-visible{color:#0b8b83}
#dwv4 .v45-page-status.is-hidden{color:#9caab4}
#dwv4 #v45-no-pages{font-size:12px;color:#758896;padding:12px;text-align:center}
#dwv4 #v4-pages button.active{background:var(--v45-soft);color:var(--v45-teal-dark)}
#dwv4 .v4-panel-title{color:var(--v45-navy)}
#dwv4 .v44-dialog{border-top:4px solid #087f90}
@media(max-width:740px){#dwv4 .v45-page-toolbar{flex-wrap:wrap}#dwv4 #v45-page-search{font-size:16px}}

/* V4.6 integrated editor productivity, DonorWave design tokens */
#dwv4 #v46-undo,#dwv4 #v46-redo,#dwv4 #v46-export{width:36px;min-width:36px;padding:0;border:1px solid #d7e5eb;background:#f5f9fa;color:var(--v45-navy);border-radius:9px;font-size:20px}
#dwv4 #v46-undo:hover:not(:disabled),#dwv4 #v46-redo:hover:not(:disabled),#dwv4 #v46-export:hover{background:var(--v45-soft);border-color:var(--v45-teal)}
#dwv4 #v46-undo:disabled,#dwv4 #v46-redo:disabled{opacity:.38;cursor:not-allowed}
#dwv4 #v46-section-search{width:100%;height:36px;margin:0 0 9px;border:1px solid #d7e5eb;border-radius:10px;padding:8px 11px;background:#f9fbfc;color:#17374b;font-size:12px}
#dwv4 #v4-sections button[hidden]{display:none!important}
#dwv4 .v46-section-index{display:inline-grid;place-items:center;width:21px;height:21px;min-width:21px;border-radius:6px;background:#e7f1f3;color:#116f7c;font-size:10px;font-weight:800}
#dwv4 .v4-inspector-actions{display:flex;flex-wrap:wrap;gap:6px}
#dwv4 #v46-duplicate{border-color:#a9d8d8;background:#e8f6f6;color:#086c77}
@media(max-width:740px){#dwv4 #v46-section-search{font-size:16px}#dwv4 #v46-undo,#dwv4 #v46-redo,#dwv4 #v46-export{width:32px;min-width:32px;min-height:32px;font-size:17px}}

/* V4.7 draft publishing controls */
#dwv4 .v47-page-actions{display:flex;gap:6px;flex-wrap:wrap;padding:7px 10px}#dwv4 .v47-page-actions button{flex:1 1 auto;min-width:54px;border:1px solid #bfd3dd;border-radius:9px;background:#f4fafb;color:#153c51;padding:8px;font-weight:600;cursor:pointer}#dwv4 #v47-publish{background:#0c737c;color:white;border:0}#dwv4 #v47-revisions{border:1px solid #bad0d9;border-radius:8px;background:white;color:#153c51;padding:8px;cursor:pointer}@media(max-width:760px){#dwv4 .v47-page-actions{gap:4px}#dwv4 #v47-publish,#dwv4 #v47-revisions{padding:7px 9px;font-size:12px}}

/* V4.8: compact controls and visible section totals, no public-site styling */
#dwv4 .v48-section-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:1px 6px;margin-inline-start:6px;border-radius:999px;background:rgba(17,135,145,.12);font-size:11px;font-weight:700;color:inherit}
#dwv4 #v48-import{min-width:34px;min-height:34px}
#dwv4 #v48-import:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:740px){#dwv4 #v48-import{min-width:38px;min-height:38px}}

/* V4.9 focused editing toolkit; editor-only styles */
#dwv4 .v49-media-preview{border:1px dashed #a7c6ce;border-radius:12px;padding:10px;margin:6px 0 14px;min-height:58px;display:flex;align-items:center;justify-content:center;color:#597484;font-size:12px;background:#f5fafb;overflow:hidden}
#dwv4 .v49-media-preview img{max-width:100%;max-height:170px;object-fit:contain;border-radius:8px}
#dwv4 .v49-section-label{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#dwv4 .v49-section-actions{display:flex;gap:4px;margin-inline-start:auto}
#dwv4 .v49-section-actions span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:26px;border-radius:6px;background:#e6f1f3;color:#124b60;font-size:14px;cursor:pointer}
#dwv4 .v49-section-actions span:hover{background:#cbe9e9}
@media(max-width:740px){#dwv4 .v49-section-actions span{width:32px;height:32px}}

/* V5.0: quality workspace, DonorWave editor chrome only */
#dwv4 .dwv5-quality{border:1px solid #117b88;background:#eaf8f9;color:#075a68;border-radius:10px;padding:9px 12px;font:600 12px system-ui;cursor:pointer;white-space:nowrap}
#dwv4 .dwv5-quality:hover{background:#d7f1f3}
.dwv5-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(8,27,45,.62);display:flex;align-items:center;justify-content:center;padding:20px}
.dwv5-dialog{background:#fff;color:#17354b;width:min(620px,100%);max-height:85vh;overflow:auto;border-radius:18px;box-shadow:0 24px 80px #071c3266;padding:22px;font:14px system-ui;direction:inherit}
.dwv5-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dwv5-heading h2{font-size:20px;margin:0}.dwv5-heading p{margin:7px 0 15px;color:#647789}.dwv5-close{border:1px solid #d9e4eb;border-radius:9px;padding:8px 12px;background:white;cursor:pointer;color:#16374d}.dwv5-summary{padding:12px;background:#eaf6f7;border-radius:10px;color:#075e6a;font-weight:700;margin-bottom:12px}.dwv5-issues{display:grid;gap:8px}.dwv5-issue{display:block;width:100%;text-align:start;padding:12px;border:1px solid #e0e9ee;border-radius:10px;background:#fff;color:#29485d;cursor:pointer}.dwv5-issue:hover{background:#f3f9fb}.dwv5-ok{padding:14px;background:#f5f9fb;border-radius:10px}.dwv5-foot{display:flex;justify-content:flex-end;margin-top:16px}
@media(max-width:740px){#dwv4 .dwv5-quality{padding:7px 9px;font-size:11px}.dwv5-dialog{padding:15px}}

/* V5.3 unified image picker */
.v53-overlay{position:fixed;inset:0;background:#0a2336a8;z-index:100000;display:grid;place-items:center;padding:16px}.v53-dialog{width:min(760px,100%);max-height:88vh;overflow:auto;background:#fff;color:#15334b;border-radius:18px;padding:22px;box-shadow:0 25px 90px #0003}.v53-header{display:flex;justify-content:space-between;align-items:center;font-size:20px}.v53-header button{font-size:28px;border:0;background:transparent;cursor:pointer}.v53-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.v53-tabs button,.v53-open,.v53-upload{border:1px solid #cbdce2;background:#f4f9fa;border-radius:10px;padding:10px 13px;cursor:pointer;color:#15334b}.v53-tabs .active,.v53-open{background:#126d79;color:white}.v53-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:12px;margin-top:12px}.v53-item{display:grid;gap:6px;padding:6px;border:1px solid #dae7e9;background:#fff;border-radius:12px;cursor:pointer;text-align:start;overflow:hidden}.v53-item img{width:100%;height:115px;object-fit:cover;border-radius:7px}.v53-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.v53-body input[type=file]{display:block;margin:15px 0}.v53-body select{width:100%;padding:10px}.v53-status{min-height:20px;color:#a34223}@media(max-width:600px){.v53-dialog{padding:14px}.v53-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V5.4 media metadata and safe removal */
#dwv4 .v54-remove{border:1px solid #d8e3e9;border-radius:10px;background:white;color:#74414b;padding:10px 13px;cursor:pointer;margin:4px 0 12px 8px}
#dwv4 .v54-alt{display:block;margin:8px 0 14px}
#dwv4 .v54-alt input{width:100%;margin-top:7px}
.v53-dialog button:focus-visible{outline:3px solid #1c9db2;outline-offset:2px}

/* V6 integrated video and media controls */
.v53-item video{width:100%;height:100px;object-fit:cover}.v49-media-preview video{max-width:100%}

/* V7 integrated editing usability */
#dwv4 .v4-stage{min-height:65vh}#dwv4 .v4-stage-label{max-width:100%;text-align:center}#dwv4 .v4-top{backdrop-filter:blur(12px)}#dwv4 button:focus-visible,#dwv4 input:focus-visible,#dwv4 select:focus-visible,#dwv4 textarea:focus-visible{outline:2px solid #087f90;outline-offset:2px}#dwv4 .v4-inspector-actions{flex-wrap:wrap}#dwv4 .v4-inspector-actions button{min-width:65px}#dwv4 .v4-stage iframe{width:100%}#dwv4 .v4-panel{scrollbar-width:thin}#dwv4 .v4-page-props{position:relative}@media(max-width:740px){#dwv4 .v4-stage{padding:7px}#dwv4 .v4-stage iframe{height:68vh;min-height:400px}#dwv4 .v4-top{position:sticky;top:0;z-index:40}#dwv4 .v4-top button{min-height:34px}}

/* V8 — DonorWave violet editor chrome; intentionally scoped away from hosted public site */
#dwv4{
 --dw8-violet:#7544dc;--dw8-violet-dark:#5526b7;--dw8-violet-light:#f4efff;
 --dw8-ink:#30204e;--dw8-border:#e5daf7;--dw8-focus:#7c3aed;
 accent-color:var(--dw8-violet);
}
#dwv4 .v4-top{position:sticky;top:0;z-index:45;background:linear-gradient(112deg,#faf8ff 0%,#f2eaff 56%,#fff 100%);border-bottom:1px solid var(--dw8-border);box-shadow:0 3px 18px #5c2c9b0b}
#dwv4 .v4-dot,#dwv4 .v41-title-icon{color:var(--dw8-violet)}
#dwv4 .v4-panel-title{color:var(--dw8-ink)}
#dwv4 .v4-primary,#dwv4 #v47-publish{background:linear-gradient(115deg,#854fe8,#6131c8);color:#fff;border:1px solid #6835c8;box-shadow:0 3px 12px #7041d026}
#dwv4 .v4-primary:hover,#dwv4 #v47-publish:hover{background:linear-gradient(115deg,#7540d9,#4f23a9)}
#dwv4 #v47-revisions,#dwv4 .dwv5-quality,#dwv4 #v46-duplicate{background:var(--dw8-violet-light);color:var(--dw8-violet-dark);border-color:#d6c2fb}
#dwv4 .v4-device{display:inline-flex;gap:3px;padding:3px;border-radius:11px;background:#ede4fb}
#dwv4 .v4-device button{min-width:33px;min-height:32px;border-radius:8px;border:0;background:transparent;color:#6c5095;cursor:pointer}
#dwv4 .v4-device button[aria-pressed=true]{background:#fff;color:var(--dw8-violet-dark);box-shadow:0 1px 7px #4d24852e}
#dwv4 #v4-pages button.active,#dwv4 #v4-sections button.active{background:#f0e8ff;color:#5526a8;border-color:#cdb3f5}
#dwv4 .v46-section-index,#dwv4 .v48-section-count{background:#e8dcff;color:#5c2cae}
#dwv4 .v49-section-actions span{background:#efe8fc;color:#6439a8}
#dwv4 .v49-section-actions span:hover{background:#ddc9ff}
#dwv4 .v49-media-preview{background:#faf7ff;border-color:#cfb8f5}
#dwv4 button:focus-visible,#dwv4 input:focus-visible,#dwv4 select:focus-visible,#dwv4 textarea:focus-visible{outline:3px solid var(--dw8-focus);outline-offset:2px}
#dwv4 .v4-stage-label{color:#6b478e}
.v44-dialog,.v53-dialog,.dwv5-dialog{border:1px solid #e8def8}
.v44-template:focus-visible,.v53-dialog button:focus-visible{outline:3px solid #8246e5;outline-offset:2px}
.v53-tabs .active,.v53-open{background:#7544dc;color:#fff;border-color:#7544dc}
.dwv5-summary{background:#f0e8ff;color:#5b2caa}
.dwv5-overlay{background:#1d0c368f}
@media(max-width:1050px){
 #dwv4 .v4-top{gap:5px;flex-wrap:wrap}
 #dwv4 .v4-top .v4-identity{min-width:0}
 #dwv4 .v4-top .v4-identity strong{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
}
@media(max-width:740px){
 #dwv4 .v4-top{padding:7px;gap:5px}
 #dwv4 .v4-top button{min-height:34px}
 #dwv4 .v4-device button{min-width:35px}
 #dwv4 .v4-stage iframe{min-height:410px}
}

/* V8.1 official DonorWave emblem: studio chrome only, never public tenant pages */
#dwv4{--dw81-blue:#1468f2;--dw81-purple:#7038ed;--dw81-navy:#142445;--dw81-gradient:linear-gradient(112deg,#1468f2,#5938ef 62%,#8135ec)}
#dwv4 .v4-identity{display:flex;align-items:center;gap:11px;min-width:0}
#dwv4 .dw81-brand-logo{display:block;width:148px;max-width:35vw;height:auto;object-fit:contain;flex-shrink:0}
#dwv4 .dw81-site-label{min-width:0;border-inline-start:1px solid #d9cdf4;padding-inline-start:11px}
#dwv4 .dw81-site-label strong{display:block;color:var(--dw81-navy);max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dwv4 .dw81-site-label small{display:block;color:#6a5689;white-space:nowrap}
#dwv4 .v4-primary,#dwv4 #v47-publish{background:var(--dw81-gradient);border-color:#623fe6}
#dwv4 .v4-primary:hover,#dwv4 #v47-publish:hover{background:linear-gradient(112deg,#0e5ad8,#5030d2 62%,#6b27d4)}
#dwv4 .v4-top{background:linear-gradient(105deg,#f7faff,#f5f0ff 72%,#fff)}
#dwv4 .v4-device button[aria-pressed=true]{color:#5d30d1;box-shadow:0 1px 7px #2768e32e}
@media(max-width:820px){#dwv4 .dw81-brand-logo{width:112px}#dwv4 .dw81-site-label strong{max-width:105px}}
@media(max-width:540px){#dwv4 .dw81-brand-logo{width:90px}#dwv4 .dw81-site-label small{display:none}#dwv4 .dw81-site-label strong{max-width:90px;font-size:12px}#dwv4 .v4-identity{gap:6px}#dwv4 .dw81-site-label{padding-inline-start:6px}}

/* V9.2: single-studio entry and self-contained website creation */
#dwv4{--v4-accent:#6239e9;--v45-teal:#6239e9;--v45-teal-dark:#5430d1;--v45-navy:#17264c;--v45-soft:#f0ebff;--v45-focus:#734cf3;background:#f5f6fc}
#dwv4 .v4-top .v4-primary,#dwv4 .v4-add button{background:linear-gradient(110deg,#1468f2,#6739eb)!important;border-color:#633ce4!important;color:#fff!important}
#dwv4 #v4-sections button.active,#dwv4 #v4-pages button.active{background:#efeaff;color:#542cbb;box-shadow:inset 3px 0 #6d42ec}
#dwv4 .v4-stage{background:radial-gradient(circle at top,#fdfcff,#eaeaf5)}
#dwv4 .v92-start{max-width:640px;margin:clamp(22px,6vh,90px) auto;padding:clamp(24px,5vw,52px);border-radius:24px;background:#fff;box-shadow:0 18px 65px #27396c13;border:1px solid #e8e6f6}
#dwv4 .v92-start-brand img{width:195px;max-width:100%;height:auto;display:block;margin-bottom:26px}
#dwv4 .v92-kicker{font-size:11px;letter-spacing:.18em;font-weight:800;color:#6c42e9}
#dwv4 .v92-start h1{font-size:clamp(25px,4vw,38px);line-height:1.3;color:#15254a;margin:12px 0}
#dwv4 .v92-start p{line-height:1.8;color:#63728a;margin-bottom:24px}
#dwv4 .v92-start form{display:grid;gap:17px}
#dwv4 .v92-start label{font-size:13px;font-weight:750;color:#243558;display:grid;gap:7px}
#dwv4 .v92-start input{width:100%;border:1px solid #d8dded;border-radius:12px;padding:13px 14px;background:#fafbff;color:#16264b;font-size:15px}
#dwv4 .v92-start input:focus{outline:2px solid #a994ff;border-color:#7249ed}
#dwv4 .v92-start button{border:0;border-radius:12px;background:linear-gradient(110deg,#176af2,#733ae9);color:white;font-weight:800;font-size:15px;padding:15px;cursor:pointer}
#dwv4 .v92-start button:disabled{opacity:.6;cursor:wait}
#dwv4 .v92-note{font-size:12px;color:#68778d;text-align:center}

/* DW-CONTRAST-RC2: studio contrast and keyboard focus */
#dwv4{--v4-muted:#4b5e72;--v4-accent:#086b79}
#dwv4 :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #145fa6;outline-offset:3px}
#dwv4 :is(input,select,textarea){color:#203447}
#dwv4 :is(input,textarea)::placeholder{color:#536477;opacity:1}

/* DW-CONTRAST-RC3: status, navigation and edit handles */
#dwv4 .v4-back{color:#40566c}
#dwv4 #v4-state{color:#415669}
#dwv4 .v45-page-safety{color:#415d63}
#dwv4 .v45-page-status.is-visible{color:#28624d}
#dwv4 .v4-handle{color:#536478}
#dwv4 .v42-help{color:#485b6d}
