body[data-view="app"] {
  --studio-bg: #eeedf2;
  --studio-paper: #fcfbfd;
  --studio-soft: #eae6f1;
  --studio-line: #dcd6e4;
  --studio-ink: #232033;
  --studio-muted: #625c71;
  --studio-brand: #963450;
  --surface-lift: inset 0 1px 0 #fff, 0 1px 2px #261b3210, 0 9px 24px #271d3511;
  --surface-edge: #ece8f0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: -.01em;
}
html[data-theme="dark"] body[data-view="app"] {
  --surface-lift: inset 0 1px 0 #ffffff12, 0 1px 2px #0003, 0 10px 24px #0003;
  --surface-edge: #27263a;
}
#webApp :is(button, input, select, textarea) { font-family: inherit; }
#webApp :is(h1, h2, h3) { text-wrap: balance; letter-spacing: -.037em; line-height: 1.13; }
#webApp .app-header h1 { font-size: clamp(1.42rem, 3vw, 2rem); font-weight: 760; }
#webApp #appEyebrow { display: none; }
html[data-theme] #webApp {
  background: linear-gradient(155deg, var(--studio-paper), transparent 40%), var(--studio-bg);
}
html[data-theme] #webApp :is(.app-header, .app-sidebar) { background: var(--studio-paper); }
html[data-theme] #webApp .app-nav button.active {
  background: linear-gradient(var(--studio-paper), var(--studio-soft));
  box-shadow: inset 0 0 0 1px var(--studio-line), 0 2px 4px #291e3112;
}
#webApp :is(.profile-preview, .workspace-card, .match-card, .native-messages, .sprint-deck-card, .campus-map-panel, .studio-action-card, .settings-card) {
  box-shadow: var(--surface-lift);
}
#webApp :is(.studio-action-card, .studio-plan-card) {
  background: linear-gradient(155deg, var(--studio-paper) 55%, var(--surface-edge));
}
#webApp :is(.studio-action-icon, .header-membership) {
  box-shadow: inset 0 1px 0 var(--studio-paper), 0 2px 3px #241b3116;
}
#webApp .discover-card-stage { padding-bottom: 8px; }
#webApp .web-person-card {
  box-shadow: 0 2px 2px #1a13223d, 0 6px 0 -2px var(--surface-edge), 0 8px 0 -3px var(--studio-line), 0 18px 36px #1c162e24;
}
#webApp :is(.button-primary, .section-row .button-primary) {
  background: linear-gradient(#a63d59, #8a2949);
  box-shadow: inset 0 1px 0 #ffffff32, 0 2px 0 #682039, 0 5px 12px #64244029;
}
#webApp .button-primary:active { box-shadow: inset 0 2px 5px #42152652; }
#webApp .studio-action-card .studio-action-icon { font-weight: 700; }
#webApp .studio-action-card p { line-height: 1.55; }
#webApp .discover-search { margin-bottom: 16px; }
#webApp .discover-search input { box-shadow: inset 0 1px 3px #30203d13; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #webApp .studio-action-card { transition: translate .18s ease, box-shadow .18s ease; }
  #webApp .studio-action-card:hover { translate: 0 -2px; box-shadow: var(--surface-lift), 0 13px 26px #20182d1b; }
}
@media (max-width: 700px) {
  #webApp .app-header h1 { font-size: clamp(1.2rem, 5vw, 1.55rem); }
  #webApp .app-nav button.active { border-radius: 12px; }
}
