/* Aparath Studio — giriş portalı (erktas.net/portal referans) */

html:has(body.studio-page),
body.studio-page {
  background: #2b2b2b;
  --bg-primary: #2b2b2b;
  color: #fff;
}

.studio-page {
  background: #2b2b2b;
  color: #fff;
}

.studio-page .page-content {
  padding-top: 0;
  min-height: auto;
}

.studio-main {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: transparent;
}

.studio-bg-media {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #2b2b2b;
}

.studio-bg-video {
  display: none !important;
}

.studio-bg-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.studio-split,
.studio-select-view {
  position: relative;
  z-index: 2;
}

.studio-split {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 900px) {
  .studio-split { flex-direction: row; }
}

.studio-brand {
  color: #fff;
  padding: 2rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .studio-brand { padding: 3rem 2rem 4rem; }
}

@media (min-width: 900px) {
  .studio-brand { flex: 1; padding: 4rem; }
}

.studio-brand-inner {
  max-width: 420px;
}

.studio-logo {
  display: inline-block;
  margin-bottom: 0;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .studio-logo {
    display: none;
  }
}

.studio-logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .studio-logo img { height: 96px; width: 96px; }
}

@media (min-width: 900px) {
  .studio-logo img { height: 140px; width: 140px; }
}

.studio-brand h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0;
}

.studio-title-desktop {
  display: none;
}

.studio-title-desktop .btn-brand {
  font-weight: 800;
}

.studio-brand-desc {
  display: none;
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .studio-title-desktop,
  .studio-brand-desc {
    display: block;
  }
}

@media (max-width: 767px) {
  .studio-brand {
    display: none;
  }
}

.studio-form-section {
  padding: 1.25rem 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .studio-form-section { padding: 3rem 1.5rem 4rem; }
}

@media (min-width: 900px) {
  .studio-form-section { flex: 1; padding: 4rem; }
}

.studio-form-stack {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.studio-login-launch .studio-select-footer {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
}

.studio-login-launch .studio-select-launch {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1rem;
  border: none;
  border-radius: var(--studio-login-surface-radius, 18px);
  box-sizing: border-box;
}

.studio-login-panel-brand {
  margin: 0 0 1.25rem;
  font-family: inherit;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  text-align: left;
}

.studio-login-panel-brand .btn-brand {
  font-weight: 800;
}

[data-studio-brand-home] {
  cursor: default;
  text-decoration: none;
}

[data-studio-brand-home]:hover,
[data-studio-brand-home]:active,
[data-studio-brand-home]:focus {
  text-decoration: none;
  outline: none;
}

.studio-brand-tm {
  font-size: 0.5em;
  font-weight: 600;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.06em;
  letter-spacing: 0;
}

.studio-form-title,
.studio-form-desc {
  display: none;
}

.studio-form-title {
  font-size: 1.75rem;
  font-weight: 400;
  color: #fff;
  text-align: left;
  padding-left: 1.75rem;
  margin: 0 0 0.75rem;
}

.studio-form-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  text-align: left;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  margin: 0 0 1.25rem;
}

.studio-copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  margin-top: 1rem;
}

.studio-copyright-text,
.studio-copyright-disclaimer,
.studio-copyright-links {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.studio-copyright-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.studio-copyright-links a {
  color: inherit;
  text-decoration: none;
}

.studio-copyright-links a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.studio-copyright-sep {
  color: inherit;
  user-select: none;
}

.studio-login-group {
  --studio-login-input-row-h: 3.25rem;
  --studio-login-launch-row-h: 3.75rem;
  --studio-login-surface-radius: 18px;
  --studio-login-step-ease: cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.studio-login-group:has(.studio-login-launch.is-login-step-visible) {
  gap: 1rem;
}

.studio-login-panel {
  width: 100%;
  max-width: 100%;
  background: var(--accent);
  border-radius: var(--studio-login-surface-radius, 18px);
  padding: 2rem 1.75rem;
  box-shadow: none;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
}

.studio-form-inner {
  width: 100%;
}

.studio-form-title .btn-brand {
  font-weight: 800;
}

.studio-form .studio-field {
  margin-bottom: 0;
}

.studio-field--password {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
  transition:
    max-height 0.38s var(--studio-login-step-ease, cubic-bezier(0.4, 0, 0.2, 1)),
    opacity 0.28s ease,
    margin-top 0.32s ease;
}

.studio-field--password.is-login-step-visible {
  max-height: var(--studio-login-input-row-h, 3.25rem);
  opacity: 1;
  margin-top: 1rem;
  pointer-events: auto;
}

.studio-login-launch {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    max-height 0.38s var(--studio-login-step-ease, cubic-bezier(0.4, 0, 0.2, 1)),
    opacity 0.28s ease;
}

.studio-login-launch.is-login-step-visible {
  max-height: var(--studio-login-launch-row-h, 3.75rem);
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .studio-field--password,
  .studio-login-launch,
  .studio-login-group:has(.studio-login-launch.is-login-step-visible) {
    transition: none;
  }
}

.studio-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.375rem;
}

.studio-field--email input,
.studio-form input[type="email"],
.studio-form input[type="text"],
.studio-form input[type="password"] {
  scroll-margin-block: 1rem 1.5rem;
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: inherit;
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.studio-form input::placeholder {
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.35;
}

.studio-form input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
}

.studio-form input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
}

.studio-form input:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
}

.studio-form input:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.studio-form input:-webkit-autofill,
.studio-form input:-webkit-autofill:hover,
.studio-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 9999s ease-out 0s;
  -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.12) inset;
}

.studio-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.studio-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.studio-remember input { width: auto; }

.studio-form-options a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
}

.studio-form-options a:hover { color: #fff; }

.studio-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  background: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
}

.studio-btn:hover {
  background: #fff;
}

/* —— Oturum kontrolü (beni hatırla / sayfa yenileme) —— */

.studio-auth-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.8);
}

body.studio-auth-pending .studio-auth-gate {
  display: flex;
}

body.studio-auth-pending .studio-split {
  visibility: hidden;
}

.studio-auth-gate-spinner {
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: studio-auth-spin 0.75s linear infinite;
}

