.dcew-practice-notice,.dcew-practice-notice *{box-sizing:border-box}
.dcew-practice-notice{width:calc(100% - 32px);max-width:620px;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #aac8bc;border-radius:20px;background:#f8faf7;color:#294546;box-shadow:0 20px 80px rgb(12 39 42 / .2);font:17px/1.65 Arial,Helvetica,sans-serif;overflow:auto;overscroll-behavior:contain}
.dcew-practice-notice:not([open]){display:none}
.dcew-practice-notice::backdrop{background:rgb(12 39 42 / .58);backdrop-filter:blur(3px)}
.dcew-practice-notice .dcew-notice-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 32px;background:#e6f1ec;border-bottom:1px solid #c9d9d1}
.dcew-practice-notice .dcew-notice-brand{color:#153f43}
.dcew-practice-notice .dcew-notice-brand small{display:block;font:10px/1.5 Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:1.8px;margin-bottom:3px}
.dcew-practice-notice .dcew-notice-brand span{display:block;font:30px/1.15 Georgia,'Times New Roman',serif;letter-spacing:-1px}
.dcew-practice-notice .dcew-notice-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #aac8bc;border-radius:50%;background:transparent;color:#153f43;font:28px/1 Arial,Helvetica,sans-serif;cursor:pointer}
.dcew-practice-notice .dcew-notice-close:hover{background:#fff}
.dcew-practice-notice .dcew-notice-content{padding:32px}
.dcew-practice-notice .dcew-notice-eyebrow{margin:0 0 15px;color:#153f43;font:600 11px/1.5 Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:1.3px}
.dcew-practice-notice h2{margin:0 0 22px;color:#153f43;font:400 41px/1.13 Georgia,'Times New Roman',serif;letter-spacing:-.035em;overflow-wrap:anywhere}
.dcew-practice-notice .dcew-notice-copy{color:#294546;font:17px/1.65 Arial,Helvetica,sans-serif;overflow-wrap:anywhere}
.dcew-practice-notice .dcew-notice-copy p{margin:0 0 16px}
.dcew-practice-notice .dcew-notice-copy :last-child{margin-bottom:0}
.dcew-practice-notice .dcew-notice-copy ul,.dcew-practice-notice .dcew-notice-copy ol{padding-left:24px}
.dcew-practice-notice .dcew-notice-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:28px}
.dcew-practice-notice .dcew-notice-button{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:48px;padding:12px 20px;border:1px solid #153f43;border-radius:8px;background:#153f43;color:#fff;font:600 16px/1.5 Arial,Helvetica,sans-serif;text-decoration:none;overflow-wrap:anywhere;text-align:center}
.dcew-practice-notice .dcew-notice-button:hover{background:#205b60}
.dcew-practice-notice .dcew-notice-dismiss{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 4px;border:0;background:transparent;color:#153f43;font:16px/1.5 Arial,Helvetica,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.dcew-practice-notice .dcew-notice-preview{margin:0 0 24px;padding:10px 14px;background:#fff4d6;color:#573e0c;border:1px solid #d8bc78;border-radius:6px;font:14px/1.5 Arial,Helvetica,sans-serif}
.dcew-practice-notice :is(a,button):focus-visible{outline:3px solid #16859a;outline-offset:4px}
body:has(#dcew-practice-notice:modal){overflow:hidden}
body:has(.jds-portal[open]) #dcew-practice-notice{display:none}
@media(max-width:640px){.dcew-practice-notice .dcew-notice-head{padding:20px 24px}.dcew-practice-notice .dcew-notice-content{padding:28px 24px}.dcew-practice-notice h2{font-size:34px}.dcew-practice-notice .dcew-notice-brand span{font-size:26px}}
@media(prefers-reduced-motion:reduce){.dcew-practice-notice,.dcew-practice-notice *{scroll-behavior:auto!important;animation:none!important;transition:none!important}.dcew-practice-notice::backdrop{backdrop-filter:none}}
.dcew-notices-admin{max-width:1240px}
.dcew-notices-admin .dcew-notices-help{margin:20px 0;padding:16px 24px;border:1px solid #c9d9d1;border-left:4px solid #153f43;background:#f3f8f5}
.dcew-notices-admin .dcew-notices-help h2{margin:0 0 10px}
.dcew-notices-admin .widefat .button{margin:2px 0;min-height:36px;line-height:34px}
.dcew-notices-admin .dcew-notice-languages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.dcew-notices-admin fieldset{min-width:0;margin:20px 0;padding:20px;border:1px solid #c3c4c7;background:#fff}
.dcew-notices-admin legend{padding:0 6px;font-weight:600;font-size:15px}
.dcew-notices-admin .dcew-notice-languages label,.dcew-notices-admin .dcew-notice-publishing label[for]{display:block;margin-bottom:6px;font-weight:600}
.dcew-notices-admin input[type=text],.dcew-notices-admin textarea{display:block;width:100%;max-width:100%}
.dcew-notices-admin textarea{min-height:180px}
.dcew-notices-admin .dcew-notice-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px}
.dcew-notices-admin .dcew-notice-pages label{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;padding:4px 0}
.dcew-notices-admin .dcew-notice-pages small{color:#50575e;overflow-wrap:anywhere}
.dcew-notices-admin .submit .button{min-height:44px;padding:4px 16px;margin:0 8px 8px 0}
@media(max-width:782px){.dcew-notices-admin .dcew-notice-languages,.dcew-notices-admin .dcew-notice-pages{grid-template-columns:minmax(0,1fr)}.dcew-notices-admin .widefat .button{min-height:44px;line-height:42px}}

.dcew-practice-notice { container-type: inline-size; }
.dcew-practice-notice:has(.dcew-notice-main[data-layout="side"][data-has-image]) { max-width: 800px; }
.dcew-practice-notice[data-style="dark"] .dcew-notice-head { background: #153f43; }
.dcew-practice-notice[data-style="dark"] :is(.dcew-notice-brand,.dcew-notice-close) { color: #fff; }
.dcew-practice-notice[data-style="dark"] .dcew-notice-close:hover { background: #22545a; }
.dcew-practice-notice[data-style="sand"] .dcew-notice-head { background: #f0e8d9; }
.dcew-notice-main[data-layout="side"][data-has-image] { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); }
.dcew-practice-notice .dcew-notice-media { margin: 0; background: #e6f1ec; }
.dcew-practice-notice .dcew-notice-media img { width: 100%; height: 100%; max-height: 280px; object-fit: cover; display: block; }
.dcew-notice-main[data-layout="side"] .dcew-notice-media { order: 2; }
.dcew-notice-main[data-layout="side"] .dcew-notice-media img { max-height: none; }
.dcew-practice-notice .dcew-notice-copy img { max-width: 100%; height: auto; border-radius: 6px; }
.dcew-practice-notice .dcew-notice-copy a { color: #153f43; text-decoration: underline; }
.dcew-practice-notice .dcew-notice-copy figure { margin-inline: 0; }
.dcew-practice-notice .dcew-notice-copy figcaption { font-size: .86em; }
@container (max-width: 420px) {
    .dcew-notice-main[data-layout="side"][data-has-image] { display: block; }
    .dcew-notice-main[data-layout="side"] .dcew-notice-media img { height: auto; max-height: 220px; }
    .dcew-practice-notice .dcew-notice-content { padding: 22px; }
    .dcew-practice-notice h2 { font-size: 30px; }
}
.dcew-notice-workspace { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 24px; margin-top: 18px; }
.dcew-notice-edit-column { min-width: 0; }
.dcew-notice-workspace [hidden], .dcew-notices-admin [data-notice-page][hidden] { display: none; }
.dcew-notice-language-buttons, .dcew-notice-design-controls, .dcew-notice-image-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dcew-notice-workspace button[aria-pressed="true"] { color: #fff; background: #153f43; border-color: #153f43; }
.dcew-notice-workspace label[for] { display: block; font-weight: 600; margin-bottom: 4px; }
.dcew-notice-design-controls label { display: grid; gap: 4px; }
.dcew-notice-image-picker { margin-top: 14px; }
.dcew-notice-image-picker img { display: block; width: 76px; height: 54px; object-fit: cover; border-radius: 5px; }
.dcew-notice-preview-column { position: sticky; top: 46px; min-width: 0; padding: 12px; border: 1px solid #c9d9d1; border-radius: 10px; background: #edf4ef; }
.dcew-notice-preview-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: #153f43; }
.dcew-notice-preview-stage.is-mobile { max-width: 350px; margin-inline: auto; }
.dcew-notice-preview-stage .dcew-practice-notice { width: 100%; max-width: none; max-height: none; box-shadow: 0 6px 16px #153f4318; }
.dcew-notice-preview-stage .dcew-notice-head { padding: 16px 20px; }
.dcew-notice-preview-stage .dcew-notice-brand span { font-size: 25px; }
.dcew-notice-preview-stage .dcew-notice-content { padding: 18px 20px; }
.dcew-notice-preview-stage .dcew-notice-copy { font-size: 15px; }
.dcew-notice-preview-stage h2 { font-size: 32px; }
.dcew-notice-page-search { grid-column: 1 / -1; }
@media(max-width: 1130px) {
    .dcew-notice-workspace { grid-template-columns: minmax(0,1fr); }
    .dcew-notice-preview-column { position: static; }
}
