/* Ballet Pages workspace: shared service palette and responsive app surfaces. */
.ballet-pages-dashboard-shell {
 --admin-main: #d88f9b; --admin-main-dark: #d88f9b; --admin-main-soft: #f7e6e9;
 --admin-main-pale: #faf8f8; --admin-sidebar: #fff; --admin-brand-text: #333;
 --admin-bg: #faf8f8; --admin-surface: #fff; --admin-surface-soft: #f7e6e9;
 --admin-text: #333; --admin-heading: #333; --admin-muted: #333; --admin-light: #333;
 --admin-border: #f7e6e9; --admin-border-strong: #d8c5c8;
 --admin-success: #5f8b70; --admin-success-soft: #f7e6e9; --admin-danger: #d88f9b; --admin-danger-soft: #f7e6e9;
 --admin-radius-sm: 6px; --admin-radius-md: 8px; --admin-radius-lg: 8px;
 --bp-admin-main: var(--admin-main-dark); --bp-admin-main-dark: var(--admin-brand-text);
 --bp-admin-ink: var(--admin-text); --bp-admin-bg: var(--admin-bg);
 --bp-admin-line: var(--admin-border-strong); --bp-admin-line-soft: var(--admin-border);
 --bp-admin-selected: var(--admin-main-soft); --bp-admin-focus: 0 0 0 3px rgb(166 56 96 / 12%);
 width: min(1480px, calc(100% - 32px)); max-width: 1480px; background: var(--admin-bg); color: var(--admin-text);
 border: 1px solid var(--admin-border); border-radius: 8px; box-shadow: none; overflow: visible;
 font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}
