/* Statione — Aparath mavisi (#0866FF) + #2b2b2b gövde */

:root {
  --accent: #b91c1c;
  --statione-bg: #2b2b2b;
  --statione-text: #ffffff;
  --statione-calc-add: #4c97ff;
  --statione-calc-subtract: #ff8c1a;
  --statione-calc-body-bg: #f5f5f5;
  --statione-calc-body-text: #1a1a1f;
  --statione-panel-radius: 18px;
  --statione-panel-gap: 1.25rem;
}

/* Scroll çubukları gizli — kaydırma davranışı korunur (masaüstü + mobil) */
html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html *,
body * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html *::-webkit-scrollbar,
body *::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html:has(body.statione-page),
body.statione-page {
  background: var(--statione-bg);
  --bg-primary: var(--statione-bg);
  color: var(--statione-text);
}

body.statione-page {
  margin: 0;
  min-height: 100%;
}

.statione-main {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: transparent;
}

.studio-select-view {
  position: relative;
  z-index: 2;
  --studio-block-width: min(280px, 100%);
}

body.statione-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;
  box-sizing: border-box;
}

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

body.statione-is-authenticated .studio-select-inner,
body.statione-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.statione-is-authenticated .studio-select-stage,
body.statione-is-authenticated .studio-select-stage--subpanel,
body.statione-is-authenticated .studio-select-stage:not(.studio-select-stage--subpanel) {
  display: flex;
  flex-direction: column;
  gap: var(--statione-panel-gap);
  width: 100%;
  max-width: 100%;
}

/* Studio ile aynı üst başlık + intro */
body.statione-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.statione-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.statione-is-authenticated .studio-mobile-header-brand[data-studio-brand-home] {
  cursor: pointer;
}

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

body.statione-is-authenticated .studio-brand-tm {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.05em;
}

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

body.statione-is-authenticated .studio-mobile-header-home,
body.statione-is-authenticated .studio-mobile-header-search,
body.statione-is-authenticated .studio-mobile-header-scan,
body.statione-is-authenticated .studio-mobile-header-notify,
body.statione-is-authenticated .studio-mobile-header-download,
body.statione-is-authenticated .studio-mobile-header-print,
body.statione-is-authenticated .studio-mobile-header-share,
body.statione-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.statione-is-authenticated .studio-mobile-header-home svg,
body.statione-is-authenticated .studio-mobile-header-search svg,
body.statione-is-authenticated .studio-mobile-header-scan svg,
body.statione-is-authenticated .studio-mobile-header-notify svg,
body.statione-is-authenticated .studio-mobile-header-download svg,
body.statione-is-authenticated .studio-mobile-header-print svg,
body.statione-is-authenticated .studio-mobile-header-share svg,
body.statione-is-authenticated .studio-mobile-header-settings svg {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
}

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

body.statione-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.statione-is-authenticated .studio-mobile-header-notify-badge[hidden] {
  display: none !important;
}

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

body.statione-is-authenticated .studio-mobile-header-home:hover,
body.statione-is-authenticated .studio-mobile-header-search:not(:disabled):hover,
body.statione-is-authenticated .studio-mobile-header-scan:hover,
body.statione-is-authenticated .studio-mobile-header-notify:not(:disabled):hover,
body.statione-is-authenticated .studio-mobile-header-download:hover,
body.statione-is-authenticated .studio-mobile-header-print:hover,
body.statione-is-authenticated .studio-mobile-header-share:hover,
body.statione-is-authenticated .studio-mobile-header-settings:hover {
  opacity: 0.72;
}

body.statione-is-authenticated .studio-mobile-header-settings.is-long-pressing {
  opacity: 1;
  transform: scale(0.92);
  transition: transform 0.12s ease, opacity 0.12s ease;
}

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

body.statione-is-authenticated .studio-mobile-header-download,
body.statione-is-authenticated .studio-mobile-header-print,
body.statione-is-authenticated .studio-mobile-header-share {
  display: none !important;
}

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

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

body.statione-is-authenticated .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.statione-settings-menu-open .studio-settings-backdrop,
body.statione-notify-menu-open .studio-settings-backdrop,
body.statione-personnel-menu-open .studio-settings-backdrop,
body.statione-search-menu-open .studio-settings-backdrop,
body.studio-settings-menu-open .studio-settings-backdrop,
body.studio-notify-menu-open .studio-settings-backdrop,
body.studio-search-menu-open .studio-settings-backdrop,
body.studio-scan-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;
}

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

body.statione-is-authenticated .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.statione-settings-menu-open .studio-settings-menu,
body.studio-settings-menu-open .studio-settings-menu,
body.statione-personnel-menu-open .statione-market-header__personnel-wrap .studio-settings-menu,
body.statione-view-menu-open .statione-market-header__view-wrap .studio-settings-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

body.statione-is-authenticated .statione-vardiya-export-wrap {
  position: relative;
  display: inline-flex;
}

body.studio-settings-menu-open .statione-vardiya-export-wrap--open,
body.statione-settings-menu-open .statione-vardiya-export-wrap--open {
  position: relative;
  z-index: 230;
}

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

body.statione-is-authenticated .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.statione-notify-menu-open .studio-notify-menu,
body.studio-notify-menu-open .studio-notify-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.statione-is-authenticated .studio-search-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 230;
  width: min(320px, 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.statione-search-menu-open .studio-search-menu,
body.studio-search-menu-open .studio-search-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.statione-is-authenticated .studio-search-menu[hidden] {
  display: none !important;
}

body.statione-is-authenticated .studio-search-menu__field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.45rem 0.55rem 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.statione-is-authenticated .studio-search-menu__field-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.45);
}

body.statione-is-authenticated .studio-search-menu__field-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

body.statione-is-authenticated .studio-search-menu__input {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary, #1a1a1f);
  outline: none;
}

body.statione-is-authenticated .studio-search-menu__input::placeholder {
  color: rgba(0, 0, 0, 0.42);
}

body.statione-is-authenticated .studio-search-menu__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

body.statione-is-authenticated .studio-search-menu__results {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  max-height: min(52vh, 300px);
  overflow-y: auto;
  padding: 0.3rem 0;
}

body.statione-is-authenticated .studio-search-menu__hint {
  margin: 0;
  padding: 0.65rem 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
}

body.statione-is-authenticated .studio-search-menu__result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.625rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

body.statione-is-authenticated .studio-search-menu__result:hover,
body.statione-is-authenticated .studio-search-menu__result:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}

body.statione-is-authenticated .studio-search-menu__result-label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary, #1a1a1f);
}

body.statione-is-authenticated .studio-search-menu__result-desc {
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.55);
}

body.statione-is-authenticated .studio-search-menu__result-group {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.38);
}

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

body.statione-is-authenticated .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;
}

body.statione-is-authenticated .studio-notify-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.statione-is-authenticated .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;
}

body.statione-is-authenticated .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);
}

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

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

body.statione-is-authenticated .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;
}

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

body.statione-is-authenticated .statione-notify-push-prompt {
  margin-bottom: 0.25rem;
  color: rgba(29, 29, 31, 0.72);
  font-size: 0.8125rem;
  line-height: 1.35;
}

body.statione-is-authenticated .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: #1a1a1f;
  text-align: right;
  cursor: pointer;
  transition: background 0.15s;
  box-sizing: border-box;
}

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

body.statione-is-authenticated .studio-settings-menu-item--restart {
  color: #1f9d55;
}

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

body.statione-is-authenticated .studio-settings-menu-item--sign-out {
  color: #e54d4d;
}

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

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

body.statione-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.statione-is-authenticated .studio-mobile-greeting-name {
  font-weight: inherit;
  color: inherit;
}

body.statione-is-authenticated .statione-mobile-date-row {
  position: relative;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  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.statione-is-authenticated .statione-mobile-date-label {
  color: inherit;
}

body.statione-is-authenticated .statione-mobile-date-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.125rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 0;
  transition: opacity 0.2s;
}

body.statione-is-authenticated .statione-mobile-date-toggle:hover,
body.statione-is-authenticated .statione-mobile-date-toggle:focus-visible {
  opacity: 0.72;
}

body.statione-is-authenticated .statione-mobile-date-toggle svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

body.statione-is-authenticated .statione-mobile-date-input {
  position: absolute;
  left: 0;
  top: 100%;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

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

.statione-screen {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #fff;
}

.statione-loading-screen {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
  color: #1a1a1a;
}

.statione-loading-screen__content {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
}

.statione-loading-screen__bar {
  position: relative;
  width: min(11rem, 56vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2caca;
}

.statione-loading-screen__bar::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: #b91c1c;
  animation: statione-loading-bar-slide 1.15s ease-in-out infinite;
}

@keyframes statione-loading-bar-slide {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(260%);
  }
}