.studio-auth-gate-text {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes studio-auth-spin {
  to {
    transform: rotate(360deg);
  }
}

/* —— Giriş sonrası seçim ekranı (login panel stillerine dokunulmaz) —— */

body.studio-is-authenticated .studio-split {
  display: none;
}

body.studio-is-authenticated .studio-auth-gate {
  display: none;
}

.studio-select-view {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem 1.25rem 2.5rem;
}

body.studio-is-authenticated .studio-select-view {
  --studio-select-column-width: min(420px, calc(100% - 2rem));
  --studio-mobile-section-gap: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100dvh;
  padding: max(0.75rem, env(safe-area-inset-top, 0px)) 1rem 1.5rem;
}

body.studio-is-authenticated .studio-mobile-header,
body.studio-is-authenticated .studio-mobile-intro,
body.studio-is-authenticated .studio-select-inner {
  width: 100%;
  max-width: var(--studio-select-column-width);
  margin-inline: auto;
}

body.studio-is-authenticated .studio-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  margin-bottom: var(--studio-mobile-section-gap, 3.5rem);
  background: transparent;
  border: none;
}

body.studio-is-authenticated .studio-mobile-header-brand {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-family: inherit;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #fff;
    text-align: left;
  }

  body.studio-is-authenticated .studio-mobile-header-brand .btn-brand {
    font-weight: 800;
  }

  body.studio-is-authenticated .studio-mobile-header-end {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
  }

  body.studio-is-authenticated .studio-mobile-header-home,
  body.studio-is-authenticated .studio-mobile-header-notify,
  body.studio-is-authenticated .studio-mobile-header-settings {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
    line-height: 0;
  }

  body.studio-is-authenticated .studio-mobile-header-home svg,
  body.studio-is-authenticated .studio-mobile-header-notify svg,
  body.studio-is-authenticated .studio-mobile-header-settings svg {
    display: block;
    width: 1.375rem;
    height: 1.375rem;
  }

  body.studio-is-authenticated .studio-mobile-header-notify {
    position: relative;
  }

  body.studio-is-authenticated .studio-mobile-header-notify-badge {
    position: absolute;
    top: -0.0625rem;
    right: -0.0625rem;
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 50%;
    background: #ff3b30;
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.28);
    pointer-events: none;
  }

  body.studio-is-authenticated .studio-mobile-header-notify-badge[hidden] {
    display: none !important;
  }

  body.studio-is-authenticated .studio-mobile-header-notify:disabled {
    opacity: 1;
    cursor: default;
  }

  body.studio-is-authenticated .studio-mobile-header-home:hover,
  body.studio-is-authenticated .studio-mobile-header-notify:not(:disabled):hover,
  body.studio-is-authenticated .studio-mobile-header-settings:hover {
    opacity: 0.72;
  }

  body.studio-is-authenticated .studio-mobile-header-home[hidden] {
    display: none !important;
  }

body.studio-is-authenticated .studio-mobile-header-settings-wrap,
body.studio-is-authenticated .studio-mobile-header-notify-wrap {
  position: relative;
}

body.studio-settings-menu-open .studio-mobile-header-settings-wrap,
body.studio-notify-menu-open .studio-mobile-header-notify-wrap {
  position: relative;
  z-index: 220;
}

.studio-settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  margin: 0;
  padding: 0;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: default;
  appearance: none;
  transition:
    opacity 0.5s ease,
    background-color 0.5s ease,
    backdrop-filter 0.5s ease,
    -webkit-backdrop-filter 0.5s ease,
    visibility 0s linear 0.5s;
}

body.studio-settings-menu-open .studio-settings-backdrop,
body.studio-notify-menu-open .studio-settings-backdrop {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
  transition:
    opacity 0.5s ease,
    background-color 0.5s ease,
    backdrop-filter 0.5s ease,
    -webkit-backdrop-filter 0.5s ease,
    visibility 0s linear 0s;
}

.studio-settings-backdrop[hidden] {
  display: none !important;
}

.studio-settings-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 230;
  width: max-content;
  max-width: calc(100vw - 2rem);
  margin: 0;
  padding: 0.375rem;
  background: #fff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.4s ease 0.1s,
    transform 0.4s ease 0.1s;
}

body.studio-settings-menu-open .studio-settings-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.studio-settings-menu[hidden] {
  display: none !important;
}

.studio-notify-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 230;
  width: min(280px, calc(100vw - 2rem));
  margin: 0;
  padding: 0.375rem;
  background: #fff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.4s ease 0.1s,
    transform 0.4s ease 0.1s;
}

body.studio-notify-menu-open .studio-notify-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.studio-notify-menu[hidden] {
  display: none !important;
}

.studio-notify-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.studio-notify-menu-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #1d1d1f;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
  cursor: pointer;
}

.studio-notify-menu-item-dot {
  flex-shrink: 0;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.92);
}

.studio-notify-menu-item-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-notify-menu-item:hover {
  background: rgba(8, 102, 255, 0.08);
}

.studio-notify-menu-empty {
  margin: 0;
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  color: rgba(29, 29, 31, 0.55);
  text-align: right;
}

.studio-notify-menu-footer {
  display: block;
  width: 100%;
  margin: 0.125rem 0 0;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(29, 29, 31, 0.62);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: right;
  cursor: pointer;
}

