/* Usta paneli — anasayfa kromu + operasyon kabuğu. */

body.panel-body {
  --panel-max: 1180px;
  --sidebar: 260px;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

.panel-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}

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

.panel-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--bg);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 22px 18px 18px;
  z-index: 50;
}

.panel-sidebar .logo {
  font-size: 22px;
  margin: 0 8px 22px;
}

.sidebar-shop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.sidebar-shop:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1;
  flex: 0 0 auto;
}

.sidebar-shop-copy {
  min-width: 0;
}

.sidebar-shop strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}

.sidebar-role {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.sidebar-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 10px 8px;
}

body.panel-body .panel-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  background: transparent;
  position: static;
  flex: 1;
  overflow: auto;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.nav-group .sidebar-label { margin-top: 0; }

.panel-tabs.hidden { display: none !important; }

body.panel-body .panel-tabs a {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-left: 3px solid transparent;
}

body.panel-body .panel-tabs a svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

body.panel-body .panel-tabs a[hidden] { display: none !important; }

.nav-badge {
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

body.panel-body .panel-tabs a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

body.panel-body .panel-tabs a[aria-current="page"] {
  background: rgba(227, 28, 61, 0.16);
  color: #fff;
  border-left-color: var(--accent);
}

.sidebar-foot {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.sidebar-foot .btn {
  width: 100%;
}

.sidebar-foot button {
  min-height: 48px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.panel-stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.panel-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 28px 0;
}

.topbar-actions,
.palette-btn {
  margin-left: auto;
}

.palette-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.palette-btn svg {
  width: 18px;
  height: 18px;
}

.palette-btn[hidden] { display: none !important; }

.palette-btn kbd {
  font-size: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--muted);
}

.topbar-copy { min-width: 0; flex: 1; }

.sidebar-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  place-items: center;
}

.sidebar-toggle .menu-icon,
.sidebar-toggle .menu-icon::before,
.sidebar-toggle .menu-icon::after {
  background: var(--fg);
}

