:root {
  --studio-ink: #14251c;
  --studio-muted: #647269;
  --studio-line: #dfe7e1;
  --studio-paper: #ffffff;
  --studio-green: #0b6042;
  --studio-green-dark: #063d2c;
  --studio-lime: #d6f05f;
  --studio-white: #fff;
}

body.provider-studio-page,
body.provider-public-page,
body.digital-products-page { background: var(--studio-paper); color: var(--studio-ink); }

.provider-studio { max-width: 1380px; margin: 0 auto; padding: 20px 28px 80px; }
.studio-topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px 0 20px; }
.studio-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--studio-green); font-size: .8rem; font-weight: 850; }
.studio-topbar h1 { margin: 7px 0 5px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.2; letter-spacing: 0; }
.studio-topbar p { margin: 0; color: var(--studio-muted); font-size: .9rem; }
.studio-top-actions { display: flex; align-items: center; gap: 10px; }
.studio-save-state { color: var(--studio-muted); font-size: .74rem; }
.studio-save-state i { color: var(--studio-green); }
.studio-btn { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 10px 15px; color: #fff; background: var(--studio-green); border: 1px solid var(--studio-green); border-radius: 11px; font-size: .82rem; font-weight: 800; text-decoration: none; }
.studio-btn.is-ghost { color: var(--studio-ink); background: #fff; border-color: var(--studio-line); }
.studio-btn.is-small { min-height: 36px; padding: 7px 12px; font-size: .66rem; }

.studio-switcher { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; overflow: hidden; background: #fff; border: 1px solid var(--studio-line); border-radius: 16px; }
.studio-switcher a { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; min-height: 56px; padding: 10px 16px; color: var(--studio-muted); border-left: 1px solid var(--studio-line); text-decoration: none; font-size: .82rem; font-weight: 750; }
.studio-switcher a:last-child { border-left: 0; }
.studio-switcher a i { font-size: 1rem; }
.studio-switcher a b { min-width: 27px; padding: 4px 7px; color: var(--studio-muted); background: var(--studio-paper); border-radius: 99px; text-align: center; font-size: .62rem; }
.studio-switcher a.is-active { color: #fff; background: var(--studio-green-dark); }
.studio-switcher a.is-active b { color: var(--studio-green-dark); background: var(--studio-lime); }

.studio-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; align-items: start; }
.studio-rail { position: sticky; top: 92px; display: grid; gap: 16px; }
.studio-preview-card,
.studio-health,
.studio-section,
.studio-submit { background: #fff; border: 1px solid var(--studio-line); border-radius: 18px; }
.studio-preview-card { position: relative; overflow: hidden; padding: 0 22px 22px; }
.studio-preview-cover { height: 105px; margin: 0 -22px; background: radial-gradient(circle at 20% 30%, #2b8667, transparent 32%), linear-gradient(135deg, #0f523c, #082f25); }
.studio-preview-card.theme-midnight .studio-preview-cover { background: radial-gradient(circle at 75% 30%, #3260a8, transparent 30%), linear-gradient(135deg, #172033, #080d16); }
.studio-preview-card.theme-sand .studio-preview-cover { background: radial-gradient(circle at 75% 30%, #ecd782, transparent 30%), linear-gradient(135deg, #b67d45, #6b462a); }
.studio-preview-cover img { width: 100%; height: 100%; object-fit: cover; }
.studio-preview-avatar { display: grid; width: 72px; height: 72px; place-items: center; margin-top: -36px; overflow: hidden; color: #fff; background: var(--studio-green); border: 4px solid #fff; border-radius: 18px; font-size: 1.7rem; font-weight: 900; }
.studio-preview-avatar img { width: 100%; height: 100%; object-fit: cover; }
.availability-dot { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--studio-green); font-size: .72rem; font-weight: 800; }
.availability-dot::before { width: 7px; height: 7px; content: ""; background: #19a66b; border-radius: 50%; box-shadow: 0 0 0 4px #e3f5ec; }
.availability-dot.is-unavailable::before,
.availability-dot.is-vacation::before { background: #be8251; box-shadow: 0 0 0 4px #f7eadf; }
.studio-preview-card h2 { margin: 9px 0 3px; font-size: 1.14rem; }
.studio-preview-card > p { min-height: 44px; margin: 0; color: var(--studio-muted); font-size: .8rem; line-height: 1.65; }
.studio-preview-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.studio-preview-meta span { padding: 5px 8px; background: var(--studio-paper); border-radius: 99px; font-size: .7rem; font-weight: 750; }

.studio-health { padding: 20px; }
.studio-health header { display: flex; align-items: center; justify-content: space-between; }
.studio-health header > div:first-child { display: grid; gap: 3px; }
.studio-health header span { color: var(--studio-muted); font-size: .72rem; }
.studio-health header strong { font-size: 1rem; }
.health-ring { --score: 0; display: grid; width: 54px; height: 54px; place-items: center; background: conic-gradient(var(--studio-green) calc(var(--score) * 1%), #e7ece8 0); border-radius: 50%; }
.health-ring::before { grid-area: 1/1; width: 42px; height: 42px; content: ""; background: #fff; border-radius: 50%; }
.health-ring i { z-index: 1; grid-area: 1/1; font-style: normal; font-size: .58rem; font-weight: 900; }
.health-progress { height: 5px; margin-top: 14px; overflow: hidden; background: #e9eee9; border-radius: 99px; }
.health-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--studio-green), #6cb655); }
.studio-health > p { margin: 9px 0 15px; color: var(--studio-muted); font-size: .75rem; }
.growth-list { display: grid; gap: 7px; }
.growth-list a { display: grid; grid-template-columns: 27px 1fr; gap: 8px; padding: 10px; color: var(--studio-ink); background: #f6f8f5; border-radius: 10px; text-decoration: none; }
.growth-list a > i { display: grid; width: 27px; height: 27px; place-items: center; color: var(--studio-green); background: #e2efe8; border-radius: 8px; font-size: .64rem; }
.growth-list a span { display: grid; gap: 2px; }
.growth-list b { font-size: .75rem; }
.growth-list small { color: var(--studio-muted); font-size: .68rem; line-height: 1.5; }
.growth-done { padding: 12px; color: var(--studio-green); background: #eaf5ef; border-radius: 10px; font-size: .66rem; font-weight: 750; }

.studio-form { display: grid; gap: 16px; }
.studio-section { padding: 24px 26px 26px; scroll-margin-top: 100px; }
.studio-section > header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.studio-section > header > span { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; color: var(--studio-green); background: #e8f2ec; border-radius: 10px; font-size: .63rem; font-weight: 900; }
.studio-section > header > div { flex: 1; }
.studio-section > header h2 { margin: 0 0 3px; font-size: 1.08rem; }
.studio-section > header p { margin: 0; color: var(--studio-muted); font-size: .76rem; }
.studio-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.studio-fields.two-cols { grid-template-columns: 1fr 1fr; }
.studio-field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.studio-field.full,
.adaptive-fields.full { grid-column: 1 / -1; }
.studio-field > label { color: #33443a; font-size: .76rem; font-weight: 820; }
.studio-field input:not([type="checkbox"]),
.studio-field textarea,
.studio-field select { width: 100%; min-height: 45px; padding: 10px 12px; color: var(--studio-ink); background: #fafbf9; border: 1px solid #d9e2dc; border-radius: 10px; outline: 0; font: inherit; font-size: .84rem; }
.studio-field textarea { min-height: 100px; resize: vertical; line-height: 1.7; }
.studio-field input:focus,
.studio-field textarea:focus,
.studio-field select:focus { background: #fff; border-color: var(--studio-green); box-shadow: 0 0 0 3px rgba(11, 96, 66, .1); }
.studio-field > small,
.field-assist > small,
.character-count { color: var(--studio-muted); font-size: .7rem; }
.studio-static-field { display: grid; min-height: 45px; align-content: center; gap: 2px; padding: 9px 12px; background: #f2f6f3; border: 1px solid #d9e2dc; border-radius: 10px; }
.studio-static-field strong { color: var(--studio-green-dark); font-size: .78rem; }
.studio-static-field small { color: var(--studio-muted); font-size: .61rem; line-height: 1.5; }
.studio-field .errorlist { margin: 0; padding: 0; color: #b83d42; list-style: none; font-size: .61rem; }
.field-assist { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.upload-field input[type="file"] { padding: 9px; border: 1px dashed #bfcac3; }
.ai-image-options { display: grid; grid-template-columns: 120px 1fr auto; gap: 6px; }
.ai-image-options select,
.ai-image-options input { min-height: 36px !important; padding: 6px 8px !important; font-size: .6rem !important; }
.ai-image-options .ai-assist-button { white-space: nowrap; }
.choice-field > div,
.choice-field > ul { display: flex; gap: 7px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.choice-field li label { display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 7px 10px; background: #f6f8f5; border: 1px solid #e0e6e2; border-radius: 9px; font-size: .74rem; cursor: pointer; }
.choice-field li:has(input:checked) label { color: var(--studio-green-dark); background: #e4f1e9; border-color: #9dc5ae; }
.choice-field input[type="checkbox"] { accent-color: var(--studio-green); }
.choice-disclosure { overflow: hidden; border: 1px solid #dbe4de; border-radius: 11px; background: #fafbf9; }
.choice-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 10px 13px; cursor: pointer; list-style: none; }
.choice-disclosure > summary::-webkit-details-marker { display: none; }
.choice-disclosure > summary span { font-size: .74rem; font-weight: 780; }
.choice-disclosure > summary b { padding: 5px 8px; color: var(--studio-green); background: #e7f1eb; border-radius: 8px; font-size: .64rem; }
.choice-disclosure[open] > summary { border-bottom: 1px solid #dbe4de; background: #f2f7f3; }
.choice-search { position: relative; margin: 12px 12px 5px; }
.choice-search i { position: absolute; top: 50%; right: 11px; color: var(--studio-muted); translate: 0 -50%; }
.choice-search input { width: 100%; min-height: 40px; padding: 8px 36px 8px 10px; border: 1px solid #d9e2dc; border-radius: 8px; background: #fff; font: inherit; font-size: .75rem; }
.choice-disclosure [data-choice-options] { max-height: 270px; padding: 10px 12px 13px; overflow-y: auto; }
.choice-disclosure [data-choice-options] li[hidden] { display: none; }
.studio-section[data-collapsible] > header { align-items: center; margin-bottom: 0; }
.studio-section[data-collapsible].is-open > header { margin-bottom: 24px; }
.studio-section[data-collapsible]:not(.is-open) .studio-section-content { display: none; }
.studio-section-toggle { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; margin-inline-start: auto; padding: 6px 10px; color: var(--studio-green-dark); background: #f2f6f3; border: 1px solid #d7e1da; border-radius: 8px; font: inherit; font-size: .68rem; font-weight: 800; cursor: pointer; }
.studio-section-toggle i { transition: transform .2s ease; }
.studio-section[data-collapsible].is-open .studio-section-toggle i { transform: rotate(180deg); }
.adaptive-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 16px; background: #f3f7f4; border: 1px solid #e0e8e2; border-radius: 12px; }
.adaptive-fields:empty { display: none; }
.adaptive-intro { display: flex; grid-column: 1 / -1; align-items: center; gap: 8px; color: var(--studio-green); font-size: .64rem; }
.credential-stack { display: grid; gap: 8px; }
.credential-stack article { display: grid; grid-template-columns: 34px 1fr 30px; align-items: center; gap: 10px; padding: 12px; background: #f7f9f7; border-radius: 11px; }
.credential-stack article > i { display: grid; width: 34px; height: 34px; place-items: center; color: var(--studio-green); background: #e2efe8; border-radius: 9px; }
.credential-stack article > div { display: grid; }
.credential-stack strong { font-size: .7rem; }
.credential-stack span { color: var(--studio-muted); font-size: .6rem; }
.credential-stack button { color: #9d4749; background: none; border: 0; cursor: pointer; }
.studio-empty-mini { padding: 18px; color: var(--studio-muted); background: #f7f9f7; border: 1px dashed #cfd9d2; border-radius: 11px; text-align: center; font-size: .66rem; }
.sections-choice { margin-bottom: 22px; }
.publish-switch { display: grid; grid-template-columns: auto 1fr 42px; align-items: center; gap: 12px; padding: 16px; background: #f4f7f4; border: 1px solid var(--studio-line); border-radius: 12px; cursor: pointer; }
.publish-switch > input { position: absolute; opacity: 0; pointer-events: none; }
.publish-switch > span { display: grid; }
.publish-switch strong { font-size: .72rem; }
.publish-switch small { color: var(--studio-muted); font-size: .58rem; }
.publish-switch > i { position: relative; width: 42px; height: 24px; background: #bdc7c0; border-radius: 99px; transition: .2s; }
.publish-switch > i::after { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; content: ""; background: #fff; border-radius: 50%; transition: .2s; }
.publish-switch:has(input:checked) { background: #eaf4ee; border-color: #a9cbb7; }
.publish-switch:has(input:checked) > i { background: var(--studio-green); }
.publish-switch:has(input:checked) > i::after { transform: translateX(-18px); }
.studio-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; }
.studio-submit > div { display: flex; align-items: center; gap: 10px; }
.studio-submit > div > i { color: var(--studio-green); }
.studio-submit > div span { display: grid; }
.studio-submit strong { font-size: .66rem; }
.studio-submit small { color: var(--studio-muted); font-size: .56rem; }
.studio-submit button { min-height: 46px; padding: 11px 20px; color: #fff; background: var(--studio-green); border: 0; border-radius: 11px; font: inherit; font-size: .72rem; font-weight: 850; cursor: pointer; }
.studio-alert { padding: 13px 16px; color: #8e3337; background: #fff0f0; border: 1px solid #ecc3c5; border-radius: 11px; font-size: .68rem; }

/* Public provider mini-site */
.provider-public { --profile-accent: #0a6042; background: #fff; }
.provider-public.theme-midnight { --profile-accent: #315f9e; }
.provider-public.theme-sand { --profile-accent: #9b653b; }
.provider-hero { position: relative; overflow: hidden; color: #fff; background: #092f24; }
.provider-hero-cover { position: absolute; inset: 0; opacity: .38; }
.provider-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.provider-hero-cover::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(5,25,19,.96) 0%, rgba(5,25,19,.7) 55%, rgba(5,25,19,.35)); }
.provider-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 42px; width: 100%; max-width: 1240px; min-height: 390px; align-items: center; margin: auto; padding: 46px 24px 42px; box-sizing: border-box; }
.provider-identity { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; min-width: 0; align-items: center; }
.provider-identity > div { min-width: 0; }
.provider-avatar { display: grid; width: 96px; height: 96px; place-items: center; overflow: hidden; color: #0d4b34; background: #d6f05f; border: 4px solid rgba(255,255,255,.75); border-radius: 24px; font-size: 2rem; font-weight: 900; box-shadow: 0 18px 45px rgba(0,0,0,.24); }
.provider-avatar img { width: 100%; height: 100%; object-fit: cover; }
.provider-labels { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.provider-labels span { padding: 6px 9px; color: #d7eee2; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 99px; font-size: .7rem; font-weight: 750; backdrop-filter: blur(9px); }
.provider-labels .availability-available { color: #163d2c; background: #d6f05f; border-color: #d6f05f; }
.provider-labels .availability-limited { color: #3d3113; background: #f6d982; border-color: #f6d982; }
.provider-labels .availability-unavailable,
.provider-labels .availability-vacation { color: #fff; background: rgba(190,91,81,.72); border-color: rgba(255,255,255,.24); }
.provider-identity h1 { margin: 0; overflow-wrap: anywhere; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: 0; }
.provider-identity p { max-width: 720px; margin: 10px 0 0; color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.65; }
.provider-specialties { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.provider-specialties span { padding: 5px 8px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.09); border-radius: 7px; font-size: .66rem; font-weight: 700; }
.provider-hero-meta { display: flex; grid-column: 2; gap: 18px; flex-wrap: wrap; margin-top: 12px; color: rgba(255,255,255,.68); font-size: .74rem; }
.provider-hero-meta i { margin-left: 5px; color: #d6f05f; }
.provider-action-card { min-width: 0; padding: 25px; color: var(--studio-ink); background: rgba(255,255,255,.96); border-radius: 20px; box-shadow: 0 25px 70px rgba(0,0,0,.2); box-sizing: border-box; }
.provider-action-card > span { color: var(--profile-accent); font-size: .62rem; font-weight: 850; }
.provider-action-card h2 { margin: 7px 0 6px; font-size: 1.35rem; }
.provider-action-card p { margin: 0 0 18px; color: var(--studio-muted); font-size: .78rem; line-height: 1.65; }
.provider-primary-actions { display: grid; gap: 8px; }
.provider-primary-actions a { display: flex; min-height: 46px; align-items: center; justify-content: space-between; padding: 11px 14px; color: #fff; background: var(--profile-accent); border-radius: 10px; text-decoration: none; font-size: .8rem; font-weight: 850; }
.provider-primary-actions a:last-child { color: var(--studio-ink); background: #edf1ee; }
.provider-unavailable { display: flex; align-items: flex-start; gap: 8px; padding: 11px 13px; color: #704b30; background: #f8eee5; border-radius: 10px; font-size: .72rem; font-weight: 750; line-height: 1.65; }
.provider-unavailable i { margin-top: 4px; }
.provider-secondary-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 11px; }
.provider-secondary-actions a { padding: 7px 9px; color: var(--profile-accent); background: #f2f5f2; border-radius: 8px; text-decoration: none; font-size: .62rem; font-weight: 780; }
.provider-action-card small { display: block; margin-top: 13px; color: #59665f; font-size: .55rem; line-height: 1.6; }
.provider-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1240px; margin: 0 auto -48px; background: #fff; border: 1px solid var(--studio-line); border-radius: 16px; box-shadow: 0 18px 50px rgba(14,47,33,.09); transform: translateY(-1px); }
.provider-stats div { min-height: 82px; padding: 14px 20px; border-left: 1px solid var(--studio-line); }
.provider-stats div:last-child { border-left: 0; }
.provider-stats small { display: block; color: var(--studio-muted); font-size: .7rem; }
.provider-stats strong { display: block; margin-top: 6px; font-size: 1.05rem; }
.provider-content { max-width: 1240px; margin: auto; padding: 82px 24px 80px; }
.provider-content.without-stats { padding-top: 34px; }
.provider-public-nav { position: sticky; z-index: 4; top: 74px; display: flex; gap: 6px; margin-bottom: 24px; padding: 7px; overflow-x: auto; background: rgba(255,255,255,.92); border: 1px solid var(--studio-line); border-radius: 13px; backdrop-filter: blur(12px); }
.provider-public-nav a { padding: 8px 12px; color: var(--studio-muted); border-radius: 8px; white-space: nowrap; text-decoration: none; font-size: .75rem; font-weight: 750; }
.provider-public-nav a:hover { color: var(--profile-accent); background: #edf3ef; }
.provider-about-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, .7fr); gap: 25px; scroll-margin-top: 130px; }
.provider-surface { padding: 30px; background: #fff; border: 1px solid var(--studio-line); border-radius: 18px; }
.section-kicker { color: var(--profile-accent); font-size: .75rem; font-weight: 850; }
.provider-surface h2,
.provider-showcase > header h2 { margin: 7px 0 12px; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.provider-about-copy > p { color: #53635a; font-size: .83rem; line-height: 2; }
.provider-welcome { display: flex; gap: 10px; margin-top: 20px; padding: 14px; color: var(--studio-green-dark); background: #edf5f0; border-radius: 11px; font-size: .7rem; line-height: 1.7; }
.provider-welcome i { margin-top: 4px; color: var(--profile-accent); }
.provider-detail-list { display: grid; gap: 0; margin: 15px 0 0; }
.provider-detail-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--studio-line); }
.provider-detail-list dt { color: var(--studio-muted); font-size: .6rem; }
.provider-detail-list dd { margin: 0; font-size: .68rem; font-weight: 750; }
.provider-skills { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 16px; }
.provider-skills span { padding: 7px 10px; background: #f0f3f0; border-radius: 99px; font-size: .62rem; font-weight: 700; }
.provider-video-link { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 13px; color: var(--studio-ink); background: #f4f6f3; border-radius: 11px; text-decoration: none; }
.provider-video-link > i { color: var(--profile-accent); font-size: 1.6rem; }
.provider-video-link span { display: grid; font-size: .68rem; font-weight: 800; }
.provider-video-link small { color: var(--studio-muted); font-size: .56rem; font-weight: 500; }
.provider-showcase { padding-top: 50px; scroll-margin-top: 130px; }
.provider-showcase > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.provider-showcase > header h2 { margin-bottom: 0; }
.provider-showcase > header p { max-width: 560px; margin: 0; color: var(--studio-muted); font-size: .78rem; }
.provider-showcase > header > a { color: var(--profile-accent); font-size: .66rem; font-weight: 800; text-decoration: none; }
.provider-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.profile-service-card,
.profile-product-card,
.profile-work-card { overflow: hidden; color: var(--studio-ink); background: #fff; border: 1px solid var(--studio-line); border-radius: 16px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.profile-service-card:hover,
.profile-product-card:hover,
.profile-work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(14,47,33,.08); }
.profile-card-media { display: grid; aspect-ratio: 16/10; place-items: center; overflow: hidden; color: var(--profile-accent); background: #e9efeb; font-size: 2rem; }
.profile-card-media img { width: 100%; height: 100%; object-fit: cover; }
.profile-card-copy { padding: 18px; }
.profile-card-copy > span { color: var(--profile-accent); font-size: .7rem; font-weight: 850; }
.profile-card-copy h3 { margin: 7px 0 5px; font-size: .94rem; line-height: 1.45; }
.profile-card-copy p { min-height: 42px; margin: 0; color: var(--studio-muted); font-size: .75rem; line-height: 1.65; }
.profile-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--studio-line); font-size: .72rem; font-weight: 780; }
.profile-card-foot i { color: var(--profile-accent); }
.provider-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.provider-trust-grid article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 17px; background: #fff; border: 1px solid var(--studio-line); border-radius: 13px; }
.provider-trust-grid article > i { display: grid; width: 42px; height: 42px; place-items: center; color: var(--profile-accent); background: #e9f2ed; border-radius: 11px; }
.provider-trust-grid strong,
.provider-trust-grid span { display: block; }
.provider-trust-grid strong { font-size: .72rem; }
.provider-trust-grid span { color: var(--studio-muted); font-size: .6rem; }
.provider-socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.provider-socials a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: var(--studio-ink); background: #f0f3f0; border-radius: 9px; text-decoration: none; font-size: .62rem; font-weight: 760; }
.provider-final { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 70px; padding: 34px; color: #fff; background: #082f24; border-radius: 20px; }
.provider-final span { color: #aaceb8; font-size: .6rem; font-weight: 850; }
.provider-final h2 { max-width: 680px; margin: 7px 0; color: #fff; font-size: clamp(1.25rem, 2.3vw, 1.7rem); }
.provider-final p { margin: 0; color: rgba(255,255,255,.7); font-size: .67rem; }
.provider-final-actions { display: flex; gap: 8px; align-items: center; }
.provider-final-actions a { display: inline-flex; min-height: 48px; align-items: center; gap: 18px; padding: 12px 17px; color: #0b3d2c; background: #d6f05f; border: 1px solid #d6f05f; border-radius: 10px; white-space: nowrap; text-decoration: none; font-size: .72rem; font-weight: 900; }
.provider-final-actions a.is-secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.owner-floating-edit { position: fixed; z-index: 9; bottom: 22px; left: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; color: #fff; background: var(--studio-green-dark); border-radius: 99px; box-shadow: 0 10px 35px rgba(0,0,0,.18); text-decoration: none; font-size: .66rem; font-weight: 800; }
.provider-mobile-actions { display: none; }

body.provider-public-page .provider-identity h1 { color: #fff; }
body.provider-public-page .provider-identity p,
body.provider-public-page .provider-hero-meta { color: rgba(255,255,255,.76); }

/* Digital products */
.digital-shell { max-width: 1240px; margin: auto; padding: 36px 24px 80px; }
.digital-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.digital-head .section-kicker { display: block; }
.digital-head h1 { margin: 7px 0; font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: 0; }
.digital-head p { margin: 0; color: var(--studio-muted); font-size: .85rem; }
.digital-filter { display: grid; grid-template-columns: 1fr 230px auto; gap: 8px; padding: 9px; background: #fff; border: 1px solid var(--studio-line); border-radius: 13px; }
.digital-filter input,
.digital-filter select { min-height: 42px; padding: 9px 11px; background: #f7f9f6; border: 1px solid var(--studio-line); border-radius: 9px; font: inherit; font-size: .7rem; }
.digital-filter button { padding: 9px 18px; color: #fff; background: var(--studio-green); border: 0; border-radius: 9px; font: inherit; font-size: .68rem; font-weight: 800; }
.digital-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; }
.digital-empty { grid-column: 1 / -1; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 18px; align-items: center; min-height: 150px; padding: 26px; background: #fff; border: 1px dashed #c3d1c7; border-radius: 14px; }
.digital-empty > i { display: grid; width: 54px; height: 54px; place-items: center; color: var(--studio-green); background: #eef5f0; border-radius: 12px; }
.digital-empty h2 { margin: 0 0 5px; font-size: 1rem; }
.digital-empty p { margin: 0; color: var(--studio-muted); font-size: .78rem; }
.digital-empty a { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 13px; color: var(--studio-green); border: 1px solid var(--studio-green); border-radius: 9px; text-decoration: none; font-size: .75rem; font-weight: 800; }
.digital-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.digital-pagination a { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 8px 14px; color: var(--studio-green); background: #fff; border: 1px solid var(--studio-line); border-radius: 9px; text-decoration: none; font-size: .75rem; font-weight: 800; }
.digital-pagination a:hover { border-color: var(--studio-green); }
.digital-pagination bdi { color: var(--studio-muted); font-size: .75rem; font-weight: 800; }
.digital-card { overflow: hidden; color: var(--studio-ink); background: #fff; border: 1px solid var(--studio-line); border-radius: 16px; text-decoration: none; }
.digital-card-media { display: grid; aspect-ratio: 16/10; place-items: center; overflow: hidden; color: var(--studio-green); background: linear-gradient(135deg, #e5eee8, #f6f8f5); font-size: 2.3rem; }
.digital-card-media img { width: 100%; height: 100%; object-fit: cover; }
.digital-card-body { padding: 18px; }
.digital-card-body > span { color: var(--studio-green); font-size: .7rem; font-weight: 850; }
.digital-card h2 { margin: 7px 0 5px; font-size: .96rem; }
.digital-card p { min-height: 42px; margin: 0; color: var(--studio-muted); font-size: .75rem; line-height: 1.65; }
.digital-card footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--studio-line); font-size: .74rem; font-weight: 800; }
.digital-manage-list { display: grid; gap: 10px; }
.digital-manage-row { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 15px; padding: 12px; background: #fff; border: 1px solid var(--studio-line); border-radius: 13px; }
.digital-manage-row .thumb { display: grid; width: 80px; aspect-ratio: 1.2; place-items: center; overflow: hidden; color: var(--studio-green); background: #eaf0ec; border-radius: 9px; }
.digital-manage-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.digital-manage-row h2 { margin: 0 0 4px; font-size: .82rem; }
.digital-manage-row p { margin: 0; color: var(--studio-muted); font-size: .74rem; }
.digital-status { display: inline-flex; margin-top: 6px; padding: 4px 7px; color: var(--studio-green); background: #e8f3ed; border-radius: 99px; font-size: .68rem; font-weight: 800; }
.digital-status.draft,
.digital-status.paused { color: #765d47; background: #f3ece5; }
.digital-product-detail { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 28px; }
.digital-product-hero { overflow: hidden; background: #fff; border: 1px solid var(--studio-line); border-radius: 18px; }
.digital-product-cover { display: grid; aspect-ratio: 16/9; place-items: center; overflow: hidden; color: var(--studio-green); background: #e9efeb; font-size: 3rem; }
.digital-product-cover img { width: 100%; height: 100%; object-fit: cover; }
.digital-product-copy { padding: 28px; }
.digital-product-copy h1 { margin: 8px 0; font-size: clamp(1.6rem,3vw,2.3rem); line-height: 1.2; }
.digital-product-copy > p { color: var(--studio-muted); line-height: 1.85; }
.digital-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.digital-gallery img { width: 100%; border-radius: 12px; }
.digital-buybox { position: sticky; top: 95px; padding: 24px; background: #fff; border: 1px solid var(--studio-line); border-radius: 18px; }
.digital-buybox .price { display: block; margin: 7px 0 18px; font-size: 1.7rem; }
.digital-buybox dl { margin: 0 0 18px; }
.digital-buybox dl div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--studio-line); font-size: .75rem; }
.digital-buybox dt { color: var(--studio-muted); }
.digital-buybox dd { margin: 0; font-weight: 800; }
.digital-buybox > a,
.digital-buybox > button { display: flex; width: 100%; min-height: 47px; align-items: center; justify-content: space-between; padding: 11px 14px; color: #fff; background: var(--studio-green); border: 0; border-radius: 10px; text-decoration: none; font: inherit; font-size: .8rem; font-weight: 850; }
.product-content-section { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--studio-line); }
.product-content-section h2 { font-size: 1rem; }
.product-content-section ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.product-content-section li { display: flex; gap: 8px; color: #516057; font-size: .8rem; }
.product-content-section li i { color: var(--studio-green); }
.product-form-shell { display: grid; gap: 16px; }
.product-editor-section { padding: 26px; background: #fff; border: 1px solid var(--studio-line); border-radius: 16px; }
.product-editor-section > header { margin-bottom: 20px; }
.product-editor-section h2 { margin: 5px 0; font-size: 1.1rem; }
.product-editor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-editor-field { display: grid; gap: 7px; }
.product-editor-field.full { grid-column: 1/-1; }
.product-editor-field label { font-size: .75rem; font-weight: 800; }
.product-editor-field input:not([type="checkbox"]),
.product-editor-field textarea,
.product-editor-field select { width: 100%; min-height: 44px; padding: 10px 11px; background: #fafbf9; border: 1px solid var(--studio-line); border-radius: 9px; font: inherit; font-size: .82rem; }
.product-editor-field textarea { min-height: 95px; }
.product-editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px; background: #102f24; border-radius: 14px; }
.product-editor-actions span { color: rgba(255,255,255,.76); font-size: .74rem; }
.product-editor-actions button { padding: 11px 18px; color: #0b3b2a; background: #d6f05f; border: 0; border-radius: 9px; font: inherit; font-size: .7rem; font-weight: 900; }
.product-editor-section.is-progressive > header { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 14px; align-items: center; margin-bottom: 0; }
.product-editor-section.is-progressive.is-open > header { margin-bottom: 20px; }
.product-editor-section.is-progressive > header > :not(.product-step-toggle) { grid-column: 1; }
.product-step-toggle { grid-column: 2; grid-row: 1 / span 3; display: inline-flex; min-height: 35px; align-items: center; gap: 7px; padding: 7px 10px; color: var(--studio-green); background: #edf4ef; border: 1px solid #cbdad0; border-radius: 8px; font: inherit; font-size: .72rem; font-weight: 820; cursor: pointer; }
.product-step-toggle i { transition: transform .2s ease; }
.product-editor-section.is-open .product-step-toggle i { transform: rotate(180deg); }
.product-editor-section.is-progressive:not(.is-open) > .product-editor-fields { display: none; }
.product-step-next { grid-column: 1 / -1; justify-self: end; min-height: 40px; padding: 8px 14px; color: #fff; background: var(--studio-green); border: 0; border-radius: 8px; font: inherit; font-size: .78rem; font-weight: 820; cursor: pointer; }
.product-library-list { display: grid; gap: 12px; }
.library-card { display: grid; grid-template-columns: 110px 1fr; gap: 17px; padding: 14px; background: #fff; border: 1px solid var(--studio-line); border-radius: 14px; }
.library-card-media { display: grid; width: 110px; aspect-ratio: 1.2; place-items: center; overflow: hidden; background: #eaf0ec; border-radius: 9px; }
.library-card-media img { width: 100%; height: 100%; object-fit: cover; }
.library-card h2 { margin: 0 0 4px; font-size: .86rem; }
.library-files { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.library-files a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; color: var(--studio-green); background: #eaf4ee; border-radius: 8px; text-decoration: none; font-size: .72rem; font-weight: 800; }
.form-help-text,
.library-note { margin: 5px 0 0; color: var(--studio-muted); font-size: .75rem; line-height: 1.6; }
.empty-state-compact { display: grid; gap: 7px; justify-items: center; padding: 38px; }
.empty-state-compact > i { font-size: 1.35rem; }

@media (max-width: 1050px) {
  .studio-layout { grid-template-columns: 280px minmax(0,1fr); }
  .provider-card-grid,
  .digital-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-hero-grid { grid-template-columns: minmax(0,1fr) 310px; gap: 28px; }
}

@media (max-width: 800px) {
  .provider-studio { padding-inline: 14px; }
  .studio-topbar,
  .studio-submit,
  .digital-head,
  .provider-showcase > header,
  .provider-final { align-items: stretch; flex-direction: column; }
  .studio-top-actions { align-items: stretch; flex-direction: column; }
  .studio-save-state { display: none; }
  .studio-switcher { grid-template-columns: repeat(2, 1fr); }
  .studio-switcher a:nth-child(2) { border-left: 0; }
  .studio-switcher a:nth-child(-n+2) { border-bottom: 1px solid var(--studio-line); }
  .studio-layout { grid-template-columns: 1fr; }
  .studio-rail { position: static; grid-template-columns: 1fr 1fr; }
  .studio-fields,
  .studio-fields.two-cols,
  .adaptive-fields,
  .provider-about-grid,
  .provider-trust-grid,
  .product-editor-fields,
  .digital-product-detail { grid-template-columns: 1fr; }
  .studio-field.full,
  .adaptive-fields.full { grid-column: auto; }
  .provider-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; min-height: auto; align-items: start; padding: 36px 16px 40px; }
  .provider-action-card { width: 100%; max-width: none; }
  .provider-stats { grid-template-columns: 1fr 1fr; margin: 0 14px -48px; }
  .provider-stats div:nth-child(2) { border-left: 0; }
  .provider-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--studio-line); }
  .digital-product-detail { display: block; }
  .digital-buybox { position: static; margin-top: 15px; }
  .digital-filter { grid-template-columns: 1fr; }
  .provider-final-actions { align-items: stretch; flex-direction: column; }
  .provider-final-actions a { justify-content: center; }
  .product-step-toggle { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .product-step-next { width: 100%; justify-self: stretch; }
}

@media (max-width: 540px) {
  .studio-rail,
  .provider-card-grid,
  .digital-grid { grid-template-columns: 1fr; }
  .digital-empty { grid-template-columns: 1fr; justify-items: start; padding: 22px; }
  .digital-empty a { width: 100%; justify-content: center; }
  .studio-section { padding: 22px 16px; }
  .ai-image-options { grid-template-columns: 1fr; }
  .provider-identity { grid-template-columns: 72px minmax(0,1fr); gap: 12px; width: 100%; }
  .provider-avatar { width: 72px; height: 72px; border-radius: 18px; }
  body.provider-public-page { padding-bottom: 66px; }
  .provider-identity h1 { font-size: 1.65rem; }
  .provider-labels { grid-column: 1 / -1; margin-bottom: 4px; }
  .provider-hero-meta { grid-column: 1/-1; }
  .provider-action-card { padding: 20px; border-radius: 16px; }
  .provider-primary-actions a { gap: 12px; }
  .provider-primary-actions a span { min-width: 0; overflow-wrap: anywhere; }
  .provider-stats { grid-template-columns: 1fr; }
  .provider-stats div { border-bottom: 1px solid var(--studio-line); border-left: 0; }
  .provider-stats div:last-child { border-bottom: 0; }
  .library-card { grid-template-columns: 1fr; }
  .provider-content { padding: 76px 14px 64px; }
  .provider-content.without-stats { padding-top: 20px; }
  .provider-surface { padding: 22px 17px; }
  .provider-public-nav { top: 64px; }
  .provider-mobile-actions { position: fixed; z-index: 12; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--studio-line); box-shadow: 0 -8px 28px rgba(14,47,33,.1); backdrop-filter: blur(12px); }
  .provider-mobile-actions a { display: flex; min-height: 43px; align-items: center; justify-content: center; gap: 7px; padding: 9px; color: #fff; background: var(--profile-accent); border-radius: 9px; text-decoration: none; font-size: .72rem; font-weight: 850; }
  .provider-mobile-actions a:last-child:not(:first-child) { color: var(--studio-ink); background: #edf1ee; }
  .provider-mobile-actions a:only-child { grid-column: 1 / -1; }
}
