:root {
  --yellow: #FFCE06;
  --yellow-2: #FFCC00;
  --yellow-soft: #FFF6CC;
  --dark: #1D1D1B;
  --dark-2: #2A2A27;
  --ink: #1D1D1B;
  --muted: #6B6B66;
  --line: #E6E4DC;
  --bg: #F5F4EF;
  --card: #FFFFFF;
  --red: #C62828;
  --green: #2E7D32;
  --blue: #1565C0;
  --orange: #EF6C00;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(29,29,27,.06), 0 4px 16px rgba(29,29,27,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; font-size: 14px; color: var(--ink); background: var(--bg); line-height: 1.45; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
.boot { height: 100vh; display: grid; place-items: center; }
.boot img { width: 56px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.92); } }

/* ---- giriş ---- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-brand { background: var(--dark); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-brand .logo { width: 230px; }
.auth-brand h1 { font-size: 38px; line-height: 1.1; margin: 0 0 14px; font-weight: 800; letter-spacing: -.5px; }
.auth-brand h1 span { color: var(--yellow); }
.auth-brand p { color: #CFCFC8; max-width: 420px; font-size: 15px; margin: 0; }
.auth-brand .apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; max-width: 460px; }
.auth-brand .apps span { border: 1px solid #45453f; border-radius: 99px; padding: 4px 12px; font-size: 12px; color: #DADAD3; }
.auth-brand .arc { position: absolute; left: -10%; right: -10%; bottom: -120px; height: 220px; border-top: 10px solid var(--yellow); border-radius: 50% 50% 0 0; opacity: .95; }
.auth-brand small { color: #8d8d86; position: relative; z-index: 1; }
.auth-form { display: grid; place-items: center; padding: 32px 20px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card .g { width: 44px; margin-bottom: 18px; }
.auth-card h2 { font-size: 24px; margin: 0 0 6px; }
.auth-card .sub { color: var(--muted); margin: 0 0 24px; }
.code-input { font-size: 28px !important; letter-spacing: 12px; text-align: center; font-weight: 700; padding: 12px !important; }
.devcode { background: var(--yellow-soft); border: 1px dashed #d9b400; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; }
.devcode b { font-size: 18px; letter-spacing: 3px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }
.linkbtn:disabled { opacity: .5; cursor: default; }

/* ---- ana yerleşim ---- */
.topbar { background: var(--dark); color: #fff; height: 62px; display: flex; align-items: center; gap: 20px; padding: 0 20px; position: sticky; top: 0; z-index: 20; border-bottom: 3px solid var(--yellow); }
.topbar .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.topbar .brand img { height: 30px; }
.topbar .brand .t { font-size: 12px; color: var(--yellow); border-left: 1px solid #4a4a44; padding-left: 14px; line-height: 1.2; font-weight: 600; }
.nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; color: #CFCFC8; white-space: nowrap; font-weight: 500; }
.nav a:hover { background: var(--dark-2); color: #fff; }
.nav a.on { background: var(--yellow); color: var(--dark); }
.usermenu { position: relative; flex-shrink: 0; margin-left: auto; }
.usermenu > button { background: var(--dark-2); border: 0; color: #fff; border-radius: 99px; padding: 4px 12px 4px 4px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--dark); display: grid; place-items: center; font-weight: 800; font-size: 12px; flex-shrink: 0; }
.usermenu .menu { position: absolute; right: 0; top: 44px; background: #fff; color: var(--ink); border-radius: 10px; box-shadow: var(--shadow); min-width: 210px; padding: 6px; border: 1px solid var(--line); }
.usermenu .menu .who { padding: 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.usermenu .menu .who b { display: block; color: var(--ink); font-size: 14px; }
.usermenu .menu a, .usermenu .menu button { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 6px; background: none; border: 0; text-decoration: none; cursor: pointer; }
.usermenu .menu a:hover, .usermenu .menu button:hover { background: var(--bg); }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 4px 8px; }

main { max-width: 1280px; margin: 0 auto; padding: 24px 20px 60px; }
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.pagehead h1 { font-size: 24px; margin: 0; letter-spacing: -.3px; }
.pagehead p { margin: 4px 0 0; color: var(--muted); }
.announce { background: var(--yellow-soft); border-left: 4px solid var(--yellow); padding: 10px 14px; border-radius: 8px; margin-bottom: 18px; white-space: pre-wrap; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.card.pad { padding: 20px; }
.card h3 { margin: 0 0 14px; font-size: 15px; }

/* ---- form ---- */
label.f { display: block; margin-bottom: 14px; }
label.f > span { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; }
label.f > span em { color: var(--red); font-style: normal; }
label.f small { color: var(--muted); display: block; margin-top: 4px; font-size: 12px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], select, textarea {
  width: 100%; border: 1px solid #D6D4CB; border-radius: 8px; padding: 9px 11px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--dark); box-shadow: 0 0 0 3px rgba(255,206,6,.45); }
textarea { resize: vertical; min-height: 110px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 8px; padding: 9px 16px; font-weight: 600; cursor: pointer; text-decoration: none; background: #fff; border-color: #D6D4CB; white-space: nowrap; }
.btn:hover { background: var(--bg); }
.btn.primary { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }
.btn.primary:hover { background: #F2C200; }
.btn.dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn.dark:hover { background: #000; }
.btn.danger { color: var(--red); border-color: #EBC5C5; }
.btn.danger:hover { background: #FDF1F1; }
.btn.sm { padding: 5px 10px; font-size: 13px; }
.btn.block { width: 100%; padding: 11px; }
.btn:disabled { opacity: .55; cursor: wait; }
.err { color: var(--red); background: #FDF1F1; border-radius: 8px; padding: 9px 12px; margin-bottom: 14px; font-size: 13px; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* ---- talep türü kartları ---- */
.apppick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.apppick label { border: 2px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: border-color .12s, background .12s; position: relative; }
.apppick label:hover { border-color: #c9c6b8; }
.apppick input { position: absolute; opacity: 0; pointer-events: none; }
.apppick label:has(input:checked) { border-color: var(--dark); background: var(--yellow-soft); }
.apppick b { display: flex; align-items: center; gap: 8px; }
.apppick small { color: var(--muted); font-size: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { border: 1px solid #D6D4CB; border-radius: 99px; padding: 6px 14px; cursor: pointer; }
.seg input { display: none; }
.seg label:has(input:checked) { background: var(--dark); color: #fff; border-color: var(--dark); }
.drop { border: 2px dashed #D6D4CB; border-radius: 10px; padding: 16px; text-align: center; color: var(--muted); cursor: pointer; }
.drop.over { border-color: var(--dark); background: var(--yellow-soft); }
.filelist { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.filelist span { background: var(--bg); border-radius: 6px; padding: 3px 8px; font-size: 12px; display: inline-flex; gap: 6px; align-items: center; }
.filelist button { border: 0; background: none; cursor: pointer; color: var(--red); padding: 0; }

/* ---- tablo ---- */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.toolbar input[type=text] { max-width: 260px; }
.toolbar select, .toolbar input[type=date] { width: auto; min-width: 130px; padding: 7px 9px; }
.tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 8px 12px 10px; cursor: pointer; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 600; white-space: nowrap; }
.tabs button.on { border-color: var(--yellow); color: var(--ink); }
.tabs button .n { background: var(--bg); border-radius: 99px; padding: 1px 7px; font-size: 11px; margin-left: 4px; }
.tablewrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #FBFAF6; }
table.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: #FFFCEB; }
table.t tr:last-child td { border-bottom: 0; }
.tno { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--muted); white-space: nowrap; }
.ttitle { font-weight: 600; }
.tsub { color: var(--muted); font-size: 12px; }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); }
.empty img { width: 40px; opacity: .3; margin-bottom: 10px; }

.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; background: #EEE; color: #444; }
.badge.app { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.st-new { background: #E3F2FD; color: #0D47A1; }
.st-review { background: #EDE7F6; color: #4527A0; }
.st-plan { background: #E0F2F1; color: #00695C; }
.st-progress { background: #FFF3CD; color: #7A5A00; }
.st-wait { background: #FFE0B2; color: #8A4B00; }
.st-test { background: #E0F7FA; color: #006064; }
.st-done { background: #E8F5E9; color: #1B5E20; }
.st-closed { background: #ECEFF1; color: #37474F; }
.st-rejected { background: #FFEBEE; color: #B71C1C; }
.pr { font-weight: 600; font-size: 12px; white-space: nowrap; }
.pr::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: currentColor; vertical-align: 1px; }
.pr-0 { color: #78909C; } .pr-1 { color: #1565C0; } .pr-2 { color: #EF6C00; } .pr-3 { color: #C62828; }

/* ---- talep detay ---- */
.detail { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.detail .desc { white-space: pre-wrap; word-wrap: break-word; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13px; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; font-weight: 600; word-break: break-word; }
.atts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.att { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 12px; text-decoration: none; background: #fff; max-width: 260px; }
.att:hover { border-color: var(--dark); }
.att .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att img { width: 54px; height: 40px; object-fit: cover; border-radius: 4px; }
.timeline { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.cmt { display: flex; gap: 10px; }
.cmt .bubble { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; min-width: 0; }
.cmt.staff .bubble { border-left: 3px solid var(--yellow); }
.cmt.internal .bubble { background: #FFFBEA; border-style: dashed; border-color: #E2C044; }
.cmt .head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.cmt .head b { color: var(--ink); font-size: 13px; }
.cmt .body { white-space: pre-wrap; word-wrap: break-word; }
.hist { font-size: 12px; color: var(--muted); padding-left: 40px; }
.hist b { color: var(--ink); font-weight: 600; }
.side .card { margin-bottom: 16px; }
.side label.f { margin-bottom: 10px; }

.gallery { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.gallery a:hover { border-color: var(--dark); }
.gallery img { display: block; max-width: 100%; width: 320px; max-height: 240px; object-fit: contain; background: #FBFAF6; }
.catsel { width: auto !important; min-width: 150px; padding: 4px 8px !important; font-size: 12px; font-weight: 600; background: var(--dark) !important; color: var(--yellow) !important; border-color: var(--dark) !important; border-radius: 99px !important; }
.catsel.none { background: #fff !important; color: var(--muted) !important; border-color: #D6D4CB !important; border-style: dashed !important; }
table.matrix td, table.matrix th { text-align: center; }
table.matrix td:first-child, table.matrix th:first-child { text-align: left; }

/* ---- panel ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { padding: 16px; }
.stat .k { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.stat .v { font-size: 30px; font-weight: 800; margin-top: 4px; letter-spacing: -1px; }
.stat.hl { background: var(--dark); color: #fff; border-color: var(--dark); }
.stat.hl .k { color: var(--yellow); }
.stat a { text-decoration: none; }
.dash { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.bars { display: flex; flex-direction: column; gap: 9px; }
.bar { display: grid; grid-template-columns: 130px 1fr 60px; gap: 10px; align-items: center; font-size: 13px; }
.bar .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .track { background: var(--bg); height: 12px; border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--yellow); border-radius: 99px; }
.bar .num { text-align: right; font-weight: 600; font-size: 12px; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 110px; padding-top: 10px; }
.spark div { flex: 1; background: var(--yellow); opacity: .95; border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.spark div:hover { background: var(--dark); }
.spark-x { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-top: 6px; }

/* ---- modal / toast ---- */
.modal { position: fixed; inset: 0; background: rgba(29,29,27,.55); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal[hidden] { display: none; }
.modal .box { background: #fff; border-radius: 14px; width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal .box header { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal .box header h3 { margin: 0; font-size: 16px; }
.modal .box header button { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--muted); }
.modal .box .bd { padding: 20px; }
.modal .box footer { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }
#toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; }
#toast div { background: var(--dark); color: #fff; padding: 10px 18px; border-radius: 8px; box-shadow: var(--shadow); border-left: 4px solid var(--yellow); animation: up .2s ease-out; }
#toast div.bad { border-left-color: #ff6b6b; }
@keyframes up { from { transform: translateY(10px); opacity: 0; } }
.muted { color: var(--muted); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.right { margin-left: auto; }
.mt { margin-top: 16px; }
.pill-off { background: #ECEFF1; color: #607D8B; }
.pill-admin { background: var(--dark); color: var(--yellow); }
.swatch { width: 34px; height: 34px; padding: 2px; border: 1px solid #D6D4CB; border-radius: 8px; background: #fff; cursor: pointer; }
.settings-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.settings-nav button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; cursor: pointer; font-weight: 600; }
.settings-nav button.on { background: var(--dark); color: #fff; border-color: var(--dark); }

@media (max-width: 960px) {
  .detail, .dash { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-brand { padding: 28px 22px 90px; }
  .auth-brand h1 { font-size: 28px; }
  .auth-brand .logo { width: 170px; margin-bottom: 26px; }
  .auth-brand small { display: none; }
}
@media (max-width: 760px) {
  .burger { display: block; order: 3; }
  .usermenu { margin-left: auto; }
  .topbar .brand .t { display: none; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 8px; border-bottom: 3px solid var(--yellow); }
  .nav.open { display: flex; }
  .usermenu > button span.nm { display: none; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  main { padding: 18px 14px 50px; }
  .toolbar input[type=text] { max-width: none; }
  .hide-sm { display: none; }
  .bar { grid-template-columns: 90px 1fr 46px; }
}

/* ================= cilalama katmanı ================= */
.ic { flex-shrink: 0; vertical-align: -3px; }
.nav a { display: inline-flex; align-items: center; gap: 7px; }
.nav a .ic { opacity: .75; }
.nav a.on .ic { opacity: 1; }
.newbtn { flex-shrink: 0; padding: 7px 14px; }
.newbtn.on { box-shadow: 0 0 0 2px #fff inset; }
.usermenu { margin-left: 0; }
.usermenu .menu a, .usermenu .menu button { display: flex; align-items: center; gap: 8px; }
.btn .ic { margin: 0 -1px; }
.btn.ghost { background: transparent; }
.btn.ghost.on { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn .cnt { background: var(--yellow); color: var(--dark); border-radius: 99px; font-size: 11px; padding: 0 7px; margin-left: 2px; }
.btn.primary { box-shadow: 0 1px 0 rgba(0,0,0,.08), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.announce { display: flex; gap: 10px; align-items: flex-start; }
.announce .ic { color: #9a7b00; margin-top: 1px; }
.callout { display: flex; gap: 12px; align-items: flex-start; background: #FFF8DB; border: 1px solid #F3DD7A; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.callout .ic { color: #9a7b00; margin-top: 1px; }
.callout a { display: inline-block; margin: 4px 10px 0 0; font-weight: 600; }
.foot { max-width: 1280px; margin: 0 auto; padding: 0 20px 28px; color: #A3A29A; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.foot img { width: 14px; opacity: .45; }
.backlink { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 13px; }
.backlink:hover { color: var(--ink); }
h3.ih { display: flex; align-items: center; gap: 8px; }
h3.ih .ic { color: #B38F00; }
.hasimg { color: #B38F00; margin-right: 2px; }
.tsub .ic { vertical-align: -2px; }

/* arama ve filtre */
.searchbox { position: relative; flex: 1 1 240px; max-width: 340px; }
.searchbox .ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.searchbox input { padding-left: 34px !important; max-width: none !important; }
.toolbar.adv { background: #FBFAF6; }
.datef { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.toolbar .right { margin-left: auto; }

/* boş durum */
.empty { line-height: 1.6; }
.empty b { color: var(--ink); font-size: 15px; }
.empty span { display: inline-block; max-width: 420px; }
.empty-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--yellow-soft); color: #9a7b00; display: grid; place-items: center; margin: 0 auto 12px; }
.empty > .ic { color: var(--green); margin-bottom: 6px; }

/* dosya alanı */
.drop { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; padding: 18px; transition: border-color .15s, background .15s; }
.drop:hover { border-color: #b9b6a8; background: #FCFBF7; }
.drop > .ic { color: #B38F00; }
.drop b { color: var(--ink); }
kbd { font-family: inherit; font-size: 11px; background: #fff; border: 1px solid #D6D4CB; border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; }
.filelist span .ic { color: var(--muted); }

/* istatistik kartları */
.stat { text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s; }
a.stat:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(29,29,27,.10); }
.stat .k { display: flex; align-items: center; gap: 6px; }
.stat .k .ic { color: #B38F00; }
.stat.hl .k .ic { color: var(--yellow); }
.stats.mini { grid-template-columns: repeat(4, 1fr); }
.stats.mini .stat { padding: 14px 16px; }
.stats.mini .v { font-size: 26px; }

/* durum adımları */
.stepper { display: flex; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; box-shadow: var(--shadow); overflow-x: auto; }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; min-width: 90px; text-align: center; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 3px; border-radius: 3px; background: var(--line); }
.step.done:not(:last-child)::after { background: var(--yellow); }
.step .dotx { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--bg); color: var(--muted); border: 2px solid var(--line); position: relative; z-index: 1; }
.step.done .dotx { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }
.step.cur .dotx { background: var(--dark); border-color: var(--dark); color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,206,6,.35); }
.step .lb { font-size: 12px; color: var(--muted); font-weight: 600; }
.step.cur .lb { color: var(--ink); }
.stepper.rejected .step.cur .dotx { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 4px rgba(198,40,40,.18); }

/* ince detaylar */
table.t td { transition: background .1s; }
.ttitle { line-height: 1.35; }
table.t td:nth-child(4) { white-space: nowrap; }
.card h3 { letter-spacing: -.1px; }
.pagehead h1 { font-weight: 800; }
::selection { background: var(--yellow); color: var(--dark); }
input::placeholder, textarea::placeholder { color: #A3A29A; }
.modal .box { animation: pop .16s ease-out; }
@keyframes pop { from { transform: scale(.97); opacity: 0; } }
#toast { left: auto; right: 20px; transform: none; align-items: flex-end; }
.matrix td { border-left: 1px solid #F1EFE8; }

@media (max-width: 1520px) {
  .nav a span { display: none; }
  .nav a { padding: 8px 10px; }
  .nav a.on span { display: inline; }
}
@media (max-width: 760px) {
  .nav a span, .nav a.on span { display: inline; }
  .newbtn span { display: none; }
  .newbtn { margin-left: auto; }
  .newbtn { padding: 7px 10px; }
  .stats.mini { grid-template-columns: repeat(2, 1fr); }
  .drop { flex-direction: column; text-align: center; }
  .searchbox { max-width: none; flex-basis: 100%; }
  .toolbar .right { margin-left: 0; }
  #toast { right: 12px; left: 12px; align-items: stretch; }
}

@media (max-width: 760px) {
  table.tl thead { display: none; }
  table.tl tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "no status" "title title" "app cat"; gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.tl tr:last-child { border-bottom: 0; }
  table.tl td { padding: 0; border: 0 !important; }
  table.tl td.hide-sm { display: none; }
  table.tl .c-no { grid-area: no; } table.tl .c-status { grid-area: status; justify-self: end; }
  table.tl .c-title { grid-area: title; } table.tl .c-app { grid-area: app; } table.tl .c-cat { grid-area: cat; justify-self: end; }
  .toolbar select { flex: 1 1 45%; min-width: 0; }
  .stat .v { font-size: 26px; }
}
input:disabled, select:disabled, textarea:disabled { background: #F5F4EF; color: var(--muted); cursor: not-allowed; }

/* SMTP tanılama */
#smtpdiag { margin-top: 16px; }
.diag { border-radius: 10px; padding: 14px 16px; border: 1px solid; }
.diag b { display: flex; align-items: center; gap: 8px; }
.diag p { margin: 8px 0 0; line-height: 1.5; }
.diag .btn { margin-top: 12px; }
.diag.bad { background: #FEF3F2; border-color: #FECDCA; color: #7A271A; }
.diag.ok { background: #ECFDF3; border-color: #ABEFC6; color: #054F31; }
.smtplog { margin-top: 10px; }
.smtplog summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.smtplog pre { margin: 8px 0 0; max-height: 280px; overflow: auto; background: #1D1D1B; color: #E8E6DF; padding: 12px; border-radius: 8px; font-size: 11.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-all; }
table.t.probe td { white-space: normal; padding: 8px 12px; }
table.t.probe { border: 1px solid var(--line); border-radius: 8px; }

/* ---- yazışma: talep edenle sohbet / ekip içi notlar ---- */
.pill-team { background: #E8EEF9; color: #1F3F7A; }
.conv.card { margin-top: 20px; overflow: hidden; }
.conv.plain .timeline { margin-top: 12px; }
.convtabs { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid var(--line); background: #FBFAF6; overflow-x: auto; }
.convtabs button { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px 11px; cursor: pointer; font-weight: 600; color: var(--muted); white-space: nowrap; border-radius: 8px 8px 0 0; }
.convtabs button:hover { color: var(--ink); }
.convtabs button.on { color: var(--ink); border-bottom-color: var(--yellow); background: #fff; }
.convtabs button.notes.on { background: #FFF8DC; border-bottom-color: var(--dark); }
.convtabs .n { background: var(--bg); border-radius: 99px; padding: 1px 7px; font-size: 11px; min-width: 20px; text-align: center; }
.convtabs button.on .n { background: var(--dark); color: var(--yellow); }
.convbody { padding: 16px 18px 18px; }
.conv.is-notes .convbody { background: repeating-linear-gradient(135deg, #FFFCEE 0 14px, #FFF8E1 14px 28px); }
.convhint { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 8px 12px; }
.convhint .ic { flex: none; margin-top: 1px; }
.convhint.internal { background: var(--dark); color: #EDEDE6; }
.convhint.internal b { color: var(--yellow); }
.convhint.internal .ic { color: var(--yellow); }
.convempty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--muted); padding: 26px 10px; font-size: 13px; }
.convempty .ic { opacity: .45; }
.cmt.internal .avatar { background: var(--dark); color: var(--yellow); }
.cmt.internal .bubble { background: #FFFBEA; border: 1px dashed #D9B52C; }
.cmt.mine .bubble { box-shadow: inset 0 0 0 1px rgba(29,29,27,.04); }
.composer { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.composer textarea { min-height: 96px; }
.composer.internal { border: 1.5px solid #D9B52C; background: #FFFDF3; }
.composer.internal textarea { background: #fff; }
.composer .row.mt { margin-top: 10px; }
.sendinfo { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.stsel { width: auto !important; padding: 6px 9px !important; font-size: 13px; }
.notecnt { display: inline-flex; align-items: center; gap: 3px; background: var(--yellow-soft); color: #7A5A00; border-radius: 99px; padding: 0 6px; font-weight: 600; }

/* ---- atama ---- */
.assigncard h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lockhint { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--bg); padding: 2px 8px; border-radius: 99px; }
.assignee { display: flex; gap: 10px; align-items: center; }
.assignee .avatar { background: var(--dark); color: var(--yellow); }
.assignee.none .avatar { background: var(--bg); color: var(--muted); border: 1px dashed #CFCCBF; }
.assignee.none b { color: var(--muted); }
.infobox { display: flex; gap: 8px; align-items: flex-start; background: var(--yellow-soft); border-radius: 8px; padding: 10px 12px; font-size: 12.5px; }
.infobox .ic { flex: none; margin-top: 2px; }
.rolehelp { display: grid; gap: 6px; background: var(--bg); border-radius: 8px; padding: 10px 12px; font-size: 12px; color: var(--muted); }
.rolehelp b { color: var(--ink); margin-right: 4px; }
@media (max-width: 760px) {
  .convtabs button { padding: 9px 10px; font-size: 13px; }
  .convbody { padding: 12px; }
  .sendinfo { display: none; }
}

/* ---- roller ve yetkiler ---- */
.robadge { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; font-size: 11.5px; font-weight: 700; letter-spacing: .2px; color: #1F3F7A; background: #E8EEF9; border: 1px solid #CFDBF2; padding: 3px 10px 3px 8px; border-radius: 99px; white-space: nowrap; }
h1 .robadge { position: relative; top: -3px; margin-left: 6px; }
.rolock { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border: 1px dashed #CFDBF2; background: #F5F8FD; border-radius: 10px; font-size: 13px; color: #34405A; }
.rolock > .ic { flex: none; color: #1F3F7A; margin-top: 2px; }
.rolock b { display: block; color: #1F3F7A; margin-bottom: 2px; }
.rolock .linkbtn { font-weight: 700; color: #1F3F7A; padding: 0; }
.rocard h3 { display: flex; align-items: center; gap: 7px; }
.rocard h3 .ic { color: #1F3F7A; }
.rolist { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13px; }
.rolist li { display: flex; gap: 8px; align-items: center; }
.rolist li .ic { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 99px; }
.rolist .ok .ic { background: #E3F2E5; color: var(--green); }
.rolist .no { color: var(--muted); }
.rolist .no .ic { background: #F3F1EA; color: #A3A39B; }

.rolepick { display: grid; gap: 8px; }
.rp { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 2px 12px; align-items: center; padding: 12px 40px 12px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .12s, box-shadow .12s, background .12s; }
.rp:hover { border-color: #CFCBBE; }
.rp input { position: absolute; opacity: 0; pointer-events: none; }
.rp-ic { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--muted); transition: background .12s, color .12s; }
.rp-t { display: flex; align-items: center; gap: 8px; }
.rp-t b { font-size: 14px; }
.rp-t em { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); background: var(--bg); padding: 2px 7px; border-radius: 99px; }
.rp-d { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.rp-ck { position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; border-radius: 99px; border: 1.5px solid #D5D2C6; display: grid; place-items: center; color: transparent; transition: all .12s; }
.rp:has(input:checked) { border-color: var(--dark); box-shadow: 0 0 0 3px rgba(255,206,6,.35); background: #FFFDF3; }
.rp:has(input:checked) .rp-ck { background: var(--dark); border-color: var(--dark); color: var(--yellow); }
.rp:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.rp-admin:has(input:checked) .rp-ic { background: var(--dark); color: var(--yellow); }
.rp-ekip:has(input:checked) .rp-ic { background: #E8EEF9; color: #1F3F7A; }
.rp-personel:has(input:checked) .rp-ic { background: var(--yellow-soft); color: #8A6D00; }

.rolestrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.rs { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; cursor: pointer; transition: transform .12s, border-color .12s; }
.rs:hover { transform: translateY(-1px); border-color: #CFCBBE; }
.rs .rs-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.rs b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.5px; line-height: 1.05; }
.rs small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.rs em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.rs-admin .rs-ic { background: var(--dark); color: var(--yellow); }
.rs-ekip .rs-ic { background: #E8EEF9; color: #1F3F7A; }
.rs-personel .rs-ic { background: var(--yellow-soft); color: #8A6D00; }

.permwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.permt { width: 100%; border-collapse: collapse; font-size: 13px; }
.permt th, .permt td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.permt td:first-child { text-align: left; font-weight: 500; }
.permt tbody tr:last-child td { border-bottom: 0; }
.permt tbody tr:nth-child(even) { background: #FBFAF7; }
.permt thead th { background: var(--bg); font-size: 13px; vertical-align: bottom; min-width: 110px; }
.permt thead th .rp-ic { margin: 0 auto 6px; width: 32px; height: 32px; }
.permt thead th small { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-top: 2px; }
.permt .ph-admin .rp-ic { background: var(--dark); color: var(--yellow); }
.permt .ph-ekip .rp-ic { background: #E8EEF9; color: #1F3F7A; }
.permt .ph-personel .rp-ic { background: var(--yellow-soft); color: #8A6D00; }
.pm { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.pm.yes { width: 24px; height: 24px; border-radius: 99px; background: #E3F2E5; color: var(--green); }
.pm.no { width: 22px; height: 22px; border-radius: 99px; background: #F3F1EA; color: #B5B4AC; }
.pm.ro { font-size: 11.5px; font-weight: 700; color: #1F3F7A; background: #E8EEF9; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.pm.part { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.modal.stacked { z-index: 60; }

@media (max-width: 760px) {
  .rolestrip { gap: 8px; }
  .rs { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .rs .rs-ic { width: 32px; height: 32px; border-radius: 9px; }
  .rs b { font-size: 19px; }
  .rs small { font-size: 11.5px; }
  .rs em { display: none; }
}

/* ---- güvenlik: şifre adımı ---- */
.steps2 { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 12px; font-weight: 600; }
.steps2 span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: #EFEEE8; color: var(--muted); }
.steps2 span.done { background: #ECFDF3; color: var(--green); }
.steps2 span.on { background: var(--dark); color: var(--yellow); }
.steps2 i { flex: 0 0 18px; height: 2px; background: var(--line); }
.pwbox { position: relative; }
.pwbox input { width: 100%; padding-right: 42px; }
.pweye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 8px; color: var(--muted); cursor: pointer; border-radius: 6px; }
.pweye:hover, .pweye.on { color: var(--ink); background: #F1F0EA; }
.pwmeter { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 4px; align-items: center; margin: -4px 0 8px; }
.pwmeter i { height: 4px; border-radius: 2px; background: var(--line); transition: background .2s; }
.pwmeter b { font-size: 11.5px; min-width: 64px; text-align: right; color: var(--muted); }
.pwmeter[data-s="1"] i:nth-child(-n+1) { background: var(--red); }
.pwmeter[data-s="2"] i:nth-child(-n+2) { background: var(--orange); }
.pwmeter[data-s="3"] i:nth-child(-n+3) { background: #7CB342; }
.pwmeter[data-s="4"] i { background: var(--green); }
.pwrules { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.pwrules li { display: flex; gap: 7px; align-items: flex-start; }
.pwrules li::before { content: ''; flex: none; width: 14px; height: 14px; margin-top: 1px; border-radius: 50%; border: 1.5px solid #CFCDC4; box-sizing: border-box; }
.pwrules li.ok { color: var(--green); }
.pwrules li.ok::before { border: 0; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.pwnote { display: flex; gap: 7px; align-items: flex-start; font-size: 12px; color: var(--muted); margin: 18px 0 0; }
.pwnote .ic { flex: none; margin-top: 1px; }
.cardh { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16px; }
.badge.pill-lock { background: #FEF3F2; color: var(--red); display: inline-flex; align-items: center; gap: 3px; }
.secbox { margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #FBFAF6; }
.secbox > div:first-child { display: flex; gap: 10px; align-items: flex-start; }
.secbox span { display: flex; flex-direction: column; }
.secbox small { color: var(--muted); font-size: 12px; }

/* ---- Ayarlar → Güvenlik ---- */
.secgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.secfeat { display: flex; gap: 10px; padding: 14px; border-radius: 10px; background: var(--dark); color: #fff; }
.secfeat .ic { flex: none; color: var(--yellow); margin-top: 1px; }
.secfeat b { display: block; font-size: 13.5px; margin-bottom: 4px; }
.secfeat small { color: #CFCFC8; font-size: 12px; line-height: 1.45; }
.secstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.secstats div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.secstats b { display: block; font-size: 22px; font-weight: 800; }
.secstats small { color: var(--muted); font-size: 12px; }
.secstats .warn { border-color: #FECDCA; background: #FEF3F2; }
.secstats .warn b { color: var(--red); }
h3.setsec { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.setsec .right { margin-left: auto; }
.seclog tr.bad td { background: #FFF8F7; }
.evt { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #EFEEE8; white-space: nowrap; }
.evt.ev-login, .evt.ev-pw_set, .evt.ev-pw_change { background: #ECFDF3; color: var(--green); }
.evt.ev-otp_fail, .evt.ev-pw_fail, .evt.ev-pw_lock, .evt.ev-blocked { background: #FEF3F2; color: var(--red); }
.evt.ev-pw_reset, .evt.ev-sessions_end, .evt.ev-role { background: var(--yellow-soft); color: #7a5d00; }
@media (max-width: 760px) { .secgrid { grid-template-columns: 1fr; } .secstats { grid-template-columns: repeat(2, 1fr); } }
.reauth-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: var(--yellow-soft); font-size: 13px; }
.reauth-note .ic { flex: none; margin-top: 1px; }
.evt.ev-settings, .evt.ev-admin_add, .evt.ev-user_delete { background: var(--yellow-soft); color: #7a5d00; }

/* ---- talep iş akışı: değerlendirme, ret, süreç ---- */
.btn.dangerfill { background: var(--red); border-color: var(--red); color: #fff; }
.btn.dangerfill:hover { background: #A61F1F; }
.decidecard h3 { display: flex; align-items: center; gap: 7px; }
.decidecard h3 .lockhint { margin-left: auto; }
.decidecard .planf .grid2 { gap: 10px; }
.decidecard .planf .f { margin-bottom: 6px; }
.decidecard .planf .row { margin-bottom: 12px; min-height: 28px; }
.decidecard .meta { margin-bottom: 12px; }
.decidecard .btn.block { justify-content: center; }
[data-pdur].bad, .jplan [data-dur].bad { color: var(--red); font-weight: 600; }
.rejbox { display: flex; gap: 12px; align-items: flex-start; background: #FFF4F4; border: 1px solid #F1C9C9; border-left: 4px solid var(--red); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.rejbox > .ic { color: var(--red); flex: none; margin-top: 1px; }
.rejbox b { display: block; color: #8E1B1B; }
.rejbox p { margin: 6px 0 0; white-space: pre-wrap; }
.decidecard .rejbox { margin-bottom: 12px; }
.okbox { display: flex; gap: 10px; align-items: flex-start; background: #EEF7EF; border: 1px solid #CFE6D1; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.okbox > .ic { color: var(--green); flex: none; margin-top: 1px; }
.okbox b { display: block; color: #1E5B22; }
.callout.todo { background: var(--yellow-soft); border-color: #F0D64F; }
.callout.todo .ic { color: var(--dark); }
.nodelete { font-size: 12px; display: flex; gap: 6px; align-items: center; margin: 4px 2px 0; }
.proccard h3 { display: flex; align-items: center; gap: 7px; }
.proc { list-style: none; margin: 0; padding: 0; }
.proc li { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.proc li::before { content: ''; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.proc li.last { padding-bottom: 0; }
.proc li.last::before { display: none; }
.proc .pd { flex: none; width: 14px; height: 14px; border-radius: 99px; margin-top: 3px; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); background: #BDBDB5; }
.proc .pd.st-new { background: var(--yellow); }
.proc .pd.st-review { background: #6D7FD8; }
.proc .pd.st-progress, .proc .pd.st-test { background: var(--orange); }
.proc .pd.st-wait { background: #C9A400; }
.proc .pd.st-done { background: var(--green); }
.proc .pd.st-rejected { background: var(--red); }
.proc .pd.st-closed { background: #8A8A83; }
.proc .pd.st-jira { background: #0C66E4; }
.proc .pl { font-weight: 600; font-size: 13px; }
.proc .pl .badge { font-size: 11.5px; }
.jplan { background: var(--yellow-soft); border: 1px solid #F0DE85; border-radius: 10px; padding: 12px 14px 4px; margin-bottom: 14px; }
.jplan-h { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.jplan-h .jmuted { margin-left: auto; font-size: 12px; }
.proc .pd.st-plan { background: #00897B; }
.decidecard .planf .grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.decidecard .planf input[type=date] { width: 100%; min-width: 0; padding-left: 8px; padding-right: 6px; }
.decidecard [data-psave][hidden] { display: none; }
.detail > * { min-width: 0; }
/* Ayarlar → E-posta: bekleyen talep hatırlatması */
.remindbox { border: 1px solid var(--line, #E6E6E0); border-radius: 10px; padding: 12px 14px; margin: 4px 0 14px; background: #FFFBEA; }
.remindbox .check { align-items: flex-start; }
.remindbox .check small { display: block; margin-top: 2px; }
.remindrow { display: grid; grid-template-columns: 170px 1fr; gap: 10px; align-items: center; margin-top: 10px; font-size: 13px; }
.remindrow > span:first-child { color: var(--muted, #6B6B66); }
.remindrow small { display: block; margin-top: 3px; }
.remprios { display: flex; flex-wrap: wrap; gap: 6px 16px; }
@media (max-width: 600px) { .remindrow { grid-template-columns: 1fr; gap: 4px; } }
.testto { max-width: 420px; }
.testto small.warnt { color: #9a5b00; font-weight: 600; }
small.warnt, [data-fromhint].warnt { color: #9a5b00; font-weight: 600; }

/* Uygulama yetkisi (kullanıcı formu, kullanıcı listesi, analist talep listesi) */
.appscope { margin: 16px 0 14px; }
.appscope > span { display: block; font-weight: 600; margin-bottom: 8px; font-size: 13px; }
.appscope small { color: var(--muted); font-size: 12px; }
.scopemode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.scopemode label { position: relative; cursor: pointer; }
.scopemode input { position: absolute; opacity: 0; pointer-events: none; }
.scopemode b { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 13.5px; font-weight: 600; background: #fff; color: var(--muted); transition: all .12s; }
.scopemode label:hover b { border-color: #CFCBBE; }
.scopemode input:checked + b { border-color: var(--dark); background: var(--dark); color: var(--yellow); }
.scopemode input:focus-visible + b { box-shadow: 0 0 0 3px rgba(255, 206, 6, .45); }
.appgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; transition: opacity .15s; }
.appgrid.disabled { opacity: .45; pointer-events: none; }
.appck { position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 30px 9px 10px; border: 1.5px solid var(--line); border-radius: 9px; cursor: pointer; background: #fff; font-size: 13px; transition: border-color .12s, background .12s; min-width: 0; }
.appck input { position: absolute; opacity: 0; pointer-events: none; }
.appck b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appck em { font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--muted); background: var(--bg); padding: 1px 5px; border-radius: 99px; }
.appck .ck { position: absolute; right: 9px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #D5D2C6; display: grid; place-items: center; color: transparent; transition: all .12s; }
.appck:has(input:checked) { border-color: var(--dark); background: var(--yellow-soft); }
.appck:has(input:checked) .ck { background: var(--dark); border-color: var(--dark); color: var(--yellow); }
.appck:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255, 206, 6, .45); }
.appck.off b { color: var(--muted); }
.appgrid-tools { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.appgrid-tools .tsub { margin-left: auto; }
.appscope small[data-scopehint] { display: block; margin-top: 8px; line-height: 1.45; }
.appscope-admin { margin-top: 4px; }
.appchip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; white-space: nowrap; }
.appchip .dot { width: 8px; height: 8px; }
.appchip.sm { padding: 0 7px; font-size: 11px; line-height: 18px; }
.appchip.more { color: var(--muted); }
.scopecell { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.scopecell.all { font-size: 11px; color: var(--muted); align-items: center; gap: 4px; }
.scopebar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; background: #E8EEF9; color: #1F3F7A; border-radius: 10px; padding: 9px 14px; margin-bottom: 14px; font-size: 13px; }
.scopebar > span:first-of-type { margin-right: 4px; }
@media (max-width: 520px) { .scopemode { grid-template-columns: 1fr; } .appgrid { grid-template-columns: 1fr 1fr; } }
.appscope[hidden], .appscope-admin[hidden], .appgrid-tools[hidden] { display: none; }

/* ---- giriş: e-posta / kullanıcı adı sekmeleri */
.authtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #EFEEE8; border-radius: 12px; margin: 14px 0 16px; }
.authtabs button { display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: none; padding: 10px 8px; border-radius: 9px; font-weight: 600; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: background .12s, color .12s, box-shadow .12s; }
.authtabs button:hover { color: var(--ink); }
.authtabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(29,29,27,.08), 0 2px 8px rgba(29,29,27,.06); }
.authtabs button.on .ic { color: #B58F00; }
.authtabs button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 206, 6, .5); }
.auth-card .authtabs + .sub { margin-bottom: 20px; }

/* ---- kullanıcı formu: giriş yöntemi */
.loginpick small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.loginpick small .ic { vertical-align: -2px; }
.scopemode label.off { opacity: .45; cursor: not-allowed; }
.loginbox { border: 1px solid var(--line); background: #FBFAF6; border-radius: 12px; padding: 14px 14px 4px; margin-bottom: 14px; }
.loginbox[hidden] { display: none; }
.pwbox.gen input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .3px; padding-right: 98px; }
.pwgen { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 5px; border: 0; background: var(--dark); color: var(--yellow); font-weight: 600; font-size: 12px; padding: 6px 10px; border-radius: 7px; cursor: pointer; }
.pwgen:hover { background: #000; }
.ckline { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0 12px; cursor: pointer; }
.ckline input { margin-top: 3px; accent-color: var(--dark); width: 16px; height: 16px; flex: none; }
.ckline span { display: flex; flex-direction: column; gap: 2px; }
.ckline small { color: var(--muted); font-size: 12px; }
.nomail { display: flex; gap: 6px; align-items: flex-start; background: #FFF4E5; color: #8A4B00; border-radius: 8px; padding: 8px 10px; margin-top: 4px; }
.nomail .ic { flex: none; margin-top: 2px; }
.unchip { display: inline-flex; align-items: center; gap: 4px; background: #EFEEE8; color: var(--ink); border-radius: 6px; padding: 1px 7px 1px 5px; font-size: 11.5px; font-weight: 600; }
.unchip .ic { color: var(--muted); }
.creds { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.creds > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); }
.creds > div:first-child { border-top: 0; }
.creds span { color: var(--muted); font-size: 12.5px; }
.creds b { text-align: right; word-break: break-all; }
.creds b.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; background: var(--yellow-soft); padding: 3px 8px; border-radius: 6px; letter-spacing: .5px; }
@media (max-width: 520px) {
  .authtabs button { font-size: 13px; padding: 11px 6px; }
  .creds > div { flex-direction: column; align-items: flex-start; gap: 3px; }
  .creds b { text-align: left; }
}
.pwbox.gen input::placeholder { font-family: Inter, "Segoe UI", system-ui, sans-serif; letter-spacing: 0; }

/* ---- talep onayı ---- */
.st-approval { background: #FCE4EC; color: #A0124B; }
.proc .pd.st-approval { background: #D81B60; }
.nav a .navcount { background: #D81B60; color: #fff; border-radius: 99px; font-size: 11px; line-height: 1; padding: 3px 6px; margin-left: -2px; }
.nav a.on .navcount { background: var(--dark); color: var(--yellow); }
.btn.okfill { background: var(--green); border-color: var(--green); color: #fff; }
.btn.okfill:hover { background: #24672A; }
.btn.dangerline { color: var(--red); border-color: #E7B9B9; background: #fff; }
.btn.dangerline:hover { background: #FDF1F1; }
.linkbtn.danger { color: var(--red); }
.callout.apwait { background: #FDF0F5; border-color: #F4C2D5; }
.callout.apwait .ic { color: #A0124B; }
.infobox.apinfo { background: #FDF0F5; color: #6E0D34; margin-bottom: 10px; }
.apbanner { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: linear-gradient(90deg, #1D1D1B, #2A2A27); color: #fff; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; box-shadow: var(--shadow); border-left: 6px solid var(--yellow); }
.apbanner .apb-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--dark); display: grid; place-items: center; }
.apbanner .apb-tx b { display: block; font-size: 16px; }
.apbanner .apb-tx > span { color: #BDBDB5; font-size: 12.5px; }
.apbanner .apb-note { margin: 8px 0 0; background: rgba(255,255,255,.07); border-radius: 8px; padding: 8px 10px; font-size: 13px; color: #EDEDE6; white-space: pre-wrap; }
.apbanner .apb-act { display: flex; gap: 8px; }
.apbanner .btn.dangerline { background: transparent; color: #FFB4B4; border-color: #6b3b3b; }
.apbanner .btn.dangerline:hover { background: rgba(255,255,255,.06); }
.apcard h3 { display: flex; align-items: center; gap: 6px; }
.apcard h3 .badge { margin-left: auto; font-size: 11px; }
.apcard.is-pending { border-color: #F4C2D5; box-shadow: 0 0 0 3px #FDF0F5, var(--shadow); }
.aplist2 { display: flex; flex-direction: column; gap: 2px; margin: 0 0 12px; }
.aprow { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.aprow:last-child { border-bottom: 0; }
.aprow .avatar { flex: none; width: 30px; height: 30px; font-size: 11px; }
.aprow .avatar.apmail { background: #FDF0F5; color: #A0124B; }
.aprow.cancelled { opacity: .55; }
.apr-main { flex: 1; min-width: 0; }
.apr-top { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.apr-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apr-top .badge { font-size: 11px; padding: 1px 8px; }
.apr-note { margin-top: 4px; font-size: 12.5px; background: var(--bg); border-radius: 6px; padding: 5px 8px; white-space: pre-wrap; }
.apr-act { display: flex; gap: 12px; margin-top: 4px; }
.apr-act .linkbtn { font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.apseg { display: inline-flex; background: var(--bg); border-radius: 10px; padding: 3px; margin-bottom: 12px; }
.apseg button { border: 0; background: none; padding: 7px 14px; border-radius: 8px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.apseg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.apsearch { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; }
.apsearch .ic { color: var(--muted); flex: none; }
.apsearch input { border: 0; outline: none; padding: 9px 0; flex: 1; min-width: 0; background: none; }
.appick { max-height: 230px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0 6px; }
.appu { display: flex; width: 100%; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 8px 12px; text-align: left; cursor: pointer; }
.appu:last-child { border-bottom: 0; }
.appu:hover { background: #FAFAF7; }
.appu.on { background: var(--yellow-soft); }
.appu:disabled { opacity: .5; cursor: default; }
.appu .avatar { width: 30px; height: 30px; font-size: 11px; flex: none; }
.appu-t { flex: 1; min-width: 0; }
.appu-t b { display: block; }
.appu-t small { color: var(--muted); font-size: 12px; }
.appu-c { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.appu.on .appu-c { background: var(--dark); border-color: var(--dark); color: var(--yellow); }
.appu-c small { font-size: 10px; }
.apsel { background: #FAFAF7; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 12px 0 14px; }
.apsel-h { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.apsel [data-chips] { display: flex; flex-wrap: wrap; gap: 6px; }
.apchip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 3px 4px 3px 4px; font-size: 13px; font-weight: 600; max-width: 100%; }
.apchip > .ic { margin-left: 6px; color: #A0124B; }
.apchip .avatar { width: 22px; height: 22px; font-size: 9px; }
.apchip small { color: var(--muted); font-weight: 400; }
.apchip > span:not(.avatar) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apchip button { border: 0; background: var(--bg); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; color: var(--muted); flex: none; }
.apchip button:hover { background: #F3D6D6; color: var(--red); }
.apdecide { display: flex; gap: 10px; align-items: flex-start; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; font-size: 13px; }
.apdecide.ok { background: #EEF7EF; color: #1E5B22; }
.apdecide.bad { background: #FDF1F1; color: #8E1C1C; }
.apdecide .ic { flex: none; margin-top: 1px; }
.devlink { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.aplistpage { display: flex; flex-direction: column; gap: 12px; }
.apitem { padding: 16px 18px; border-left: 5px solid #D81B60; }
.apitem.approved { border-left-color: var(--green); }
.apitem.rejected { border-left-color: var(--red); }
.apitem.cancelled { border-left-color: #B0B0A8; opacity: .8; }
.api-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.api-head .right { margin-left: auto; }
.api-title { display: block; font-size: 16px; font-weight: 700; text-decoration: none; margin-bottom: 4px; }
.api-title:hover { text-decoration: underline; }
.api-note { margin-top: 8px; background: #FFF8D6; border-left: 3px solid #E2B800; border-radius: 6px; padding: 7px 10px; font-size: 13px; white-space: pre-wrap; }
.api-desc { color: #4A4A45; font-size: 13px; margin: 8px 0 0; white-space: pre-wrap; }
.api-act { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.api-act .sp { flex: 1; }
.api-done { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) {
  .apbanner { grid-template-columns: auto 1fr; }
  .apbanner .apb-act { grid-column: 1 / -1; }
  .apbanner .apb-act .btn { flex: 1; justify-content: center; }
  .api-act { flex-wrap: wrap; }
  .api-act .sp { display: none; }
  .api-act .btn { flex: 1 1 30%; justify-content: center; }
  .api-act a.btn { flex-basis: 100%; }
  .apseg { display: flex; }
  .apseg button { flex: 1; justify-content: center; padding: 8px 6px; font-size: 13px; }
}
.aplist2:last-child { margin-bottom: 0; }

/* Uygulama sorumluları: birden çok analist */
.ownpick { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #FCFCFA; max-height: 300px; overflow: auto; }
.ownpick-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 2px 2px 6px; }
.ownpick-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; margin-bottom: 10px; }
.ownpick-g:last-child { margin-bottom: 0; }
.ownck { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 32px 8px 9px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; min-width: 0; transition: border-color .12s, background .12s; }
.ownck input { position: absolute; opacity: 0; pointer-events: none; }
.ownck .avatar.sm { width: 26px; height: 26px; font-size: 10.5px; background: var(--bg); }
.ownck-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ownck-t b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ownck-t em { font-style: normal; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ownck-t em.warn { color: #9A6A00; display: none; }
.ownck.on .ownck-t em.warn { display: block; }
.ownck .ck { position: absolute; right: 9px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #D5D2C6; display: grid; place-items: center; color: transparent; transition: all .12s; }
.ownck:has(input:checked) { border-color: var(--dark); background: var(--yellow-soft); }
.ownck:has(input:checked) .avatar.sm { background: var(--dark); color: var(--yellow); }
.ownck:has(input:checked) .ck { background: var(--dark); border-color: var(--dark); color: var(--yellow); }
.ownck:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255, 206, 6, .45); }
.ownchips { display: flex; flex-wrap: wrap; gap: 4px; max-width: 280px; }
.ownchip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 2px; border-radius: 99px; background: var(--bg); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ownchip.off { opacity: .5; text-decoration: line-through; }
.avatar.xs { width: 20px; height: 20px; font-size: 9px; }
.ownline { display: flex; gap: 6px; align-items: flex-start; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.ownline svg { margin-top: 2px; flex-shrink: 0; }
.ownline b { color: var(--ink); font-weight: 600; }
.scopecell.own { font-size: 11px; color: #7A5A00; align-items: center; gap: 4px; font-weight: 600; }
.appck em.own { color: #7A5A00; background: var(--yellow-soft); display: inline-flex; align-items: center; gap: 2px; }
@media (max-width: 520px) { .ownpick-g { grid-template-columns: 1fr; } .ownchips { max-width: none; } }
.ownf { margin-bottom: 14px; }
.ownf > span { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; }
.ownf > small { color: var(--muted); display: block; margin-top: 6px; font-size: 12px; }