.studio-notify-menu-footer:hover {
  background: rgba(8, 102, 255, 0.06);
  color: var(--accent, #0866ff);
}

.studio-notify-menu-footer + .studio-notify-menu-footer {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .studio-settings-backdrop,
  .studio-settings-menu,
  .studio-notify-menu {
    transition: none;
  }
}

.studio-settings-menu-divider {
  height: 1px;
  margin: 0.375rem 0.625rem;
  background: rgba(0, 0, 0, 0.1);
}

.studio-settings-menu-item[hidden] {
  display: none !important;
}

.studio-settings-menu-item {
  display: block;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0.6875rem 0.875rem;
  white-space: nowrap;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text-primary, #1a1a1f);
  text-align: right;
  cursor: pointer;
  transition: background 0.15s;
  box-sizing: border-box;
}

.studio-settings-menu-item--link {
  text-decoration: none;
}

.studio-settings-menu-item--link .btn-brand {
  font-weight: 800;
}

.studio-settings-menu-item:hover {
  background: rgba(0, 0, 0, 0.06);
}

.studio-settings-menu-item.is-active {
  background: rgba(0, 0, 0, 0.08);
}

.studio-settings-menu-item--restart {
  color: #1f9d55;
}

.studio-settings-menu-item--restart:hover {
  background: rgba(31, 157, 85, 0.1);
}

.studio-settings-menu-item--sign-out {
  color: #e54d4d;
}

.studio-settings-menu-item--sign-out:hover {
  background: rgba(229, 77, 77, 0.1);
}

  body.studio-is-authenticated .studio-mobile-intro {
    display: block;
    margin: 0 0 var(--studio-mobile-section-gap, 3.5rem);
    padding: 0;
  }

  body.studio-is-authenticated .studio-mobile-greeting {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #fff;
    text-align: left;
  }

  body.studio-is-authenticated .studio-mobile-greeting-name {
    font-weight: inherit;
    color: inherit;
  }

body.studio-is-authenticated .studio-mobile-notify-hint {
  margin: 0.5rem 0 0;
  padding: 0;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

body.studio-is-authenticated .studio-mobile-notify-hint--interactive {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
}

body.studio-is-authenticated .studio-mobile-notify-hint--interactive:hover,
body.studio-is-authenticated .studio-mobile-notify-hint--interactive:focus-visible {
  color: #fff;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

body.studio-is-authenticated .studio-mobile-push-prompt {
  margin: 0.625rem 0 0;
  padding: 0;
}

body.studio-is-authenticated .studio-mobile-push-prompt-btn {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.5625rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

body.studio-is-authenticated .studio-mobile-push-prompt-btn:hover:not(:disabled),
body.studio-is-authenticated .studio-mobile-push-prompt-btn:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

body.studio-is-authenticated .studio-mobile-push-prompt-btn:disabled {
  opacity: 0.65;
  cursor: default;
}

body:not(.studio-is-authenticated):not(.studio-auth-pending) .studio-split {
  flex-direction: column;
  min-height: 100dvh;
}

body:not(.studio-is-authenticated):not(.studio-auth-pending) .studio-brand {
  display: none !important;
}

body:not(.studio-is-authenticated):not(.studio-auth-pending) .studio-form-section {
  --studio-select-column-width: min(420px, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: max(0.75rem, env(safe-area-inset-top, 0px)) 1rem max(0.75rem, env(safe-area-inset-bottom, 0px));
}

@media (max-width: 899px) {
  body:not(.studio-is-authenticated):not(.studio-auth-pending) .studio-form-section {
    justify-content: flex-start;
    padding-top: clamp(2.5rem, 16vh, 5.5rem);
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  body.studio-login-keyboard-open:not(.studio-is-authenticated):not(.studio-auth-pending) .studio-form-section {
    padding-bottom: calc(
      max(1.25rem, env(safe-area-inset-bottom, 0px)) + var(--studio-login-keyboard-inset, 0px)
    );
  }
}

body:not(.studio-is-authenticated):not(.studio-auth-pending) .studio-login-inner,
body:not(.studio-is-authenticated):not(.studio-auth-pending) .studio-form-stack {
  width: 100%;
  max-width: var(--studio-select-column-width);
  margin-inline: auto;
}

body:not(.studio-is-authenticated):not(.studio-auth-pending) .studio-login-panel {
  width: 100%;
  max-width: 100%;
}

body:not(.studio-is-authenticated):not(.studio-auth-pending) .studio-copyright {
  margin-top: 0;
}

.studio-select-view[hidden] {
  display: none !important;
}

.studio-select-view {
  --studio-block-width: min(280px, 100%);
}

.studio-select-inner {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

.studio-select-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  justify-items: stretch;
}

@media (min-width: 900px) {
  .studio-select-inner {
    width: fit-content;
    max-width: calc(100% - 2.5rem);
    margin-inline: auto;
  }

  .studio-select-inner:has(.studio-select-stage--subpanel) {
    width: var(--studio-block-width);
  }

  .studio-select-stage {
    grid-template-columns: repeat(2, var(--studio-block-width));
    gap: 1rem;
    justify-content: center;
  }

  .studio-select-stage--subpanel {
    grid-template-columns: var(--studio-block-width);
    width: var(--studio-block-width);
    max-width: 100%;
    margin-inline: auto;
  }
}

@media (min-width: 1200px) {
  .studio-select-stage:not(.studio-select-stage--subpanel) {
    grid-auto-flow: column;
    grid-auto-columns: var(--studio-block-width);
    grid-template-columns: none;
  }
}

body.studio-is-authenticated .studio-select-inner,
body.studio-is-authenticated .studio-select-inner:has(.studio-select-stage--subpanel) {
  width: 100%;
  max-width: var(--studio-select-column-width, min(420px, calc(100% - 2rem)));
}

body.studio-is-authenticated .studio-select-stage,
body.studio-is-authenticated .studio-select-stage--subpanel,
body.studio-is-authenticated .studio-select-stage:not(.studio-select-stage--subpanel) {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  grid-auto-columns: unset;
  width: 100%;
  max-width: 100%;
  justify-content: stretch;
  justify-items: stretch;
}

body.studio-is-authenticated .studio-select-block--launch {
  min-height: 0;
  max-height: none;
}

body.studio-is-authenticated .studio-select-block--launch .studio-select-footer {
  flex: 0 0 auto;
  min-height: 0;
  display: block;
  padding-top: 0;
}

body.studio-is-authenticated .studio-select-block--launch .studio-select-launch {
  flex: none;
  width: 100%;
  min-height: 0;
}

.studio-select-panel {
  flex: 1;
  min-height: 0;
  max-height: min(360px, calc(100dvh - 10rem));
  border-radius: 18px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.studio-select-panel:not(.studio-select-panel--profile)::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Profil — mavi (iç scroll yok) */
.studio-select-panel--profile {
  background: var(--accent);
  border: none;
  border-radius: 18px;
  padding: 1.25rem 1rem;
  max-height: none;
  overflow: visible;
}

.studio-select-block:has(.studio-select-panel--profile) {
  max-height: none;
  min-height: 0;
}

.studio-profile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  text-align: left;
  height: auto;
}

.studio-profile-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.studio-profile-summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.studio-profile-summary-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  word-break: break-word;
}

.studio-profile-summary-email {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  word-break: break-word;
}

.studio-profile-hub-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.studio-profile-hub-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  box-sizing: border-box;
}

.studio-profile-hub-btn-icon {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.studio-profile-hub-btn-icon svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.studio-profile-hub-btn-label {
  min-width: 0;
}

.studio-profile-hub-actions .studio-profile-hub-btn {
  min-height: calc(2.75rem + 1.75rem);
  padding: 0.875rem;
  border-radius: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.studio-profile-hub-actions .studio-profile-hub-btn.is-active {
  background: #fff;
  border-color: #fff;
  color: var(--text-primary);
  box-shadow: none;
}

.studio-profile-hub-actions .studio-profile-hub-btn.is-active:hover {
  background: #fff;
  border-color: #fff;
}

@media (max-width: 767px) {
  .studio-profile-hub-actions {
    flex-direction: row;
    gap: 0.375rem;
  }

  .studio-profile-hub-actions .studio-profile-hub-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 3rem;
    padding: 0.625rem 0.35rem;
    justify-content: center;
  }

  .studio-profile-hub-btn-icon {
    display: flex;
  }

  .studio-profile-hub-btn-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.studio-profile-photo-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.studio-profile-photo-edit {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  cursor: pointer;
  transition: background 0.2s;
}

.studio-profile-photo-edit svg {
  width: 1.5rem;
  height: 1.5rem;
}

.studio-profile-photo-edit:hover {
  background: rgba(0, 0, 0, 0.58);
}

.studio-profile.is-editing .studio-profile-photo-edit {
  display: flex;
}

.studio-profile-photo,
.studio-profile-initials {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-sizing: border-box;
}

.studio-profile-photo[hidden],
.studio-profile-initials[hidden] {
  display: none !important;
}

.studio-profile-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  background: #fff;
  letter-spacing: -0.02em;
}

.studio-profile-photo:not([hidden]) {
  display: block;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.studio-profile-fields {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.studio-profile-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  min-width: 0;
}

.studio-profile-fields-row .studio-profile-field {
  min-width: 0;
  padding: 0.5rem;
  font-size: 0.75rem;
  gap: 0.5rem;
}

.studio-profile-fields-row .studio-profile-field span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-profile-field--name {
  font-weight: 600;
}

.studio-profile-field.is-editable {
  outline: 1px solid rgba(255, 255, 255, 0.28);
  outline-offset: 0;
}

.studio-profile.is-editing .studio-profile-field--readonly {
  opacity: 0.72;
}

.studio-profile-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  outline: none;
}

.studio-profile-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.studio-profile-action.is-save {
  background: rgba(255, 255, 255, 0.2);
}

.studio-profile-action.is-save:hover {
  background: rgba(255, 255, 255, 0.28);
}

.studio-profile-action.is-close {
  background: rgba(255, 255, 255, 0.2);
}

.studio-profile-action.is-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.studio-select-block--products[hidden] {
  display: none;
}

.studio-select-block--profile-edit[hidden],
.studio-select-block--my-companies[hidden],
.studio-select-block--company-select[hidden],
.studio-select-block--launch[hidden] {
  display: none;
}

.studio-company-select-hint {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.studio-company-select-create {
  display: block;
  width: 100%;
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  cursor: pointer;
}

.studio-company-select-create[hidden] {
  display: none !important;
}

.studio-company-select-create:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
}

.studio-select-block--team[hidden] {
  display: none !important;
}

/* Ekip — mavi (profil / lisans / şirketlerim ile aynı) */
.studio-select-panel--team {
  background: var(--accent);
  border: none;
  border-radius: 18px;
  padding: 1rem;
  max-height: min(520px, calc(100dvh - 8rem));
}

.studio-team-toolbar {
  margin-bottom: 1rem;
}

.studio-team-org-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.studio-team-org-select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.8125rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
}

.studio-team-section-title {
  margin: 1rem 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.studio-team-panel-card {
  padding: 0.875rem;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid transparent;
  box-sizing: border-box;
}

.studio-team-hint {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.studio-team-invite-form {
  box-sizing: border-box;
}

.studio-team-invite-form .studio-team-section-title:first-child {
  margin-top: 0;
}

.studio-team-invite-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.studio-team-invite-form .studio-company-form-btn {
  width: 100%;
  flex: none;
}

.studio-team-invite-email,
.studio-team-invite-role {
  width: 100%;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.8125rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
}

.studio-team-invite-result {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-all;
}

.studio-team-member-list,
.studio-team-pending-list,
.studio-team-my-invites-list {
  gap: 0.5rem;
}

.studio-team-member-item,
.studio-team-pending-item,
.studio-team-my-invite-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.studio-team-member-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.studio-team-member-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.studio-team-member-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.studio-team-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.studio-team-action-btn {
  padding: 0.35rem 0.55rem;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  cursor: pointer;
}

.studio-team-action-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.studio-team-action-btn--danger:hover {
  border-color: rgba(255, 120, 120, 0.8);
}

.studio-team-reparent-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
}

.studio-team-reparent-modal[hidden] {
  display: none !important;
}

.studio-team-reparent-dialog {
  width: min(100%, 28rem);
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(18, 24, 38, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.studio-team-reparent-title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.studio-team-reparent-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.studio-team-reparent-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.studio-team-reparent-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.studio-team-reparent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.studio-select-panel--notifications {
  background: var(--accent);
  border: none;
  border-radius: 18px;
  padding: 1rem;
  box-sizing: border-box;
}

.studio-notify-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.studio-notify-form-scroll {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.studio-notify-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.studio-notify-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.studio-notify-field-label,
.studio-notify-form-field > label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.studio-notify-recipients-toggle {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
}

.studio-notify-recipients-toggle:hover {
  background: rgba(0, 0, 0, 0.18);
}

.studio-notify-recipients-panel {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
}

.studio-notify-recipient-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.studio-notify-preset-btn {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

.studio-notify-preset-btn:hover,
.studio-notify-preset-btn.is-active {
  background: rgba(255, 255, 255, 0.2);
}

.studio-notify-members-title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.studio-notify-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 180px;
  overflow-y: auto;
}

.studio-notify-member-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  font-size: 0.875rem;
}

.studio-notify-member-item input {
  flex-shrink: 0;
}

.studio-notify-form-field input[type='text'],
.studio-notify-form-field input[type='date'],
.studio-notify-form-field input[type='file'],
.studio-notify-form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  box-sizing: border-box;
}

.studio-notify-form-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.studio-notify-char-count,
.studio-notify-file-name {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.studio-notify-result {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.92);
}

.studio-notify-list {
  gap: 0.5rem;
}

.studio-notify-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.studio-notify-card-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.studio-notify-card-meta {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.studio-notify-card-body {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  white-space: pre-wrap;
}

.studio-notify-empty {
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
}

.studio-notify-push-prompt {
  margin: 0 0 0.75rem;
  padding: 0;
}

.studio-notify-push-prompt-btn {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}

.studio-notify-push-prompt-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.22);
}

.studio-notify-push-prompt-btn:disabled {
  opacity: 0.72;
  cursor: default;
}

.studio-company-manage-list {
  gap: 0.5rem;
}

.studio-company-manage-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.studio-company-manage-item .studio-company-media {
  flex-shrink: 0;
}

.studio-company-manage-item .studio-company-text {
  flex: 1;
  min-width: 0;
}

.studio-company-manage-edit {
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.studio-company-manage-edit:hover {
  background: rgba(0, 0, 0, 0.32);
}

/* Profili düzenle — mavi (şirket / lisans ile aynı) */
.studio-profile-data {
  display: none !important;
}

.studio-select-panel--profile-edit,
.studio-select-panel--licenses,
.studio-select-panel--my-companies,
.studio-select-panel--team {
  position: relative;
}

.studio-select-panel--profile-edit .studio-panel-close,
.studio-select-panel--my-companies .studio-panel-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
}

.studio-select-panel--profile-edit {
  background: var(--accent);
  border: none;
  border-radius: 18px;
  padding: 2.5rem 1rem 1rem;
}

.studio-select-panel--profile-edit:has(.studio-profile-edit-form:not([hidden])) {
  display: flex;
  flex-direction: column;
  max-height: min(520px, calc(100dvh - 8rem));
  overflow: hidden;
}

.studio-profile-edit-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
}

.studio-profile-edit-form-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.studio-profile-edit-form-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.studio-profile-edit-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.studio-profile-edit-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.studio-profile-edit-form-field label,
.studio-profile-edit-photo-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.studio-profile-edit-form-field input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  box-sizing: border-box;
  min-height: 2.35rem;
}

.studio-profile-edit-form-field input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 1px;
}

.studio-profile-edit-form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.studio-profile-edit-password-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.studio-profile-edit-section-title {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.studio-profile-edit-form-field input:read-only {
  opacity: 0.85;
  cursor: default;
}

.studio-profile-edit-photo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.studio-profile-edit-photo-wrap {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.studio-profile-edit-photo-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

.studio-profile-edit-photo-initials[hidden],
.studio-profile-edit-photo-img[hidden] {
  display: none !important;
}

.studio-profile-edit-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-profile-edit-photo-pick {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition: background 0.2s;
}

.studio-profile-edit-photo-pick svg {
  width: 1.35rem;
  height: 1.35rem;
}

.studio-profile-edit-photo-pick:hover {
  background: rgba(0, 0, 0, 0.55);
}

.studio-profile-edit-form-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.studio-select-block--licenses[hidden] {
  display: none !important;
}

@media (min-width: 900px) {
  .studio-profile {
    align-items: center;
    justify-content: flex-start;
  }

  .studio-profile-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    flex: 0 0 auto;
    width: 100%;
  }

  .studio-profile-identity {
    grid-row: auto;
  }

  .studio-profile-details {
    flex: 0 0 auto;
    width: 100%;
    gap: 0.375rem;
  }

  .studio-profile-photo-wrap {
    width: 88px;
    height: 88px;
    margin-bottom: 1rem;
  }

  .studio-profile-fields {
    margin: 0;
    gap: 0.625rem;
    align-self: stretch;
  }

  .studio-profile-actions {
    margin-top: 0;
  }

  .studio-profile-fields-row {
    display: contents;
  }

  .studio-profile-fields-row .studio-profile-field {
    font-size: 0.8125rem;
    padding: 0.5rem 0.625rem;
    gap: 0.625rem;
  }

}

.studio-profile-field {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  line-height: 1.35;
  word-break: break-word;
}

.studio-profile-icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
}

.studio-profile-actions {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0;
}

.studio-profile-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.5rem;
  font-family: inherit;
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.studio-profile-action:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
}

.studio-profile-action svg {
  width: 1.125rem;
  height: 1.125rem;
}

@media (min-width: 900px) {
  .studio-profile-action {
    padding: 0.5rem 0.625rem;
  }
}

/* Profil QR tam ekran */
.studio-qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.studio-qr-overlay[hidden] {
  display: none !important;
}

body.studio-qr-open {
  overflow: hidden;
}

.studio-qr-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.78);
  cursor: pointer;
}

