/* bidplatform — prototipteki görünüm (renkler, yazı tipleri, bileşenler) */
:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --sunk: #e9edf1;
  --tint: #edf3f9;
  --line: #d5dce3;
  --fg: #17212b;
  --muted: #5a6875;
  --accent: #1d5f86;
  --accent-soft: #e2eef6;
  --good: #2c7a4b;
  --good-soft: #e3f3e9;
  --warn: #9a6200;
  --warn-soft: #fbf0d9;
  --crit: #a8322b;
  --crit-soft: #f9e4e2;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12171c; --surface: #1a2027; --sunk: #222a32; --tint: #1f2933; --line: #33404c; --fg: #e5ebf0; --muted: #9aa8b5;
    --accent: #6fb3dd; --accent-soft: #1d3646; --good: #6cc792; --good-soft: #1b3326; --warn: #e3b25a; --warn-soft: #3a2e17;
    --crit: #ef8a82; --crit-soft: #3e2220; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 14px; line-height: 1.5; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 22px; font-weight: 700; }
h2 { font-size: 17px; font-weight: 600; }
h3 { font-size: 14px; font-weight: 600; }
p { margin: 0; }
a { color: var(--accent); }
.num { font-family: "Inter", "IBM Plex Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.prewrap { white-space: pre-wrap; }
.grow { flex: 1; }
form.inline { display: inline; margin: 0; }

/* Üst menü */
.top { position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 10px 24px; }
.brand { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--fg); text-decoration: none; }
.brand span { color: var(--accent); }
.ver { font-size: 12px; font-weight: 500; color: var(--muted); opacity: .75; margin-left: -6px; align-self: center; letter-spacing: 0; }
.menu { display: flex; align-items: center; gap: 4px; flex: 1; flex-wrap: wrap; }
.menu a:not(.btn) { color: var(--fg); text-decoration: none; padding: 8px 10px; border-radius: 6px; font-weight: 500; }
.menu a:not(.btn):hover { background: var(--sunk); }
.menu a.on { background: var(--accent-soft); color: var(--accent); }
.menu .co { padding: 0 6px; }
.sideseg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 2px; background: var(--sunk); }
.sideseg button { display: inline-block; text-decoration: none; border: 0; background: transparent; padding: 5px 12px; border-radius: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.sideseg button.on { background: var(--accent); color: #fff; }

.shell { max-width: 1100px; margin: 0 auto; padding: 24px 24px 64px; display: flex; flex-direction: column; gap: 20px; }
.head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.head .grow { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hero { padding: 28px 0 8px; display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.hero h1 { font-size: 30px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel.narrow { max-width: 440px; width: 100%; margin: 24px auto 0; }
.panel .subform { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }

.btn { font: inherit; font-weight: 600; border-radius: 8px; padding: 8px 14px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn:hover { background: var(--sunk); }
.btn.pri { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.btn.pri:hover { filter: brightness(1.08); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--accent); }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.x { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; }

.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.pill.open { background: var(--accent-soft); color: var(--accent); }
.pill.done { background: var(--good-soft); color: var(--good); }
.pill.draft { background: var(--sunk); color: var(--muted); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.crit { background: var(--crit-soft); color: var(--crit); }
.pill.st-onayli { background: var(--good-soft); color: var(--good); }
.pill.st-kara { background: #1c1f23; color: #ffffff; }

.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label, .field .lab { font-weight: 600; font-size: 13px; }
input[type="text"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; width: 100%; min-width: 0;
}
/* Safari (iPad/iPhone) draws native selects shorter than inputs and ignores padding; use our own look so heights match. */
select {
  -webkit-appearance: none; appearance: none; padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 10px 6px;
}
select::-ms-expand { display: none; }
input:disabled, textarea:disabled, select:disabled { background: var(--tint); }
textarea { resize: vertical; min-height: 64px; }
input[type="number"] { text-align: right; font-variant-numeric: tabular-nums; }
input[type="date"].datein { width: 180px; max-width: 100%; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.choice { border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; background: var(--surface); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { margin-top: 3px; accent-color: var(--accent); }
.choice b { display: block; }
.choice > span { min-width: 0; overflow-wrap: anywhere; }

.steps { display: flex; gap: 6px; flex-wrap: wrap; }
.steps span { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: var(--sunk); color: var(--muted); font-weight: 600; }
.steps span.on { background: var(--accent); color: var(--surface); }
.steps span.ok { background: var(--accent-soft); color: var(--accent); }
#wizard { display: flex; flex-direction: column; gap: 16px; }

.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--sunk); font-weight: 600; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; }
.suptbl td { vertical-align: middle; }
.suptbl input[type="checkbox"] { accent-color: var(--accent); }
.suptbl tr:has(input:checked) td { background: var(--accent-soft); }
.suplist { max-height: 420px; overflow: auto; margin-top: 8px; }

.cards { display: flex; flex-direction: column; gap: 10px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; color: inherit; text-decoration: none; }
.card:hover { border-color: var(--accent); }
.card .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

.note { border-radius: 8px; padding: 10px 12px; font-size: 13px; display: flex; gap: 8px; }
.note.warn { background: var(--warn-soft); color: var(--warn); }
.note.good { background: var(--good-soft); color: var(--good); }
.note.info { background: var(--accent-soft); color: var(--accent); }
.note.crit { background: var(--crit-soft); color: var(--crit); }
.note b { color: inherit; }

.mail { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.mail .mh { background: var(--sunk); padding: 10px 14px; font-size: 13px; display: grid; gap: 2px; }
.mail .mb { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.empty { align-items: flex-start; }

@media (max-width: 640px) {
  .top-in, .shell { padding-left: 16px; padding-right: 16px; }
  .menu .co { display: none; }
}
select.stsel { width: auto; padding: 4px 26px 4px 8px; }
select.stsel.st-onayli { background-color: var(--good-soft); color: var(--good); border-color: var(--good); font-weight: 600; }
select.stsel.st-kara { background-color: #1c1f23; color: #ffffff; border-color: #1c1f23; font-weight: 600; }
select.stsel option { background: var(--surface); color: var(--fg); font-weight: 400; }

/* Tedarikçi teklif formu */
.spt td { vertical-align: middle; }
.spt td input[data-price] { width: 140px; }
.spt tr.sub td { background: var(--tint); }
.spt tr.tot td { background: var(--accent-soft); font-weight: 700; }
.spt tr.sub td, .spt tr.tot td { border-bottom: 1px solid var(--line); }
.spt input[type="checkbox"] { accent-color: var(--accent); }
.nowrap { white-space: nowrap; }

/* Gelen teklifler: kartlar ve karşılaştırma tablosu */
.cgroup { display: flex; flex-direction: column; gap: 14px; }
.ocards { display: flex; flex-direction: column; gap: 14px; }
.ocard { background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ocard.bestcard { background: var(--good-soft); }
.ocard.col > :not(.oh) { display: none; }
.ocard .tw { background: var(--surface); }
.oh { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ot { font-size: 15px; }
.ohr { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ohr .gl { font-size: 13px; font-weight: 600; color: var(--muted); }
.ohr .gt { font-size: 14px; font-weight: 600; min-width: 110px; text-align: right; }
.ocard:not(.col) .ohr .gl, .ocard:not(.col) .ohr .gt { visibility: hidden; }
.colbtn { color: var(--muted); font-weight: 500; width: 76px; justify-content: center; }
.ft { table-layout: fixed; min-width: 720px; }
.ft th:nth-child(2) { width: 90px; } .ft th:nth-child(3) { width: 70px; } .ft th:nth-child(4) { width: 130px; } .ft th:nth-child(5) { width: 140px; } .ft th:nth-child(6) { width: 170px; }
td.best .num { color: var(--good); background: var(--good-soft); padding: 3px 7px; margin-right: -7px; border-radius: 4px; }
td.miss { color: var(--crit); }
tr.tot td { font-weight: 600; }
tr.meta td { color: var(--muted); }
.cmp th:first-child, .cmp td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); min-width: 170px; box-shadow: 1px 0 0 var(--line); }
.cmp thead th:first-child { background: var(--sunk); }
.cmp th.r { white-space: normal; min-width: 110px; }
.cmp td.r { white-space: nowrap; }
.cmp .bcol { background: var(--good-soft); min-width: 130px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 6px 12px; font: inherit; font-weight: 500; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--surface); }
.sumrow { display: flex; flex-wrap: wrap; gap: 16px 64px; }
.num.big { font-size: 18px; font-weight: 600; }
.cmp td.best .muted.num { background: none; color: var(--muted); padding: 0; margin: 0; }
.decide { border: 1px solid var(--accent); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 64px; background: var(--surface); z-index: 4; }
.btn.picked { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.pill.win { background: var(--accent); color: var(--surface); }
.ocard.wincard { border-color: var(--accent); }

/* Kayıt / giriş */
.panel.wide { max-width: 1000px; width: 100%; margin: 24px auto 0; }
.g5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.pw { position: relative; display: flex; }
.pw input { flex: 1; padding-right: 40px; min-width: 0; }
.pw .eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 6px; line-height: 0; border-radius: 6px; }
.pw .eye:hover { color: var(--fg); }
.pw .eye svg { width: 18px; height: 18px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters a { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: var(--sunk); color: var(--muted); text-decoration: none; }
.filters a.on { background: var(--accent); color: var(--surface); }
.panel.hero { max-width: none; align-items: center; text-align: center; padding: 40px 24px; }
.panel.hero p { max-width: 640px; }
.stats { display: flex; justify-content: center; gap: 48px; margin-top: 14px; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stats b { font-size: 28px; font-weight: 700; color: var(--accent); }
.stats span { color: var(--muted); font-size: 13px; }

/* Tedarikçiler */
.tytabs { display: inline-flex; flex-wrap: wrap; width: fit-content; max-width: 100%; align-self: flex-start; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.tytabs button { border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--fg); padding: 8px 16px; font: inherit; font-weight: 500; cursor: pointer; }
.tytabs button:first-child { border-left: 0; }
.tytabs button[aria-pressed="true"] { background: var(--accent); color: var(--surface); }
@media (max-width: 560px) { .tytabs button { padding: 8px 9px; font-size: 13.5px; } }
.tedtbl { table-layout: fixed; width: 100%; }
.tedtbl td { overflow-wrap: anywhere; vertical-align: middle; }
.tedtbl tr.grp td { background: var(--accent-soft); font-weight: 700; font-size: 15px; color: var(--fg); padding-top: 12px; padding-bottom: 12px; border-left: 4px solid var(--accent); cursor: pointer; }
.tedtbl tr.grp td .muted { font-weight: 500; font-size: 13px; margin-left: 4px; }
.tedtbl .webcell a { color: var(--accent); }
.namecell { display: flex; align-items: center; gap: 6px; }
.favstar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 0; background: transparent; padding: 0; font-size: 21px; line-height: 1; color: #b9bec6; cursor: pointer; }
.favstar:hover { color: #e0a800; }
.favstar.on { color: #f5b301; }
span.favstar { cursor: default; }
.blkbtn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 0; background: transparent; padding: 0; color: #c3c8cf; cursor: pointer; }
.blkbtn:hover { color: #b42318; }
.blkbtn.on { color: #d92d20; }
tr.isblk td b { text-decoration: line-through; }
tr.isblk td b, tr.isblk td a, tr.isblk td:not(:first-child) { opacity: .55; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000; background: #1f2937; color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25); max-width: calc(100vw - 32px); transition: opacity .25s; pointer-events: none; }
@media (max-width: 640px) {
  .tedtbl colgroup, .tedtbl thead { display: none; }
  .tedtbl, .tedtbl tbody { display: block; }
  .tedtbl tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 12px; border-top: 1px solid var(--line); }
  .tedtbl tbody td { border: 0 !important; padding: 0 !important; }
  .tedtbl tbody tr.grp { padding: 0; } .tedtbl tbody tr.grp td { flex: 1 1 100%; padding: 10px 12px !important; }
  .tedtbl tbody tr:not(.grp) > td:nth-child(1) { flex: 1 1 100%; }
  .tedtbl tbody tr:not(.grp) > td:nth-child(2), .tedtbl tbody tr:not(.grp) > td:nth-child(3) { color: var(--muted); font-size: 13px; }
}
.tbadge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; vertical-align: 2px; }
.tb-mal { background: #e3eefa; color: #1d4f86; } .tb-hizmet { background: #e2f4ea; color: #1f6b43; } .tb-yapim { background: #fcecdc; color: #94501a; }
/* Vadesiz karşılaştırma değeri */
.pvl { display: block; font-size: 12.5px; font-weight: 600; color: var(--accent); margin-top: 2px; }
.ohr .gl { text-align: right; }
.ft tr.pvr td, .cmp tr.pvrow td { color: var(--accent); font-weight: 600; }
.pill.st-fav { background: #fff4cc; color: #8a6100; }

/* Site alt bilgisi ve herkese açık sayfalar */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main.shell { flex: 1; width: 100%; }
.site-foot { border-top: 1px solid var(--line); background: var(--surface); }
.site-foot-in { max-width: 1100px; margin: 0 auto; padding: 18px 24px; display: flex; gap: 10px 24px; flex-wrap: wrap; justify-content: space-between; color: var(--muted); font-size: 13px; }
.site-foot nav { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--fg); }
.legal { max-width: none; }
.legal h2 { font-size: 16px; margin-top: 6px; }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.plan ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; margin: 0; }
.plan .price { font-size: 15px; margin: 0; }
.plan .price b { font-size: 30px; font-family: var(--f-head, inherit); }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plans .plan ul { margin-bottom: 4px; }
@media (max-width: 640px) { .site-foot-in { padding: 16px; } }

/* Teklif formu: teklif kutusu, kalem notları, nakliye seçimi */
.spt th.ck, .spt td.ck { width: 52px; text-align: center; }
.spt tr.off td:not(.ck) { opacity: .55; }
.spt .offmsg { display: none; }
.spt tr.off .offmsg { display: block; }
.spt .inote { margin-top: 4px; }
.spt .inote input { width: 100%; max-width: 360px; padding: 4px 8px; font-size: 12.5px; }
.spt .addnote { color: var(--accent); }
.ft tr.inote-row td { padding-top: 0; border-top: 0; }
.spt td input[data-nakliye] { width: 140px; }

/* Pencere (revizyon geçmişi) */
.mdl-bg { position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 32, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.mdl { background: var(--surface); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.mdl tr.cur td { background: var(--accent-soft); }
a.pill.revbtn { text-decoration: none; cursor: pointer; }
a.pill.revbtn:hover { filter: brightness(.95); }
/* Tedarikçiler: solda kategori ağacı, sağda düz firma listesi */
.tedwrap { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 18px; align-items: start; }
.tedmain { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ctree { display: flex; flex-direction: column; gap: 1px; position: sticky; top: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px; } .ctree.nosticky { position: static; }
.ctree .tn { display: flex; align-items: baseline; gap: 6px; width: 100%; border: 0; background: transparent; text-align: left; padding: 7px 8px; border-radius: 6px; font: inherit; color: var(--fg); cursor: pointer; }
.ctree .tn:hover { background: var(--sunk); } .ctree .tn.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.ctree .tn .tch { width: 12px; flex: none; color: var(--muted); font-size: 11px; } .ctree .tn .tl { flex: 1; min-width: 0; } .ctree .tn .gc { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ctree .tn.l0 { font-weight: 600; } .ctree .tn.l1 { padding-left: 24px; } .ctree .tn.l2 { padding-left: 42px; font-size: 13.5px; }
.ctree .tn.z .tl, .ctree .tn.z .gc { opacity: .5; }
.csel { display: none; }
.crumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 14px; color: var(--muted); } .crumb b { color: var(--fg); font-weight: 600; } .crumb .sep { color: var(--line); }
.sortbtn { all: unset; cursor: pointer; } .sortbtn.on { color: var(--fg); } .sortbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Başlıkta sıralama + huni filtresi */
.thc { display: inline-flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.thfbtn { border: 0; background: transparent; color: var(--muted); opacity: .75; padding: 6px; margin: -6px 0; border-radius: 6px; cursor: pointer; display: inline-flex; line-height: 0; }
.thfbtn:hover, .thfbtn[aria-expanded="true"] { background: var(--sunk); opacity: 1; }
.thfbtn.on { color: var(--accent); opacity: 1; } .thfbtn.on svg { fill: currentColor; }
.thpop { position: absolute; z-index: 60; width: 300px; max-width: calc(100vw - 16px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,.16); padding: 8px; display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
.thpop .thq { width: 100%; font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--fg); }
.thpop .thl { max-height: 320px; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; }
.thpop .thall { border: 0; background: transparent; font: inherit; text-align: left; padding: 8px 10px; border-radius: 6px; color: var(--fg); cursor: pointer; }
.thpop .thall.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.thpop .thopt { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; cursor: pointer; font-size: 14.5px; color: var(--fg); }
.thpop .thopt:hover { background: var(--sunk); }
.thpop .thopt input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: var(--accent); }
.thpop .thopt .tl { flex: 1; min-width: 0; overflow-wrap: anywhere; } .thpop .thopt .gc { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.thpop .thmore { padding: 6px 10px; }
@media (max-width: 820px) { .tedwrap { grid-template-columns: minmax(0, 1fr); } .ctree { display: none; } .csel { display: block; } }
.btn.danger { color: var(--crit); border-color: var(--line); background: var(--surface); }
.btn.danger:hover { background: var(--crit-soft, #fbe9e7); }
td.r a.btn + form.inline, td.r form.inline + form.inline { margin-left: 6px; }
.subpanel { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 4px 0 14px; background: var(--tint); }
.firmsel select { font: inherit; font-size: 13px; padding: 5px 26px 5px 8px; border: 1px solid var(--line); border-radius: 6px; background-color: var(--surface); color: var(--fg); max-width: 260px; }
form > .grid2 + .btn, form > .grid2 + button, form > .field + .btn, form > .field + button { margin-top: 14px; }
details form > .grid2 + .field { margin-top: 14px; }
.firmcard { display: flex; flex-direction: column; gap: 12px; }
.firmcard h3 { margin: 0; }
.firmcard .field .lab { font-weight: 600; font-size: 13px; }

/* Talep ekleri */
.filelist { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.filelist li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filelist .x { padding: 0 4px; }
