/* EU Tekno — mürekkep, çelik, soğuk kâğıt */
:root {
  --navy: #0c0e12;
  --ink: #12151c;
  --gold: #9aa3b2;
  --gold-soft: #d8dde6;
  --silver: #c5cad3;
  --cream: #f3f4f6;
  --paper: #fafbfc;
  --void: #08090c;
  --smoke: #5c6370;
  --line: rgba(18, 21, 28, .08);
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
}
html { font-size: 16px; }
body {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(154, 163, 178, .08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(18, 21, 28, .04), transparent 45%),
    var(--cream);
  color: #16181d;
  font-family: var(--font);
  letter-spacing: .01em;
}
::selection { background: rgba(154, 163, 178, .35); color: #111; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #9aa3b2; border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }
html.app-html,
html:has(body.app-shell) {
  height: 100%;
}
body.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100dvh;
  padding-bottom: 0;
}
body.app-shell > main {
  flex: 1 0 auto;
}
body.app-shell.has-float-actions > main {
  padding-bottom: 5.5rem;
}
.app-nav {
  background: linear-gradient(180deg, #12151c, #0c0e12) !important;
  border-bottom: 1px solid rgba(154, 163, 178, .38);
  padding: 0;
  box-shadow: 0 12px 40px rgba(8, 9, 12, .22);
}
.app-nav-inner {
  padding: .6rem 1.4rem;
  align-items: center;
}
.nav-logo { height: 36px; width: auto; display: block; }
.navbar-brand {
  padding: 0;
  margin-right: 1.4rem;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(154, 163, 178, .22);
  padding-right: 1.3rem;
}
.app-nav .navbar-toggler {
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(154, 163, 178, .4);
  padding: .35rem .5rem;
  color: var(--gold);
}
.app-nav .navbar-toggler .ico { width: 1.2rem; height: 1.2rem; display: block; }
.app-nav .navbar-toggler:focus { box-shadow: 0 0 0 .15rem rgba(154, 163, 178, .25); }
@media (max-width: 991.98px) {
  .app-nav .navbar-toggler { display: inline-flex; }
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler { display: none !important; }
}
.nav-main { gap: .15rem; }
.app-nav .nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  color: #b8b3a8 !important;
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .45rem .72rem !important;
  border-radius: 999px;
}
.app-nav .nav-link .ico {
  width: .95rem;
  height: .95rem;
  opacity: .65;
  flex-shrink: 0;
}
.app-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, .05);
}
.app-nav .nav-link:hover .ico { opacity: 1; }
.app-nav .nav-link.active {
  color: var(--gold-soft) !important;
  background: rgba(154, 163, 178, .12);
  box-shadow: inset 0 0 0 1px rgba(154, 163, 178, .28);
}
.app-nav .nav-link.active .ico { opacity: 1; color: var(--gold); }
.app-nav .navbar-text { color: var(--silver) !important; font-weight: 500; }
.nav-end {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-left: auto;
}
@media (max-width: 991.98px) {
  .navbar-brand { border-right: 0; padding-right: 0; margin-right: .5rem; }
  .nav-end { margin: .75rem 0 .2rem; flex-wrap: wrap; }
}
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  border: 1px solid rgba(154, 163, 178, .32);
  border-radius: 20px;
  color: #ddd;
  font-weight: 500;
  font-size: .82rem;
  padding: .32rem .85rem .32rem .7rem;
  min-width: 0;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.nav-user .ico { width: .95rem; height: .95rem; flex-shrink: 0; opacity: .75; }
