/* HTL Full Platform Demo — premium presentation layer.
   This file is scoped only to the member-facing Full Platform preview. */

#fullplatformdemo-page {
  --fp-accent: var(--pk, #e91e8c);
  --fp-accent-2: var(--pp2, #a855f7);
  --fp-ink: var(--tx, #1d1230);
  --fp-muted: var(--tx3, #766b86);
  --fp-line: color-mix(in srgb, var(--fp-accent) 18%, transparent);
  --fp-glass: color-mix(in srgb, var(--bg2) 82%, transparent);
  --fp-glass-strong: color-mix(in srgb, var(--bg2) 93%, transparent);
  --fp-shadow: 0 18px 55px rgba(26, 8, 56, .11);
  color: var(--fp-ink);
}

#fullplatformdemo-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--fp-accent) 15%, transparent), transparent 30%),
    radial-gradient(circle at 30% 90%, color-mix(in srgb, var(--fp-accent-2) 12%, transparent), transparent 34%),
    var(--bg);
}
#fullplatformdemo-page::before {
  content: "";
  position: fixed;
  inset: 65px 0 0 230px;
  pointer-events: none;
  opacity: .2;
  background-image: url('/trading-line-art.svg');
  background-size: cover;
  background-position: center;
  filter: var(--theme-art-filter, none);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

/* Header */
#fullplatformdemo-page > .admin-hdr {
  min-height: 72px;
  box-sizing: border-box;
  padding: 12px 28px;
  border-bottom: 1px solid var(--fp-line);
  background: color-mix(in srgb, var(--bg2) 82%, transparent);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  position: sticky;
  top: 0;
  z-index: 80;
  box-shadow: 0 8px 30px rgba(35, 16, 55, .06);
}
#fullplatformdemo-page .admin-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--tx);
}
#fullplatformdemo-page > .admin-hdr img {
  width: 42px !important;
  height: 42px !important;
  padding: 3px;
  border: 1px solid var(--fp-line);
  background: color-mix(in srgb, var(--bg2) 70%, transparent);
  box-shadow: 0 7px 24px color-mix(in srgb, var(--fp-accent) 20%, transparent);
}

/* Member workspace sidebar */
#fullplatformdemo-page .fpd-shell { min-height: calc(100vh - 72px); position: relative; z-index: 1; }
#fullplatformdemo-page #fpd-nav {
  width: 250px;
  padding: 20px 14px 28px;
  border-right: 1px solid var(--fp-line);
  background: color-mix(in srgb, var(--bg2) 78%, transparent);
  backdrop-filter: blur(26px) saturate(130%);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
  box-shadow: 16px 0 45px rgba(35, 16, 55, .04);
}
#fullplatformdemo-page #fpd-nav-toggle {
  width: 36px;
  height: 36px;
  margin: 0 0 20px 4px;
  border-radius: 12px;
  border-color: var(--fp-line);
  background: color-mix(in srgb, var(--bg3) 65%, transparent);
}
#fullplatformdemo-page .fpd-nav-item {
  min-height: 48px;
  margin: 4px 0;
  padding: 11px 12px;
  border-radius: 14px;
  color: var(--tx2);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 650;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
#fullplatformdemo-page .fpd-nav-item:hover {
  transform: translateX(3px);
  background: color-mix(in srgb, var(--bg3) 72%, transparent);
  border-color: var(--fp-line);
}
#fullplatformdemo-page .fpd-nav-item.fpd-active {
  color: var(--fp-accent);
  border-color: color-mix(in srgb, var(--fp-accent) 28%, transparent);
  background: linear-gradient(110deg, color-mix(in srgb, var(--fp-accent) 15%, transparent), color-mix(in srgb, var(--fp-accent-2) 8%, transparent));
  box-shadow: inset 3px 0 0 var(--fp-accent), 0 8px 24px color-mix(in srgb, var(--fp-accent) 9%, transparent);
}
#fullplatformdemo-page .fpd-nav-icon {
  width: 22px;
  height: 22px;
  color: color-mix(in srgb, var(--fp-accent) 72%, var(--tx2));
}
#fullplatformdemo-page .fpd-nav-icon svg { width: 22px; height: 22px; }
#fullplatformdemo-page.fpd-nav-collapsed #fpd-nav { width: 72px; }
#fullplatformdemo-page.fpd-nav-collapsed::before { left: 72px; }

/* Member page canvas and editorial page hero */
#fullplatformdemo-page #fpd-content {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  padding: 34px clamp(22px, 3.5vw, 58px) 80px;
  margin: 0 auto;
}
#fullplatformdemo-page .fpd-panel.fpd-panel-active { animation: fpRise .38s ease both; }
@keyframes fpRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

