/* Studio ↔ Statione görünüm köprüsü — Statione CSS’ten sonra yüklenir */

:root {
  /* Login + authenticated üst bar: Aparath mavi */
  --studio-login-accent: #0866ff;
  --studio-statione-red: #b91c1c;
  --studio-chrome-accent: var(--studio-login-accent);
  --studio-chrome-red: var(--studio-statione-red);
}

/* Login ekranı Aparath mavisi */
.statione-login {
  --statione-login-red: var(--studio-login-accent);
  --statione-login-red-lift: color-mix(in srgb, #ffffff 20%, var(--studio-login-accent));
  --statione-login-red-deep: color-mix(in srgb, #000000 16%, var(--studio-login-accent));
}

/* Authenticated üst bar / chrome = login mavisi (Statione CSS’teki #b91c1c’yi ez) */
body.studio-page.studio-is-authenticated.statione-market-layout,
body.studio-page.studio-is-authenticated.statione-force-mobile-chrome,
body.studio-page.studio-is-authenticated.statione-market-layout .statione-mobile-hero,
body.studio-page.studio-is-authenticated.statione-force-mobile-chrome .statione-mobile-hero,
body.studio-page.studio-is-authenticated.statione-market-layout .statione-mobile-hero__inner,
body.studio-page.studio-is-authenticated.statione-force-mobile-chrome .statione-mobile-hero__inner {
  --studio-chrome-accent: #0866ff !important;
  --statione-market-accent: #0866ff !important;
  --statione-market-tab-accent: #0866ff !important;
  --statione-nav-pill-accent: #0866ff !important;
  --statione-mobile-hero-red: #0866ff !important;
  --statione-mobile-hero-red-lift: color-mix(in srgb, #ffffff 20%, #0866ff) !important;
  --statione-mobile-hero-red-deep: color-mix(in srgb, #000000 16%, #0866ff) !important;
  --statione-mobile-bottom-bar-accent: #0866ff !important;
}

/* Bottom bar home ikonu: kırmızı mark → tema mavisi */
body.studio-page.studio-is-authenticated.statione-market-layout
  .statione-mobile-bottom-bar__item.is-active
  .statione-mobile-bottom-bar__app-icon,
body.studio-page.studio-is-authenticated.statione-force-mobile-chrome
  .statione-mobile-bottom-bar__item.is-active
  .statione-mobile-bottom-bar__app-icon {
  /* kırmızı PNG → #0866ff */
  filter: brightness(0) saturate(100%) invert(32%) sepia(98%) saturate(2476%) hue-rotate(209deg)
    brightness(101%) contrast(101%) !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout .statione-mobile-hero__inner,
body.studio-page.studio-is-authenticated.statione-force-mobile-chrome .statione-mobile-hero__inner {
  background: #0866ff !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout .statione-mobile-hero__decor-shape,
body.studio-page.studio-is-authenticated.statione-force-mobile-chrome .statione-mobile-hero__decor-shape {
  fill: color-mix(in srgb, #ffffff 20%, #0866ff) !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout .statione-mobile-hero__decor-shape--b,
body.studio-page.studio-is-authenticated.statione-force-mobile-chrome .statione-mobile-hero__decor-shape--b {
  fill: color-mix(in srgb, #000000 16%, #0866ff) !important;
}

/* Status bar şeridi + Safari html zemin */
html:has(body.studio-page.studio-is-authenticated.statione-market-layout),
html:has(body.studio-page.studio-is-authenticated) {
  background: #0866ff !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout:not(.statione-mobile-minimal-tab)::before,
body.studio-page.studio-is-authenticated.statione-force-mobile-chrome:not(.statione-mobile-minimal-tab)::before {
  background: #0866ff !important;
}

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

/* Login: video/scrim kapalı, Aparath mavi zemin */
body.studio-page:not(.studio-is-authenticated) {
  background: var(--studio-login-accent);
  color: #1a1a1f;
}

html:has(body.studio-page:not(.studio-is-authenticated)) {
  background: var(--studio-login-accent);
}

body.studio-page:not(.studio-is-authenticated) .studio-bg-media,
body.studio-page:not(.studio-is-authenticated) .studio-bg-scrim {
  display: none !important;
}

body.studio-page:not(.studio-is-authenticated) .studio-main {
  display: block;
  min-height: 100dvh;
  overflow: hidden;
  background: transparent;
}

body.studio-page:not(.studio-is-authenticated) .studio-split {
  display: none !important;
}

body.studio-page:not(.studio-is-authenticated) .studio-auth-gate.statione-loading-screen {
  background: #ffffff;
  color: #1a1a1a;
  z-index: 20;
}

body.studio-auth-pending .statione-loading-screen__bar {
  background: color-mix(in srgb, #0866ff 16%, #ffffff);
}

body.studio-auth-pending .statione-loading-screen__bar::after {
  background: #0866ff;
}

/* Bildirimler sayfası — şirket sekmeleri (Lisanslarım ile aynı pill bar) */
body.studio-page.studio-is-authenticated.statione-market-layout
  #studioBildirimlerPage
  .studio-select-block--bildirimler-filter {
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  margin: 0 0 0.65rem !important;
  padding: 0;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  #studioBildirimlerPage
  .studio-select-block--bildirimler-filter
  > .studio-select-block-title {
  display: none !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  #studioBildirimlerPage
  .studio-company-tabs
  .statione-home-tabs__indicator,
body.studio-page.studio-is-authenticated.statione-market-layout
  #studioBildirimlerPage
  .studio-company-tabs
  .statione-home-tabs__indicator.has-photo {
  background: #0866ff !important;
  background-image: none !important;
}

body.studio-page.studio-is-authenticated .studio-bildirimler-list-host {
  min-height: 0;
}

/* Auth gate üstte kalsın */
body.studio-auth-pending .statione-login {
  visibility: hidden;
}

/* Login’de bottom bar ASLA görünmesin — select gizlüyken de, auth yokken de */
body.studio-page:not(.studio-is-authenticated) .statione-mobile-bottom-bar-root,
body.studio-page.studio-auth-pending .statione-mobile-bottom-bar-root,
body.studio-page:not(.statione-is-authenticated) .statione-mobile-bottom-bar-root,
.studio-select-view[hidden] .statione-mobile-bottom-bar-root,
.statione-mobile-bottom-bar-root[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* force-mobile Statione kuralını ez (auth olsa bile login’de hidden kalsın) */
body.studio-page:not(.studio-is-authenticated)
  .statione-force-mobile-chrome
  .statione-mobile-bottom-bar-root,
body.studio-page.studio-auth-pending
  .statione-mobile-bottom-bar-root {
  display: none !important;
}

body.studio-page.studio-is-authenticated .statione-login {
  display: none !important;
}

/* Safari / PWA üst şerit */
html:has(body.statione-market-layout.statione-is-authenticated),
html:has(body.studio-page.studio-is-authenticated) {
  background: #0866ff !important;
}

html:has(body.studio-page:not(.studio-is-authenticated)),
html:has(body.studio-page.studio-auth-pending) {
  background: var(--studio-login-accent) !important;
}

/* Login copyright her zaman altta görünsün */
body.studio-page:not(.studio-is-authenticated) .statione-login {
  min-height: 100dvh;
  min-height: 100svh;
}

body.studio-page:not(.studio-is-authenticated) .statione-login__hero,
body.studio-page:not(.studio-is-authenticated) .statione-login__hero-inner {
  min-height: 100%;
  flex: 1 1 auto;
}

body.studio-page:not(.studio-is-authenticated) .statione-login__footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 5;
  margin-top: auto;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
}

body.studio-page:not(.studio-is-authenticated) .statione-login__copyright {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

/* Authenticated: Statione market scroll modeli */
body.studio-page.studio-is-authenticated.statione-market-layout {
  background: #f3f3f3;
}

body.studio-page.studio-is-authenticated.statione-market-layout .studio-bg-media,
body.studio-page.studio-is-authenticated.statione-market-layout .studio-bg-scrim,
body.studio-page.studio-is-authenticated.statione-market-layout .studio-split {
  display: none !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout .studio-main {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow: hidden;
  background: #f3f3f3;
}

/* Eski mobile header/intro Statione CSS ile gizlenir; menü ID’leri alt barda yaşar */
body.statione-market-layout.statione-is-authenticated .studio-mobile-header,
body.statione-market-layout.statione-is-authenticated .studio-mobile-intro {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  pointer-events: none;
}

/* Menü tetikleyicileri alt barda — pointer events açık tut */
body.statione-market-layout.statione-is-authenticated .statione-mobile-bottom-bar-root .studio-mobile-header-notify-wrap,
body.statione-market-layout.statione-is-authenticated .statione-mobile-bottom-bar-root .studio-mobile-header-settings-wrap {
  position: relative;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  pointer-events: auto;
}

body.statione-market-layout.statione-is-authenticated .statione-mobile-bottom-bar .studio-mobile-header-notify,
body.statione-market-layout.statione-is-authenticated .statione-mobile-bottom-bar .studio-mobile-header-settings {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0.35rem 0.25rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

body.statione-market-layout.statione-is-authenticated .statione-mobile-bottom-bar .studio-mobile-header-notify svg,
body.statione-market-layout.statione-is-authenticated .statione-mobile-bottom-bar .studio-mobile-header-settings svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* Select stage panels — Studio’nun 420px sütun/padding’ini ez; Statione full-bleed */
body.studio-page.studio-is-authenticated.statione-market-layout .studio-select-view,
body.statione-market-layout.statione-is-authenticated .studio-select-view {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  max-width: none !important;
  width: 100% !important;
  min-height: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}

body.studio-page.studio-is-authenticated.statione-market-layout .studio-select-inner,
body.statione-market-layout.statione-is-authenticated .studio-select-inner {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout .studio-main,
body.studio-page.studio-is-authenticated.statione-force-mobile-chrome .studio-main {
  flex: 1 1 auto;
  min-height: 0;
  height: 100dvh;
  max-height: 100dvh;
}

/* Dar: inline marka/yan menü asla görünmesin (Statione React ile aynı) */
@media (max-width: 767px) {
  body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-hero__brand--inline,
  body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-chrome-nav--inline {
    display: none !important;
  }

  body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-hero__search-row.has-inline-nav {
    gap: 0;
  }
}

/* Geniş: üst marka gizli — yalnızca search satırındaki inline marka */
@media (min-width: 768px) {
  body.studio-page.studio-is-authenticated.statione-force-mobile-chrome.statione-market-layout
    .statione-mobile-hero__inner.has-inline-brand
    .statione-mobile-hero__top,
  body.studio-page.studio-is-authenticated.statione-force-mobile-chrome.statione-market-layout
    .statione-mobile-hero__top--desktop-hidden,
  body.studio-page.studio-is-authenticated.statione-force-mobile-chrome.statione-market-layout
    .statione-mobile-hero__top[hidden] {
    display: none !important;
  }
}

/* Hero brand wordmark text fallback */
.statione-mobile-hero__menu-title--studio {
  font-family: Metropolis, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.statione-market-header__brand-text {
  font-family: Metropolis, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #111;
  letter-spacing: -0.02em;
}

.statione-market-header__brand-text .btn-brand {
  font-weight: 700;
}

/* Bottom bar item wrappers (notify/settings) */
.statione-mobile-bottom-bar .studio-mobile-header-notify-wrap,
.statione-mobile-bottom-bar .studio-mobile-header-settings-wrap {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  position: relative;
}

.statione-mobile-bottom-bar .studio-notify-menu,
.statione-mobile-bottom-bar .studio-settings-menu {
  position: absolute;
  right: 0.25rem;
  bottom: calc(100% + 0.5rem);
  top: auto;
  z-index: 450;
}

    body.studio-page.studio-is-authenticated.statione-market-layout .studio-select-stage {
  padding: 0.75rem 1rem 1.25rem;
  box-sizing: border-box;
}

body.studio-page.studio-is-authenticated.statione-market-layout .studio-select-stage--subpanel {
  padding-top: 0.5rem;
}

/* Alt bar görünürken menü backdrop tam ekran */
body.studio-page.studio-is-authenticated .studio-settings-backdrop {
  z-index: 420;
}

body.studio-page:not(.studio-is-authenticated) .studio-select-view {
  display: none !important;
}

/* Statione home sheet açıkken eski mavi/kırmızı şirket panellerini gizle */
body.studio-home-sheet-visible .studio-select-block--company-select,
body.studio-home-sheet-visible .studio-select-block--products,
body.studio-home-sheet-visible .studio-select-block--launch,
body.studio-utility-tab .studio-select-block--company-select,
body.studio-utility-tab .studio-select-block--products,
body.studio-utility-tab .studio-select-block--launch,
body.studio-ayarlar-open .studio-select-block--company-select,
body.studio-ayarlar-open .studio-select-block--products,
body.studio-ayarlar-open .studio-select-block--launch {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  pointer-events: none !important;
}

/* Statione home sheet / Ayarlar açıkken stage panellerini akıştan çıkar */
body.studio-home-sheet-visible .studio-select-stage:not(.studio-select-stage--subpanel),
body.studio-utility-tab .studio-select-stage:not(.studio-select-stage--subpanel),
body.studio-ayarlar-open .studio-select-stage:not(.studio-select-stage--subpanel) {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Intro/header akışta kalmasın (3.5rem margin üretmesin) */
body.studio-page.statione-market-layout.statione-is-authenticated .studio-mobile-intro,
body.studio-page.statione-market-layout.statione-is-authenticated .studio-mobile-header {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

body.studio-home-sheet-visible .studio-select-inner,
body.studio-utility-tab .studio-select-inner,
body.studio-sheet-open .studio-select-inner,
body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated:not(
    .statione-mobile-minimal-tab
  )
  .studio-select-inner {
  position: relative;
  z-index: 2;
  display: block !important;
  flex: 1 1 auto;
  min-height: 0;
  max-width: none !important;
  width: 100% !important;
  /* Statione sheet: heronun üstüne binen yuvarlak beyaz sac */
  margin: calc(-1 * var(--statione-hero-sheet-overlap, 1.45rem)) 0 0 !important;
  margin-inline: 0 !important;
  padding: 1.45rem var(--statione-market-inline-end, 0.75rem) 1.25rem
    var(--statione-market-inline-start, 0.75rem) !important;
  background: #ffffff !important;
  border-radius: var(--statione-hero-sheet-radius, 1.35rem)
    var(--statione-hero-sheet-radius, 1.35rem) 0 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

/* Alt panel: beyaz sac içeriğe göre kısalsın (altta boş şerit kalmasın) */
body.studio-page.studio-is-authenticated.statione-market-layout.statione-force-mobile-chrome
  .studio-select-inner:has(.studio-select-stage--subpanel) {
  flex: 0 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(
    100dvh - var(--statione-mobile-bottom-bar-h, 4.25rem) - 10.5rem
  );
  align-self: stretch;
}

/* Sacın oturduğu kırmızı zemin görünsün (köşe kıvrımlarında) */
body.studio-page.studio-is-authenticated.statione-market-layout.statione-force-mobile-chrome
  .studio-select-view,
body.studio-page.studio-is-authenticated.statione-market-layout.statione-force-mobile-chrome
  .studio-main {
  background: #0866ff !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout.statione-force-mobile-chrome
  .statione-market-chrome {
  background: #0866ff !important;
}

/*
 * DİKEY: sheet / nav-cards / section / scroller ASLA ebeveyni doldurup
 * aralara boşluk şişirmesin. Statione section gap = 1.85rem.
 */
body.studio-home-sheet-visible .statione-mobile-sheet-nav {
  display: block !important;
  width: 100%;
  max-width: none;
  height: fit-content !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Utility sekme (Ayarlar / Bildirimler / …): ana sayfa gizlensin, sac + hero kalsın */
body.studio-utility-tab #studioHomeSheet,
body.studio-utility-tab .statione-mobile-sheet-nav,
body.studio-utility-tab .statione-mobile-nav-cards,
body.studio-ayarlar-open #studioHomeSheet,
body.studio-ayarlar-open .statione-mobile-sheet-nav,
body.studio-ayarlar-open .statione-mobile-nav-cards,
#studioHomeSheet[hidden],
#studioAyarlarPage[hidden],
#studioTakvimPage[hidden],
#studioBildirimlerPage[hidden],
#studioDurumPage[hidden],
#studioBaglantiPage[hidden] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.studio-utility-tab #studioAyarlarPage:not([hidden]),
body.studio-utility-tab #studioTakvimPage:not([hidden]),
body.studio-utility-tab #studioBildirimlerPage:not([hidden]),
body.studio-utility-tab #studioDurumPage:not([hidden]),
body.studio-utility-tab #studioBaglantiPage:not([hidden]),
body.studio-ayarlar-open #studioAyarlarPage:not([hidden]) {
  display: flex !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  pointer-events: auto !important;
}

/* Utility sekmede stage panelleri gizle */
body.studio-utility-tab .studio-select-stage:not(.studio-select-stage--subpanel),
body.studio-ayarlar-open .studio-select-stage:not(.studio-select-stage--subpanel) {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Hero utility sekmelerde de görünsün */
body.studio-utility-tab .statione-market-chrome {
  display: block !important;
}

body.studio-home-sheet-visible .statione-mobile-nav-cards,
body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated:not(
    .studio-ayarlar-open
  )
  .statione-mobile-nav-cards {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  align-content: flex-start !important;
  flex: none !important;
  flex-grow: 0 !important;
  height: fit-content !important;
  min-height: 0 !important;
  max-height: none !important;
  --statione-nav-card-w: calc(
    (
        26.75rem - var(--statione-market-inline-start, 0.75rem) -
          var(--statione-market-inline-end, 0.75rem) - (2 * 1rem)
      ) / 2.5
    );
  --statione-nav-card-gap: 1rem;
  gap: 1.85rem !important;
  row-gap: 1.85rem !important;
  column-gap: 0 !important;
  margin: 0 !important;
  padding: 0.1rem 0 0.75rem !important;
  box-sizing: border-box;
}

body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated:not(
    .studio-ayarlar-open
  )
  .statione-mobile-nav-cards__section,
body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated:not(
    .studio-ayarlar-open
  )
  .statione-mobile-nav-cards__section--welcome,
body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated:not(
    .studio-ayarlar-open
  )
  .statione-mobile-nav-cards__duo {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  flex: none !important;
  flex-grow: 0 !important;
  height: fit-content !important;
  min-height: 0 !important;
  max-height: none !important;
  gap: 0.95rem !important;
  row-gap: 0.95rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
  .statione-mobile-nav-cards__duo {
  display: block !important;
}

body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
  .statione-mobile-nav-cards__title {
  margin: 0 !important;
  padding: 0 0.05rem !important;
  flex: none !important;
}

body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
  .statione-mobile-nav-cards__scroller {
  flex: none !important;
  flex-grow: 0 !important;
  height: fit-content !important;
  min-height: 0 !important;
  max-height: none !important;
  gap: 1rem !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-items: flex-start !important;
  align-content: flex-start !important;
}

body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
  .statione-mobile-nav-cards__card {
  flex: none !important;
  flex-grow: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  gap: 0.55rem !important;
  margin: 0 !important;
}

body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
  .statione-mobile-nav-cards__media {
  flex: none !important;
  height: auto !important;
}

@media (min-width: 768px) {
  body.studio-page.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards {
    /* Statione masaüstü: mobil tavan (26.75rem) — yatay peep korunur */
    --statione-nav-card-w: calc(
      (
          26.75rem - var(--statione-market-inline-start, 0.75rem) -
            var(--statione-market-inline-end, 0.75rem) - (2 * var(--statione-nav-card-gap, 1rem))
        ) / 2.5
    );
  }
}

.statione-mobile-nav-cards__empty {
  margin: 0 0 0.75rem;
  padding: 0 0.15rem;
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Şirket / ürün: görsel yoksa renk + ilk iki kelime */
body.statione-market-layout.statione-is-authenticated
  .statione-mobile-nav-cards__media.has-name-face {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.5rem;
  box-sizing: border-box;
}

body.statione-market-layout.statione-is-authenticated
  .statione-mobile-nav-cards__name-face {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-family: Metropolis, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  text-shadow: 0 1px 2px rgb(0 0 0 / 22%);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  word-break: break-word;
}

/* Kimliğim — alt kısımda mavi zemin görünmesin */
body.studio-page.studio-is-authenticated.statione-market-layout:has(
    .studio-select-block--identity:not([hidden])
  )
  .studio-select-view,
body.studio-page.studio-is-authenticated.statione-market-layout:has(
    .studio-select-block--identity:not([hidden])
  )
  .studio-main,
body.studio-page.studio-is-authenticated.statione-market-layout:has(
    .studio-select-block--identity:not([hidden])
  )
  .statione-market-chrome {
  background: #ffffff !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout.statione-force-mobile-chrome
  .studio-select-inner:has(.studio-select-block--identity:not([hidden])) {
  flex: 1 1 auto !important;
  min-height: calc(100dvh - var(--statione-mobile-bottom-bar-h, 4.25rem) - 10.5rem);
  background: #ffffff !important;
}

/* Kimliğim — APR karekod paneli */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--identity {
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  color: #1a1a1f;
  padding: 0.35rem 0 0.75rem !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  > .studio-select-block--identity:not([hidden]) {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  flex: 0 0 auto !important;
}

body.studio-page.studio-is-authenticated .studio-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  color: #1a1a1f;
}

body.studio-page.studio-is-authenticated .studio-identity__qr-wrap {
  display: flex;
  justify-content: center;
  padding: 0.35rem 0 0.15rem;
}

body.studio-page.studio-is-authenticated .studio-identity__qr {
  width: 240px;
  height: 240px;
  padding: 0.65rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #ececef;
  box-sizing: content-box;
}

body.studio-page.studio-is-authenticated .studio-identity__qr img,
body.studio-page.studio-is-authenticated .studio-identity__qr canvas {
  display: block;
  width: 240px !important;
  height: 240px !important;
}

body.studio-page.studio-is-authenticated .studio-identity__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0 0.1rem;
  text-align: center;
}

body.studio-page.studio-is-authenticated .studio-identity__title {
  margin: 0;
  font-family: Metropolis, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #1a1a1f;
}

body.studio-page.studio-is-authenticated .studio-identity__code {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0866ff;
  word-break: break-all;
}

body.studio-page.studio-is-authenticated .studio-identity__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.15rem 0 0;
  padding: 0;
  border: none;
  list-style: none;
}

body.studio-page.studio-is-authenticated .studio-identity__icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #e4e4e8;
  border-radius: 999px;
  background: #f7f7f9;
  color: #1a1a1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

body.studio-page.studio-is-authenticated .studio-identity__icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

body.studio-page.studio-is-authenticated .studio-identity__icon-btn:hover {
  background: #eef2f8;
  border-color: color-mix(in srgb, #0866ff 28%, #e4e4e8);
  color: #0866ff;
}

/* Seçili şirket kartı — sol üstte yuvarlak tik rozeti */
body.statione-market-layout.statione-is-authenticated
  #studioHomeCompaniesScroller
  .statione-mobile-nav-cards__check {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  right: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #0866ff;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

body.statione-market-layout.statione-is-authenticated
  #studioHomeCompaniesScroller
  .statione-mobile-nav-cards__check
  svg {
  width: 0.85rem;
  height: 0.85rem;
  filter: none;
}

body.statione-market-layout.statione-is-authenticated
  #studioHomeCompaniesScroller
  .statione-mobile-nav-cards.is-compact
  .statione-mobile-nav-cards__check {
  top: 0.2rem;
  left: 0.2rem;
  right: auto;
  width: 1.05rem;
  height: 1.05rem;
}

body.statione-market-layout.statione-is-authenticated
  #studioHomeCompaniesScroller
  .statione-mobile-nav-cards.is-compact
  .statione-mobile-nav-cards__check
  svg {
  width: 0.65rem;
  height: 0.65rem;
}

/* Yeni Şirket / Lisans Ekle kartı */
body.statione-market-layout.statione-is-authenticated
  .statione-mobile-nav-cards__card--add
  .statione-mobile-nav-cards__media.has-add-face {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8eef8 0%, #c5d4ea 100%);
  color: #1e3a5f;
}

body.statione-market-layout.statione-is-authenticated
  .statione-mobile-nav-cards__card--add
  .statione-mobile-nav-cards__media.has-add-face
  svg {
  width: 2.1rem;
  height: 2.1rem;
}

/* Hero markası Statione gibi tek satır — sayfa başlığı wordmark yerine */
body.statione-market-layout.statione-is-authenticated .statione-mobile-hero__menu-title,
body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
  .statione-mobile-hero__menu-title {
  display: block;
  max-width: min(14rem, 68vw);
  font-family: Metropolis, sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 2.05rem;
  letter-spacing: -0.025em;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Utility sekmelerde içerik başlığını gizle — Statione: başlık hero’da */
@media (max-width: 767px) {
  body.studio-utility-tab .statione-armut-page__header {
    display: none !important;
  }
}

/*
 * Profilim / Şirketlerim / Lisanslarım / Çalışanlarım
 * — Ayarlar gibi sade beyaz yüzey (renkli kart yok)
 */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--profile-edit,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--my-companies,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--licenses,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--team,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--companies,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--panel-actions,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--notifications {
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  color: #1a1a1f;
  padding: 0.35rem 0 0.75rem !important;
  box-shadow: none !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--profile-edit {
  padding-top: 0.35rem !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}

/* Profilim — Şirketlerim ile aynı yükseklik / boşluk davranışı */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  > .studio-select-block--profile-edit:not([hidden]) {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  flex: 0 0 auto !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel:has(> .studio-select-block--profile-edit:not([hidden])),
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel:has(> .studio-select-block--my-companies:not([hidden])),
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel:has(> .studio-select-block--notifications:not([hidden])) {
  min-height: 0 !important;
  height: auto !important;
  flex: 0 0 auto !important;
  align-content: start;
}

body.studio-page.studio-is-authenticated .studio-profile-detail__hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: #8a8a93;
}

body.studio-page.studio-is-authenticated .studio-profile-detail__avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

body.studio-page.studio-is-authenticated .studio-profile-detail__photo-pick {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  width: 1.7rem;
  height: 1.7rem;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0866ff;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px color-mix(in srgb, #000 18%, transparent);
  padding: 0;
}

body.studio-page.studio-is-authenticated .studio-profile-detail__photo-pick svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

body.studio-page.studio-is-authenticated .studio-profile-detail__password-fields {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

body.studio-page.studio-is-authenticated
  .studio-profile-detail__password-row.is-editing
  .studio-profile-detail__password-fields {
  display: flex;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--my-companies {
  padding-top: 0.35rem !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}


body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-block-title {
  color: #1a1a1f !important;
  font-family: Metropolis, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-panel-action-hint,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-hint,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-select-hint,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-license-empty,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-empty {
  color: #8a8a93 !important;
}

/* Form etiketleri */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-field
  label,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-logo-label,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-org-label,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-section-title,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-license-form-field
  label {
  color: #5c5c66 !important;
}


/* Inputs */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-field
  input,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-field
  textarea,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-field
  select,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-org-select,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-invite-email,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-invite-role,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-license-form-field
  input,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-license-form-field
  select {
  color: #1a1a1f !important;
  background: #ffffff !important;
  border: 1px solid #e4e4e8 !important;
  border-radius: 12px !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-field
  input:focus,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-field
  textarea:focus,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-field
  select:focus {
  outline: none !important;
  border-color: #0866ff !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, #0866ff 18%, transparent);
}

/* Liste satırları — Ayarlar satırı gibi */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-manage-item,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-license-item,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-member-item,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-pending-item,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-my-invite-item,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-panel-card,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-item,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-item--panel-action {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #ececef !important;
  border-radius: 0 !important;
  color: #1a1a1f !important;
  padding: 0.9rem 0.1rem !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-name,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-license-product,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-member-name,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-item--panel-action {
  color: #1a1a1f !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-role,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-license-context,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-license-meta,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-member-meta,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-invite-result {
  color: #8a8a93 !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-item.is-selected,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-item--panel-action.is-selected {
  background: color-mix(in srgb, #0866ff 7%, #ffffff) !important;
  border-bottom-color: #ececef !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-media {
  background: #f3f4f7 !important;
  border-color: #e4e4e8 !important;
  color: #0866ff !important;
}

/* Aksiyon butonları */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-manage-edit,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-action-btn {
  color: #0866ff !important;
  background: color-mix(in srgb, #0866ff 8%, #ffffff) !important;
  border: 1px solid color-mix(in srgb, #0866ff 22%, #e4e4e8) !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-team-action-btn--danger {
  color: #b91c1c !important;
  background: color-mix(in srgb, #b91c1c 8%, #ffffff) !important;
  border-color: color-mix(in srgb, #b91c1c 22%, #e4e4e8) !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-btn {
  color: #ffffff !important;
  background: #0866ff !important;
  border-color: #0866ff !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-btn--ghost,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-empty-btn--secondary {
  color: #1a1a1f !important;
  background: #ffffff !important;
  border: 1px solid #e4e4e8 !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-empty-btn {
  color: #ffffff !important;
  background: #0866ff !important;
  border-color: #0866ff !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-add,
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-select-create {
  color: #0866ff !important;
  background: transparent !important;
  border: 1px dashed color-mix(in srgb, #0866ff 40%, #e4e4e8) !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-logo-placeholder {
  background: #f3f4f7 !important;
  border-color: #e4e4e8 !important;
  color: #5c5c66 !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-form-logo-pick {
  color: #ffffff !important;
  background: #0866ff !important;
  border-color: #0866ff !important;
}


/* Kompakt şirket seçici — Lisanslarım / Çalışanlarım / Bildirimlerim */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-block--company-select {
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  margin: 0 0 0.65rem !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-block--company-select
  > .studio-select-block-title {
  display: none !important;
}

/* Statione pill sekme çubuğu — şirket seçimi */
body.studio-page.studio-is-authenticated .studio-company-tabs {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.studio-page.studio-is-authenticated .studio-company-tabs .statione-home-tabs {
  width: 100%;
  min-width: 0;
}

body.studio-page.studio-is-authenticated
  .studio-company-tabs
  .statione-home-tabs__track {
  width: 100%;
}

body.studio-page.studio-is-authenticated
  .studio-company-tabs
  .statione-home-tabs__btn
  .studio-company-media {
  display: none !important;
}

body.studio-page.studio-is-authenticated
  .studio-company-tabs
  .statione-home-tabs__btn.is-selected {
  text-shadow: none;
  color: #ffffff !important;
}

body.studio-page.studio-is-authenticated
  .studio-company-tabs
  .statione-home-tabs__btn.is-selected
  .studio-company-name,
body.studio-page.studio-is-authenticated
  .studio-company-tabs
  .statione-home-tabs__btn.is-selected
  .studio-company-text {
  color: #ffffff !important;
}

body.studio-page.studio-is-authenticated
  .studio-company-tabs
  .studio-company-tabs__create
  .studio-company-name {
  font-weight: 600;
}

body.studio-page.studio-is-authenticated
  .studio-company-detail__delete
  .statione-armut-settings__row-icon,
body.studio-page.studio-is-authenticated
  .studio-company-detail__delete
  .statione-armut-settings__row-title {
  color: #c62828;
}

body.studio-page.studio-is-authenticated
  .studio-company-tabs
  .studio-company-select-hint {
  margin: 0.55rem 0 0;
  padding: 0 0.1rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #8a8a93;
}

body.studio-page.studio-is-authenticated
  .studio-company-tabs
  .studio-company-select-create {
  width: 100%;
  margin: 0.55rem 0 0;
  padding: 0.65rem 0.75rem;
  color: #0866ff;
  background: transparent;
  border: 1px dashed color-mix(in srgb, #0866ff 40%, #e4e4e8);
  border-radius: 12px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-company-tabs
  .statione-home-tabs__indicator {
  background: #0866ff !important;
  background-image: none !important;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-company-tabs
  .statione-home-tabs__indicator.has-photo {
  background: #0866ff !important;
  background-image: none !important;
}

/* Şirketlerim — seçili şirket ayrıntısı (Ayarlar tarzı) */
body.studio-page.studio-is-authenticated .studio-company-detail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
  color: #1a1a1f;
}

body.studio-page.studio-is-authenticated .studio-company-detail[hidden] {
  display: none !important;
}

body.studio-page.studio-is-authenticated .studio-company-detail__hello {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0.15rem 0 0.45rem;
  padding: 0.15rem 0.1rem 0.65rem;
  border-bottom: 1px solid #ececef;
}

body.studio-page.studio-is-authenticated .studio-company-detail__hello-text {
  min-width: 0;
  flex: 1;
}

body.studio-page.studio-is-authenticated .studio-company-detail__title {
  margin: 0;
  font-family: Metropolis, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #1a1a1f;
}

body.studio-page.studio-is-authenticated .studio-company-detail__role {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: #8a8a93;
}

body.studio-page.studio-is-authenticated .studio-company-detail__avatar {
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2f8;
  color: #0866ff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.studio-page.studio-is-authenticated .studio-company-detail__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.studio-page.studio-is-authenticated .studio-company-detail__list,
body.studio-page.studio-is-authenticated .studio-company-detail__actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body.studio-page.studio-is-authenticated .studio-company-detail__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  padding: 0.85rem 0.1rem;
  border-bottom: 1px solid #ececef;
  box-sizing: border-box;
}

body.studio-page.studio-is-authenticated .studio-company-detail__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

body.studio-page.studio-is-authenticated .studio-company-detail__list > li:last-child .studio-company-detail__row {
  border-bottom: none;
}

body.studio-page.studio-is-authenticated .studio-company-detail__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #8a8a93;
}

body.studio-page.studio-is-authenticated .studio-company-detail__value {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
  color: #1a1a1f;
  word-break: break-word;
}

body.studio-page.studio-is-authenticated .studio-company-detail__input {
  width: 100%;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border: 1px solid #d8d8de;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1f;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  box-sizing: border-box;
  resize: vertical;
}

body.studio-page.studio-is-authenticated .studio-company-detail__input:focus {
  outline: none;
  border-color: #0866ff;
  box-shadow: 0 0 0 3px color-mix(in srgb, #0866ff 18%, transparent);
}

body.studio-page.studio-is-authenticated .studio-company-detail__action {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #0866ff;
  cursor: pointer;
}

body.studio-page.studio-is-authenticated .studio-company-detail__action svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

body.studio-page.studio-is-authenticated .studio-company-detail__action:hover {
  background: color-mix(in srgb, #0866ff 10%, transparent);
}

body.studio-page.studio-is-authenticated .studio-company-detail__action:disabled {
  opacity: 0.45;
  cursor: wait;
}

body.studio-page.studio-is-authenticated .studio-company-detail__row.is-editing .studio-company-detail__action {
  color: #0f9d58;
}

body.studio-page.studio-is-authenticated .studio-company-detail__actions {
  margin-top: 0.45rem;
  border-top: 1px solid #ececef;
}

/* Şirketlerim: içerik kadar yükseklik, X yok, üst boşluk yok */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  > .studio-select-block--my-companies:not([hidden]) {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  flex: 0 0 auto !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-company-empty {
  min-height: 0 !important;
  justify-content: flex-start;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-company-detail
  .statione-armut-settings__row {
  padding-left: 0.1rem;
  padding-right: 0.1rem;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-company-form--plain {
  gap: 0.85rem;
  padding-top: 0.25rem;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-company-form--plain
  .studio-company-form-field
  label,
body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-company-form--plain
  .studio-company-form-logo-label {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5c5c66 !important;
}

/* Lisanslarım — Ayarlar / Şirketlerim satır dili */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  > .studio-select-block--licenses:not([hidden]) {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  flex: 0 0 auto !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--licenses {
  padding: 0.35rem 0 0.75rem !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  color: #1a1a1f;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: transparent !important;
  border: none !important;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-detail__list
  > li:last-child
  .statione-armut-settings__row {
  border-bottom: none;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-empty {
  padding: 1rem 0.1rem;
  color: #8a8a93;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 500;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-detail__icon
  .studio-select-product-media {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 6px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f7;
  border: none;
  box-shadow: none;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-detail__icon
  .studio-select-product-media
  img,
body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-detail__icon
  .studio-select-product-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-form--plain {
  gap: 0.85rem;
  padding: 0.25rem 0 0;
  background: transparent;
  border: none;
  color: #1a1a1f;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-form--plain
  .studio-license-form-field
  label {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5c5c66 !important;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-form--plain
  .studio-license-form-field
  input,
body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-form--plain
  .studio-license-form-field
  select {
  color: #1a1a1f;
  background: #fff;
  border: 1px solid #d8d8de;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-license-form--plain
  .studio-license-form-hint {
  color: #8a8a93;
}

/* Çalışanlarım — Ayarlar satır dili */
body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  > .studio-select-block--team:not([hidden]) {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  flex: 0 0 auto !important;
}

body.studio-page.studio-is-authenticated.statione-market-layout
  .studio-select-stage--subpanel
  .studio-select-panel--team {
  padding: 0.35rem 0 0.75rem !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  color: #1a1a1f;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-detail__heading {
  margin: 0.85rem 0 0.15rem;
  padding: 0 0.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #8a8a93 !important;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-detail__heading:first-child {
  margin-top: 0.15rem;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-detail__list,
body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-detail__actions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: transparent !important;
  border: none !important;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-detail__actions-list {
  margin-top: 0.35rem;
  border-top: 1px solid #ececef;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-detail__row {
  cursor: default;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-detail__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  min-width: 7.5rem;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-detail__role {
  width: 100%;
  min-height: 2rem;
  padding: 0.3rem 0.45rem !important;
  font-size: 0.78rem !important;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-detail__remove {
  border: none;
  background: transparent;
  color: #c62828;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
  padding: 0.15rem 0.1rem;
  cursor: pointer;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-empty {
  padding: 0.85rem 0.1rem;
  color: #8a8a93;
  font-size: 0.92rem;
  font-weight: 500;
  list-style: none;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-form--plain {
  gap: 0.75rem;
  padding: 0.25rem 0 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #1a1a1f;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-form--plain
  .studio-team-hint,
body.studio-page.studio-is-authenticated
  .studio-select-stage--subpanel
  .studio-team-form--plain
  .studio-team-invite-result {
  color: #8a8a93;
}