.studio-qr-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  width: min(100%, 300px);
  padding: 1.25rem 1.125rem 1.125rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.studio-qr-dialog-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary, #1d1d1f);
}

.studio-qr-code-wrap {
  padding: 0.75rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(43, 43, 43, 0.08);
}

.studio-qr-code {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  min-width: 220px;
}

.studio-qr-code img,
.studio-qr-code canvas {
  display: block;
  width: 220px !important;
  height: 220px !important;
}

.studio-qr-user-id {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary, #6b6b6f);
  word-break: break-all;
}

.studio-select-block[hidden] {
  display: none !important;
}

.studio-select-block {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: min(320px, calc(100dvh - 9rem));
  max-height: min(400px, calc(100dvh - 9rem));
}

body.studio-is-authenticated .studio-select-stage {
  align-items: start;
}

body.studio-is-authenticated .studio-select-block {
  min-height: 0;
  max-height: none;
  height: auto;
}

body.studio-is-authenticated .studio-select-stage--subpanel > .studio-select-block:not([hidden]) {
  min-height: 0;
  max-height: none;
}

body.studio-is-authenticated .studio-select-block--company-select > .studio-select-block-title,
body.studio-is-authenticated .studio-select-block--products > .studio-select-block-title,
body.studio-is-authenticated .studio-select-block--panel-actions > .studio-select-block-title {
  display: none;
}