#fullplatformdemo-page .fpd-panel > .stitle {
  position: relative;
  min-height: 154px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 0 0 26px !important;
  padding: 30px 32px 28px !important;
  border: 1px solid color-mix(in srgb, var(--fp-accent) 22%, transparent) !important;
  border-radius: 24px;
  background:
    linear-gradient(105deg, rgba(9, 11, 28, .93) 0%, rgba(25, 16, 46, .82) 58%, color-mix(in srgb, var(--fp-accent) 42%, rgba(18, 10, 38, .82)) 145%),
    url('/htl-vault-workspace-hero-v51.png') center 58% / cover;
  color: #fff !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(36px, 5vw, 58px) !important;
  line-height: .95 !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
  box-shadow: 0 28px 80px rgba(20, 8, 42, .22), inset 0 1px rgba(255,255,255,.16);
}
#fullplatformdemo-page .fpd-panel > .stitle::before {
  content: "HTL  /  MEMBER EXPERIENCE";
  position: absolute;
  top: 26px;
  left: 32px;
  color: color-mix(in srgb, var(--fp-accent) 65%, white);
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .18em;
}
#fullplatformdemo-page .fpd-panel > .stitle::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -95px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 80px color-mix(in srgb, var(--fp-accent) 35%, transparent), inset 0 0 80px color-mix(in srgb, var(--fp-accent-2) 17%, transparent);
}

/* Turn Claude's inline utility boxes into a coherent glass component system. */
#fullplatformdemo-page .fpd-coming-soon,
#fullplatformdemo-page .fpd-panel div[style*="background:var(--bg2)"],
#fullplatformdemo-page .fpd-panel button[style*="background:var(--bg2)"] {
  border-color: var(--fp-line) !important;
  border-radius: 18px !important;
  background: var(--fp-glass) !important;
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  box-shadow: var(--fp-shadow), inset 0 1px rgba(255,255,255,.13);
}
#fullplatformdemo-page .fpd-panel button[style*="background:var(--bg2)"] {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
#fullplatformdemo-page .fpd-panel button[style*="background:var(--bg2)"]:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--fp-accent) 44%, transparent) !important;
  box-shadow: 0 22px 54px color-mix(in srgb, var(--fp-accent) 14%, rgba(26,8,56,.12));
}
#fullplatformdemo-page .fpd-panel .mi,
#fullplatformdemo-page .fpd-panel textarea,
#fullplatformdemo-page .fpd-panel select {
  min-height: 44px;
  border: 1px solid color-mix(in srgb, var(--tx3) 22%, transparent) !important;
  border-radius: 13px !important;
  color: var(--tx) !important;
  background: color-mix(in srgb, var(--bg2) 76%, transparent) !important;
  box-shadow: inset 0 1px 5px rgba(24, 8, 44, .05);
}
#fullplatformdemo-page .fpd-panel .mi:focus,
#fullplatformdemo-page .fpd-panel textarea:focus,
#fullplatformdemo-page .fpd-panel select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--fp-accent) 56%, transparent) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fp-accent) 10%, transparent);
}
#fullplatformdemo-page .fpd-panel .btn-p,
#fullplatformdemo-page .fpd-panel .tbtn {
  min-height: 40px;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}
#fullplatformdemo-page .fpd-panel .btn-p {
  border: 0;
  background: linear-gradient(120deg, var(--fp-accent), var(--fp-accent-2));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--fp-accent) 25%, transparent);
}
#fullplatformdemo-page .empty { padding: 54px 24px; color: var(--tx3); }

/* Specific dense application surfaces */
#fpd-panel-education > div[style*="display:flex;gap:20px"],
#fpd-panel-live > div[style*="display:flex"],
#fpd-panel-chat > div[style*="display:flex"] { gap: 22px !important; }
#fpd-panel-education #fpd-lesson-pane,
#fpd-panel-chat #fpd-chat-messages-list,
#fpd-panel-live #fpd-live-comments-list {
  min-height: 360px;
  border-radius: 18px;
}
#fpd-panel-community img { box-shadow: 0 10px 30px rgba(18, 8, 36, .18); }
#fpd-panel-events #fpd-events-body > div[style*="display:grid;grid-template-columns:repeat(7"] {
  gap: 7px !important;
}
#fpd-panel-events #fpd-events-body button,
#fpd-panel-events #fpd-events-body > div[style*="min-height"] {
  border-radius: 12px !important;
}

/* The real Admin workspace is owned exclusively by styles.css + admin-v97.css.
   This stylesheet belongs only to the member-facing Full Platform preview. */

/* Chat layouts remain usable at smaller widths. */
@media (max-width: 980px) {
}
@media (max-width: 820px) {
  #fullplatformdemo-page > .admin-hdr { position: relative; align-items: flex-start; gap: 12px; }
  #fullplatformdemo-page > .admin-hdr > div:last-child { flex-wrap: wrap; justify-content: flex-end; }
  #fullplatformdemo-page::before { inset: 140px 0 0; }
  #fullplatformdemo-page #fpd-nav { width: 100%; padding: 8px; }
  #fullplatformdemo-page #fpd-content { padding: 18px 14px 60px; }
  #fullplatformdemo-page .fpd-panel > .stitle { min-height: 132px; padding: 26px 22px 22px !important; border-radius: 20px; }
  #fullplatformdemo-page .fpd-panel > .stitle::before { left: 22px; top: 22px; }
}
@media (max-width: 600px) {
  #fullplatformdemo-page > .admin-hdr { padding: 10px 14px; }
  #fullplatformdemo-page .fpd-nav-item { min-width: 82px; }
}
