.provider-account-shell textarea{width:100%;box-sizing:border-box;background:white;border:1px solid var(--line);border-radius:7px;color:var(--ink);font:inherit;padding:12px;resize:vertical}.provider-account-shell .account-card>form{display:grid;gap:16px}.provider-account-shell .account-card>form>label{display:grid;gap:7px;color:var(--ink);font-size:11px;font-weight:700}
.provider-courses-card .account-card-heading{align-items:flex-start}.provider-course-item{display:flex;justify-content:space-between;gap:24px;padding:20px 0;border-top:1px solid var(--line)}.provider-course-item:first-child{margin-top:16px}.provider-course-item h3{margin:7px 0 5px;font-size:20px}.provider-course-item p{margin:0;color:var(--muted);font-size:12px}.provider-course-state{display:inline-block;padding:4px 8px;border-radius:999px;background:#eee;color:var(--muted);font-size:9px;font-weight:700;text-transform:uppercase}.provider-course-state.is-active{background:var(--sage);color:#3f6b48}.provider-course-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.provider-delete{color:#a34f2f}.provider-active{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important}.provider-active input{width:auto!important}.provider-public-card{padding:26px;border-radius:18px;background:var(--sage)}.provider-public-card h3{margin:0 0 7px;font-family:"Playfair Display",serif;font-size:28px}.provider-public-card p{color:var(--muted)}@media(max-width:700px){.provider-course-item{display:grid}.provider-course-actions{align-items:flex-start}.provider-courses-card .account-card-heading{display:grid;gap:14px}}

.provider-gallery-manager{margin:1.5rem 0;padding:1.25rem;border:1px solid #d9e1da;border-radius:14px}.provider-gallery-manager input[type=file]{display:block;max-width:100%;margin:1rem 0}.provider-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem;margin-top:1rem}.provider-gallery-item{display:flex;flex-direction:column;gap:.5rem}.provider-gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.provider-gallery-item button{padding:.55rem;border-radius:8px;cursor:pointer}

/* Erweiterte Anbieterprofile */
.provider-extra-fields{display:grid;gap:14px;margin:18px 0;padding:20px;border:1px solid #d9e1da;border-radius:14px}.provider-extra-fields h3{margin:12px 0 0}.provider-extra-fields label{display:grid;gap:6px}.provider-extra-row{display:grid;grid-template-columns:1fr 2fr auto;gap:10px;align-items:end}.provider-extra-row input,.provider-extra-row textarea{width:100%;box-sizing:border-box}.provider-extra-row button{align-self:end}.provider-logo-image{max-width:180px;max-height:130px;object-fit:contain}.provider-public-specialties{display:grid;gap:10px;margin:12px 0}.provider-public-specialties article{padding:12px;background:rgba(255,255,255,.55);border-radius:10px}@media(max-width:700px){.provider-extra-row{grid-template-columns:1fr}.provider-extra-row button{justify-self:start}}

/* Separater Banner: Sponti-Markendesign ohne Galeriefoto */
.provider-banner-preview,.provider-profile-preview-banner{width:100%;height:170px;overflow:hidden;position:relative;border-radius:13px;background:#e5ecdf;margin:10px 0 12px}
.provider-banner-preview img,.provider-profile-preview-banner img{display:block;width:100%;height:100%;object-fit:cover}
.provider-banner-preview.is-default,.provider-profile-preview-banner.is-default{display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 83% 4%,#d7f277 0 13%,transparent 45%),linear-gradient(145deg,#e4ede0,#f7f6ef 65%,#dfe9d8)}
.provider-default-mark{position:relative;display:flex;align-items:center;gap:12px;padding:9px 18px;border-radius:14px;background:rgba(255,254,250,.86);border:1px solid rgba(25,52,45,.1)}
.provider-default-mark img{width:38px;height:38px;object-fit:contain}
.provider-default-mark strong{font:700 25px/1 "DM Sans",sans-serif;letter-spacing:-.06em;color:#19342d}
.provider-profile-preview-banner{margin:-26px -26px 22px;width:calc(100% + 52px);border-radius:18px 18px 0 0;height:180px}
.provider-remove-banner{display:inline-flex;cursor:pointer;margin:3px 0 12px;padding:9px 14px;border-radius:9px}
@media(max-width:700px){.provider-banner-preview,.provider-profile-preview-banner{height:145px}}

/* Original Sponti artwork used whenever no provider banner is uploaded. */
.provider-banner-preview.is-default,.provider-profile-preview-banner.is-default{display:block;background:transparent}
.provider-banner-preview.is-default img,.provider-profile-preview-banner.is-default img{display:block;width:100%;height:100%;object-fit:cover}

/* Live-Anbieterprofil: Eingabe links, Vorschau rechts */
.provider-live-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:24px;align-items:start}
.provider-live-layout>.account-card{min-width:0;margin:0}
.provider-live-layout>.provider-preview{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto}
.provider-live-layout .account-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){.provider-live-layout{grid-template-columns:minmax(0,1fr)}.provider-live-layout>.provider-preview{position:static;max-height:none;overflow:visible}}
@media(max-width:560px){.provider-live-layout .account-form-grid{grid-template-columns:1fr}}

/* Compact editor only; guest registration and public preview are unchanged. */
.provider-live-layout > .account-card:first-child { padding: 24px; }
.provider-live-layout [data-provider-form="profile"] { gap: 11px; }
.provider-live-layout [data-provider-form="profile"] h3 { margin: 12px 0 5px; font-size: 17px; }
.provider-live-layout [data-provider-form="profile"] .account-help { margin: 2px 0 8px; line-height: 1.4; font-size: 12px; }
.provider-live-layout [data-provider-form="profile"] .account-form-grid { gap: 10px 14px; }
.provider-live-layout [data-provider-form="profile"] label { gap: 5px; }
.provider-live-layout [data-provider-form="profile"] :is(input:not([type="checkbox"]):not([type="file"]),select,textarea) { padding: 9px 11px; min-height: 0; box-sizing: border-box; }
.provider-live-layout [data-provider-form="profile"] textarea { min-height: 75px; }
.provider-live-layout [data-provider-form="profile"] :is(.provider-extra-fields,.provider-gallery-manager) { margin-top: 10px; }
.provider-live-layout [data-provider-form="profile"] hr { margin: 12px 0; }
@media(max-width:600px) { .provider-live-layout > .account-card:first-child { padding: 18px; } }

/* Match the main site's 1176px content width on the provider account page. */
.account-shell.provider-account-shell { max-width: 1176px; box-sizing: border-box; width: 100%; }

/* Klarere Gliederung der Anbieter-Eingaben. */
.provider-live-layout [data-provider-form="profile"] > h3 { margin: 24px 0 3px; padding-top: 15px; border-top: 1px solid rgba(25,52,45,.15); font-size: 18px; letter-spacing: -.02em; }
.provider-live-layout [data-provider-form="profile"] > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.provider-live-layout [data-provider-form="profile"] .provider-extra-fields { display: grid; gap: 10px; }
.provider-live-layout [data-provider-form="profile"] .provider-extra-fields > h3 { margin: 14px 0 0; font-size: 15px; }
.provider-live-layout [data-provider-form="profile"] .provider-extra-fields > h3:first-child { font-size: 18px; margin-top: 8px; }
.provider-live-layout [data-provider-form="profile"] .provider-extra-fields > h4,
.provider-live-layout [data-provider-form="profile"] .provider-gallery-manager > h4 { margin: 14px 0 0; font-size: 15px; }
.provider-live-layout [data-provider-form="profile"] > .button-primary { margin-top: 15px; justify-self: start; }

/* Public provider preview: banner with overlaid identity, then clear info sections. */
.provider-preview .provider-public-card{padding:0;overflow:hidden;background:#f7f8f4;border:1px solid rgba(25,52,45,.10)}
.provider-preview .provider-profile-hero{position:relative;min-height:245px;display:flex;align-items:flex-end;isolation:isolate;padding:24px;box-sizing:border-box;color:#fff;background:#1c4033}
.provider-preview .provider-profile-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,29,23,.02) 25%,rgba(12,29,23,.84) 100%);z-index:-1;pointer-events:none}
.provider-preview .provider-profile-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.provider-preview .provider-profile-identity{display:flex;align-items:center;gap:16px;min-width:0}
.provider-preview .provider-profile-round-logo{display:flex;align-items:center;justify-content:center;flex:none;width:76px;height:76px;box-sizing:border-box;border-radius:50%;border:3px solid white;object-fit:cover;background:#fff;box-shadow:0 7px 18px rgba(0,0,0,.2)}
.provider-preview .provider-profile-logo-placeholder{background:#e4ede0;color:#19342d;font-size:33px;font-weight:800}
.provider-preview .provider-profile-heading{min-width:0}
.provider-preview .provider-profile-heading h3{color:white;font-size:clamp(25px,2.6vw,34px);margin:0 0 5px;overflow-wrap:anywhere}
.provider-preview .provider-profile-heading [data-provider-category]{color:#f0f3e9;font-size:13px;margin:0}
.provider-preview .provider-profile-sections{padding:24px;display:grid;gap:18px}
.provider-preview .provider-profile-section{min-width:0}
.provider-preview .provider-profile-section+.provider-profile-section{padding-top:17px;border-top:1px solid rgba(25,52,45,.12)}
.provider-preview .provider-profile-section h4{margin:0 0 9px;font-size:17px;color:#19342d}
.provider-preview .provider-profile-section p{margin:0 0 8px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.provider-preview .provider-profile-section a{color:#1b5b49;overflow-wrap:anywhere}
@media(max-width:560px){.provider-preview .provider-profile-hero{min-height:215px;padding:18px}.provider-preview .provider-profile-round-logo{width:60px;height:60px}.provider-preview .provider-profile-identity{gap:11px}.provider-preview .provider-profile-sections{padding:18px}}

/* Einheitlicher Abstand zwischen Profilbearbeitung/Vorschau und «Deine Kurse». */
.provider-live-layout + .provider-courses-card { margin-top: 28px; }

/* Kursstart: klares Datum-/Uhrzeitfeld passend zum Anbieter-Konto. */
.provider-account-shell [data-provider-form="course"] .provider-course-date-label{display:flex;flex-direction:column;gap:7px;padding:13px 15px;border:1px solid #d7e3d7;border-radius:14px;background:#f2f7ee;min-width:0}
.provider-account-shell [data-provider-form="course"] .provider-course-date-label>span{font-size:12px;font-weight:700;color:#19342d}
.provider-account-shell [data-provider-form="course"] input[name="starts_at"]{width:100%;min-width:0;min-height:45px;box-sizing:border-box;padding:10px 12px;border:1px solid #bacfbd;border-radius:9px;background:#fff;color:#19342d;font:inherit;color-scheme:light;cursor:pointer}
.provider-account-shell [data-provider-form="course"] input[name="starts_at"]:focus-visible{outline:3px solid #accba5;outline-offset:2px;border-color:#406a53}
.provider-account-shell [data-provider-form="course"] .provider-course-date-label small{font-size:11px;font-weight:400;line-height:1.4;color:#61736c}

/* Einheitliches Design für alle Eingaben beim Kurserstellen. */
.provider-account-shell [data-provider-form="course"] .account-form-grid>label,
.provider-account-shell [data-provider-form="course"]>label:not(.provider-active){display:flex;flex-direction:column;gap:7px;padding:13px 15px;border:1px solid #d7e3d7;border-radius:14px;background:#f2f7ee;min-width:0;font-size:12px;font-weight:700;color:#19342d}
.provider-account-shell [data-provider-form="course"] :is(input:not([type="hidden"]):not([type="checkbox"]),select,textarea){width:100%;box-sizing:border-box;min-width:0;min-height:45px;padding:10px 12px;border:1px solid #bacfbd;border-radius:9px;background:#fff;color:#19342d;font:inherit;font-weight:500}
.provider-account-shell [data-provider-form="course"] :is(input,select,textarea):focus-visible{outline:3px solid #accba5;outline-offset:2px;border-color:#406a53}
.provider-account-shell [data-provider-form="course"] textarea{min-height:110px}
.provider-account-shell [data-provider-form="course"] .provider-course-date-label small{font-size:11px;font-weight:400}
/* Kalender-Popup im Sponti-Look */
.flatpickr-calendar{font-family:"DM Sans",sans-serif!important;border:1px solid #d7e3d7!important;border-radius:16px!important;box-shadow:0 18px 44px rgba(25,52,45,.2)!important;overflow:hidden}
.flatpickr-months,.flatpickr-weekdays{background:#edf4e9!important}
.flatpickr-current-month,.flatpickr-weekday{color:#19342d!important}
.flatpickr-day{border-radius:9px!important}
.flatpickr-day:hover,.flatpickr-day:focus{background:#d7e9d0!important;border-color:#d7e9d0!important;color:#19342d!important}
.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange{background:#19342d!important;border-color:#19342d!important;color:#fff!important}
.flatpickr-time{background:#f2f7ee!important}
.flatpickr-time input:hover,.flatpickr-time input:focus{background:#dcebd7!important}
.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{display:none}

/* Datei-Uploads im gleichen Schriftbild wie das Sponti-Anbieterformular. */
.provider-account-shell [data-provider-form="profile"] input[type="file"],
.provider-account-shell [data-gallery-input]{display:block;max-width:100%;width:100%;box-sizing:border-box;font-family:"DM Sans",sans-serif;font-size:12px;font-weight:500;line-height:1.5;color:#52695e;cursor:pointer}
.provider-account-shell [data-provider-form="profile"] input[type="file"]::file-selector-button,
.provider-account-shell [data-gallery-input]::file-selector-button{font-family:"DM Sans",sans-serif;font-size:12px;font-weight:700;background:#e8f0e3;color:#19342d;border:1px solid #cbdcc8;border-radius:9px;padding:10px 14px;margin-right:12px;cursor:pointer;transition:background .18s ease,border-color .18s ease}
.provider-account-shell [data-provider-form="profile"] input[type="file"]::file-selector-button:hover,
.provider-account-shell [data-gallery-input]::file-selector-button:hover{background:#d5e6cf;border-color:#abc6a7}
.provider-account-shell [data-provider-form="profile"] .provider-internal-notes{display:grid;gap:7px}

/* Kompakte Angebots-Chips oberhalb von Über uns. */
.provider-offer-pills{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.provider-offer-pill{display:inline-flex;align-items:center;padding:8px 13px;border-radius:999px;background:#e2eddc;border:1px solid #c8dabe;color:#19342d;font-family:'DM Sans',sans-serif;font-size:12px;font-weight:700;line-height:1.3}
.provider-offers-section h4{margin-bottom:12px}