body.studio-is-authenticated .studio-select-block--company-select,
body.studio-is-authenticated .studio-select-block--products {
  flex: 0 0 auto;
}

body.studio-is-authenticated .studio-select-block--company-select .studio-select-panel--companies,
body.studio-is-authenticated .studio-select-block--products .studio-select-panel--products {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  max-height: min(360px, calc(100dvh - 11rem));
  overflow-x: hidden;
  overflow-y: auto;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

body.studio-is-authenticated .studio-select-block--company-select.is-mobile-selection-collapsed .studio-select-panel--companies {
  max-height: calc(2rem + var(--studio-mobile-company-row-h, 4.625rem));
  overflow: hidden;
}

body.studio-is-authenticated .studio-select-block--products.is-mobile-selection-collapsed .studio-select-panel--products {
  max-height: calc(2rem + var(--studio-mobile-product-row-h, 5.75rem));
  overflow: hidden;
}

body.studio-is-authenticated .studio-select-block--company-select .studio-company-list,
body.studio-is-authenticated .studio-select-block--products .studio-select-list {
  transition: gap 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

body.studio-is-authenticated .studio-select-block--company-select.is-mobile-selection-collapsed .studio-company-list,
body.studio-is-authenticated .studio-select-block--products.is-mobile-selection-collapsed .studio-select-list {
  gap: 0;
}

body.studio-is-authenticated .studio-select-block--company-select .studio-company-list > li {
  overflow: hidden;
  max-height: var(--studio-mobile-company-row-h, 4.625rem);
  transition:
    max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    margin 0.32s ease;
}

body.studio-is-authenticated .studio-select-block--company-select.is-mobile-selection-collapsed .studio-company-list > li:not(:has(.is-selected)) {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

body.studio-is-authenticated .studio-select-block--company-select.is-mobile-selection-collapsed .studio-company-list > li:has(.is-selected) {
  max-height: var(--studio-mobile-company-row-h, 4.625rem);
  opacity: 1;
}

body.studio-is-authenticated .studio-select-block--company-select.is-mobile-selection-collapsed .studio-company-item.is-selected {
  width: 100%;
}

body.studio-is-authenticated .studio-select-block--products .studio-select-list > li {
  overflow: hidden;
  max-height: var(--studio-mobile-product-row-h, 5.75rem);
  transition:
    max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    margin 0.32s ease;
}

body.studio-is-authenticated .studio-select-block--products.is-mobile-selection-collapsed .studio-select-list > li:not(:has(.is-selected)) {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

body.studio-is-authenticated .studio-select-block--products.is-mobile-selection-collapsed .studio-select-list > li:has(.is-selected) {
  max-height: var(--studio-mobile-product-row-h, 5.75rem);
  opacity: 1;
}

body.studio-is-authenticated .studio-select-block--products.is-mobile-selection-collapsed .studio-select-item--product.is-selected {
  width: 100%;
}

body.studio-is-authenticated .studio-select-block--products .studio-select-panel--products:has(.studio-license-form:not([hidden])),
body.studio-is-authenticated .studio-select-block--licenses .studio-select-panel--licenses:has(#studioLicenseContentAdd:not([hidden])),
body.studio-is-authenticated .studio-select-block--licenses .studio-select-panel--licenses:has(#studioLicenseContentList:not([hidden])) {
  max-height: min(480px, calc(100dvh - 8rem));
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  body.studio-is-authenticated .studio-select-block--company-select .studio-select-panel--companies,
  body.studio-is-authenticated .studio-select-block--products .studio-select-panel--products,
  body.studio-is-authenticated .studio-select-block--company-select .studio-company-list,
  body.studio-is-authenticated .studio-select-block--products .studio-select-list,
  body.studio-is-authenticated .studio-select-block--company-select .studio-company-list > li,
  body.studio-is-authenticated .studio-select-block--products .studio-select-list > li {
    transition: none;
  }
}

.studio-select-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  flex-shrink: 0;
}

.studio-select-block-head .studio-select-block-title {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.studio-panel-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.25rem;
  border: none;
  border-radius: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s;
}

.studio-panel-close svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.studio-panel-close:hover {
  opacity: 0.75;
}

.studio-select-stage--subpanel > .studio-select-block:not([hidden]) {
  width: 100%;
  min-height: min(360px, calc(100dvh - 8rem));
  max-height: min(480px, calc(100dvh - 6rem));
}

.studio-select-stage--subpanel > .studio-select-block--company-select:not([hidden]) {
  min-height: 0;
  max-height: none;
  flex: 0 0 auto;
}

.studio-select-stage--subpanel
  > .studio-select-block--company-select:not([hidden])
  + .studio-select-block--panel-actions:not([hidden]):not(.is-mobile-selection-collapsed) {
  min-height: min(280px, calc(100dvh - 14rem));
  max-height: min(420px, calc(100dvh - 10rem));
}

.studio-select-stage--subpanel > .studio-select-block--panel-actions:not([hidden]),
.studio-select-stage--subpanel > .studio-select-block--panel-launch:not([hidden]) {
  min-height: 0;
  max-height: none;
  flex: 0 0 auto;
}

body.studio-is-authenticated
  .studio-select-stage--subpanel
  > .studio-select-block--company-select:not([hidden])
  + .studio-select-block--panel-actions:not([hidden]) {
  min-height: 0;
  max-height: none;
}

/* İşlem içeriği — şirket seçiminden sonra ayrı mavi blok (bitişik değil) */
body.studio-is-authenticated .studio-select-stage--subpanel > .studio-select-block--panel-actions.is-mobile-selection-collapsed:not([hidden]) + .studio-select-block--licenses:not([hidden]),
body.studio-is-authenticated .studio-select-stage--subpanel > .studio-select-block--panel-actions.is-mobile-selection-collapsed:not([hidden]) + .studio-select-block--team:not([hidden]),
body.studio-is-authenticated .studio-select-stage--subpanel > .studio-select-block--panel-actions.is-mobile-selection-collapsed:not([hidden]) + .studio-select-block--notifications:not([hidden]) {
  min-height: min(280px, calc(100dvh - 14rem));
  max-height: min(420px, calc(100dvh - 10rem));
  flex: 0 0 auto;
}

body.studio-is-authenticated .studio-select-block--licenses:not([hidden]),
body.studio-is-authenticated .studio-select-block--team:not([hidden]),
body.studio-is-authenticated .studio-select-block--notifications:not([hidden]) {
  min-height: 0;
  max-height: none;
  flex: 0 0 auto;
}

body.studio-is-authenticated .studio-select-block--panel-actions.is-mobile-selection-collapsed:not([hidden]) + .studio-select-block--panel-launch:not([hidden]) {
  margin-top: 0;
}

/* İşlem seçimi — mavi (ürün seçici ile aynı görünüm) */
.studio-select-panel--panel-actions {
  position: relative;
  background: var(--accent);
  border: none;
  border-radius: 18px;
  padding: 1rem;
}

.studio-select-panel--panel-actions .studio-panel-action-hint {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.studio-select-panel--panel-actions .studio-select-item--panel-action {
  justify-content: flex-start;
}

body.studio-is-authenticated .studio-select-block--panel-actions,
body.studio-is-authenticated .studio-select-block--panel-actions .studio-select-panel--panel-actions {
  flex: 0 0 auto;
}

body.studio-is-authenticated .studio-select-block--panel-actions .studio-select-panel--panel-actions,
body.studio-is-authenticated .studio-select-block--panel-actions .studio-panel-action-list {
  max-height: min(360px, calc(100dvh - 11rem));
  overflow-x: hidden;
  overflow-y: auto;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

body.studio-is-authenticated .studio-select-block--panel-actions.is-mobile-selection-collapsed .studio-select-panel--panel-actions {
  max-height: calc(2rem + var(--studio-mobile-product-row-h, 5.75rem));
  overflow: hidden;
}

body.studio-is-authenticated .studio-select-block--panel-actions .studio-panel-action-list {
  transition: gap 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

body.studio-is-authenticated .studio-select-block--panel-actions.is-mobile-selection-collapsed .studio-panel-action-list {
  gap: 0;
}

body.studio-is-authenticated .studio-select-block--panel-actions .studio-panel-action-list > li {
  overflow: hidden;
  max-height: var(--studio-mobile-product-row-h, 5.75rem);
  transition:
    max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    margin 0.32s ease;
}

body.studio-is-authenticated .studio-select-block--panel-actions.is-mobile-selection-collapsed .studio-panel-action-list > li:not(:has(.is-selected)) {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

body.studio-is-authenticated .studio-select-block--panel-actions.is-mobile-selection-collapsed .studio-select-item--panel-action.is-selected {
  width: 100%;
}

.studio-select-launch--labeled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
}

.studio-select-launch--labeled .studio-select-launch-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.studio-select-block--panel-launch .studio-select-launch--labeled:not(:disabled) {
  padding-inline: 1rem;
}

.studio-select-block--launch {
  min-height: 0;
  max-height: none;
}

.studio-select-block-title--spacer {
  visibility: hidden;
  user-select: none;
}

@media (min-width: 900px) {
  .studio-select-block--launch {
    min-height: min(320px, calc(100dvh - 9rem));
    max-height: min(400px, calc(100dvh - 9rem));
  }

  .studio-select-block--launch .studio-select-footer {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    padding-top: 0;
  }

  .studio-select-block--launch .studio-select-launch {
    flex: 1;
    width: 100%;
    max-width: none;
    min-height: min(360px, calc(100dvh - 10rem));
    justify-content: center;
  }
}

.studio-select-block-title {
  margin: 0 0 0.625rem;
  padding: 0 0.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.3;
}

.studio-select-block .studio-select-panel {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}

/* Şirket — mavi */
.studio-select-panel--companies {
  position: relative;
  background: var(--accent);
  border: none;
  border-radius: 18px;
  padding: 1rem;
}

.studio-select-panel--my-companies {
  padding: 2.5rem 1rem 1rem;
}

.studio-company-empty {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 100%;
  padding: 0.25rem 0;
}

.studio-company-empty[hidden] {
  display: none !important;
}

.studio-company-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.studio-company-empty-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.studio-company-empty-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.studio-company-empty-btn--secondary {
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.studio-company-empty-btn--secondary:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.studio-select-panel--companies:has(.studio-company-form:not([hidden])) {
  display: flex;
  flex-direction: column;
  max-height: min(520px, calc(100dvh - 8rem));
  overflow: hidden;
}

.studio-company-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
}

.studio-company-form[hidden] {
  display: none !important;
}

.studio-company-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.studio-company-form-field label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.studio-company-form-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.studio-company-form-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.studio-company-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.studio-company-form-logo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.studio-company-form-logo-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.studio-company-form-logo-wrap {
  position: relative;
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}

.studio-company-form-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.studio-company-form-logo-placeholder svg {
  width: 1.5rem;
  height: 1.5rem;
}

.studio-company-form-logo-placeholder[hidden] {
  display: none !important;
}

.studio-company-form-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.studio-company-form-logo-img[hidden] {
  display: none !important;
}

.studio-company-form-logo-pick {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition: background 0.2s;
}

.studio-company-form-logo-pick svg {
  width: 1.35rem;
  height: 1.35rem;
}

.studio-company-form-logo-pick:hover {
  background: rgba(0, 0, 0, 0.55);
}

.studio-company-form-field input,
.studio-company-form-field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  box-sizing: border-box;
  resize: vertical;
  min-height: 2.35rem;
}

.studio-company-form-field textarea {
  min-height: 3.25rem;
  line-height: 1.35;
}

.studio-company-form-field input:focus,
.studio-company-form-field textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 1px;
}

.studio-company-form-field input:disabled,
.studio-company-form-field textarea:disabled {
  opacity: 0.7;
}

.studio-company-form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.studio-company-form-btn {
  flex: 1;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.studio-company-form-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.92);
}

.studio-company-form-btn:disabled {
  cursor: wait;
  opacity: 0.75;
}

.studio-company-form-btn--ghost {
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.studio-company-form-btn--ghost:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.18);
}

.studio-company-add {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.studio-company-add[hidden] {
  display: none !important;
}

.studio-company-add:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
}

.studio-company-list {
  gap: 0.5rem;
}

.studio-company-list[hidden] {
  display: none !important;
}

.studio-select-panel--companies .studio-company-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem;
  text-align: left;
  font-family: inherit;
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.studio-select-panel--companies .studio-company-item:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
}

.studio-select-panel--companies .studio-company-item.is-selected {
  background: #fff;
  border-color: #fff;
  color: var(--text-primary);
}

.studio-select-panel--companies .studio-company-item.is-selected:hover {
  background: #fff;
  border-color: #fff;
}

.studio-select-panel--companies .studio-company-media {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #fff;
  color: var(--accent);
  overflow: hidden;
  box-sizing: border-box;
}

.studio-company-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-select-panel--companies .studio-company-media svg {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--accent);
}

.studio-company-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.studio-company-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.studio-select-panel--companies .studio-company-role {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

.studio-select-panel--companies .studio-company-item.is-selected .studio-company-role {
  color: var(--text-secondary, #6b6b6f);
}

.studio-select-panel--companies .studio-company-item.is-selected .studio-company-media {
  background: #fff;
  border-color: rgba(43, 43, 43, 0.1);
  color: var(--accent);
}

/* Lisans bilgileri — mavi */
.studio-select-panel--licenses {
  background: var(--accent);
  border: none;
  border-radius: 18px;
  padding: 1rem;
}

.studio-team-empty {
  padding: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  list-style: none;
}

.studio-license-list {
  gap: 0.5rem;
}

.studio-license-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem;
  text-align: left;
  font-family: inherit;
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid transparent;
  border-radius: 14px;
}

.studio-license-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.studio-license-product {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.studio-license-context {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

.studio-license-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
}

.studio-license-meta-sep {
  opacity: 0.5;
}

.studio-license-empty {
  padding: 1rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  list-style: none;
}

/* Ürün — mavi */
.studio-select-panel--products {
  position: relative;
  background: var(--accent);
  border: none;
  border-radius: 18px;
  padding: 1rem;
}

.studio-select-panel--products:has(.studio-license-form:not([hidden])),
.studio-select-panel--licenses:has(#studioLicenseContentAdd:not([hidden])),
.studio-select-panel--licenses:has(#studioLicenseContentList:not([hidden])) {
  display: flex;
  flex-direction: column;
  max-height: min(480px, calc(100dvh - 8rem));
  overflow: hidden;
}

.studio-license-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
}

.studio-license-form[hidden] {
  display: none !important;
}

.studio-license-form-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.studio-license-form-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.studio-license-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.studio-license-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.studio-license-form-field label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.studio-license-form-field select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  box-sizing: border-box;
}

.studio-license-form-field select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 1px;
}

.studio-license-form-field select:disabled {
  opacity: 0.7;
}

.studio-license-form-field input.studio-license-code-input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.studio-license-form-field input.studio-license-code-input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 1px;
}

