/* EYS · krem / mürekkep retro — örnek_arayüz görsellerinden. Yazı tipleri yerel (static/fonts, SIL OFL). */
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20CF; }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: "Plex Mono"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-mono-latin-ext-600.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20CF; }
@font-face { font-family: "Plex Mono"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-mono-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: "Plex Mono"; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-mono-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20CF; }
@font-face { font-family: "Plex Mono"; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-mono-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: "Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20CF; }
@font-face { font-family: "Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: "Plex Sans"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-600.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20CF; }
@font-face { font-family: "Plex Sans"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212; }

:root {
  --cream: #fff4d4;   /* açık sarı — zemin */
  --paper: #fffbef;   /* açık sarı — kart */
  --lightyellow: #ffe7a3;
  --orange: #e8622c;
  --orange-soft: #f8b48e;
  --gray-dark: #2b2b2b;
  --gray-mid: #4a4a4a;
  --gray: #878787;    /* logonun grisi */
  --gray-light: #dcd7cc;
  --rule: #d8d0bd;
  --ink: #141414;
  --muted: #555555;  /* logonun gri ailesi */
  --line: 2px solid var(--ink);
  --thin: 1.5px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --yellow: #f9b002;  /* DEPARK logosunun amber sarısı */
  --red: #c4441a;  /* koyu turuncu — yalnızca silme / reddetme */
  --mono: "Plex Mono", "SF Mono", Menlo, Consolas, monospace;
  --sans: "Plex Sans", -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 14px/1.5 var(--sans); }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

/* ---------- iskelet ---------- */
.shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--gray-dark); color: var(--cream); border-right: var(--line); display: flex; flex-direction: column; padding: 16px 12px; position: sticky; top: 0; height: 100vh; }
.side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; font: 600 13px var(--mono); text-decoration: none; color: var(--ink); border: 2px solid transparent; }
.side nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side nav a:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.side nav a.on { background: var(--ink); color: var(--paper); }
.side .logo { display: block; background: var(--paper); border: var(--line); box-shadow: 3px 3px 0 var(--ink); padding: 12px 12px 10px; margin: 0 2px 22px 0; }
.side .logo:hover { border-color: var(--ink); background: var(--paper); }
.side .logo img.full { display: block; width: 100%; height: auto; }
.side .logo img.mark { display: none; height: 30px; width: auto; }
.side .logo .sys { display: block; margin-top: 10px; padding-top: 8px; border-top: var(--thin); font: 700 15px/1.2 var(--mono); letter-spacing: 1px; }
.side .logo .sys small { display: block; font: 400 10.5px/1.35 var(--mono); letter-spacing: 0; color: var(--muted); margin-top: 2px; }
.side .out:hover { border-color: var(--ink); }
.ico { width: 18px; height: 18px; flex: none; }

.page { display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; align-items: center; gap: 16px; background: var(--yellow); border-bottom: var(--line); padding: 12px 24px; }
.search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 8px; background: var(--paper); border: var(--line); padding: 0 10px; }
.search input { border: 0; background: transparent; padding: 8px 0; font-family: var(--mono); box-shadow: none; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 3px 3px 0 var(--ink); }
.who { margin-left: auto; display: flex; align-items: center; gap: 10px; border-left: var(--line); padding-left: 16px; }
.who b { display: block; font: 600 13px var(--mono); }
.who small { display: block; font-size: 11px; color: var(--muted); }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); border: var(--line); font: 700 18px var(--mono); }
main { padding: 26px 28px 60px; max-width: 1320px; width: 100%; }

/* ---------- yazı ---------- */
h1 { font: 700 30px/1.15 var(--mono); letter-spacing: -0.5px; margin: 0 0 18px; }
h2 { font: 700 15px/1.3 var(--mono); margin: 0 0 12px; }
h1 .tag, h2 .tag { vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.center { text-align: center; }

/* ---------- kartlar ---------- */
.card { background: var(--paper); border: var(--line); box-shadow: var(--shadow); padding: 16px 18px; margin: 0 0 22px; }
.grid { display: grid; gap: 0 22px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
details.card { padding: 0; }
details.card summary { cursor: pointer; padding: 12px 16px; list-style: none; font-family: var(--mono); }
details.card summary::-webkit-details-marker { display: none; }
details.card summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 10px; border: var(--thin); font-weight: 700; }
details.card[open] summary { border-bottom: var(--thin); background: var(--yellow); }
details.card[open] summary::before { content: "−"; background: var(--paper); }
details.card > :not(summary) { padding: 0 16px 14px; }
details.card > form { padding-top: 6px; }

.kpis { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); margin-bottom: 26px; }
.kpi { border: var(--line); box-shadow: var(--shadow); padding: 14px 16px; background: var(--yellow); }
.kpi:nth-child(4n+2) { background: var(--orange); }
.kpi:nth-child(4n+3) { background: var(--lightyellow); }
.kpi:nth-child(4n+4) { background: var(--gray-light); }
.kpi b { display: block; font: 700 34px/1.1 var(--mono); }
.kpi span { font-size: 12px; }

/* ---------- formlar ---------- */
label { display: block; font: 600 12px var(--mono); margin: 10px 0 4px; }
input, select, textarea { font: 14px var(--sans); color: var(--ink); width: 100%; padding: 8px 10px; background: #fffdf7; border: var(--thin); border-radius: 0; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 3px 3px 0 var(--ink); }
input[type="checkbox"] { width: 16px; height: 16px; padding: 0; vertical-align: -3px; margin: 0 6px 0 0; accent-color: var(--ink); box-shadow: none; }
input[type="file"] { padding: 6px; }
input[type="file"]::file-selector-button { font: 600 12px var(--mono); background: var(--yellow); border: var(--thin); padding: 4px 10px; margin-right: 10px; cursor: pointer; }
textarea { min-height: 80px; resize: vertical; }
select { appearance: none; padding-right: 30px; background: #fffdf7 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2264%22%20height%3D%22160%22%20viewBox%3D%220%200%2064%20160%22%3E%3Crect%20width%3D%2264%22%20height%3D%22160%22%20fill%3D%22%23fbf6ee%22/%3E%3Cpolygon%20points%3D%2237.0%2C0%2039.2%2C8%2041.1%2C16%2042.7%2C24%2043.7%2C32%2044.0%2C40%2043.7%2C48%2042.7%2C56%2041.1%2C64%2039.2%2C72%2037.0%2C80%2034.8%2C88%2032.9%2C96%2031.3%2C104%2030.3%2C112%2030.0%2C120%2030.3%2C128%2031.3%2C136%2032.9%2C144%2034.8%2C152%2037.0%2C160%2055.0%2C160%2052.8%2C152%2050.9%2C144%2049.3%2C136%2048.3%2C128%2048.0%2C120%2048.3%2C112%2049.3%2C104%2050.9%2C96%2052.8%2C88%2055.0%2C80%2057.2%2C72%2059.1%2C64%2060.7%2C56%2061.7%2C48%2062.0%2C40%2061.7%2C32%2060.7%2C24%2059.1%2C16%2057.2%2C8%2055.0%2C0%22%20fill%3D%22%23f9b002%22/%3E%3Cpolyline%20points%3D%2237.0%2C0%2039.2%2C8%2041.1%2C16%2042.7%2C24%2043.7%2C32%2044.0%2C40%2043.7%2C48%2042.7%2C56%2041.1%2C64%2039.2%2C72%2037.0%2C80%2034.8%2C88%2032.9%2C96%2031.3%2C104%2030.3%2C112%2030.0%2C120%2030.3%2C128%2031.3%2C136%2032.9%2C144%2034.8%2C152%2037.0%2C160%22%20fill%3D%22none%22%20stroke%3D%22%23878787%22%20stroke-width%3D%221.3%22/%3E%3Cpolyline%20points%3D%2255.0%2C0%2057.2%2C8%2059.1%2C16%2060.7%2C24%2061.7%2C32%2062.0%2C40%2061.7%2C48%2060.7%2C56%2059.1%2C64%2057.2%2C72%2055.0%2C80%2052.8%2C88%2050.9%2C96%2049.3%2C104%2048.3%2C112%2048.0%2C120%2048.3%2C128%2049.3%2C136%2050.9%2C144%2052.8%2C152%2055.0%2C160%22%20fill%3D%22none%22%20stroke%3D%22%23878787%22%20stroke-width%3D%221.3%22/%3E%3C/svg%3E") right 10px center no-repeat; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.row > * { flex: 1; min-width: 140px; }
form.card.row { padding-top: 6px; }

button, .btn { font: 600 13px var(--mono); display: inline-block; padding: 8px 16px; border: var(--line); border-radius: 0; background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; white-space: nowrap; text-decoration: none; text-align: center; transition: transform .06s, box-shadow .06s; }
.btn { background: var(--yellow); color: var(--ink); }
button:hover, .btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); color: inherit; }
button:hover { color: var(--paper); }
button:active, .btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
button.primary { background: var(--yellow); color: var(--ink); }
button.primary:hover { color: var(--ink); }
button.ghost, .btn.ghost { background: var(--paper); color: var(--ink); }
button.danger { background: var(--paper); color: var(--red); border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
button.small, .btn.small { padding: 2px 8px; font-size: 12px; box-shadow: 2px 2px 0 var(--ink); }
button.small.danger, .btn.small.danger { box-shadow: 2px 2px 0 var(--red); }
.actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }

