:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f4f6f9;--border:#dfe4ec;--muted:#667085;--danger:#b42318}*{box-sizing:border-box}body{margin:0;padding-bottom:env(safe-area-inset-bottom,0px)}button,input,select,textarea{font:inherit}input,select,textarea{width:100%;padding:10px 11px;border:1px solid var(--border);border-radius:9px;background:#fff}textarea{resize:vertical}label{display:block;font-size:13px;font-weight:650;color:#344054}label input,label select,label textarea{margin-top:5px}.login{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,var(--brand-soft),#f8fafc)}.login-card{width:min(460px,100%);background:#fff;border:1px solid var(--border);border-radius:18px;padding:28px;box-shadow:0 18px 55px #102a5620}.brand-mark{width:48px;height:48px;border-radius:13px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800}.login h1{margin:12px 0 2px}.login p{color:var(--muted)}.btn{border:0;border-radius:9px;background:var(--blue);color:white;padding:10px 14px;font-weight:700;cursor:pointer}.btn.secondary{background:white;color:#344054;border:1px solid var(--border)}.btn.secondary.active{background:var(--brand-soft);color:var(--brand-deep);border-color:var(--brand-line)}.btn.danger{background:#fff1f0;color:var(--danger);border:1px solid #fecdca}.smallbtn{padding:6px 9px;font-size:12px}.topbar{height:64px;background:#101828;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:14px;position:sticky;top:0;z-index:20}.version{font-size:12px;background:#23324d;border-radius:999px;padding:4px 8px;margin-left:8px}.top-actions{display:flex;gap:8px;align-items:center}.top-actions select{width:auto;min-width:230px;background:#17243b;color:#fff;border-color:#344054}.role-chip{font-size:12px;padding:5px 8px;border:1px solid #475467;border-radius:999px}.bodygrid{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 64px);min-height:calc(100dvh - 64px)}aside{background:#fff;border-right:1px solid var(--border);padding:14px;display:flex;flex-direction:column;justify-content:space-between}nav{display:grid;gap:6px}nav button{border:0;background:transparent;border-radius:9px;padding:11px 12px;text-align:left;font-weight:700;color:#344054;cursor:pointer}nav button.active,nav button:hover{background:var(--brand-soft);color:var(--brand-deep)}.side-note{font-size:12px;color:var(--muted);line-height:1.6;padding:12px}#page{padding:22px;max-width:1400px;width:100%}h1{font-size:26px;margin:0 0 16px}h2{font-size:18px}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.page-title p{margin-top:-8px;color:var(--muted)}.card{background:#fff;border:1px solid var(--border);border-radius:13px;padding:16px;margin-bottom:12px;box-shadow:0 1px 2px #10182808}.person-card{background:#fff;border:2px solid #cbd5e1;border-radius:14px;padding:14px;margin-bottom:16px;box-shadow:0 2px 6px #1018280d}.person-card>.row{padding-top:0}.person-card .person-doc-box{margin-top:12px;padding:12px;background:#f8fafc;border-radius:10px}.person-card .person-doc-title{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-bottom:8px;border-bottom:1px solid #e2e8f0}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.kpi{background:#fff;border:1px solid var(--border);border-radius:13px;padding:15px}.kpi span{color:var(--muted);font-size:12px}.kpi b{display:block;font-size:28px;margin-top:3px}.grid2,.grid3{display:grid;gap:10px;margin-bottom:10px}.grid2{grid-template-columns:repeat(2,1fr)}.grid3{grid-template-columns:repeat(3,1fr)}.actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.actions.end{justify-content:flex-end;align-items:end}.row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #eef0f4}.row:last-child{border-bottom:0}.muted,.small{color:var(--muted);font-size:12px}.badge{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800}.badge.green{background:#ecfdf3;color:#027a48}.badge.red{background:#fef3f2;color:#b42318}.badge.blue{background:var(--brand-soft);color:var(--brand-deep)}.badge.amber{background:#fffaeb;color:#b54708}.redtxt{color:#b42318}.notice,.error,.success{padding:11px 12px;border-radius:9px;margin:10px 0}.notice{background:#f2f4f7;border:1px solid #e4e7ec}.error{background:#fff1f0;border:1px solid #fecdca;color:#b42318}.success{background:#ecfdf3;border:1px solid #abefc6;color:#067647}.tabs{display:flex;gap:6px;margin-bottom:10px;overflow:auto}.tab{padding:9px 12px;border-radius:9px;border:1px solid var(--border);background:#fff;white-space:nowrap;cursor:pointer;font-weight:700}.tab.active{background:var(--brand);color:#fff;border-color:var(--brand)}.hidden{display:none}.memberlist{margin-top:8px}.member{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef0f4;padding:8px 0}.flow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.flow span{background:#f2f4f7;padding:8px 10px;border-radius:9px}ul{line-height:1.8}.global-alert-scroll{max-height:min(48vh,460px);overflow-y:auto;overflow-x:hidden;padding-right:8px;scrollbar-gutter:stable;border-top:1px solid #eef0f4;border-bottom:1px solid #eef0f4;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.global-alert-scroll .member{padding-right:4px}.global-alert-scroll::-webkit-scrollbar{width:10px}.global-alert-scroll::-webkit-scrollbar-thumb{background:#98a2b3;border-radius:999px;border:2px solid #fff}.global-alert-scroll::-webkit-scrollbar-track{background:#f2f4f7;border-radius:999px}@media(max-width:900px){.bodygrid{grid-template-columns:1fr}aside{position:static;z-index:10;border-right:0;border-bottom:1px solid var(--border);padding:8px}aside nav{display:flex;overflow:auto}.side-note{display:none}#page{padding:14px}.topbar{height:auto;min-height:64px;align-items:flex-start;padding:12px;padding-top:calc(12px + env(safe-area-inset-top,0px));padding-left:calc(12px + env(safe-area-inset-left,0px));padding-right:calc(12px + env(safe-area-inset-right,0px));flex-direction:column}.top-actions{width:100%;overflow:auto}.top-actions select{min-width:180px}.grid3,.grid2,.kpis{grid-template-columns:1fr 1fr}.card table{display:block;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}}@media(max-width:620px){.grid3,.grid2,.kpis{grid-template-columns:1fr}.role-chip{display:none}.page-title{display:block}.page-title .btn{margin-bottom:10px}.row{display:block}.row>div+div{margin-top:6px}}

/* v1.2 coordinator visibility */
#page .card h2{margin-top:0}.kpi b{word-break:break-word}.page-title h1{margin-bottom:8px}

.bodygrid,
.bodygrid > aside,
.bodygrid > #page {
  min-width: 0;
}

/* v1.10.5 — Yönetim + Global/Şantiye İSG + eksik günlük rapor uyarıları */
:root {
  /* Fırat İnşaat Kurumsal Kimlik v1.0 (kurumsal-kimlik/FIE_web_tokenlari.css) */
  --fie-indigo: #393185;
  --fie-indigo-hover: #4B43A0;
  --fie-midnight: #192342;
  --fie-midnight-2: #24305A;
  --fie-amber: #D6A14A;
  --fie-steel: #596679;
  --fie-ink: #273247;
  --fie-cloud: #F4F6FA;
  --fie-pale-indigo: #EDEBF7;
  --fie-stroke: #DDE3EC;
  --topbar-h: 84px;
  --brand: var(--fie-indigo);
  --brand-deep: var(--fie-midnight);
  --brand-hover: var(--fie-indigo-hover);
  --brand-soft: var(--fie-pale-indigo);
  --brand-line: #d8d5ec;
  --blue: var(--brand);
  --border: var(--fie-stroke);
  --muted: var(--fie-steel);
  --text: var(--fie-ink);
  font-family: Inter, Aptos, -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--fie-cloud);
  font-size: 16px;
  line-height: 1.45;
}