.studio-license-form-field input.studio-license-code-input:disabled {
  opacity: 0.7;
}

.studio-license-form-hint {
  margin: 0;
  font-size: 0.625rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.75);
}

.studio-license-form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.studio-license-form-btn {
  flex: 1;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.studio-license-form-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.92);
}

.studio-license-form-btn:disabled {
  cursor: wait;
  opacity: 0.75;
}

.studio-license-form-btn--ghost {
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.studio-license-form-btn--ghost:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.18);
}

.studio-product-add-license {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.studio-product-add-license[hidden] {
  display: none !important;
}

.studio-product-add-license:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
}

.studio-product-empty {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 100%;
  padding: 0.25rem 0;
}

.studio-product-empty[hidden] {
  display: none !important;
}

.studio-product-empty-hint {
  margin: 0 0 0.75rem;
  padding: 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  line-height: 1.4;
}

.studio-product-empty-hint[hidden] {
  display: none !important;
}

.studio-product-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.studio-product-empty-actions[hidden] {
  display: none !important;
}

.studio-product-empty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.studio-product-empty-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
}

.studio-product-empty-btn--secondary {
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.studio-product-empty-btn--secondary:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.studio-select-list[hidden] {
  display: none !important;
}

.studio-select-panel--products .studio-select-item {
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid transparent;
}

.studio-select-panel--products .studio-select-item:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
}