.ballet-pages-dashboard-shell *, .ballet-pages-dashboard-shell *::before, .ballet-pages-dashboard-shell *::after { box-sizing: border-box; letter-spacing: 0; }
.ballet-pages-dashboard-shell .bp-icon { flex-shrink: 0; }
/* Compact account bar */
.ballet-pages-dashboard-shell .bp-dashboard-identity { width: 100%; max-width: none; box-shadow: none; height: auto; min-height: 80px; margin: 0; background: var(--admin-surface); border: 0; border-bottom: 1px solid var(--admin-border); border-radius: 8px 8px 0 0; }
.ballet-pages-dashboard-shell .bp-dashboard-identity-shade { position: relative; inset: auto; min-height: 80px; padding: 16px 28px; background: none; }
.ballet-pages-dashboard-shell .bp-dashboard-profile { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.ballet-pages-dashboard-shell .bp-dashboard-avatar { width: 40px; height: 40px; border: 1px solid var(--admin-border); box-shadow: none; }
.ballet-pages-dashboard-shell .bp-dashboard-avatar,
.ballet-pages-dashboard-shell .bp-dashboard-avatar img { border-radius: 50%; overflow: hidden; object-fit: cover; }
.ballet-pages-dashboard-shell .bp-dashboard-profile-text h2 { color: var(--admin-heading); font-size: 15px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.ballet-pages-dashboard-shell .bp-kicker { display: none; }
.ballet-pages-dashboard-shell .bp-dashboard-meta { margin: 3px 0 0; gap: 10px; color: var(--admin-muted); font-size: 11px; }
.ballet-pages-dashboard-shell .bp-dashboard-meta span { background: none; border: 0; padding: 0; color: inherit; }
.ballet-pages-dashboard-shell .bp-dashboard-view-site { min-height: 38px; padding: 8px 14px; border: 1px solid var(--admin-border); border-radius: 6px; background: var(--admin-surface); color: var(--admin-text); font-size: 12px; box-shadow: none; }
.ballet-pages-dashboard-shell .bp-dashboard-view-site:hover { background: var(--admin-main-pale); color: var(--admin-main-dark); }
/* Navigation */
.ballet-pages-dashboard-shell .bp-admin-shell { width: 100%; max-width: none; margin: 0; display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 0; align-items: start; padding: 0; }
.ballet-pages-dashboard-shell .bp-dashboard-menu { position: sticky; top: 20px; display: flex; flex-direction: column; width: 100%; min-width: 0; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 24px 14px; scrollbar-width: thin; background: var(--admin-sidebar); border: 0; border-right: 1px solid var(--admin-border); border-radius: 0; box-shadow: none; }
.ballet-pages-dashboard-shell .bp-dashboard-menu::before { content: none; }
.ballet-pages-dashboard-shell .bp-dashboard-menu .bp-workspace-brand { display: none; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group { display: flex; flex-direction: column; margin: 0; gap: 3px; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group > .bp-workspace-nav-caption { display: block; margin: 22px 12px 8px; font-size: 10px; font-weight: 600; color: var(--admin-muted); }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a { display: flex; justify-content: flex-start; align-items: center; gap: 11px; min-height: 39px; padding: 9px 12px; font-size: 12px; font-weight: 400; white-space: normal; border: 0; border-radius: 6px; color: var(--admin-muted); box-shadow: none; text-decoration: none; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a .bp-icon { width: 18px; height: 18px; font-size: 18px; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a::before { content: none; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a:hover { background: var(--admin-surface-soft); color: var(--admin-text); }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a.is-active { color: var(--admin-main-dark); background: var(--admin-main-soft); font-weight: 600; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-system { margin-top: 22px; padding-top: 0; border-top: 1px solid var(--admin-border); }
.ballet-pages-dashboard-shell .bp-dashboard-main { min-width: 0; width: 100%; margin: 0; padding: 32px; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.ballet-pages-dashboard-shell .bp-dashboard-main a { color: var(--admin-main-dark); }
/* Home overview */
.ballet-pages-dashboard-shell .bp-workspace-home h1 { font-size: 23px; font-weight: 600; line-height: 1.5; margin: 0; padding: 0; border: 0; background: none; overflow-wrap: anywhere; }
.ballet-pages-dashboard-shell .bp-workspace-home h2 { font-size: 15px; font-weight: 600; margin: 0 0 20px; border: 0; padding: 0; background: none; }
.ballet-pages-dashboard-shell .bp-workspace-welcome { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.ballet-pages-dashboard-shell .bp-workspace-welcome p { margin: 0 0 6px; color: var(--admin-muted); font-size: 11px; }
.ballet-pages-dashboard-shell .bp-workspace-welcome time { font-size: 11px; color: var(--admin-muted); white-space: nowrap; }
.ballet-pages-dashboard-shell .bp-workspace-banner { position: relative; min-height: 210px; overflow: hidden; border-radius: 8px; background: var(--admin-main-soft); margin-bottom: 32px; }
.ballet-pages-dashboard-shell .bp-workspace-banner img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ballet-pages-dashboard-shell .bp-workspace-banner > div { position: relative; padding: 30px; min-height: 210px; background: linear-gradient(90deg, #fff7faf5, #fff7fae8 40%, #fff7fa00); }
.ballet-pages-dashboard-shell .bp-workspace-banner p { font-size: 11px; font-weight: 500; color: var(--admin-brand-text); margin: 0 0 12px; }
.ballet-pages-dashboard-shell .bp-workspace-banner h2 { max-width: 80%; font-size: 24px; line-height: 1.5; overflow-wrap: anywhere; }
.ballet-pages-dashboard-shell .bp-workspace-home-actions { margin-bottom: 32px; padding: 24px; border: 1px solid var(--admin-border); border-radius: 8px; background: var(--admin-surface); }
.ballet-pages-dashboard-shell .bp-workspace-home-actions p { margin: 0 0 8px; color: var(--admin-main-dark); font-size: 11px; }
.ballet-pages-dashboard-shell .bp-workspace-home-actions h2 { margin-bottom: 16px; }
.ballet-pages-dashboard-shell .bp-dashboard-main .bp-workspace-primary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 10px 16px; border-radius: 6px; background: var(--admin-main-dark); color: white; font-size: 12px; font-weight: 600; text-decoration: none; }
.ballet-pages-dashboard-shell .bp-workspace-primary .bp-icon { font-size: 16px; width: 16px; height: 16px; }
.ballet-pages-dashboard-shell .bp-workspace-primary:hover { filter: brightness(.92); }
.ballet-pages-dashboard-shell .bp-workspace-columns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; }
.ballet-pages-dashboard-shell .bp-workspace-columns > section { min-width: 0; padding: 0; }
.ballet-pages-dashboard-shell .bp-workspace-recent > a { display: grid; grid-template-columns: 55px minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--admin-border); text-decoration: none; color: var(--admin-text); }
.ballet-pages-dashboard-shell .bp-workspace-recent > a:hover strong { color: var(--admin-main-dark); }
.ballet-pages-dashboard-shell .bp-workspace-recent strong { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.ballet-pages-dashboard-shell .bp-workspace-recent time { grid-column: 2; color: var(--admin-muted); font-size: 11px; }
.ballet-pages-dashboard-shell .bp-workspace-recent > a:last-child { display: block; color: var(--admin-main-dark); font-size: 12px; border: 0; }
.ballet-pages-dashboard-shell .bp-workspace-status { display: inline-block; width: fit-content; font-size: 10px; line-height: 1.5; padding: 3px 7px; border-radius: 4px; color: var(--admin-success); background: var(--admin-success-soft); }
.ballet-pages-dashboard-shell .bp-workspace-status.is-draft { color: var(--admin-muted); background: var(--admin-surface-soft); }
.ballet-pages-dashboard-shell .bp-workspace-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ballet-pages-dashboard-shell .bp-workspace-quick a { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 18px 16px; min-height: 112px; border: 1px solid var(--admin-border); border-radius: 8px; background: var(--admin-surface); text-align: left; text-decoration: none; font-size: 12px; color: var(--admin-text); }
.ballet-pages-dashboard-shell .bp-workspace-quick a:hover { border-color: var(--admin-main); background: var(--admin-main-pale); }
.ballet-pages-dashboard-shell .bp-workspace-quick .bp-icon { color: var(--admin-main-dark); font-size: 22px; width: 22px; height: 22px; }
.ballet-pages-dashboard-shell .bp-workspace-site { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; border-top: 1px solid var(--admin-border); padding-top: 22px; font-size: 12px; }
.ballet-pages-dashboard-shell .bp-workspace-site h2 { margin: 0; font-size: 13px; }
.ballet-pages-dashboard-shell .bp-workspace-site a { margin-left: auto; }
.ballet-pages-dashboard-shell .bp-workspace-home details { padding: 20px 0; border-bottom: 1px solid var(--admin-border); }
.ballet-pages-dashboard-shell .bp-workspace-home summary { cursor: pointer; }
/* Shared editing surfaces */
 .ballet-pages-dashboard-shell .bp-dashboard-section { margin: 0 0 24px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ballet-pages-dashboard-shell .bp-dashboard-section-toggle { border: 0; border-bottom: 1px solid var(--admin-border); border-radius: 0; padding: 20px 96px 20px 0; background: transparent; }
.ballet-pages-dashboard-shell .bp-dashboard-section-toggle h3 small { font-size: 18px; font-weight: 600; }
.ballet-pages-dashboard-shell .bp-dashboard-section-toggle h3 span { font-size: 11px; }
.ballet-pages-dashboard-shell .bp-dashboard-section-content { padding: 24px 0; border: 0; background: transparent; }
.ballet-pages-dashboard-shell .bp-dashboard-section-state-button { right: 40px; }
.ballet-pages-dashboard-shell .bp-dashboard-section-indicator { right: 0; }
.ballet-pages-dashboard-shell :where(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]):not([type="hidden"]), select, textarea) { border-radius: 6px; border-color: var(--admin-border-strong); background: var(--admin-surface); box-shadow: none; color: var(--admin-text); }
.ballet-pages-dashboard-shell :is(input, select, textarea):focus { border-color: var(--admin-main-dark); box-shadow: var(--bp-admin-focus); }
.ballet-pages-dashboard-shell :is(.bp-repeater-item, .bp-fee-editor-group) { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 8px; box-shadow: none; }
.ballet-pages-dashboard-shell .bp-save-bar { margin: 24px -32px -32px; padding: 14px 32px; border-radius: 0; border-top: 1px solid var(--admin-border); background: var(--admin-surface); box-shadow: 0 -4px 16px rgb(36 34 42 / 3%); }
.ballet-pages-dashboard-shell .bp-save-bar :is(button, a) { border-radius: 6px; min-height: 40px; font-size: 12px; }
.ballet-pages-dashboard-shell .bp-save-bar button[type="submit"]:not(.bp-sample-button):not(.bp-reset-button) { box-shadow: none; background: var(--admin-main-dark); }
.ballet-pages-dashboard-shell .bp-dashboard-section[hidden] { display: none; }
.ballet-pages-dashboard-shell .bp-workspace-menu-toggle, .ballet-pages-dashboard-shell .bp-workspace-close, .ballet-pages-dashboard-shell .bp-workspace-backdrop { display: none; }
.ballet-pages-dashboard-shell a:focus-visible, .ballet-pages-dashboard-shell button:focus-visible { outline: 2px solid var(--admin-main-dark); outline-offset: 3px; }
/* Responsive navigation and editing */
@media (max-width: 1100px) {
 .ballet-pages-dashboard-shell .bp-admin-shell { grid-template-columns: 208px minmax(0, 1fr); }
 .ballet-pages-dashboard-shell .bp-workspace-columns { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
 .ballet-pages-dashboard-shell { width: calc(100% - 24px); }
 .ballet-pages-dashboard-shell .bp-admin-shell { display: block; }
 .ballet-pages-dashboard-shell .bp-dashboard-identity-shade { padding: 16px 16px 16px 66px; }
 .ballet-pages-dashboard-shell .bp-dashboard-profile { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
 .ballet-pages-dashboard-shell .bp-dashboard-avatar { width: 32px; height: 32px; }
 .ballet-pages-dashboard-shell .bp-dashboard-view-site { grid-column: 1 / -1; width: fit-content; margin: 2px 0 0; }
 .ballet-pages-dashboard-shell .bp-dashboard-main { padding: 24px; }
 .ballet-pages-dashboard-shell .bp-workspace-menu-toggle { display: grid; place-items: center; position: absolute; left: 14px; top: 20px; width: 38px; height: 38px; padding: 0; z-index: 10; background: var(--admin-surface); color: var(--admin-text); border: 1px solid var(--admin-border); border-radius: 6px; }
 .ballet-pages-dashboard-shell .bp-dashboard-menu { position: fixed; inset: 0 auto 0 0; width: min(300px, 85vw); max-height: none; height: 100dvh; padding: 28px 16px; z-index: 100020; border-radius: 0; transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
 .ballet-pages-dashboard-shell.is-drawer-open .bp-dashboard-menu { transform: translateX(0); visibility: visible; }
 .ballet-pages-dashboard-shell .bp-workspace-close { display: grid; place-items: center; position: absolute; right: 10px; top: 16px; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--admin-text); }
 .ballet-pages-dashboard-shell .bp-workspace-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 100015; border: 0; border-radius: 0; background: rgb(36 34 42 / 35%); }
 .ballet-pages-dashboard-shell .bp-save-bar { margin: 24px -24px -24px; padding: 12px 24px; }
}
@media (max-width: 520px) {
 .ballet-pages-dashboard-shell .bp-dashboard-main { padding: 20px 16px; }
 .ballet-pages-dashboard-shell .bp-workspace-welcome { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 22px; }
 .ballet-pages-dashboard-shell .bp-workspace-home h1 { font-size: 20px; }
 .ballet-pages-dashboard-shell .bp-workspace-banner > div { padding: 24px 20px; background: linear-gradient(90deg, #fff7faf5, #fff7faba); }
 .ballet-pages-dashboard-shell .bp-workspace-banner h2 { font-size: 22px; max-width: 100%; }
 .ballet-pages-dashboard-shell .bp-workspace-quick a { padding: 16px 12px; }
 .ballet-pages-dashboard-shell .bp-save-bar { margin: 20px -16px -20px; padding: 12px 16px; gap: 8px; }
 .ballet-pages-dashboard-shell :is(input, textarea, select) { font-size: 16px; }
 .ballet-pages-dashboard-shell .bp-dashboard-menu-group a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
 .ballet-pages-dashboard-shell .bp-dashboard-menu { transition: none; }
}

/* Section editors are full-page forms; keep their contents visible. */
.ballet-pages-dashboard-shell .bp-dashboard-section-toggle {
 display: block;
 min-height: 0;
 padding: 20px 0 14px;
 cursor: default;
 border-bottom: 1px solid var(--admin-border);
}
.ballet-pages-dashboard-shell .bp-dashboard-section-toggle:hover { background: transparent; }
.ballet-pages-dashboard-shell .bp-dashboard-section-toggle h3 { display: flex; align-items: baseline; gap: 8px 12px; }
.ballet-pages-dashboard-shell .bp-dashboard-section-indicator { display: none; }
.ballet-pages-dashboard-shell .bp-dashboard-section-state-button { top: 18px; right: 0; }
.ballet-pages-dashboard-shell .bp-dashboard-section-content,
.ballet-pages-dashboard-shell .bp-dashboard-section-content[hidden] { display: block !important; visibility: visible; }
.ballet-pages-dashboard-shell .bp-dashboard-section.is-collapsed { padding-bottom: 0; }
.ballet-pages-dashboard-shell .bp-dashboard-section.is-collapsed > .bp-dashboard-section-content { display: block !important; }
.ballet-pages-dashboard-shell .bp-dashboard-section.is-disabled > .bp-dashboard-section-content { opacity: .58; }
.ballet-pages-dashboard-shell .bp-profile-image-field { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.ballet-pages-dashboard-shell .bp-profile-image-preview { display: grid; place-items: center; width: 88px; height: 88px; overflow: hidden; border: 1px solid var(--admin-border-strong); border-radius: 8px; background: var(--admin-main-soft); }
.ballet-pages-dashboard-shell .bp-profile-image-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ballet-pages-dashboard-shell .bp-color-picker { width: 54px; height: 34px; padding: 3px; border: 1px solid var(--admin-border-strong); border-radius: 7px; background: var(--admin-surface); }
.ballet-pages-dashboard-shell .bp-font-sample { display: block; width: fit-content; max-width: 100%; margin-top: 8px; padding: 6px 10px; border: 1px solid var(--admin-border); border-radius: 6px; background: var(--admin-main-pale); color: var(--admin-text); font-size: 16px; line-height: 1.3; }
.ballet-pages-dashboard-shell .bp-selected-images { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ballet-pages-dashboard-shell .bp-selected-images img { width: 112px; height: 76px; object-fit: cover; border: 1px solid var(--admin-border-strong); border-radius: 6px; }
.ballet-pages-dashboard-shell .bp-dashboard-section,
.ballet-pages-dashboard-shell .bp-dashboard-section:hover,
.ballet-pages-dashboard-shell .bp-dashboard-section:not(.is-collapsed),
.ballet-pages-dashboard-shell .bp-dashboard-section.is-enabled {
 border-color: transparent;
 box-shadow: none !important;
}

/* Persistent navigation: pink surrounds, white work area, existing brand accent. */
body.ballet-pages-management-page { background: #f7e6e9; }
body.ballet-pages-management-page .bp-management-app { padding: 0; min-height: 100dvh; }
body.ballet-pages-management-page .ballet-pages-dashboard-shell {
 --admin-sidebar: var(--admin-main-soft);
 --admin-bg: var(--admin-main-soft);
 --bp-workspace-header-height: 88px;
 --bp-workspace-top: 0px;
 width: 100%; max-width: none; min-height: 100dvh; margin: 0;
 border: 0; border-radius: 0; overflow: visible;
}
.ballet-pages-dashboard-shell .bp-dashboard-identity {
 position: sticky; top: var(--bp-workspace-top, 0px); z-index: 100010;
 min-height: 0; border-radius: 0; background: var(--admin-main-soft);
 border-bottom: 1px solid var(--admin-border-strong);
 box-shadow: 0 4px 18px rgb(51 51 51 / 4%);
}
.ballet-pages-dashboard-shell .bp-dashboard-identity-shade { min-height: 84px; padding: 14px 28px; }
.ballet-pages-dashboard-shell .bp-workspace-service { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.2; margin-bottom: 3px; color: var(--admin-text); }
.ballet-pages-dashboard-shell .bp-dashboard-profile-text h2 { font-size: 12px; font-weight: 500; }
.ballet-pages-dashboard-shell .bp-dashboard-meta { font-size: 10px; opacity: .75; }
.ballet-pages-dashboard-shell .bp-dashboard-view-site { display: inline-flex; gap: 8px; align-items: center; justify-content: center; border-color: var(--admin-border-strong); }
.ballet-pages-dashboard-shell .bp-dashboard-view-site .bp-icon { font-size: 16px; width: 16px; height: 16px; }
.ballet-pages-dashboard-shell .bp-admin-shell { grid-template-columns: 244px minmax(0, 1fr); min-height: calc(100dvh - var(--bp-workspace-header-height)); }
.ballet-pages-dashboard-shell .bp-dashboard-menu {
 top: calc(var(--bp-workspace-top, 0px) + var(--bp-workspace-header-height));
 height: calc(100dvh - var(--bp-workspace-top, 0px) - var(--bp-workspace-header-height));
 max-height: calc(100dvh - var(--bp-workspace-top, 0px) - var(--bp-workspace-header-height));
 padding: 24px 16px; background: var(--admin-main-soft); border-right-color: var(--admin-border-strong);
 overscroll-behavior: contain; scrollbar-color: var(--admin-main) transparent;
}
.ballet-pages-dashboard-shell .bp-dashboard-menu .bp-workspace-brand { display: block; padding: 0 12px 22px; font: 24px/1.3 Georgia, "Times New Roman", serif; color: var(--admin-text); }
.ballet-pages-dashboard-shell .bp-workspace-brand small { display: block; margin-top: 6px; font: 9px/1.5 sans-serif; letter-spacing: .18em; color: var(--admin-text); opacity: .65; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a { min-height: 44px; border-radius: 8px; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a:hover { background: rgb(255 255 255 / 65%); }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a.is-active { background: var(--admin-main); color: var(--admin-text); box-shadow: 0 3px 10px rgb(216 143 155 / 18%); }
.ballet-pages-dashboard-shell .bp-dashboard-menu-system { border-top-color: var(--admin-border-strong); }
.ballet-pages-dashboard-shell .bp-dashboard-main { background: #fff; min-height: calc(100dvh - var(--bp-workspace-header-height)); }
.ballet-pages-dashboard-shell .bp-dashboard-section { scroll-margin-top: calc(var(--bp-workspace-top, 0px) + var(--bp-workspace-header-height) + 20px); }
.ballet-pages-dashboard-shell .bp-workspace-home-actions { background: linear-gradient(115deg, var(--admin-main-soft), #fff); border-color: var(--admin-border-strong); padding: 28px; border-radius: 12px; }
.ballet-pages-dashboard-shell .bp-workspace-quick a { background: color-mix(in srgb, var(--admin-main-soft) 55%, white); border-color: transparent; }
.ballet-pages-dashboard-shell .bp-save-bar { background: #fff; border-top-color: var(--admin-border-strong); }
@media (max-width: 1100px) and (min-width: 901px) {
 .ballet-pages-dashboard-shell .bp-admin-shell { grid-template-columns: 216px minmax(0, 1fr); }
}
@media (max-width: 900px) {
 .ballet-pages-dashboard-shell .bp-admin-shell { display: block; }
 .ballet-pages-dashboard-shell .bp-dashboard-identity-shade { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 76px; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; }
 .ballet-pages-dashboard-shell .bp-workspace-menu-toggle { position: static; display: grid; width: 40px; height: 40px; border: 1px solid var(--admin-border-strong); background: transparent; border-radius: 8px; }
 .ballet-pages-dashboard-shell .bp-dashboard-profile { grid-template-columns: minmax(0, 1fr) 38px; gap: 8px; }
 .ballet-pages-dashboard-shell .bp-dashboard-avatar, .ballet-pages-dashboard-shell .bp-dashboard-meta { display: none; }
 .ballet-pages-dashboard-shell .bp-workspace-service { font-size: 22px; }
 .ballet-pages-dashboard-shell .bp-dashboard-profile-text { min-width: 0; }
 .ballet-pages-dashboard-shell .bp-dashboard-profile-text h2 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
 .ballet-pages-dashboard-shell .bp-dashboard-view-site { grid-column: auto; width: 38px; min-height: 38px; margin: 0; padding: 8px; background: rgb(255 255 255 / 65%); }
 .ballet-pages-dashboard-shell .bp-view-site-label { display: none; }
 .ballet-pages-dashboard-shell .bp-dashboard-menu { top: var(--bp-workspace-top, 0px); height: calc(100dvh - var(--bp-workspace-top, 0px)); max-height: none; padding: calc(24px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom)); width: min(320px, 86vw); background: var(--admin-main-soft); border: 0; box-shadow: 12px 0 40px rgb(51 51 51 / 12%); }
 .ballet-pages-dashboard-shell .bp-dashboard-menu .bp-workspace-brand { padding-right: 34px; padding-top: 4px; }
 .ballet-pages-dashboard-shell .bp-workspace-close { top: calc(18px + env(safe-area-inset-top)); right: 12px; }
 .ballet-pages-dashboard-shell .bp-workspace-backdrop:not([hidden]) { background: rgb(51 51 51 / 32%); }
 .ballet-pages-dashboard-shell .bp-save-bar { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}
/* Let the mobile drawer and its backdrop sit above the sticky header. */
.ballet-pages-dashboard-shell .bp-admin-shell { position: static; z-index: auto; }
.ballet-pages-dashboard-shell .bp-dashboard-profile { width: 100%; }
.ballet-pages-dashboard-shell .bp-dashboard-menu { align-items: stretch; text-align: left; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group { width: 100%; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a { width: 100%; background: transparent; }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a:hover { background: rgb(255 255 255 / 65%); }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a.is-active { background: var(--admin-main); color: var(--admin-text); }
.ballet-pages-dashboard-shell .bp-admin-shell { isolation: auto; }
.ballet-pages-dashboard-shell .bp-dashboard-identity-shade { width: 100%; }
.ballet-pages-dashboard-shell .bp-dashboard-identity { display: block; }
@media (max-width: 900px) {
 .ballet-pages-dashboard-shell .bp-workspace-close { position: sticky; order: -1; top: 0; right: auto; align-self: flex-end; margin: 0 0 -36px auto; flex-shrink: 0; z-index: 2; background: var(--admin-main-soft); border-radius: 6px; }
}

/* Notice tools live immediately below their parent section. */
.ballet-pages-dashboard-shell .bp-workspace-submenu { margin: 0 0 8px 20px; padding-left: 10px; border-left: 1px solid var(--admin-border-strong); }
.ballet-pages-dashboard-shell .bp-workspace-submenu a { min-height: 38px; font-size: 11px; }
.ballet-pages-dashboard-shell .bp-notice-section-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ballet-pages-dashboard-shell .bp-notice-section-actions a { display: inline-flex; padding: 12px 18px; border: 1px solid var(--admin-border-strong); border-radius: 8px; color: var(--admin-text); background: var(--admin-main-soft); text-decoration: none; }
@media (max-width: 900px) {
 .ballet-pages-dashboard-shell .bp-workspace-close { margin-bottom: 8px; }
}

/* Home publishing and sharing controls. */
.ballet-pages-dashboard-shell .bp-site-state { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--admin-border-strong); border-radius: 20px; background: #fff; color: #625a5d; font: 500 11px/1.3 -apple-system, BlinkMacSystemFont, sans-serif; white-space: nowrap; vertical-align: middle; }
.ballet-pages-dashboard-shell .bp-site-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #aaa; }
.ballet-pages-dashboard-shell .bp-site-state.is-public { color: #356344; border-color: #c9dfd0; }
.ballet-pages-dashboard-shell .bp-site-state.is-public::before { background: #5f8b70; }
.ballet-pages-dashboard-shell .bp-site-sharing { padding: 24px; margin-bottom: 32px; border: 1px solid var(--admin-border-strong); border-radius: 12px; background: #fff; }
.ballet-pages-dashboard-shell .bp-site-sharing-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ballet-pages-dashboard-shell .bp-site-sharing h2 { margin: 0; }
.ballet-pages-dashboard-shell .bp-site-sharing p, .ballet-pages-dashboard-shell .bp-site-publication-form span { font-size: 12px; line-height: 1.7; }
.ballet-pages-dashboard-shell .bp-site-url { display: flex; gap: 10px; }
.ballet-pages-dashboard-shell .bp-site-url input { flex: 1; min-width: 0; font-size: 13px; }
.ballet-pages-dashboard-shell .bp-site-sharing button { padding: 10px 16px; border: 1px solid var(--admin-border-strong); border-radius: 7px; background: var(--admin-main-soft); color: var(--admin-text); white-space: nowrap; font-size: 12px; }
.ballet-pages-dashboard-shell .bp-site-publication-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 16px; margin: 16px 0 0; border-top: 1px solid var(--admin-border); }
/* Design controls paired with a live colour and typography sample. */
.ballet-pages-dashboard-shell .bp-design-editor { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: 32px; align-items: start; }
.ballet-pages-dashboard-shell .bp-design-fields { min-width: 0; }
.ballet-pages-dashboard-shell .bp-design-fields > h4 { font-size: 14px; margin: 0 0 16px; padding: 0; border: 0; }
.ballet-pages-dashboard-shell :is(.bp-design-colors, .bp-design-fonts, .bp-design-finishing) { display: grid; gap: 16px; margin-bottom: 30px; }
.ballet-pages-dashboard-shell .bp-design-colors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ballet-pages-dashboard-shell :is(.bp-design-fonts, .bp-design-finishing) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ballet-pages-dashboard-shell .bp-design-fields p { margin: 0; min-width: 0; }
.ballet-pages-dashboard-shell .bp-design-fields label { display: block; margin-bottom: 8px; font-size: 12px; }
.ballet-pages-dashboard-shell .bp-design-colors .bp-color-picker { display: block; width: 100%; height: 64px; padding: 5px; border-radius: 10px; border: 1px solid var(--admin-border-strong); cursor: pointer; }
.ballet-pages-dashboard-shell .bp-design-colors output { display: block; margin-top: 8px; font-size: 11px; color: #625a5d; }
.ballet-pages-dashboard-shell .bp-design-fields .bp-field-hint { display: block; margin-top: 8px; font-size: 11px; line-height: 1.7; }
.ballet-pages-dashboard-shell .bp-design-fields .bp-font-sample { width: 100%; padding: 16px 10px; background: #faf7f8; border: 0; font-size: 19px; }
.ballet-pages-dashboard-shell .bp-design-preview { position: sticky; top: calc(var(--bp-workspace-header-height) + 20px); min-width: 0; }
.ballet-pages-dashboard-shell .bp-design-preview > p { font-size: 12px; margin-bottom: 12px; }
.ballet-pages-dashboard-shell .bp-design-preview small { display: block; margin-top: 14px; font-size: 11px; color: #625a5d; }
.ballet-pages-dashboard-shell .bp-design-preview-surface { --preview-main_color: #b8898f; --preview-sub_color: #c8b8aa; --preview-text_color: #333; padding: 32px 24px; background: color-mix(in srgb, var(--preview-sub_color) 18%, white); color: var(--preview-text_color); border-radius: var(--preview-radius, 16px); border: 1px solid color-mix(in srgb, var(--preview-sub_color) 50%, white); }
.ballet-pages-dashboard-shell .bp-design-preview-surface .bp-design-preview-kicker { font-size: 10px; letter-spacing: .13em; color: var(--preview-main_color); }
.ballet-pages-dashboard-shell .bp-design-preview-surface h4 { margin: 22px 0 16px; padding: 0; border: 0; font: 400 34px/1.2 var(--preview-heading-font, serif); color: var(--preview-main_color); }
.ballet-pages-dashboard-shell .bp-design-preview-surface h5 { font: 500 17px/1.8 var(--preview-body-font, serif); color: var(--preview-text_color); margin: 0 0 14px; }
.ballet-pages-dashboard-shell .bp-design-preview-surface p { font: 400 13px/2 var(--preview-body-font, serif); color: var(--preview-text_color); }
.ballet-pages-dashboard-shell .bp-design-preview-button { display: inline-block; margin-top: 12px; padding: 12px 16px; border-radius: var(--preview-radius, 16px); background: var(--preview-main_color); color: #fff; font: 12px/1.6 var(--preview-body-font, serif); }
@media (max-width: 1100px) { .ballet-pages-dashboard-shell .bp-design-editor { grid-template-columns: 1fr; } .ballet-pages-dashboard-shell .bp-design-preview { position: static; } }
@media (max-width: 520px) {
 .ballet-pages-dashboard-shell .bp-workspace-service { font-size: 19px; }
 .ballet-pages-dashboard-shell .bp-workspace-service .bp-site-state { font-size: 9px; padding: 4px 6px; }
 .ballet-pages-dashboard-shell .bp-site-sharing { padding: 18px; }
 .ballet-pages-dashboard-shell .bp-site-url { flex-direction: column; }
 .ballet-pages-dashboard-shell :is(.bp-design-fonts, .bp-design-finishing) { grid-template-columns: 1fr; }
}
.ballet-pages-dashboard-shell .bp-design-finishing { display: block; }
/* App-like editing surfaces: quiet inputs, clear actions, fewer nested frames. */
.ballet-pages-dashboard-shell .bp-dashboard-section { border-radius: 16px; }
.ballet-pages-dashboard-shell .bp-dashboard-section > h3 { padding-bottom: 20px; margin-bottom: 24px; border-bottom-color: #eee8ea; }
.ballet-pages-dashboard-shell .bp-dashboard-section-note { color: #70656a; line-height: 1.8; }
.ballet-pages-dashboard-shell .bp-dashboard-section :is(input[type=text], input[type=email], input[type=url], input[type=tel], input[type=number], select, textarea) { border-color: #e5dfe2; border-radius: 10px; background: #fbfafb; box-shadow: none; transition: border-color .15s, background-color .15s; }
.ballet-pages-dashboard-shell .bp-dashboard-section :is(input, select, textarea):focus { background: #fff; border-color: var(--admin-main); outline: 2px solid #d88f9b30; outline-offset: 2px; }
.ballet-pages-dashboard-shell .bp-dashboard-section .bp-repeater-item { padding: 22px; background: #fff; border: 1px solid #e9e3e6; border-radius: 16px; }
.ballet-pages-dashboard-shell .bp-dashboard-section .bp-repeater-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 20px; }
.ballet-pages-dashboard-shell .bp-dashboard-section .bp-add-row { min-height: 44px; border-style: solid; border-radius: 10px; background: #fbf0f3; color: #824c59; }
.ballet-pages-dashboard-shell .bp-save-bar { border-top: 1px solid #eee8ea; box-shadow: 0 -4px 20px #40233106; }
.ballet-pages-dashboard-shell .bp-save-bar button { min-height: 44px; border-radius: 10px; }
.ballet-pages-dashboard-shell .bp-dashboard-section .bp-fee-editor { gap: 20px; }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-editor-help { margin: 0; font-size: 13px; color: #70656a; }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-editor-groups { margin: 0; gap: 24px; }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-editor-group { padding: 24px; border: 1px solid #e9e3e6; border-radius: 16px; background: #fff; }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-repeater-head { border: 0; margin: 0 0 16px; padding: 0; }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-editor-lines { gap: 0; margin-top: 12px; }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-editor-line { padding: 20px 0; border: 0; border-top: 1px solid #eee8ea; border-radius: 0; background: transparent; }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-line-head { margin-bottom: 10px; font-size: 12px; color: #81737a; }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-form-grid { gap: 12px 16px; margin-top: 0; }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-form-grid > p { margin: 0; }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-note-editor { margin: 0; }
.ballet-pages-dashboard-shell .bp-fee-note-editor summary { cursor: pointer; padding: 8px 0; color: #786970; font-size: 12px; }
.ballet-pages-dashboard-shell .bp-fee-note-editor textarea { margin-top: 8px; min-height: 80px; }
.ballet-pages-dashboard-shell .bp-fee-editor :is([data-fee-line-remove], [data-fee-group-remove]) { min-width: 36px; min-height: 36px; border: 0; border-radius: 50%; background: #f7f3f5; color: #8b737e; }
.ballet-pages-dashboard-shell .bp-fee-editor [data-fee-group-add] { justify-self: start; }
@media(max-width:600px) {
 .ballet-pages-dashboard-shell .bp-dashboard-section :is(input[type=text], input[type=email], input[type=url], input[type=tel], input[type=number], select, textarea) { font-size: 16px; }
 .ballet-pages-dashboard-shell .bp-dashboard-section .bp-repeater-item, .ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-editor-group { padding: 16px; }
 .ballet-pages-dashboard-shell .bp-fee-editor .bp-form-grid { grid-template-columns: minmax(0,1fr); }
 .ballet-pages-dashboard-shell .bp-fee-editor .bp-form-wide { grid-column: 1 / -1; }
}
.ballet-pages-dashboard-shell .ballet-pages-dashboard .bp-dashboard-section :is(input[type=text], input[type=email], input[type=url], input[type=tel], input[type=number], select, textarea) { border: 1px solid #e5dfe2; border-radius: 10px; background: #fbfafb; box-shadow: none; }
.ballet-pages-dashboard-shell .ballet-pages-dashboard .bp-dashboard-section :is(input, select, textarea):focus { background: #fff; border-color: var(--admin-main); }
.ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-editor-line::after, .ballet-pages-dashboard-shell .bp-fee-editor .bp-form-grid > p::after { content: none; }
@media(max-width:600px) {
 .ballet-pages-dashboard-shell .bp-save-bar { display: grid; grid-template-columns: 1fr 1.25fr .8fr; gap: 8px; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); }
 .ballet-pages-dashboard-shell .bp-save-bar button { width: 100%; min-width: 0; padding: 9px 6px; font-size: 11px; line-height: 1.4; }
}

.ballet-pages-dashboard-shell .bp-fee-editor .bp-form-grid > p, .ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-note-editor { border: 0; padding-bottom: 0; }
/* Restrained rose gradients on navigation and primary actions, white editing canvas. */
.ballet-pages-dashboard-shell .bp-dashboard-identity { background: linear-gradient(115deg, #f8e7ec 0%, #fdf5f7 55%, #f3dce3 100%); }
.ballet-pages-dashboard-shell .bp-dashboard-menu-group a.is-active { background: linear-gradient(115deg, #edbec9, #dda0b0); color: #49313b; box-shadow: 0 3px 10px #a85d7214; }
.ballet-pages-dashboard-shell .bp-save-bar button[type=submit]:not(.bp-sample-button):not(.bp-reset-button) { background: linear-gradient(115deg, #b76a80, #a2526a); color: #fff; border-color: #a65c72; box-shadow: 0 3px 9px #a2526a20; }
.ballet-pages-dashboard-shell .bp-save-bar button[type=submit]:not(.bp-sample-button):not(.bp-reset-button):hover { background: linear-gradient(115deg, #ad5e75, #93475e); }
.ballet-pages-dashboard-shell .bp-dashboard-section .bp-add-row { background: linear-gradient(110deg, #fcf2f5, #f8e7ed); }
.ballet-pages-dashboard-shell .bp-dashboard-main { background: #fff; }
.ballet-pages-dashboard-shell .bp-fee-note-editor summary:focus-visible, .ballet-pages-dashboard-shell button:focus-visible { outline: 2px solid #a2526a; outline-offset: 3px; }
@media(prefers-reduced-motion:reduce) {
 .ballet-pages-dashboard-shell :is(input, textarea, select, button) { transition: none; }
}
/* The group name already has an input border; start the first fee row without another rule. */
.ballet-pages-dashboard-shell .bp-fee-editor .bp-fee-editor-line:first-child { border-top: 0; }
