/* Provider workspace: scoped to authenticated editor screens. */
body.dlc-clean-shell #dlc-page #dlc-main .dlc-account,
body.dlc-clean-shell #dlc-page #dlc-main .dlcm-editor {
  box-sizing:border-box;width:calc(100% - 32px);max-width:1080px;min-width:0;
  margin:28px auto;padding:24px;color:#0b2341;overflow-wrap:anywhere;
  font:400 16px/1.6 Montserrat,"Segoe UI",sans-serif;
}
body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor) * {box-sizing:border-box;min-width:0}
body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor)>h1 {
  margin:0 0 12px;padding:0;background:none;border:0;border-radius:0;color:#0b2341;
  font:700 clamp(28px,4vw,40px)/1.2 "Playfair Display",Georgia,serif;
}
body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor)>h2 {font-size:24px;margin:0 0 12px}
body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor) p {font-size:16px;line-height:1.6;max-width:100%;margin:12px 0}
.dlc-editor-summary {background:#fff;border:1px solid #d9d2c4;border-top:3px solid #c6a046;border-radius:10px;padding:20px;margin:20px 0 28px}
.dlc-editor-nav,.dlc-editor-footer {display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.dlc-editor-nav a {display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;background:#0b2341;color:#fff!important;border:1px solid #0b2341;border-radius:6px;text-decoration:none!important;font-size:15px;font-weight:700;line-height:1.4;text-align:center}
.dlc-editor-nav a:hover {background:#183b60}
.dlc-editor-footer a {min-height:44px;padding:8px 12px}
.dlc-editor-section {scroll-margin-top:100px;margin:24px 0}
.dlc-editor-section>h2 {font-size:25px;margin:0}
body.dlc-clean-shell #dlc-page #dlc-main .dlc-account .dlc-provider-form {margin:18px 0 30px;padding:24px;background:#fff;border:1px solid #d9d2c4;border-radius:10px;max-width:100%}
body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor) :is(input:not([type=checkbox]):not([type=hidden]),textarea,select) {box-sizing:border-box;width:100%;max-width:100%;font:400 16px/1.5 Montserrat,"Segoe UI",sans-serif;color:#0b2341;min-height:46px;border:1px solid #8593a5;border-radius:6px;padding:11px;background:#fff}
body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor) :is(input[type=checkbox],input[type=radio]) {flex:0 0 auto;width:20px;height:20px;min-height:0;margin:3px 8px 3px 0;accent-color:#0b2341}
body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor) label {font-size:16px;line-height:1.6;display:block;margin:0 0 18px}
body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor) label>span {display:block;margin-bottom:6px}
body.dlc-clean-shell #dlc-page #dlc-main .dlc-account .dlc-intake-services {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;padding:18px;border:1px solid #d9d2c4;border-radius:8px;min-width:0}
.dlc-account .dlc-intake-services>p,.dlc-account .dlc-intake-services>legend {grid-column:1/-1}
body.dlc-clean-shell #dlc-page #dlc-main .dlc-account .dlc-intake-services>label {display:flex;align-items:flex-start;margin:0;padding:12px;background:#f5f2eb;border-radius:5px;font-weight:500}
.dlc-editor-save {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}
.dlc-editor-save [role=status] {font-size:14px}
.dlc-editor-unsaved {color:#66501d}
.dlc-editor-error {padding:14px;border-left:4px solid #963b33;background:#fff0ed;color:#6a2520}
.dlc-selected-previews {display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}
.dlc-selected-previews figure {margin:0;max-width:160px}
.dlc-selected-previews img {width:150px;height:150px;object-fit:contain;border:1px solid #d9d2c4;border-radius:8px;background:#f5f2eb}
.dlc-selected-previews figcaption {font-size:13px;overflow-wrap:anywhere}
body.dlc-clean-shell #dlc-page #dlc-main .dlcm-editor fieldset {border-color:#d9d2c4;border-radius:8px}
body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor) :is(button,a,input,textarea,select):focus-visible {outline:3px solid #ac8128;outline-offset:3px}
@media(max-width:600px) {
 body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor){width:calc(100% - 24px);margin:20px auto;padding:16px}
 body.dlc-clean-shell #dlc-page #dlc-main .dlc-account .dlc-provider-form{padding:16px}
 body.dlc-clean-shell #dlc-page #dlc-main .dlc-account .dlc-intake-services{grid-template-columns:minmax(0,1fr);padding:12px}
 .dlc-editor-nav a{flex:1 1 calc(50% - 10px);font-size:14px;padding:10px}
 .dlc-editor-save button{width:100%}
 .dlc-editor-summary{padding:16px}
}

body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-account,.dlcm-editor)>h1 {background:none!important;color:#0b2341!important;border:0!important;padding:0!important;margin:0 0 16px!important;font-size:clamp(28px,4vw,40px)!important}

body.dlc-clean-shell #dlc-page #dlc-main main.dlc-attorneys.dlc-account > h1, body.dlc-clean-shell #dlc-page #dlc-main main.dlcm-editor > h1 {color:#0b2341!important;background:none!important;border:0!important;padding:0!important;margin:0 0 16px!important;font-size:clamp(28px,4vw,40px)!important}

/* A single visible form, with the photo controls on the first editor screen. */
.dlc-editor-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0 12px}
body.dlc-clean-shell #dlc-page #dlc-main .dlc-editor-heading h2 {font-size:24px;margin:0;line-height:1.3}
.dlc-editor-public-link {display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid #0b2341;border-radius:6px;color:#0b2341!important;background:#fff;text-decoration:none!important;font-size:15px;font-weight:700}
.dlc-editor-plan {display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;font-size:14px;margin:8px 0}
.dlc-editor-plan>span {font-weight:700}
.dlc-editor-plan a {padding:9px 0;min-height:44px}
.dlc-editor-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-bottom:1px solid #d9d2c4;margin:8px 0 18px;padding:0 0 10px}
.dlc-editor-tabs a {display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 8px;text-align:center;color:#0b2341!important;background:#fff;border:1px solid #c4cbd4;border-radius:6px;text-decoration:none!important;font-size:15px;font-weight:700;line-height:1.3}
.dlc-editor-tabs a[aria-current=page] {background:#0b2341;color:#fff!important;border-color:#0b2341}
body.dlc-clean-shell #dlc-page #dlc-main .dlc-account .dlcm-editor--embedded {width:100%;max-width:none;margin:0;padding:20px;background:#fff;border:1px solid #d9d2c4}
body.dlc-clean-shell #dlc-page #dlc-main .dlcm-editor .dlcm-image-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.dlc-clean-shell #dlc-page #dlc-main .dlcm-editor .dlcm-image-fields fieldset {margin:12px 0;padding:16px}
body.dlc-clean-shell #dlc-page #dlc-main .dlcm-editor legend {font-size:18px;font-weight:700;line-height:1.4;padding:0 6px;color:#0b2341}
body.dlc-clean-shell #dlc-page #dlc-main .dlcm-editor .dlcm-image-purpose {font-size:14px;line-height:1.5;margin:0 0 12px}
.dlcm-image-empty {display:flex;align-items:center;justify-content:center;min-height:96px;margin:0 0 14px;padding:12px;border:1px dashed #b2bcc6;border-radius:6px;background:#f5f2eb;font-size:14px;color:#526276;text-align:center}
.dlcm-saved-image {display:block;width:100%;height:128px;margin:0 auto 12px;object-fit:contain}
body.dlc-clean-shell #dlc-page #dlc-main .dlcm-editor input[type=file] {font-size:14px;padding:8px;line-height:1.5}
.dlcm-video-editor {margin:20px 0;padding:14px;border:1px solid #d9d2c4;border-radius:6px}
.dlcm-video-editor summary {cursor:pointer;min-height:44px;padding:8px 0;font-weight:700;font-size:16px}
.dlcm-editor [data-dlc-gallery-count] {font-weight:700;color:#0b2341}
.dlcm-editor [data-dlc-gallery-error]:not(:empty),.dlcm-editor [data-error]:not(:empty) {padding:12px;border-left:4px solid #963b33;background:#fff0ed;color:#6a2520}
body.dlc-clean-shell #dlc-page #dlc-main .dlcm-gallery-ready .dlcm-gallery-choose {position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;background:#0b2341;color:#fff;border-radius:6px;font-weight:700;cursor:pointer;overflow:hidden}
body.dlc-clean-shell #dlc-page #dlc-main .dlcm-gallery-ready .dlcm-gallery-choose input[type=file] {position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.dlcm-gallery-choose:focus-within {outline:3px solid #ac8128;outline-offset:3px}
.dlcm-editor .dlc-remove-selected {display:block;margin:8px 0 0;padding:8px 12px;font-size:14px}
.dlcm-editor [data-dlc-selected-video] video {display:block;width:100%;max-width:560px;max-height:320px;background:#091b30;border-radius:6px}
.dlcm-linked-video {border-top:1px solid #d9d2c4;margin:16px 0 0;padding:8px 0}
@media(max-width:600px) {
 .dlc-editor-tabs a {font-size:13px;padding:10px 6px}
 body.dlc-clean-shell #dlc-page #dlc-main .dlc-account .dlcm-editor--embedded {padding:14px}
 body.dlc-clean-shell #dlc-page #dlc-main .dlcm-editor .dlcm-image-fields {grid-template-columns:minmax(0,1fr);gap:0}
 body.dlc-clean-shell #dlc-page #dlc-main .dlcm-editor .dlcm-image-fields fieldset {padding:12px}
}

/* File-level recovery feedback. */
.dlcm-editor [data-dlc-file-error]:not(:empty){color:#8a2f28;background:#fff0ed;border-left:4px solid #a74436;padding:12px;white-space:pre-wrap}.dlcm-editor [data-dlc-media-discard]{background:#fff;color:#0a2140;margin:8px;border-color:#8d8068}.dlcm-editor [hidden]{display:none!important}