.studio-select-panel--products .studio-select-item--product.is-selected {
  background: #fff;
  border-color: #fff;
  color: var(--text-primary);
}

.studio-select-panel--products .studio-select-item--product.is-selected:hover {
  background: #fff;
  border-color: #fff;
}

.studio-select-product-media {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-select-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-select-panel--products .studio-select-item--product .studio-select-product-mark {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--product-accent, var(--accent));
}

.studio-select-panel--products .studio-select-item--product.is-selected .studio-select-product-media {
  border-color: rgba(43, 43, 43, 0.12);
}

.studio-select-panel--products .studio-select-item--product.is-selected .studio-select-product-mark {
  background-color: var(--product-accent, var(--accent));
}

.studio-select-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.studio-select-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9375rem 1rem;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.studio-select-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.studio-select-product-mark {
  display: block;
  opacity: 0.95;
  mask-image: url('../img/icon.png');
  mask-size: 55%;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url('../img/icon.png');
  -webkit-mask-size: 55%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.studio-select-product-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.studio-select-product-label {
  min-width: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.studio-select-product-license {
  display: block;
  min-height: 1.05rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

.studio-select-panel--products .studio-select-item--product.is-selected .studio-select-product-license {
  color: var(--text-secondary, #6b6b6f);
}

.studio-select-footer {
  display: flex;
  justify-content: center;
  padding-top: 0;
  margin: 0;
}

.studio-select-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  padding: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.studio-select-launch-icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.studio-select-launch:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(29, 29, 31, 0.45);
}

.studio-select-launch:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
}

.studio-select-launch.is-launching {
  opacity: 0.85;
  cursor: wait;
}