html { background: var(--fie-cloud); }
body { color: var(--text); background: var(--fie-cloud); }
button, input, select, textarea { font-family: inherit; }
button { touch-action: manipulation; }
input, select, textarea {
  min-height: 44px;
  padding: 10px 12px;
  border-color: var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
textarea { min-height: 92px; }
input:hover, select:hover, textarea:hover { border-color: #aaa6cc; }
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(57,49,133,.15);
}
label { color: #3d3b52; font-size: .875rem; font-weight: 650; line-height: 1.35; }
label input, label select, label textarea { margin-top: 6px; }

.btn {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  box-shadow: 0 1px 2px rgba(35,29,92,.14);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.btn:hover:not(:disabled) { background: var(--brand-hover); border-color: var(--brand-hover); box-shadow: 0 3px 8px rgba(35,29,92,.18); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); box-shadow: 0 1px 2px rgba(35,29,92,.14); }
.btn:focus-visible, nav button:focus-visible, .tab:focus-visible {
  outline: 3px solid var(--fie-amber);
  outline-offset: 2px;
}
.btn:disabled, button:disabled { cursor: not-allowed; opacity: .56; transform: none; box-shadow: none; }
.btn.secondary { color: var(--brand-deep); border-color: #c8c5dd; background: #fff; box-shadow: none; }
.btn.secondary:hover:not(:disabled) { color: var(--brand-deep); border-color: var(--brand); background: var(--brand-soft); }
.btn.danger { border-color: #f4b9b4; background: #fff4f3; box-shadow: none; }
.btn.danger:hover:not(:disabled) { border-color: #d92d20; background: #fee4e2; color: #912018; }
.smallbtn { min-height: 34px; padding: 7px 10px; font-size: .8rem; }

.login { background: radial-gradient(circle at top left, var(--fie-pale-indigo) 0, var(--fie-cloud) 55%); }
.login-card { width: min(470px, 100%); border-top: 4px solid var(--brand); border-radius: 16px; padding: 30px; box-shadow: 0 22px 60px rgba(43,36,112,.16); }
.login-brand { display: flex; justify-content: center; padding: 2px 0 12px; }
.login-brand img { display: block; width: min(280px, 82%); height: auto; }
.login h1 { margin: 8px 0 2px; color: var(--brand-deep); text-align: center; font-size: 1.65rem; letter-spacing: -.02em; }
.login p { margin: 0 0 22px; text-align: center; font-size: .875rem; }
.login label + label { margin-top: 14px; }
.login .btn { width: 100%; margin-top: 18px; }

.topbar {
  min-height: var(--topbar-h);
  height: auto;
  padding: 8px 20px;
  background: var(--fie-midnight);
  border-bottom: 3px solid var(--fie-amber);
  box-shadow: 0 3px 12px rgba(25,35,66,.22);
}
.app-brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; min-width: 0; }
.app-brand-logo { display: block; width: 170px; height: auto; flex: 0 0 auto; }
.app-brand-copy { display: flex; align-items: center; min-width: 0; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.24); }
.app-brand-copy > b { white-space: nowrap; font-size: 1rem; letter-spacing: .01em; }
.version { margin-left: 8px; padding: 4px 8px; background: rgba(255,255,255,.16); color: #fff; font-size: .75rem; }
.top-actions { justify-content: flex-end; flex-wrap: wrap; row-gap: 7px; }
.top-actions select { min-width: 220px; min-height: 40px; border-color: rgba(255,255,255,.34); background: var(--fie-midnight-2); color: #fff; font-size: .875rem; }
.top-actions select option { background: #fff; color: var(--text); }
.topbar .btn.secondary { min-height: 36px; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.12); color: #fff; }
.topbar .btn.secondary:hover:not(:disabled) { border-color: #fff; background: rgba(255,255,255,.22); color: #fff; }
.role-chip { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.1); color: #fff; font-size: .75rem; }

.bodygrid { grid-template-columns: 244px minmax(0, 1fr); min-height: calc(100dvh - var(--topbar-h)); }
aside { position: sticky; top: var(--topbar-h); height: calc(100dvh - var(--topbar-h)); overflow-y: auto; padding: 14px 12px; border-right-color: var(--brand-line); }
nav { gap: 4px; }
nav button { min-height: 43px; padding: 10px 12px; border-radius: 7px; color: #4b495d; font-size: .875rem; font-weight: 650; line-height: 1.25; }
nav button:hover { background: #f6f5fb; color: var(--brand-deep); }
nav button.active { background: var(--brand-soft); color: var(--brand-deep); box-shadow: inset 3px 0 0 var(--brand); }
.side-note { margin-top: 14px; padding: 13px 10px 10px; border-top: 1px solid var(--brand-line); font-size: .78rem; line-height: 1.55; }
.side-brand { display: block; width: 154px; max-width: 100%; height: auto; margin: 0 0 10px; }

#page { max-width: 1520px; margin: 0 auto; padding: 26px 28px 40px; }
h1, h2, h3 { color: var(--fie-midnight); line-height: 1.25; }
h1 { font-size: 1.7rem; letter-spacing: -.025em; }
h2 { font-size: 1.15rem; }
.page-title { align-items: center; margin-bottom: 6px; }
.page-title p { margin: -7px 0 13px; max-width: 900px; line-height: 1.5; }
.page-title > .btn { flex: 0 0 auto; }
.card, .person-card, .kpi { border-color: var(--border); }
.card { border-radius: 11px; padding: 18px; box-shadow: 0 1px 3px rgba(25,22,58,.055); }
.person-card { border-width: 1px; border-radius: 11px; padding: 16px; box-shadow: 0 1px 3px rgba(25,22,58,.055); }
.kpi { position: relative; overflow: hidden; border-radius: 10px; padding: 16px; box-shadow: 0 1px 2px rgba(25,22,58,.04); }
.kpi::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--brand); opacity: .9; }
.kpi span, .muted, .small { color: var(--muted); }
.kpi span { font-size: .78rem; font-weight: 650; }
.kpi b { color: #272452; font-size: 1.7rem; line-height: 1.18; }
.muted, .small { font-size: .8rem; line-height: 1.5; }
.actions { align-items: center; gap: 8px; margin-top: 14px; }
.actions.end { min-height: 44px; }
.row { gap: 16px; padding: 12px 0; border-bottom-color: #eeedf4; }
.member { gap: 14px; padding: 10px 0; border-top-color: #eeedf4; }
.badge { padding: 5px 8px; font-size: .72rem; line-height: 1.2; }
.badge.blue { background: var(--brand-soft); color: var(--brand-deep); }
.notice { border-color: #dfddeb; background: #f6f5fb; }
.tab { min-height: 40px; border-radius: 7px; color: #4b495d; font-size: .875rem; }
.tab:hover { border-color: #aaa6cc; background: #f8f7fc; }
.tab.active { border-color: var(--brand); background: var(--brand); color: #fff; }
table { border-collapse: separate; border-spacing: 0; width: 100%; }
th { background: #f5f4fa; color: #403b6c; font-size: .78rem; font-weight: 750; text-align: left; }
th, td { padding: 10px 11px; border-bottom: 1px solid #ebeaf1; vertical-align: top; }


/* v1.14.17 — Satın Alma / Sarf Stok / Sabit Kıymet kompakt çalışma görünümü */
.compact-module .page-title { margin-bottom: 10px; gap: 10px; }
.compact-module .page-title h1 { font-size: 1.38rem; line-height: 1.15; margin-bottom: 3px; }
.compact-module .page-title p { font-size: .78rem; line-height: 1.35; margin: 0; }
.compact-module .page-title > .btn { min-height: 34px; padding: 7px 11px; }

.compact-module .card,
.compact-module .person-card { padding: 11px 12px; margin-bottom: 10px; border-radius: 9px; }
.compact-module .card .card { padding: 8px 10px; margin-top: 7px; margin-bottom: 7px; }
.compact-module .card h2 { font-size: 1rem; line-height: 1.2; margin: 0 0 8px; }
.compact-module .card h3 { font-size: .9rem; line-height: 1.2; }
.compact-module .notice,
.compact-module .success,
.compact-module .error { padding: 8px 10px; margin: 7px 0; font-size: .78rem; line-height: 1.4; border-radius: 8px; }

.compact-module .kpis { gap: 8px; margin: 8px 0 10px; }
.compact-module .kpi { min-height: 66px; padding: 9px 10px; border-radius: 8px; }
.compact-module .kpi span { font-size: .69rem; }
.compact-module .kpi b { font-size: 1.28rem; }

.compact-module .grid2,
.compact-module .grid3 { gap: 8px 10px; }
.compact-module label { font-size: .72rem; line-height: 1.25; gap: 4px; }
.compact-module input,
.compact-module select,
.compact-module textarea { min-height: 34px; padding: 6px 8px; font-size: .8rem; border-radius: 7px; }
.compact-module textarea { min-height: 58px; }
.compact-module .btn { min-height: 33px; padding: 6px 10px; font-size: .76rem; border-radius: 7px; }
.compact-module .smallbtn { min-height: 29px; padding: 4px 8px; font-size: .72rem; }
.compact-module .actions { gap: 6px; margin-top: 8px; }
.compact-module .row { gap: 10px; padding: 7px 0; }
.compact-module .member { gap: 9px; padding: 7px 0; }
.compact-module .muted,
.compact-module .small { font-size: .72rem; line-height: 1.35; }
.compact-module .badge { padding: 3px 6px; font-size: .66rem; }

.compact-module details { margin-top: 6px; }
.compact-module summary { font-size: .79rem; padding: 3px 0; cursor: pointer; }
.compact-module .tabs { gap: 5px; margin-bottom: 9px; }
.compact-module .tab { min-height: 34px; padding: 6px 10px; font-size: .77rem; }

.compact-module table { font-size: .76rem; }
.compact-module th { font-size: .69rem; }
.compact-module th,
.compact-module td { padding: 6px 7px; }
.compact-module [style*="max-height:210px"] { max-height: 155px !important; }
.compact-module [style*="max-height:220px"] { max-height: 165px !important; }
.compact-module [style*="max-height:180px"] { max-height: 145px !important; }
.compact-module [style*="max-height:170px"] { max-height: 140px !important; }


.compact-module .compact-quote-supplier {
  max-width: 420px;
  margin-top: 8px;
}
.compact-module .quote-line-head,
.compact-module .quote-line-row {
  display: grid;
  grid-template-columns: minmax(220px,1.5fr) 125px 95px 95px minmax(190px,1fr);
  gap: 7px;
  align-items: center;
}
.compact-module .quote-line-head {
  padding: 0 0 5px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
}
.compact-module .quote-line-row {
  padding: 5px 0;
  border-top: 1px solid #eeedf4;
}
.compact-module .quote-line-row input,
.compact-module .quote-line-row select { width: 100%; }
.compact-module .quote-material { font-size: .78rem; font-weight: 650; }
@media (max-width: 900px) {
  .compact-module .quote-line-head { display:none; }
  .compact-module .quote-line-row {
    grid-template-columns: minmax(0,1fr) minmax(105px,.55fr);
  }
  .compact-module .quote-line-row .quote-material { grid-column:1 / -1; }
}

/* v1.14.17 — Android / telefon kullanım optimizasyonu */
@media (max-width: 900px) {
  #page { padding: 12px 10px 24px; }

  .compact-module .page-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
  }
  .compact-module .page-title > div { min-width: 0; flex: 1; }
  .compact-module .page-title h1 { font-size: 1.16rem; margin: 0 0 2px; }
  .compact-module .page-title p { font-size: .7rem; line-height: 1.25; }
  .compact-module .page-title > .btn {
    width: auto;
    flex: 0 0 auto;
    margin: 0;
    min-height: 34px;
    padding: 6px 9px;
  }

  .compact-module .kpis {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px;
  }
  .compact-module .kpi {
    min-height: 54px;
    padding: 7px 8px;
  }
  .compact-module .kpi b { font-size: 1.05rem; }
  .compact-module .kpi span { font-size: .64rem; }

  .compact-module .card,
  .compact-module .person-card {
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
  }
  .compact-module .card .card {
    padding: 8px;
    margin: 6px 0;
  }

  .compact-module .grid2,
  .compact-module .grid3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
  }
  .compact-module .grid2 > label,
  .compact-module .grid3 > label,
  .compact-module .grid2 > div,
  .compact-module .grid3 > div {
    min-width: 0;
  }

  .compact-module label {
    font-size: .68rem;
    line-height: 1.2;
  }
  .compact-module input,
  .compact-module select,
  .compact-module textarea {
    min-height: 38px;
    padding: 6px 7px;
    font-size: .82rem;
  }

  .compact-module .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
  }
  .compact-module .actions .btn {
    flex: 1 1 140px;
  }

  .compact-module .row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
  }
  .compact-module .row > div { min-width: 0; }
  .compact-module .row > div + div { margin-top: 0; }

  .compact-module .member {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 6px 0;
  }
  .compact-module .member > span:first-child { min-width: 0; }

  .compact-module .tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    gap: 5px;
  }
  .compact-module .tabs::-webkit-scrollbar { display:none; }
  .compact-module .tab {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 32px;
  }

  .compact-module details {
    border: 1px solid #ecebf3;
    border-radius: 8px;
    padding: 6px 8px;
    background: #fff;
  }
  .compact-module details + details { margin-top: 6px; }

  .compact-module .quote-line-row {
    grid-template-columns: minmax(0,1fr) minmax(105px,.72fr);
    gap: 6px;
    padding: 6px 0;
  }
  .compact-module .quote-line-row .quote-material {
    grid-column: 1 / -1;
    font-size: .76rem;
  }
  .compact-module .quote-line-row input,
  .compact-module .quote-line-row select {
    min-height: 36px;
  }

  .compact-module table {
    font-size: .72rem;
    min-width: 620px;
  }
  .compact-module .card > div[style*="overflow:auto"],
  .compact-module details > div[style*="overflow:auto"] {
    -webkit-overflow-scrolling: touch;
  }

  .compact-module [style*="min-width:min(320px,100%)"] { min-width: 0 !important; width: 100%; }

  /* Satın alma talep kalemi kartları */
  .compact-module [data-pkg-mat-results],
  .compact-module #csInResults,
  .compact-module #csTrResults,
  .compact-module #csIssueResults,
  .compact-module #faMatResults {
    max-height: 125px !important;
  }

  /* Sabit kıymet kartlarını daha kısa tut */
  .compact-module .card .badge {
    align-self: flex-start;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .compact-module .grid2,
  .compact-module .grid3 {
    grid-template-columns: minmax(0,1fr);
  }

  /* Ancak kısa alanlarda iki sütun kullan */
  .compact-module .compact-quote-supplier { max-width: none; }
  .compact-module .quote-line-row {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .compact-module .quote-line-row .quote-material { grid-column: 1 / -1; }

  .compact-module .actions .btn {
    flex: 1 1 calc(50% - 6px);
  }

  .compact-module .member {
    grid-template-columns: minmax(0,1fr);
    align-items: stretch;
  }
  .compact-module .member > span:last-child {
    width: 100%;
  }

  .compact-module .notice { font-size: .7rem; }

  .compact-module .page-title p {
    max-width: 92%;
  }
}

@media (max-width: 620px) {
  .compact-module .page-title h1 { font-size: 1.22rem; }
  .compact-module .card,
  .compact-module .person-card { padding: 12px; }
  .compact-module input,
  .compact-module select,
  .compact-module textarea { min-height: 40px; font-size: .875rem; }
  .compact-module .btn { min-height: 38px; font-size: .82rem; }
  .compact-module .smallbtn { min-height: 35px; }
  .compact-module .kpi { min-height: 62px; }
}

@media (max-width: 1100px) {
  .topbar { align-items: flex-start; }
  .top-actions { width: 100%; }
}

@media (max-width: 900px) {
  .topbar { min-height: 0; padding: 10px 12px; }
  .app-brand { width: 100%; }
  .top-actions { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .bodygrid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  aside { position: static; width: 100%; height: auto; overflow: visible; padding: 7px 8px; }
  aside nav { gap: 5px; padding-bottom: 1px; }
  nav button { min-height: 40px; padding: 9px 11px; }
  nav button.active { box-shadow: inset 0 -3px 0 var(--brand); }
  #page { padding: 18px 14px 32px; }
  .side-note { display: none; }
}

@media (max-width: 620px) {
  :root { font-size: 16px; }
  .app-brand-copy { align-items: flex-start; flex-direction: column; gap: 2px; }
  .app-brand-copy > b { font-size: .95rem; }
  .version { margin-left: 0; padding: 2px 6px; }
  .top-actions select { min-width: 200px; }
  .login { padding: 16px; }
  .login-card { padding: 24px 20px; }
  .page-title { display: block; }
  .page-title > .btn { width: 100%; margin: 0 0 12px; }
  .grid2, .grid3, .kpis { grid-template-columns: minmax(0, 1fr); }
  .card, .person-card { padding: 15px; }
  .actions.end { justify-content: stretch; }
  .actions.end > .btn { flex: 1 1 auto; }
  .row { display: block; }
  .row > div + div { margin-top: 8px; }
}

@media (max-width: 900px) {
  .bodygrid {
    grid-template-columns: minmax(0, 1fr);
  }

  aside nav {
    min-width: 0;
    max-width: 100%;
  }
}



/* v1.14.17 — Genel kompakt tasarım taraması */
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}
#page.compact-module{padding-top:18px}
#page.compact-module > .page-title + .notice{margin-top:4px}
#page.compact-module .page-title + .tabs{margin-top:2px}
#page.compact-module .card > h2:first-child{margin-top:0}
#page.compact-module .card > h3:first-child{margin-top:0}
#page.compact-module .flow{gap:6px;margin-top:8px}
#page.compact-module .flow span{padding:6px 8px;border-radius:7px;font-size:.74rem}
#page.compact-module ul{line-height:1.55;margin-top:7px;margin-bottom:7px}
#page.compact-module hr{margin:9px 0;border:0;border-top:1px solid #ecebf3}
#page.compact-module table td .btn{white-space:nowrap}
#page.compact-module .person-card .person-doc-box{margin-top:8px;padding:8px}
#page.compact-module .person-card .person-doc-title{padding-bottom:5px}
@media(max-width:900px){
 .grid4{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 #page.compact-module{padding:10px 9px 22px}
 #page.compact-module .card{margin-bottom:7px}
 #page.compact-module .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 #page.compact-module .page-title .btn{flex:0 0 auto;width:auto;margin:0}
 #page.compact-module .page-title{display:flex}
}
@media(max-width:620px){
 .grid4{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 #page.compact-module .page-title{display:flex;align-items:flex-start}
 #page.compact-module .page-title h1{font-size:1.18rem}
 #page.compact-module .page-title p{max-width:100%;font-size:.7rem}
 #page.compact-module .page-title > .btn{width:auto;min-width:72px;padding-left:9px;padding-right:9px}
 #page.compact-module .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 #page.compact-module .kpi{min-width:0}
 #page.compact-module .kpi b{overflow-wrap:anywhere}
}

/* v1.14.17 — Ekip Dağılımı: sabit boşta havuzu + sığan ekip ızgarası */
.crewboard-help{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:8px 0 10px}.crewboard-step{background:#f8fafc;border:1px solid #d0d5dd;border-radius:10px;padding:8px 10px;font-weight:750;font-size:12px}.crewboard-step b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#393185;color:white;margin-right:6px}.crewboard-toolbar{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:9px}.crewboard-toolbar input{max-width:380px}.crewboard-layout{display:grid;grid-template-columns:minmax(245px,270px) minmax(0,1fr);gap:10px;align-items:start}.crewboard-free-pane{position:sticky;top:142px;z-index:7;align-self:start}.crewboard-team-pane{min-width:0}.crewboard-team-note{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:0 0 7px;color:#667085;font-size:11px}.crewboard-team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:9px;align-items:start}.crewboard-column{min-width:0;width:100%;background:#f8fafc;border:2px solid #d0d5dd;border-radius:12px;transition:.15s ease;min-height:245px;overflow:hidden}.crewboard-column.free{border-color:#7f8a9a;background:#f2f4f7;box-shadow:0 7px 20px #10182814}.crewboard-column.dragover,.crewboard-column.target{border-color:#393185;box-shadow:0 0 0 3px #39318522;background:#f5f3ff}.crewboard-colhead{padding:9px 9px 8px;border-bottom:1px solid #e4e7ec;background:white;position:sticky;top:0;z-index:2}.crewboard-coltitle-row{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.crewboard-coltitle{font-size:13px;font-weight:850;line-height:1.2;min-width:0}.crewboard-order-actions{display:flex;gap:3px;flex:0 0 auto}.crewboard-orderbtn{border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:7px;padding:3px 6px;font-size:9px;font-weight:850;cursor:pointer;line-height:1.2}.crewboard-orderbtn:hover{border-color:#393185;color:#393185}.crewboard-colmeta{font-size:10px;color:#667085;margin-top:3px;white-space:normal}.crewboard-body{padding:7px;min-height:175px;max-height:410px;overflow-y:auto;overscroll-behavior:contain;cursor:pointer}.crewboard-column.free .crewboard-body{max-height:calc(100dvh - 285px);min-height:240px}.crewboard-section-title{font-size:10px;font-weight:850;color:#667085;text-transform:uppercase;letter-spacing:.04em;margin:6px 2px}.crewboard-item{position:relative;display:flex;gap:7px;align-items:center;background:white;border:1px solid #d0d5dd;border-radius:9px;padding:7px;margin-bottom:5px;cursor:pointer;user-select:none;touch-action:manipulation;box-shadow:0 1px 2px #1018280a}.crewboard-item:hover{border-color:#98a2b3}.crewboard-item.selected{border:2px solid #393185;background:#f5f3ff;padding:6px}.crewboard-item.lead{border-color:#f5b942;background:#fffcf2}.crewboard-item-icon{font-size:17px;line-height:1;flex:0 0 20px;text-align:center}.crewboard-item-main{min-width:0;flex:1}.crewboard-item-main b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.crewboard-item-main small{display:block;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px;font-size:9px}.crewboard-item-actions{display:flex;gap:3px;align-items:center}.crewboard-leadbtn{border:1px solid #f5b942;background:#fff9e8;color:#8a5a00;border-radius:7px;padding:4px 5px;font-size:8px;font-weight:850;cursor:pointer;white-space:nowrap}.crewboard-selection{position:sticky;top:72px;z-index:8;border:2px solid #393185;background:#f5f3ff;border-radius:10px;padding:8px 10px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;box-shadow:0 5px 18px #10182818}.crewboard-selection.idle{border-color:#d0d5dd;background:#fff;box-shadow:none}.crewboard-empty{color:#98a2b3;font-size:10px;text-align:center;padding:12px 6px;border:1px dashed #d0d5dd;border-radius:8px}.crewboard-tab.active{background:#393185;color:#fff;border-color:#393185}.crewboard-notready{font-size:8px;font-weight:850;color:#b42318;background:#fef3f2;border-radius:999px;padding:2px 4px;white-space:nowrap}.crewboard-message{margin:5px 0 8px}.crewboard-desthint{font-size:10px;font-weight:800;color:#393185;margin-top:4px;display:none}.crewboard-column.target .crewboard-desthint{display:block}
@media(max-width:1100px){.crewboard-layout{grid-template-columns:240px minmax(0,1fr)}.crewboard-team-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}}
@media(max-width:900px){.crewboard-help{grid-template-columns:1fr 1fr 1fr}.crewboard-selection{position:static}.crewboard-layout{grid-template-columns:1fr}.crewboard-free-pane{position:sticky;top:128px;z-index:7}.crewboard-column.free .crewboard-body{max-height:190px;min-height:120px}.crewboard-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crewboard-toolbar input{max-width:none;flex:1 1 100%}.crewboard-body{min-height:150px;max-height:330px}.crewboard-team-note{margin-top:2px}.crewboard-step{font-size:10px;padding:7px}.crewboard-item{min-height:43px}}
@media(max-width:620px){.crewboard-help{grid-template-columns:1fr}.crewboard-free-pane{top:126px}.crewboard-team-grid{grid-template-columns:1fr}.crewboard-column.free .crewboard-body{max-height:165px}.crewboard-selection{display:block}.crewboard-selection .btn{margin-top:6px;width:100%}.crewboard-team-note{display:block}.crewboard-team-note span{display:block;margin-top:3px}.crewboard-orderbtn{padding:4px 7px;font-size:9px}}


/* v1.14.17 — Ekip Dağılımı içinde sade yeni ekip oluşturma */
.crew-create-panel{padding:0 !important;overflow:hidden;margin-bottom:10px}
.crew-create-panel>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;font-weight:850;background:#fff}
.crew-create-panel>summary::-webkit-details-marker{display:none}
.crew-create-panel>summary::after{content:'AÇ';font-size:10px;font-weight:850;color:#393185;border:1px solid #c7c2ee;border-radius:999px;padding:3px 7px}
.crew-create-panel[open]>summary::after{content:'KAPAT'}
.crew-create-panel[open]>summary{border-bottom:1px solid #ecebf3;background:#faf9ff}
.crew-create-body{padding:9px 11px 10px}
@media(max-width:620px){.crew-create-panel>summary{padding:8px 9px}.crew-create-body{padding:8px 9px 9px}}

/* v1.14.17 — Ekip Başı günlük raporu: kompakt telefon/saha görünümü */
#page.crew-report-compact .page-title { margin-bottom: 7px; }
#page.crew-report-compact #opEditor > .card { border-width: 1px !important; }
#page.crew-report-compact #opEditor h3 {
  margin: 12px 0 5px !important;
  font-size: .88rem;
  line-height: 1.2;
}
#page.crew-report-compact #opEditor .memberlist {
  margin-top: 6px;
  border: 1px solid #ecebf3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
#page.crew-report-compact #opEditor .memberlist > .member {
  margin: 0;
  padding: 6px 8px;
  border-top: 1px solid #f0eff5;
}
#page.crew-report-compact #opEditor .memberlist > .member:first-child { border-top: 0; }
#page.crew-report-compact #opEditor .memberlist .grid2,
#page.crew-report-compact #opEditor .memberlist .grid3 {
  margin: 5px 0 0;
  gap: 6px;
}
#page.crew-report-compact #opEditor .card[style*="background:#f8fafc"] {
  padding: 8px 9px;
  margin: 6px 0 !important;
}
#page.crew-report-compact #opEditor .card[style*="background:#f8fafc"] .small { line-height: 1.3; }
#page.crew-report-compact #opEditor .actions[style*="margin-top:18px"] { margin-top: 10px !important; }
#page.crew-report-compact #opList .card { padding-top: 9px; padding-bottom: 9px; }
#page.crew-report-compact #opList .grid2 { margin-top: 6px !important; }
#page.crew-report-compact #opList .actions { margin-top: 7px; }

@media (max-width: 900px) {
  #page.crew-report-compact #opEditor > .card { padding: 9px; }
  #page.crew-report-compact #opEditor h2 { font-size: .94rem; }
  #page.crew-report-compact #opEditor h3 { font-size: .82rem; }
  #page.crew-report-compact #opEditor .memberlist > .member { padding: 5px 7px; }
  #page.crew-report-compact #opEditor .memberlist .grid2 {
    grid-template-columns: minmax(0,1.25fr) minmax(78px,.75fr);
  }
  #page.crew-report-compact #opEditor .memberlist .grid3 {
    grid-template-columns: minmax(105px,1.15fr) minmax(74px,.7fr) minmax(92px,1fr);
  }
  #page.crew-report-compact #opEditor .memberlist input,
  #page.crew-report-compact #opEditor .memberlist select {
    min-height: 36px;
    padding: 5px 6px;
    font-size: .78rem;
  }
  #page.crew-report-compact #opEditor .memberlist label { font-size: .64rem; }
  #page.crew-report-compact #opEditor .memberlist b { font-size: .8rem; }
}
@media (max-width: 360px) {
  #page.crew-report-compact #opEditor .memberlist .grid3 {
    grid-template-columns: minmax(0,1.2fr) minmax(82px,.8fr);
  }
  #page.crew-report-compact #opEditor .memberlist .grid3 > label:nth-child(3) { grid-column: 1 / -1; }
}


/* v1.14.45 — Önerilerde silme yerine Yapıldı / Geri Aç durumu */
.filter-kpi{appearance:none;-webkit-appearance:none;width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer;transition:.15s ease;box-shadow:0 1px 2px #10182808}
.filter-kpi:hover{border-color:#98a2b3;transform:translateY(-1px)}
.filter-kpi.active{border-color:var(--blue);background:var(--brand-soft);box-shadow:0 0 0 2px var(--brand)22}
.equipment-list-item{padding:0;overflow:hidden}
.equipment-list-item>summary{list-style:none;cursor:pointer;padding:12px 14px;display:grid;grid-template-columns:minmax(220px,1.35fr) minmax(260px,1fr) auto;gap:12px;align-items:center;user-select:none}
.equipment-list-item>summary::-webkit-details-marker{display:none}
.equipment-list-item[open]>summary{background:#f8fafc;border-bottom:1px solid #eef0f4}
.equipment-summary-main{min-width:0}.equipment-summary-title{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.equipment-summary-title b{font-size:14px}.equipment-summary-sub{margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.equipment-summary-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:12px;color:var(--muted)}
.equipment-summary-status{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.equipment-chevron{font-size:16px;color:#667085;display:inline-block;transition:transform .15s ease;margin-left:2px}.equipment-list-item[open] .equipment-chevron{transform:rotate(180deg)}
.equipment-detail{padding:13px 14px 14px}.equipment-filter-info{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px}.equipment-filter-info .actions{margin-top:0}
.comp-edit-panel{margin:0 0 9px;padding:10px;background:#fffcf5;border:1px solid #fedf89;border-radius:9px}.comp-history-row+.comp-history-row{border-top:1px solid #eef0f4}.comp-history-row>.member{border-top:0}
@media(max-width:760px){.equipment-list-item>summary{grid-template-columns:1fr;gap:6px}.equipment-summary-status{justify-content:flex-start}.equipment-summary-sub{white-space:normal}.equipment-summary-meta{gap:6px 10px}}

/* v1.14.54 — Gruplu menü + mobil alt navigasyon */
.nav-pinned{
  display:grid;
  gap:4px;
  padding-bottom:8px;
  margin-bottom:6px;
  border-bottom:1px solid var(--brand-line);
}
.nav-group{
  margin:3px 0;
}
.nav-group > summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:38px;
  padding:8px 10px;
  border-radius:7px;
  cursor:pointer;
  color:#666477;
  font-size:.76rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
  user-select:none;
}
.nav-group > summary::-webkit-details-marker{display:none}
.nav-group > summary:hover{
  background:#f6f5fb;
  color:var(--brand-deep);
}
.nav-chevron{
  font-size:15px;
  transition:transform .15s ease;
}
.nav-group[open] .nav-chevron{
  transform:rotate(180deg);
}
.nav-group-items{
  display:grid;
  gap:3px;
  padding:2px 0 6px 7px;
}
.nav-group-items button{
  min-height:39px;
}
.mobile-bottom-nav,
.mobile-quick-overlay{
  display:none;
}

@media(max-width:900px){
  body{
    padding-bottom:calc(72px + env(safe-area-inset-bottom,0px));
  }

  .bodygrid > aside{
    display:none;
    position:fixed;
    z-index:80;
    left:10px;
    right:10px;
    top:auto;
    bottom:calc(76px + env(safe-area-inset-bottom,0px));
    height:auto;
    max-height:70dvh;
    overflow:auto;
    padding:12px;
    border:1px solid var(--brand-line);
    border-radius:14px;
    background:#fff;
    box-shadow:0 18px 55px rgba(30,24,82,.22);
  }

  .bodygrid > aside.mobile-menu-open{
    display:block;
  }

  .bodygrid > aside nav{
    display:block;
    overflow:visible;
  }

  .nav-pinned{
    display:grid;
  }

  .nav-group-items{
    display:grid;
  }

  .mobile-bottom-nav{
    position:fixed;
    z-index:70;
    left:0;
    right:0;
    bottom:0;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    min-height:66px;
    padding:5px max(5px,env(safe-area-inset-right,0px))
      calc(5px + env(safe-area-inset-bottom,0px))
      max(5px,env(safe-area-inset-left,0px));
    border-top:1px solid var(--brand-line);
    background:rgba(255,255,255,.97);
    box-shadow:0 -4px 18px rgba(30,24,82,.10);
    backdrop-filter:blur(10px);
  }

  .mobile-bottom-nav button{
    border:0;
    background:transparent;
    color:#686579;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:1px;
    min-width:0;
    min-height:52px;
    padding:3px 2px;
    border-radius:10px;
    font-weight:700;
  }

  .mobile-bottom-nav button > span{
    font-size:20px;
    line-height:1.1;
  }

  .mobile-bottom-nav button small{
    font-size:10px;
    line-height:1.15;
    white-space:nowrap;
  }

  .mobile-bottom-nav button.active{
    color:var(--brand-deep);
    background:var(--brand-soft);
  }

  .mobile-bottom-nav .mobile-add{
    width:58px;
    height:58px;
    min-height:58px;
    justify-self:center;
    align-self:start;
    margin-top:-17px;
    border:4px solid #fff;
    border-radius:50%;
    background:var(--brand);
    color:#fff;
    box-shadow:0 5px 15px rgba(45,39,110,.28);
  }

  .mobile-bottom-nav .mobile-add span{
    font-size:28px;
    line-height:.8;
  }

  .mobile-bottom-nav .mobile-add small{
    margin-top:4px;
    color:#fff;
  }

  .mobile-quick-overlay{
    position:fixed;
    z-index:100;
    inset:0;
    align-items:flex-end;
    justify-content:center;
    padding:16px 12px calc(12px + env(safe-area-inset-bottom,0px));
    background:rgba(20,18,40,.34);
  }

  .mobile-quick-overlay.open{
    display:flex;
  }

  .mobile-quick-sheet{
    width:min(560px,100%);
    max-height:76dvh;
    overflow:auto;
    padding:16px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 22px 60px rgba(20,16,68,.26);
  }

  .mobile-quick-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
  }

  .mobile-quick-head > div > b{
    color:var(--brand-deep);
    font-size:1.1rem;
  }

  .mobile-quick-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
  }

  .mobile-quick-item{
    display:flex;
    align-items:center;
    gap:10px;
    min-height:62px;
    padding:12px;
    border:1px solid var(--brand-line);
    border-radius:12px;
    background:#fff;
    color:#343148;
    text-align:left;
  }

  .mobile-quick-item span{
    display:grid;
    place-items:center;
    flex:0 0 36px;
    width:36px;
    height:36px;
    border-radius:10px;
    background:var(--brand-soft);
    font-size:18px;
  }

  #page{
    padding-bottom:24px;
  }
}

@media(max-width:430px){
  .mobile-quick-grid{
    grid-template-columns:1fr;
  }
}


/* v1.14.55 — Ana Sayfa / Bugün UX */

.side-brand{
  width:84px!important;
  max-height:128px;
  object-fit:contain;
  margin:0 auto 10px!important;
}

.nav-group.active-group>summary{
  color:var(--brand-deep);
  background:#f6f5fb;
  box-shadow:inset 3px 0 0 var(--brand);
}

.today-dashboard{
  margin-bottom:18px;
}

.today-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:18px 20px;
  margin-bottom:10px;
  border:1px solid var(--brand-line);
  border-radius:14px;
  background:linear-gradient(
    135deg,
    #fff 0%,
    #f7f6fc 100%
  );
  box-shadow:0 1px 3px rgba(25,22,58,.05);
}

.today-eyebrow{
  display:block;
  margin-bottom:4px;
  color:var(--brand);
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.055em;
}

.today-header h2{
  margin:0;
  font-size:1.35rem;
  color:var(--brand-deep);
}

.today-context{
  margin-top:4px;
  color:var(--muted);
  font-size:.84rem;
}

.today-kpis{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(145px,1fr));
  gap:8px;
  margin:10px 0 12px;
}

.today-kpi{
  min-height:76px;
  padding:12px 14px;
  border:1px solid var(--brand-line);
  border-radius:11px;
  background:#fff;
  color:var(--text);
  text-align:left;
  box-shadow:0 1px 2px rgba(25,22,58,.04);
}

button.today-kpi{
  cursor:pointer;
}

button.today-kpi:hover{
  border-color:var(--brand);
  background:var(--brand-soft);
}

.today-kpi span{
  display:block;
  color:var(--muted);
  font-size:.76rem;
  font-weight:700;
}

.today-kpi b{
  display:block;
  margin-top:3px;
  color:var(--brand-deep);
  font-size:1.6rem;
  line-height:1;
}

.today-kpi.danger{
  border-color:#f4b9b4;
  background:#fff8f7;
}

.today-kpi.danger b{
  color:#b42318;
}

.today-kpi.warning{
  border-color:#fedf89;
  background:#fffdf5;
}

.today-kpi.warning b{
  color:#b54708;
}

.today-section-title{
  margin:14px 0 7px;
  color:#4c4960;
  font-size:.78rem;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.today-list{
  display:grid;
  gap:7px;
}

.today-row{
  width:100%;
  display:grid;
  grid-template-columns:
    42px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  min-height:68px;
  padding:11px 13px;
  border:1px solid var(--border);
  border-radius:11px;
  background:#fff;
  color:var(--text);
  text-align:left;
  cursor:pointer;
  box-shadow:0 1px 2px rgba(25,22,58,.035);
}

.today-row:hover{
  border-color:var(--brand);
  background:#faf9fd;
}

.today-row.critical{
  border-left:4px solid #d92d20;
}

.today-row-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:10px;
  background:var(--brand-soft);
  font-size:18px;
}

.today-row-copy{
  min-width:0;
}

.today-row-copy b{
  display:block;
  color:#343148;
  font-size:.9rem;
}

.today-row-copy small{
  display:block;
  margin-top:2px;
  overflow:hidden;
  color:var(--muted);
  font-size:.76rem;
  line-height:1.4;
  text-overflow:ellipsis;
}

.today-row-open{
  color:var(--brand);
  font-size:.76rem;
  font-weight:800;
  white-space:nowrap;
}

.today-clear{
  display:flex;
  align-items:center;
  gap:11px;
  padding:13px 15px;
  border:1px solid #abefc6;
  border-radius:11px;
  background:#f6fef9;
}

.today-clear>span{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#dcfae6;
  color:#067647;
  font-size:18px;
  font-weight:900;
}

.today-clear b{
  display:block;
  color:#067647;
}

.today-clear small{
  display:block;
  margin-top:1px;
  color:#477663;
}

.today-quick-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.today-quick{
  min-height:40px;
  padding:8px 12px;
  border:1px solid var(--brand-line);
  border-radius:9px;
  background:#fff;
  color:var(--brand-deep);
  font-weight:750;
  cursor:pointer;
}

.today-quick:hover{
  border-color:var(--brand);
  background:var(--brand-soft);
}

.today-quick.primary{
  border-color:var(--brand);
  background:var(--brand);
  color:#fff;
}

.today-quick.primary:hover{
  background:var(--brand-hover);
}

.today-divider{
  display:flex;
  align-items:center;
  gap:10px;
  margin:20px 0 5px;
  color:#8a8798;
  font-size:.72rem;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.today-divider:before,
.today-divider:after{
  content:"";
  height:1px;
  background:#e5e3ec;
  flex:1;
}

@media(max-width:620px){

  .today-header{
    padding:15px;
  }

  .today-kpis{
    grid-template-columns:1fr 1fr;
  }

  .today-row{
    grid-template-columns:
      38px minmax(0,1fr);
  }

  .today-row-open{
    display:none;
  }

  .today-row-icon{
    width:34px;
    height:34px;
  }

  .today-quick-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .today-quick{
    width:100%;
  }
}

@media(max-width:390px){

  .today-kpis,
  .today-quick-actions{
    grid-template-columns:1fr;
  }
}


/* v1.14.57 — Bildirim satırları */
.notification-item{
  gap:12px;
  border-radius:9px;
  padding-left:9px;
  padding-right:9px;
}

.notification-item[role="button"]{
  cursor:pointer;
}

.notification-item[role="button"]:hover{
  background:#f8f7fc;
}

.notification-unread{
  background:#fafaff;
  border-left:3px solid var(--brand);
}

.notification-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
  flex:0 0 auto;
}

@media(max-width:620px){
  .notification-actions{
    margin-top:8px;
    justify-content:flex-start;
  }
}



@media(max-width:620px){
  #page .office-task-section{
    border:0;
    box-shadow:none;
    border-radius:0;
    background:transparent;
    margin-bottom:14px;
  }
  #page .office-task-section-header{
    padding:10px 4px !important;
    background:transparent !important;
    border-bottom:2px solid var(--border);
  }
  #page .office-task-row{
    grid-template-columns:34px minmax(0,1fr) !important;
    gap:7px 8px !important;
    align-items:start !important;
    padding:12px 4px !important;
  }
  #page .office-task-owner,
  #page .office-task-due,
  #page .office-task-actions{
    grid-column:2;
  }
  #page .office-task-owner{
    margin-top:2px;
  }
  #page .office-task-due{
    margin-top:-2px;
  }
  #page .office-task-actions{
    justify-content:flex-start !important;
    margin-top:3px;
  }
  #page .office-task-actions select{
    width:100% !important;
    min-width:0 !important;
    max-width:230px;
  }
  #page .office-task-actions .btn{
    margin:0;
  }
}