.nav-user span { overflow: hidden; text-overflow: ellipsis; }
.nav-user:hover, .nav-user:focus, .nav-user.show {
  color: var(--gold);
  background: rgba(154, 163, 178, .08);
  border-color: rgba(154, 163, 178, .7);
  box-shadow: none;
}
.nav-user::after { margin-left: .45rem; vertical-align: .12em; border-top-color: currentColor; }
.nav-user-menu {
  background: #111;
  border: 1px solid rgba(154, 163, 178, .45);
  min-width: 100%;
  padding: .35rem 0;
  margin-top: .45rem !important;
  border-radius: 8px;
}
.nav-user-menu .dropdown-item {
  color: var(--silver);
  font-size: .88rem;
  padding: .45rem 1rem;
}
.nav-user-menu .dropdown-item:hover,
.nav-user-menu .dropdown-item:focus {
  background: rgba(154, 163, 178, .14);
  color: var(--gold);
}
.nav-user-menu .dropdown-divider {
  border-color: rgba(154, 163, 178, .28);
  margin: .25rem 0;
}
.nav-admin-menu {
  background: #111;
  border: 1px solid rgba(154, 163, 178, .35);
  min-width: 12.5rem;
  padding: .4rem 0;
  margin-top: .45rem !important;
  border-radius: 10px;
}
.nav-admin-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--silver);
  font-size: .86rem;
  padding: .5rem 1rem;
}
.nav-admin-menu .dropdown-item .ico { width: .95rem; height: .95rem; opacity: .7; }
.nav-admin-menu .dropdown-item:hover,
.nav-admin-menu .dropdown-item:focus,
.nav-admin-menu .dropdown-item.active {
  background: rgba(154, 163, 178, .14);
  color: #fff;
}
.nav-admin-menu .dropdown-item.active .ico { opacity: 1; color: var(--gold-soft); }
.app-nav .dropdown-toggle::after {
  margin-left: .35rem;
  vertical-align: .15em;
  border-top-color: currentColor;
  opacity: .65;
}
.btn-nav {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: 500;
}
.btn-nav:hover { background: var(--gold); color: #000; }
.nav-fx {
  display: flex;
  align-items: stretch;
  gap: 0;
  color: #fff;
  font-size: .88rem;
  line-height: 1.1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.nav-fx-item {
  padding: .15rem .95rem;
  border-left: 1px solid rgba(154, 163, 178, .28);
}
.nav-fx-item:first-child { border-left: 0; }
.nav-fx span {
  display: block;
  color: rgba(154, 163, 178, .9);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .12rem;
}
.nav-fx strong {
  font-weight: 600;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
  color: #ececec;
  letter-spacing: .02em;
}
.kpi {
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  min-height: 110px;
}
.kpi .lbl { color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .06em; }
.kpi .val { font-size: 1.45rem; font-weight: 700; }
.card-soft {
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 36px rgba(18, 21, 28, .06);
}
.btn-gold {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  letter-spacing: .04em;
}
.btn-gold:hover { background: #2a303c; color: #fff; }
.btn-gold .ico { width: .9rem; height: .9rem; margin-right: .2rem; vertical-align: -2px; }
.js-not-ac {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(154, 163, 178, .5);
  border-radius: 20px;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .32rem .95rem;
}
.js-not-ac .ico { width: .9rem; height: .9rem; }
.js-not-ac:hover, .js-not-ac:focus {
  background: rgba(154, 163, 178, .12);
  color: var(--gold-soft);
  border-color: var(--gold);
}
.not-rozet {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 .28rem;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  box-shadow: 0 0 0 2px #000;
}
.not-rozet[hidden] { display: none !important; }
.table thead th { background: var(--ink); color: #fff; font-size: .85rem; }

/* —— Login · vault salon —— */
html:has(body.login-page) {
  height: 100%;
  overflow: hidden;
}
.login-page {
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0 !important;
  color: #ece8dc;
  font-family: var(--font);
  background: var(--void);
  overflow: hidden;
}
.login-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    radial-gradient(rgba(255,255,255,.07) 0.6px, transparent .7px);
  background-size: 3px 3px;
  z-index: 2;
}
.login-stage {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(20rem, 28rem);
  box-sizing: border-box;
  overflow: hidden;
}
.login-salon {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.2rem 3.4rem 2.4rem;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(154, 163, 178, .18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(154, 163, 178, .06), transparent 50%),
    linear-gradient(165deg, #141820 0%, #0a0c10 55%, #100e0a 100%);
  overflow: hidden;
}
.login-salon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 163, 178, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 163, 178, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 10%, transparent 70%);
  pointer-events: none;
}
.login-mark {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
}
.login-verse {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.15;
  color: #f4efe4;
  animation: loginIn 1s cubic-bezier(.22, 1, .36, 1) .1s both;
}
.login-clock {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.login-clock time {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}
.login-clock span {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a8478;
}
.login-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 2.6rem 2.4rem 2rem;
  background: linear-gradient(180deg, #16191f, #0e1015);
  border-left: 1px solid rgba(154, 163, 178, .28);
  box-shadow: -24px 0 60px rgba(0, 0, 0, .35);
  animation: loginIn .7s cubic-bezier(.22, 1, .36, 1) both;
}
.login-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: .4rem;
}
.login-logo {
  display: block;
  width: min(100%, 11rem);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .45));
  animation: loginLogo .9s cubic-bezier(.22, 1, .36, 1) .08s both;
}
.login-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 1.35rem 0 1.2rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.login-title .ico { width: .9rem; height: .9rem; }
.login-alert {
  margin: 0 0 1.1rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(196, 80, 70, .45);
  background: rgba(120, 30, 24, .28);
  color: #ffc9c3;
  font-size: .86rem;
  border-radius: 10px;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.login-field {
  display: flex;
  flex-direction: column;
  gap: .38rem;
  margin: 0;
}
.login-field span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8f8a80;
}
.login-field span .ico { width: .85rem; height: .85rem; }
.login-field input {
  width: 100%;
  height: 2.85rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(0, 0, 0, .38);
  color: #f5f1e8;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.login-field input:hover {
  border-color: rgba(154, 163, 178, .35);
}
.login-field input:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, .55);
  box-shadow: 0 0 0 3px rgba(154, 163, 178, .16);
}
.login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-top: .45rem;
  height: 2.95rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .2s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 12px 28px rgba(154, 163, 178, .22);
}
.login-submit .ico { width: 1.05rem; height: 1.05rem; }
.login-submit:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 32px rgba(154, 163, 178, .3);
}
.login-submit:active {
  transform: translateY(1px);
}
.login-foot {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.55rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6a655c;
}
.login-powered {
  position: fixed;
  left: 3.4rem;
  bottom: 1.4rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7a7468;
  pointer-events: none;
}
.login-powered strong {
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: .14em;
}
.app-foot {
  flex-shrink: 0;
  margin-top: auto;
  padding: 1rem 1rem 1.15rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(251, 248, 242, .82);
  backdrop-filter: blur(8px);
}
.app-foot-line {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  margin: 0;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b6b6b;
}
.app-foot-brand {
  font-weight: 500;
  opacity: .85;
}
.app-foot-name {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: .14em;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.app-foot-sep {
  opacity: .35;
}
.app-foot-wish {
  font-weight: 600;
  color: #4a4a4a;
  font-style: italic;
  letter-spacing: .06em;
  text-transform: none;
}
@keyframes loginIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes loginLogo {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes loginAura {
  from { opacity: .92; }
  to { opacity: 1; }
}
@media (max-width: 860px) {
  .login-stage { grid-template-columns: 1fr; }
  .login-salon { display: none; }
  .login-panel {
    border-left: 0;
    padding: 2rem 1.4rem 1.6rem;
    box-shadow: none;
  }
  .login-powered { left: 0; right: 0; text-align: center; justify-content: center; }
  .login-logo { width: min(100%, 9.5rem); }
}

.badge-eur { background: #d6eaf8; color: #1b4f72; }
.badge-usd { background: #e8eaef; color: #3d4450; }
.badge-try { background: #d5f5e3; color: #1f6f54; }

.excel-board { background: #fff; border-radius: 12px; overflow: hidden; }
.excel-board table { width: 100%; border-collapse: collapse; font-size: 13px; }
.excel-board th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  padding: .45rem .6rem;
  text-align: left;
}
.excel-board th.num { text-align: right; }
.excel-board td { padding: .38rem .55rem; border-bottom: 1px solid #e8eaee; vertical-align: middle; }
.excel-board td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.excel-board a { color: #111; text-decoration: none; font-weight: 600; }
.excel-board a:hover { color: var(--gold); text-decoration: none; }
.excel-board tr.row-eur { background: #eaf4fb; }
.excel-board tr.row-usd { background: #e8eaef; }
.excel-board tr.row-tot td { background: var(--ink); color: #fff; font-weight: 700; }
.excel-board .col-split { border-left: 3px solid var(--gold); }
.excel-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.excel-summary .box { background: var(--ink); color: #fff; border-radius: 10px; padding: .7rem .9rem; min-width: 0; }
.excel-summary .box span { display: block; color: var(--gold); font-size: .75rem; font-weight: 700; }
.excel-summary .box strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.excel-summary .sum-pair {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  margin-top: .28rem;
}
.excel-summary .sum-pair em {
  font-style: normal;
  font-size: .72rem;
  color: #cfcfcf;
  font-weight: 600;
}
.excel-summary .sum-pair strong { font-size: 1.02rem; }
.excel-summary .sum-pair.is-borc em,
.excel-summary .sum-pair.is-borc strong { color: #f0c4c4; }
@media (max-width: 991.98px) {
  .excel-summary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .excel-summary { grid-template-columns: 1fr; }
}
.log-detail { max-width: 40rem; word-break: break-word; }
.log-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: flex-end;
}
.log-filters label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  font-size: .75rem;
  color: #666;
  margin: 0;
}
.log-filters input[type="search"] { width: 16rem; }
.log-filters select.form-select { width: 15rem; }
.log-filters input[type="date"] { width: 11rem; }
.log-filters-act {
  display: flex;
  gap: .4rem;
  align-items: center;
}
.log-tbl td { vertical-align: top; }
.log-time { font-variant-numeric: tabular-nums; }
.log-ne { min-width: 14rem; max-width: 20rem; }
.log-ad { font-weight: 650; color: #222; }
.log-anlam { font-size: .78rem; color: #666; margin-top: .12rem; line-height: 1.35; }
.log-kayit { font-size: .72rem; color: #888; margin-top: .18rem; }
.log-lead { font-size: .86rem; color: #333; line-height: 1.4; }
.log-block + .log-block,
.log-lead + .log-block { margin-top: .45rem; }
.log-block-h {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: .18rem;
}
.log-kv { margin: 0; }
.log-kv-row {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: .25rem .6rem;
  font-size: .8rem;
  line-height: 1.35;
}
.log-kv-row dt { margin: 0; color: #888; font-weight: 600; }
.log-kv-row dd { margin: 0; color: #222; }
tr.is-dash-hidden { opacity: .55; }

.dash-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 0;
}
.dash-col { min-width: 0; }
.dash-col.is-split { border-left: 3px solid var(--gold); }
.dash-h, .dash-tot, .dash-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: .45rem .7rem;
  padding: .38rem .55rem;
  align-items: center;
}
.dash-h {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.dash-h.is-split { border-left: 3px solid var(--gold); }
.dash-tot {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.dash-item {
  border-bottom: 1px solid #e8eaee;
  font-size: 13px;
}
.dash-item.row-eur { background: #eaf4fb; }
.dash-item.row-usd { background: #e8eaef; }
.dash-item.is-vurgu,
.dash-item.row-eur.is-vurgu,
.dash-item.row-usd.is-vurgu {
  background: #dc3545;
  color: #fff;
  font-weight: 700;
}
.dash-item.is-vurgu a,
.dash-item.is-vurgu .num { color: #fff; }
.dash-item a {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.dash-item .num,
.dash-tot .num,
.dash-h .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dash-other-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.dash-other-list .dash-item:nth-child(3n+2),
.dash-other-list .dash-item:nth-child(3n) { border-left: 3px solid var(--gold); }
body.is-dash-edit .dash-item { cursor: grab; }
body.is-dash-edit .dash-item a { pointer-events: none; }
body.is-dash-edit .dash-list,
body.is-dash-edit .dash-other-list { min-height: 2.4rem; outline: 1px dashed var(--gold); outline-offset: -2px; }
.dash-item.is-dragging { opacity: .45; }

@media (max-width: 991.98px) {
  .dash-board.excel-board {
    background: transparent;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
  }
  .dash-cols,
  .dash-other-list {
    grid-template-columns: 1fr;
    gap: .7rem;
  }
  .dash-col {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(18, 21, 28, .08);
    box-shadow: 0 10px 28px rgba(18, 21, 28, .06);
  }
  .dash-col.is-split { border-left: 1px solid rgba(18, 21, 28, .08); }
  .dash-other-list .dash-item:nth-child(3n+2),
  .dash-other-list .dash-item:nth-child(3n) { border-left: 0; }
  .dash-item,
  .dash-h,
  .dash-tot { padding: .55rem .75rem; }
}

#tblHareket {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 1020px;
}
#tblHareket thead th {
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--ink);
  color: #fff;
}
#tblHareket .th-rn,
#tblHareket .td-rn {
  width: 2.35rem;
  min-width: 2.35rem;
  max-width: 2.6rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  user-select: none;
  padding-left: .2rem !important;
  padding-right: .2rem !important;
  cursor: context-menu;
}
#tblHareket .th-rn {
  z-index: 9;
  color: var(--gold);
  font-weight: 600;
}
#tblHareket .td-rn {
  position: sticky;
  left: 0;
  z-index: 4;
  background: #fff;
  color: inherit;
  border-right: 1px solid #e8eaee;
}
#tblHareket tbody tr.hareket-row.is-picked .td-rn,
#tblHareket tbody tr.hareket-row.is-picked td {
  outline: 2px solid #2b6cb0;
  outline-offset: -2px;
}
#tblHareket td.is-cell-on,
#tblHareket [data-col].is-col-on {
  outline: 2px solid #2b6cb0;
  outline-offset: -2px;
  box-shadow: inset 0 0 0 999px rgba(43, 108, 176, .12);
}
body.is-paint #tblHareket { cursor: cell; }
body.is-paint #tblHareket .td-rn,
body.is-paint #tblHareket .th-rn,
body.is-paint #tblHareket thead th[data-col] { cursor: pointer; }
#tblHareket th.js-col-title {
  cursor: text;
  min-width: 4.5rem;
  outline: none;
}
#tblHareket th.js-col-title:focus {
  background: #1a1a1a;
  box-shadow: inset 0 0 0 2px var(--gold);
}
#tblHareket .e { display: none; }
#tblHareket .is-editing .e { display: block; }
#tblHareket .is-editing .v { display: none; }
#tblHareket .is-editing .js-edit { display: none !important; }
#tblHareket .js-del { display: none !important; }
#tblHareket .is-editing .js-save-row,
#tblHareket .is-editing .js-cancel-row,
#tblHareket .is-editing .js-del { display: inline !important; }
#tblHareket .is-draft .js-del { display: none !important; }
#tblHareket tbody tr.hareket-row.is-editing td {
  background-color: #e8eef6 !important;
}
#tblHareket tbody tr.hareket-row.is-editing .td-rn {
  box-shadow: inset 3px 0 0 #9aa3b2;
}
#tblHareket tbody tr.hareket-row {
  content-visibility: auto;
  contain-intrinsic-size: auto 34px;
}
#tblHareket .td-not { width: 1%; white-space: nowrap; cursor: text; }
#tblHareket input.js-not {
  height: 31px;
  min-height: 31px;
  max-height: 31px;
  min-width: 10rem;
  width: 10rem;
  resize: horizontal;
  overflow-x: auto;
  white-space: nowrap;
  field-sizing: content;
}
body.app-shell.has-float-actions .btn-float-plus,
body.app-shell.has-float-actions .btn-float-paint,
body.app-shell.has-float-actions .btn-float-home {
  position: fixed;
  right: 1.4rem;
  z-index: 50;
  width: 3.2rem;
  height: 3.2rem;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(11,31,58,.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-float-plus { bottom: 1.4rem; font-size: 1.8rem; }
.btn-float-plus:disabled,
.btn-float-plus:disabled:hover {
  opacity: .38;
  cursor: not-allowed;
  color: var(--gold);
}
.btn-float-paint { bottom: 5.1rem; }
.btn-float-home { bottom: 8.8rem; }
.btn-float-home:hover,
.btn-float-plus:hover,
.btn-float-paint:hover { color: var(--gold-soft); }
.btn-float-home svg { display: block; }
.btn-float-paint.is-on { background: var(--gold); color: #111; }
.paint-sum {
  position: fixed;
  right: 1.4rem;
  bottom: 12.6rem;
  z-index: 51;
  min-width: 7.4rem;
  max-width: 9.6rem;
  width: max-content;
  padding: .42rem .55rem .48rem;
  border-radius: .55rem;
  background: #0a0a0a;
  color: #f3f4f6;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .38), 0 0 0 1px rgba(154, 163, 178, .5);
  pointer-events: none;
  text-align: right;
}
.paint-sum-lbl {
  display: block;
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.paint-sum strong {
  display: block;
  margin-top: .12rem;
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.paint-sum-sub {
  display: block;
  margin-top: .18rem;
  font-size: .58rem;
  color: #a8adb6;
  line-height: 1.3;
}
.paint-sum-sub:empty { display: none; }
body.is-paint { cursor: cell; }
body.is-paint #tblHareket tbody tr.hareket-row { cursor: cell; }
body.is-paint #tblHareket tbody {
  -webkit-user-select: none;
  user-select: none;
}
#tblHareket tbody tr.hareket-row.is-picked td {
  outline: 2px solid #2b6cb0;
  outline-offset: -2px;
}
#tblHareket tbody tr.hareket-row.has-style input.form-control {
  background-color: transparent;
  color: inherit;
  border-color: rgba(0,0,0,.18);
}
#tblHareket tbody tr.hareket-row.has-style td {
  background-color: inherit;
  color: inherit;
}
.paint-panel {
  position: fixed;
  right: 5.2rem;
  bottom: 5.1rem;
  z-index: 60;
  width: 17.2rem;
  background: #fff;
  border: 1px solid #c5c5c5;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  padding: 0 .7rem .75rem;
  font-size: 12px;
}
.paint-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 0 -.7rem .45rem;
  padding: .42rem .6rem;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  border-radius: 8px 8px 0 0;
  cursor: grab;
  user-select: none;
}
.paint-head:active { cursor: grabbing; }
.paint-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0 .15rem;
  cursor: pointer;
}
.paint-label { color: #555; margin: .35rem 0 .2rem; }
.paint-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
}
.paint-row, .paint-std {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.paint-chip {
  width: 16px;
  height: 16px;
  border: 1px solid #8a8a8a;
  padding: 0;
  border-radius: 1px;
  cursor: pointer;
}
.paint-chip:hover { outline: 2px solid #217346; outline-offset: 1px; }
.paint-custom {
  display: flex;
  justify-content: space-between;
  gap: .4rem;
  margin: .55rem 0 .45rem;
}
.paint-custom label { display: flex; align-items: center; gap: .25rem; }
.paint-custom input[type=color] { width: 2rem; height: 1.4rem; padding: 0; border: 1px solid #aaa; }
.paint-hint { color: #777; margin-top: .4rem; font-size: 11px; }

.mutabakat-ozet {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .65rem;
}
.mutabakat-ozet > div {
  background: #0a0a0a;
  color: #d4d4d4;
  border-radius: 10px;
  padding: .7rem .85rem;
  border-bottom: 3px solid var(--gold);
}
.mutabakat-ozet span {
  display: block;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.mutabakat-ozet strong { font-size: .98rem; font-variant-numeric: tabular-nums; }
@media (max-width: 991.98px) {
  .mutabakat-ozet { grid-template-columns: 1fr 1fr; }
}
.mutabakat-tbl thead th { white-space: nowrap; }
.mutabakat-tbl tfoot th {
  background: #0a0a0a;
  color: var(--gold);
  font-weight: 700;
}
.mutabakat-acilis td { background: #eef0f3; font-weight: 600; }
.mutabakat-donem .form-label { color: #555; }

.not-katman {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1080;
  width: min(420px, calc(100vw - 24px));
  max-height: min(78vh, 640px);
  pointer-events: none;
}
.not-katman[hidden] { display: none !important; }
.not-katman:not([hidden]) {
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}
.not-panel {
  background: #111;
  border: 1px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(78vh, 640px);
}
.not-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .85rem;
  background: #000;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,162,39,.4);
}
.not-kagitlar {
  overflow: auto;
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  background: #1a1a1a;
}
.not-kagit {
  border-radius: 2px 12px 12px 12px;
  padding: .7rem .75rem .8rem;
  box-shadow: 2px 4px 0 rgba(0,0,0,.12), 0 8px 18px rgba(0,0,0,.18);
  transform: rotate(-0.4deg);
}
.not-kagit-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .45rem;
}
.not-renkler { display: flex; gap: .28rem; flex-wrap: wrap; }
.not-renk {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.25);
  padding: 0;
  cursor: pointer;
}
.not-renk.is-on { outline: 2px solid #111; outline-offset: 1px; }
.not-kagit textarea {
  width: 100%;
  min-height: 110px;
  border: 0;
  background: transparent;
  resize: vertical;
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: .95rem;
  line-height: 1.4;
  color: #1a1a1a;
}
.not-kagit textarea:focus { outline: none; }
.not-kagit-alt { display: flex; justify-content: flex-end; margin-top: .35rem; }

.rapor-kicker {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .2rem;
}
.rapor-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: .75rem;
}
.rapor-kpi-sm { margin-bottom: 1.1rem; }
.rapor-kpi-box {
  background: #0b0b0b;
  color: #fff;
  border-radius: 10px;
  padding: .85rem 1rem;
  border: 1px solid rgba(201,162,39,.28);
}
.rapor-kpi-box span {
  display: block;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.rapor-kpi-box strong {
  display: block;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}
.rapor-kpi-box em {
  display: block;
  margin-top: .25rem;
  font-style: normal;
  font-size: .75rem;
  color: #9a9a9a;
}
.rapor-kpi-box.is-gold {
  background: linear-gradient(180deg, #16110a, #0b0b0b);
  border-color: var(--gold);
}
@media (max-width: 991.98px) {
  .rapor-kpi, .rapor-kpi-sm { grid-template-columns: 1fr 1fr; }
}
.rapor-bar {
  padding: .85rem 1rem;
}
.rapor-bar-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .65rem;
}
.rapor-xlsx {
  font-size: 1rem;
  font-weight: 800;
  padding: .38rem 1.2rem;
  white-space: nowrap;
  margin-left: auto;
  height: calc(1.5em + .5rem + 2px);
  display: inline-flex;
  align-items: center;
}
.rapor-mods {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .4rem;
}
.rapor-mod {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .8rem;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.12);
  color: #333;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
}
.rapor-mod .ico { width: .88rem; height: .88rem; }
.ico.is-flip { transform: rotate(180deg); }
.rapor-mod:hover { color: #000; border-color: var(--gold); }
.rapor-mod.is-on {
  background: #0b0b0b;
  color: var(--gold);
  border-color: #0b0b0b;
}
.rapor-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .65rem 1rem;
  align-items: flex-end;
  width: 100%;
}
.rapor-filters label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  font-size: .75rem;
  color: #666;
  margin: 0;
}
.rapor-filters .form-select,
.rapor-filters .form-control {
  width: 9rem;
}
.rapor-filters input[type="date"] {
  width: 11rem;
}
.rapor-tbl {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
  font-size: clamp(.55rem, .65vw, .78rem);
}
.rapor-tbl th,
.rapor-tbl td {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: .18rem .12rem !important;
  vertical-align: middle;
}
.rapor-tbl tr.is-alacak td:nth-child(5) { color: #1f6f54; }
.rapor-tbl tr.is-borc td:nth-child(5) { color: #8b2e2e; }
.rapor-tbl td.is-plus { color: #1f6f54; }
.rapor-tbl td.is-minus { color: #8b2e2e; }
.rapor-tbl tfoot th { background: #0b0b0b; color: var(--gold); }
.rapor-page {
  max-width: 100%;
  overflow-x: hidden;
}
.rapor-full {
  background: #fff;
  border-top: 1px solid #e6e1d6;
  max-width: 100%;
  overflow-x: hidden;
}
.rapor-full-head {
  padding: .65rem 0 .4rem;
}
.rapor-full .table {
  width: 100% !important;
  max-width: 100%;
  margin-bottom: 0;
  table-layout: fixed;
}
.rapor-page .table-responsive {
  overflow-x: hidden !important;
  max-width: 100%;
  width: 100%;
}
.rapor-ay .rapor-sticky {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
  width: 18%;
  max-width: 18%;
  box-shadow: 4px 0 8px rgba(0,0,0,.04);
}
.rapor-ay thead .rapor-sticky { z-index: 3; background: var(--ink); color: #fff; }

.mutabakat-donem .form-label { color: #555; }
.mutabakat-geri {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  line-height: 1.2;
}
.mutabakat-geri .ico {
  width: .75rem;
  height: .75rem;
  transform: rotate(180deg);
}

.ayar-bar { padding: .75rem 1rem; }
.ayar-mods { display: flex; flex-wrap: wrap; gap: .4rem; }
.ayar-mod {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .85rem;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.12);
  color: #333;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
}
.ayar-mod .ico { width: .88rem; height: .88rem; }
.ayar-mod:hover { color: #000; border-color: var(--gold); }
.ayar-mod.is-on {
  background: #0b0b0b;
  color: var(--gold);
  border-color: #0b0b0b;
}
.ayar-smtp .form-control:disabled,
.ayar-smtp .form-select:disabled {
  background: #eef0f3;
  opacity: .85;
}
.ayar-mail-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.ayar-mail-tags code {
  font-size: .72rem;
  padding: .18rem .5rem;
  border-radius: 6px;
  background: #eef0f3;
  color: #12151c;
}
.ayar-mail-govde {
  font-family: inherit;
  line-height: 1.55;
  min-height: 16rem;
}
.mut-mail-body { display: grid; gap: .8rem; }
.mut-mail-row span {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: .15rem;
}
.mut-mail-row strong {
  display: block;
  font-weight: 600;
  word-break: break-word;
}
.btn-gold:disabled,
.btn-gold.disabled {
  background: #9aa3b2;
  color: #fff;
  opacity: .65;
}
.ayar-logo-onizleme {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1rem;
}
.ayar-logo-onizleme:has(.ayar-logo-kutu:only-child) {
  grid-template-columns: minmax(12rem, 22rem);
}
.ayar-logo-kutu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 7rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.08);
}
.ayar-logo-kutu.is-dark { background: #0b0b0b; }
.ayar-logo-kutu img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  height: auto;
}
.ayar-logo-etiket {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .55;
}
.ayar-logo-kutu.is-dark .ayar-logo-etiket { color: #eee; }
.ayar-wl-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ayar-wl-btns { display: flex; flex-wrap: wrap; gap: .4rem; }
.ayar-wl-btns .ayar-mod { background: #fff; cursor: pointer; font-family: inherit; }
.ayar-wl-btns .ayar-mod.is-on {
  background: #0b0b0b;
  color: var(--gold);
  border-color: #0b0b0b;
}
.ayar-wl-badge {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}
.ayar-wl-badge.is-on { background: #d4edda; color: #155724; }
.ayar-wl-badge.is-off { background: #f8d7da; color: #721c24; }
@media (max-width: 576px) {
  .ayar-logo-onizleme { grid-template-columns: 1fr; }
}

.cari-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.cari-toolbar-end {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: 1 1 18rem;
  justify-content: flex-end;
}
.cari-search {
  flex: 1 1 14rem;
  max-width: 22rem;
  margin: 0;
}
.cari-search .form-control {
  border-radius: 22px;
  border-color: rgba(0,0,0,.1);
  padding-left: 1rem;
  height: 2.4rem;
  background: #fff;
}
.cari-search .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .18rem rgba(154, 163, 178, .22);
}
.cari-yeni {
  border-radius: 22px;
  padding: .45rem 1.15rem;
  height: 2.4rem;
}
.cari-tbl thead th {
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #777;
  font-weight: 600;
  border-bottom-color: rgba(0,0,0,.08);
}
.cari-tbl td { vertical-align: middle; }
.cari-kod {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.cari-kod:hover { color: #000; border-bottom-color: var(--gold); }
.cari-chip {
  border: 1px solid rgba(0,0,0,.12);
  background: #eef0f3;
  color: #444;
  font-size: .75rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .18rem .7rem;
  line-height: 1.4;
}
.cari-chip.is-off {
  background: #111;
  border-color: #111;
  color: var(--gold);
}
.cari-acts {
  display: flex;
  justify-content: flex-end;
  gap: .15rem;
}
.cari-act {
  background: none;
  border: 0;
  color: #666;
  font-size: .8rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 6px;
}
.cari-act:hover { background: rgba(0,0,0,.05); color: #111; }
.cari-act.is-danger { color: #a33; }
.cari-act.is-danger:hover { background: #f8e8e8; color: #8b1e1e; }

.rn-menu {
  position: fixed;
  z-index: 90;
  min-width: 11.8rem;
  background: #fff;
  border: 1px solid #c5c5c5;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  padding: .28rem;
}
.rn-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: .45rem .7rem;
  border-radius: 6px;
  font-size: 13px;
  color: #222;
}
.rn-menu button:hover,
.rn-menu button:focus {
  background: #e8eaef;
  color: #111;
  outline: none;
}

/* —— UI layer —— */
.ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -3px;
  flex-shrink: 0;
}
.nav-user-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-user-menu .dropdown-item .ico { width: .95rem; height: .95rem; opacity: .7; }
.not-panel-bar strong {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.not-panel-bar .ico { width: 1rem; height: 1rem; }
.btn-sm .ico, .btn .ico { width: .9rem; height: .9rem; }

.app-main { padding-top: 1.35rem !important; padding-bottom: 2rem !important; }

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}
.page-head-lead {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  min-width: 0;
}
.page-head-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(18, 21, 28, .16);
}
.page-head-mark .ico { width: 1.15rem; height: 1.15rem; vertical-align: 0; }
.page-kicker {
  margin: 0 0 .15rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.page-kicker .ico { width: .85em; height: .85em; vertical-align: 0; }
.app-main h1.h4, .app-main h1.h5 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -.02em;
}
.page-head h1,
.page-head .h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  font-optical-sizing: auto;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.15;
}
.page-sub {
  margin: .28rem 0 0;
  font-size: .84rem;
  color: var(--smoke);
}

.form-control, .form-select {
  border-color: rgba(18, 21, 28, .1);
  border-radius: 10px;
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(154, 163, 178, .18);
}
.form-label {
  font-size: .78rem;
  font-weight: 600;
  color: #4a453c;
  letter-spacing: .02em;
}
.table thead th {
  background: var(--ink);
  color: var(--gold-soft);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-color: transparent;
}
.table { --bs-table-bg: transparent; }
.card-soft .table { margin-bottom: 0; }
.btn-outline-secondary {
  border-color: rgba(18, 21, 28, .14);
  color: #3a372f;
  border-radius: 999px;
  font-weight: 550;
}
.btn-outline-secondary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
}
.btn-outline-danger { border-radius: 999px; }
.nav-tabs {
  border-bottom-color: rgba(18, 21, 28, .08);
}
.nav-tabs .nav-link {
  color: var(--smoke);
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: .84rem;
  padding: .4rem .9rem;
}
.nav-tabs .nav-link.active {
  background: var(--ink);
  color: var(--gold);
}
.modal-content {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(18, 21, 28, .22);
}
.modal-header {
  border-bottom-color: var(--line);
  background: var(--paper);
  border-radius: 16px 16px 0 0;
}

.excel-board { border-radius: 16px; box-shadow: 0 14px 36px rgba(18, 21, 28, .06); }
.excel-summary .box,
.rapor-kpi-box,
.mutabakat-ozet > div,
.kpi {
  border-radius: 14px;
  background: linear-gradient(180deg, #1a1e27, #12151c);
  border: 1px solid rgba(154, 163, 178, .22);
}
.dash-h, .dash-tot {
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px !important;
}

.cari-tbl thead th {
  background: var(--ink) !important;
  color: var(--gold-soft) !important;
}
.cari-search .form-control { border-radius: 999px; }

@media (max-width: 991.98px) {
  .app-nav .nav-link span { font-size: .8rem; }
}

/* Dashboard giriş — nabız */
.dash-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 1.35rem;
  padding: 1.25rem 1.4rem 1.05rem;
  border-radius: 22px;
  color: #e8eaee;
  background:
    radial-gradient(ellipse 70% 80% at 88% -10%, rgba(154, 163, 178, .22), transparent 55%),
    linear-gradient(165deg, #161a22 0%, #0c0e12 48%, #0a0c10 100%);
  border: 1px solid rgba(154, 163, 178, .28);
  box-shadow: 0 22px 56px rgba(8, 9, 12, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
  animation: dash-hero-in .55s ease both;
}
@keyframes dash-hero-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.dash-hero-bg { pointer-events: none; position: absolute; inset: 0; }
.dash-hero-orb {
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -4rem;
  top: -8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 163, 178, .28), transparent 68%);
  filter: blur(8px);
}
.dash-hero-orb.is-2 {
  width: 16rem;
  height: 16rem;
  left: -5rem;
  bottom: -7rem;
  right: auto;
  top: auto;
  background: radial-gradient(circle, rgba(142, 200, 176, .12), transparent 70%);
}
.dash-hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 75% 90% at 82% 18%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 90% at 82% 18%, #000 10%, transparent 72%);
}
.dash-hero-mark {
  position: absolute;
  right: .4rem;
  top: -.35rem;
  font-family: var(--serif);
  font-size: clamp(7rem, 16vw, 12rem);
  font-weight: 560;
  line-height: 1;
  color: rgba(255, 255, 255, .035);
  letter-spacing: -.06em;
  user-select: none;
}
.dash-hero-top,
.dash-hero-body,
.dash-hero-pulse { position: relative; }
.dash-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.05rem;
}
.dash-hero-kicker {
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.dash-hero-when {
  margin: .28rem 0 0;
  font-size: .82rem;
  color: rgba(216, 221, 230, .62);
}
.dash-hero-fx {
  display: flex;
  gap: 0;
  border: 1px solid rgba(154, 163, 178, .28);
  border-radius: 12px;
  background: rgba(8, 9, 12, .35);
  backdrop-filter: blur(8px);
}
.dash-hero-fx > div {
  padding: .4rem .9rem .42rem;
  min-width: 5.6rem;
}
.dash-hero-fx > div + div { border-left: 1px solid rgba(154, 163, 178, .22); }
.dash-hero-fx span {
  display: block;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(154, 163, 178, .9);
  margin-bottom: .1rem;
}
.dash-hero-fx strong {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: .95rem;
  color: #f2f4f7;
}
.dash-hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 7.4rem minmax(13.5rem, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: center;
}
.dash-hero-lbl {
  margin: 0 0 .35rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(154, 163, 178, .85);
}
.dash-hero-net > strong {
  display: block;
  font-family: var(--serif);
  font-weight: 560;
  font-optical-sizing: auto;
  font-size: clamp(1.85rem, 4vw, 3.05rem);
  letter-spacing: -.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: #f4f6f8;
}
.dash-hero-net > strong.is-minus { color: #f3d4d4; }
.dash-hero-net > em {
  display: block;
  margin-top: .35rem;
  font-style: normal;
  font-size: .78rem;
  color: rgba(216, 221, 230, .55);
}
.dash-hero-split {
  height: 5px;
  margin-top: 1.05rem;
  border-radius: 99px;
  background: rgba(212, 163, 163, .38);
  overflow: hidden;
}
.dash-hero-split i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6eae98, #b6e0ce);
  border-radius: 99px;
  min-width: 0;
}
.dash-hero-split-lbl {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .45rem;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  color: rgba(216, 221, 230, .58);
}
.dash-hero-split-lbl span:first-child { color: #b6e0ce; }
.dash-hero-split-lbl span:last-child { color: #e4b6b6; }
.dash-hero-ring {
  position: relative;
  width: 7.4rem;
  height: 7.4rem;
  justify-self: center;
}
.dash-ring { width: 100%; height: 100%; display: block; }
.dash-ring-track,
.dash-ring-a,
.dash-ring-b {
  fill: none;
  stroke-width: 8.5;
}
.dash-ring-track { stroke: rgba(255, 255, 255, .08); }
.dash-ring-a { stroke: #8ec8b0; }
.dash-ring-b { stroke: #d4a3a3; }
.dash-hero-ring svg { animation: dash-ring-pop .7s ease both; }
@keyframes dash-ring-pop {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: none; }
}
.dash-hero-ring-cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.dash-hero-ring-cap b {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -.03em;
}
.dash-hero-ring-cap span {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(216, 221, 230, .55);
  margin-top: .2rem;
}
.dash-mix { display: grid; gap: .72rem; }
.dash-mix-row {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: center;
}
.dash-mix-code {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold-soft);
}
.dash-mix-track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.dash-mix-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #6d7584, #d8dde6);
  transition: width .6s ease;
}
.dash-mix-row.is-plus .dash-mix-track i {
  background: linear-gradient(90deg, #4f8a76, #b6e0ce);
}
.dash-mix-row.is-minus .dash-mix-track i {
  background: linear-gradient(90deg, #8a5c5c, #e4b6b6);
}
.dash-mix-nums { text-align: right; min-width: 7.2rem; }
.dash-mix-nums strong {
  display: block;
  font-size: .86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #f2f4f7;
}
.dash-mix-nums em {
  display: block;
  font-style: normal;
  font-size: .68rem;
  color: rgba(216, 221, 230, .5);
  font-variant-numeric: tabular-nums;
}
.dash-hero-pulse {
  margin-top: 1.2rem;
  padding-top: .95rem;
  border-top: 1px solid rgba(154, 163, 178, .16);
}
.dash-hero-pulse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .45rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(154, 163, 178, .82);
}
.dash-hero-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.dash-hero-chips span {
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 500;
  font-size: .72rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(154, 163, 178, .18);
  color: rgba(232, 234, 238, .78);
}
.dash-hero-chips span.is-plus { color: #b6e0ce; border-color: rgba(142, 200, 176, .28); }
.dash-hero-chips span.is-minus { color: #e4b6b6; border-color: rgba(212, 163, 163, .28); }
.dash-spark-wrap { height: 64px; }
.dash-spark { width: 100%; height: 64px; display: block; }
.dash-spark-zero {
  stroke: rgba(255, 255, 255, .1);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.dash-spark-fill { fill: rgba(154, 163, 178, .14); }
.dash-spark-line {
  fill: none;
  stroke: #c5cad3;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.dash-spark-end { fill: #e8ece8; }
.dash-spark-start { fill: rgba(197, 202, 211, .55); }
.dash-spark-lbl {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  list-style: none;
  margin: .2rem 0 0;
  padding: 0;
  font-size: .62rem;
  letter-spacing: .04em;
  color: rgba(216, 221, 230, .42);
}
.dash-spark-lbl li { text-align: center; }
@media (max-width: 991.98px) {
  .dash-hero-body {
    grid-template-columns: 1fr 7rem;
  }
  .dash-hero-net { grid-column: 1 / -1; }
  .dash-mix { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .dash-hero { padding: 1.05rem 1rem .9rem; border-radius: 18px; }
  .dash-hero-body { grid-template-columns: 1fr; }
  .dash-hero-ring { justify-self: start; }
  .dash-mix-nums { min-width: 0; }
  .dash-spark-lbl li:nth-child(even) { visibility: hidden; }
}
