:root {
  --navy: #0a0a0a;
  --ink: #0a0a0a;
  --gold: #c9a227;
  --gold-soft: #e0c36a;
  --silver: #d4d4d4;
  --cream: #f3f1ec;
}
body { background: var(--cream); color: #141414; }
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: #0b0b0b !important;
  border-bottom: 1px solid rgba(201, 162, 39, .55);
  padding: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.app-nav-inner {
  padding: .55rem 1.35rem;
  align-items: center;
}
.nav-logo { height: 36px; width: auto; display: block; }
.navbar-brand {
  padding: 0;
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(201, 162, 39, .28);
  padding-right: 1.35rem;
}
.app-nav .navbar-toggler {
  border-color: rgba(201, 162, 39, .45);
  padding: .35rem .5rem;
}
.app-nav .navbar-toggler:focus { box-shadow: 0 0 0 .15rem rgba(201, 162, 39, .25); }
.nav-main { gap: .1rem; }
.app-nav .nav-link {
  color: #c8c8c8 !important;
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .42rem .7rem !important;
  border-radius: 4px;
}
.app-nav .nav-link:hover { color: #fff !important; background: rgba(255, 255, 255, .04); }
.app-nav .nav-link.active {
  color: var(--gold) !important;
  background: rgba(201, 162, 39, .1);
  box-shadow: none;
}
.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 {
  background: transparent;
  border: 1px solid rgba(201, 162, 39, .35);
  border-radius: 20px;
  color: #ddd;
  font-weight: 500;
  font-size: .82rem;
  padding: .32rem .85rem .32rem 1rem;
  min-width: 0;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.nav-user:hover, .nav-user:focus, .nav-user.show {
  color: var(--gold);
  background: rgba(201, 162, 39, .08);
  border-color: rgba(201, 162, 39, .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(201, 162, 39, .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(201, 162, 39, .14);
  color: var(--gold);
}
.nav-user-menu .dropdown-divider {
  border-color: rgba(201, 162, 39, .28);
  margin: .25rem 0;
}
.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(201, 162, 39, .28);
}
.nav-fx-item:first-child { border-left: 0; }
.nav-fx span {
  display: block;
  color: rgba(201, 162, 39, .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: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.btn-gold { background: var(--gold); color: #111; font-weight: 600; border: 0; }
.btn-gold:hover { background: var(--gold-soft); color: #111; }
.js-not-ac {
  position: relative;
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, .55);
  border-radius: 20px;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .32rem .95rem;
}
.js-not-ac:hover, .js-not-ac:focus {
  background: rgba(201, 162, 39, .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 —— */
html:has(body.login-page) {
  height: 100%;
  overflow: hidden;
}
.login-page {
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0 !important;
  color: #ececec;
  font-family: Manrope, sans-serif;
  background: #050505;
  overflow: hidden;
}
.login-stage {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  box-sizing: border-box;
  overflow: hidden;
}
.login-aura {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(201, 162, 39, .22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 90%, rgba(201, 162, 39, .08), transparent 50%),
    radial-gradient(ellipse 40% 35% at 10% 80%, rgba(255, 255, 255, .03), transparent 45%),
    linear-gradient(165deg, #0a0a0a 0%, #050505 45%, #0c0a06 100%);
  animation: loginAura 14s ease-in-out infinite alternate;
}
.login-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 162, 39, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}
.login-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26.5rem);
  padding: 2.4rem 2.1rem 1.85rem;
  background: linear-gradient(180deg, rgba(18, 18, 18, .96), rgba(10, 10, 10, .98));
  border: 1px solid rgba(201, 162, 39, .38);
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    0 28px 60px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  animation: loginIn .7s cubic-bezier(.22, 1, .36, 1) both;
}
.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.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-rule {
  height: 1px;
  margin: 1.1rem 0 1rem;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, .7), transparent);
}
.login-title {
  margin: 0 0 1.25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.login-alert {
  margin: 0 0 1.1rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(196, 80, 70, .55);
  background: rgba(120, 30, 24, .28);
  color: #ffc9c3;
  font-size: .86rem;
  border-radius: 2px;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.login-field {
  display: flex;
  flex-direction: column;
  gap: .38rem;
  margin: 0;
}
.login-field span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8f8f8f;
}
.login-field input {
  width: 100%;
  height: 2.75rem;
  padding: 0 .95rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 2px;
  background: rgba(0, 0, 0, .45);
  color: #f5f5f5;
  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(201, 162, 39, .35);
}
.login-field input:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, .65);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .16);
}
.login-submit {
  margin-top: .35rem;
  height: 2.85rem;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #111;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .2s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(201, 162, 39, .18);
}
.login-submit:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(201, 162, 39, .28);
}
.login-submit:active {
  transform: translateY(1px);
}
.login-foot {
  display: flex;
  justify-content: center;
  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: #6a6a6a;
}
.login-powered {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem .45rem;
  margin: 0;
  padding: 0 1rem;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #555;
  pointer-events: none;
}
.login-powered strong {
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: .12em;
}
.app-foot {
  flex-shrink: 0;
  margin-top: auto;
  padding: .85rem 1rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(10, 10, 10, .08);
  background: rgba(243, 241, 236, .92);
}
.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: 480px) {
  .login-panel { padding: 1.85rem 1.35rem 1.45rem; }
  .login-logo { width: min(100%, 9.5rem); }
}

.badge-eur { background: #d6eaf8; color: #1b4f72; }
.badge-usd { background: #fdebd0; color: #7a4e12; }
.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 #ece6da; 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: #fdebd0; }
.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; }
.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; }
.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; }
}
.log-detail { white-space: pre-wrap; max-width: 52rem; word-break: break-word; }
tr.is-dash-hidden { opacity: .55; }

.dash-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.dash-col.is-split { border-left: 3px solid var(--gold); }
.dash-h, .dash-tot, .dash-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .4rem;
  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 #ece6da;
  font-size: 13px;
}
.dash-item.row-eur { background: #eaf4fb; }
.dash-item.row-usd { background: #fdebd0; }
.dash-item .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; }

#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;
}
#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 #ece6da;
}
#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: #fff4c2 !important;
}
#tblHareket tbody tr.hareket-row.is-editing .td-rn {
  box-shadow: inset 3px 0 0 #c9a227;
}
#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-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; }
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: #ece6d6; 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-block;
  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: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; }

.ayar-bar { padding: .75rem 1rem; }
.ayar-mods { display: flex; flex-wrap: wrap; gap: .4rem; }
.ayar-mod {
  display: inline-block;
  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: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: #f6f4ef;
  opacity: .85;
}

.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(201, 162, 39, .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: #f6f4ef;
  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; }