/* ---------- tablolar ---------- */
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--paper); }
th { text-align: left; font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .5px; padding: 8px 10px; background: var(--cream); border-top: var(--thin); border-bottom: var(--thin); white-space: nowrap; }
td { padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
tr:hover td { background: #fff0c2; }
.card > table, .card > .scroll > table { margin-top: 4px; }

/* ---------- etiketler ---------- */
.tag { display: inline-block; font: 600 11px/1.6 var(--mono); padding: 0 7px; margin: 1px 2px 1px 0; border: var(--thin); background: var(--paper); color: var(--ink); white-space: nowrap; }
.tag.ok, .st-onaylandi { background: var(--gray-light); }
.tag.warn, .st-onay_bekliyor { background: var(--yellow); }
.tag.err, .st-reddedildi { background: var(--orange); }
.st-taslak { background: #eeeae1; }

/* ---------- iletiler ---------- */
.flash { border: var(--line); background: var(--lightyellow); padding: 10px 14px; margin-bottom: 18px; font: 600 13px var(--mono); box-shadow: 3px 3px 0 var(--ink); }
.flash.err { background: var(--orange-soft); }

/* ---------- ilerleme ---------- */
.bar { height: 14px; min-width: 90px; border: var(--thin); background: var(--paper); }
.bar i { display: block; height: 100%; background: var(--yellow); border-right: var(--thin); }

.empty { padding: 30px 16px; text-align: center; color: var(--muted); font-family: var(--mono); }
.empty h2 { color: var(--ink); }
.inline { display: inline; }
form.xl { display: inline-flex; gap: 4px; align-items: center; margin-right: 4px; }
form.xl select { width: auto; max-width: 160px; padding: 2px 6px; font-size: 12px; min-height: 0; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
ul.plain li:last-child { border-bottom: 0; }

/* ---------- giriş: çizgili zemin + kart (tema renkleri) ---------- */
main.bare { min-height: 100vh; max-width: none; display: grid; place-items: center; align-content: center; gap: 0; padding: 40px 16px;
  position: relative; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 46px, var(--cream) 46px 64px); }
/* dört kenarda siyah-sarı kare şerit çerçeve */
main.bare::before { content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none;
  --f: 10px; --c: repeating-linear-gradient(90deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
  --v: repeating-linear-gradient(180deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
  background:
    linear-gradient(var(--ink) 0 0) 0 var(--f) / 100% 1.5px no-repeat,
    linear-gradient(var(--ink) 0 0) 0 calc(100% - var(--f)) / 100% 1.5px no-repeat,
    linear-gradient(var(--ink) 0 0) var(--f) 0 / 1.5px 100% no-repeat,
    linear-gradient(var(--ink) 0 0) calc(100% - var(--f)) 0 / 1.5px 100% no-repeat,
    var(--c) top / 100% var(--f) no-repeat,
    var(--c) bottom / 100% var(--f) no-repeat,
    var(--v) left / var(--f) 100% no-repeat,
    var(--v) right / var(--f) 100% no-repeat; }
main.bare .flash { width: min(420px, 100%); }
.paper { width: min(420px, 100%); background: var(--paper); border: var(--line); box-shadow: 6px 6px 0 var(--ink); padding: 32px 36px 24px; }
.paper .paperlogo { display: block; width: 190px; max-width: 70%; height: auto; margin: 0 auto 16px; }
.paper h1 { text-align: center; font-size: 30px; margin-bottom: 16px; }
.paper .brandline { text-align: center; font: 600 12px var(--mono); color: var(--muted); letter-spacing: 0.3px; margin: 0 0 6px; padding-top: 14px; border-top: var(--thin); }
.paper label { font: 600 12px var(--mono); margin-top: 16px; color: var(--ink); }
.paper input { border: 0; border-bottom: var(--thin); background: transparent; padding: 6px 0; }
.paper input:focus { box-shadow: 0 2px 0 var(--ink); }
.paper .actions button { width: 100%; }
.paper p.small { margin: 16px 0 0; }

/* ---------- dar ekran ---------- */
@media screen and (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; align-items: center; padding: 8px; border-right: 0; border-bottom: var(--line); overflow-x: auto; gap: 4px; }
  .side nav { flex-direction: row; gap: 2px; }
  .side .logo { margin: 0 6px 0 0; padding: 4px 6px; box-shadow: none; }
  .side .logo img.full, .side .logo .sys { display: none; }
  .side .logo img.mark { display: block; }
  .side nav a span, .side .out span { display: none; }
  .side a { padding: 8px; }
  .topbar { padding: 10px 16px; flex-wrap: wrap; }
  .who { border-left: 0; padding-left: 0; }
  .who small { display: none; }
  main { padding: 20px 16px 48px; }
  h1 { font-size: 24px; }
  .row > * { min-width: 100%; }
}

/* sayfa başlığı satırı ve araç düğmeleri */
.row + .kpis, .row + .card, .row + form.card { margin-top: 14px; }
.tools { display: flex; gap: 10px; flex: 0 0 auto !important; min-width: 0 !important; flex-wrap: wrap; }
.row > div[style*="flex:0"] { flex: 0 0 auto !important; min-width: 0 !important; }

/* metin yakalama */
.capture { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 4px; }
.capture label.btn { margin: 0; font: 600 13px var(--mono); cursor: pointer; }
pre.xtext { white-space: pre-wrap; font: 12px/1.5 var(--mono); background: #fffdf7; border: var(--thin); padding: 10px; max-height: 260px; overflow: auto; }
details.small summary { cursor: pointer; font-family: var(--mono); margin-top: 4px; }

/* grafikler */
.chart { width: 100%; min-height: 60px; }
.chart svg { display: block; overflow: visible; font-family: var(--mono); }
.chart .mark { cursor: default; outline: none; }
.chart .mark:hover rect:not([fill="transparent"]), .chart .mark:focus rect:not([fill="transparent"]) { filter: brightness(1.08); stroke-width: 2.5; }
.chart-tip { position: absolute; z-index: 50; pointer-events: none; background: var(--paper); border: var(--line); box-shadow: 3px 3px 0 var(--ink); padding: 6px 10px; font: 12px var(--mono); }
.chart-tip b { display: block; font-size: 15px; }
.chart-tip span { color: var(--muted); }
.live { font: 600 11px var(--mono); color: var(--muted); }
.live i { display: inline-block; width: 8px; height: 8px; background: var(--orange); border: 1px solid var(--ink); margin-right: 6px; vertical-align: 0; }
.updating { opacity: .6; transition: opacity .2s; }

/* asistan */
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; }
.msg { border: var(--thin); padding: 10px 14px; max-width: 80%; background: var(--paper); }
.msg p { margin: 0 0 4px; white-space: pre-wrap; }
.msg.me { align-self: flex-end; background: var(--yellow); }
.msg.bot { align-self: flex-start; box-shadow: 3px 3px 0 var(--ink); }
.msg.wait { color: var(--muted); font-family: var(--mono); }
.msg.err { background: var(--orange-soft); }
#fillwarn .flash { margin: 8px 0 0; font-weight: 400; }

/* roller */
.tag.role-superadmin { background: var(--ink); color: var(--yellow); }
.tag.role-admin { background: var(--yellow); }
.tag.role-personel { background: var(--paper); }
table.mid td { vertical-align: middle; }

/* ================= derinlik katmanı ================= */
:root { --shadow-2: 6px 6px 0 var(--ink); }

/* zemin: hafif nokta ızgarası — sayfaya derinlik verir */
.page { background:
  radial-gradient(circle at 1px 1px, rgb(20 20 20 / .07) 1px, transparent 1.6px) 0 0 / 18px 18px,
  var(--cream); }

/* üst şerit ve yan menü kendi katmanında */
.topbar { position: sticky; top: 0; z-index: 20; box-shadow: 0 4px 0 rgb(20 20 20 / .10); }
.side { box-shadow: 4px 0 0 rgb(20 20 20 / .08); z-index: 21; }
.side nav a.on { box-shadow: 4px 4px 0 var(--yellow); }
.side nav a { transition: transform .12s, box-shadow .12s, background .12s; }
.side nav a:not(.on):hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.side .logo { box-shadow: 4px 4px 0 var(--ink), 8px 8px 0 var(--yellow); }

/* kartlar: üzerine gelince hafif kalkar */
.card { box-shadow: var(--shadow-2); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.card:has(input:focus, select:focus, textarea:focus) { transform: none; box-shadow: var(--shadow-2); }

/* sayı kutuları: arkada ikinci kart katmanı (deste) */
.kpi { position: relative; box-shadow: 5px 5px 0 -2px var(--paper), 5px 5px 0 0 var(--ink), 10px 10px 0 -2px var(--paper), 10px 10px 0 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease; }
.kpi:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 -2px var(--paper), 7px 7px 0 0 var(--ink), 13px 13px 0 -2px var(--paper), 13px 13px 0 0 var(--ink); }
.kpis { gap: 26px; margin-bottom: 34px; }

/* iletiler ve etiketlerde küçük kabartma */
.flash { box-shadow: 4px 4px 0 var(--ink); }
.tag { box-shadow: 2px 2px 0 rgb(20 20 20 / .9); }
td .tag, li .tag { box-shadow: 1.5px 1.5px 0 var(--ink); }

/* tablo başlıkları ince kabartma */
th { box-shadow: inset 0 -2px 0 rgb(20 20 20 / .06); }

/* giriş kartı: arkada üst üste kâğıtlar */
.paper { position: relative; box-shadow: 6px 6px 0 var(--ink), 0 24px 48px rgb(80 50 0 / .30); }
.paper::before, .paper::after { background-image: linear-gradient(160deg, rgb(255 255 255 / .55), transparent 60%); }
.paper::before, .paper::after { content: ""; position: absolute; inset: 0; border: var(--line); z-index: -1; }
.paper::before { background-color: #ffe08a; transform: rotate(-3.2deg) translate(-18px, 14px);
  box-shadow: 4px 4px 0 rgb(20 20 20 / .85), 0 14px 28px rgb(120 80 0 / .25); }
.paper::after { background-color: #fff1c4; transform: rotate(2.6deg) translate(20px, 16px);
  box-shadow: 4px 4px 0 rgb(20 20 20 / .85), 0 10px 22px rgb(120 80 0 / .2); }

/* açılış: kartlar kısa bir kaymayla belirir */
@media (prefers-reduced-motion: no-preference) {
  main > .card, main > .grid > .card, main > .kpis > .kpi { animation: rise .35s ease both; }
  main > .kpis > .kpi:nth-child(2) { animation-delay: .04s; }
  main > .kpis > .kpi:nth-child(3) { animation-delay: .08s; }
  main > .kpis > .kpi:nth-child(4) { animation-delay: .12s; }
  main > .grid > .card:nth-child(2) { animation-delay: .06s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media screen and (max-width: 760px) { .side { box-shadow: 0 4px 0 rgb(20 20 20 / .08); } .topbar { position: static; } }

/* ================= telefon: uygulama düzeni ================= */
html, body { overflow-x: hidden; }
.page, main { overflow-x: clip; }
.appmark, .tabbar, .sheet, .sheet-backdrop { display: none; }

@media screen and (max-width: 760px) {
  body { -webkit-text-size-adjust: 100%; }
  .shell { display: block; }
  .side { display: none; }
  .topbar { position: sticky; top: 0; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; flex-wrap: nowrap; }
  .appmark { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: var(--paper); border: var(--line); box-shadow: 2px 2px 0 var(--ink); }
  .appmark img { width: 24px; height: auto; }
  .search { max-width: none; min-width: 0; }
  .who { display: none; }
  main { padding: 18px 14px calc(96px + env(safe-area-inset-bottom)); }
  h1 { font-size: 22px; margin-bottom: 12px; }

  /* dokunma: en az 44px, iOS yakınlaştırmasını engellemek için 16px yazı */
  input, select, textarea { font-size: 16px; min-height: 44px; }
  input[type="checkbox"] { min-height: 0; width: 20px; height: 20px; }
  button, .btn { min-height: 44px; padding: 10px 16px; }
  button.small, .btn.small { min-height: 34px; padding: 6px 10px; }
  .row { gap: 10px; }
  .row > *, .row > div[style*="flex:0"] { flex: 1 1 100% !important; min-width: 0 !important; }
  .row > div[style*="flex:0"] > button, .row > div[style*="flex:0"] > .btn, form.row button { width: 100%; }
  .tools { width: 100%; } .tools form { flex: 1; } .tools button { width: 100%; }
  .capture { display: grid; grid-template-columns: 1fr 1fr; }
  .capture label.btn, .capture button { width: 100%; text-align: center; }
  .aciklama-doldur #fill { width: 100%; }
  .capture #capmsg { grid-column: 1 / -1; }
  .card { padding: 14px; box-shadow: 4px 4px 0 var(--ink); }
  .card:hover { transform: none; box-shadow: 4px 4px 0 var(--ink); }
  .kpis { gap: 16px; grid-template-columns: 1fr 1fr; }
  .kpi { padding: 12px; box-shadow: 4px 4px 0 -2px var(--paper), 4px 4px 0 0 var(--ink), 7px 7px 0 -2px var(--paper), 7px 7px 0 0 var(--ink); }
  .kpi b { font-size: 26px; }
  .kpi .kpi-st { width: 34px; top: -10px; right: 6px; }
  .grid { gap: 0; }

  /* tablolar → kartlar (yana kaydırma yok) */
  .scroll { overflow-x: visible; }
  table.stackable, table.stackable tbody { display: block; width: 100%; }
  table.stackable tr:first-child:has(th) { display: none; }
  table.stackable tr { display: block; border: var(--thin); background: var(--paper); margin: 0 0 10px; padding: 6px 10px; box-shadow: 3px 3px 0 var(--ink); }
  table.stackable td { display: flex; gap: 12px; justify-content: space-between; align-items: center; border: 0; border-bottom: 1px dashed var(--rule); padding: 7px 0; text-align: right; min-width: 0; overflow-wrap: anywhere; }
  table.stackable td:last-child { border-bottom: 0; }
  table.stackable td::before { content: attr(data-label); flex: none; max-width: 45%; text-align: left; font: 700 11px var(--mono); text-transform: uppercase; color: var(--muted); }
  table.stackable td:not([data-label])::before, table.stackable td[data-label=""]::before { content: none; }
  table.stackable td:not([data-label]), table.stackable td[data-label=""] { justify-content: flex-end; }
  table.stackable td:first-child { font-weight: 600; }
  table.stackable td > form.row { justify-content: flex-end; }
  table.stackable td > form.row > * { flex: 1 1 100% !important; }
  table.stackable tr:hover td { background: transparent; }
  table.mid td { vertical-align: initial; }

  /* alt uygulama menüsü */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--paper); border-top: var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 0 rgb(20 20 20 / .08); }
  .tabbar a, .tabbar label { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; color: var(--ink); text-decoration: none; font: 600 10.5px var(--mono); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .tabbar .ico { width: 22px; height: 22px; }
  .tabbar .on { color: var(--ink); }
  .tabbar .on .ico { background: var(--yellow); outline: 2px solid var(--ink); outline-offset: 2px; }
  .tabbar a.new { margin-top: -22px; }
  .tabbar a.new .ico { width: 52px; height: 52px; padding: 13px; background: var(--yellow); border: var(--line); box-shadow: 3px 3px 0 var(--ink); stroke-width: 2.5; outline: 0; }
  .tabbar a.new:active .ico { transform: translate(3px, 3px); box-shadow: none; }

  /* açılır menü paneli */
  .sheet-backdrop { position: fixed; inset: 0; z-index: 45; background: rgb(20 20 20 / .35); }
  .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--cream); border-top: var(--line);
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 0 var(--yellow);
    transform: translateY(105%); transition: transform .22s ease; display: block; max-height: 80vh; overflow-y: auto; }
  .sheet-toggle:checked ~ .sheet { transform: none; }
  .sheet-toggle:checked ~ .sheet-backdrop { display: block; }
  .sheet-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: var(--thin); }
  .sheet-head b { display: block; font: 700 14px var(--mono); }
  .sheet-head small { color: var(--muted); font-size: 12px; }
  .sheet-close { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; border: var(--line); background: var(--paper); font: 700 22px var(--mono); cursor: pointer; }
  .sheet a { display: flex; align-items: center; gap: 12px; padding: 13px 10px; color: var(--ink); text-decoration: none; font: 600 15px var(--mono); border-bottom: 1px dashed var(--rule); }
  .sheet a:last-child { border-bottom: 0; }
  .sheet a.danger-link { color: var(--red); }
  .sheet .ico { width: 22px; height: 22px; }
}

/* ================= yazdırma / PDF (bilgisayar çıktısı) ================= */
@media print {
  @page { size: A4; margin: 14mm; }
  body, .page { background: #fff !important; }
  .side, .topbar, .tabbar, .sheet, .sheet-backdrop, .no-print, form.card, .flash { display: none !important; }
  .shell { display: block; }
  main { padding: 0; max-width: none; }
  .card { box-shadow: none !important; border: 1px solid #999; break-inside: avoid; transform: none !important; animation: none !important; }
  .kpi { box-shadow: none !important; }
  table { font-size: 11px; }
  tr:hover td { background: none; }
  .print-head { display: flex !important; }
  main > .row:first-child h1, .tools { display: none !important; }
  .card, table, th, td { background: #fff !important; }
  th { border-top: 1px solid #000; border-bottom: 1px solid #000; }
  .page { background: #fff !important; }
  a { text-decoration: none; color: #000; }
}
.print-head { display: none; align-items: center; justify-content: space-between; border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 14px; font: 12px var(--mono); }
.print-head img { height: 34px; }
@media screen and (max-width: 760px) {
  table.stackable td { flex-wrap: wrap; }
  table.stackable td .tag { white-space: normal; }
  .capture { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capture label.btn, .capture button { white-space: normal; line-height: 1.25; }
  .tag { white-space: normal; }
}
@media screen and (max-width: 760px) {
  .tabbar label, .sheet label { margin: 0; }
  .tabbar a, .tabbar label { justify-content: flex-end; }
  .tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tools > *, .tools form, .tools button, .tools .btn { width: 100%; }
}
@media screen and (max-width: 760px) {
  .sheet .sheet-head .sheet-close { margin-left: auto; }
  .tools { margin-bottom: 14px; }
}
.who { color: var(--ink); text-decoration: none; } .side .out + .out { margin-top: 0; }

/* ================= palet: gri · siyah · turuncu · açık sarı · koyu sarı ================= */
/* sol menü koyu gri üzerinde açık yazı; seçili öğe koyu sarı */
.side a, .side .out { color: var(--cream); }
.side nav a:not(.on):hover { background: var(--gray-mid); color: var(--cream); border-color: var(--yellow); box-shadow: 3px 3px 0 var(--orange); }
.side nav a.on { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--orange); }
.side .out:hover { border-color: var(--yellow); color: var(--yellow); }
.side .logo { box-shadow: 4px 4px 0 var(--yellow), 8px 8px 0 var(--orange); }
.side { box-shadow: 4px 0 0 rgb(20 20 20 / .18); }
/* sayı kutuları: koyu sarı · turuncu · açık sarı · açık gri */
.kpi:nth-child(4n+2) span { color: var(--ink); }
/* etiketler ve vurgular */
.tag.warn, .st-onay_bekliyor { background: var(--yellow); }
details.card[open] summary { background: var(--lightyellow); }
.avatar { background: var(--ink); color: var(--yellow); }
.bar i { background: var(--orange); }
th { background: var(--lightyellow); }
.msg.me { background: var(--lightyellow); }
.who small, .muted { color: #5a5a5a; }
/* giriş ekranı: koyu sarı + açık sarı şerit, siyah-sarı çerçeve (zaten tema içinde) */
.side .logo, .side .logo .sys { color: var(--ink); } .side .logo .sys small { color: #5a5a5a; }
.tag.err { background: var(--orange-soft); } .st-reddedildi { background: var(--orange); }

/* rapor sekmeleri ve tavsiyeler */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tabs a { font: 600 12.5px var(--mono); padding: 7px 12px; border: var(--thin); background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: 2px 2px 0 var(--ink); }
.tabs a.on { background: var(--yellow); }
.tabs a:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
ol.advice { padding-left: 22px; margin: 0; }
ol.advice > li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
ol.advice > li:last-child { border-bottom: 0; }
.advice-head { margin-bottom: 4px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
ol.advice ul { margin: 4px 0 0; padding-left: 18px; }
ol.advice ul li { margin: 2px 0; }
@media screen and (max-width: 760px) { .tabs { gap: 6px; } .tabs a { padding: 6px 9px; font-size: 11.5px; } }

/* ================= uygulama adı: belirgin ================= */
.paper .brandline { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 0 14px; padding-top: 16px; color: var(--ink); }
.paper .brandline b { font: 700 30px/1 var(--mono); letter-spacing: 3px; background: var(--yellow); border: var(--line); box-shadow: 3px 3px 0 var(--ink); padding: 6px 14px 4px; margin-bottom: 8px; }
.paper .brandline span { font: 700 15px/1.3 var(--mono); letter-spacing: .2px; }
.paper h1 { margin-top: 6px; padding-top: 12px; border-top: 1.5px dashed var(--rule); }
.side .logo .sys { font-size: 20px; letter-spacing: 2px; }
.side .logo .sys small { font: 700 12px/1.35 var(--mono); color: var(--ink); letter-spacing: 0; margin-top: 4px; }
.appname { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.appname b { font: 700 18px/1 var(--mono); letter-spacing: 2px; background: var(--ink); color: var(--yellow); padding: 6px 9px 5px; border: var(--line); }
.appname span { font: 700 14px/1.2 var(--mono); max-width: 170px; }
@media screen and (max-width: 1100px) { .appname span { display: none; } }
@media screen and (max-width: 760px) {
  .appname b { font-size: 15px; padding: 5px 7px 4px; }
  .paper .brandline b { font-size: 24px; } .paper .brandline span { font-size: 13px; text-align: center; }
}

/* giriş / kayıt: dalgalı sarı şeritler yavaşça akar (hareketi azalt tercihinde durur) */
main.bare { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2264%22%20height%3D%22160%22%20viewBox%3D%220%200%2064%20160%22%3E%3Crect%20width%3D%2264%22%20height%3D%22160%22%20fill%3D%22%23fbf6ee%22/%3E%3Cpolygon%20points%3D%2237.0%2C0%2039.2%2C8%2041.1%2C16%2042.7%2C24%2043.7%2C32%2044.0%2C40%2043.7%2C48%2042.7%2C56%2041.1%2C64%2039.2%2C72%2037.0%2C80%2034.8%2C88%2032.9%2C96%2031.3%2C104%2030.3%2C112%2030.0%2C120%2030.3%2C128%2031.3%2C136%2032.9%2C144%2034.8%2C152%2037.0%2C160%2055.0%2C160%2052.8%2C152%2050.9%2C144%2049.3%2C136%2048.3%2C128%2048.0%2C120%2048.3%2C112%2049.3%2C104%2050.9%2C96%2052.8%2C88%2055.0%2C80%2057.2%2C72%2059.1%2C64%2060.7%2C56%2061.7%2C48%2062.0%2C40%2061.7%2C32%2060.7%2C24%2059.1%2C16%2057.2%2C8%2055.0%2C0%22%20fill%3D%22%23f9b002%22/%3E%3Cpolyline%20points%3D%2237.0%2C0%2039.2%2C8%2041.1%2C16%2042.7%2C24%2043.7%2C32%2044.0%2C40%2043.7%2C48%2042.7%2C56%2041.1%2C64%2039.2%2C72%2037.0%2C80%2034.8%2C88%2032.9%2C96%2031.3%2C104%2030.3%2C112%2030.0%2C120%2030.3%2C128%2031.3%2C136%2032.9%2C144%2034.8%2C152%2037.0%2C160%22%20fill%3D%22none%22%20stroke%3D%22%23878787%22%20stroke-width%3D%221.3%22/%3E%3Cpolyline%20points%3D%2255.0%2C0%2057.2%2C8%2059.1%2C16%2060.7%2C24%2061.7%2C32%2062.0%2C40%2061.7%2C48%2060.7%2C56%2059.1%2C64%2057.2%2C72%2055.0%2C80%2052.8%2C88%2050.9%2C96%2049.3%2C104%2048.3%2C112%2048.0%2C120%2048.3%2C128%2049.3%2C136%2050.9%2C144%2052.8%2C152%2055.0%2C160%22%20fill%3D%22none%22%20stroke%3D%22%23878787%22%20stroke-width%3D%221.3%22/%3E%3C/svg%3E") 0 0 / 64px 160px repeat; }
@media (prefers-reduced-motion: no-preference) {
  main.bare { animation: serit-akis 9s linear infinite; }
}
@keyframes serit-akis { from { background-position: 0 0; } to { background-position: 0 160px; } }

/* ================= giriş animasyonları ================= */
/* kart açılır: arkadaki kâğıtlar yelpaze gibi açılır, kart öne gelip kaybolur */
.paper::before, .paper::after { transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .38s; }
.paper > * { transition: opacity .25s ease, transform .3s ease; }
.paper.opening > :not(.welcome) { opacity: 0; transform: translateY(-6px); }
.paper.opening::before { transform: rotate(-11deg) translate(-70px, 24px); }
.paper.opening::after { transform: rotate(10deg) translate(74px, 26px); }
.paper.opening .actions button { background: var(--ink); color: var(--yellow); }
/* panel açılışı: koyu sarı perde yukarı çekilir */
body.page-enter::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2264%22%20height%3D%22160%22%20viewBox%3D%220%200%2064%20160%22%3E%3Crect%20width%3D%2264%22%20height%3D%22160%22%20fill%3D%22%23fbf6ee%22/%3E%3Cpolygon%20points%3D%2237.0%2C0%2039.2%2C8%2041.1%2C16%2042.7%2C24%2043.7%2C32%2044.0%2C40%2043.7%2C48%2042.7%2C56%2041.1%2C64%2039.2%2C72%2037.0%2C80%2034.8%2C88%2032.9%2C96%2031.3%2C104%2030.3%2C112%2030.0%2C120%2030.3%2C128%2031.3%2C136%2032.9%2C144%2034.8%2C152%2037.0%2C160%2055.0%2C160%2052.8%2C152%2050.9%2C144%2049.3%2C136%2048.3%2C128%2048.0%2C120%2048.3%2C112%2049.3%2C104%2050.9%2C96%2052.8%2C88%2055.0%2C80%2057.2%2C72%2059.1%2C64%2060.7%2C56%2061.7%2C48%2062.0%2C40%2061.7%2C32%2060.7%2C24%2059.1%2C16%2057.2%2C8%2055.0%2C0%22%20fill%3D%22%23f9b002%22/%3E%3Cpolyline%20points%3D%2237.0%2C0%2039.2%2C8%2041.1%2C16%2042.7%2C24%2043.7%2C32%2044.0%2C40%2043.7%2C48%2042.7%2C56%2041.1%2C64%2039.2%2C72%2037.0%2C80%2034.8%2C88%2032.9%2C96%2031.3%2C104%2030.3%2C112%2030.0%2C120%2030.3%2C128%2031.3%2C136%2032.9%2C144%2034.8%2C152%2037.0%2C160%22%20fill%3D%22none%22%20stroke%3D%22%23878787%22%20stroke-width%3D%221.3%22/%3E%3Cpolyline%20points%3D%2255.0%2C0%2057.2%2C8%2059.1%2C16%2060.7%2C24%2061.7%2C32%2062.0%2C40%2061.7%2C48%2060.7%2C56%2059.1%2C64%2057.2%2C72%2055.0%2C80%2052.8%2C88%2050.9%2C96%2049.3%2C104%2048.3%2C112%2048.0%2C120%2048.3%2C128%2049.3%2C136%2050.9%2C144%2052.8%2C152%2055.0%2C160%22%20fill%3D%22none%22%20stroke%3D%22%23878787%22%20stroke-width%3D%221.3%22/%3E%3C/svg%3E") 0 0 / 64px 160px repeat;
  border-bottom: 6px solid var(--ink); animation: perde .75s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes perde { 0% { transform: translateY(0); } 100% { transform: translateY(-102%); } }
body.page-enter .kpi, body.page-enter main > .card, body.page-enter main > .grid > .card { animation-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .paper, .paper::before, .paper::after { transition: none; } body.page-enter::after { display: none; } }

/* açılışta kartın ortasında "Hoş Geldiniz" */
.paper .welcome { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; opacity: 0; transform: scale(.92); pointer-events: none; transition: opacity .3s ease .12s, transform .4s cubic-bezier(.2,.8,.2,1) .12s; }
.paper .welcome img { width: 46px; height: auto; }
.paper .welcome b { font: 700 clamp(28px, 7vw, 40px)/1.1 var(--mono); letter-spacing: .5px; text-align: center;
  background: var(--yellow); border: var(--line); box-shadow: 4px 4px 0 var(--ink); padding: 10px 18px 8px; }
.paper .welcome span { font: 600 14px var(--mono); color: #5a5a5a; }
.paper.opening .welcome { opacity: 1; transform: none; }

/* "Görüşmek Üzere" */
.bye-msg { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0 8px; border-top: 1.5px dashed var(--rule); }
.bye-msg b { font: 700 clamp(26px, 7vw, 36px)/1.1 var(--mono); background: var(--yellow); border: var(--line); box-shadow: 4px 4px 0 var(--ink); padding: 10px 18px 8px; }
.bye-msg span { font: 600 13px var(--mono); color: #5a5a5a; text-align: center; }
@media (prefers-reduced-motion: no-preference) { .bye-msg b { animation: rise .45s ease both; } }


/* ======================================================================
   KURUMSAL GÖRÜNÜM — retro öğeler azaltıldı (palet aynı: gri · siyah · turuncu · açık/koyu sarı)
   ince çerçeve, yumuşak gölge, yuvarlatılmış köşe, sade yazı tipi
   ====================================================================== */
:root { --border: #e3ddcf; --line: 1px solid var(--border); --thin: 1px solid var(--border);
  --cream: #f8f6f1; --paper: #ffffff; --radius: 12px; --ink: #1f1f1f;
  --soft: 0 1px 2px rgb(31 31 31 / .05), 0 6px 20px rgb(31 31 31 / .06); --shadow-2: var(--soft); }
body { font-family: var(--sans); background: var(--cream); }
.page { background: var(--cream); }
h1 { font: 600 26px/1.2 var(--sans); letter-spacing: -.3px; }
h2 { font: 600 15.5px/1.3 var(--sans); }
label { font: 600 12.5px var(--sans); color: #3d3d3d; }
.muted, .who small { color: #666; }

/* kartlar */
.card, details.card { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--soft); }
.card:hover { transform: none; box-shadow: var(--soft); }
details.card summary { font-family: var(--sans); }
details.card summary::before { border-radius: 4px; border-color: var(--border); }
details.card[open] summary { background: #fbf6e6; border-bottom-color: var(--border); border-radius: var(--radius) var(--radius) 0 0; }

/* sayı kutuları: beyaz kart + üstte renkli şerit */
.kpi, .kpi:nth-child(4n+2), .kpi:nth-child(4n+3), .kpi:nth-child(4n+4) { background: #fff; color: var(--ink); }
.kpi { border: 1px solid var(--border); border-top: 4px solid var(--yellow); border-radius: var(--radius); box-shadow: var(--soft); }
.kpi:nth-child(4n+2) { border-top-color: var(--orange); }
.kpi:nth-child(4n+3) { border-top-color: #f2d77a; }
.kpi:nth-child(4n+4) { border-top-color: var(--gray); }
.kpi:hover { transform: none; box-shadow: var(--soft); }
.kpi b { font: 700 30px/1.1 var(--sans); letter-spacing: -.5px; }
.kpi span, .kpi:nth-child(4n+2) span { color: #555; font-size: 12.5px; }
.kpis { gap: 18px; margin-bottom: 26px; }

/* düğmeler */
button, .btn { font: 600 13.5px var(--sans); border-radius: 8px; border: 1px solid var(--ink); box-shadow: none; }
button:hover, .btn:hover { transform: none; box-shadow: none; filter: brightness(.95); }
button:active, .btn:active { transform: none; box-shadow: none; filter: brightness(.9); }
button.primary, .btn { background: var(--yellow); border-color: #d99a00; color: var(--ink); }
button.ghost, .btn.ghost { background: #fff; border-color: #cfc8b8; color: var(--ink); }
button.danger, button.small.danger { background: #fff; border-color: var(--red); color: var(--red); box-shadow: none; }
button.small { box-shadow: none; border-radius: 6px; }
input[type="file"]::file-selector-button { font: 600 12.5px var(--sans); border-radius: 6px; border: 1px solid #d99a00; }

/* form alanları */
input, select, textarea { border: 1px solid #d6cfbf; border-radius: 8px; background-color: #fff; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px rgb(249 176 2 / .25); border-color: #d99a00; }

/* tablolar, etiketler, iletiler */
th { font: 600 11.5px var(--sans); letter-spacing: .3px; background: #faf6ea; border-top: 0; border-bottom: 1px solid var(--border); box-shadow: none; }
td { border-bottom-color: #eee8da; }
tr:hover td { background: #fdf8ea; }
.tag, td .tag, li .tag { font: 600 11.5px/1.7 var(--sans); border-radius: 999px; border: 1px solid transparent; box-shadow: none; padding: 0 9px; }
.tag:not(.ok):not(.warn):not(.err):not([class*="st-"]):not([class*="role-"]) { border-color: var(--border); }
.flash { border: 1px solid var(--border); border-radius: 10px; box-shadow: none; font: 500 13.5px var(--sans); }
.bar { border: 0; border-radius: 999px; background: #efe9da; height: 10px; }
.bar i { border: 0; border-radius: 999px; }
.empty { font-family: var(--sans); }
.chart-tip { border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--soft); font-family: var(--sans); }
.chart svg { font-family: var(--sans); }
.msg { border-radius: 12px; border-color: var(--border); }
.msg.bot { box-shadow: var(--soft); }
pre.xtext { border-radius: 8px; border-color: var(--border); }

/* üst şerit: beyaz, üstte ince sarı çizgi */
.topbar { background: #fff; border-top: 3px solid var(--yellow); border-bottom: 1px solid var(--border); box-shadow: 0 1px 3px rgb(0 0 0 / .04); }
.search { border: 1px solid var(--border); border-radius: 10px; background: var(--cream); }
.search:focus-within { box-shadow: 0 0 0 3px rgb(249 176 2 / .25); border-color: #d99a00; }
.search input { font-family: var(--sans); }
.appname b { background: var(--yellow); color: var(--ink); border: 0; border-radius: 6px; font: 700 16px/1 var(--sans); letter-spacing: 1.5px; }
.appname span { font: 600 14px/1.2 var(--sans); }
.who { border-left: 1px solid var(--border); }
.who b { font: 600 13.5px var(--sans); }
.avatar { border: 0; border-radius: 50%; font: 700 16px var(--sans); }
.appmark { border: 1px solid var(--border); border-radius: 8px; box-shadow: none; }
.live { font-family: var(--sans); } .live i { border-radius: 50%; border: 0; }

/* sol menü: yalnız DEPARK logosu */
.side { border-right: 0; box-shadow: none; }
.side .logo { border: 0; border-radius: 10px; box-shadow: none; padding: 16px 14px; margin-bottom: 18px; }
.side .logo .sys { display: none; }
.side nav a, .side .out { font: 500 13.5px var(--sans); border: 0; border-radius: 8px; }
.side nav a:not(.on):hover { transform: none; box-shadow: none; background: #3a3a3a; }
.side nav a.on { box-shadow: none; background: var(--yellow); color: var(--ink); }

/* rapor sekmeleri */
.tabs a { font: 600 12.5px var(--sans); border: 1px solid var(--border); border-radius: 999px; box-shadow: none; background: #fff; }
.tabs a:hover { transform: none; box-shadow: none; background: #fbf6e6; }
.tabs a.on { background: var(--yellow); border-color: #d99a00; }

/* telefon menüleri */
.tabbar { border-top: 1px solid var(--border); box-shadow: 0 -2px 10px rgb(0 0 0 / .05); }
.tabbar a, .tabbar label { font: 600 10.5px var(--sans); }
.tabbar .on .ico { outline: 0; background: var(--yellow); border-radius: 6px; }
.tabbar a.new .ico { border: 0; border-radius: 16px; box-shadow: 0 4px 12px rgb(217 154 0 / .35); }
.sheet { border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgb(0 0 0 / .12); border-radius: 18px 18px 0 0; }
.sheet a, .sheet-head b { font-family: var(--sans); }
.sheet-close { border: 1px solid var(--border); border-radius: 50%; }

/* giriş / kayıt: çerçeve kaldırıldı, zemin soluk, kart sade */
main.bare::before { display: none; }
.paper { border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 2px 6px rgb(31 31 31 / .06), 0 24px 60px rgb(120 90 20 / .16); }
.paper::before, .paper::after { border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 8px 24px rgb(120 90 20 / .12); background-image: none; }
.paper::before { background-color: #fbefc8; } .paper::after { background-color: #fff8e4; }
.paper h1 { font: 600 24px/1.2 var(--sans); letter-spacing: -.2px; border-top: 1px solid #eee8da; }
.paper .brandline b { font: 700 22px/1 var(--sans); letter-spacing: 2px; border: 0; border-radius: 8px; box-shadow: none; padding: 7px 14px 6px; }
.paper .brandline span { font: 600 14px/1.3 var(--sans); color: #444; }
.paper label { font: 600 12.5px var(--sans); color: #444; }
.paper .actions button { border-radius: 10px; font: 600 14px var(--sans); }
.paper .actions button:hover { box-shadow: none; }
.paper .welcome b, .bye-msg b { font: 600 28px/1.2 var(--sans); border: 0; border-radius: 10px; box-shadow: none; }
.paper .welcome span, .bye-msg span { font: 500 13.5px var(--sans); }
.bye-msg { border-top-color: #eee8da; }
/* açılır liste oku (sade) */
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px; background-color: #fff; }
.capture label.btn, .capture button { font: 600 13px var(--sans); }
.paper input { border: 1px solid #d6cfbf; border-radius: 8px; padding: 10px 12px; background: #fff; }
.paper input:focus { box-shadow: 0 0 0 3px rgb(249 176 2 / .25); border-color: #d99a00; }
.paper label { margin-top: 14px; }
/* giriş / kayıt kartı ve arkadaki kâğıtlar: ince gri çizgi */
.paper, .paper::before, .paper::after { border: 1.5px solid #878787; }  /* DEPARK logosunun grisi */

/* telefon kurulum sayfası */
.paper.kurulum{max-width:560px}
.paper.kurulum h3{margin:18px 0 8px;font-size:1.02rem}
.paper.kurulum details{margin:8px 0;padding:8px 12px;border:1px solid #e3dccb;border-radius:10px;background:#fffdf7}
.paper.kurulum ol,.paper.kurulum ul{padding-left:20px;line-height:1.55}

/* Site Ayarları → Sayfalar: sayfanın üstündeki not */
.card.sayfa-notu { border-left: 4px solid var(--darkyellow, #F9B002); font-size: 14px; line-height: 1.6; }

/* ================= Panel analitiği ================= */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 4px 0 18px; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 0; }
.filters select { width: auto; min-width: 110px; }
.an-sec { margin: 8px 0 6px; }
.sec-title { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; font-weight: 600; }
.an-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 22px; }
.tile { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; box-shadow: 0 6px 16px rgb(80 50 0 / .06); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile span { font-size: 12.5px; color: var(--muted); }
.tile b { font: 600 26px/1.15 var(--sans); color: var(--ink); }
.tile small { font-size: 11.5px; color: #6b6b6b; line-height: 1.35; }
.tile.hero { grid-column: span 2; background: #fff8e1; border-color: #ecd9a0; }
.tile.hero b { font-size: 48px; }
@media (max-width: 560px) { .tile.hero { grid-column: span 1; } .tile.hero b { font-size: 40px; } }
.chart-empty { padding: 28px 0; text-align: center; }
.donut-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.donut-wrap svg { flex: none; }
.chart-legend { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; min-width: 0; flex: 1 1 200px; }
.chart .chart-legend { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
.chart-legend li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.chart-legend li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; color: var(--ink); }
.chart-legend li b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.chart-legend i.line { height: 2px; width: 14px; border-radius: 1px; }
.chart-tip .tip-row { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.chart-tip .tip-row i { width: 12px; height: 2px; flex: none; }
.chart-tip .tip-row span { color: var(--muted); }
.heat-scale { display: flex; align-items: center; gap: 3px; margin-top: 8px; }
.heat-scale i { width: 18px; height: 10px; border-radius: 2px; display: inline-block; }
details.tv { margin-top: 10px; }
details.tv summary { cursor: pointer; font-size: 12px; color: var(--muted); }
details.tv table { margin-top: 8px; font-size: 12.5px; }
.card.sayfa-notu { border-left: 4px solid var(--yellow); }
.donut-wrap .chart-legend { flex-direction: column; flex-wrap: nowrap; }
input.yil-kutu { width: 110px; min-width: 0; }
.filters input.yil-kutu { width: 100px; }

/* filtre satırı: etiketler tek satır, kutular aynı hizada ve aynı yükseklikte */
.filter-grid { display: grid; grid-template-columns: minmax(200px, 2fr) 120px repeat(3, minmax(140px, 1fr)) auto; gap: 12px 14px; align-items: end; }
.filter-grid > div { min-width: 0; }
.filter-grid label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filter-grid input, .filter-grid select { width: 100%; height: 38px; box-sizing: border-box; }
.filter-grid input.yil-kutu { width: 100%; }
.filter-grid .fg-btn button { height: 38px; }
@media (max-width: 1100px) { .filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .filter-grid .fg-ara { grid-column: 1 / -1; } }
@media (max-width: 560px) { .filter-grid { grid-template-columns: 1fr 1fr; } .filter-grid .fg-btn { grid-column: 1 / -1; } .filter-grid .fg-btn button { width: 100%; } }
/* diğer sayfalardaki yıl kutusu: komşu kutularla aynı genişlik */
.row input.yil-kutu { width: 100%; min-width: 100px; }
/* tüm filtre kartları: kutular alt kenardan hizalı, aynı yükseklikte */
form.card.row { align-items: flex-end; }
form.card.row label { white-space: nowrap; }
form.card.row input:not([type=checkbox]):not([type=file]), form.card.row select, form.card.row button { height: 38px; box-sizing: border-box; }

details.gsec { margin: 10px 0; border: 1px solid var(--rule); border-radius: 10px; padding: 8px 12px; background: #fff; }
details.gsec summary { cursor: pointer; }
.gsec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 4px 16px; max-height: 300px; overflow: auto; margin-top: 8px; }
.gsec-list label { font-size: 13px; color: var(--ink); display: flex; gap: 6px; align-items: flex-start; font-weight: 400; }
.filter-grid.out-filter { grid-template-columns: 110px minmax(140px, 1fr) minmax(140px, 1fr) minmax(170px, 1.3fr) minmax(210px, 1.6fr) auto; }
@media (max-width: 1100px) { .filter-grid.out-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .filter-grid.out-filter { grid-template-columns: 1fr 1fr; } }
.filter-grid.out-filter.no-dep { grid-template-columns: 110px minmax(140px, 1fr) minmax(140px, 1fr) minmax(210px, 1.6fr) auto; }
.tools input.yil-kutu { width: 90px; }
.filter-grid.out-filter { grid-template-columns: 110px minmax(130px, 1fr) minmax(170px, 1.3fr) minmax(210px, 1.6fr) auto; }
.filter-grid.out-filter.no-dep { grid-template-columns: 110px minmax(130px, 1fr) minmax(210px, 1.6fr) auto; }
.filter-grid.sec-filter { grid-template-columns: minmax(200px, 1.5fr) minmax(110px, .8fr) minmax(130px, 1fr) minmax(200px, 1.5fr) auto; }
@media (max-width: 1100px) { .filter-grid.sec-filter { grid-template-columns: 1fr 1fr; } }

/* Panel: her kutu ve başlık tıklanabilir */
a.kpi, a.tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; cursor: pointer; transition: transform .12s, box-shadow .12s, border-color .12s; }
a.kpi { display: block; }
a.kpi:hover, a.tile:hover { transform: translateY(-2px); border-color: #d9b44a; box-shadow: 0 10px 22px rgb(80 50 0 / .12); }
a.kpi:focus-visible, a.tile:focus-visible, a.h-link:focus-visible { outline: 3px solid #cf9800; outline-offset: 2px; }
a.h-link { color: inherit; text-decoration: none; }
a.h-link span { color: #a07400; font-weight: 400; transition: margin .12s; }
a.h-link:hover { text-decoration: underline; text-underline-offset: 3px; }
a.h-link:hover span { margin-left: 4px; }
svg .mark.link { cursor: pointer; }
svg .mark.link:hover { opacity: .82; }
.chart-legend a { color: inherit; text-decoration: none; }
.chart-legend a:hover { text-decoration: underline; }
.ek-bilgi { margin: 12px 0; border: 1px solid var(--rule); border-radius: 10px; padding: 8px 12px; background: #fff; }

.st-duzeltme { background: var(--orange-soft); }
.role-departman_yoneticisi { background: #f3e2b0; }

/* ================= yan menü: sayfa boyunca koyu, kaydırınca / yakınlaştırınca bozulmaz ================= */
@media screen and (min-width: 761px) {
  /* sol sütunun zemini sayfanın tamamı boyunca koyu (içerik ne kadar uzun olursa olsun) */
  .shell { background: linear-gradient(to right, var(--gray-dark) 0 210px, var(--cream) 210px 100%); align-items: start; }
  /* menü kaydırırken yerinde kalır; ekran kısaysa (yakınlaştırma) kendi içinde kayar, taşmaz */
  .side { position: sticky; top: 0; height: 100vh; height: 100dvh; max-height: 100dvh; overflow-y: auto; overflow-x: hidden;
          overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #555 transparent; box-sizing: border-box; }
  .side nav { flex: 1 0 auto; }
  .side::-webkit-scrollbar { width: 6px; } .side::-webkit-scrollbar-thumb { background: #555; border-radius: 3px; }
}
/* zorunlu alan haritası */
.zorunlu-etiket { color: #a83a14; font-weight: 700; font-size: 11.5px; }
.zorunlu-kutu { border: 1px solid #e6c27a; background: #fff8e6; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; font-size: 13px; }
.zorunlu-kutu.hata { border-color: #a83a14; background: #fdeee7; }
input.zorunlu-eksik, textarea.zorunlu-eksik, select.zorunlu-eksik { border-color: #a83a14 !important; box-shadow: 0 0 0 3px rgb(168 58 20 / .15) !important; }

.excel-form-row { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.excel-form-row:last-of-type { border-bottom: 0; }
.sheet-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sheet-chip { display: inline-flex; align-items: center; gap: 4px; }
.sheet-chip form { margin: 0; }
button.chip-x { all: unset; cursor: pointer; font-size: 12px; line-height: 1; padding: 2px 5px; border-radius: 4px; color: #6b4c00; }
button.chip-x:hover, button.chip-x:focus-visible { background: rgb(0 0 0 / .1); color: #a83a14; outline: none; }

/* yan menü: kısa pencerede / yakınlaştırınca bölümler kaybolmaz */
@media screen and (min-width: 761px) {
  .side { scrollbar-width: auto; scrollbar-color: #8a8a8a transparent; }
  .side::-webkit-scrollbar { width: 8px; } .side::-webkit-scrollbar-thumb { background: #8a8a8a; }
}
@media screen and (min-width: 761px) and (max-height: 820px) {  /* sıkışık düzen: hepsi sığsın */
  .side { padding: 10px 10px; }
  .side .logo { padding: 6px 8px; margin-bottom: 10px; }
  .side .logo img.full { max-height: 44px; width: auto; max-width: 100%; }
  .side nav { gap: 1px; }
  .side a { padding: 5px 9px; font-size: 12.5px; }
}
@media screen and (min-width: 761px) and (max-height: 600px) {  /* çok kısa: menü sayfayla akar, hepsi görünür */
  .side { position: static; height: auto; max-height: none; min-height: 100vh; overflow: visible; }
}

.oneri-kutu { margin-top: 14px; border: 1px solid #ecd9a0; background: #fffaf0; border-radius: 10px; padding: 10px 12px; }
.oneri-kutu h3 { margin: 0 0 4px; font-size: 15px; }
.oneri { padding: 8px 0; border-top: 1px solid #f0e4c4; }
.oneri:first-of-type { border-top: 0; }
.oneri-bas { margin-bottom: 3px; }
.oneri-dugme { margin-top: 6px; display: flex; gap: 6px; }

.inline-details { display: inline-block; }
.inline-details > summary { list-style: none; cursor: pointer; }
.inline-details > summary::-webkit-details-marker { display: none; }
.inline-details[open] { display: block; margin-top: 6px; }

/* yan menü zemini: Hesabım / Çıkış'ın altı da sayfa sonuna kadar koyu */
@media screen and (min-width: 761px) {
  html, body { background: var(--cream); }
  body > .shell { min-height: 100vh; min-height: 100dvh; }
  body > .shell::before { content: ""; position: fixed; inset: 0 auto 0 0; width: 210px; background: var(--gray-dark); z-index: 0; pointer-events: none; }
  .side { z-index: 21; background: var(--gray-dark); }
  main, .page { position: relative; z-index: 1; }
}

.bilgi-kutu { border: 1px solid #ecd9a0; border-left: 5px solid var(--yellow); background: #fffaf0; border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; font-size: 13.5px; }
.bilgi-kutu ul { margin: 6px 0 0; padding-left: 18px; }
.bilgi-kutu li { margin: 3px 0; }

.tarih-kutu { position: relative; display: flex; align-items: stretch; min-width: 170px; }
.tarih-kutu > input { flex: 1; min-width: 0; padding-right: 40px; }
.tarih-kutu > input.hatali { border-color: #a83a14; }
.tarih-btn { all: unset; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; cursor: pointer; border-radius: 6px; color: var(--ink); }
.tarih-btn:hover, .tarih-btn:focus-visible { background: rgb(0 0 0 / .07); }
.tarih-pop { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; width: 282px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 12px 30px rgb(0 0 0 / .18); padding: 10px; }
.tarih-bas { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.tarih-bas select { flex: 1; min-height: 34px; padding: 4px 24px 4px 8px; font-size: 14px; font-weight: 600; }
.tarih-bas select[aria-label="Yıl"] { flex: 0 0 84px; }
.tarih-bas button, .tarih-izgara button, .tarih-alt button { all: unset; cursor: pointer; text-align: center; border-radius: 7px; }
.tarih-bas button { width: 28px; height: 32px; font-size: 20px; line-height: 32px; }
.tarih-bas button:hover { background: rgb(0 0 0 / .07); }
.tarih-izgara { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.tarih-izgara .gun-ad { font-size: 11px; color: var(--muted); text-align: center; padding: 4px 0; font-weight: 700; }
.tarih-izgara button { height: 32px; line-height: 32px; font-size: 13.5px; }
.tarih-izgara button:hover { background: #fff3d1; }
.tarih-izgara button.bugun { box-shadow: inset 0 0 0 1.5px var(--yellow); font-weight: 700; }
.tarih-izgara button.secili { background: var(--ink); color: #fff; font-weight: 700; }
.tarih-alt { display: flex; justify-content: space-between; margin-top: 8px; border-top: 1px solid var(--rule); padding-top: 6px; }
.tarih-alt button { padding: 6px 10px; font-size: 13px; font-weight: 600; }
.tarih-alt button:hover { background: rgb(0 0 0 / .07); }
@media screen and (max-width: 760px) { .tarih-btn { width: 40px; height: 40px; } .tarih-pop { width: min(300px, calc(100vw - 32px)); } }

.zorunlu-kutu ul { margin: 4px 0 0; padding-left: 18px; columns: 2 260px; }
.zorunlu-kutu li { margin: 2px 0; break-inside: avoid; }
.zorunlu-kutu li.tamam { color: #6b6b6b; }
.capture.zorunlu-eksik, h2.zorunlu-eksik { outline: 2px solid #a83a14; outline-offset: 4px; border-radius: 6px; }

/* Excel sayfa / sütun haritası (formda) */
.sayfa-harita { margin: 14px 0; border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; background: #fff; }
.sh-ozet { margin: 6px 0 8px; color: var(--ink); font-weight: 600; }
.sh-izgara { columns: 3 250px; column-gap: 8px; }
.sh-kart { border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; background: #fcfbf8; break-inside: avoid; margin-bottom: 8px; display: inline-block; width: 100%; box-sizing: border-box; }
.sh-kart.aktif { border-color: #e0a800; background: #fff8e1; box-shadow: 0 0 0 2px rgb(249 176 2 / .25); }
.sh-bas { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; font-size: 13px; margin-bottom: 4px; }
.sh-etiket { display: none; font-size: 10.5px; font-weight: 700; background: var(--yellow); color: var(--ink); border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.sh-kart.aktif .sh-etiket { display: inline-block; }
.sh-kart ul { list-style: none; margin: 0; padding: 0; }
.sh-kart li { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 3px 4px; border-top: 1px dashed #e8e2d4; border-radius: 4px; }
.sh-kart li:first-child { border-top: 0; }
.sh-sutun { font-weight: 600; }
.sh-alan { color: var(--muted); text-align: right; }
.sh-kart li[data-k] { cursor: pointer; }
.sh-kart li[data-k]:hover, .sh-kart li[data-k]:focus-visible { background: rgb(0 0 0 / .05); outline: none; }
.sh-kart li.dolu .sh-alan::before { content: "✓ "; color: #3d3d3d; font-weight: 700; }
.sh-kart li.eksik .sh-alan { color: #a83a14; font-weight: 700; }
.sh-kart li.sh-sistem, .sh-kart li.sh-formul, .sh-kart li.sh-kisisel { opacity: .55; }
.sh-kart li.sh-eslenmemis .sh-alan { color: #cf9800; }

.kanit-baslik { align-self: center; }
b.kanit-baslik.zorunlu-eksik { outline: none; color: #a83a14; text-decoration: underline wavy #a83a14; }

.capture { align-items: center; }
.capture + #pending, #pending + .capture { margin-top: 8px; }
.capture-doldur { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--rule); }
.kanit-not { flex-basis: 100%; grid-column: 1 / -1; }
.pending-oge { display: inline-flex; align-items: center; gap: 4px; margin: 4px 8px 0 0; padding: 2px 4px 2px 10px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; }

.ek-alanlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 12px; margin-top: 10px; }
.ek-alan { display: flex; flex-direction: column; min-width: 0; }
.ek-sayfa { margin-top: 3px; font-size: 11px; }
.ek-bilgi .sayfa-harita { margin: 12px 0 0; border: 0; border-top: 1px dashed var(--rule); border-radius: 0; padding: 4px 0 0; background: transparent; }

/* sesli not: canlı yazı kutusu */
.canli-kutu { flex-basis: 100%; grid-column: 1 / -1; max-height: 130px; overflow-y: auto; border: 1px solid var(--rule); border-radius: 8px; background: #fff; padding: 6px 10px; font-size: 13.5px; line-height: 1.45; }
.canli-bas { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; color: var(--muted); }
.canli-nokta { width: 8px; height: 8px; border-radius: 50%; background: #9a9a9a; }
.canli-kutu.kayitta .canli-nokta { background: #a83a14; animation: canli-yanip 1s infinite; }
@keyframes canli-yanip { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .canli-kutu.kayitta .canli-nokta { animation: none; } }
.canli-metin:empty::before { content: ""; }

.aciklama-doldur { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 8px 0 4px; }
.aciklama-doldur #fillmsg { flex: 1 1 320px; }
.err-text { color: #a83a14; }
input.aciklamadan, select.aciklamadan, textarea.aciklamadan { background: #fff4cc !important; border-color: #e0a800 !important; }

/* Google ile Giriş (Google'ın marka kuralı: beyaz zemin, renkli G) */
.ya-da { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; color: var(--muted); font-size: 12px; }
.ya-da::before, .ya-da::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
a.btn.google-btn { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; background: #fff; color: #1f1f1f; border: 1px solid #747775; font-weight: 600; text-decoration: none; }
a.btn.google-btn:hover { background: #f8f8f8; }

/* bildirim zili (üst çubuk) */
details.zil { position: relative; margin-left: auto; }
details.zil > summary { list-style: none; cursor: pointer; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--ink); }
details.zil > summary::-webkit-details-marker { display: none; }
details.zil > summary:hover, details.zil[open] > summary { background: rgb(0 0 0 / .06); }
.zil-sayi { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: #a83a14; color: #fff; font: 700 11px/18px system-ui, sans-serif; text-align: center; }
.zil-liste { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; width: min(360px, calc(100vw - 24px)); background: #fff; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 12px 30px rgb(0 0 0 / .18); padding: 10px; }
.zil-bas { display: block; font-size: 14px; margin-bottom: 6px; }
a.zil-oge { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--ink); text-decoration: none; border-left: 3px solid #cf9800; margin-top: 4px; background: #fffaf0; }
a.zil-oge.err { border-left-color: #a83a14; background: #fdeee7; }
a.zil-oge:hover { filter: brightness(.97); }
@media screen and (max-width: 760px) { details.zil { margin-left: 0; } }
details.zil + .who { margin-left: 8px; }

/* Yeni Etkinlik: numaralı bölümler */
.sayfa-giris { max-width: 900px; }
.yeni-form section.fs { border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 18px; }
.yeni-form section.fs:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.yeni-form section.fs > h2, .ek-baslik { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0 0 6px; }
.fs-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 12.5px/1 system-ui, sans-serif; flex: none; }
.fs-not { margin: 0 0 10px; max-width: 900px; }
.yeni-form .ek-bilgi { border: 0; padding: 0; margin: 0; background: transparent; }
.aciklama-araclar { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ses-araclar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kaydet-cubugu { position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px -18px -18px; padding: 12px 18px; background: rgb(255 255 255 / .96); border-top: 1px solid var(--rule); border-radius: 0 0 14px 14px; backdrop-filter: blur(4px); }
.kaydet-cubugu button { min-width: 140px; }
@media screen and (max-width: 760px) { .kaydet-cubugu { bottom: calc(68px + env(safe-area-inset-bottom)); margin: 14px -14px -14px; padding: 10px 14px; } .kaydet-cubugu button { width: 100%; } }

.zorunlu-kutu.tamam { border-color: #c9c2b0; background: #f6f4ee; }
.zorunlu-dolu { margin-top: 4px; }

a.tile { text-decoration: none; color: inherit; cursor: pointer; }
a.tile:hover, a.tile:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
a.tag-link { text-decoration: none; }


/* ======================================================================
   BİRLEŞİK GÖRÜNÜM (2026-10-14) — DEPARK ERP'nin görsel dili + EYS'nin yapısı
   gri-mavi dış zemin, gri → soluk sarı büyük yuvarlak panel, koyu yuvarlak yan menü,
   cam kartlar (radius 28), hap düğme/menü, ince Outfit yazı (yerel, SIL OFL), büyük ince sayılar, kesikli ayraçlar.
   Vurgu: sarı (#f8d34c, DEPARK amber #f9b002 marka için), turuncu #e8622c yalnız uyarı/eksik.
   ====================================================================== */
@font-face { font-family: "Outfit"; font-weight: 300 600; font-display: swap; src: url(fonts/outfit-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-weight: 300 600; font-display: swap; src: url(fonts/outfit-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --outer: #a7aebb; --ink: #2b2b2b; --text: #1f1f1f; --muted: #7a7a7a; --soft-text: #6f6f6f;
  --yellow: #f8d34c; --yellow-2: #fbe38a; --amber: #f9b002; --lightyellow: #fdf0c4;
  --glass: rgb(255 255 255 / .62); --glass-2: rgb(255 255 255 / .85); --dash: rgb(0 0 0 / .14);
  --neg: #c2412d; --neg-bg: #f6d9d3; --red: #c2412d; --orange: #e8622c; --orange-soft: #fbd9c8;
  --r-xl: 40px; --r-lg: 28px; --r-md: 18px; --r-pill: 999px;
  --rule: rgb(0 0 0 / .1); --border: rgb(0 0 0 / .08);
  --sans: "Outfit", -apple-system, "Segoe UI", sans-serif; --mono: var(--sans);
  --panel-bg: radial-gradient(120% 90% at 100% 100%, #fbe7a2 0%, #fdf0c4 22%, rgb(253 243 200 / 0) 55%), linear-gradient(160deg, #ebebec 0%, #eeeeec 45%, #f6efd2 100%);
  --soft: none; --shadow-2: none;
}
html, body { background: var(--outer) !important; }
body { color: var(--text); font: 300 15px/1.5 var(--sans); }
b, strong, th { font-weight: 500; }
h1 { font: 400 40px/1.1 var(--sans); letter-spacing: -.8px; margin: 0 0 20px; }
h2 { font: 400 20px/1.3 var(--sans); letter-spacing: -.2px; margin: 0 0 14px; }
h3 { font-weight: 400; }
.muted, .who small, .small.muted { color: var(--muted); }
.small { font-size: 13px; }
kbd { font: 500 12px var(--sans); background: #fff; border-radius: 6px; padding: 1px 6px; box-shadow: inset 0 -1px 0 rgb(0 0 0 / .15); }
a { color: var(--text); text-decoration: none; }
main a:not(.btn):not(.kpi):not(.tile):not(.round):not(.tag-link):not(.h-link):not(.zil-oge) { color: #6b5600; }
main a:hover { text-decoration: underline; text-underline-offset: 3px; }
pre.xtext { font-family: ui-monospace, Menlo, monospace; }

/* ---------- iskelet: dış zemin + büyük panel + koyu yan menü ---------- */
@media screen and (min-width: 761px) {
  body { padding: 18px; }
  body > .shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); align-items: start; max-width: 1640px; margin: 0 auto;
    min-height: calc(100vh - 36px); min-height: calc(100dvh - 36px); border-radius: var(--r-xl); background: var(--panel-bg);
    box-shadow: 0 30px 80px rgb(40 50 70 / .25); }
  body > .shell::before { display: none; }
  .side { position: sticky; top: 32px; margin: 14px 0 14px 14px; height: calc(100vh - 64px); height: calc(100dvh - 64px); max-height: none;
    border-radius: 30px; background: var(--ink); padding: 16px 12px; box-shadow: none; overflow-y: auto; scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .page, main { background: transparent !important; }
  .topbar { position: static; }
}
.side .logo { background: #fff; border-radius: 22px; padding: 14px 16px; margin: 0 0 18px; }
.side nav { gap: 3px; }
.side a, .side .out { font: 400 14.5px var(--sans); color: #e9e9e9; border: 0; border-radius: var(--r-pill); padding: 9px 14px; }
.side nav a:not(.on):hover, .side .out:hover { background: rgb(255 255 255 / .09); color: #fff; box-shadow: none; transform: none; border: 0; }
.side nav a.on { background: var(--yellow); color: var(--ink); box-shadow: none; font-weight: 500; }
.side .ico { opacity: .9; }

/* ---------- üst çubuk: şeffaf; hap logo, cam arama, yuvarlak simge düğmeleri ---------- */
.topbar { background: transparent; border: 0; box-shadow: none; padding: 26px 30px 6px; gap: 12px; }
.appname { height: 54px; padding: 0 20px 0 8px; border: 1.5px solid #9a9a9a; border-radius: var(--r-pill); gap: 10px; color: var(--text); }
.appname b { background: var(--ink); color: var(--yellow); border-radius: var(--r-pill); font: 500 15px/1 var(--sans); letter-spacing: 1.5px; padding: 10px 12px; border: 0; }
.appname span { font: 400 15px/1.2 var(--sans); max-width: 190px; }
.search { height: 54px; max-width: 520px; border: 0; border-radius: var(--r-pill); background: var(--glass); padding: 0 20px; gap: 10px; }
.search input { font: 300 15px var(--sans); background: transparent; border: 0; min-height: 0; box-shadow: none !important; }
.search:focus-within { background: #fff; box-shadow: 0 0 0 4px rgb(248 211 76 / .35); border: 0; }
.round { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); color: var(--text); border: 0;
  cursor: pointer; flex: none; padding: 0; position: relative; box-shadow: none; }
.round:hover { background: #fff; filter: none; }
.round[aria-expanded="true"] { background: var(--ink); color: var(--yellow); }
.round-sm { width: 40px; height: 40px; }
#asistan-ac { margin-left: auto; }
#asistan-ac + details.zil { margin-left: 0; }
details.zil > summary { width: 54px; height: 54px; border-radius: 50%; background: var(--glass); color: var(--text); }
details.zil > summary:hover, details.zil[open] > summary { background: #fff; }
.zil-sayi { top: 9px; right: 9px; background: var(--yellow); color: var(--ink); }
.zil-liste { border: 0; border-radius: 22px; box-shadow: 0 18px 50px rgb(0 0 0 / .16); padding: 10px; top: calc(100% + 8px); }
a.zil-oge { border-radius: 14px; border-left: 0; background: #f6f4ee; padding: 10px 14px; }
a.zil-oge.err { background: var(--neg-bg); color: #7c2416; }
.who { height: 54px; border: 0; border-radius: var(--r-pill); background: var(--glass); padding: 0 18px 0 7px; margin-left: 4px; gap: 10px; }
.who:hover { background: #fff; }
.who b { font: 500 14px var(--sans); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 500 16px var(--sans); border: 0; }
main { padding: 18px 30px 48px; max-width: 1400px; }

/* ---------- kartlar ---------- */
.card, details.card { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 0; border-radius: var(--r-lg);
  box-shadow: none; padding: 24px 26px; margin: 0 0 18px; }
.card:hover, .card:has(input:focus, select:focus, textarea:focus) { transform: none; box-shadow: none; }
details.card { padding: 0; }
details.card summary { font: 400 17px var(--sans); padding: 18px 26px; display: flex; align-items: center; gap: 10px; }
details.card summary::before { content: none; }
details.card summary::after { content: "⌄"; margin-left: auto; color: var(--soft-text); font-size: 18px; line-height: 1; }
details.card[open] summary { background: transparent; border-bottom: 1px dashed var(--dash); border-radius: 0; }
details.card[open] summary::after { content: "⌃"; }
details.card > :not(summary) { padding: 0 26px 20px; }
details.card > :not(summary):nth-child(2) { padding-top: 14px; }
.card .card { background: rgb(255 255 255 / .55); }
.grid { gap: 0 18px; }
.page-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; flex: 1; }
.bilgi-kutu, .oneri-kutu, .zorunlu-kutu, .ek-bilgi, .sayfa-harita, details.gsec { border: 0; border-radius: var(--r-md); background: rgb(255 255 255 / .6); }
.bilgi-kutu { border-left: 0; box-shadow: inset 4px 0 0 var(--yellow); }
.zorunlu-kutu.hata { background: var(--neg-bg); }
.card.sayfa-notu { border-left: 0; box-shadow: inset 4px 0 0 var(--yellow); }
.sh-kart { border: 0; border-radius: 14px; background: rgb(255 255 255 / .7); }
.sh-kart.aktif { background: #fff7d6; box-shadow: 0 0 0 2px var(--yellow); }

/* ---------- büyük ince sayılar ---------- */
.kpis { gap: 14px; margin-bottom: 18px; }
.kpi, .kpi:nth-child(4n+2), .kpi:nth-child(4n+3), .kpi:nth-child(4n+4) { background: var(--glass); border: 0; border-radius: var(--r-lg); box-shadow: none; padding: 20px 22px; color: var(--text); }
.kpi:hover, a.kpi:hover { background: var(--glass-2); transform: none; box-shadow: none; border: 0; }
.kpi b { font: 300 42px/1.05 var(--sans); letter-spacing: -1.2px; font-variant-numeric: tabular-nums; }
.kpi span, .kpi:nth-child(4n+2) span { color: var(--soft-text); font-size: 14px; }
.kpi:first-child { background: var(--ink); color: #fff; }
.kpi:first-child b { color: var(--yellow); }
.kpi:first-child span { color: #bdbdbd; }
.an-tiles { gap: 14px; }
.tile { background: var(--glass); border: 0; border-radius: 24px; box-shadow: none; padding: 18px 20px; }
.tile b { font: 300 32px/1.1 var(--sans); letter-spacing: -.8px; }
.tile span { color: var(--soft-text); font-size: 13.5px; }
.tile small { color: var(--muted); }
.tile.hero { background: var(--ink); color: #fff; border: 0; }
.tile.hero b { color: var(--yellow); font-size: 56px; letter-spacing: -2px; }
.tile.hero span, .tile.hero small { color: #bdbdbd; }
a.kpi:focus-visible, a.tile:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
a.tile:hover { outline: 0; background: var(--glass-2); transform: none; box-shadow: none; }
a.tile.hero:hover { background: #1a1a1a; }
.sec-title { font: 400 13px var(--sans); letter-spacing: .08em; color: var(--muted); }
a.h-link span { color: #8a6a00; }

/* ---------- düğmeler: hap ---------- */
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; font: 400 14.5px var(--sans);
  border-radius: var(--r-pill); border: 0; background: var(--ink); color: #fff; box-shadow: none; text-decoration: none; filter: none; }
button:hover, .btn:hover { background: #000; color: #fff; transform: none; box-shadow: none; filter: none; text-decoration: none; }
button:active, .btn:active { transform: scale(.98); box-shadow: none; filter: none; }
button.primary, .btn, .btn.primary { background: var(--yellow); color: var(--ink); border: 0; }
button.primary:hover, .btn:hover, .btn.primary:hover { background: #f5c92c; color: var(--ink); }
button.ghost, .btn.ghost { background: rgb(255 255 255 / .8); color: var(--text); border: 0; }
button.ghost:hover, .btn.ghost:hover { background: #fff; color: var(--text); }
button.danger, button.small.danger, .btn.danger { background: transparent; color: var(--neg); border: 1.5px solid rgb(194 65 45 / .45); box-shadow: none; }
button.danger:hover, .btn.danger:hover { background: rgb(194 65 45 / .08); color: var(--neg); }
button.small, .btn.small { min-height: 32px; height: auto; padding: 0 14px; font-size: 13.5px; border-radius: var(--r-pill); box-shadow: none; }
button:disabled { opacity: .55; cursor: progress; }
button.round, .round { padding: 0; }
button.chip-x { all: unset; cursor: pointer; font-size: 12px; line-height: 1; padding: 2px 5px; border-radius: 50%; color: #6b4c00; }
.tarih-btn, .tarih-bas button, .tarih-izgara button, .tarih-alt button { min-height: 0; }
input[type="file"]::file-selector-button { font: 400 13.5px var(--sans); border: 0; background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 6px 14px; }
.capture label.btn, .capture button { font: 400 14px var(--sans); }

/* ---------- form alanları ---------- */
label { font: 400 13.5px var(--sans); color: var(--soft-text); }
input, select, textarea { font: 300 15px var(--sans); color: var(--text); background-color: rgb(255 255 255 / .88); border: 1px solid transparent; border-radius: 16px;
  padding: 10px 16px; min-height: 44px; box-shadow: none; }
input:focus, select:focus, textarea:focus { outline: none; background-color: #fff; border-color: var(--yellow); box-shadow: 0 0 0 4px rgb(248 211 76 / .28); }
textarea { border-radius: 20px; }
select { padding-right: 38px; background-position: right 16px center; }
input[type="checkbox"], input[type="radio"] { min-height: 0; width: 18px; height: 18px; padding: 0; accent-color: var(--ink); }
input[type="file"] { padding: 7px 10px; }
form.card.row input:not([type=checkbox]):not([type=file]), form.card.row select, form.card.row button,
.filter-grid input, .filter-grid select, .filter-grid .fg-btn button { height: 44px; min-height: 44px; }
.paper input { border: 1px solid transparent; border-radius: 16px; padding: 10px 16px; background: rgb(255 255 255 / .9); }
.paper input:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgb(248 211 76 / .28); }
input.zorunlu-eksik, textarea.zorunlu-eksik, select.zorunlu-eksik { border-color: var(--neg) !important; box-shadow: 0 0 0 4px rgb(194 65 45 / .14) !important; }
.tarih-pop { border: 0; border-radius: 22px; box-shadow: 0 18px 50px rgb(0 0 0 / .16); }
.tarih-izgara button.secili { background: var(--ink); }
.tarih-izgara button.bugun { box-shadow: inset 0 0 0 1.5px var(--amber); }

/* ---------- tablolar: kesikli ayraç ---------- */
table { background: transparent; }
th { font: 400 13px var(--sans); text-transform: none; letter-spacing: 0; color: var(--muted); background: transparent; border: 0; border-bottom: 1px dashed var(--dash); box-shadow: none; padding: 10px 12px; }
td { border-bottom: 1px dashed var(--dash); padding: 12px; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgb(255 255 255 / .45); }

/* ---------- etiketler (haplar) ---------- */
.tag, td .tag, li .tag { font: 400 12.5px/1.6 var(--sans); padding: 2px 11px; border-radius: var(--r-pill); border: 0; box-shadow: none; background: rgb(255 255 255 / .9); color: var(--text); }
.tag:not(.ok):not(.warn):not(.err):not([class*="st-"]):not([class*="role-"]) { border: 0; }
.tag.ok, .st-onaylandi { background: var(--ink); color: #fff; }
.tag.warn, .st-onay_bekliyor { background: var(--yellow); color: var(--ink); }
.tag.err { background: var(--orange-soft); color: #8a2e0c; }
.st-reddedildi { background: var(--neg-bg); color: var(--neg); }
.st-duzeltme { background: var(--orange); color: #fff; }
.st-taslak { background: transparent; box-shadow: inset 0 0 0 1px #a5a5a5; color: var(--soft-text); }
.tag.role-superadmin { background: var(--ink); color: var(--yellow); }
.tag.role-admin { background: var(--yellow); }
.role-departman_yoneticisi { background: var(--yellow-2); }

/* ---------- sekmeler, iletiler, çubuklar ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 5px; border-radius: 28px; background: var(--glass); max-width: 100%; }
.tabs a { font: 400 14px var(--sans); border: 0; border-radius: var(--r-pill); padding: 9px 18px; background: transparent; box-shadow: none; color: var(--text); }
.tabs a:hover { background: rgb(255 255 255 / .75); transform: none; box-shadow: none; text-decoration: none; }
.tabs a.on { background: var(--ink); color: #fff; }
.flash { border: 0; border-radius: 20px; background: var(--ink); color: #fff; font: 400 14.5px var(--sans); padding: 13px 20px; box-shadow: none; }
.flash.err { background: var(--neg-bg); color: #7c2416; }
.bar { height: 10px; border: 0; border-radius: 6px; background: rgb(0 0 0 / .07); }
.bar i { border: 0; border-radius: 6px; background: var(--ink); }
.chart-tip { border: 0; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgb(0 0 0 / .2); font-family: var(--sans); }
.chart-tip span, .chart-tip .tip-row span { color: #c9c9c9; }
.chart svg { font-family: var(--sans); }
.live { font-family: var(--sans); }
.empty { font-family: var(--sans); color: var(--muted); }
ul.plain li, ol.advice > li, .excel-form-row { border-bottom: 1px dashed var(--dash); }
.fs-no { background: var(--ink); color: var(--yellow); }
.yeni-form section.fs { border-top: 1px dashed var(--dash); }
.kaydet-cubugu { background: rgb(255 255 255 / .85); border-top: 1px dashed var(--dash); border-radius: 0 0 var(--r-lg) var(--r-lg); margin: 18px -26px -24px; padding: 14px 26px; }
.pending-oge, .canli-kutu { border: 0; border-radius: 14px; background: rgb(255 255 255 / .85); }

/* ---------- asistan: sağdan panel + sayfa ---------- */
.asistan { position: fixed; top: 20px; right: 20px; bottom: 20px; width: min(440px, calc(100vw - 40px)); z-index: 80; display: flex; flex-direction: column;
  background: #fbfaf6; border-radius: 30px; box-shadow: 0 30px 80px rgb(30 30 30 / .28); overflow: hidden; }
.asistan[hidden] { display: none; }
.asistan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 14px 12px 22px; border-bottom: 1px dashed var(--dash); }
.asistan-head b { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 18px; }
.asistan-head-ara { display: flex; align-items: center; gap: 6px; }
.asistan-head .round { background: rgb(0 0 0 / .06); }
.asistan-head .round:hover { background: rgb(0 0 0 / .12); }
.asistan-akis { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.asistan-sayfa .asistan-akis { min-height: 340px; max-height: 62vh; padding: 12px 0; }
.asistan-oneri { display: flex; flex-wrap: wrap; gap: 6px; }
.asistan-oneri[hidden] { display: none; }
.asistan-oneri .tag { cursor: pointer; background: #fff; box-shadow: inset 0 0 0 1px #d6d6d6; font-size: 13px; padding: 6px 13px; min-height: 0; color: var(--text); }
.asistan-oneri .tag:hover { background: var(--yellow); box-shadow: none; }
.asistan-form { display: flex; gap: 8px; padding: 12px; border-top: 1px dashed var(--dash); align-items: center; }
.asistan-sayfa .asistan-form { padding: 14px 0 0; }
.asistan-form input { border-radius: var(--r-pill); background: #fff; }
.asistan-form .round { background: var(--ink); color: #fff; width: 44px; height: 44px; }
.asistan-form .round:hover { background: #000; }
.msg { border: 0; border-radius: 22px; padding: 11px 16px; max-width: 86%; background: #fff; box-shadow: none; }
.msg.bot { box-shadow: none; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; }
.msg.wait { color: var(--muted); font-family: var(--sans); }
.msg.err { background: var(--neg-bg); color: #7c2416; }
.msg p { margin: 0; white-space: pre-wrap; }
.asistan-liste { list-style: none; margin: 8px 0 0; padding: 0; }
.asistan-liste li { border-top: 1px dashed var(--dash); }
.asistan-liste a { display: block; padding: 7px 0; color: var(--text) !important; }
.asistan-liste b { font-weight: 500; }
.asistan-nasil { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }

/* ---------- giriş / kayıt: ERP paneli + cam kart (kâğıt yelpazesi korunur) ---------- */
main.bare { background: var(--panel-bg) !important; animation: none; border-radius: var(--r-xl); max-width: 1640px; margin: 18px auto; min-height: calc(100vh - 36px);
  min-height: calc(100dvh - 36px); box-shadow: 0 30px 80px rgb(40 50 70 / .25); width: calc(100% - 36px); }
.paper { background: rgb(255 255 255 / .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 0 !important; border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgb(120 90 20 / .14); padding: 34px 34px 26px; }
.paper::before, .paper::after { border: 0 !important; border-radius: var(--r-xl); box-shadow: 0 12px 30px rgb(120 90 20 / .10); }
.paper::before { background-color: rgb(248 211 76 / .55); } .paper::after { background-color: rgb(255 255 255 / .55); }
.paper h1 { font: 400 32px/1.15 var(--sans); letter-spacing: -.5px; border-top: 1px dashed var(--dash); }
.paper .brandline b { font: 500 22px/1 var(--sans); background: var(--ink); color: var(--yellow); border-radius: var(--r-pill); padding: 9px 18px; letter-spacing: 2px; }
.paper .brandline span { font: 400 15px/1.3 var(--sans); color: var(--soft-text); }
.paper label { font: 400 13.5px var(--sans); color: var(--soft-text); }
.paper .actions button { border-radius: var(--r-pill); font: 400 15px var(--sans); height: 48px; }
.paper .welcome b, .bye-msg b { font: 400 30px/1.15 var(--sans); background: var(--ink); color: var(--yellow); border-radius: var(--r-pill); padding: 12px 24px; }
.paper .welcome span, .bye-msg span { font: 400 14px var(--sans); }
.bye-msg { border-top: 1px dashed var(--dash); }
a.btn.google-btn { background: #fff; color: #1f1f1f; border: 1px solid #747775; font-weight: 500; }
a.btn.google-btn:hover { background: #f8f8f8; color: #1f1f1f; }
body.page-enter::after { background: var(--panel-bg); border-bottom: 0; }

/* ---------- telefon ---------- */
@media screen and (max-width: 760px) {
  body { padding: 0; }
  body > .shell { background: var(--panel-bg); min-height: 100vh; }
  .page { background: transparent !important; }
  .topbar { position: sticky; top: 0; z-index: 30; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; background: rgb(240 240 238 / .82);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); gap: 8px; }
  .appmark { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; }
  .search { height: 44px; padding: 0 14px; }
  .round, details.zil > summary { width: 44px; height: 44px; }
  #asistan-ac { margin-left: 0; }
  .zil-sayi { top: 4px; right: 4px; }
  main { padding: 16px 14px calc(100px + env(safe-area-inset-bottom)); }
  h1 { font-size: 30px; }
  .card { padding: 18px 16px; border-radius: 22px; }
  .kpi b { font-size: 32px; }
  table.stackable tr { border: 0; border-radius: 18px; background: rgb(255 255 255 / .7); box-shadow: none; padding: 8px 14px; }
  table.stackable td { border-bottom: 1px dashed var(--dash); }
  table.stackable td::before { font: 400 12px var(--sans); text-transform: none; color: var(--muted); }
  .tabbar { background: rgb(255 255 255 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -8px 30px rgb(0 0 0 / .08); }
  .tabbar a, .tabbar label { font: 400 11px var(--sans); color: var(--text); }
  .tabbar .on .ico { background: var(--yellow); border-radius: 10px; outline: 0; }
  .tabbar a.new .ico { background: var(--ink); color: var(--yellow); border: 0; border-radius: 50%; box-shadow: 0 8px 20px rgb(0 0 0 / .25); }
  .sheet { background: #fbfaf6; border: 0; border-radius: 28px 28px 0 0; }
  .sheet a { font: 400 16px var(--sans); border-bottom: 1px dashed var(--dash); }
  .sheet-head b { font: 500 15px var(--sans); }
  .sheet-close { border: 0; background: rgb(0 0 0 / .06); }
  .asistan { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 88vh; height: 88dvh; border-radius: 28px 28px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  main.bare { margin: 0; width: 100%; border-radius: 0; min-height: 100vh; box-shadow: none; }
  .kaydet-cubugu { margin: 14px -16px -18px; padding: 10px 16px; }
}
@media print {
  html, body { background: #fff !important; padding: 0; }
  body > .shell { background: #fff !important; box-shadow: none; border-radius: 0; }
  .asistan, #asistan-ac { display: none !important; }
  .card { background: #fff !important; backdrop-filter: none; }
}
/* birleşik görünüm: seçici üstünlüğü düzeltmeleri (td .tag ve .side nav a önceki katmanlarda daha güçlüydü) */
.side nav a, .side a.out { font: 400 14.5px var(--sans); }
.side nav a.on { font-weight: 500; }
.tag.ok, .tag.st-onaylandi { background: var(--ink); color: #fff; }
.tag.warn, .tag.st-onay_bekliyor { background: var(--yellow); color: var(--ink); }
.tag.st-reddedildi { background: var(--neg-bg); color: var(--neg); }
.tag.st-duzeltme { background: var(--orange); color: #fff; }
.tag.st-taslak { background: transparent; box-shadow: inset 0 0 0 1px #a5a5a5; color: var(--soft-text); }
table.etkinlik-tablo td:first-child { min-width: 220px; }

/* ======================================================================
   DİJİTAL KATMAN (2026-10-14, kullanıcının "Projector" örneği): nötr gri zemin, keskin beyaz kartlar,
   canlı vurgu kartları (sarı / koyu / turuncu), ayrı yuvarlak beyaz satırlar, koyu hap düğmeler, karşılama başlığı.
   ====================================================================== */
:root {
  --outer: #c9ccd3;
  --panel-bg: radial-gradient(70% 60% at 100% 0%, rgb(248 211 76 / .16) 0%, rgb(248 211 76 / 0) 60%), #eeeeec;
  --glass: #ffffff; --glass-2: #ffffff; --card-shadow: 0 1px 2px rgb(20 20 20 / .04), 0 8px 24px rgb(20 20 20 / .05);
  --r-lg: 24px; --dash: rgb(0 0 0 / .08);
}
body { font-weight: 400; }
.card, details.card, .kpi, .tile { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--card-shadow); }
.card .card { background: #f6f6f4; box-shadow: none; }
.kpi:hover, a.kpi:hover, a.tile:hover { background: #fff; box-shadow: 0 2px 4px rgb(20 20 20 / .05), 0 14px 32px rgb(20 20 20 / .09); transform: translateY(-1px); }
.search, .round, details.zil > summary, .who { background: #fff; box-shadow: var(--card-shadow); }
.appname { background: #fff; border: 0; box-shadow: var(--card-shadow); }
.tabs { background: #fff; box-shadow: var(--card-shadow); }

/* vurgu kartları: 1. koyu, 2. sarı (Projector'daki renkli kartların DEPARK karşılığı) */
.kpi:nth-child(2), .an-tiles .tile:nth-child(2) { background: var(--yellow); }
.kpi:nth-child(2) span, .an-tiles .tile:nth-child(2) span, .an-tiles .tile:nth-child(2) small { color: #5b4a00; }
.kpi:nth-child(2):hover, .an-tiles a.tile:nth-child(2):hover { background: #f5cc3a; }
.kpi b, .tile b { font-weight: 300; }

/* karşılama başlığı */
.karsilama { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.karsilama h1 { margin: 0 0 4px; }
.karsilama-alt { margin: 0; color: var(--muted); font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 7px 14px; box-shadow: var(--card-shadow); font: 400 13px var(--sans); color: var(--soft-text); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #3f8f5a; border: 0; margin: 0; box-shadow: 0 0 0 4px rgb(63 143 90 / .15); }

/* tablolar: her satır ayrı yuvarlak beyaz şerit (kartın içinde gri zemin) */
.card:has(> table), .card.scroll:has(table) { background: #f3f3f1; box-shadow: none; }
main table:not(.no-rows) { border-collapse: separate; border-spacing: 0 8px; margin-top: -8px; }
main table:not(.no-rows) th { border: 0; padding: 4px 16px 0; }
main table:not(.no-rows) td { background: #fff; border: 0; padding: 14px 16px; }
main table:not(.no-rows) td:first-child { border-radius: 18px 0 0 18px; }
main table:not(.no-rows) td:last-child { border-radius: 0 18px 18px 0; }
main table:not(.no-rows) tr:hover td { background: #fffbea; }
main table:not(.no-rows) tr:last-child td { border-bottom: 0; }
details.tv table td, .chart-legend table td { padding: 8px 12px; }

/* sayılı hap sekmeler ("To do 15" gibi) */
.tabs a .n, .tabs .n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 999px;
  background: rgb(0 0 0 / .07); font-size: 12px; opacity: 1; }
.tabs a.on .n { background: rgb(255 255 255 / .18); }

/* yan menü: koyu, seçili sarı hap; sayfa zemininden ayrışsın */
.side { box-shadow: 0 10px 30px rgb(20 20 20 / .18); }

@media screen and (max-width: 760px) {
  .topbar { background: rgb(238 238 236 / .88); }
  main table:not(.no-rows) { border-spacing: 0; margin-top: 0; }
  table.stackable tr { background: #fff; box-shadow: var(--card-shadow); }
  table.stackable td, main table:not(.no-rows) td { background: transparent; border-radius: 0 !important; padding: 7px 0; border-bottom: 1px dashed var(--dash); }
  table.stackable td:last-child { border-bottom: 0; }
}
@media print { main table:not(.no-rows) td { background: #fff !important; } }

/* giriş / kayıt: iki bölmeli dijital ekran (solda koyu tanıtım, sağda form); kâğıt yelpazesi kaldırıldı */
main.bare { display: block; padding: 18px; }
.giris-sahne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; min-height: calc(100vh - 72px); min-height: calc(100dvh - 72px); }
.giris-tanitim { background: var(--ink); color: #fff; border-radius: 30px; padding: 34px 38px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  position: relative; overflow: hidden; }
.giris-tanitim::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgb(248 211 76 / .35), rgb(248 211 76 / 0) 70%); pointer-events: none; }
.gt-ust { display: flex; align-items: center; gap: 10px; font: 500 15px var(--sans); letter-spacing: 2px; color: #cfcfcf; }
.gt-ust img { width: 34px; height: auto; background: #fff; border-radius: 10px; padding: 5px; }
.gt-orta b { display: block; font: 300 96px/1 var(--sans); letter-spacing: -3px; color: var(--yellow); }
.gt-orta p { margin: 8px 0 26px; font: 300 22px/1.3 var(--sans); color: #e6e6e6; max-width: 340px; }
.gt-grafik { width: min(320px, 100%); height: auto; color: #4a4a4a; display: block; }
.gt-grafik rect.on { fill: var(--yellow); }
.gt-ozellik { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gt-ozellik li { display: flex; align-items: center; gap: 12px; background: rgb(255 255 255 / .06); border-radius: 999px; padding: 11px 18px; font-size: 14.5px; color: #e6e6e6; }
.gt-ozellik i { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: none; box-shadow: 0 0 0 4px rgb(248 211 76 / .18); }
.giris-form { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 20px 0; }
.giris-form .flash { width: min(440px, 100%); }
.giris-form .paper { width: min(440px, 100%); background: #fff; border-radius: 30px; box-shadow: var(--card-shadow); padding: 34px 36px 28px; backdrop-filter: none; }
.paper::before, .paper::after { display: none !important; }
.paper .paperlogo { width: 150px; }
.paper input { background: #f3f3f1; }
.paper input:focus { background: #fff; }
@media (prefers-reduced-motion: no-preference) { .giris-tanitim, .giris-form .paper { animation: rise .45s ease both; } .giris-form .paper { animation-delay: .06s; } }
@media screen and (max-width: 900px) {
  .giris-sahne { grid-template-columns: 1fr; min-height: 0; }
  .giris-tanitim { padding: 22px 24px; gap: 14px; }
  .gt-orta b { font-size: 56px; } .gt-orta p { font-size: 17px; margin-bottom: 0; }
  .gt-grafik, .gt-ozellik { display: none; }
  main.bare { padding: 10px; }
}

/* beyaz kart içindeki alanlar: soluk gri zemin (beyaz üstünde beyaz kaybolmasın) */
.card input:not([type=checkbox]):not([type=radio]):not([type=file]), .card select, .card textarea, .filters input, .filters select { background-color: #f3f3f1; }
.card input:focus, .card select:focus, .card textarea:focus { background-color: #fff; }
.search input { background: transparent !important; }
/* tablolu kartlar: satırlar taşmasın */
.card.scroll { padding: 18px; overflow-x: auto; }
main table:not(.no-rows) td, main table:not(.no-rows) th { padding-left: 12px; padding-right: 12px; }
.card.scroll > table td:first-child { min-width: 190px; }
.card.scroll { padding: 12px; }
main table:not(.no-rows) td, main table:not(.no-rows) th { padding-left: 10px; padding-right: 10px; }
.card.scroll > table td:first-child { min-width: 160px; }
main table td .tools, main table td form.inline { white-space: nowrap; }
@media screen and (min-width: 761px) { main { padding: 18px 24px 48px; } .topbar { padding: 26px 24px 6px; } }

/* ======================================================================
   VURGU RENGİ: TURUNCU (kullanıcı isteği 2026-10-14 — "sarı değil turuncu"). Turuncu zeminde yazı beyaz.
   ====================================================================== */
:root { --accent: #e8622c; --accent-dark: #c9501e; --accent-soft: #fde3d6; --accent-ring: rgb(232 98 44 / .25);
  --yellow: var(--accent); --yellow-2: var(--accent-soft); --amber: var(--accent);
  --panel-bg: radial-gradient(70% 60% at 100% 0%, rgb(232 98 44 / .10) 0%, rgb(232 98 44 / 0) 60%), #eeeeec; }
/* yan menü seçili, düğmeler, vurgu kartı */
.side nav a.on { background: var(--accent); color: #fff; }
button.primary, .btn, .btn.primary { background: var(--accent); color: #fff; }
button.primary:hover, .btn:hover, .btn.primary:hover { background: var(--accent-dark); color: #fff; }
.paper .actions button.primary { background: var(--accent); color: #fff; }
.kpi:nth-child(2), .an-tiles .tile:nth-child(2) { background: var(--accent); color: #fff; }
.kpi:nth-child(2) span, .an-tiles .tile:nth-child(2) span, .an-tiles .tile:nth-child(2) small, .an-tiles .tile:nth-child(2) b { color: #fff; }
.kpi:nth-child(2) span, .an-tiles .tile:nth-child(2) span, .an-tiles .tile:nth-child(2) small { opacity: .85; }
.kpi:nth-child(2):hover, .an-tiles a.tile:nth-child(2):hover { background: var(--accent-dark); }
/* koyu zemindeki vurgular */
.kpi:first-child b, .tile.hero b, .appname b, .avatar, .paper .brandline b, .paper .welcome b, .bye-msg b, .gt-orta b, .fs-no,
.round[aria-expanded="true"], .tag.role-superadmin { color: var(--accent); }
.gt-grafik rect.on { fill: var(--accent); }
.gt-ozellik i { background: var(--accent); box-shadow: 0 0 0 4px rgb(232 98 44 / .2); }
.giris-tanitim::after { background: radial-gradient(circle, rgb(232 98 44 / .35), rgb(232 98 44 / 0) 70%); }
.zil-sayi { background: var(--accent); color: #fff; }
/* odak halkası */
input:focus, select:focus, textarea:focus, .paper input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.search:focus-within { box-shadow: 0 0 0 4px var(--accent-ring); }
a.kpi:focus-visible, a.tile:focus-visible, a.h-link:focus-visible { outline-color: var(--accent); }
/* etiketler: onay bekliyor turuncu, düzeltme koyu turuncu, eksikler soluk turuncu */
.tag.warn, .tag.st-onay_bekliyor { background: var(--accent); color: #fff; }
.tag.st-duzeltme { background: #a83a14; color: #fff; }
.tag.err { background: var(--accent-soft); color: #8a2e0c; }
.tag.role-admin { background: var(--accent); color: #fff; }
.role-departman_yoneticisi { background: var(--accent-soft); }
/* diğer vurgular */
.bilgi-kutu, .card.sayfa-notu { box-shadow: inset 4px 0 0 var(--accent); }
.sh-kart.aktif { background: #fff4ee; box-shadow: 0 0 0 2px var(--accent); }
.sh-etiket { background: var(--accent); color: #fff; }
.asistan-oneri .tag:hover { background: var(--accent); color: #fff; }
.tabbar .on .ico { background: var(--accent); color: #fff; }
.tabbar a.new .ico { color: var(--accent); }
.tarih-izgara button.bugun { box-shadow: inset 0 0 0 1.5px var(--accent); }
.tarih-izgara button:hover { background: var(--accent-soft); }
main table:not(.no-rows) tr:hover td { background: #fff7f2; }
a.h-link span { color: var(--accent); }
main a:not(.btn):not(.kpi):not(.tile):not(.round):not(.tag-link):not(.h-link):not(.zil-oge) { color: #b4461b; }
input.aciklamadan, select.aciklamadan, textarea.aciklamadan { background: #fff1ea !important; border-color: var(--accent) !important; }

/* DEPARK TURUNCUSU = logonun rengi #f9b002 (kullanıcı: "#e8622c kırmızı olmuş"). Bu zeminde yazı koyu (beyaz okunmaz). */
:root { --accent: #f9b002; --accent-dark: #e39f00; --accent-soft: #feefc6; --accent-ring: rgb(249 176 2 / .3);
  --panel-bg: radial-gradient(70% 60% at 100% 0%, rgb(249 176 2 / .12) 0%, rgb(249 176 2 / 0) 60%), #eeeeec; }
.side nav a.on, button.primary, .btn, .btn.primary, .paper .actions button.primary, .tag.warn, .tag.st-onay_bekliyor, .tag.role-admin,
.sh-etiket, .asistan-oneri .tag:hover, .tabbar .on .ico, .zil-sayi { color: var(--ink); }
button.primary:hover, .btn:hover, .btn.primary:hover { color: var(--ink); }
.kpi:nth-child(2), .an-tiles .tile:nth-child(2), .kpi:nth-child(2) span, .an-tiles .tile:nth-child(2) span, .an-tiles .tile:nth-child(2) small, .an-tiles .tile:nth-child(2) b { color: var(--ink); }
.kpi:nth-child(2) span, .an-tiles .tile:nth-child(2) span, .an-tiles .tile:nth-child(2) small { color: #4d3800; opacity: 1; }
.tag.err { background: #fde6d8; color: #8a2e0c; }
.tag.st-duzeltme { background: #e8622c; color: #fff; }
main a:not(.btn):not(.kpi):not(.tile):not(.round):not(.tag-link):not(.h-link):not(.zil-oge) { color: #8a5f00; }
a.h-link span { color: #c48a00; }
main table:not(.no-rows) tr:hover td { background: #fffaeb; }
.sh-kart.aktif { background: #fff8e1; }
input.aciklamadan, select.aciklamadan, textarea.aciklamadan { background: #fff6dc !important; }
.giris-tanitim::after { background: radial-gradient(circle, rgb(249 176 2 / .32), rgb(249 176 2 / 0) 70%); }
.gt-ozellik i { box-shadow: 0 0 0 4px rgb(249 176 2 / .2); }
/* inceleme düzeltmeleri: sekme yazıları bağlantı renginden etkilenmesin; turuncu vurgu kartı yalnız Panel'de */
main .tabs a, main .tabs a:hover { color: var(--text) !important; text-decoration: none; }
main .tabs a.on { color: #fff !important; }
.kpi:nth-child(2), .an-tiles .tile:nth-child(2) { background: #fff; }
.kpi:nth-child(2) span, .an-tiles .tile:nth-child(2) span, .an-tiles .tile:nth-child(2) small { color: var(--soft-text); }
.kpi:nth-child(2):hover, .an-tiles a.tile:nth-child(2):hover { background: #fff; }
#kpis .kpi:nth-child(2), #panel-tiles .tile:nth-child(2) { background: var(--accent); }
#kpis .kpi:nth-child(2) span, #panel-tiles .tile:nth-child(2) span, #panel-tiles .tile:nth-child(2) small { color: #4d3800; }
#kpis .kpi:nth-child(2):hover, #panel-tiles a.tile:nth-child(2):hover { background: var(--accent-dark); }

/* giriş sol paneli: selam + canlı saat · soyut mini pano (sayı yok — sayfa herkese açık) · EYS adı */
.giris-tanitim { justify-content: space-between; }
.gt-selam span { display: block; font: 300 22px var(--sans); color: #cfcfcf; }
.gt-selam b { display: block; font: 300 76px/1 var(--sans); letter-spacing: -3px; color: #fff; font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.gt-selam small { font-size: 14px; color: #9d9d9d; }
.canli { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #3fbf6a; box-shadow: 0 0 0 4px rgb(63 191 106 / .18); }
.gt-orta b { font-size: 64px; letter-spacing: -2px; }
.gt-orta p { margin: 6px 0 0; font-size: 19px; }
@media (prefers-reduced-motion: no-preference) {
  .canli { animation: canli-yanip 1.6s ease-in-out infinite; }
}
@media screen and (max-width: 900px) {
  .gt-selam b { font-size: 44px; } .gt-selam span { font-size: 17px; }
  .gt-orta b { font-size: 40px; }
}
/* giriş sol paneli: sürekli, sakin hareket (yalnız hareket tercihi açıkken) */
.gt-selam b i { font-style: normal; }
@media (prefers-reduced-motion: no-preference) {
  .giris-tanitim::after { animation: gt-parilti 14s ease-in-out infinite alternate; }
  .gt-selam b i { animation: gt-iki-nokta 2s steps(1) infinite; }
}
@keyframes gt-parilti { 0% { transform: translate(0, 0); } 50% { transform: translate(-260px, 180px); } 100% { transform: translate(-60px, 420px); } }
@keyframes gt-iki-nokta { 50% { opacity: .25; } }
/* giriş kartı: EYS kutusuz (kullanıcı siyah kutuyu sevmedi) */
.paper .brandline b { background: none; color: var(--ink); padding: 0; border-radius: 0; font: 500 34px/1 var(--sans); letter-spacing: 4px; margin-bottom: 6px; }
.paper .welcome b, .bye-msg b { background: none; color: var(--ink); padding: 0; }
.kart-sec { margin-top: 6px; }
.kart-sec select { min-height: 32px; height: 32px; padding: 4px 30px 4px 12px; font-size: 13px; border-radius: 999px; }
#live { display: none !important; }  /* "Canlı · şimdi güncellendi": güncelleme arka planda sürer, yazı gösterilmez (kullanıcı isteği) */

/* Yeni Etkinlik: katılımcı satırındaki Girişimci Bilgileri */
.girisimci-bilgi { margin: 4px 0 0 2px; }
.girisimci-bilgi > summary { cursor: pointer; color: var(--muted, #666); }
.girisimci-bilgi[open] > summary { color: inherit; font-weight: 600; }

/* Sayfalar ve Sütunlar: her sütunun kendi kutusu (formdaki alanın aynası) */
.sh-kart li:has(.sh-girdi) { flex-wrap: wrap; cursor: default; }
.sh-kart li .sh-girdi { flex-basis: 100%; height: 30px; padding: 4px 8px; font-size: 12.5px; margin-top: 2px; }
.sh-kart li.eksik .sh-girdi { border-color: #a83a14; }

/* Excel Çıktıları: şifreli Excel (şifre → Görüntüle / İndir) */
.sifreli-excel { display: inline-block; vertical-align: middle; }
.sifreli-excel > summary { list-style: none; }
.kisisel-form { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.kisisel-form input { width: 150px; height: 30px; }
#kisisel-sifre h3 { margin: 10px 0 6px; font-size: 14px; }
/* Girişimci Bilgileri: eşleşen madde kişisel bilgi isteyen bir sayfaya (ör. (18)) yazılmıyorsa gizli */
form[data-kisisel-sec]:not(.kisisel-gerek) #parts .girisimci-bilgi { display: none; }

/* Doldurulması gerekli alan: kırmızımsı turuncu (#E8622C) çerçeve; doldurulunca kalkar (kaydı engellemez) */
input.doldur, textarea.doldur, select.doldur, .tarih-kutu.doldur { border-color: #E8622C !important; box-shadow: 0 0 0 3px rgb(232 98 44 / .22) !important; }
h2.doldur, label.doldur, .capture.doldur { outline: 2px solid #E8622C; outline-offset: 4px; border-radius: 6px; }
.zorunlu-kutu { border: 1px solid #E8622C; background: #fdf0ea; }
.zorunlu-kutu li.bos { cursor: pointer; }
.zorunlu-kutu li.bos::before { content: "● "; color: #E8622C; }
.zorunlu-kutu.tamam { border-color: #c9c2b0; background: #f6f4ee; }
.sh-kart li.eksik .sh-alan { color: #E8622C; }  /* boş sütun: yalnız renkle işaretli, "eksik" yazmaz */
.sh-kart li.eksik .sh-girdi { border-color: #E8622C; box-shadow: 0 0 0 2px rgb(232 98 44 / .18); }

/* GİRİŞ TEK BÖLÜM (2026-10-15, kullanıcı: "iki bölüm olmasın, birleştir"): koyu tanıtım ve form tek kartta, aralıksız;
   tek çerçeve, tek gölge. Form kartı (.paper) kendi kutusunu bırakır, birleşik kartın sağ yarısı olur. */
.giris-tanitim::after { display: none; }
.giris-sahne { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; width: min(1080px, 100%); margin: 0 auto;
  min-height: min(640px, calc(100dvh - 72px)); align-self: center; background: #fff; border-radius: 30px; overflow: hidden;
  box-shadow: var(--card-shadow); }
main.bare { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
/* logo ve EYS adı birleşik kartın koyu yarısında var; form tarafında tekrar etmesin */
.giris-sahne .paper .paperlogo, .giris-sahne .paper .brandline { display: none; }
.giris-sahne .gt-ust img { width: 200px; height: auto; background: none; border-radius: 0; padding: 0; }  /* tam logo, beyaz (static/logo-depark-beyaz.png), çerçevesiz */
.giris-sahne .gt-selam b { color: #F9B002; }  /* saat DEPARK turuncusu */
.giris-sahne .paper p a { color: #F9B002 !important; font-weight: 600; }  /* Şifremi Unuttum, Personel Kaydı vb. DEPARK turuncusu */
.giris-sahne .ya-da { color: #F9B002; font-weight: 600; }  /* "ya da" DEPARK turuncusu; çizgiler gri kalır */
.giris-sahne .paper h1 { border-top: 0; padding-top: 0; margin-top: 0; }
.giris-tanitim { border-radius: 0; }
.giris-form { padding: 34px 24px; }
.giris-form .paper { box-shadow: none; border-radius: 0; background: transparent; padding-top: 10px; padding-bottom: 10px; }
@media (prefers-reduced-motion: no-preference) { .giris-tanitim, .giris-form .paper { animation: none; } .giris-sahne { animation: rise .45s ease both; } }
.giris-sahne .gt-orta b { font-size: 44px; letter-spacing: -1px; }  /* EYS daha küçük */
@media screen and (max-width: 900px) {
  .giris-sahne .gt-orta b { font-size: 32px; }
  .giris-sahne { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 24px; }
  .giris-form { padding: 18px 8px; }
}

/* SOL MENÜ LOGOSU (2026-10-15, kullanıcı: girişteki gibi bembeyaz, siyah zeminde): beyaz kutu yok;
   tam logo static/logo-depark-beyaz.png, dar ekrandaki işaret de beyaza çevrilir. */
.side .logo, .side .logo:hover { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.side .logo img.mark { filter: brightness(0) invert(1); }
/* SOL MENÜ SEÇİLİ / BASILI (2026-10-15, kullanıcı: turuncu değil, beyaz zemin siyah yazı) */
.side nav a.on, .side .out.on, .side nav a:active, .side .out:active { background: #fff !important; color: #111 !important; box-shadow: none !important; }
.side nav a.on .ico, .side .out.on .ico, .side nav a:active .ico, .side .out:active .ico { color: #111; stroke: #111; }
/* ÜST ÇUBUK EYS (2026-10-15, kullanıcı: turuncu-siyah değil, beyaz zeminde siyah yazı) */
.appname b { background: #fff !important; color: #111 !important; font-weight: 700; padding-left: 4px; padding-right: 0; }
/* KULLANICI BAŞ HARFİ (2026-10-15, kullanıcı: "A" turuncu değil beyaz) — siyah yuvarlakta beyaz harf */
.avatar { color: #fff !important; }
/* PANEL KARŞILAMA (2026-10-15, kullanıcı: "İyi Günler, Aysu!" turuncu) */
.karsilama h1 { color: #F9B002 !important; }
/* PANEL ÜST 4 KART (2026-10-15, kullanıcı: "full siyah, beyaz yazıları") */
#kpis .kpi, #kpis .kpi:hover { background: #F9B002 !important; color: #fff !important; }  /* DEPARK turuncusu (önce siyahtı) */
#kpis .kpi b, #kpis .kpi span { color: #fff !important; opacity: 1 !important; }
#kpis .kpi:hover { background: #e9a300 !important; }
/* PANEL SONUÇ KUTULARI (2026-10-15, kullanıcı: önce turuncu, sonra "full beyaz, siyah yazılı"):
   8 kutu eşit boy, 4 sütun × 2 satır; hepsi beyaz, tüm yazılar siyah. Başlık üstte, değer ortada, açıklama altta. */
#panel-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
#panel-tiles .tile, #panel-tiles .tile.hero, #panel-tiles .tile:nth-child(2) { grid-column: auto; background: #fff !important; color: #111 !important;
  border: 0; box-shadow: var(--card-shadow); min-height: 150px; padding: 18px 20px; gap: 6px; justify-content: flex-start; }
#panel-tiles .tile:hover { background: #f4f4f2 !important; transform: none; box-shadow: none; }
#panel-tiles .tile span { color: #111 !important; opacity: 1 !important; font: 600 14px var(--sans); }
#panel-tiles .tile b, #panel-tiles .tile.hero b { color: #111 !important; font: 400 38px/1.05 var(--sans) !important; letter-spacing: -1px; }
#panel-tiles .tile small { color: #111 !important; opacity: .75 !important; font-size: 12.5px; line-height: 1.35; margin-top: auto; }
@media screen and (max-width: 1100px) { #panel-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 520px) { #panel-tiles .tile { min-height: 128px; } #panel-tiles .tile b { font-size: 30px !important; } }
/* PANEL İÇERİĞİ (2026-10-15, kullanıcı: içerik yukarıda görünsün, basınca doğrudan oraya gitsin).
   Üstte yapışık bölüm çubuğu; seçili bölüm sol menüdeki gibi siyah zeminde beyaz. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.panel-icerik { position: sticky; top: 8px; z-index: 25; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 0 16px; padding: 6px; background: #fff; border-radius: 999px; box-shadow: var(--card-shadow); }
.panel-icerik::-webkit-scrollbar { display: none; }
main .panel-icerik a { flex: none; padding: 8px 15px; border-radius: 999px; color: var(--ink) !important; text-decoration: none; font: 500 14px var(--sans); white-space: nowrap; }
main .panel-icerik a:hover { background: #f0f0ee; }
#ust, .an-sec, #hatirlatma, #aylar, #ilerleme, #departman, #uyarilar, #oncelik, #son { scroll-margin-top: 76px; }
@media screen and (max-width: 760px) {
  .panel-icerik { top: calc(66px + env(safe-area-inset-top)); border-radius: 16px; }
  #ust, .an-sec, #hatirlatma, #aylar, #ilerleme, #departman, #uyarilar, #oncelik, #son { scroll-margin-top: 140px; }
}
/* PANEL İÇERİĞİ DÜĞMELERİ (2026-10-15, kullanıcı: aralıklı olsun, düğmeler beyaz, siyah yazılı):
   ortak beyaz şerit yok; her bölüm ayrı beyaz düğme, aralarında boşluk. Seçili düğme siyah çerçeveli. */
.panel-icerik { background: transparent; box-shadow: none; padding: 4px 2px 8px; gap: 10px; border-radius: 0; }
main .panel-icerik a { background: #fff; color: #111 !important; box-shadow: var(--card-shadow); padding: 10px 18px; border: 1.5px solid transparent; }
main .panel-icerik a:hover { background: #fff; border-color: #c9c9c9; }
/* PANEL İÇERİĞİ: tüm düğmeler sığsın (kaydırma yok, gerekirse alt satıra geçer); seçili işaretleme yok (kullanıcı istedi) */
.panel-icerik { flex-wrap: wrap; overflow: visible; gap: 8px; margin-bottom: 22px; }
@media screen and (max-width: 760px) { .panel-icerik { position: static; } }  /* telefonda birkaç satır olur; yapışık kalıp ekranı kaplamasın */
main .panel-icerik a { padding: 8px 14px; font-size: 13.5px; }
/* PANEL İÇERİĞİ: düğmelerin etrafında hiç çizgi yok (basınca, üzerine gelince, odakta) */
main .panel-icerik a, main .panel-icerik a:hover, main .panel-icerik a:focus, main .panel-icerik a:focus-visible, main .panel-icerik a:active { border: 0 !important; outline: 0 !important; }
main .panel-icerik a:hover { background: #f4f4f2; }
/* PANEL SONUÇ BÖLÜMÜ YAZILARI (2026-10-15, kullanıcı: "hepsi siyah, turunculukları kaldır yazılarda"):
   başlık, kart başlıkları, bağlantılar, açıklamalar, Tablo ve tablo yazıları siyah. Grafik çizgileri değişmez. */
#sonuc .sec-title, #sonuc h2, #sonuc h2 a, #sonuc .h-link, #sonuc .h-link span, #sonuc p, #sonuc p a, #sonuc .muted, #sonuc .small,
#sonuc details summary, #sonuc table, #sonuc th, #sonuc td, #sonuc #an-risk, #sonuc #an-risk * { color: #111 !important; }
#sonuc p a { text-decoration: underline; text-underline-offset: 2px; }
#sonuc details summary::marker { color: #111; }
#sonuc .chart svg text { fill: #111 !important; }
#sonuc .chart-legend, #sonuc .chart-legend * { color: #111 !important; }
/* PANEL DAĞILIM BÖLÜMÜ (2026-10-15, kullanıcı: "dağılım kısmı turuncu yazıları beyaz"):
   kartların zemini sol menünün siyahı (turuncu denendi, vazgeçildi); tüm yazılar beyaz. Grafik renkleri değişmez. */
#dagilim .card { background: var(--ink) !important; color: #fff !important; }
#dagilim .card h2, #dagilim .card h2 a, #dagilim .h-link, #dagilim .h-link span, #dagilim .card p, #dagilim .card p a, #dagilim .muted,
#dagilim .small, #dagilim details summary, #dagilim table, #dagilim th, #dagilim td, #dagilim .card .chart *, #dagilim .chart-legend, #dagilim .chart-legend * { color: #fff !important; }
#dagilim .chart svg text { fill: #fff !important; }
#dagilim details summary::marker { color: #fff; }
#dagilim table, #dagilim th, #dagilim td { border-color: rgb(255 255 255 / .18) !important; background: transparent !important; }
/* PANEL SÜREÇ BÖLÜMÜ (2026-10-15, kullanıcı: "zemini turuncu olsun"): kartlar DEPARK turuncusu;
   turuncu ok ve bağlantılar zeminde kaybolmasın diye yazılar siyah. Grafik renkleri değişmez. */
#surec .card { background: #F9B002 !important; }
#surec .card h2, #surec .card h2 a, #surec .h-link, #surec .h-link span, #surec .card p, #surec .card p a, #surec .muted,
#surec .small, #surec details summary, #surec table, #surec th, #surec td, #surec .chart-legend, #surec .chart-legend * { color: #111 !important; }
#surec .chart svg text { fill: #111 !important; }
#surec table, #surec th, #surec td { border-color: rgb(0 0 0 / .18) !important; background: transparent !important; }
/* PANEL FİRMA ERİŞİMİ BÖLÜMÜ (2026-10-15, kullanıcı: "zemin beyaz, yazılar full siyah") */
#firma .card { background: #fff !important; }
#firma .sec-title, #firma .card h2, #firma .card h2 a, #firma .h-link, #firma .h-link span, #firma .card p, #firma .card p a, #firma .muted,
#firma .small, #firma details summary, #firma table, #firma th, #firma td, #firma .chart-legend, #firma .chart-legend * { color: #111 !important; }
#firma .chart svg text { fill: #111 !important; }
#firma .card p a { text-decoration: underline; text-underline-offset: 2px; }
/* PANEL VERİ KALİTESİ VE MODEL BÖLÜMÜ (2026-10-15, kullanıcı: "siyah zemin beyaz yazı"): kartlar sol menünün siyahı */
#kalite .card { background: var(--ink) !important; color: #fff !important; }
#kalite .card h2, #kalite .card h2 a, #kalite .h-link, #kalite .h-link span, #kalite .card p, #kalite .card p a, #kalite .muted,
#kalite .small, #kalite details summary, #kalite table, #kalite th, #kalite td, #kalite .card .chart *, #kalite #an-assoc, #kalite #an-assoc *,
#kalite .chart-legend, #kalite .chart-legend * { color: #fff !important; }
#kalite .chart svg text { fill: #fff !important; }
#kalite details summary::marker { color: #fff; }
#kalite table, #kalite th, #kalite td { border-color: rgb(255 255 255 / .18) !important; background: transparent !important; }
#kalite .card p a { text-decoration: underline; text-underline-offset: 2px; }
/* PANEL AYLARA GÖRE ETKİNLİK (2026-10-15, kullanıcı: "turuncu zemin beyaz yazı"): kart DEPARK turuncusu, yazılar beyaz.
   Sütunlar da turuncu olduğundan zeminde kaybolmasın diye beyaz; eksen çizgileri beyaz tonlu. */
#aylar { background: #F9B002 !important; color: #fff !important; }
#aylar h2, #aylar h2 a, #aylar .h-link, #aylar .h-link span { color: #fff !important; }
#aylar .chart svg text { fill: #fff !important; }
#aylar .chart svg rect[rx] { fill: #fff !important; }
#aylar .chart svg line { stroke: rgb(255 255 255 / .55) !important; }
/* PANEL ENDEKS MADDESİ İLERLEMESİ (2026-10-15, kullanıcı: "beyaz zemin siyah yazı") */
#ilerleme { background: #fff !important; }
#ilerleme, #ilerleme h2, #ilerleme h2 a, #ilerleme .h-link, #ilerleme .h-link span, #ilerleme p, #ilerleme p a, #ilerleme .muted, #ilerleme .small,
#ilerleme .chart, #ilerleme .chart * { color: #111 !important; }
#ilerleme .chart svg text { fill: #111 !important; }
#ilerleme p a { text-decoration: underline; text-underline-offset: 2px; }
/* PANEL DEPARTMANLARA GÖRE VERİ GİRİŞİ (2026-10-15, kullanıcı: "siyah zemin beyaz yazı"): sol menünün siyahı */
#departman { background: var(--ink) !important; color: #fff !important; }
#departman h2, #departman h2 a, #departman .h-link, #departman .h-link span, #departman p, #departman p a, #departman .muted, #departman .small,
#departman .chart, #departman .chart * { color: #fff !important; }
#departman .chart svg text { fill: #fff !important; }
#departman .chart svg line { stroke: rgb(255 255 255 / .3) !important; }
/* PANEL UYARILAR · EKSİK VERİ (2026-10-15, kullanıcı: "turuncu zemin beyaz yazı"): kart DEPARK turuncusu, yazılar beyaz;
   "!" etiketi turuncu zeminde kaybolmasın diye beyaz yuvarlakta siyah. */
#uyarilar { background: #F9B002 !important; color: #fff !important; }
#uyarilar h2, #uyarilar h2 a, #uyarilar .h-link, #uyarilar .h-link span, #uyarilar li, #uyarilar .muted, #uyarilar a { color: #fff !important; }
#uyarilar ul.plain li { border-bottom-color: rgb(255 255 255 / .45) !important; }
#uyarilar .tag.warn { background: #fff !important; color: #111 !important; border: 0 !important; }
/* PANEL ÖNCELİK (2026-10-15, kullanıcı: "beyaz zemin siyah yazı") */
#oncelik { background: #fff !important; }
#oncelik, #oncelik h2, #oncelik h2 a, #oncelik .h-link, #oncelik .h-link span, #oncelik table, #oncelik th, #oncelik td, #oncelik td *,
#oncelik p, #oncelik p a, #oncelik .muted, #oncelik .small { color: #111 !important; }
#oncelik th, #oncelik td { background: transparent !important; }
/* PANEL SON GİRİLEN ETKİNLİKLER (2026-10-15, kullanıcı: "siyah zemin beyaz yazı"): sol menünün siyahı */
#son { background: var(--ink) !important; color: #fff !important; }
#son h2, #son h2 a, #son .h-link, #son .h-link span, #son p, #son a, #son .muted, #son .small, #son table, #son th, #son td, #son td * { color: #fff !important; }
#son th, #son td { background: transparent !important; border-color: rgb(255 255 255 / .18) !important; }
#son p a, #son td a { text-decoration: underline; text-underline-offset: 2px; }
#son .tag { color: #111 !important; }  /* durum etiketi kendi zemininde okunur kalsın */
/* ETKİNLİKLER SAYFASI (2026-10-15, kullanıcı): başlık DEPARK turuncusu; "+ Yeni Etkinlik" beyaz zemin siyah yazı */
h1.etk-baslik { color: #F9B002 !important; }
main a.btn.etk-yeni, main a.btn.etk-yeni:hover { background: #fff !important; color: #111 !important; border: 0 !important; box-shadow: var(--card-shadow); }
main a.btn.etk-yeni:hover { background: #f4f4f2 !important; }
/* DOLDURULMASI GEREKLİ ALANLAR (2026-10-15, kullanıcı: kırmızı değil DEPARK turuncusu #F9B002).
   Yalnız zorunlu/eksik alan işaretleri; silme, reddetme ve hata yazıları kendi renginde kalır. */
input.doldur, textarea.doldur, select.doldur, .tarih-kutu.doldur,
input.zorunlu-eksik, textarea.zorunlu-eksik, select.zorunlu-eksik { border-color: #F9B002 !important; box-shadow: 0 0 0 3px rgb(249 176 2 / .28) !important; }
h2.doldur, label.doldur, .capture.doldur, .capture.zorunlu-eksik, h2.zorunlu-eksik { outline-color: #F9B002 !important; }
.zorunlu-kutu, .zorunlu-kutu.hata { border-color: #F9B002 !important; background: #fff8e1 !important; }
.zorunlu-kutu.tamam { border-color: #c9c2b0 !important; background: #f6f4ee !important; }
.zorunlu-kutu li.bos::before { color: #F9B002 !important; }
.zorunlu-etiket { color: #F9B002 !important; }
.sh-kart li.eksik .sh-alan { color: #F9B002 !important; }
.sh-kart li.eksik .sh-girdi { border-color: #F9B002 !important; box-shadow: 0 0 0 2px rgb(249 176 2 / .28) !important; }
b.kanit-baslik.zorunlu-eksik { color: #F9B002 !important; text-decoration-color: #F9B002 !important; }
.tarih-kutu > input.hatali { border-color: #F9B002 !important; }
/* BÖLÜM NUMARALARI (1, 2, 3…) (2026-10-15, kullanıcı: siyah zemin beyaz yazı) — sol menünün siyahı */
.fs-no { background: var(--ink) !important; color: #fff !important; }
/* "Açıklamadan Formu Doldur" düğmesi (2026-10-15, kullanıcı: siyah zemin beyaz yazı) — sol menünün siyahı */
.aciklama-doldur button#fill, .aciklama-doldur button#fill:hover { background: var(--ink) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
.aciklama-doldur button#fill:hover { background: #3a3a3a !important; }
.aciklama-doldur button#fill:disabled { opacity: .6; }
/* Etkinlik formu "Kaydet" düğmesi (2026-10-15, kullanıcı: siyah zemin beyaz yazı) */
.kaydet-cubugu button.primary, .kaydet-cubugu button.primary:hover { background: var(--ink) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
.kaydet-cubugu button.primary:hover { background: #3a3a3a !important; }

/* ======================================================================
   YENİ ETKİNLİK FORMU — DÜZENLİ GÖRÜNÜM (2026-10-15, kullanıcı: "baştan sona en düzenli haliyle")
   Her numaralı bölüm ayrı beyaz kart; aynı iç boşluk, aynı başlık boyu; ikincil düğmeler tek tip
   (beyaz, ince gri çerçeve, siyah yazı); kayıt çubuğu altta yapışık ayrı kart. Yalnız .yeni-form.
   ====================================================================== */
.ek-alanlar > .ek-alan[hidden], .sh-kart[hidden], .sayfa-harita[hidden], .ek-bilgi p[hidden] { display: none !important; }
.yeni-form.card { background: transparent !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; }
.yeni-form section.fs { background: #fff; border: 0 !important; border-radius: 24px; box-shadow: var(--card-shadow);
  padding: 24px 26px 22px !important; margin: 0 0 14px !important; }
.yeni-form section.fs > h2, .yeni-form .ek-baslik { font: 500 19px/1.2 var(--sans); gap: 10px; margin: 0 0 8px; }
.yeni-form .fs-no { width: 28px; height: 28px; font-size: 13px; }
.yeni-form .fs-not { margin: 0 0 16px; max-width: 820px; line-height: 1.5; }
.yeni-form label { margin-bottom: 6px; }
.yeni-form .row { gap: 14px; margin-bottom: 12px; }
.yeni-form .zorunlu-kutu { border-radius: 18px; padding: 14px 18px; margin: 0 0 14px; }
/* ikincil düğmeler: Sesli Not, Ses Dosyası, + Katılımcı Ekle, Fotoğraf, Belge, kanıt ✕ */
.yeni-form button.ghost, .yeni-form .btn.ghost { background: #fff !important; color: #111 !important; border: 1px solid #d6d6d2 !important;
  border-radius: 999px !important; box-shadow: none !important; padding: 9px 16px !important; font: 500 14px var(--sans) !important; cursor: pointer; }
.yeni-form button.ghost:hover, .yeni-form .btn.ghost:hover { background: #f4f4f2 !important; border-color: #bdbdb8 !important; }
.yeni-form .part button.ghost, .yeni-form .part button.danger, .yeni-form .pending-oge button { width: 40px; height: 40px; padding: 0 !important;
  display: inline-grid; place-items: center; color: #111 !important; border-color: #d6d6d2 !important; background: #fff !important; }
.yeni-form .aciklama-araclar { gap: 14px; margin-top: 12px; }
.yeni-form .ses-araclar { gap: 10px; }
.yeni-form .capture { gap: 10px; margin: 0; }
.yeni-form #b-endeks #sug { padding: 14px 16px; border-radius: 16px; background: #f6f6f4; }
.yeni-form .ek-alanlar { margin-top: 4px; }
.yeni-form details.ek-bilgi > summary, .yeni-form details > summary { cursor: pointer; }
/* kayıt çubuğu: ayrı beyaz kart, altta yapışık */
.yeni-form .kaydet-cubugu { margin: 4px 0 0 !important; padding: 14px 26px !important; border: 0 !important; border-radius: 24px !important;
  background: rgb(255 255 255 / .96) !important; box-shadow: 0 -2px 6px rgb(20 20 20 / .04), var(--card-shadow); bottom: 12px; }
@media screen and (max-width: 760px) {
  .yeni-form section.fs { padding: 18px 16px; border-radius: 20px; }
  .yeni-form .kaydet-cubugu { padding: 12px 16px !important; bottom: calc(76px + env(safe-area-inset-bottom)); }
}
/* Doldurulması Gerekli Alanlar listesindeki noktalar (2026-10-15, kullanıcı: turuncu değil siyah) */
.zorunlu-kutu li.bos::before { color: #111 !important; }
.zorunlu-kutu li::marker { color: #111; }
/* EXCEL YÜKLE (2026-10-15, kullanıcı): "1 · Excel Tanıt" ve "2 · Excel Eşle" kartları beyaz zemin, siyah yazı;
   "Tanıt ve Ezberle" ve "Yükle ve Otomatik İşle" siyah zemin beyaz yazı. .siyah-btn başka sayfalarda da kullanılabilir. */
#tanit, #esle { background: #fff !important; color: #111 !important; }
#tanit h2, #esle h2, #tanit p, #esle p, #tanit label, #esle label, #tanit .muted, #esle .muted, #tanit .small, #esle .small,
#tanit table, #esle table, #tanit th, #esle th, #tanit td, #esle td, #tanit td *, #tanit summary, #esle summary { color: #111 !important; }
#tanit .tag, #esle .tag { background: #f0f0ee !important; color: #111 !important; border: 0 !important; }
#tanit p a, #esle p a { color: #111 !important; text-decoration: underline; text-underline-offset: 2px; }
button.siyah-btn, button.siyah-btn:hover { background: var(--ink) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
button.siyah-btn:hover { background: #3a3a3a !important; }
/* beyaz düğme (2026-10-15, kullanıcı: "Tüm Formu Boş İndir" beyaz zemin siyah yazı) */
main a.btn.beyaz-btn, main a.btn.beyaz-btn:hover { background: #fff !important; color: #111 !important; border: 1px solid #d6d6d2 !important; box-shadow: none !important; }
main a.btn.beyaz-btn:hover { background: #f4f4f2 !important; }
/* "Kaydet" .small sınıflı olduğu için #tanit .small siyah yazı kuralına takılıyordu; düğmelerde beyaz yazı kesin */
#tanit button.siyah-btn, #esle button.siyah-btn, #tanit button.siyah-btn:hover, #esle button.siyah-btn:hover { color: #fff !important; }
h1.etk-baslik span { color: #111 !important; }  /* "(21 madde)" siyah (kullanıcı) */
/* ENDEKS MADDELERİ listesi (2026-10-15, kullanıcı: "maddeler beyaz zemin siyah yazı") */
details.madde-kart { background: #fff !important; color: #111 !important; }
details.madde-kart summary, details.madde-kart summary *, details.madde-kart p, details.madde-kart label, details.madde-kart .muted,
details.madde-kart .small, details.madde-kart a:not(.btn) { color: #111 !important; }
details.madde-kart summary::marker { color: #111; }
details.madde-kart .tag { background: #f0f0ee !important; color: #111 !important; border: 0 !important; }
details.madde-kart a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
/* Dosya seçme kutusu: "Dosya Seç" düğmesi üstündeki etiketle aynı hizada, sola dayalı (2026-10-15 kullanıcı) */
input[type="file"] { padding-left: 0 !important; margin-left: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
/* "← …" geri bağlantıları siyah (2026-10-15 kullanıcı) */
main a.geri-link { color: #111 !important; text-decoration: none; font-weight: 500; }
main a.geri-link:hover { text-decoration: underline; text-underline-offset: 2px; }
/* Beyaz KPI kartları (2026-10-15, kullanıcı: madde hesap sayfasında Değer/Hedef/İlerleme/Yıl Sonu Tahmini beyaz zemin siyah yazı) */
.kpi-beyaz .kpi, .kpi-beyaz .kpi:hover { background: #fff !important; color: #111 !important; }
.kpi-beyaz .kpi b, .kpi-beyaz .kpi span { color: #111 !important; opacity: 1 !important; }
/* Siyah kart (2026-10-15, kullanıcı: "Nasıl Hesaplanıyor?" siyah zemin beyaz yazı) — sol menünün siyahı */
.card.kart-siyah { background: var(--ink) !important; color: #fff !important; }
.card.kart-siyah h2, .card.kart-siyah p, .card.kart-siyah li, .card.kart-siyah b, .card.kart-siyah span, .card.kart-siyah .muted,
.card.kart-siyah .small, .card.kart-siyah a:not(.btn), .card.kart-siyah td, .card.kart-siyah th { color: #fff !important; }
.card.kart-siyah .tag { background: rgb(255 255 255 / .14) !important; color: #fff !important; border: 0 !important; }
.card.kart-siyah a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
/* Turuncu kart (2026-10-15, kullanıcı: "Sayılan Etkinlikler" turuncu zemin beyaz yazı) */
.card.kart-turuncu { background: #F9B002 !important; color: #fff !important; }
.card.kart-turuncu h2, .card.kart-turuncu p, .card.kart-turuncu .muted, .card.kart-turuncu .small, .card.kart-turuncu th, .card.kart-turuncu td,
.card.kart-turuncu td *, .card.kart-turuncu a:not(.btn) { color: #fff !important; }
.card.kart-turuncu th, .card.kart-turuncu td { background: transparent !important; border-color: rgb(255 255 255 / .45) !important; }
.card.kart-turuncu a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.card.kart-turuncu .tag { background: #fff !important; color: #111 !important; border: 0 !important; }
main button.beyaz-btn, main button.beyaz-btn:hover { background: #fff !important; color: #111 !important; border: 1px solid #d6d6d2 !important; box-shadow: none !important; }
main button.beyaz-btn:hover { background: #f4f4f2 !important; }
/* turuncu karttaki ikincil düğmeler: beyaz çerçeve, beyaz yazı (Raporlar → Portallar ve Dış Sistemler) */
.card.kart-turuncu a.btn.ghost, .card.kart-turuncu button.ghost { background: transparent !important; color: #fff !important; border: 1.5px solid #fff !important; box-shadow: none !important; text-decoration: none !important; }
.card.kart-turuncu a.btn.ghost:hover, .card.kart-turuncu button.ghost:hover { background: rgb(255 255 255 / .18) !important; }
/* Beyaz kart (2026-10-15, kullanıcı: Raporlar → "Endeks Maddesi Özeti" beyaz zemin siyah yazı) */
.card.kart-beyaz { background: #fff !important; color: #111 !important; }
.card.kart-beyaz h2, .card.kart-beyaz h2 *, .card.kart-beyaz p, .card.kart-beyaz .muted, .card.kart-beyaz .small, .card.kart-beyaz th,
.card.kart-beyaz td, .card.kart-beyaz td *:not(.bar):not(.bar *), .card.kart-beyaz a:not(.btn) { color: #111 !important; }
.card.kart-beyaz th, .card.kart-beyaz td { background: transparent !important; }
.card.kart-beyaz a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.card.kart-siyah label { color: #fff !important; }
.card.kart-siyah input, .card.kart-siyah select, .card.kart-siyah textarea { color: #111 !important; }  /* kutuların içi açık, yazı okunur */
/* siyah karttaki giriş kutuları tam beyaz, yazı siyah (2026-10-15 kullanıcı: Yıllık Sıralama → Not) */
.card.kart-siyah input, .card.kart-siyah select, .card.kart-siyah textarea { background: #fff !important; color: #111 !important; border-color: #fff !important; }
.card.kart-siyah input::placeholder, .card.kart-siyah textarea::placeholder { color: #6f6f6f !important; }
.card.kart-siyah button.beyaz-btn, .card.kart-siyah button.beyaz-btn:hover { background: #fff !important; color: #111 !important; border: 0 !important; }
.card.kart-siyah button.beyaz-btn:hover { background: #e9e9e7 !important; }
.card.kart-beyaz label, .card.kart-beyaz li { color: #111 !important; }
.card.kart-beyaz button.siyah-btn, .card.kart-beyaz button.siyah-btn:hover { color: #fff !important; }
/* turuncu karttaki Sil düğmesi: beyaz zemin, siyah yazı (turuncu zeminde kırmızı/turuncu okunmaz) */
.card.kart-turuncu button.danger, .card.kart-turuncu button.danger:hover { background: #fff !important; color: #111 !important; border: 0 !important; box-shadow: none !important; }
.card.kart-turuncu button.danger:hover { background: #f1f1ef !important; }
/* Asistan karşılama yazısı sola dayalı, öneri düğmeleriyle aynı hizada (2026-10-15 kullanıcı) */
.asistan-akis .msg.hello { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; background: transparent !important; align-self: flex-start; }
.asistan-akis .msg.hello p { margin-left: 0; }
.card.kart-beyaz b, .card.kart-beyaz strong, .card.kart-beyaz .tag { color: #111 !important; }
.card.kart-beyaz .tag { background: #f0f0ee !important; border: 0 !important; }
/* turuncu karttaki ana düğmeler (ör. Onayla) turuncu zeminde kaybolmasın: siyah zemin beyaz yazı; giriş kutuları beyaz */
.card.kart-turuncu button.primary, .card.kart-turuncu a.btn:not(.ghost), .card.kart-turuncu button:not(.ghost):not(.danger) { background: var(--ink) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
.card.kart-turuncu input, .card.kart-turuncu select { background: #fff !important; color: #111 !important; }
/* siyah karttaki düğmeler: beyaz zemin siyah yazı (Yıllık Sıralama'daki Kaydet gibi) */
.card.kart-siyah button, .card.kart-siyah a.btn { background: #fff !important; color: #111 !important; border: 0 !important; box-shadow: none !important; }
.card.kart-siyah button:hover, .card.kart-siyah a.btn:hover { background: #e9e9e7 !important; }
.card.kart-siyah .tag[class*="role-"] { color: #111 !important; }  /* rol etiketi açık zeminde siyah */
/* ROL ETİKETLERİ sarı işaretsiz (2026-10-15, kullanıcı): hepsi Kullanıcı etiketi gibi beyaz zemin, siyah yazı, ince gri çerçeve */
.tag.role-superadmin, .tag.role-admin, .tag.role-departman_yoneticisi, .tag.role-personel,
.card .tag.role-superadmin, .card .tag.role-admin, .card .tag.role-departman_yoneticisi, .card .tag.role-personel {
  background: #fff !important; color: #111 !important; border: 1px solid #d6d6d2 !important; box-shadow: none !important; }
/* siyah kartlardaki tablo satırları beyaz zeminli; satır yazıları siyah (2026-10-15 kullanıcı: Aktif Hesaplar) */
.card.kart-siyah td, .card.kart-siyah td *:not(button):not(.btn) { color: #111 !important; }
.card.kart-siyah td a:not(.btn) { color: #111 !important; }
/* siyah kartta beyaz satır içindeki düğmeler (ör. Aktif Hesaplar → Kaydet): siyah zemin beyaz yazı */
.card.kart-siyah td button, .card.kart-siyah td a.btn { background: var(--ink) !important; color: #fff !important; border: 0 !important; }
.card.kart-siyah td button:hover, .card.kart-siyah td a.btn:hover { background: #3a3a3a !important; }
.card.kart-siyah td select, .card.kart-siyah td input { border: 1px solid #d6d6d2 !important; }
/* ROL ETİKETLERİ tek tip (kesin): her yerde Kullanıcı etiketi gibi, sarı yok */
html body .tag[class*="role-"], html body .card .tag[class*="role-"] {
  background: #fff !important; color: #111 !important; border: 1px solid #d6d6d2 !important; box-shadow: none !important; }
/* SİTE AYARLARI (2026-10-15, kullanıcı): tüm kartlar beyaz zemin siyah yazı; düğmeler siyah zemin beyaz yazı */
.ayar-sayfa .card, .ayar-sayfa details.card { background: #fff !important; color: #111 !important; }
.ayar-sayfa .card h2, .ayar-sayfa .card h3, .ayar-sayfa .card h4, .ayar-sayfa .card p, .ayar-sayfa .card label, .ayar-sayfa .card li,
.ayar-sayfa .card th, .ayar-sayfa .card td, .ayar-sayfa .card .muted, .ayar-sayfa .card .small, .ayar-sayfa .card summary,
.ayar-sayfa .card b, .ayar-sayfa .card span:not(.tag), .ayar-sayfa .card a:not(.btn) { color: #111 !important; }
.ayar-sayfa .card .tag { background: #f0f0ee !important; color: #111 !important; border: 0 !important; }
.ayar-sayfa .card .tag button, .ayar-sayfa .card .chip-x { background: transparent !important; color: #111 !important; padding: 0 4px !important; }
.ayar-sayfa button:not(.chip-x), .ayar-sayfa a.btn, .ayar-sayfa button.ghost, .ayar-sayfa button.danger, .ayar-sayfa button.primary {
  background: var(--ink) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
.ayar-sayfa button:not(.chip-x):hover, .ayar-sayfa a.btn:hover { background: #3a3a3a !important; }
/* Turuncu kutucuklar (2026-10-15, kullanıcı: Güvenlik özet kutuları turuncu zemin beyaz yazı) */
.tile-turuncu .tile, .tile-turuncu .tile.hero, .tile-turuncu .tile:nth-child(n) { background: #F9B002 !important; color: #fff !important; border: 0 !important; }
.tile-turuncu .tile:hover { background: #e9a300 !important; }
.tile-turuncu .tile span, .tile-turuncu .tile b, .tile-turuncu .tile small { color: #fff !important; opacity: 1 !important; }
/* Güvenlik uyarısı kırmızı değil DEPARK turuncusu (2026-10-15 kullanıcı) */
.flash.uyari-turuncu { background: #fff4d6 !important; color: #111 !important; border: 1px solid #F9B002 !important; border-left: 5px solid #F9B002 !important; }
.flash.uyari-turuncu a, .flash.uyari-turuncu b { color: #111 !important; }
/* siyah karttaki beyaz satırlarda .small / .muted hücreler de siyah (Güvenlik: Zaman, Tarayıcı, Ayrıntı) */
.card.kart-siyah table td.small, .card.kart-siyah table td.muted, .card.kart-siyah table td .small, .card.kart-siyah table td .muted { color: #111 !important; }
/* Beyaz kutucuklar (2026-10-15, kullanıcı: Güvenlik özet kutuları beyaz zemin siyah yazı — turuncudan vazgeçildi) */
.tile-beyaz .tile, .tile-beyaz .tile.hero, .tile-beyaz .tile:nth-child(n) { background: #fff !important; color: #111 !important; border: 0 !important; }
.tile-beyaz .tile:hover { background: #f4f4f2 !important; }
.tile-beyaz .tile span, .tile-beyaz .tile b, .tile-beyaz .tile small { color: #111 !important; opacity: 1 !important; }
.card.kart-turuncu label { color: #fff !important; }
/* Güvenlik filtresi: "Göster" ve "Excel" beyaz zemin siyah yazı (2026-10-15 kullanıcı) */
.sec-filter.kart-turuncu button, .sec-filter.kart-turuncu a.btn, .sec-filter.kart-turuncu a.btn.ghost {
  background: #fff !important; color: #111 !important; border: 0 !important; box-shadow: none !important; }
.sec-filter.kart-turuncu button:hover, .sec-filter.kart-turuncu a.btn:hover { background: #f1f1ef !important; }
.card.kart-turuncu.sec-filter button:not(.ghost):not(.danger), .card.kart-turuncu.sec-filter a.btn:not(.ghost), .card.kart-turuncu.sec-filter a.btn.ghost {
  background: #fff !important; color: #111 !important; border: 0 !important; }
.card.kart-turuncu.sec-filter button:not(.ghost):not(.danger):hover, .card.kart-turuncu.sec-filter a.btn:hover { background: #f1f1ef !important; }
/* turuncu karttaki onay kutusu: beyaz kutu, siyah tik (2026-10-15 kullanıcı: Hesabım → Hatırlatmalar) */
.card.kart-turuncu input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 20px !important; height: 20px; min-width: 20px;
  padding: 0 !important; margin: 0 8px 0 0; border: 0 !important; border-radius: 5px; background: #fff !important; vertical-align: middle;
  display: inline-grid; place-content: center; cursor: pointer; }
.card.kart-turuncu input[type="checkbox"]::before { content: ""; width: 11px; height: 6px; border-left: 2.5px solid #111; border-bottom: 2.5px solid #111;
  transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.card.kart-turuncu input[type="checkbox"]:checked::before { opacity: 1; }
.card.kart-turuncu input[type="checkbox"]:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.card.kart-siyah summary.btn { background: #fff !important; color: #111 !important; border: 0 !important; }
.card.kart-siyah .sifreli-excel[open] summary.btn { background: #e9e9e7 !important; }
.card.kart-siyah table td a.btn, .card.kart-siyah table td a.btn.small, .card.kart-siyah table td button, .card.kart-siyah table td button.small,
.card.kart-siyah table td summary.btn { background: var(--ink) !important; color: #fff !important; }
/* Excel Çıktıları satırlarındaki "İndir" / "Şifreli Excel": beyaz zemin siyah yazı, beyaz satırda görünsün diye ince gri çerçeve (2026-10-15 kullanıcı) — yalnız Excel Çıktıları; Aktif Hesaplar'daki Kaydet siyah kalır */
.card.kart-siyah.cikti-kart table td a.btn, .card.kart-siyah.cikti-kart table td a.btn.small, .card.kart-siyah.cikti-kart table td button, .card.kart-siyah.cikti-kart table td button.small,
.card.kart-siyah.cikti-kart table td summary.btn { background: #fff !important; color: #111 !important; border: 1px solid #c9c9c5 !important; }
.card.kart-siyah.cikti-kart table td a.btn:hover, .card.kart-siyah.cikti-kart table td button:hover, .card.kart-siyah.cikti-kart table td summary.btn:hover { background: #f1f1ef !important; }
/* PANEL SÜREÇ: turuncu zeminde yazılar BEYAZ (2026-10-15 kullanıcı düzeltmesi; önceki siyah yazı geçersiz) */
#surec .card h2, #surec .card h2 a, #surec .h-link, #surec .h-link span, #surec .card p, #surec .card p a, #surec .muted,
#surec .small, #surec details summary, #surec table, #surec th, #surec td, #surec .chart-legend, #surec .chart-legend *, #surec .card .chart * { color: #fff !important; }
#surec .chart svg text { fill: #fff !important; }
#surec details summary::marker { color: #fff; }
#surec table, #surec th, #surec td { border-color: rgb(255 255 255 / .45) !important; }
/* ASİSTAN MASKOTU (2026-10-15, kullanıcı): giriş yapınca her sayfada sağ alt köşede; basınca asistan açılır. Görsel static/maskot.png */
.maskot { position: fixed; right: 22px; bottom: 18px; z-index: 70; width: 104px; height: auto; padding: 0; margin: 0; border: 0 !important;
  background: transparent !important; box-shadow: none !important; cursor: pointer; filter: drop-shadow(0 10px 14px rgb(20 20 20 / .22));
  transition: transform .18s ease; }
.maskot img { display: block; width: 100%; height: auto; pointer-events: none; }
.maskot:hover { transform: translateY(-4px) scale(1.04); }
.maskot:focus-visible { outline: 3px solid #111; outline-offset: 4px; border-radius: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .maskot { animation: maskot-salla 4.5s ease-in-out infinite; }
  .maskot:hover { animation: none; }
}
@keyframes maskot-salla { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-2deg); } }
@media screen and (max-width: 760px) { .maskot { width: 72px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); } }
@media print { .maskot { display: none !important; } }
/* asistan arka planda düşünürken / cevap hazırken maskot işareti (2026-11-12) */
.maskot.dusunuyor::after, .maskot.cevap-var::after { position: absolute; top: 2px; left: 4px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; font: 700 13px/22px system-ui, sans-serif; color: #fff; text-align: center; box-shadow: 0 2px 6px rgb(0 0 0 / .25); }
.maskot.dusunuyor::after { content: "…"; background: #555; }
.maskot.cevap-var::after { content: "1"; background: #d62828; }
.maskot-kutu .maskot.dusunuyor, .maskot-kutu .maskot.cevap-var { position: relative; }
@media (prefers-reduced-motion: no-preference) { .maskot.dusunuyor::after { animation: maskot-dusun 1.2s ease-in-out infinite; } }
@keyframes maskot-dusun { 50% { opacity: .45; } }
/* maskot gizle / göster */
.maskot-kutu { position: fixed; right: 22px; bottom: 18px; z-index: 70; }
.maskot-kutu[hidden], .maskot-goster[hidden] { display: none !important; }
.maskot-kutu .maskot { position: static; }
.maskot-gizle { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; min-width: 0; padding: 0 !important; border-radius: 50% !important;
  background: #fff !important; color: #111 !important; border: 1px solid #d6d6d2 !important; font: 600 15px/1 var(--sans) !important;
  display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .15s; box-shadow: 0 2px 6px rgb(0 0 0 / .12) !important; }
.maskot-kutu:hover .maskot-gizle, .maskot-gizle:focus-visible { opacity: 1; }
@media (hover: none) { .maskot-gizle { opacity: 1; } }
.maskot-goster { position: fixed; right: 16px; bottom: 16px; z-index: 70; padding: 8px 14px !important; border-radius: 999px !important;
  background: #fff !important; color: #111 !important; border: 1px solid #d6d6d2 !important; font: 500 13px var(--sans) !important;
  box-shadow: var(--card-shadow) !important; cursor: pointer; }
.maskot-goster:hover { background: #f4f4f2 !important; }
@media screen and (max-width: 760px) {
  .maskot-kutu { right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .maskot-kutu .maskot { width: 72px; }
  .maskot-goster { bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; }
}
@media print { .maskot-kutu, .maskot-goster { display: none !important; } }
/* maskotun üstünde "Asistan" yazısı */
.maskot { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.maskot-ad { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff; color: #111; font: 600 12.5px/1.2 var(--sans);
  box-shadow: 0 2px 6px rgb(0 0 0 / .12); white-space: nowrap; }
@media screen and (max-width: 760px) { .maskot-ad { font-size: 11px; padding: 2px 8px; } }
/* MASKOT GÖZ KIRPMA (2026-10-15, kullanıcı: sayfaya geçince gözü açılıp kapansın). Gözlerin üstünde ekran renginde
   "göz kapağı" yukarıdan iner, kapalıyken ince beyaz çizgi görünür, sonra açılır. Konumlar static/maskot.png'den ölçüldü. */
.maskot-yuz { position: relative; display: block; width: 100%; }
.goz-kapak { position: absolute; display: block; background: #242429; border-radius: 40% 40% 30% 30%; transform: scaleY(0);
  transform-origin: 50% 0; pointer-events: none; }
.goz-kapak::after { content: ""; position: absolute; left: 14%; right: 14%; top: 58%; height: 2px; border-radius: 2px; background: #f4f4f4;
  box-shadow: 0 0 3px rgb(255 255 255 / .7); opacity: 0; }
.goz-kapak.sol { left: 32.7%; width: 15.4%; top: 36.5%; height: 11.9%; }
.goz-kapak.sag { left: 55.4%; width: 15.4%; top: 33.3%; height: 12.3%; }
.maskot.kirp .goz-kapak { animation: goz-kirp 1.1s ease-in-out both; }
.maskot.kirp .goz-kapak::after { animation: goz-cizgi 1.1s ease-in-out both; }
@keyframes goz-kirp { 0%, 100% { transform: scaleY(0); } 12%, 22% { transform: scaleY(1); } 34%, 58% { transform: scaleY(0); } 70%, 80% { transform: scaleY(1); } }
@keyframes goz-cizgi { 0%, 8%, 26%, 66%, 84%, 100% { opacity: 0; } 12%, 22%, 70%, 80% { opacity: 1; } }
/* TELEFON TAŞMA DÜZELTMESİ (2026-10-15, kullanıcı: Dışa Aktar'da "Endeks Maddeleri (CSV)" kutudan taşıyor). İkili düğme ızgarasında
   uzun yazı sütunu genişletmesin, alt satıra geçsin; "Tablo" açılırlarındaki geniş tablolar kart içinde yana kaysın. */
@media screen and (max-width: 760px) {
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools .btn, .tools button { white-space: normal; line-height: 1.25; min-width: 0; padding-left: 10px; padding-right: 10px; }
  details.tv > div { overflow-x: auto; max-width: 100%; }
}
/* Excel Çıktıları / Güvenlik süzgeçleri: masaüstü sütun kuralları (yukarıda medyasız) telefon kuralını eziyordu → kutular ekrandan taşıyordu. */
@media screen and (max-width: 1100px) { .filter-grid.out-filter, .filter-grid.out-filter.no-dep { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media screen and (max-width: 560px) {
  .filter-grid.out-filter, .filter-grid.out-filter.no-dep, .filter-grid.sec-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-grid .fg-btn { grid-column: 1 / -1; }
}
/* Renkli kartta (kart-siyah / kart-turuncu) telefonda tablo satırları beyaz kutu oluyordu → beyaz yazı görünmüyordu
   (kullanıcı: Belge Analizi'nde dosya adı, karakter, tarih yok). Satır kartın renginde yarı saydam olur, yazı beyaz kalır. */
@media screen and (max-width: 760px) {
  .card.kart-siyah table.stackable tr, .card.kart-turuncu table.stackable tr { background: rgb(255 255 255 / .16) !important; }
  .card.kart-siyah table.stackable td, .card.kart-turuncu table.stackable td { border-bottom-color: rgb(255 255 255 / .35) !important; }
  .card.kart-siyah table.stackable td:last-child, .card.kart-turuncu table.stackable td:last-child { border-bottom: 0 !important; }
  .card.kart-siyah table.stackable td::before, .card.kart-turuncu table.stackable td::before { color: rgb(255 255 255 / .85) !important; }
}
@media screen and (max-width: 760px) {
  .card.kart-siyah table.stackable td, .card.kart-siyah table.stackable td :is(b, span, a:not(.btn), small, div):not(.tag) { color: #fff !important; }
  .card.kart-siyah table.stackable td .tag { background: rgb(255 255 255 / .14) !important; color: #fff !important; border: 0 !important; }
}
/* Onaylar → "Site Ayarları → Departmanlar" bağlantısı: kullanıcı turuncu değil siyah + altı çizili istedi. */
a.kara-link, .card a.kara-link { color: var(--ink) !important; text-decoration: underline; text-underline-offset: 2px; }
/* Alt çubuk "Yeni" düğmesi (kullanıcı 2026-10-15): siyah zemin, beyaz artı; basınca ve Yeni sayfasındayken artı turuncu. */
.tabbar a.new .ico, .tabbar a.new.on .ico { background: var(--ink) !important; color: #fff !important; stroke: currentColor; transition: color .12s; }
.tabbar a.new:active .ico, .tabbar a.new.on .ico { color: #F9B002 !important; }

/* Fotoğraf Çek yalnız dokunmatik cihazda (bilgisayarda kamera açılmaz, Fotoğraf Yükle yeter) */
@media (hover:hover) and (pointer:fine){.yalniz-dokunmatik{display:none!important}}

/* Telefon menüsünde Çıkış: kırmızı değil DEPARK turuncusu (kullanıcı istedi) */
.sheet a.danger-link { color: #F9B002 !important; font-weight: 600; }
.sheet a.danger-link svg { color: #F9B002 !important; stroke: currentColor; }

/* Uygulama içi bildirimler (2026-10-21): zil listesinde "Bekleyen işler" + "Son bildirimler", /bildirimler sayfası */
.zil-liste { max-height: min(70vh, 560px); overflow-y: auto; }
.zil-grup { display: block; margin: 10px 2px 2px; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #8a8a8a; }
a.zil-olay, a.bildirim-oge { display: block; padding: 9px 12px; margin-top: 4px; border-radius: 12px; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid #ece8de; position: relative; }
a.zil-olay:hover, a.bildirim-oge:hover { background: #f6f4ee; }
a.zil-olay.yeni, a.bildirim-oge.yeni { background: #fffaf0; border-color: #f2d58a; }
a.zil-olay.yeni::before, a.bildirim-oge.yeni::before { content: ""; position: absolute; left: -3px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #cf9800; }
a.zil-olay.err.yeni::before, a.bildirim-oge.err.yeni::before { background: #a83a14; }
a.zil-olay.ok.yeni::before, a.bildirim-oge.ok.yeni::before { background: #2e7d32; }
.bildirim-bas { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; }
.bildirim-bas small { flex: none; font-size: 11.5px; color: #8a8a8a; }
.bildirim-metin { display: block; margin-top: 3px; font-size: 12.5px; color: #555; line-height: 1.45; overflow-wrap: anywhere; }
a.zil-tumu { display: block; margin-top: 10px; padding: 8px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; }
.bildirim-ust { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.bildirim-ust h2 { margin: 0; }
.bildirim-ara { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; }
a.bildirim-oge { padding: 12px 14px; margin-top: 8px; }
a.bildirim-oge .bildirim-bas { font-size: 14px; }
@keyframes zil-salla { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }
details.zil.zil-salla > summary svg { animation: zil-salla .8s ease; transform-origin: 50% 10%; }
@media (prefers-reduced-motion: reduce) { details.zil.zil-salla > summary svg { animation: none; } }
main a.bildirim-oge, main a.bildirim-oge:visited { color: var(--ink) !important; }

/* ---------- Belge / İmza Listesi Tarama ---------- */
dialog.tarama { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 16px; background: var(--paper); color: var(--ink); border: var(--line); box-shadow: var(--shadow); }
dialog.tarama::backdrop { background: rgba(20, 20, 20, .55); }
.tarama-ust { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 16px; }
.tarama-ekle, .tarama-alt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tarama-alt { margin-top: 12px; padding-top: 12px; border-top: var(--thin); }
.tarama-alt input[data-ad] { flex: 1; min-width: 160px; }
.tarama-alt select { width: auto; }
.tarama-govde[hidden] { display: none; }
.tarama-govde { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; margin-top: 12px; }
.tarama-govde canvas { display: block; max-width: 100%; max-height: 60vh; border: var(--thin); background: var(--cream); margin: 0 auto; }
.tarama-kirp canvas { touch-action: none; cursor: crosshair; }
.tarama-sonuc { text-align: center; }
.tarama-sayfalar { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; }
.tarama-kucuk { position: relative; flex: 0 0 auto; padding: 4px; border: var(--thin); background: var(--cream); cursor: pointer; text-align: center; }
.tarama-kucuk.secili { border-color: var(--orange); box-shadow: 2px 2px 0 var(--orange); }
.tarama-kucuk canvas { display: block; height: 80px; width: auto; }
.tarama-kucuk button { position: absolute; top: 2px; right: 2px; padding: 0 6px; }
.tarama-durum.err { color: var(--red); font-weight: 600; }
.tarama-tablo { width: 100%; border-collapse: collapse; }
.tarama-tablo td, .tarama-tablo th { padding: 4px 6px; border-bottom: 1px solid var(--rule); text-align: left; }
.tarama-tablo input[type=checkbox] { width: auto; }
@media (max-width: 720px) { .tarama-govde { grid-template-columns: 1fr; } .tarama-govde canvas { max-height: 45vh; } }
.tarama-kamera { margin-top: 12px; }
.kamera-kap { position: relative; max-width: 720px; margin: 0 auto; background: #000; border: var(--line); }
.kamera-kap video { display: block; width: 100%; max-height: 62vh; object-fit: contain; }
.kamera-kat { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kamera-flas { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.kamera-flas.on { animation: kamera-flas .35s ease-out; }
@keyframes kamera-flas { from { opacity: .85; } to { opacity: 0; } }
.kamera-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 720px; margin: 10px auto 0; }
.kamera-alt input[type=checkbox] { width: auto; }
.deklansor { width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--ink); background: var(--orange); box-shadow: inset 0 0 0 4px var(--paper); padding: 0; cursor: pointer; }
.deklansor:active { transform: scale(.94); }
.sonuc-kap { position: relative; display: inline-block; max-width: 100%; }
.imza-kat { position: absolute; cursor: move; touch-action: none; user-select: none; outline: 1.5px dashed var(--orange); }
.imza-boyut { position: absolute; width: 20px; height: 20px; background: var(--orange); border: 2px solid var(--ink); border-radius: 50%; cursor: nwse-resize; touch-action: none; }
.imza-ped { display: block; width: 100%; max-width: 900px; aspect-ratio: 3 / 1; height: auto; background: #fff; border: var(--thin); touch-action: none; cursor: crosshair; }
.imza-gorsel { display: block; max-width: 320px; max-height: 120px; background: #fff repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; border: var(--thin); padding: 6px; }
dialog.imza-dlg { width: min(760px, calc(100vw - 32px)); }
.tara-buyuk { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tara-buyuk button { padding: 22px 16px; font-size: 16px; text-align: left; }
.tara-buyuk button small { display: block; font-weight: 400; margin-top: 4px; }
dialog.tarama [hidden] { display: none !important; }
.tarama-govde > div { min-width: 0; }
.tarama-govde canvas { width: auto; height: auto; }
.sonuc-kap { display: block; width: fit-content; max-width: 100%; margin: 0 auto; }
.tara-adim { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 4px; }
.kart-beyaz .tara-buyuk + h2 { margin-top: 22px; }
.tara-buyuk button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 96px; border: var(--line); border-radius: 18px; box-shadow: var(--shadow); background: var(--paper); color: var(--ink); font-weight: 600; }
.tara-buyuk button.primary { background: var(--yellow); }
.tara-buyuk button small { color: var(--muted); font-size: 13px; margin: 0; }
.tara-buyuk button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.tara-buyuk.tek { grid-template-columns: minmax(220px, 320px); }
.tara-giris { margin: -6px 0 10px; color: var(--muted); }
.tara-adimlar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tara-adimlar span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: var(--thin); border-radius: 999px; background: var(--paper); font-size: 13px; }
.tara-adimlar b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; }
.tara-imzam { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
/* Tara sayfası: üç tarama seçeneği de aynı renkte (DEPARK turuncusu) */
.tara-buyuk button, .tara-buyuk button.ghost { background: var(--yellow); color: var(--ink); }
.tara-buyuk button small { color: var(--ink); opacity: .75; }
.card.kart-siyah .tara-imzam button[data-imzam] { background: #fff !important; color: var(--ink) !important; border-color: #fff !important; }
/* 2026-11-13 kullanıcı: Son Girilen Etkinlikler'de "Onaylandı" siyah üzerine siyah görünüyordu → siyah zemin beyaz yazı,
   kartın siyahından ayrılsın diye ince beyaz çerçeve */
#son .tag.st-onaylandi, #son .tag.ok { background: var(--ink) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55) !important; }
/* 2026-11-13 kullanıcı: telefonda Panel → Son Girilen Etkinlikler satırları beyaz kutu oluyordu, beyaz yazı görünmüyordu.
   kart-siyah kartlarındaki telefon kuralının aynısı #son için: satır kartın siyahında yarı saydam, yazı ve etiket adları beyaz. */
@media screen and (max-width: 760px) {
  #son table.stackable tr, #son table tr { background: rgb(255 255 255 / .12) !important; box-shadow: none !important; }
  #son table.stackable td, #son table td { background: transparent !important; border-bottom-color: rgb(255 255 255 / .3) !important; }
  #son table.stackable td:last-child, #son table td:last-child { border-bottom: 0 !important; }
  #son table.stackable td::before, #son table td::before { color: rgb(255 255 255 / .8) !important; }
  #son td, #son td a, #son td :is(b, span, small, div):not(.tag) { color: #fff !important; }
}

/* 2026-11-24: birden çok rol — Kullanıcılar sayfasında rol kutuları */
.roller-sec { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.rol-kutu { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-weight: 400; margin: 0; cursor: pointer; }
.rol-kutu input[type="checkbox"] { width: auto; margin: 0; }
.rol-kutu input:disabled + * , .rol-kutu:has(input:disabled) { opacity: .75; cursor: default; }