@media(max-width:620px){
  #page .office-task-filters{
    padding:12px !important;
    border:1px solid var(--border) !important;
    border-radius:12px !important;
    background:#fff !important;
    box-shadow:0 1px 2px #1018280a !important;
    margin-bottom:14px !important;
  }
  #page .office-task-filter-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:10px;
  }
  #page .office-task-filters .grid3{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:9px !important;
    margin-bottom:0 !important;
  }
  #page .office-task-filters select,
  #page .office-task-filters input{
    width:100% !important;
    min-width:0 !important;
  }
}


.office-task-kpi{
  appearance:none;
  text-align:left;
  cursor:pointer;
  color:inherit;
  font:inherit;
}
.office-task-kpi:hover{
  border-color:#9aa7c7;
}
.office-task-kpi.active{
  border-color:var(--blue);
  box-shadow:0 0 0 2px rgba(20,89,217,.10);
  background:#f5f8ff;
}
.route-km-label{font-weight:800;font-size:11px;white-space:nowrap;padding:3px 6px;border-radius:7px;box-shadow:0 1px 4px #0002}.route-km-div{background:transparent;border:0}.route-km-div span{display:inline-block;transform:translate(-50%,-130%);background:#fff;color:#101828;border:2px solid #1459d9;border-radius:7px;padding:3px 6px;font-size:11px;font-weight:800;white-space:nowrap;box-shadow:0 1px 5px #0003}
.pipeline-toolbar{display:flex;gap:7px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:thin}
.pipeline-chip{flex:0 0 auto;border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800;cursor:pointer}
.pipeline-chip.active{color:#fff;border-color:transparent;box-shadow:0 2px 8px #10182820}
.pipeline-matrix-wrap{overflow:auto;border:1px solid #e4e7ec;border-radius:12px;background:#fff}
.pipeline-matrix{min-width:1180px}
.pipeline-axis,.pipeline-matrix-row{display:grid;grid-template-columns:150px 1fr;min-height:38px}
.pipeline-axis{position:sticky;top:0;z-index:4;background:#f8fafc;border-bottom:1px solid #e4e7ec}
.pipeline-row-label{position:sticky;left:0;z-index:3;background:#fff;border-right:1px solid #e4e7ec;padding:9px 10px;font-size:12px;font-weight:800;display:flex;align-items:center;gap:7px}
.pipeline-axis .pipeline-row-label{background:#f8fafc;z-index:5}
.pipeline-track{position:relative;min-height:38px;background:repeating-linear-gradient(to right,#fff 0,#fff calc(10% - 1px),#edf0f5 calc(10% - 1px),#edf0f5 10%)}
.pipeline-seg{position:absolute;top:9px;height:20px;border-radius:5px;min-width:4px;box-shadow:inset 0 0 0 1px #ffffff80}
.pipeline-point{position:absolute;top:9px;width:10px;height:20px;border-radius:50%;transform:translateX(-50%);border:2px solid #fff;box-shadow:0 0 0 1px #98a2b3}
.pipeline-axis-label{position:absolute;top:10px;transform:translateX(-50%);font-size:10px;font-weight:700;color:#667085;white-space:nowrap}
.pipeline-legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex:0 0 auto}
.pipeline-status-card{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}
.pipeline-status-card>div{border:1px solid #e4e7ec;border-radius:10px;padding:10px;background:#f8fafc}
.pipeline-status-card span{display:block;font-size:11px;color:#667085}.pipeline-status-card b{font-size:18px}
@media(max-width:700px){.pipeline-status-card{grid-template-columns:1fr 1fr}.pipeline-matrix{min-width:980px}.pipeline-axis,.pipeline-matrix-row{grid-template-columns:120px 1fr}.pipeline-row-label{font-size:11px}}

.map-layerbar{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:8px 0 10px}
.map-layer-btn{border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:750;cursor:pointer}
.map-layer-btn.active{background:var(--brand-soft);color:var(--brand-deep);border-color:var(--brand-line)}
.map-layer-btn.general.active{background:#101828;color:#fff;border-color:#101828}
.pipeline-row-main{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.pipeline-row-main small{font-size:9px;color:#667085;font-weight:650;margin-top:3px}
.pipeline-seg{cursor:pointer;transition:filter .12s,transform .12s}
.pipeline-seg:hover{filter:brightness(.92);transform:scaleY(1.12)}
.pipeline-map-hint{display:flex;gap:8px;align-items:flex-start;padding:9px 10px;background:#f8fafc;border:1px solid #e4e7ec;border-radius:9px;font-size:12px;color:#475467;margin-top:8px}
.pipeline-map-hint b{color:#101828}
.asset-marker{background:#fff;border:2px solid #101828;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:10px;font-weight:900;box-shadow:0 2px 8px #10182830}
/* Makine sayfası sekmeleri (2.1.3) */
#eqWrap.eqt-ozet .eqs:not(.eqs-ozet){display:none}
#eqWrap.eqt-makine .eqs:not(.eqs-makine){display:none}
#eqWrap.eqt-dagilim .eqs:not(.eqs-dagilim){display:none}
#eqWrap.eqt-ariza .eqs:not(.eqs-ariza){display:none}
#eqWrap.eqt-muayene .eqs:not(.eqs-muayene){display:none}
#eqWrap.eqt-sayac .eqs:not(.eqs-sayac){display:none}
#eqWrap.eqt-kiralik .eqs:not(.eqs-kiralik){display:none}
#eqWrap.eqt-taseron .eqs:not(.eqs-taseron){display:none}
#eqWrap.eqt-rapor .eqs:not(.eqs-rapor){display:none}
.eq-tabs{padding-bottom:2px}
.eq-ozet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.eq-ozet-card{margin-bottom:0}.eq-ozet-rows{display:grid;gap:4px;margin-top:8px}.eq-ozet-row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;width:100%;text-align:left;border:1px solid var(--border);border-radius:9px;background:#fff;padding:8px 10px;cursor:pointer;font:inherit}.eq-ozet-row:hover{background:#f8fafc}.eq-ozet-row>span:last-child{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.eq-ozet-desc{max-width:220px}.eq-ariza-form{border-left:4px solid #b42318}@media(max-width:900px){.eq-ozet-grid{grid-template-columns:1fr}}

/* v2.5.0 — Görevlerim: hızlı ekleme, satır rozetleri, görev paneli, tekrarlayan görevler */
#page .office-task-row{display:grid;grid-template-columns:38px minmax(0,1fr) 150px 120px auto;gap:10px;align-items:center;padding:10px 8px;border-bottom:1px solid var(--border);cursor:pointer}
#page .office-task-row:hover{background:#fafafe}
#page .office-task-row.is-done{opacity:.65}
#page .office-task-row.is-done .ot-title-line b{text-decoration:line-through}
#page .office-task-row.is-focus{outline:3px solid #7c3aed;outline-offset:-3px;background:#faf5ff}
#page .office-task-section{padding:0;overflow:hidden}
#page .office-task-section-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:rgba(127,127,127,.06);cursor:pointer}
.ot-title-line{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.ot-sub{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#page .office-task-actions{display:flex;gap:5px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.ot-circle{width:28px;height:28px;border-radius:50%;border:2px solid #98a2b3;background:#fff;display:inline-grid;place-items:center;font-weight:800;color:#fff;cursor:pointer;padding:0}
.ot-circle:hover{border-color:#027a48}
.ot-circle.done{background:#12b76a;border-color:#12b76a}
.ot-circle.static{cursor:default;border-style:dashed}
.ot-quick{padding:12px}
.ot-quick-row{display:grid;grid-template-columns:minmax(0,1fr) 150px 110px auto auto;gap:8px;align-items:center}
.ot-quick-row select{min-width:150px}
.ot-quick details{margin-top:8px}
.ot-quick summary{cursor:pointer;color:var(--muted)}
.ot-x{border:0;background:transparent;color:#98a2b3;cursor:pointer;font-size:13px;padding:2px 6px}
.ot-x:hover{color:var(--danger)}
#page .office-task-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}
body.ot-panel-open{overflow:hidden}
.ot-panel{position:fixed;inset:0;z-index:200;background:rgba(16,24,40,.45);display:flex;align-items:flex-start;justify-content:center;padding:4vh 12px;overflow:auto}
.ot-panel-box{background:#fff;border-radius:14px;width:min(760px,100%);padding:16px 18px;box-shadow:0 20px 60px #10182840}
.ot-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.ot-panel-head h2{margin:2px 0 8px;font-size:19px;word-break:break-word}
.ot-panel-meta{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin-bottom:8px}
.ot-desc{white-space:pre-wrap;background:#f8fafc;border-radius:9px;padding:10px;margin:6px 0}
.ot-status-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ot-edit{margin-top:10px;border:1px solid var(--border);border-radius:10px;padding:8px 10px}
.ot-edit summary{cursor:pointer;font-weight:700}
.ot-block{border-top:1px solid var(--border);margin-top:12px;padding-top:10px}
.ot-block-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.ot-check{display:flex;align-items:center;gap:8px;padding:5px 0;border-bottom:1px dashed #eef0f4}
.ot-check label{display:flex;align-items:center;gap:8px;flex:1;font-weight:500;cursor:pointer;margin:0}
.ot-check label input{width:18px;height:18px;margin:0;flex:0 0 auto}
.ot-check.done label span{text-decoration:line-through;color:var(--muted)}
.ot-inline-add{display:flex;gap:6px;margin-top:8px}
.ot-stream{max-height:42vh;overflow:auto;display:flex;flex-direction:column;gap:6px;padding:2px}
.ot-msg{background:#f2f4f7;border-radius:10px;padding:8px 10px;font-size:14px;color:var(--text);white-space:pre-wrap}
.ot-msg-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:2px}
.ot-event{padding:2px 4px}
.ot-event span{white-space:nowrap}
.ot-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px;align-items:end}
.ot-weekdays{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:10px}
.ot-day{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--border);border-radius:999px;padding:5px 9px;font-weight:600;cursor:pointer}
.ot-day input{width:auto;margin:0}
.ot-template{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #eef0f4}
@media(max-width:620px){
  .ot-quick-row{grid-template-columns:1fr 1fr}
  .ot-quick-row #otqTitle{grid-column:1/-1}
  .ot-quick-row select{grid-column:1;min-width:0}
  .ot-quick-row .btn{grid-column:2}
  #page .office-task-kpis{grid-template-columns:repeat(5,minmax(80px,1fr));overflow-x:auto;gap:6px}
  #page .office-task-actions [data-ot-open]{display:none}
  #page .office-task-kpis .kpi{padding:9px 8px}
  #page .office-task-kpis .kpi b{font-size:20px}
  #page .office-task-kpis .kpi span{font-size:11px;white-space:nowrap}
  .ot-panel{padding:0;align-items:stretch}
  .ot-panel-box{border-radius:0;min-height:100%;width:100%;padding:14px 14px calc(18px + env(safe-area-inset-bottom,0px))}
  .ot-panel-head{position:sticky;top:0;background:#fff;z-index:1;padding-top:calc(4px + env(safe-area-inset-top,0px))}
  .ot-composer{grid-template-columns:1fr}
  .ot-template{display:block}
  .ot-template .actions{margin-top:6px!important}
  .ot-sub{white-space:normal}
}

/* Satın alma: aşama çizgisi, kalem tablosu, yan yana teklif karşılaştırması */
.pr-steps{flex-basis:100%;display:flex;gap:4px;flex-wrap:wrap}
.pr-steps span{flex:1;min-width:64px;text-align:center;font-size:11px;font-weight:700;padding:3px 4px;border-radius:999px;background:#eeedf4;color:var(--muted)}
.pr-steps span.done{background:#ecfdf3;color:#027a48}
.pr-steps span.now{background:var(--brand);color:#fff}
.pr-items,.pr-compare{overflow-x:auto;margin-top:8px;-webkit-overflow-scrolling:touch}
.pr-items table,.pr-compare table{width:100%;border-collapse:collapse;font-size:13px;background:#fff}
.pr-items th,.pr-items td,.pr-compare th,.pr-compare td{border:1px solid var(--border);padding:7px 9px;text-align:left;vertical-align:top}
.pr-items thead th,.pr-compare thead th{background:var(--brand-soft);color:var(--brand-deep)}
.pr-items td:not(:first-child){white-space:nowrap}
.pr-compare tbody th,.pr-compare tfoot th{background:#f8fafc;min-width:160px}
.pr-compare td{min-width:190px}
.pr-compare td.pr-best{background:#f0fdf4}
.pr-compare td.pr-sel{background:var(--brand-soft);box-shadow:inset 0 0 0 2px var(--brand)}
.pr-compare .pr-pick{display:inline-flex;gap:6px;align-items:center;margin-top:6px;cursor:pointer}
.pr-compare .pr-pick input{width:auto;margin:0}
.pr-hist{color:var(--muted);font-weight:400}
.pr-compare th .pr-hist{margin-top:6px;padding-top:5px;border-top:1px dashed var(--border)}
.pr-compare th .pr-hist small{display:block;margin-top:2px}
.pr-up{color:#b42318}
.pr-down{color:#027a48}
.drop-hover{outline:2px dashed #2e90fa!important;outline-offset:2px;background-color:#eff8ff!important}
/* G1 Günlük Rapor: açılır-kapanır bölümler ve telefonda sabit gönder çubuğu */
.rep-bolum{margin-top:12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;overflow:hidden}
.rep-bolum>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:1fr auto;grid-template-areas:"b a" "o a";column-gap:10px;align-items:center;min-height:48px;padding:9px 12px;background:#f8fafc;user-select:none}
.rep-bolum>summary::-webkit-details-marker{display:none}
.rep-bolum>summary::after{grid-area:a;content:'AÇ';font-size:10px;font-weight:850;color:#393185;border:1px solid #c7c2ee;border-radius:999px;padding:4px 8px}
.rep-bolum[open]>summary::after{content:'KAPAT'}
.rep-bolum[open]>summary{border-bottom:1px solid #e2e8f0;background:#faf9ff}
.rep-bolum-baslik{grid-area:b;font-weight:800;color:#1e293b}
.rep-bolum-ozet{grid-area:o;font-size:12px;color:#475569;margin-top:2px;overflow-wrap:anywhere}
.rep-bolum-ic{padding:10px 12px}
@media(max-width:900px){
  /* kartın overflow:hidden'ı sticky'yi bozar; clip kaydırma kabı oluşturmadan köşeleri kırpar */
  .card[data-report-card]:has(.rep-gonder-cubugu){overflow:clip!important}
  .rep-gonder-cubugu{position:sticky;bottom:0;z-index:5;margin:12px -16px -16px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #cbd5e1;box-shadow:0 -6px 16px rgba(15,23,42,.08)}
  .rep-gonder-cubugu [data-rep-submit]{min-height:48px;flex:1 1 100%;order:-1}
}
/* G2 Satın Alma Talebi: malzeme + miktar odaklı form, sabit gönder, talep sahibi özeti */
.pr-ust{border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc;margin:0 0 12px}
.pr-ust>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:8px 12px;font-size:13px;font-weight:700;color:#344054}
.pr-ust>summary::-webkit-details-marker{display:none}
.pr-ust-ozet{min-width:0;overflow-wrap:anywhere}
.pr-ust-degistir{flex:0 0 auto;font-size:11px;font-weight:850;color:#393185;border:1px solid #c7c2ee;border-radius:999px;padding:4px 10px;background:#fff}
.pr-ust[open]>summary .pr-ust-degistir{display:none}
.pr-ust-ic{padding:0 12px 4px}
.pr-son{margin:0 0 10px}
.pr-chips{display:flex;gap:6px;overflow-x:auto;padding:4px 0 2px;-webkit-overflow-scrolling:touch}
.pr-chip{flex:0 0 auto;min-height:44px;border:1px solid #c7c2ee;background:#faf9ff;color:#2d2670;border-radius:999px;padding:6px 12px;font-weight:700;cursor:pointer;white-space:nowrap}
.pr-chip small{color:#667085;font-weight:600}
.pr-ara{position:relative;margin-bottom:10px}
.pr-ara input{min-height:48px;font-size:16px;border:2px solid #c7c2ee}
.pr-sonuclar{margin-top:6px;border:1px solid var(--border);border-radius:10px;max-height:280px;overflow:auto;background:#fff}
.pr-sonuc{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #eef0f4;background:#fff;padding:10px 12px;min-height:48px;cursor:pointer;color:#172033}
.pr-sonuc small{display:block;color:#667085;margin-top:2px}
.pr-sonuc:hover,.pr-sonuc:focus{background:#f5f3ff}
.pr-sonuc-serbest{background:#fffcf2;color:#7a4b00}
.pr-sonuc-yok{padding:10px 12px}
.pr-link{border:0;background:transparent;color:#393185;font-weight:750;padding:8px 2px;min-height:44px;cursor:pointer;text-align:left}
.pr-kalem{display:grid;grid-template-columns:1fr auto;gap:6px 8px;align-items:center;border:1px solid #e4e7ec;border-radius:10px;padding:10px 12px;margin-bottom:8px;background:#fff}
.pr-kalem-ad{min-width:0;overflow-wrap:anywhere}
.pr-kalem-ad small{color:#667085}
.pr-kalem-sil{width:44px;height:44px;border:1px solid #e4e7ec;border-radius:9px;background:#fff;color:#b42318;font-size:16px;cursor:pointer}
.pr-kalem-miktar{grid-column:1/-1;display:flex;gap:8px;align-items:center}
.pr-kalem-miktar input[data-pkg-qty]{max-width:160px;min-height:44px;font-size:16px}
.pr-kalem-miktar input[data-pkg-unit]{max-width:140px;min-height:44px}
.pr-birim{font-weight:750;color:#344054}
.pr-kalem>.pr-link,.pr-kalem-not{grid-column:1/-1}
.pr-bos{padding:6px 2px 10px}
.pr-gonder-cubugu{margin-top:12px}
#page .pr-gonder-cubugu #prCreatePackage{min-height:48px;width:100%;font-size:15px}
.kpis.kpis5{grid-template-columns:repeat(5,1fr)}
.pr-kapsam{margin:8px 0 2px}
.pr-ozet{padding:12px 14px;cursor:pointer;list-style:revert;display:block}
.pr-ozet>span{display:block}
.pr-ozet>.pr-ozet-ust{display:inline}
.pr-ozet-ad{margin-top:4px;font-weight:650;overflow-wrap:anywhere}
.pr-ozet-sonraki{margin-top:4px;font-size:13px;font-weight:750;color:#2d2670}
.pr-ozet-red{margin-top:6px;padding:7px 9px;border-radius:8px;background:#fff1f0;border:1px solid #fecdca;color:#b42318;font-size:13px;overflow-wrap:anywhere}
.pr-ozet-alt{margin-top:4px;font-size:12px;color:#667085}
.pr-ozet>.pr-steps{margin-top:8px;display:flex}
.pr-steps span.red{background:#fef3f2;color:#b42318;border:1px solid #fecdca}
.pr-detay-ust{padding:10px 0;border-bottom:1px solid #eef0f4}
@media(min-width:901px){
  .pr-kalem{grid-template-columns:minmax(0,1fr) auto auto}
  .pr-kalem-miktar{grid-column:auto}
  .pr-kalem-sil{order:1}
  #page .pr-gonder-cubugu #prCreatePackage{width:auto;min-width:280px}
}
@media(max-width:900px){
  .pr-steps{flex-wrap:nowrap}
  .pr-steps span{min-width:0;font-size:10px;padding:3px 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  /* Sabit gönder: alt menünün ve taşan "Yeni" düğmesinin üstünde durur */
  .card.pr-yeni{overflow:clip}
  .pr-gonder-cubugu{position:sticky;bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:5;margin:12px -16px -16px;padding:10px 16px;background:#fff;border-top:1px solid #cbd5e1;box-shadow:0 -6px 16px rgba(15,23,42,.08);border-radius:0 0 13px 13px}
  .kpis.kpis5{grid-template-columns:1fr 1fr}
}
/* G3 — Satın Alma araştırması, teklif karşılaştırma, sipariş */
.kpis.kpis-is{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.kpi.pr-kpi-is{border-color:var(--brand)}
.kpi small.redtxt{display:block;font-size:11px;font-weight:700}
.pr-arastirma{margin-top:8px}
.pr-adim{font-size:14px;margin:14px 0 6px;color:var(--brand-deep)}
.pr-proc-satir{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--border)}
.pr-proc-ad small{display:block;color:var(--muted,#64748b)}
.pr-proc-giris{display:flex;align-items:center;gap:6px}
.pr-proc-giris input{width:96px;min-height:44px}
.pr-proc-not{grid-column:1/-1}
.pr-kaydedilmedi{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#fffaeb;color:#b54708;border:1px solid #fedf89;border-radius:10px;padding:8px 10px;margin-top:8px;font-size:13px}
.pr-teklif-satir{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 0;border-bottom:1px dashed var(--border)}
/* Teklif isteme maili */
.pr-teklif-istek{margin-top:6px}
.pr-teklif-iste{margin-top:8px;border:1px solid var(--border);border-radius:12px;padding:4px 10px 8px;background:#fff}
.pr-teklif-iste select[multiple]{width:100%}
.pr-ist-sec{display:flex;gap:8px;align-items:center;min-height:44px;font-weight:400}
.pr-ist-sec input{width:22px;height:22px;min-height:0;flex:0 0 22px;margin:0}
.pr-ist-sec small{margin-left:auto;overflow-wrap:anywhere}
.pr-ist-ok{color:#1d7a46;font-weight:700}
.pr-ist-uyari{color:var(--danger);font-weight:700}
.pr-teklif-satir .actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.pr-teklif-ekle{margin-top:8px;border:1px solid var(--border);border-radius:12px;padding:4px 10px 8px;background:#fff}
.pr-teklif-iste>summary,.pr-teklif-ekle>summary,.pr-diger>summary,.pr-yeni-cari>summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center;color:#393185}
.pr-fiyat-satir{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr) minmax(0,1fr);gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--border)}
.pr-fiyat-ad small{color:var(--muted,#64748b)}
.pr-karar{display:grid;gap:6px;background:#fff;border:2px solid var(--brand);border-radius:12px;padding:10px 12px;margin:10px 0}
.pr-karar-satir{display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline}
.pr-karar-satir>span{color:var(--muted,#64748b);min-width:170px}
.pr-karar-satir>small{color:var(--muted,#64748b)}
.pr-karar-uyari{background:#fffaeb;color:#b54708;border-radius:8px;padding:6px 8px;font-weight:650}
.pr-nihai{display:block;font-size:12px;margin-top:4px}
.pr-nihai input{width:90px;display:inline-block;min-height:36px;margin:0 4px}
.pr-compare .pr-firma-ad{display:none}
.pr-siparis{margin-top:8px}
.pr-siparis-firma{display:grid;gap:2px;padding:8px 0;border-bottom:1px dashed var(--border)}
.pr-not{display:block;margin-top:8px}
.pr-kaydedilmedi.hidden,.pr-proc-not.hidden,.pr-fiyat-satir.hidden{display:none}
/* Telefonda tablo başlığı gizlenir: teklif notu ve Düzelt firma toplamının altında gösterilir */
.pr-compare .pr-tel{display:none}
@media (max-width:700px){.pr-compare .pr-tel{display:block;margin-top:6px}}
@media (max-width:700px){
 .pr-fiyat-satir{grid-template-columns:1fr 1fr}
 .pr-fiyat-ad{grid-column:1/-1}
 .pr-compare{overflow:visible}
 .pr-compare table,.pr-compare tbody,.pr-compare tfoot{display:block}
 .pr-compare thead{display:none}
 .pr-compare tr{display:flex;flex-direction:column;margin-bottom:10px;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff}
 .pr-compare th,.pr-compare td{display:block;min-width:0!important;border:0;border-top:1px solid var(--border)}
 .pr-compare tbody th{order:-1;border-top:0}
 .pr-compare .pr-firma-ad{display:block;font-weight:750;color:var(--brand-deep);margin-bottom:2px}
 .pr-compare tfoot td[data-firma]::before{content:attr(data-firma);display:block;font-weight:750;color:var(--brand-deep)}
}
.pr-compare th small,.pr-compare td{white-space:normal;overflow-wrap:anywhere}
.pr-karar-kutu{margin:10px 0}
@media (max-width:700px){
 .pr-proc-satir{grid-template-columns:1fr}
 .pr-proc-ad b{display:inline}
 .pr-proc-ad small{display:inline;margin-left:6px}
}
@media (max-width:700px){.pr-compare table{min-width:0!important;width:100%}}
