:root {
  --st-bg: #f9f5f2;
  --st-surface: #ffffff;
  --st-soft: #f3ebe5;
  --st-primary: #7aa2a9;
  --st-primary-dark: #5b858d;
  --st-text: #2f3a3d;
  --st-muted: #6a777b;
  --st-border: #e8dfd9;
}

body.studio-body,
body.studio-login-body {
  background: radial-gradient(circle at 10% 20%, #fef6ef 0%, #f7f1ed 40%, #f2ece7 100%);
  color: var(--st-text);
  min-height: 100vh;
}

.studio-nav {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--st-border);
  backdrop-filter: blur(8px);
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.studio-nav-logo {
  width: 100%;
  max-width: 95px;
  height: auto;
  opacity: 0.95;
}

.studio-user {
  color: var(--st-muted);
  font-size: 0.92rem;
}

.studio-btn,
.studio-btn-outline {
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

.studio-btn {
  background: var(--st-primary);
  border: 1px solid var(--st-primary);
  color: #fff;
}

.studio-btn:hover {
  background: var(--st-primary-dark);
  border-color: var(--st-primary-dark);
  color: #fff;
}

.studio-btn-outline {
  background: #fff;
  border: 1px solid var(--st-border);
  color: var(--st-text);
}

.studio-hero {
  background: linear-gradient(130deg, #fff8f3, #f4f7f7);
  border: 1px solid var(--st-border);
  border-radius: 18px;
}

.studio-card {
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(75, 86, 90, 0.05);
}

.studio-kpi {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
}

.studio-label {
  color: var(--st-muted);
}

.studio-login-card {
  border: 1px solid var(--st-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 35px rgba(90, 96, 102, 0.12);
}

.studio-login-logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 1.5rem;
  transform: translateX(8px);
}

.form-control {
  border-radius: 12px;
  border-color: var(--st-border);
}

.form-control:focus {
  border-color: var(--st-primary);
  box-shadow: 0 0 0 0.2rem rgba(122, 162, 169, 0.2);
}

.studio-week-grid {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x proximity;
}

.studio-week-grid::-webkit-scrollbar {
  height: 8px;
}

.studio-week-grid::-webkit-scrollbar-thumb {
  background: #d9d1ca;
  border-radius: 999px;
}

.studio-week-grid::-webkit-scrollbar-track {
  background: #f2ece7;
  border-radius: 999px;
}

.studio-week-grid .studio-day-col {
  min-width: 220px;
  flex: 0 0 220px;
  gap: 0.75rem;
  scroll-snap-align: start;
}

.studio-day-col {
  background: #fff;
  border: 1px solid var(--st-border);
  border-radius: 14px;
  min-height: 300px;
  overflow: hidden;
}

.studio-day-head {
  background: linear-gradient(180deg, #fff9f4, #fff);
  border-bottom: 1px solid var(--st-border);
  padding: 0.55rem 0.7rem;
}

.studio-day-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.studio-day-date {
  color: var(--st-muted);
  font-size: 0.82rem;
}

.studio-day-body {
  padding: 0.55rem;
}

.studio-empty {
  font-size: 0.86rem;
  color: var(--st-muted);
  padding: 0.3rem;
}

.studio-session-card {
  border: 1px solid var(--st-border);
  border-radius: 10px;
  padding: 0.55rem;
  margin-bottom: 0.55rem;
  background: #fff;
}

.studio-session-time {
  font-size: 0.82rem;
  color: var(--st-muted);
}

.studio-session-title {
  font-weight: 700;
  margin-top: 0.1rem;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.studio-session-meta {
  color: var(--st-muted);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.studio-attendance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.studio-session-card.status-attended {
  border-color: #9fd6b5;
  background: #f6fff9;
}

.studio-session-card.status-no_show {
  border-color: #f0c3c3;
  background: #fff9f9;
}

.studio-session-card.status-cancelled {
  border-color: #ddd;
  background: #fafafa;
}

@media (max-width: 768px) {
  .studio-week-grid .studio-day-col {
    min-width: 78vw;
    flex-basis: 78vw;
  }
}

.studio-help-hero {
  position: relative;
  overflow: hidden;
}

.studio-help-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(122, 162, 169, 0.22), rgba(122, 162, 169, 0));
  pointer-events: none;
}

.studio-help-eyebrow,
.studio-help-kicker {
  color: var(--st-primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.studio-help-search-note {
  color: var(--st-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.studio-help-index {
  display: grid;
  gap: 0.75rem;
}

.studio-help-index-group {
  border: 1px solid var(--st-border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.studio-help-group-toggle {
  width: 100%;
  border: 0;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, #fffaf6, #fff);
  color: var(--st-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  font-weight: 700;
  text-align: left;
}

.studio-help-group-toggle.is-open {
  border-bottom-color: var(--st-border);
}

.studio-help-group-count {
  background: var(--st-soft);
  border-radius: 999px;
  color: var(--st-muted);
  font-size: 0.8rem;
  padding: 0.15rem 0.55rem;
}

.studio-help-group-body {
  padding: 0.75rem;
  display: grid;
  gap: 0.75rem;
}

.studio-help-index-item {
  border: 1px solid var(--st-border);
  border-radius: 14px;
  padding: 0.9rem;
  background: #fffdfa;
}

.studio-help-index-link,
.studio-help-index-title {
  color: var(--st-text);
  font-weight: 700;
  text-decoration: none;
}

.studio-help-index-link:hover {
  color: var(--st-primary-dark);
}

.studio-help-index-link.is-active {
  color: var(--st-primary-dark);
  text-decoration: underline;
}

.studio-help-screen-link {
  color: var(--st-primary-dark);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.studio-help-screen-link:hover {
  color: var(--st-primary);
  text-decoration: underline;
}

.studio-help-status {
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}

.studio-help-status.is-ready {
  background: #ebf7f1;
  color: #2d7a53;
}

.studio-help-status.is-coming {
  background: #f6efe8;
  color: #8a6a4d;
}

.studio-help-article {
  padding: 1.5rem;
}

.studio-help-article[hidden] {
  display: none !important;
}

.studio-help-article-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.studio-help-role-note {
  color: var(--st-muted);
  font-size: 0.9rem;
}

.studio-help-article h1 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.studio-help-article h2 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.studio-help-article p,
.studio-help-article li {
  color: var(--st-text);
  line-height: 1.7;
}

.studio-help-article ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.studio-help-article a {
  color: var(--st-primary-dark);
}

.studio-help-article a:hover {
  color: var(--st-primary);
}

@media (max-width: 768px) {
  .studio-help-article {
    padding: 1.1rem;
  }

  .studio-help-article h1 {
    font-size: 1.6rem;
  }
}
