/* Global card gloss, preview-only presentation.
   Explicit card surfaces only. No settings, data, layout, images or halo changes.
   Reflections are background layers: they cannot intercept clicks or cover text.
   Keep the public copy at public/l/assets/global-card-gloss.css identical. */
:root {
  --card-gloss-surface:
    radial-gradient(ellipse 37% 5px at 75% 3px, #ffffffd9 0%, #e8f6ff70 42%, transparent 76%),
    radial-gradient(ellipse 55% 18% at 82% 0%, #e6f5ff29, transparent 75%),
    linear-gradient(166deg, #e2f3ff1f 0%, #c0e4fa08 25%, #06152280 54%, #06142099 81%, #8cd9f225 97%, #e3f8ff54 100%);
  --card-gloss-rim: #d8f0ff75;
  --card-gloss-shadow:
    inset 0 1px 1px #ffffffeb,
    inset 1px 0 2px #dff5ff66,
    inset -1px 0 3px #e0e9ff40,
    inset 0 -1px 2px #e7faffb3,
    inset 0 -5px 9px #65d3f529,
    0 2px 0 #0b1b2466,
    0 3px 0 #b8e9ff38,
    0 17px 28px -9px #0009;
  --card-gloss-small-shadow:
    inset 0 1px 1px #f5fbffad,
    inset 1px 0 2px #dff5ff38,
    inset 0 -1px 2px #e2f8ff70,
    inset 0 -4px 7px #65d3f51c,
    0 2px 0 #0b1b244d,
    0 7px 14px -7px #0008;
}

/* La Base, analytics, progress, team, projects and calendar panels. */
body .lbeAppContent .liquidWorkspace :is(
  .dailyWorkspace[data-view="home"] .dailyHero,
  .dailyCard, .dailyPanel, .dailyToday, .dailyStat, .dailyTaskCard,
  .dailyAnalyticsCard, .dailyRosterCard, .dailyJournal,
  .dailyJournal > .dailyForm,
  .analyticsHero, .analyticsProjectCard, .analyticsGraph,
  .analyticsMonthlyChart, .analyticsLineChart,
  .calendarTodayCard, .calendarClock, .calendarExtras,
  .calendar.calendarProportional,
  .artistCard, .teamRoleCard, .leaderCard, .ownerCard,
  .leadershipScope > div, .projectTrash, .monthlyEmpty, .workspaceState,
  .digitalIdTrack > .digitalIdCard, .digitalIdTools
) {
  border: 1px solid var(--card-gloss-identity-rim, var(--card-gloss-rim));
  background: var(--card-gloss-surface);
  box-shadow: var(--card-gloss-shadow);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
}
body .lbeAppContent .liquidWorkspace :is(.analyticsGraph, .analyticsMonthlyChart) {
  border-radius: 28px;
}
/* Artist-specific borders remain tied to the existing identity, not project status. */
body .lbeAppContent .liquidWorkspace .artistCard {
  --card-gloss-identity-rim: color-mix(in srgb, var(--accent, #b9e8ff) 55%, #e7f8ff66);
}

/* Compact nested cards use one lighter reflection, without nested backdrop blur. */
body .lbeAppContent .liquidWorkspace :is(
  .dailyProjectList > button, .dailyPendingList button,
  .projectRow, .projectTrashRow,
  .calendarTodayProject, .calendarTodayEmpty,
  .calendarTodayEntries > details, .calendarDayCommitments > details,
  .calendarEntry, .calendarAllDay > button, .dailyReportsDetail
) {
  background: var(--card-gloss-surface);
  border-color: #ceeaff55;
  box-shadow: var(--card-gloss-small-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body .lbeAppContent .liquidWorkspace .dailyWorkspace .dailyJournal > .dailyForm {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Dialogs need a more opaque reading surface above the same decorative field. */
body .lbeAppContent :is(.calendarDayModal, .dailyReportsDialog, .notificationPanel) {
  border-color: var(--card-gloss-rim);
  background: var(--card-gloss-surface), #0a1725e8;
  box-shadow: var(--card-gloss-shadow), 0 28px 75px #0008;
}
body .lbeAppContent .calendarDayModal .calendarDailyAgenda {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Music library cards, not the 3D studio, its controls, lights or saved settings. */
body .lbeAppContent .musicCatalog :is(.catalogTrack, .catalogEmpty),
body .lbeAppContent .musicArtistDetail .musicArtistSong {
  border-color: color-mix(in srgb, var(--accent, #b9e8ff) 45%, #d8f0ff66);
  background: var(--card-gloss-surface);
  box-shadow: var(--card-gloss-shadow);
}
body .lbeAppContent .musicCatalog .catalogTrackActive,
body .lbeAppContent .musicArtistDetail .musicArtistSong.isSelected {
  border-color: var(--accent, #c6efff);
  box-shadow: var(--card-gloss-shadow), 0 0 0 1px var(--accent, #c6efff);
}
/* Reuse the existing noninteractive edge. Leave ::before and outer halos intact. */
body .lbeAppContent .musicArtistCarousel .musicArtistCard::after,
body.landing-page .public-carousel .musicArtistCard::after {
  background:
    radial-gradient(ellipse 37% 5px at 75% 3px, #fff 0%, #e9f7ff91 42%, transparent 76%),
    radial-gradient(ellipse 52% 15% at 84% 0%, #edf8ff2b, transparent 75%);
  border-top-color: #f3fbffbd;
  border-bottom-color: #dcf8ffa6;
  box-shadow: inset 1px 0 2px #e1f7ff66, inset -1px 0 3px #e9edff47, inset 0 -2px 3px #d4f2ff80;
  pointer-events: none;
}

/* Activity, Booking and Distribution share their real card markup. */
body .lbeAppContent .activityPage :is(
  .activityCards > article, .activityCard, .activityStats > div,
  .bookingInbox, .activityFilters
) {
  border-color: var(--card-gloss-rim);
  background: var(--card-gloss-surface);
  box-shadow: var(--card-gloss-shadow);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
}
body .lbeAppContent .activityPage .bookingRequest {
  border-color: #ceeaff55;
  background: var(--card-gloss-surface);
  box-shadow: var(--card-gloss-small-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Meeting cards keep video surfaces and their controls unchanged. */
body .lbeAppContent .conferencePage :is(.conferenceMeetingCard, .conferenceAgenda, .conferenceEmpty) {
  border-color: var(--card-gloss-rim);
  background: var(--card-gloss-surface);
  box-shadow: var(--card-gloss-shadow);
}
/* Appearance container only: no controls or studio/theme variables are changed. */
body .lbeAppContent .lbeAppearancePage :is(.lbeVisualPanel, .lbeAppearanceState) {
  border-color: var(--card-gloss-rim);
  background: var(--card-gloss-surface), #0a14228c;
  box-shadow: var(--card-gloss-shadow);
}
/* Keep the smoked neutral identity of the login, with a crisp static reflection. */
body .lbeAppContent .lbe-login .login-main > .login-card {
  border-color: #e5edf67a;
  background:
    radial-gradient(ellipse 37% 5px at 75% 3px, #ffffffeb, #edf3ff75 42%, transparent 76%),
    radial-gradient(ellipse 52% 17% at 82% 0%, #f0f2ff21, transparent 75%),
    linear-gradient(165deg, #e1e6ef1c, #101117bf 42%, #08090de8 82%, #c9d6e62b);
  box-shadow: inset 0 1px 1px #fff, inset 1px 0 2px #eff5ff66,
    inset -1px 0 3px #e3e7f23b, inset 0 -1px 2px #edf5ff9c,
    inset 0 -5px 9px #ccd7e61f, 0 3px 0 #bac7d62e, 0 22px 38px #0009;
}

/* Standalone HTML: exact semantic surfaces, never all sections/divs/fieldsets. */
body :is(.metrics > article, .chart-card, .table-card, .details-row > .method),
body .workspace :is(.editor fieldset, .profile-picker, .preview-column),
body .booking-contact > .booking-content,
body.profile-page .latest-release {
  border-color: var(--card-gloss-rim);
  background: var(--card-gloss-surface);
  box-shadow: var(--card-gloss-shadow);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
}
body .workspace :is(.profile-preview, .preview-release, .preview-platform),
body.profile-page .profile-platforms > .platform-item {
  border-color: #d8f0ff59;
  box-shadow: var(--card-gloss-small-shadow);
}
body .workspace :is(.preview-release, .preview-platform),
body.profile-page .profile-platforms > .platform-item {
  background: var(--card-gloss-surface);
}
/* All added highlights are static. Existing reduced-motion behavior is preserved. */
@media (prefers-reduced-motion: reduce) {
  body .lbeAppContent .liquidWorkspace .dailyRosterSelectable {
    transition: none;
  }
  body .lbeAppContent .liquidWorkspace .dailyRosterSelectable:hover {
    transform: none;
  }
}

/* Requested bold day numerals in the home, release and calendar views. */
body .lbeAppContent .liquidWorkspace .dailyWorkspace[data-view="home"] .dailyDayNumber,
body .lbeAppContent .liquidWorkspace .monthlyLiveClock .monthlyDayNumber,
body .lbeAppContent .liquidWorkspace .calendarProportional .dayNumber,
body .lbeAppContent .dailyReportsDays > button > b {
  font-weight: 800;
}

/* Projects use the same artist-owned colored glass as the release cards.
   The existing --accent follows canonical identity, never card order or status. */
body .lbeAppContent .liquidWorkspace .artistCard {
  --card-gloss-identity-rim: color-mix(in srgb, var(--accent, #b9e8ff) 75%, #f0f8ff);
  --card-gloss-surface:
    radial-gradient(ellipse 37% 5px at 75% 3px, #ffffffeb 0%, #edf6ff80 42%, transparent 76%),
    radial-gradient(ellipse 55% 18% at 82% 0%, #f4f7ff29, transparent 75%),
    linear-gradient(166deg,
      color-mix(in srgb, var(--accent, #b9e8ff) 10%, transparent) 0%,
      #08111c9c 35%,
      color-mix(in srgb, var(--artist-tone, #25394c) 40%, #08121dcc) 78%,
      color-mix(in srgb, var(--accent, #b9e8ff) 30%, #0b142180) 97%,
      #edf9ff54 100%);
  --card-gloss-shadow:
    inset 0 1px 2px #ffffffdb,
    inset 1px 0 3px #edf5ff66,
    inset -1px 0 3px #e8e9ff40,
    inset 0 -2px 3px #edfaff99,
    inset 0 -5px 12px color-mix(in srgb, var(--accent, #b9e8ff) 28%, transparent),
    0 2px 0 #0b142180,
    0 0 28px color-mix(in srgb, var(--accent, #b9e8ff) 39%, transparent),
    0 14px 48px color-mix(in srgb, var(--accent, #b9e8ff) 35%, transparent);
}
body .lbeAppContent .liquidWorkspace .artistCard .artistTitle h3 {
  color: #f5f8ff;
}

/* Requested uppercase applies only inside the platform, not public profiles.
   Font integration remains separate pending the supplied Demo license. */
body .lbeAppContent :is(.liquidWorkspace, .activityPage, .catalogPage, .conferencePage, .accessAdminPage, .lbeAppearancePage) :is(h1, h2, h3),
body .lbeAppContent .liquidWorkspace .monthlyArtist,
body .lbeAppContent .musicArtistCarousel .musicArtistMeta strong,
body .lbeAppContent .dailyReportsDialog h2,
body:has(.workspace .editor) :is(.page-heading h1, .preview-heading h2),
body:has(.metrics #pageviews) :is(.heading h1, .chart-heading h2, .table-card h2, .method h2) {
  text-transform: uppercase;
}
