.tl-studio, .tl-studio-gate { max-width: 1080px; margin: 8px auto 48px; font-family: Outfit, "Segoe UI", sans-serif; }
.tl-studio-gate, .tl-studio-form, .tl-studio-card, .tl-studio-row, .tl-studio-empty {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(8, 19, 81, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(8, 19, 81, 0.05);
}
.tl-studio-gate { max-width: 460px; padding: 28px; }
.tl-studio-gate h2, .tl-studio-head h2 { margin: 0 0 8px; color: #081351; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.05; }
.tl-studio-gate p, .tl-studio-head p, .tl-studio-help { color: #5c7082; }
.tl-studio-gate .login-username, .tl-studio-gate .login-password, .tl-studio-gate .login-remember { display: grid; gap: 6px; margin: 0 0 12px; }
.tl-studio-gate .button-primary, .tl-studio-gate #wp-submit {
  min-height: 48px; border: 0; border-radius: 999px; background: #081351; color: #fff; padding: 0 18px; font-weight: 700; cursor: pointer;
}
.tl-studio-note { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #f3eefb; color: #081351; }
.tl-studio-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.tl-studio-nav a { min-height: 40px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; background: #fff; border: 1px solid rgba(8, 19, 81, 0.12); color: #1c1848; font-weight: 650; }
.tl-studio-nav a.is-on { background: #081351; color: #fff; border-color: #081351; }
.tl-studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tl-studio-card { display: grid; gap: 6px; padding: 20px; color: #1c1848; }
.tl-studio-card span { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #5c7082; font-weight: 700; }
.tl-studio-card strong { font-size: 32px; color: #081351; line-height: 1; }
.tl-studio-card p { margin: 0; color: #5c7082; }
.tl-studio-toolbar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tl-studio-toolbar form { display: flex; gap: 8px; flex: 1; }
.tl-studio-toolbar input, .tl-studio-form input, .tl-studio-form textarea, .tl-studio-form select, .tl-studio-row select {
  width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid #d3dee6; padding: 10px 12px; background: #fff; color: #1c1848;
}
.tl-studio-list { display: grid; gap: 10px; }
.tl-studio-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px; }
.tl-studio-row h3 { margin: 4px 0; color: #081351; font-size: 20px; }
.tl-studio-row p { margin: 0; color: #5c7082; }
.tl-studio-row form { display: flex; gap: 8px; align-items: center; }
.tl-studio-row-actions { display: flex; gap: 8px; align-items: center; }
.tl-studio-thumb img, .tl-studio-current img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.tl-studio-form { display: grid; gap: 12px; padding: 20px; margin-bottom: 18px; }
.tl-studio-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #1c1848; }
.tl-studio-form-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tl-studio-empty { padding: 28px; }
.tl-studio-empty h3 { margin: 0 0 6px; color: #081351; }
.tl-studio-pics, .tl-studio-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tl-studio-pics figure, .tl-studio-slots label { margin: 0; padding: 10px; border-radius: 16px; background: #f3f6f8; }
.tl-studio-pics img, .tl-studio-slots img { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; }
.tl-studio-pics figcaption { margin-top: 8px; font-size: 13px; color: #3d5568; }
.tl-studio-pics button { margin-top: 8px; border: 0; background: transparent; color: #7754c1; font-weight: 700; cursor: pointer; }
.tl-studio-pager { display: flex; gap: 16px; margin-top: 16px; }
.tl-studio-pager a { color: #7754c1; font-weight: 700; }
@media (max-width: 800px) {
  .tl-studio-grid, .tl-studio-pics, .tl-studio-slots { grid-template-columns: 1fr; }
  .tl-studio-toolbar, .tl-studio-row, .tl-studio-row form, .tl-studio-row-actions { flex-direction: column; align-items: stretch; }
}