.panel-topbar h2 {
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.panel-wrap {
  width: min(100% - 40px, var(--panel-max));
  margin: 12px auto 64px;
  padding: 0;
}

.panel-head {
  align-items: flex-end;
  margin-bottom: 18px;
}

.panel-head h1 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.panel-head .eyebrow { margin-bottom: 8px; }
.panel-head .plate-stack { margin-top: 12px; }

.panel-note,
.panel-lead {
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.5;
}

.panel-note {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 18px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.kpi-card,
a.kpi-card {
  background: var(--bg-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-decoration: none;
  min-height: 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  grid-template-rows: auto auto 1fr;
  column-gap: 10px;
  align-items: start;
}

.kpi-label {
  grid-column: 1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-value {
  grid-column: 1;
  font-size: 36px;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 8px 0 0;
}

.kpi-hint {
  grid-column: 1;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
  padding-top: 10px;
}

.kpi-spark-el {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: 96px;
  height: 46px;
  pointer-events: none;
}

.kpi-card:hover,
a.kpi-card:hover {
  border-color: rgba(227, 28, 61, 0.35);
}

.kpi-card[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.sheet-panel {
  background: var(--bg-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 18px 8px;
}

.sheet-form {
  padding: 22px;
  max-width: 520px;
  display: grid;
}

.sheet-panel.is-empty .work-table-head { display: none; }

.toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}

.toolbar:has(> .btn) {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.search {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  box-shadow: none;
  margin-bottom: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-bottom: 8px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip-toggle {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-raised);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.chip-toggle[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.work-table-head {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 110px;
  gap: 12px;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.card-list { gap: 0; }

.row-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  box-shadow: none;
  background: transparent;
}

.row-card:last-child { border-bottom: 0; }

.row-card:hover {
  background: var(--soft);
  box-shadow: none;
  border-color: var(--line-soft);
}

.row-card.customer-row {
  grid-template-columns: 1fr;
}

.row-card.customer-row strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.work-row-main { min-width: 0; }

.work-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.work-row-top strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.work-row-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.work-row-teaser {
  margin: 6px 0 0;
  color: var(--fg-2);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-row-amt {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  justify-self: end;
}

.plate-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tr-plate {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid #1a1a1a;
  border-radius: 5px;
  overflow: hidden;
  background: #f7f7f4;
  line-height: 1;
  vertical-align: middle;
  box-shadow: 0 1px 2px var(--line-strong);
}

.tr-plate-eu {
  background: #003399;
  color: #fff;
  min-width: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tr-plate-body {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 9px 4px;
  font-size: 15px;
  color: #111;
  white-space: nowrap;
}

.tr-plate-body b { font-weight: 800; }

.tr-plate-sm .tr-plate-body { font-size: 13px; padding: 4px 7px 3px; }
.tr-plate-sm .tr-plate-eu { font-size: 7px; min-width: 16px; }

.tr-plate-lg {
  border-width: 3px;
  border-radius: 8px;
}

.tr-plate-lg .tr-plate-eu {
  min-width: 28px;
  font-size: 11px;
  padding: 0 7px;
}

.tr-plate-lg .tr-plate-body {
  font-size: 28px;
  padding: 10px 16px 8px;
}

.tr-plate-empty {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.work-identity {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.work-identity h1 {
  font-size: 28px;
  letter-spacing: -0.03em;
}

.work-detail,
.detail-page {
  font-weight: 500;
  -webkit-font-smoothing: auto;
}

.work-detail .muted,
.detail-page .muted {
  font-weight: 500;
  color: var(--fg-2);
}

.detail-page .field {
  font-weight: 500;
  font-size: 16px;
}

.work-detail {
  display: grid;
  gap: 16px;
  padding-bottom: 24px;
}

.work-hero,
.work-section {
  background: var(--bg-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.work-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.work-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-jump {
  width: 100%;
  margin-top: 18px;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.customer-jump.is-static {
  cursor: default;
}

.customer-jump em {
  display: block;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 2px;
}

.customer-jump strong {
  display: block;
  font-size: 21px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.customer-jump-meta {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
}

.customer-jump-go {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.customer-jump-go svg {
  width: 18px;
  height: 18px;
}

.customer-jump:hover:not(.is-static) {
  border-color: rgba(227, 28, 61, 0.35);
}

.work-hero-facts {
  margin: 14px 0 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--fg);
}

.work-hero-date {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
}

.work-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  gap: 16px;
  align-items: start;
}

.work-detail-grid.is-single {
  grid-template-columns: 1fr;
}

.work-section h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
  margin: 0 0 14px;
}

.work-summary {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--fg);
}

.work-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 17px;
  font-weight: 600;
}

.work-line:last-child { border-bottom: 0; }

.work-line.is-sub {
  color: var(--muted);
  font-size: 16px;
}

.work-line.is-total {
  margin-top: 4px;
  border-bottom: 0;
  font-size: 18px;
}

.work-line.is-total strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.work-pay-label {
  font-size: 18px;
  font-weight: 700;
}

.pay-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-detail .chip-toggle {
  min-height: 48px;
  padding: 0 16px;
  font-size: 16px;
}

.invoice-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
}

.work-detail .sticky-bar .btn {
  flex: 1;
  min-height: 52px;
}

.pay-pill.partial {
  background: rgba(245, 170, 60, 0.14);
  color: #f5b95e;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-pill.open {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg-2);
}

.status-pill.done {
  background: rgba(52, 199, 110, 0.13);
  color: #62d593;
}

.pay-pill {
  min-height: 26px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-card {
  border: 1px solid var(--line-soft);
  box-shadow: none;
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-raised);
}

.detail-card[data-invite-card] {
  padding: 24px;
}

.detail-card[data-invite-card] h2 {
  margin-bottom: 8px;
}

.detail-card[data-invite-card] > .btn {
  width: 100%;
}

.detail-card h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.dash-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 14px;
}

.shop-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--bg-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
}

.shop-hero-logo,
.shop-hero-logo-fallback {
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--soft);
}

.shop-hero-logo-fallback {
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--muted);
}

.shop-hero h1 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.04em;
  margin: 0 0 6px;
  line-height: 1.05;
}

.shop-hero-meta {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.join-stamp {
  background: var(--bg-deep);
  border: 1px solid rgba(227, 28, 61, 0.4);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.join-stamp span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.join-stamp strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 36px;
  letter-spacing: 0.12em;
}

.join-stamp > div { display: grid; gap: 2px; }

.join-stamp p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  max-width: 38ch;
  line-height: 1.4;
}

.join-stamp .btn-light { background: var(--bg-raised); }

.shop-hero .eyebrow { margin-bottom: 8px; }
.shop-hero .btn { justify-self: end; }

.empty,
.state {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 40px 20px;
}

.choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
  border: 1px solid var(--line-soft);
  box-shadow: none;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.choice-card strong {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.choice-card:hover { border-color: var(--accent); }

.sticky-bar {
  background: rgba(27, 27, 27, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
}

.photo-grid img {
  height: 140px;
  border-radius: 14px;
}

.item-row { align-items: center; }
.item-row span {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
}
.item-row:last-child { border-bottom: 0; }

body.is-setup .sidebar-shop {
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
  .dash-split,
  .dash-charts,
  .account-grid,
  .work-detail-grid { grid-template-columns: 1fr; }
  .work-table-head { display: none; }
}

@media (max-width: 960px) {
  .panel-shell { grid-template-columns: 1fr; }
  .panel-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(280px, 86vw);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }
  body.sidebar-open .panel-sidebar { transform: translateX(0); }
  .sidebar-toggle { display: grid; }
  .sidebar-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 45;
  }
  .panel-topbar { padding: 8px 16px 0; }
  .panel-wrap { width: min(100% - 24px, var(--panel-max)); }
  .palette-btn span,
  .palette-btn kbd { display: none; }
}

@media (max-width: 700px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-card,
  a.kpi-card { min-height: 108px; }
  .row-card {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 14px 8px;
  }
  .work-row-plate { grid-column: 1 / -1; }
  .shop-hero { grid-template-columns: auto 1fr; }
  .shop-hero .btn {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }
  .choice-grid { grid-template-columns: 1fr; }
  .join-stamp { flex-wrap: wrap; }
  .join-stamp strong { font-size: 28px; }
  .week-strip { grid-template-columns: repeat(7, minmax(44px, 1fr)); }
  .hours-row { grid-template-columns: 1fr; }
  .toolbar:has(> .btn) { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .panel-sidebar { transition: none; }
  .row-card { transition: none; }
}

.dash-charts,
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr);
  gap: 14px;
  margin-bottom: 16px;
}

.chart-card {
  background: var(--bg-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 20px 12px;
  min-width: 0;
}

.chart-card h3,
.sheet-head h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.chart-area,
.chart-donut { min-height: 280px; }

.chart-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.sheet-head .text-btn {
  min-height: 44px;
  padding: 0 8px;
}

.ok-palette {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  display: grid;
  place-items: start center;
  padding: 12vh 16px 16px;
}

.ok-palette[hidden] { display: none !important; }

.ok-palette-card {
  width: min(560px, 100%);
  background: var(--bg-raised);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line);
}

.ok-palette-card .field { margin-bottom: 8px; }

.ok-palette-list {
  list-style: none;
  max-height: 360px;
  overflow: auto;
}

.ok-palette-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  cursor: pointer;
}

.ok-palette-list li[aria-selected="true"],
.ok-palette-list li:hover {
  background: var(--soft);
}

.ok-palette-list svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.ok-palette-list strong { display: block; }
.ok-palette-list em {
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
}

.ok-palette-empty {
  color: var(--muted);
  padding: 16px;
  cursor: default;
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.week-day {
  min-height: 88px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--bg-raised);
  font: inherit;
  display: grid;
  place-items: center;
  gap: 2px;
  cursor: pointer;
  padding: 10px 4px;
}

.week-day span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: capitalize;
}

.week-day strong { font-size: 20px; letter-spacing: -0.04em; }

.week-dot {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-style: normal;
}

.week-dot.is-empty {
  background: transparent;
  color: transparent;
}

.week-day[aria-selected="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.apt-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  padding: 16px 4px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.apt-card:last-child { border-bottom: 0; }

.apt-status {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: start;
}

.apt-status.wait { color: #f5b95e; }
.apt-status.ok { color: #62d593; }
.apt-status.no { color: var(--accent); }

.apt-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hours-panel { margin-top: 16px; }

.hours-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 120px 120px;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.hours-row .field { margin: 0; min-height: 44px; }

.hours-day {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
}

.member-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.member-row:last-child { border-bottom: 0; }

.member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.member-actions {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}

.member-actions .field {
  min-height: 44px;
  min-width: 140px;
  margin: 0;
}

.shortcut-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shortcut-card {
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  font-weight: 700;
  color: inherit;
}

.shortcut-card svg { width: 18px; height: 18px; }

.kind-row {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.kind-row label {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
}

.kind-row input { accent-color: var(--accent); }

.account-page {
  font-weight: 500;
  -webkit-font-smoothing: auto;
  display: grid;
  gap: 18px;
  padding-bottom: 12px;
}

.account-grid {
  margin-bottom: 0;
  gap: 16px;
}

.account-grid .detail-card {
  padding: 26px 28px;
}

.account-grid .detail-card h3,
.account-form h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--fg);
  margin: 0 0 18px;
}

.account-grid .kv {
  gap: 0;
}

.account-grid .kv-row {
  font-size: 16px;
  align-items: baseline;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.account-grid .kv-row:last-child { border-bottom: 0; }

.account-grid .kv-row span {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-2);
}

.account-grid .kv-row strong {
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  line-height: 1.4;
}

.account-grid .muted {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
  line-height: 1.5;
}

.account-grid .detail-card .btn {
  display: inline-flex;
  margin-top: 12px;
  min-height: 48px;
}

.account-grid .detail-card .btn + .btn {
  margin-left: 8px;
}

.account-grid .detail-card .auth-error {
  margin: 10px 0 0;
}

.account-grid .detail-card p:not(.muted) {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1.45;
}

.account-form {
  max-width: none;
  margin-top: 0;
  padding: 26px 28px 28px;
  gap: 0;
}

.account-form .panel-lead {
  margin: 0 0 22px;
  font-size: 16px;
  max-width: none;
  color: var(--fg-2);
}

.account-form .kind-row {
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
}

.account-form .kind-row legend {
  float: none;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}

.account-form .kind-row label {
  min-height: 48px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
}

.account-form .field-label {
  margin: 16px 0 10px;
  font-size: 14px;
}

.account-form .field {
  font-size: 16px;
  margin-bottom: 0;
}

.account-form .muted {
  margin: 12px 0 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
}

.account-form .auth-error { margin: 0 0 14px; }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.legal-links a { color: var(--muted); }

.account-page #account-signout {
  min-height: 48px;
  background: transparent;
  color: var(--fg-2);
  border-color: var(--line);
}
.account-page #account-signout:hover { border-color: var(--fg); color: var(--fg); }

/* Koyu tema — pazarlama sitesiyle aynı dil */

body.panel-body { font-size: 16px; }

.panel-sidebar {
  border-right: 1px solid var(--line-soft);
  padding: 20px 16px 16px;
}

.panel-sidebar .logo {
  display: flex;
  align-items: center;
  font-size: 17px;
  margin: 4px 10px 26px;
}

.sidebar-shop {
  background: var(--soft);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.sidebar-shop:hover { background: rgba(255, 255, 255, 0.07); }

.sidebar-avatar {
  border-radius: 10px;
  font-family: var(--mono);
  font-weight: 700;
}

.sidebar-shop strong { font-weight: 600; }

.sidebar-role,
.sidebar-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-3);
}
.sidebar-role { font-size: 10px; margin-top: 3px; }

body.panel-body .panel-tabs a {
  min-height: 42px;
  border-radius: 10px;
  border-left: 0;
  color: var(--fg-3);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
body.panel-body .panel-tabs a svg { width: 18px; height: 18px; }
body.panel-body .panel-tabs a:hover { color: var(--fg); background: var(--soft); }
body.panel-body .panel-tabs a[aria-current="page"] {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.07);
}
body.panel-body .panel-tabs a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--accent);
}
body.panel-body .panel-tabs a[aria-current="page"] svg { color: var(--accent); }

.nav-badge { font-family: var(--mono); font-weight: 600; }

.sidebar-foot button {
  min-height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sidebar-foot button:hover { border-color: var(--fg); color: var(--fg); }

.panel-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 68px;
  padding: 10px 28px;
  margin-bottom: 20px;
  background: rgba(20, 20, 20, 0.8);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.panel-topbar .eyebrow { margin-bottom: 2px; }
.panel-topbar h2 { font-size: 22px; letter-spacing: -0.035em; }

.palette-btn {
  min-height: 40px;
  border-radius: 999px;
  background: transparent;
  border-color: var(--line);
  color: var(--fg-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.palette-btn:hover { border-color: var(--line-strong); color: var(--fg); }
.palette-btn kbd { font-family: var(--mono); border-color: var(--line); color: var(--fg-3); }

.sidebar-toggle .menu-icon,
.sidebar-toggle .menu-icon::before,
.sidebar-toggle .menu-icon::after { background: var(--fg); }

.panel-head h1,
.shop-hero h1,
.work-identity h1 { letter-spacing: -0.045em; }

.kpi-card,
a.kpi-card,
.sheet-panel,
.chart-card,
.detail-card,
.work-hero,
.work-section,
.shop-hero,
.choice-card,
.week-day {
  border-color: var(--line-soft);
  transition: border-color 0.2s, background 0.2s;
}

.kpi-label,
.filter-label,
.work-table-head,
.detail-card h3,
.chart-card h3,
.sheet-head h3,
.join-stamp span,
.week-day span,
.apt-status,
.pay-pill,
.status-pill {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.kpi-label { font-size: 11px; color: var(--fg-3); }
.filter-label,
.work-table-head,
.detail-card h3,
.chart-card h3,
.sheet-head h3 { font-size: 11px; color: var(--fg-3); }
.pay-pill,
.status-pill { font-size: 10px; min-height: 24px; letter-spacing: 0.08em; }

.kpi-value,
.work-row-amt,
.work-line.is-total strong,
.week-day strong,
.customer-jump strong,
.choice-card strong,
.item-row > span:last-child {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.kpi-value { font-size: 40px; }

.work-row-top strong,
.row-card.customer-row strong { font-weight: 600; }

.row-card { color: var(--fg); transition: background 0.2s; }
.row-card:hover { background: var(--soft); }
.work-row-teaser { color: var(--fg-3); }

.search {
  background: var(--soft);
  border-color: var(--line);
  color: var(--fg);
}
.search:focus,
.field:focus {
  outline: none;
  border-color: rgba(227, 28, 61, 0.7);
  box-shadow: 0 0 0 3px rgba(227, 28, 61, 0.18);
}

.chip-toggle,
.filters button,
.chip,
.tabs button,
.kind-row label {
  background: transparent;
  border-color: var(--line);
  color: var(--fg-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.chip-toggle:hover,
.kind-row label:hover { border-color: var(--line-strong); color: var(--fg); }
.chip-toggle[aria-pressed="true"],
.filters button[aria-pressed="true"],
.filters button[aria-selected="true"],
.tabs button[aria-selected="true"] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.kind-row label:has(input:checked) { border-color: var(--accent); color: var(--fg); }

.choice-card { color: var(--fg); }
.choice-card:hover { background: #202020; }

.join-stamp strong { color: var(--fg); }

.shortcut-card { border-color: var(--line); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.shortcut-card:hover { border-color: var(--line-strong); }

.member-avatar { font-family: var(--mono); font-weight: 700; }

.week-day { color: var(--fg); }
.week-day:hover { background: #202020; }

.ok-palette-card { background: var(--bg-raised); }
.ok-palette-list li { color: var(--fg); }
.ok-palette-list li[aria-selected="true"],
.ok-palette-list li:hover { background: rgba(255, 255, 255, 0.06); }

.legal-links a { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.legal-links a:hover { color: var(--fg); }

.state { color: var(--fg-3); font-family: var(--mono); font-size: 13px; }

.apexcharts-tooltip.apexcharts-theme-dark { background: #232323 !important; border: 1px solid var(--line) !important; }
.apexcharts-legend-text { font-family: var(--mono) !important; font-size: 12px !important; }

.leaflet-container { background: #1b1b1b; }

@media (max-width: 960px) {
  .panel-topbar { padding: 8px 12px; }
  body.panel-body .panel-tabs a[aria-current="page"]::before { left: -16px; }
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--fg-2);
}

.item-row .tr-plate-body { color: #111; }
.item-row .tr-plate-eu { color: #fff; }

.work-detail-grid > div { display: grid; gap: 16px; align-content: start; }

label:has(> .field),
.form-grid label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-3);
}
label:has(> .field) > .field {
  font-family: var(--sans);
  letter-spacing: normal;
  text-transform: none;
}

.back-link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.back-link::before { content: "← "; }

.ok-palette-list { display: grid; gap: 2px; }
.ok-palette-list li { padding: 8px 12px; }
.ok-palette-list em { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fg-3); }

@media (max-width: 1100px) {
  .dash-charts,
  .account-grid { grid-template-columns: 1fr; }
}