.statione-loading-screen__brand {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 2rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
}

.statione-loading-screen__logo {
  display: block;
  /* Önceki boyutun yarısı */
  width: min(4.5rem, 23vw);
  height: auto;
}

.statione-loading-screen__wordmark {
  display: inline-block;
  font-family: Metropolis;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #7f1d1d;
}

.statione-screen--message {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.5rem;
  background: #2b2b2b;
  color: #fff;
}

.statione-screen--message .statione-screen__inner {
  max-width: 28rem;
  text-align: center;
}

.statione-screen--message p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.statione-screen--message a {
  color: #7eb6ff;
}

.statione-screen__inner {
  display: flex;
  flex-direction: column;
  gap: var(--statione-panel-gap);
  width: 100%;
}

.statione-screen__back {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
}

.statione-screen__back a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
}

.statione-screen__back a:hover {
  color: #fff;
}

.statione-screen__loading {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Aparath mavi panel */
.statione-panel,
.statione-info-block.statione-panel {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--accent);
  border-radius: var(--statione-panel-radius);
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: none;
  isolation: isolate;
  overflow: hidden;
}

.statione-panel__title,
.statione-info-block__title {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

/* Ana sayfa — bölüm sekmeleri (mobil: yan yana; masaüstü: mavi blok içinde dikey) */
body.statione-is-authenticated .statione-home-tabs-panel {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
}

body.statione-is-authenticated .statione-home-tabs {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .statione-home-tabs__btn {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.5rem 0.45rem;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .statione-home-tabs__btn:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .statione-home-tabs__btn.is-selected {
  background: #fff;
  border-color: #fff;
  color: var(--text-primary, #1a1a1f);
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .statione-home-tabs__btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

body.statione-is-authenticated .statione-home-tabs-panel .studio-company-media {
  flex-shrink: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  border: none;
  color: currentColor;
  overflow: visible;
  box-sizing: border-box;
}

body.statione-is-authenticated .statione-home-tabs-panel .studio-company-media svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  color: currentColor;
}

body.statione-is-authenticated .statione-home-tabs-panel .studio-company-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
}

body.statione-is-authenticated .statione-home-tabs-panel .studio-company-name {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

body.statione-is-authenticated .statione-home-tabs-panel .studio-company-role {
  display: none;
}

body.statione-is-authenticated:not(.statione-market-layout)
  .statione-home-tabs-panel
  .statione-home-tabs__btn.is-selected
  .studio-company-media {
  background: transparent;
  border: none;
  color: var(--accent);
}

body.statione-is-authenticated:not(.statione-market-layout)
  .statione-home-tabs-panel
  .statione-home-tabs__btn.is-selected
  .studio-company-media svg {
  color: var(--accent);
}

/* Ana sayfa — sekme + mavi panel */
body.statione-is-authenticated .statione-home-nav {
  display: flex;
  flex-direction: column;
  gap: var(--statione-panel-gap);
  width: 100%;
}

/* Ana sayfa — hızlı işlem ızgarası */
body.statione-is-authenticated .statione-home-layout {
  display: flex;
  flex-direction: column;
  gap: var(--statione-panel-gap);
  width: 100%;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel-shell {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.34s ease,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 0;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel-shell.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel-shell.is-open .statione-home-quick-panel-shell__clip {
  overflow: visible;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel-shell__clip {
  overflow: hidden;
  min-height: 0;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel {
  width: 100%;
  background: var(--accent);
  border: none;
  border-radius: var(--statione-panel-radius);
  padding: 1.15rem 1rem 1.25rem;
  box-sizing: border-box;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel--animated {
  animation: statione-home-quick-panel-in 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes statione-home-quick-panel-in {
  from {
    opacity: 0.55;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel-shell {
    transition: none;
    transform: none;
  }

  body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel--animated {
    animation: none;
  }
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel a.studio-company-item {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
  text-align: left;
  text-decoration: none;
  font-family: inherit;
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel a.studio-company-item:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel a.studio-company-item.is-selected {
  background: #fff;
  border-color: #fff;
  color: var(--text-primary, #1a1a1f);
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel a.studio-company-item.is-selected:hover {
  background: #fff;
  border-color: #fff;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel .studio-company-media {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  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;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel .studio-company-media svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--accent);
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel .studio-company-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel .studio-company-name {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  word-break: break-word;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel .studio-company-role {
  font-size: 0.625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel a.studio-company-item.is-selected .studio-company-role {
  color: var(--text-secondary, #6b6b6f);
}

body.statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel a.studio-company-item.is-selected .studio-company-media {
  background: #fff;
  border-color: rgba(43, 43, 43, 0.1);
  color: var(--accent);
}

/* Ana sayfa — Studio şirket seçici bloğu ile aynı */
body.statione-is-authenticated .statione-home-modules {
  width: 100%;
}

body.statione-is-authenticated .statione-home-modules .studio-select-panel--companies {
  position: relative;
  background: var(--accent);
  border: none;
  border-radius: var(--statione-panel-radius);
  padding: 1rem;
  max-height: none;
  overflow: visible;
}

body.statione-is-authenticated .statione-home-modules .studio-select-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.statione-is-authenticated .statione-home-modules .studio-company-list {
  gap: 0.5rem;
}

body.statione-is-authenticated .statione-home-modules a.studio-company-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem;
  text-align: left;
  text-decoration: none;
  font-family: inherit;
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

body.statione-is-authenticated .statione-home-modules a.studio-company-item:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
}

body.statione-is-authenticated .statione-home-modules a.studio-company-item.is-selected {
  background: #fff;
  border-color: #fff;
  color: var(--text-primary, #1a1a1f);
}

body.statione-is-authenticated .statione-home-modules a.studio-company-item.is-selected:hover {
  background: #fff;
  border-color: #fff;
}

body.statione-is-authenticated .statione-home-modules .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;
}

body.statione-is-authenticated .statione-home-modules .studio-company-media svg {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--accent);
}

body.statione-is-authenticated .statione-home-modules .studio-company-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

body.statione-is-authenticated .statione-home-modules .studio-company-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

body.statione-is-authenticated .statione-home-modules .studio-company-role {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

body.statione-is-authenticated .statione-home-modules a.studio-company-item.is-selected .studio-company-role {
  color: var(--text-secondary, #6b6b6f);
}

body.statione-is-authenticated .statione-home-modules a.studio-company-item.is-selected .studio-company-media {
  background: #fff;
  border-color: rgba(43, 43, 43, 0.1);
  color: var(--accent);
}

/* Alt sayfa kısayolları */
.statione-shortcuts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.statione-shortcuts__link {
  display: grid;
  gap: 0.1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  color: #fff;
  transition: background 0.15s ease;
}

.statione-shortcuts__link:hover {
  background: rgba(0, 0, 0, 0.22);
}

.statione-shortcuts__label {
  font-size: 0.9375rem;
  font-weight: 700;
}

.statione-shortcuts__desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Placeholder sayfa */
.statione-page-placeholder__status {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.statione-page-placeholder__hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

/* Info block satır listesi */
.statione-info-block__list {
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  overflow: hidden;
}

.statione-info-block__row {
  display: grid;
  grid-template-columns: 7.75rem 1fr;
  gap: 0.35rem 0.85rem;
  padding: 0.55rem 0.85rem;
  align-items: start;
}

.statione-info-block__row + .statione-info-block__row {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.statione-info-block__row dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.statione-info-block__row dd {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  word-break: break-word;
}

@media (max-width: 380px) {
  .statione-info-block__row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* İşlem formu */
.statione-form {
  display: grid;
  gap: 0.65rem;
}

.statione-form__field {
  display: grid;
  gap: 0.22rem;
}

.statione-form__field--wide {
  grid-column: 1 / -1;
}

.statione-form__field span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.statione-form__field input,
.statione-form__field select {
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  padding: 0 0.7rem;
  box-sizing: border-box;
}

.statione-form__personnel {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.statione-form__error {
  margin: 0;
  font-size: 0.8125rem;
  color: #ffc9c9;
}

.statione-form__success {
  margin: 0;
  font-size: 0.8125rem;
  color: #b8f5c8;
}

.statione-form__submit {
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.statione-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.statione-customer-picker {
  display: grid;
  gap: 0.25rem;
  position: relative;
}

.statione-customer-picker__hint {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
}

.statione-customer-picker__list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.statione-customer-picker__list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font-size: 0.8125rem;
}

.statione-customer-picker__list button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.statione-customer-picker__badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 220, 100, 0.25);
  color: #ffe9a8;
}

.statione-op-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  overflow: hidden;
}

.statione-op-list__item {
  padding: 0.6rem 0.85rem;
}

.statione-op-list__item + .statione-op-list__item {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.statione-op-list__main {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.statione-op-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
}

.statione-op-list__main .is-positive {
  color: #b8f5c8;
}

.statione-op-list__main .is-negative {
  color: #ffc9c9;
}

.statione-ledger-filters {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.statione-ledger-filters input[type='search'] {
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  padding: 0 0.7rem;
}

.statione-ledger-filters__check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.statione-cari-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.statione-cari-list__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
}

.statione-cari-list__btn:hover {
  background: rgba(0, 0, 0, 0.22);
}

.statione-cari-list__ok {
  font-size: 0.65rem;
  color: #b8f5c8;
}

.statione-cari-layout {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

body.statione-is-authenticated .statione-cari-toolbar {
  display: grid;
  gap: 0.65rem;
  padding: 0 0 0.85rem;
  min-width: 0;
}

body.statione-is-authenticated .statione-defter-header {
  display: grid;
  gap: 0.65rem;
  padding: 0 0 0.85rem;
  min-width: 0;
}

body.statione-is-authenticated .statione-defter-header__search-row {
  min-width: 0;
}

body.statione-is-authenticated .statione-defter-header__search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0 0.65rem;
  padding-right: 0.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.12);
}

body.statione-is-authenticated .statione-defter-header__search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.72);
}

body.statione-is-authenticated .statione-defter-header__search-icon svg {
  width: 1rem;
  height: 1rem;
}

body.statione-is-authenticated .statione-defter-header__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.35;
  outline: none;
}

body.statione-is-authenticated .statione-defter-header__search-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

body.statione-is-authenticated .statione-defter-header__search-input:disabled {
  opacity: 0.72;
  cursor: default;
}

body.statione-is-authenticated .statione-defter-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

body.statione-is-authenticated .statione-defter-subtitle {
  margin: 0 0 0.85rem;
}

body.statione-is-authenticated .statione-cari-toolbar__main {
  min-width: 0;
}

body.statione-is-authenticated .statione-cari-toolbar__search {
  width: 100%;
  min-width: 0;
  padding-right: 0.35rem;
}

body.statione-is-authenticated .statione-cari-toolbar__inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

body.statione-is-authenticated .statione-cari-toolbar__inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

body.statione-is-authenticated .statione-cari-toolbar__inline-icon svg {
  width: 1rem;
  height: 1rem;
}

body.statione-is-authenticated .statione-cari-toolbar__inline-icon:hover {
  color: #fff;
}

body.statione-is-authenticated .statione-cari-toolbar__inline-icon.is-active {
  color: #fff;
}

body.statione-is-authenticated .statione-cari-customer-edit {
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.12);
}

body.statione-is-authenticated .statione-cari-search-panel__field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.12);
}

.statione-cari-search-panel__icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
}

.statione-cari-search-panel__icon svg {
  width: 100%;
  height: 100%;
}

.statione-cari-search-panel__input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  outline: none;
}

.statione-cari-search-panel__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.statione-cari-search-panel__add-actions {
  display: grid;
  gap: 0.45rem;
}

.statione-cari-search-panel__add-btn {
  width: 100%;
  min-height: 2.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.statione-cari-search-panel__add-btn:hover {
  background: rgba(0, 0, 0, 0.24);
}

.statione-cari-search-panel__form-title {
  margin: 0 0 0.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

body.statione-is-authenticated .statione-cari-search-panel__form {
  gap: 0.55rem;
}

body.statione-is-authenticated .statione-cari-search-panel__form .statione-form__field span {
  color: rgba(255, 255, 255, 0.9);
}

body.statione-is-authenticated .statione-cari-search-panel__form .statione-form__field input,
body.statione-is-authenticated .statione-cari-search-panel__form .statione-form__field select {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
}

body.statione-is-authenticated .statione-cari-search-panel__form .statione-form__field select option {
  color: #111;
  background: #fff;
}

.statione-form__required {
  color: #ffd4d4;
}

.statione-customer-picker__ledger {
  opacity: 0.72;
  font-weight: 500;
}

.statione-cari-layout__toast {
  margin: 0.35rem 0 0;
}

.statione-cari-table__name {
  display: inline;
}

body.statione-is-authenticated .statione-cari-table__row {
  cursor: pointer;
}

body.statione-is-authenticated .statione-cari-table__row.is-selected td,
body.statione-is-authenticated .statione-operation-recent__row.is-selected td {
  background: #eef4ff;
}

body.statione-is-authenticated .statione-operation-recent__row--interactive {
  cursor: pointer;
}

.statione-operation-detail {
  padding-top: 0.15rem;
}

body.statione-is-authenticated .statione-vardiya-table__row--deletable,
body.statione-is-authenticated .statione-operation-sheet__row--deletable {
  cursor: pointer;
  touch-action: manipulation;
}

body.statione-is-authenticated .statione-vardiya-table__row.is-long-pressing td,
body.statione-is-authenticated .statione-operation-sheet__row.is-long-pressing td {
  background: rgba(255, 255, 255, 0.22);
}

body.statione-is-authenticated .statione-vardiya-table__row.is-deleting td,
body.statione-is-authenticated .statione-operation-sheet__row.is-deleting td {
  opacity: 0.55;
}

.statione-vardiya-page__summary {
  margin: 0.5rem 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  line-height: 1.45;
}

.statione-cari-customer-detail {
  display: grid;
  gap: 0.75rem;
  padding: 0 0 0.85rem;
  min-width: 0;
}

.statione-cari-detail-page {
  display: grid;
  gap: 1rem;
  padding: 0 0 1rem;
  min-width: 0;
}

.statione-cari-detail-page__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.statione-cari-detail-page__back {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.statione-cari-detail-page__back:hover {
  color: #fff;
}

.statione-cari-detail-page__edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.statione-cari-detail-page__edit svg {
  width: 1rem;
  height: 1rem;
}

.statione-cari-detail-page__edit:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.statione-cari-detail-page__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.08));
}

.statione-cari-detail-page__identity {
  min-width: 0;
  flex: 1 1 12rem;
}

.statione-cari-detail-page__ledger {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.statione-cari-detail-page__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  word-break: break-word;
}

.statione-cari-detail-page__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}

.statione-cari-detail-page__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.statione-cari-detail-page__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.375rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
}

.statione-cari-detail-page__badge--warn {
  background: rgba(255, 193, 7, 0.18);
  color: #ffe082;
}

.statione-cari-detail-page__badge--muted {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.statione-cari-detail-page__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.statione-cari-detail-page__metric {
  display: grid;
  gap: 0.15rem;
  min-width: 7rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.statione-cari-detail-page__metric-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.statione-cari-detail-page__metric-value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}

.statione-cari-detail-page__metric.is-positive .statione-cari-detail-page__metric-value {
  color: #8fe3a8;
}

.statione-cari-detail-page__metric.is-negative .statione-cari-detail-page__metric-value {
  color: #ffb4b4;
}

.statione-cari-detail-page__metric--action {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.statione-cari-detail-page__metric--action:hover,
.statione-cari-detail-page__metric--action.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.statione-cari-detail-page__metric-chevron {
  font-size: 0.9375rem;
  line-height: 1;
}

.statione-cari-detail-page__sections {
  display: grid;
  gap: 0.85rem;
}

.statione-cari-detail-page__section {
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.1);
}

.statione-cari-detail-page__section--full {
  margin-top: 0;
}

.statione-cari-detail-page__section-title {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.statione-cari-detail-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
  margin: 0;
}

.statione-cari-detail-page__item {
  min-width: 0;
}

.statione-cari-detail-page__item dt {
  margin: 0 0 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.statione-cari-detail-page__item dd {
  margin: 0;
  font-size: 0.8125rem;
  color: #fff;
  word-break: break-word;
}

.statione-cari-detail-page__hint {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
}

.statione-cari-operation-edit {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .statione-cari-detail-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.statione-cari-customer-detail__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.statione-cari-customer-detail__back {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.statione-cari-customer-detail__back:hover {
  color: #fff;
}

.statione-cari-customer-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.12);
}

.statione-cari-customer-detail__item {
  min-width: 0;
}

.statione-cari-customer-detail__item dt {
  margin: 0 0 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.statione-cari-customer-detail__item dd {
  margin: 0;
  font-size: 0.8125rem;
  color: #fff;
  word-break: break-word;
}

@media (min-width: 768px) {
  .statione-cari-customer-detail__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.statione-cari-operations-panel {
  margin-top: 1rem;
}

.statione-form__actions {
  display: flex;
  gap: 0.5rem;
}

.statione-form__secondary {
  flex: 1;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.statione-form__actions .statione-form__submit {
  flex: 1;
}

.statione-form__danger {
  width: 100%;
  height: 42px;
  margin-top: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 201, 201, 0.55);
  background: rgba(120, 24, 24, 0.35);
  color: #ffe8e8;
  font-weight: 600;
  cursor: pointer;
}

.statione-form__danger:hover:not(:disabled) {
  background: rgba(140, 32, 32, 0.5);
}

.statione-form__danger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.statione-form__danger--delete {
  border-color: rgba(255, 160, 160, 0.7);
  background: rgba(90, 16, 16, 0.45);
}

.statione-cari-customer-edit__admin {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.statione-cari-customer-edit__archived-note {
  margin: 0 0 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.statione-cari-customer-edit__admin-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.statione-cari-table__archived-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(107, 114, 128, 0.18);
  color: #4b5563;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.statione-cari-archived-panel {
  margin-top: 0.75rem;
}

.statione-cari-archived-panel__toggle {
  width: 100%;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.statione-cari-archived-panel__toggle:disabled {
  opacity: 0.6;
  cursor: wait;
}

.statione-cari-archived-panel__table-wrap {
  margin-top: 0.65rem;
}

.statione-cari-table--archived {
  opacity: 0.96;
}

.statione-cari-detail-page__metric--balance {
  align-items: stretch;
}

.statione-cari-detail-page__balance-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
}

.statione-cari-detail-page__balance-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.statione-cari-detail-page__balance-line-values {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  text-align: right;
  font-weight: 600;
}

.statione-cari-detail-page__balance-line-values.is-positive {
  color: #86efac;
}

.statione-cari-detail-page__balance-line-values.is-negative {
  color: #fca5a5;
}

.statione-cari-detail-page__balance-qty {
  font-weight: 500;
  opacity: 0.9;
}

body.statione-is-authenticated
  .statione-panel--cari
  .statione-operation-sheet__row.is-saved.is-archived-profile
  td {
  background: #f3f4f6;
  color: #6b7280;
}

body.statione-is-authenticated
  .statione-panel--cari
  .statione-operation-sheet__row.is-saved.is-row-selected
  td {
  background: #eef4ff;
}

.statione-cari-table__select-col {
  width: 2.5rem;
  text-align: center;
  vertical-align: middle;
}

.statione-cari-table__open-col {
  width: 2.25rem;
  padding-inline: 0.25rem !important;
  text-align: center;
  vertical-align: middle;
}

.statione-cari-table__open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.statione-cari-table__open-btn svg {
  width: 1rem;
  height: 1rem;
}

.statione-cari-table__open-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

body.statione-market-layout.statione-is-authenticated .statione-cari-table__open-btn {
  color: var(--statione-market-header-muted, #666666);
}

body.statione-market-layout.statione-is-authenticated .statione-cari-table__open-btn:hover {
  color: var(--statione-market-accent, var(--color-primary));
  background: rgba(8, 102, 255, 0.08);
}

.statione-cari-table__checkbox {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.statione-cari-table__checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.statione-cari-table__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.statione-cari-table__sort.is-active {
  color: var(--color-primary);
}

.statione-cari-table__sort-icon {
  font-size: 0.75rem;
  opacity: 0.72;
}

.statione-cari-bulk-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.875rem;
}

.statione-cari-bulk-bar__delete,
.statione-cari-bulk-bar__clear,
.statione-cari-bulk-bar__merge {
  height: 34px;
  padding: 0 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.statione-cari-bulk-bar__merge {
  border-color: rgba(201, 230, 255, 0.55);
  background: rgba(24, 72, 120, 0.35);
}

.statione-cari-bulk-bar__delete {
  border-color: rgba(255, 201, 201, 0.55);
  background: rgba(120, 24, 24, 0.35);
}

.statione-cari-bulk-bar__delete:disabled,
.statione-cari-bulk-bar__clear:disabled,
.statione-cari-bulk-bar__merge:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.statione-cari-toolbar__inline-icon.is-danger {
  color: #ffc9c9;
}

body.statione-is-authenticated .statione-cari-table__footer td {
  background: #eef2ff;
  border-top: 2px solid color-mix(in srgb, var(--color-primary) 28%, #d1d5db);
  font-weight: 700;
}

body.statione-is-authenticated .statione-cari-table__footer-label {
  color: var(--color-primary);
}

body.statione-is-authenticated .statione-cari-table__footer-count {
  color: #4b5563;
  font-weight: 600;
}

body.statione-is-authenticated .statione-cari-table__footer-total {
  font-weight: 700;
}

.statione-kasa-net {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

.statione-kasa-net .is-positive {
  color: #b8f5c8;
}

.statione-kasa-net .is-negative {
  color: #ffc9c9;
}

body.statione-is-authenticated .statione-kasa-summary {
  margin-top: 0.75rem;
}

body.statione-is-authenticated .statione-kasa-summary__title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

body.statione-is-authenticated .statione-kasa-summary__table {
  min-width: 100%;
}

body.statione-is-authenticated .statione-kasa-summary__amount-cell {
  min-width: 7.5rem;
  padding: 0.2rem 0.35rem;
}

body.statione-is-authenticated .statione-kasa-summary__amount-input {
  width: 100%;
  min-width: 6.5rem;
  padding: 0.25rem 0.4rem;
  font-size: 0.8125rem;
}

body.statione-is-authenticated .statione-kasa-shift-amounts {
  margin-bottom: 0.85rem;
}

body.statione-is-authenticated .statione-kasa-details-toggle {
  margin: 1.1rem 0 0.85rem;
}

body.statione-is-authenticated .statione-kasa-details-toggle__button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.25rem 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

body.statione-is-authenticated .statione-kasa-details-toggle__line {
  flex: 1 1 auto;
  border-top: 1px dashed #c8ced8;
  height: 0;
}

body.statione-is-authenticated .statione-kasa-details-toggle__label {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.01em;
}

body.statione-is-authenticated .statione-kasa-details-toggle__button:hover .statione-kasa-details-toggle__label,
body.statione-is-authenticated .statione-kasa-details-toggle__button:focus-visible .statione-kasa-details-toggle__label {
  color: #374151;
}

body.statione-is-authenticated .statione-kasa-details-toggle__button:focus-visible {
  outline: 2px solid rgba(8, 102, 255, 0.35);
  outline-offset: 2px;
  border-radius: 4px;
}

body.statione-is-authenticated .statione-kasa-module {
  margin-top: 1rem;
}

body.statione-is-authenticated .statione-kasa-module__sheet {
  margin-top: 0;
}

body.statione-is-authenticated .statione-kasa-module__table th[colspan='2'] {
  text-align: center;
}

body.statione-is-authenticated .statione-kasa-module__entry-row td {
  background: rgba(8, 102, 255, 0.06);
  border-top: 2px solid rgba(8, 102, 255, 0.18);
}

body.statione-is-authenticated .statione-panel--cari .statione-kasa-module__entry-cell .statione-operation-sheet__input {
  color: #1a1a1f;
}

body.statione-is-authenticated .statione-kasa-module__entry-cell.is-muted {
  opacity: 0.45;
}

body.statione-is-authenticated .statione-kasa-filters-panel {
  margin-top: 1.25rem;
}

body.statione-is-authenticated .statione-kasa-filters-panel__hint {
  margin: 0 0 0.65rem;
}

body.statione-is-authenticated .statione-theme-editor {
  display: grid;
  gap: 0.85rem;
}

body.statione-is-authenticated .statione-theme-field {
  display: grid;
  gap: 0.35rem;
}

body.statione-is-authenticated .statione-theme-field__label {
  font-size: 0.8125rem;
  font-weight: 600;
}

body.statione-is-authenticated .statione-theme-field__inputs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

body.statione-is-authenticated .statione-theme-field__color {
  width: 2.75rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
}

body.statione-is-authenticated .statione-theme-field__hex {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
}

body.statione-is-authenticated .statione-calc-page__save--secondary {
  background: rgba(255, 255, 255, 0.08);
}

body.statione-is-authenticated .studio-scan-overlay {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
}

body.studio-scan-menu-open .studio-scan-overlay {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0s;
}

body.statione-is-authenticated .studio-scan-overlay__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  border-radius: 0;
  background: #ffffff;
  color: #1a1a1f;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
}

body.statione-is-authenticated .studio-scan-overlay__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0.5rem;
  flex-shrink: 0;
  min-height: 2.75rem;
  padding:
    max(0.85rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    0.55rem
    max(1rem, env(safe-area-inset-left));
  border-bottom: 1px solid #ececef;
  background: #ffffff;
}

body.statione-is-authenticated .studio-scan-overlay__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #1a1a1f;
  text-align: center;
}

body.statione-is-authenticated .studio-scan-overlay__close {
  position: absolute;
  right: max(0.85rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  margin-top: calc(max(0.85rem, env(safe-area-inset-top)) * 0.15);
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid #e4e4e8;
  border-radius: 999px;
  background: #f4f4f6;
  color: #1a1a1f;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

body.statione-is-authenticated .studio-scan-overlay__close:hover {
  background: #ececef;
  border-color: #d8d8de;
}

body.statione-is-authenticated .studio-scan-overlay__camera-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #000;
}

body.statione-is-authenticated .studio-scan-overlay__panel.is-camera .studio-scan-overlay__header--overlay {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

body.statione-is-authenticated .studio-scan-overlay__header--overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
  padding-top: max(0.75rem, env(safe-area-inset-top));
}

body.statione-is-authenticated .studio-scan-overlay__controls-dock {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
  padding: 1rem 1.1rem max(1.1rem, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent);
}

body.statione-is-authenticated .studio-scan-overlay__preview {
  position: relative;
  flex-shrink: 1;
  min-height: 0;
  margin: 0 1.1rem;
  aspect-ratio: 3 / 4;
  max-height: min(52dvh, 22rem);
  background: #000;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

body.statione-is-authenticated .studio-scan-overlay__panel.is-camera .studio-scan-overlay__preview {
  flex: 1;
  min-height: 0;
}

@media (max-width: 767px) {
  body.statione-is-authenticated .studio-scan-overlay__panel.is-camera .studio-scan-overlay__header--overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }

  body.statione-is-authenticated .studio-scan-overlay__panel.is-camera .studio-scan-overlay__preview {
    position: absolute;
    inset: 0;
    margin: 0;
    aspect-ratio: unset;
    max-height: none;
    border: none;
    border-radius: 0;
    flex: none;
  }

  body.statione-is-authenticated .studio-scan-overlay__panel.is-camera .studio-scan-overlay__controls-dock {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }
}

body.statione-is-authenticated .studio-scan-overlay__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.statione-is-authenticated .studio-scan-overlay__camera-error {
  margin: 0;
  padding: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

body.statione-is-authenticated .studio-scan-overlay__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-shrink: 0;
  padding: 0.85rem 1rem 0.45rem;
}

body.statione-is-authenticated .studio-scan-overlay__ctrl {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}

body.statione-is-authenticated .studio-scan-overlay__ctrl:hover {
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.42);
}

body.statione-is-authenticated .studio-scan-overlay__ctrl svg {
  width: 1.25rem;
  height: 1.25rem;
}

body.statione-is-authenticated .studio-scan-overlay__shutter {
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

body.statione-is-authenticated .studio-scan-overlay__shutter svg {
  width: 3.75rem;
  height: 3.75rem;
}

body.statione-is-authenticated .studio-scan-overlay__gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}

body.statione-is-authenticated .studio-scan-overlay__gallery:hover {
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.42);
}

body.statione-is-authenticated .studio-scan-overlay__gallery svg {
  width: 1.125rem;
  height: 1.125rem;
}

body.statione-is-authenticated .studio-scan-overlay__analyzing,
body.statione-is-authenticated .studio-scan-overlay__confirm {
  flex: 1;
  min-height: 0;
  padding:
    0.85rem
    max(1rem, env(safe-area-inset-right))
    max(1.15rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
}

body.statione-is-authenticated .studio-scan-overlay__thumb {
  display: block;
  width: 100%;
  max-height: 9.5rem;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #ececef;
  margin-bottom: 0.95rem;
  background: #f4f4f6;
}

body.statione-is-authenticated .studio-scan-overlay__analyzing-text {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a4a52;
}

body.statione-is-authenticated .studio-scan-overlay__doctype {
  margin: 0 0 0.95rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #1a1a1f;
}

body.statione-is-authenticated .studio-scan-overlay__warn {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #b45309;
}

body.statione-is-authenticated .studio-scan-overlay__info {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: color-mix(in srgb, #b91c1c 10%, #ffffff);
  color: #7f1d1d;
  font-size: 0.875rem;
  line-height: 1.4;
}

body.statione-is-authenticated .studio-scan-overlay__field {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  padding: 0.65rem 0;
  border-bottom: 1px solid #ececef;
}

body.statione-is-authenticated .studio-scan-overlay__field span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8a8a93;
}

body.statione-is-authenticated .studio-scan-overlay__field input,
body.statione-is-authenticated .studio-scan-overlay__field select {
  width: 100%;
  min-height: 2.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  border: 1px solid #e4e4e8;
  background: #f7f7f9;
  color: #1a1a1f;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 550;
  box-sizing: border-box;
}

body.statione-is-authenticated .studio-scan-overlay__field input:focus,
body.statione-is-authenticated .studio-scan-overlay__field select:focus {
  outline: none;
  border-color: color-mix(in srgb, #b91c1c 45%, #e4e4e8);
  background: #ffffff;
}

body.statione-is-authenticated .studio-scan-overlay__hint {
  font-size: 0.78rem;
  color: #b45309;
}

body.statione-is-authenticated .studio-scan-overlay__error {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: #b91c1c;
}

body.statione-is-authenticated .studio-scan-overlay__success {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: #15803d;
}

body.statione-is-authenticated .studio-scan-overlay__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 0.35rem;
}

body.statione-is-authenticated .studio-scan-overlay__btn {
  flex: none;
  width: 100%;
  min-height: 3rem;
  border-radius: 14px;
  border: 1px solid #e4e4e8;
  background: #ffffff;
  color: #1a1a1f;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

body.statione-is-authenticated .studio-scan-overlay__btn:hover:not(:disabled) {
  background: #f4f4f6;
  border-color: #d8d8de;
}

body.statione-is-authenticated .studio-scan-overlay__btn--primary {
  flex: none;
  border: 0;
  background: #b91c1c;
  color: #ffffff;
}

body.statione-is-authenticated .studio-scan-overlay__btn--primary:hover:not(:disabled) {
  background: color-mix(in srgb, #000000 10%, #b91c1c);
  border-color: transparent;
  color: #ffffff;
}

body.statione-is-authenticated .studio-scan-overlay__btn:disabled {
  opacity: 0.55;
  cursor: default;
}

body.statione-is-authenticated .studio-scan-overlay__confirm .statione-customer-picker {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid #ececef;
  color: #1a1a1f;
}

body.statione-is-authenticated .studio-scan-overlay__confirm .statione-customer-picker__hint {
  color: #8a8a93;
}

body.statione-is-authenticated .studio-scan-overlay__confirm .statione-customer-picker input,
body.statione-is-authenticated .studio-scan-overlay__confirm .statione-customer-picker__list button {
  background: #f7f7f9;
  border-color: #e4e4e8;
  color: #1a1a1f;
}

body.statione-is-authenticated .studio-scan-overlay__customer-chips {
  margin: 0 0 0.35rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #ececef;
}

body.statione-is-authenticated .studio-scan-overlay__customer-chips-label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8a8a93;
}

body.statione-is-authenticated .studio-scan-overlay__customer-chips .statione-operation-page-chips {
  gap: 0.4rem;
}

body.statione-is-authenticated .studio-scan-overlay__customer-chips .statione-operation-page-chips__chip {
  border-color: #e4e4e8;
  background: #f7f7f9;
  color: #1a1a1f;
  cursor: pointer;
  font: inherit;
}

body.statione-is-authenticated
  .studio-scan-overlay__customer-chips
  .statione-operation-page-chips__chip--new {
  border-style: dashed;
  border-color: color-mix(in srgb, #b91c1c 35%, #e4e4e8);
  background: color-mix(in srgb, #b91c1c 8%, #ffffff);
  color: #b91c1c;
  font-weight: 600;
}

@media (max-width: 767px) {
  body.statione-is-authenticated .studio-scan-overlay__panel.is-camera {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    background: #000;
    box-shadow: none;
  }

  body.statione-is-authenticated .studio-scan-overlay__panel.is-camera .studio-scan-overlay__camera-stage {
    height: 100%;
  }
}

@media (min-width: 768px) {
  body.statione-is-authenticated .studio-scan-overlay__panel.is-camera {
    max-height: min(88dvh, 40rem);
    background: var(--accent);
  }

  body.statione-is-authenticated .studio-scan-overlay__panel.is-camera .studio-scan-overlay__preview {
    margin: 0 1.1rem;
    aspect-ratio: 3 / 4;
    max-height: min(52dvh, 22rem);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  body.statione-is-authenticated .studio-scan-overlay__panel.is-camera .studio-scan-overlay__header--overlay {
    background: transparent;
    padding-top: 0.65rem;
  }

  body.statione-is-authenticated .studio-scan-overlay__panel.is-camera .studio-scan-overlay__controls-dock {
    background: transparent;
    padding-bottom: 1rem;
  }

  body.statione-is-authenticated .studio-scan-overlay__panel.is-camera .studio-scan-overlay__camera-stage {
    background: var(--accent);
  }
}

/* İşlem girişi — tablo (mobil + masaüstü) */
body.statione-is-authenticated .statione-operation-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.statione-is-authenticated .statione-operation-sheet > * {
  grid-column: 1;
  min-width: 0;
  max-width: 100%;
  justify-self: stretch;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__table,
body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__table {
  min-width: 20rem;
}

@media (max-width: 767px) {
  body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__table th,
  body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__table th {
    font-size: 0.625rem;
    padding: 0.4rem 0.45rem;
  }

  body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__input,
  body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__input {
    height: 2.5rem;
    font-size: 16px;
    padding: 0 0.45rem;
  }

  body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__saved-cell,
  body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__saved-cell {
    font-size: 0.75rem;
    padding: 0.4rem 0.45rem;
  }

  body.statione-is-authenticated .statione-panel--cari .statione-cari-table__row td:nth-child(2) {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

/* ——— Masaüstü (mobil dokunulmaz) ——— */
@media (min-width: 768px) {
  body:not(.statione-force-mobile-chrome).statione-is-authenticated .studio-mobile-header-download,
  body:not(.statione-force-mobile-chrome).statione-is-authenticated .studio-mobile-header-print,
  body:not(.statione-force-mobile-chrome).statione-is-authenticated .studio-mobile-header-share {
    display: flex !important;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .studio-select-view {
    --studio-select-column-width: min(1280px, calc(100% - 3rem));
    align-items: stretch;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .studio-mobile-header {
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: calc(var(--studio-mobile-section-gap, 3.5rem) / 2);
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .studio-mobile-header-brand {
    flex: 0 1 auto;
    font-size: 2rem;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .studio-mobile-header-end {
    margin-left: auto;
    flex-shrink: 0;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .studio-select-inner {
    min-width: 0;
    overflow-x: clip;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .studio-select-stage--subpanel {
    min-width: 0;
    max-width: 100%;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .statione-home-layout {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .statione-home-layout:not(:has(.statione-screen)) {
    grid-template-columns: minmax(0, max-content);
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-nav {
    display: grid;
    grid-template-columns: 15.5rem 0;
    gap: 0;
    align-items: start;
    min-width: 0;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-nav:has(.statione-home-quick-panel-shell.is-open) {
    grid-template-columns: 15.5rem 15.5rem;
    gap: 1rem;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel {
    grid-column: 1;
    grid-row: 1;
    width: 15.5rem;
    height: fit-content;
    align-self: start;
    flex-shrink: 0;
    background: var(--accent);
    border-radius: var(--statione-panel-radius);
    padding: 1.15rem 1rem 1.25rem;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs {
    flex-direction: column;
    gap: 0.45rem;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .statione-home-tabs__btn {
    flex: none;
    width: 100%;
    gap: 0.625rem;
    padding: 0.75rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.12);
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .studio-company-text {
    align-items: flex-start;
    gap: 0.1rem;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .studio-company-name {
    font-size: 0.8125rem;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .studio-company-role {
    display: block;
    font-size: 0.625rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .studio-company-media {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #fff;
    color: var(--accent);
    overflow: hidden;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .studio-company-media svg {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--accent);
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout)
    .statione-home-tabs-panel
    .statione-home-tabs__btn.is-selected
    .studio-company-role {
    color: var(--text-secondary, #6b6b6f);
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout)
    .statione-home-tabs-panel
    .statione-home-tabs__btn.is-selected
    .studio-company-media {
    background: #fff;
    border-color: rgba(43, 43, 43, 0.1);
    color: var(--accent);
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel-shell {
    grid-column: 2;
    grid-row: 1;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout)
    .statione-home-layout:not(:has(.statione-home-quick-panel-shell.is-open))
    .statione-home-quick-panel-shell {
    max-width: 0;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel-shell {
    display: flex;
    flex-direction: column;
    grid-template-rows: unset;
    align-self: start;
    max-width: 0;
    min-height: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-8px);
    pointer-events: none;
    transition:
      max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.34s ease,
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel-shell.is-open {
    max-width: 15.5rem;
    height: auto;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel-shell__clip {
    width: 15.5rem;
    min-width: 0;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel {
    height: fit-content;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .statione-home-layout > .statione-screen {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .statione-screen__inner {
    min-width: 0;
    max-width: 100%;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated .statione-screen .statione-panel {
    max-width: 100%;
  }

  body:not(.statione-force-mobile-chrome).statione-is-authenticated:not(.statione-market-layout) .statione-home-quick-panel--animated {
    animation: statione-home-quick-panel-in-desktop 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes statione-home-quick-panel-in-desktop {
    from {
      opacity: 0.55;
      transform: translateX(-4px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  body:not(.statione-force-mobile-chrome).statione-cari-search-active:not(.statione-market-layout) .statione-home-nav:has(.statione-home-quick-panel-shell.is-open) {
    grid-template-columns: 15.5rem 0;
    gap: 0;
  }

  body:not(.statione-force-mobile-chrome).statione-cari-search-active:not(.statione-market-layout) .statione-home-quick-panel-shell.is-open {
    max-width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
  }

}


/* İşlem sayfası — mavi panel içinde beyaz tablo / liste */
body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__wrap,
body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__wrap {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__table th,
body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__table th {
  background: #f4f5f7;
  color: #3d3d45;
  border: 1px solid #e2e4e8;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__table td,
body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__table td {
  background: #fff;
  border: 1px solid #e8eaed;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__row.has-content td,
body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__row.has-content td {
  background: #fff;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__row.is-next-draft td {
  border-style: dashed;
  border-color: #c8ced8;
  background: #eef0f3;
  opacity: 0.62;
}

body.statione-is-authenticated
  .statione-panel--operation
  .statione-operation-sheet__row.is-next-draft
  .statione-operation-sheet__input {
  color: #a8afb9;
  opacity: 0.75;
}

body.statione-is-authenticated
  .statione-panel--operation
  .statione-operation-sheet__row.is-next-draft
  .statione-operation-sheet__input::placeholder {
  color: #b8bec8;
}

body.statione-is-authenticated
  .statione-panel--operation
  .statione-operation-sheet__row.is-next-draft
  .statione-operation-sheet__status-cell {
  opacity: 0.45;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__input {
  color: #1a1a1f;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__input::placeholder {
  color: #9ca3af;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__input:focus {
  background: rgba(8, 102, 255, 0.06);
  box-shadow: inset 0 0 0 2px rgba(8, 102, 255, 0.35);
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__toolbar-field select {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  color: #1a1a1f;
}

body.statione-is-authenticated .statione-panel--operation .statione-op-list {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.statione-is-authenticated .statione-panel--operation .statione-op-list__item + .statione-op-list__item {
  border-top: 1px solid #e8eaed;
}

body.statione-is-authenticated .statione-panel--operation .statione-op-list__main {
  color: #1a1a1f;
}

body.statione-is-authenticated .statione-panel--operation .statione-op-list__meta {
  color: #6b7280;
}

body.statione-is-authenticated .statione-panel--operation .statione-page-placeholder__hint {
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  color: #6b7280;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-recent__cell {
  padding: 0.5rem 0.55rem;
  font-size: 0.8125rem;
  color: #1a1a1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-recent__cell.is-positive {
  color: #0f6b2d;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-recent__cell.is-negative {
  color: #b42318;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-recent__row td {
  background: #fff;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-recent__status {
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  color: #6b7280;
  text-align: center;
  background: #fff;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__saved-cell,
body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__saved-cell {
  padding: 0.5rem 0.55rem;
  font-size: 0.8125rem;
  color: #1a1a1f;
  background: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__saved-cell.is-positive {
  color: #0f6b2d;
}

body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__saved-cell.is-negative {
  color: #b42318;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__row.is-saved td,
body.statione-is-authenticated .statione-panel--cari .statione-operation-sheet__row.is-saved td {
  background: #fff;
}

body.statione-is-authenticated
  .statione-panel--cari
  .statione-operation-sheet__row.is-saved.is-incomplete-profile
  td {
  background: #fff8e6;
}

body.statione-is-authenticated
  .statione-panel--operation
  .statione-operation-sheet__row.is-saved.is-loading
  td {
  text-align: center;
  color: #6b7280;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__status-col {
  width: 2.1rem;
  min-width: 2.1rem;
  max-width: 2.1rem;
  padding-left: 0.25rem;
  padding-right: 0.35rem;
  text-align: center;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__status-cell {
  width: 2.1rem;
  min-width: 2.1rem;
  max-width: 2.1rem;
  padding: 0.35rem 0.35rem;
  text-align: center;
  vertical-align: middle;
  background: #fff;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__status-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

body.statione-is-authenticated
  .statione-panel--operation
  .statione-operation-sheet__status-icon--synced {
  color: #16a34a;
}

body.statione-is-authenticated
  .statione-panel--operation
  .statione-operation-sheet__status-cell--synced {
  background: rgba(22, 163, 74, 0.16);
}

body.statione-is-authenticated
  .statione-panel--operation
  .statione-operation-sheet__status-icon--pending {
  color: #ea580c;
}

body.statione-is-authenticated
  .statione-panel--operation
  .statione-operation-sheet__status-icon--failed {
  color: #dc2626;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__row.is-pending td {
  background: #fffbeb;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__row.is-failed td {
  background: #fef2f2;
}

body.statione-is-authenticated .statione-operation-sheet__toolbar {
  margin-bottom: 0.75rem;
}

body.statione-is-authenticated .statione-operation-sheet__toolbar-field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

body.statione-is-authenticated .statione-operation-sheet__toolbar-field select {
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  padding: 0 0.55rem;
}

body.statione-is-authenticated .statione-operation-sheet__wrap {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: 0;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

body.statione-is-authenticated .statione-operation-sheet__table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

body.statione-is-authenticated .statione-operation-sheet__table th {
  padding: 0.5rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

body.statione-is-authenticated .statione-operation-sheet__table td {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  vertical-align: middle;
  background: rgba(0, 0, 0, 0.08);
}

body.statione-is-authenticated .statione-operation-sheet__row.has-content td {
  background: rgba(0, 0, 0, 0.14);
}

body.statione-is-authenticated .statione-operation-sheet__row.is-next-draft td {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  opacity: 0.48;
}

body.statione-is-authenticated
  .statione-operation-sheet__row.is-next-draft
  .statione-operation-sheet__input {
  color: rgba(255, 255, 255, 0.42);
  opacity: 0.65;
}

body.statione-is-authenticated
  .statione-operation-sheet__row.is-next-draft
  .statione-operation-sheet__input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

body.statione-is-authenticated
  .statione-operation-sheet__row.is-next-draft
  .statione-operation-sheet__status-cell {
  opacity: 0.35;
}

body.statione-is-authenticated .statione-operation-sheet__row.is-saved.is-saving td {
  opacity: 0.65;
}

body.statione-is-authenticated .statione-operation-sheet__input {
  width: 100%;
  min-width: 0;
  height: 2.35rem;
  margin: 0;
  padding: 0 0.55rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  box-sizing: border-box;
  outline: none;
}

body.statione-is-authenticated .statione-operation-sheet__input:focus {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}

body.statione-is-authenticated .statione-operation-sheet__customer-cell {
  position: relative;
}

body.statione-is-authenticated .statione-operation-sheet__customer-list {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  max-height: 10rem;
  overflow-y: auto;
}

body.statione-is-authenticated .statione-operation-sheet__customer-list--portal {
  z-index: 10000;
}

body.statione-is-authenticated .statione-operation-sheet__customer-list button {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #1a1a1f;
  font: inherit;
  font-size: 0.8125rem;
  text-align: left;
  cursor: pointer;
}

body.statione-is-authenticated .statione-operation-sheet__customer-list button:hover {
  background: rgba(8, 102, 255, 0.1);
}

body.statione-is-authenticated .statione-operation-sheet__message {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}

body.statione-is-authenticated .statione-operation-sheet__message--error {
  color: #ffc9c9;
}

body.statione-is-authenticated .statione-operation-sheet__message--success {
  color: #b8f5c8;
}

body.statione-is-authenticated .statione-operation-sheet__notes {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.85rem 0.75rem 1.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  line-height: 1.5;
}

body.statione-is-authenticated .statione-operation-sheet__notes li + li {
  margin-top: 0.45rem;
}

body.statione-is-authenticated .statione-operation-sheet__notes li::marker {
  color: rgba(255, 255, 255, 0.55);
}

body.statione-is-authenticated .statione-operation-sheet__heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  margin: 0 0 0.65rem;
  padding-inline: 0;
  box-sizing: border-box;
}

body.statione-is-authenticated .statione-operation-sheet__heading {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
}

body.statione-is-authenticated .statione-operation-sheet__heading-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  flex: 0 0 auto;
  margin-left: auto;
}

body.statione-is-authenticated .statione-page-action__label {
  display: none;
}

body.statione-is-authenticated .statione-operation-page-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

body.statione-is-authenticated .statione-operation-page-chips__chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

body.statione-is-authenticated .statione-operation-page-chips__chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

body.statione-is-authenticated .statione-operation-page-chips__chip.is-active {
  background: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 70%, #fff);
  color: #fff;
}

body.statione-is-authenticated .statione-panel--operation .statione-operation-sheet__row.is-next-draft {
  cursor: pointer;
}

/* Tercihler — ürün / banka tabloları */
body.statione-is-authenticated .statione-panel--tercihler .statione-preference-table__hint {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

body.statione-is-authenticated .statione-tercihler-section__title {
  margin: 0.85rem 0 0.45rem;
  padding: 0 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

body.statione-is-authenticated .statione-tercihler-section:first-child .statione-tercihler-section__title {
  margin-top: 0;
}

body.statione-is-authenticated .statione-customer-import__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

body.statione-is-authenticated .statione-customer-import__file-name {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
}

body.statione-is-authenticated .statione-customer-import__summary {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.82);
}

body.statione-is-authenticated .statione-customer-import__table-wrap {
  margin-bottom: 0.85rem;
}

body.statione-is-authenticated .statione-customer-import__cell-input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  box-sizing: border-box;
}

body.statione-is-authenticated .statione-customer-import__row--invalid {
  background: rgba(255, 80, 80, 0.08);
}

body.statione-is-authenticated .statione-customer-import__row-error {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: #ffc9c9;
}

body.statione-is-authenticated .statione-customer-import__row-hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
}

body.statione-is-authenticated .statione-customer-import__remove {
  min-height: 34px;
  padding: 0 0.65rem;
}

body.statione-is-authenticated .statione-customer-import__actions {
  display: flex;
  justify-content: flex-end;
}

body.statione-is-authenticated .statione-preference-table__error {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  color: #ffc9c9;
}

body.statione-is-authenticated .statione-preference-table__success {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  color: #c8f7d0;
}

body.statione-is-authenticated .statione-preference-table__select-col {
  width: 2.5rem;
  text-align: center;
}

body.statione-is-authenticated .statione-preference-swap-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.875rem;
}

body.statione-is-authenticated .statione-preference-swap-bar__action,
body.statione-is-authenticated .statione-preference-swap-bar__clear {
  height: 34px;
  padding: 0 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

body.statione-is-authenticated .statione-preference-swap-bar__action {
  border-color: rgba(201, 230, 255, 0.55);
  background: rgba(24, 72, 120, 0.35);
}

body.statione-is-authenticated .statione-cari-gider-swap-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  align-items: end;
  margin-top: 0.5rem;
}

body.statione-is-authenticated .statione-cari-gider-swap-panel__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

body.statione-is-authenticated .statione-cari-gider-swap-panel__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

body.statione-is-authenticated .statione-cari-gider-swap-panel__submit {
  height: 40px;
  padding: 0 1rem;
  border-radius: 8px;
  border: 1px solid rgba(201, 230, 255, 0.55);
  background: rgba(24, 72, 120, 0.35);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

body.statione-is-authenticated .statione-cari-gider-swap-panel__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.statione-is-authenticated .statione-defter-merge-dialog {
  width: min(480px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

body.statione-is-authenticated .statione-defter-merge-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

body.statione-is-authenticated .statione-defter-merge-dialog__close {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
}

body.statione-is-authenticated .statione-defter-merge-dialog__hint {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

body.statione-is-authenticated .statione-defter-merge-dialog__list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.statione-is-authenticated .statione-defter-merge-dialog__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

body.statione-is-authenticated .statione-defter-merge-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

body.statione-is-authenticated .statione-defter-merge-dialog__cancel,
body.statione-is-authenticated .statione-defter-merge-dialog__confirm {
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

body.statione-is-authenticated .statione-defter-merge-dialog__cancel {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
}

body.statione-is-authenticated .statione-defter-merge-dialog__confirm {
  border: 1px solid color-mix(in srgb, var(--color-primary) 55%, #1d4ed8);
  background: color-mix(in srgb, var(--color-primary) 88%, #1d4ed8);
  color: #fff;
}

body.statione-is-authenticated .statione-defter-merge-dialog__confirm:disabled,
body.statione-is-authenticated .statione-defter-merge-dialog__cancel:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog {
  width: min(100%, 28rem);
  max-height: min(92dvh, 40rem);
  overflow: auto;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 14px;
  background: #fff;
  color: #1a1a1f;
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(15, 23, 42, 0.06);
}

body.statione-is-authenticated .statione-defter-dialog-overlay {
  z-index: 10050;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__header h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__close {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
  flex-shrink: 0;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__hint {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: color-mix(in srgb, #1a1a1f 68%, transparent);
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__form .statione-form__field span {
  color: color-mix(in srgb, #1a1a1f 78%, transparent);
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__cancel,
body.statione-is-authenticated .statione-defter-operation-add-dialog__confirm {
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__cancel {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  color: inherit;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__confirm {
  border: 1px solid color-mix(in srgb, var(--color-primary) 55%, #1d4ed8);
  background: color-mix(in srgb, var(--color-primary) 88%, #1d4ed8);
  color: #fff;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__confirm:disabled,
body.statione-is-authenticated .statione-defter-operation-add-dialog__cancel:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__meta {
  margin: 0;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}

body.statione-is-authenticated .statione-defter-operation-add-dialog__error {
  margin: 0;
  color: var(--color-danger, #b91c1c);
  font-size: 0.88rem;
}

body.statione-is-authenticated .statione-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.statione-is-authenticated .statione-preference-table__active-col {
  width: 8.5rem;
  min-width: 8.5rem;
  text-align: center;
}

body.statione-is-authenticated .statione-preference-table__setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.5rem;
  padding: 0 0.65rem;
}

body.statione-is-authenticated .statione-preference-table__setting-label {
  font-size: 0.875rem;
  font-weight: 600;
}

body.statione-is-authenticated .statione-preference-cache-panel {
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}

body.statione-is-authenticated .statione-preference-cache-panel__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0 0.65rem 0.35rem;
}

body.statione-is-authenticated .statione-preference-cache-panel__button {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--statione-market-header-text, #1a1a1f);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}

body.statione-is-authenticated .statione-preference-cache-panel__button:hover:not(:disabled) {
  border-color: rgba(0, 0, 0, 0.22);
}

body.statione-is-authenticated .statione-preference-cache-panel__button:disabled {
  opacity: 0.55;
  cursor: default;
}

body.statione-is-authenticated .statione-preference-cache-panel__message {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--statione-market-header-muted, #666666);
}

body.statione-is-authenticated .statione-operation-sheet__gider-description {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

body.statione-is-authenticated .statione-preference-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

body.statione-is-authenticated .statione-preference-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

body.statione-is-authenticated .statione-preference-toggle__track {
  position: relative;
  width: 2.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  transition: background 0.15s ease;
}

body.statione-is-authenticated .statione-preference-toggle__thumb {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease;
}

body.statione-is-authenticated .statione-preference-toggle input:checked + .statione-preference-toggle__track {
  background: #34c759;
}

body.statione-is-authenticated
  .statione-preference-toggle
  input:checked
  + .statione-preference-toggle__track
  .statione-preference-toggle__thumb {
  transform: translateX(1rem);
}

body.statione-is-authenticated .statione-preference-toggle input:disabled + .statione-preference-toggle__track {
  opacity: 0.55;
}

body.statione-is-authenticated .statione-preference-toggle__label {
  min-width: 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
}

body.statione-is-authenticated .statione-preference-toggle input:checked ~ .statione-preference-toggle__label {
  color: #15803d;
}

body.statione-is-authenticated .statione-operation-sheet__method-cell {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

body.statione-is-authenticated .statione-operation-sheet__method-cell .statione-operation-sheet__input {
  width: 100%;
  min-width: 0;
}

body.statione-is-authenticated .statione-preference-accordion__toolbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

body.statione-is-authenticated .statione-preference-accordion__toolbar-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

body.statione-is-authenticated .statione-preference-accordion__name-inner {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

body.statione-is-authenticated .statione-preference-accordion__expand {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

body.statione-is-authenticated .statione-preference-accordion__expand svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.15s ease;
}

body.statione-is-authenticated .statione-preference-accordion__expand.is-open svg {
  transform: rotate(90deg);
}

body.statione-is-authenticated .statione-preference-accordion__expand-spacer {
  flex: 0 0 1.5rem;
  width: 1.5rem;
}

body.statione-is-authenticated .statione-preference-accordion__label {
  min-width: 0;
}

body.statione-is-authenticated .statione-preference-accordion__row--depth-1 .statione-preference-accordion__name-cell {
  padding-left: 1.25rem;
}

body.statione-is-authenticated .statione-preference-accordion__row--depth-2 .statione-preference-accordion__name-cell {
  padding-left: 2.5rem;
}

body.statione-is-authenticated .statione-panel--tercihler .statione-preference-accordion__toolbar-btn {
  border-color: #d8dbe0;
  background: #f4f5f7;
  color: #3d3d45;
}

body.statione-is-authenticated .statione-panel--tercihler .statione-preference-accordion__expand {
  color: #3d3d45;
}

@media (min-width: 768px) {
  body.statione-is-authenticated:not(.statione-market-layout) .statione-home-tabs-panel .statione-home-tabs__btn .studio-company-name {
    font-size: 0.75rem;
  }
}

.statione-calc-page__lead {
  margin: 0 0 0.85rem;
}

.statione-calc-page__module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.statione-calc-page__module-tab {
  margin: 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.statione-calc-page__module-tab.is-active {
  background: #fff;
  color: #1a1a1f;
  border-color: #fff;
}

.statione-calc-page__actions {
  display: flex;
  justify-content: flex-end;
  margin: 0.85rem 0 0.35rem;
}

.statione-calc-page__save {
  margin: 0;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1f;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.statione-calc-page__save:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.statione-calc-page__example {
  margin: 0.75rem 0 0;
}

.statione-merkez-kasa-sources__wrap {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.statione-merkez-kasa-sources__modules {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.statione-merkez-kasa-sources__module {
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.1);
}

.statione-merkez-kasa-sources__module-title {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.statione-merkez-kasa-sources__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.statione-merkez-kasa-sources__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.statione-calc-editor {
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.14);
}

.statione-calc-editor__result-cap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}

.statione-calc-editor__result-eq {
  opacity: 0.72;
}

.statione-calc-editor__stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.statione-calc-editor__empty {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
}

.statione-calc-editor__add-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.statione-calc-editor__add-block {
  margin: 0;
  padding: 0.45rem 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.statione-calc-editor__add-block--secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.82);
}

body.statione-is-authenticated .statione-vardiya-shift-fields {
  margin: 0 0 0.85rem;
}

body.statione-is-authenticated .statione-vardiya-shift-fields__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.65rem;
}

body.statione-is-authenticated .statione-vardiya-shift-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

body.statione-is-authenticated .statione-vardiya-shift-field__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

body.statione-is-authenticated .statione-vardiya-shift-field__input {
  width: 100%;
  min-height: 2.35rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #1a1a1f;
}

body.statione-is-authenticated .statione-vardiya-shift-fields__loading,
body.statione-is-authenticated .statione-vardiya-shift-fields__error {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
}

.statione-calc-block {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.statione-calc-block--add {
  background: var(--statione-calc-add);
  color: #fff;
}

.statione-calc-block--subtract {
  background: var(--statione-calc-subtract);
  color: #fff;
}

.statione-calc-block__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
}

.statione-calc-block__sign {
  width: 2.25rem;
  padding: 0.2rem 0.35rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.statione-calc-block__title {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 700;
}

.statione-calc-block__remove {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}

.statione-calc-block__body {
  padding: 0.55rem 0.65rem 0.65rem;
  background: var(--statione-calc-body-bg);
  color: var(--statione-calc-body-text);
}

.statione-calc-block__field {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.statione-calc-block__select,
.statione-calc-block__input {
  width: 100%;
  padding: 0.4rem 0.5rem;
  border: 1px solid #d8dbe0;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1f;
  font: inherit;
  font-size: 0.8125rem;
}

.statione-calc-block__hint {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.statione-calc-block__filters {
  list-style: none;
  margin: 0 0 0.45rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.statione-calc-block__filter-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1.2fr) auto;
  gap: 0.35rem;
  align-items: center;
}

.statione-calc-block__filter-empty {
  margin: 0;
  font-size: 0.75rem;
  color: #b45309;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .statione-calc-block__filter-row {
    grid-template-columns: 1fr 1fr;
  }

  .statione-calc-block__filter-label {
    grid-column: 1 / -1;
  }

  .statione-calc-block__filter-eq {
    display: none;
  }

  .statione-calc-block__filter-remove {
    justify-self: end;
  }
}

.statione-calc-block__filter-label,
.statione-calc-block__filter-eq {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
}

.statione-calc-block__filter-remove {
  border: none;
  background: transparent;
  color: #b42318;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.statione-calc-block__add-filter {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
