/* Bakım modülü ortak stilleri (Depo, Talepler). Eskiden MntWarehouse.razor içindeydi. */
.loading-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-muted, #64748b);
    background: var(--color-bg, #edf2f5);
}

/* Renk değişkenleri panel (.dw) için de geçerli olmalı; panel sayfa kabuğunun dışında render edilir */
.mnt-top, .mnt-shell, .dw, .dw-backdrop {
    --mnt-teal: #0f766e;
    --mnt-amber: #d97706;
    --mnt-blue: #0284c7;
    --mnt-red: #dc2626;
    --mnt-green: #16a34a;
}

/* ---- Üst bant: depo görseli + başlık + istatistik kartları ---- */
.mnt-top {
    padding: 0 32px 22px;
    color: #0b2535;
    background: linear-gradient(180deg, #f0f6f8 0%, #f4f7f9 100%);
}

.mnt-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 126px;
    margin: 0 -32px 16px;
    padding: 8px 32px;
    background: url('/mnt/hero-warehouse.jpg') right top / auto 100% no-repeat, #f0f6f8;
}

/* Görselin sol kenarı başlığın altında yumuşakça eriyip sayfa zeminine karışır */
.mnt-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #f0f6f8 0%, #f0f6f8 40%, rgba(240, 246, 248, 0) 78%);
}

.hero-text, .hero-user { position: relative; z-index: 1; }
.hero-text h1 { display: flex; align-items: center; margin: 0; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; color: #0b2535; }
.hero-bar { flex: 0 0 auto; width: 5px; height: 36px; margin-right: 14px; border-radius: 3px; background: linear-gradient(180deg, #14b8a6, #0f766e); }
.hero-text p { margin: 8px 0 0 19px; max-width: 760px; font-size: 0.95rem; color: #5b7183; }

.hero-user { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; align-self: flex-start; margin-top: 12px; padding: 6px 8px 6px 6px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .95); border-radius: 999px; box-shadow: 0 6px 18px rgba(7, 31, 46, .1); backdrop-filter: blur(6px); }
.hero-avatar { display: grid; place-items: center; width: 34px; height: 34px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); border-radius: 50%; }
.hero-user strong { font-size: 0.88rem; font-weight: 700; color: #0b2535; }
.hero-user button { width: 34px; height: 34px; color: #64748b; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.hero-user button:hover { color: #0f172a; background: rgba(15, 23, 42, .08); }

/* ---- İstatistik kartları: sağda dekoratif görsel ---- */
.mnt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.mnt-stat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 128px;
    padding: 20px 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(7, 31, 46, 0.08), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.mnt-stat.tone-teal { --tone: var(--mnt-teal); background: linear-gradient(110deg, #e6f6f1 0%, #e0f3ef 55%, #d9efec 100%); }
.mnt-stat.tone-amber { --tone: var(--mnt-amber); background: linear-gradient(110deg, #fff1e1 0%, #fdeedc 55%, #fbebdb 100%); cursor: pointer; }
.mnt-stat.tone-blue { --tone: var(--mnt-blue); background: linear-gradient(110deg, #e6f1fc 0%, #e0edf9 55%, #dae9f7 100%); }
.mnt-stat.is-alert { border-color: rgba(217, 119, 6, 0.4); }
.mnt-stat > * { position: relative; z-index: 1; }

.mnt-stat .deco {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
    pointer-events: none;
}
.deco-bearings { background-image: url('/mnt/deco-bearings.jpg'); }
.deco-boxes { background-image: url('/mnt/deco-boxes.jpg'); }
.deco-gears { background-image: url('/mnt/deco-gears.jpg'); }

.mnt-stat-icon { display: grid; place-items: center; flex: 0 0 auto; width: 62px; height: 62px; font-size: 1.6rem; color: var(--tone); background: rgba(255, 255, 255, .92); border-radius: 18px; box-shadow: 0 6px 16px rgba(7, 31, 46, .08); }
.mnt-stat-num { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: #0b2535; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mnt-stat-num small { font-size: 1.05rem; font-weight: 700; color: #4b6173; }
.mnt-stat-label { margin-top: 6px; font-size: 0.95rem; font-weight: 600; line-height: 1.25; color: #3f566a; }
.mnt-stat { gap: 14px; padding: 20px 18px; }

/* ---- Sayfa gövdesi ---- */
.mnt-shell {
    padding: 22px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: calc(100vh - 340px);
    background-color: #F4F6F8;
    background-image: radial-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--color-text, #0f172a);
}

/* Dar/orta ekranda yan paneller tablonun altında yan yana; çok geniş ekranda (>=1680px) tablonun sağında */
.mnt-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.side { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; min-width: 0; }

.panel { background: #fff; border: 1px solid #E8EEF2; border-radius: 20px; box-shadow: 0 10px 30px rgba(7, 31, 46, 0.06); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; }
.panel-head.sm { padding-bottom: 10px; }
.panel-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.panel-title h2 { margin: 0; font-size: 1.2rem; font-weight: 800; color: #0b2535; }
.panel-head.sm h2 { font-size: 1.02rem; }
.panel-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; font-size: 1.15rem; color: var(--mnt-teal); background: rgba(20, 184, 166, .12); border-radius: 12px; }
.panel-icon.sm { width: 34px; height: 34px; font-size: 1rem; border-radius: 10px; }
.panel-icon.warn { color: var(--mnt-amber); background: rgba(245, 158, 11, .14); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 0.82rem; font-weight: 700; color: #475569; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.link-btn:hover { color: var(--mnt-teal); }

/* ---- Filtreler ---- */
.inv-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 20px 16px; }
.mnt-input { position: relative; display: flex; align-items: center; min-width: 0; }
.mnt-input.grow { flex: 1 1 240px; }
.mnt-input.sel { flex: 0 1 190px; }
.mnt-input i { position: absolute; left: 13px; color: #94a3b8; pointer-events: none; }
.mnt-input input, .mnt-select { width: 100%; height: 42px; padding: 0 12px 0 38px; font-size: 0.92rem; color: inherit; background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
.mnt-select { cursor: pointer; }
.mnt-input input:focus, .mnt-select:focus { border-color: var(--mnt-teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14); }

.mnt-seg { display: inline-flex; padding: 3px; background: #F1F5F9; border: 1px solid #E2E8F0; border-radius: 10px; }
.mnt-seg button { height: 32px; padding: 0 14px; font-size: 0.82rem; font-weight: 700; color: #64748b; background: transparent; border: 0; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.mnt-seg button.on { color: #fff; background: var(--mnt-teal); box-shadow: 0 2px 6px rgba(15, 118, 110, 0.3); }

/* ---- Envanter tablosu ---- */
.inv-wrap { padding: 0 12px; }
.inv-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; }
.inv-table thead th { padding: 11px 12px; text-align: left; font-size: 0.78rem; font-weight: 700; color: #4b6173; background: #f1f5f7; white-space: nowrap; }
.inv-table thead th:first-child { border-radius: 12px 0 0 12px; }
.inv-table thead th:last-child { border-radius: 0 12px 12px 0; }
.inv-table th.sortable { cursor: pointer; user-select: none; }
.inv-table th.sortable:hover { color: #0b2535; }
.inv-table th.sortable i { margin-left: 4px; font-size: 0.7rem; color: #a3b3c0; }
.inv-table th.num, .inv-table td.num { text-align: center; }
.inv-table tbody td { padding: 10px 12px; vertical-align: middle; border-bottom: 1px solid #eef2f5; }
.inv-table tbody tr:last-child td { border-bottom: 0; }
.inv-table tbody tr:hover td { background: #fafcfd; }
.inv-table tr.is-off { opacity: .6; }

.c-name { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.thumb { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; overflow: hidden; background: radial-gradient(circle at 50% 35%, #ffffff, #eef3f6); border: 1px solid #E8EEF2; border-radius: 12px; }
.thumb img { width: 38px; height: 38px; object-fit: contain; }
.thumb.has-photo { background: #eef3f6; }
.thumb.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.thumb.sm { width: 42px; height: 42px; border-radius: 10px; }
.thumb.sm img { width: 32px; height: 32px; }
.thumb.sm.has-photo img { width: 100%; height: 100%; }
.nm { min-width: 0; }
.nm b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 300px; font-size: 0.95rem; font-weight: 750; line-height: 1.25; color: #0f172a; }
.nm small { display: block; margin-top: 2px; font-size: 0.74rem; color: #94a3b8; }

.code-chip { display: inline-block; max-width: 170px; padding: 4px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; font-family: Consolas, "Courier New", monospace; font-size: 0.75rem; font-weight: 700; color: #5b6b79; background: #eef2f5; border-radius: 999px; }
.code-chip.sm { max-width: 150px; padding: 2px 8px; font-size: 0.7rem; }

.cat-cell { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #334155; white-space: nowrap; }
.cat-cell.cat-mek i { color: #0369a1; }
.cat-cell.cat-elk i { color: #7c3aed; }
.cat-cell.cat-pnm i { color: #c2410c; }
.cat-cell.cat-hid i { color: #0e7490; }
.cat-cell.cat-oto i { color: #334155; }
.cat-cell.cat-sarf i { color: #15803d; }
.cat-cell.cat-other i { color: #64748b; }

.qty { font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.qty.is-low, .is-low { color: #b45309; }
.qty.is-crit, .is-crit { color: #dc2626; }
td.num small { margin-left: 3px; font-size: 0.72rem; color: #94a3b8; }

.st { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 0.8rem; font-weight: 700; border-radius: 999px; white-space: nowrap; }
.st-ok { color: #15803d; background: #dcfce7; }
.st-low { color: #b45309; background: #fef3c7; }
.st-crit { color: #b91c1c; background: #fee2e2; }
.st-off { color: #475569; background: #e2e8f0; }

.act-col { width: 96px; text-align: right; white-space: nowrap; }
.row-actions { display: inline-flex; align-items: center; gap: 2px; }
.row-actions .quick, .row-actions .dots { width: 34px; height: 34px; color: #64748b; background: transparent; border: 0; border-radius: 10px; cursor: pointer; }
.row-actions .quick { color: var(--mnt-teal); }
.row-actions .quick:hover, .row-actions .dots:hover { background: #eef2f5; }
.rq-table .dots { width: 34px; height: 34px; color: #64748b; background: transparent; border: 0; border-radius: 10px; cursor: pointer; }
.rq-table .dots:hover { color: #0f766e; background: #eef2f5; }
.menu-wrap { position: relative; }
.menu-backdrop { position: fixed; inset: 0; z-index: 40; }
.menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 41; min-width: 196px; padding: 6px; background: #fff; border: 1px solid #e6edf2; border-radius: 12px; box-shadow: 0 16px 38px rgba(7, 31, 46, .2); text-align: left; animation: mntFade .15s ease both; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; font-size: 0.86rem; font-weight: 600; color: #334155; background: none; border: 0; border-radius: 8px; cursor: pointer; }
.menu button i { width: 18px; color: #64748b; text-align: center; }
.menu button:hover { background: #f1f5f7; }
.inv-foot { padding: 12px 22px 16px; font-size: 0.8rem; color: #94a3b8; }

/* ---- Sağ panel: donut + uyarılar ---- */
.donut-toggle { margin: 0 20px 12px; }
.donut-body { padding: 0 20px 6px; }
.donut-wrap { position: relative; width: 176px; height: 176px; margin: 6px auto 14px; }
.donut { width: 100%; height: 100%; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.donut-center strong { font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: #0b2535; font-variant-numeric: tabular-nums; }
.donut-center span { font-size: 0.76rem; font-weight: 600; color: #64748b; }
.legend { list-style: none; margin: 0; padding: 0; }
.legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 44px; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.86rem; border-bottom: 1px dashed #eef2f5; }
.legend li:last-child { border-bottom: 0; }
.legend .dot { width: 11px; height: 11px; border-radius: 50%; }
.legend .lg-name { font-weight: 600; color: #334155; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend .lg-val { font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums; }
.legend .lg-pct { text-align: right; color: #64748b; font-variant-numeric: tabular-nums; }
.note { margin: 4px 20px 16px; font-size: 0.75rem; line-height: 1.4; color: #94a3b8; }
.mini-empty { margin: 0; padding: 14px 20px 22px; font-size: 0.88rem; color: #64748b; }
.mini-empty i { margin-right: 6px; color: var(--mnt-green); }

.alerts { list-style: none; margin: 0; padding: 0 12px 10px; }
.alerts li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-areas: "t m s" "t q r"; column-gap: 12px; row-gap: 2px; align-items: center; padding: 10px 8px; border-bottom: 1px solid #eef2f5; border-radius: 12px; cursor: pointer; }
.alerts li:last-child { border-bottom: 0; }
.alerts li:hover { background: #fafcfd; }
.alerts .thumb { grid-area: t; }
.al-main { grid-area: m; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.al-main b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9rem; font-weight: 750; color: #0f172a; }
.al-qty { grid-area: q; font-size: 0.76rem; line-height: 1.35; color: #64748b; }
.al-qty b { font-weight: 800; }
.alerts .st { grid-area: s; }
.al-req { grid-area: r; justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: 0.74rem; font-weight: 700; color: var(--mnt-teal); background: rgba(20, 184, 166, .1); border: 1px solid rgba(20, 184, 166, .35); border-radius: 999px; cursor: pointer; white-space: nowrap; }
.al-req:hover { background: rgba(20, 184, 166, .2); }

.mnt-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.mnt-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mnt-switch .track { position: relative; width: 38px; height: 22px; background: #cbd5e1; border-radius: 999px; transition: background .18s; flex: 0 0 auto; }
.mnt-switch .knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s; }
.mnt-switch input:checked + .track { background: var(--mnt-teal); }
.mnt-switch input:checked + .track .knob { transform: translateX(16px); }
.mnt-switch input:focus-visible + .track { box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.25); }
.mnt-switch-text { font-size: 0.85rem; font-weight: 700; color: #475569; }
.mnt-switch-text small { display: block; margin-top: 2px; font-size: 0.75rem; font-weight: 500; color: #94a3b8; }
.mnt-switch.block { margin-top: 18px; padding: 14px; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; }

.mnt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; font-size: 0.92rem; font-weight: 700; color: #334155; background: #fff; border: 1px solid #D5DFE6; border-radius: 10px; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; }
.mnt-btn:hover:not(:disabled) { background: #F1F5F9; }
.mnt-btn:disabled { opacity: .6; cursor: not-allowed; }
.mnt-btn.primary { color: #fff; background: var(--mnt-teal); border-color: var(--mnt-teal); box-shadow: 0 4px 12px rgba(15, 118, 110, 0.28); }
.mnt-btn.primary:hover:not(:disabled) { background: #0b6964; transform: translateY(-1px); }
.mnt-btn.ghost { width: 42px; padding: 0; }
.mnt-btn.reset { padding: 0 14px; color: #94a3b8; }
.mnt-btn.reset.is-on { color: var(--mnt-teal); background: rgba(20, 184, 166, .1); border-color: rgba(20, 184, 166, .45); }
.reset-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; font-size: 0.72rem; font-weight: 800; color: #fff; background: var(--mnt-teal); border-radius: 999px; }

/* ---- Formda fotoğraf seçimi ---- */
.photo-edit { display: flex; align-items: center; gap: 16px; }
.photo-box { display: grid; place-items: center; flex: 0 0 104px; width: 104px; height: 104px; overflow: hidden; background: radial-gradient(circle at 50% 35%, #ffffff, #eef3f6); border: 1px solid #E2E8F0; border-radius: 16px; }
.photo-box img.art { width: 72px; height: 72px; object-fit: contain; }
.photo-box img.real { width: 100%; height: 100%; object-fit: cover; }
.photo-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.photo-side small { font-size: 0.78rem; line-height: 1.4; color: #94a3b8; }
.photo-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-pick { position: relative; overflow: hidden; }
.file-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }

/* ---- Durum / boş ekranlar ---- */
.mnt-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 56px 16px; text-align: center; color: #64748b; background: #fff; border: 1px dashed #CBD5E1; border-radius: 16px; }
.mnt-state.small { padding: 24px; border: 0; background: transparent; }
.mnt-state h3 { margin: 4px 0 0; font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.mnt-state p { margin: 0 0 8px; max-width: 420px; }
.mnt-state-icon { display: grid; place-items: center; width: 64px; height: 64px; font-size: 1.7rem; border-radius: 50%; }
.mnt-state-icon.tone-teal { color: var(--mnt-teal); background: rgba(15, 118, 110, .12); }
.mnt-state-icon.tone-red { color: var(--mnt-red); background: rgba(220, 38, 38, .1); }

.mnt-toast { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 600; border-radius: 12px; animation: mntFade .25s ease both; }
.mnt-toast span { flex: 1; }
.mnt-toast button { color: inherit; background: transparent; border: 0; cursor: pointer; opacity: .7; }
.mnt-toast.is-ok { color: #065f46; background: #d1fae5; border: 1px solid #6ee7b7; }
.mnt-toast.is-error { color: #991b1b; background: #fee2e2; border: 1px solid #fca5a5; }

/* ---- Sağdan açılan panel ---- */
.dw-backdrop { position: fixed; inset: 0; z-index: 1900; background: rgba(7, 31, 46, 0.45); backdrop-filter: blur(2px); animation: mntFade .2s ease both; }
/* Tüm pencereler (form, detay, barkod) ekranın ortasında açılır */
.dw.dw-center { top: 50%; left: 50%; right: auto; bottom: auto; width: min(620px, calc(100vw - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 22px; box-shadow: 0 28px 70px rgba(7, 31, 46, 0.35); animation: dwPop .22s cubic-bezier(.22, 1, .36, 1) both; transform: translate(-50%, -50%); }
@keyframes dwPop { from { opacity: 0; transform: translate(-50%, -48%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.dw.dw-center .dw-foot { border-radius: 0 0 22px 22px; }
.dw.dw-center .dw-head { border-radius: 22px 22px 0 0; }

.dw { position: fixed; top: 0; right: 0; bottom: 0; z-index: 2000; display: flex; flex-direction: column; width: min(480px, 100vw); background: #fff; box-shadow: -18px 0 48px rgba(7, 31, 46, 0.22); animation: dwIn .28s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes dwIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes dwUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mntFade { from { opacity: 0; } to { opacity: 1; } }

.dw-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid #EEF2F5; }
.dw-icon { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; font-size: 1.2rem; border-radius: 13px; }
.dw-icon.tone-teal { color: #0f766e; background: rgba(15, 118, 110, .12); }
.dw-icon.tone-blue { color: #0284c7; background: rgba(2, 132, 199, .12); }
.dw-icon.tone-amber { color: #d97706; background: rgba(217, 119, 6, .14); }
.dw-icon.tone-slate { color: #475569; background: rgba(100, 116, 139, .15); }
.dw-title { flex: 1; min-width: 0; }
.dw-title h2 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.dw-title p { margin: 2px 0 0; font-size: 0.85rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-close { width: 38px; height: 38px; color: #64748b; background: #F1F5F9; border: 0; border-radius: 10px; cursor: pointer; }
.dw-close:hover { color: #0f172a; background: #E2E8F0; }
.dw-body { flex: 1; padding: 20px 22px 28px; overflow-y: auto; }
.dw-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 22px; background: #F8FAFC; border-top: 1px solid #EEF2F5; }
.dw-foot .mnt-btn.primary { min-width: 150px; }
.dw-error { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 16px; padding: 11px 13px; font-size: 0.9rem; font-weight: 600; color: #991b1b; background: #fee2e2; border: 1px solid #fca5a5; border-radius: 10px; }

.f-section { margin: 20px 0 10px; font-size: 0.72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.f-section:first-child { margin-top: 0; }
.f-section em, .f span em { color: #dc2626; font-style: normal; }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f.wide { grid-column: 1 / -1; }
.f > span { font-size: 0.8rem; font-weight: 700; color: #334155; }
.f > span small { font-weight: 500; color: #94a3b8; }
.f input, .f select, .f textarea { width: 100%; min-height: 44px; padding: 10px 12px; font-size: 0.95rem; color: inherit; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 10px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; font-family: inherit; }
.f textarea { resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { background: #fff; border-color: var(--mnt-teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14); }
.f-hint { margin: 12px 0 0; padding: 10px 12px; font-size: 0.83rem; color: #475569; background: #F1F5F9; border-radius: 10px; }
.f-hint i { margin-right: 6px; color: #0284c7; }

.cur { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; margin-bottom: 4px; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; }
.cur span { font-size: 0.82rem; font-weight: 700; color: #64748b; }
.cur strong { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.cur small { font-size: 0.85rem; font-weight: 700; color: #64748b; }

.stepper { display: flex; gap: 8px; }
.stepper button { flex: 0 0 52px; height: 56px; font-size: 1rem; color: #0f766e; background: rgba(15, 118, 110, .1); border: 0; border-radius: 12px; cursor: pointer; }
.stepper button:hover { background: rgba(15, 118, 110, .2); }
.stepper input { flex: 1; min-width: 0; height: 56px; text-align: center; font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; background: #fff; border: 2px solid #E2E8F0; border-radius: 12px; outline: none; }
.stepper input:focus { border-color: var(--mnt-teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, .14); }

.quick { display: flex; gap: 8px; margin-top: 10px; }
.quick.wrap { flex-wrap: wrap; margin: 0 0 10px; }
.quick button { padding: 7px 13px; font-size: 0.82rem; font-weight: 700; color: #475569; background: #F1F5F9; border: 1px solid #E2E8F0; border-radius: 999px; cursor: pointer; }
.quick button:hover { color: #0f766e; border-color: rgba(15, 118, 110, .4); }
.quick button.on { color: #fff; background: var(--mnt-teal); border-color: var(--mnt-teal); }

.preview { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 6px; padding: 12px 14px; font-size: 0.85rem; font-weight: 700; color: #64748b; background: #F8FAFC; border: 1px dashed #CBD5E1; border-radius: 12px; }
.preview strong { font-size: 1.15rem; font-weight: 800; color: #0f172a; }
.preview.pos { background: #ecfdf5; border-color: #6ee7b7; }
.preview.pos strong { color: #047857; }
.preview.neg { background: #fef2f2; border-color: #fca5a5; }
.preview.neg strong { color: #b91c1c; }

/* ---- Hareket zaman çizgisi ---- */
.timeline { list-style: none; margin: 18px 0 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: #E2E8F0; }
.tl-dot { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; font-size: 0.85rem; border-radius: 50%; }
.tl-dot.pos { color: #047857; background: #d1fae5; }
.tl-dot.neg { color: #b91c1c; background: #fee2e2; }
.tl-dot.neutral { color: #0369a1; background: #e0f2fe; }
.tl-main { flex: 1; min-width: 0; padding-top: 1px; }
.tl-row { display: flex; justify-content: space-between; gap: 10px; }
.tl-row b { font-size: 0.93rem; }
.tl-qty { font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tl-qty.pos { color: #047857; }
.tl-qty.neg { color: #b91c1c; }
.tl-sub { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 2px; font-size: 0.78rem; color: #94a3b8; }
.tl-bal { margin-left: auto; font-weight: 700; color: #64748b; }
.tl-note { margin-top: 6px; padding: 7px 10px; font-size: 0.82rem; color: #475569; background: #F8FAFC; border-radius: 8px; }


/* ---- 4. istatistik kartı, yetki notu, panel düğmeleri ---- */
.mnt-stats { grid-template-columns: repeat(4, 1fr); }
.mnt-stat.tone-violet { --tone: #7c3aed; background: linear-gradient(110deg, #f0eaff 0%, #ebe4fb 55%, #e6def8 100%); }
.mnt-stat-sub { margin-top: 2px; font-size: 0.74rem; font-weight: 600; color: #7a6a9d; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.perm-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; font-size: 0.86rem; line-height: 1.45; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px; }
.perm-note i { margin-top: 2px; color: #d97706; }
.nm b.lnk { cursor: pointer; }
.nm b.lnk:hover { color: var(--mnt-teal); text-decoration: underline; }
.nm small i { margin-right: 3px; font-size: 0.68rem; color: #b6c3cd; }
.nm small .sep { margin: 0 4px; }
.menu-sep { height: 1px; margin: 5px 4px; background: #eef2f5; }
.menu button.danger, .menu button.danger i { color: #dc2626; }
.menu button.danger:hover { background: #fef2f2; }
.mnt-btn.danger { color: #fff; background: #dc2626; border-color: #dc2626; box-shadow: 0 4px 12px rgba(220, 38, 38, .25); }
.mnt-btn.danger:hover:not(:disabled) { background: #b91c1c; }
.inp-btn { display: flex; gap: 6px; }
.inp-btn input { flex: 1; min-width: 0; }
.inp-btn .gen { flex: 0 0 44px; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; cursor: pointer; }
.inp-btn .gen:hover { background: #fef3c7; }
.f-hint.warn { color: #92400e; background: #fffbeb; }
.f-hint.warn i { color: #d97706; }

/* ---- Parça detayı ---- */
.d-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.thumb.lg { width: 76px; height: 76px; border-radius: 16px; }
.thumb.lg img { width: 60px; height: 60px; }
.thumb.lg.has-photo img { width: 100%; height: 100%; }
.d-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 14px 0 0; }
.d-grid > div { padding: 10px 12px; background: #F8FAFC; border: 1px solid #EEF2F5; border-radius: 12px; min-width: 0; }
.d-grid dt { font-size: 0.7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
.d-grid dd { margin: 3px 0 0; font-size: 0.92rem; font-weight: 650; color: #0f172a; overflow-wrap: anywhere; }
.d-grid dd.mono { font-family: Consolas, "Courier New", monospace; font-size: 0.85rem; }
.d-note { margin-top: 12px; padding: 10px 12px; font-size: 0.86rem; line-height: 1.45; color: #475569; background: #F8FAFC; border-radius: 12px; }
.d-note b { display: block; margin-bottom: 2px; font-size: 0.7rem; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
.usage { list-style: none; margin: 0; padding: 0; }
.usage li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 0; border-bottom: 1px dashed #eef2f5; }
.usage li:last-child { border-bottom: 0; }
.u-ref { font-weight: 700; color: #0f172a; }
.u-qty { font-weight: 800; color: #b91c1c; font-variant-numeric: tabular-nums; }
.u-sub { grid-column: 1 / -1; font-size: 0.78rem; color: #94a3b8; }

/* ---- Barkod tara ---- */
.scan-cam { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.scan-view { display: none; overflow: hidden; background: #0b1b24; border-radius: 16px; }
.scan-view.on { display: block; min-height: 220px; }
.scan-view video, .scan-view .scan-video { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.scan-ph { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 12px; color: #94a3b8; font-size: 0.85rem; background: #F8FAFC; border: 1px dashed #CBD5E1; border-radius: 16px; }
.scan-ph i { font-size: 1.6rem; color: #94a3b8; }
.scan-input input { font-family: Consolas, "Courier New", monospace; font-size: 1.05rem; letter-spacing: .02em; }
.scan-card { margin-top: 16px; padding: 14px; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 16px; }
.sc-top { display: flex; align-items: center; gap: 12px; }
.sc-title { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sc-title b { font-size: 1rem; line-height: 1.3; color: #0f172a; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.scan-card .d-grid > div { background: rgba(255, 255, 255, .75); border-color: #d1fae5; }
.scan-matches { list-style: none; margin: 0; padding: 0; }
.scan-matches li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 8px; border-bottom: 1px solid #eef2f5; border-radius: 12px; cursor: pointer; }
.scan-matches li:hover { background: #F8FAFC; }
.sm-main { display: flex; flex-direction: column; min-width: 0; }
.sm-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9rem; }
.sm-main small { color: #94a3b8; font-size: 0.74rem; }
.sm-qty { font-weight: 800; font-variant-numeric: tabular-nums; }
.scan-none { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; padding: 18px; text-align: center; color: #64748b; background: #F8FAFC; border: 1px dashed #CBD5E1; border-radius: 16px; }
.scan-none i { font-size: 1.6rem; color: #94a3b8; }
.scan-none p { margin: 0; }

/* ---- Depodan kaldır onayı ---- */
.del-warn { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; border-radius: 14px; }
.del-warn > i { font-size: 1.5rem; }
.del-list { margin: 14px 0 0; padding-left: 20px; font-size: 0.9rem; line-height: 1.55; color: #475569; }
.del-list li { margin-bottom: 4px; }

/* ---- Tablet / telefon ---- */
@media (min-width: 1680px) {
    .mnt-main { grid-template-columns: minmax(0, 1fr) 390px; }
    .side { display: flex; flex-direction: column; }
}

/* Tablo sığmayınca satırlar karta dönüşür */
@media (max-width: 1280px) {
    .mnt-stats { grid-template-columns: repeat(2, 1fr); }
    .inv-table thead { display: none; }
    .inv-table, .inv-table tbody, .inv-table tr, .inv-table td { display: block; width: 100%; }
    .inv-table tbody tr { position: relative; margin-bottom: 10px; padding: 12px 14px; background: #fff; border: 1px solid #eef2f5; border-radius: 14px; }
    .inv-table tbody tr:hover td { background: transparent; }
    .inv-table tbody td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; text-align: right; }
    .inv-table tbody td[data-label]::before { content: attr(data-label); flex: 0 0 auto; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
    .inv-table td.num { text-align: right; }
    .c-name { min-width: 0; padding-right: 92px !important; justify-content: flex-start !important; text-align: left !important; }
    .nm b { max-width: none; }
    .inv-table td.act-col { position: absolute; top: 10px; right: 8px; width: auto; padding: 0; }
}

@media (max-width: 900px) {
    .mnt-top { padding: 0 16px 16px; }
    .mnt-hero { min-height: 104px; margin: 0 -16px 12px; padding: 8px 16px; background-size: auto 100%; }
    .mnt-hero::before { background: linear-gradient(90deg, #f0f6f8 0%, #f0f6f8 55%, rgba(240, 246, 248, .35) 100%); }
    .hero-text h1 { font-size: 1.45rem; }
    .hero-bar { height: 26px; margin-right: 10px; }
    .hero-text p { margin-left: 15px; font-size: 0.85rem; }
    .hero-user strong { display: none; }
    .mnt-stats { grid-template-columns: 1fr; gap: 12px; }
    .mnt-stat { min-height: 104px; padding: 16px 18px; gap: 14px; }
    .mnt-stat-icon { width: 50px; height: 50px; font-size: 1.3rem; }
    .mnt-stat-num { font-size: 1.8rem; }
    .mnt-shell { padding: 16px 16px 32px; }
    .mnt-input.grow { flex: 1 1 100%; }
    .mnt-input.sel { flex: 1 1 calc(50% - 5px); }
    .panel-head { flex-wrap: wrap; }
}

@media (max-width: 640px) {
    .side { grid-template-columns: 1fr; }
    .mnt-input.sel { flex: 1 1 100%; }
    .f-grid { grid-template-columns: 1fr; }
    .dw { top: auto; left: 0; width: 100vw; max-height: 94vh; max-height: calc(100dvh - env(safe-area-inset-top) - 12px); border-radius: 20px 20px 0 0; animation-name: dwUp; }
    .dw-head { padding: 16px 18px; }
    .dw-body { padding: 16px 18px 24px; }
    .dw-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }
    .dw-foot .mnt-btn { flex: 1; }
    .photo-edit { flex-direction: column; align-items: flex-start; }
}

/* ================= Malzeme talepleri ================= */
.mnt-tabs { display: flex; gap: 6px; width: fit-content; max-width: 100%; padding: 4px; background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; box-shadow: 0 4px 14px rgba(7, 31, 46, .05); }
.mnt-tabs a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; font-size: 0.92rem; font-weight: 700; color: #475569; text-decoration: none; border-radius: 10px; white-space: nowrap; }
.mnt-tabs a:hover { color: #0f766e; background: #F1F5F9; }
.mnt-tabs a.on { color: #fff; background: var(--mnt-teal); box-shadow: 0 2px 8px rgba(15, 118, 110, .3); }

.rq-st { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 0.8rem; font-weight: 700; border-radius: 999px; white-space: nowrap; }
.rq-WAIT { color: #b45309; background: #fef3c7; }
.rq-REQUESTED { color: #475569; background: #e2e8f0; }
.rq-QUOTING { color: #b45309; background: #fef3c7; }
.rq-ORDERED { color: #0369a1; background: #e0f2fe; }
.rq-SHIPPED { color: #6d28d9; background: #ede9fe; }
.rq-RECEIVED { color: #15803d; background: #dcfce7; }
.rq-REJECTED { color: #b91c1c; background: #fee2e2; }

.pri { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; font-size: 0.74rem; font-weight: 800; letter-spacing: .02em; border-radius: 999px; white-space: nowrap; }
.pri-NORMAL { color: #475569; background: #f1f5f9; }
.pri-HIGH { color: #b45309; background: #fef3c7; }
.pri-CRITICAL { color: #fff; background: #dc2626; }

.rq-row { cursor: pointer; }
.rq-row.is-closed td { opacity: .72; }
.rq-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rq-main b { font-size: 0.95rem; font-weight: 750; color: #0b2535; overflow: hidden; text-overflow: ellipsis; }
.rq-main small { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.78rem; color: #64748b; }
.rq-code { font-family: Consolas, "Courier New", monospace; font-size: 0.78rem; font-weight: 700; color: #0f766e; }
.rq-qty { display: flex; flex-direction: column; gap: 4px; min-width: 96px; }
.rq-qty strong { font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.rq-bar { height: 5px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.rq-bar span { display: block; height: 100%; background: linear-gradient(90deg, #14b8a6, #0f766e); border-radius: 999px; }

.rq-flow { display: flex; align-items: flex-start; margin: 0 0 18px; padding: 14px 8px 4px; background: #F8FAFC; border: 1px solid #EEF2F5; border-radius: 14px; }
.rq-flow .step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 10px; font-size: 0.68rem; font-weight: 700; text-align: center; color: #94a3b8; }
.rq-flow .step::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: #e2e8f0; }
.rq-flow .step:first-child::before { display: none; }
.rq-flow .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; font-size: 0.72rem; color: #94a3b8; background: #fff; border: 2px solid #e2e8f0; border-radius: 50%; }
.rq-flow .step.done { color: #0f766e; }
.rq-flow .step.done .dot { color: #fff; background: var(--mnt-teal); border-color: var(--mnt-teal); }
.rq-flow .step.done::before { background: var(--mnt-teal); }
.rq-flow .step.now .dot { color: var(--mnt-teal); border-color: var(--mnt-teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, .15); }
.rq-flow .step.now { color: #0b2535; }

.rq-banner { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; padding: 12px 14px; font-size: 0.88rem; border-radius: 12px; }
.rq-banner.bad { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }
.rq-banner.ok { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; }

.rq-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rq-actions .mnt-btn { height: 40px; padding: 0 14px; font-size: 0.86rem; }
.rq-actions .mnt-btn.warn { color: #b91c1c; border-color: #fecaca; }
.rq-actions .mnt-btn.warn:hover:not(:disabled) { background: #fef2f2; }

.rq-pri-seg { display: flex; width: 100%; }
.rq-pri-seg button { flex: 1; }
.rq-pri-seg button.on.crit { background: #dc2626; box-shadow: 0 2px 6px rgba(220, 38, 38, .3); }
.rq-pri-seg button.on.high { background: #d97706; box-shadow: 0 2px 6px rgba(217, 119, 6, .3); }

.pick-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 210px; overflow-y: auto; border: 1px solid #E2E8F0; border-radius: 12px; }
.pick-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; cursor: pointer; border-bottom: 1px solid #EEF2F5; }
.pick-list li:last-child { border-bottom: 0; }
.pick-list li:hover { background: #F1F5F9; }
.pick-list li.on { background: rgba(15, 118, 110, .09); box-shadow: inset 3px 0 0 var(--mnt-teal); }
.pick-list b { font-size: 0.88rem; }
.pick-list small { display: block; font-size: 0.74rem; color: #64748b; }
.pick-list .pk-qty { font-size: 0.8rem; font-weight: 700; color: #475569; white-space: nowrap; }
.pick-none { margin: 8px 0 0; padding: 12px; font-size: 0.85rem; color: #64748b; text-align: center; background: #F8FAFC; border: 1px dashed #CBD5E1; border-radius: 12px; }

.match-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin: 4px 0 6px; font-size: 0.88rem; color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; }
.match-card.bad { color: #991b1b; background: #fef2f2; border-color: #fecaca; }
.match-card > i { margin-top: 2px; }
.match-card b { color: #0b2535; }
.rq-receipts { list-style: none; margin: 0; padding: 0; }
.rq-receipts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; margin-bottom: 6px; font-size: 0.86rem; background: #F8FAFC; border: 1px solid #EEF2F5; border-radius: 10px; }
.rq-receipts li span:last-child { font-weight: 800; color: #047857; white-space: nowrap; }
.rq-receipts small { display: block; color: #64748b; }

.rq-how { margin-top: 14px; padding: 12px 14px; font-size: 0.85rem; color: #334155; background: #F1F5F9; border-radius: 12px; }
.rq-how b { display: block; margin-bottom: 6px; color: #0b2535; }
.rq-how b i { margin-right: 6px; color: var(--mnt-teal); }
.rq-how ol { margin: 0; padding-left: 20px; line-height: 1.5; }

.confirm-box { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 6px; text-align: center; }
.confirm-icon { display: grid; place-items: center; width: 64px; height: 64px; font-size: 1.7rem; color: var(--mnt-amber); background: rgba(217, 119, 6, .14); border-radius: 50%; }
.confirm-box h3 { margin: 6px 0 0; font-size: 1.15rem; font-weight: 800; color: #0b2535; }
.confirm-box p { margin: 0; max-width: 380px; font-size: 0.9rem; color: #64748b; }

@media (max-width: 640px) {
    .mnt-tabs { width: 100%; }
    .mnt-tabs a { flex: 1; justify-content: center; padding: 0 8px; }
    .rq-flow .step { font-size: 0.6rem; }
}
/* ---- Talepler: yeni liste düzeni ---- */
.rq-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rq-new { height: 46px; padding: 0 22px; }
.rq-hero-icon { display: grid; place-items: center; flex: 0 0 auto; width: 50px; height: 50px; margin-right: 14px; font-size: 1.5rem; color: #f59e0b; background: rgba(255, 255, 255, .85); border: 1px solid #fde7b8; border-radius: 14px; box-shadow: 0 6px 16px rgba(245, 158, 11, .18); }
.mnt-hero .hero-text h1 { align-items: center; }

.date-range { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; }
.date-range > i { color: #94a3b8; }
.date-range input { width: 118px; height: 34px; padding: 0 4px; font-size: 0.84rem; color: inherit; background: transparent; border: 0; outline: none; font-family: inherit; }
.date-range span { color: #94a3b8; }
.date-range:focus-within { border-color: var(--mnt-teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14); }

.rq-toolrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 0 20px 14px; }
.rq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-chips .chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; font-size: 0.84rem; font-weight: 700; color: #475569; background: #fff; border: 1px solid #E2E8F0; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.rq-chips .chip b { font-weight: 800; color: #94a3b8; }
.rq-chips .chip:hover { color: #0f766e; border-color: rgba(15, 118, 110, .4); }
.rq-chips .chip.on { color: #fff; background: var(--mnt-teal); border-color: var(--mnt-teal); box-shadow: 0 3px 10px rgba(15, 118, 110, .28); }
.rq-chips .chip.on b { color: rgba(255, 255, 255, .8); }
.rq-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rq-tools .mnt-btn { height: 38px; padding: 0 14px; font-size: 0.84rem; }
.rq-tools .mnt-btn.ghost { width: 38px; padding: 0; }

.rq-table .rq-no { display: inline-block; padding: 4px 8px; font-family: Consolas, "Courier New", monospace; font-size: 0.78rem; font-weight: 800; color: #b45309; background: #fef3c7; border-radius: 8px; white-space: nowrap; }
.rq-wrap { overflow-x: auto; }
.rq-table { font-size: 0.86rem; }
.rq-table thead th { padding: 11px 6px; }
.rq-table tbody td { padding: 10px 6px; }
.rq-table .c-name { min-width: 150px; gap: 8px; }
.rq-table .thumb { width: 42px; height: 42px; }
.rq-table .thumb img { width: 32px; height: 32px; }
.rq-table .rq-st, .rq-table .pri { padding: 4px 9px; font-size: 0.74rem; }
.rq-table .nm b { max-width: 128px; font-size: 0.88rem; }
.rq-table .who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rq-table .av { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; font-size: 0.78rem; font-weight: 800; color: #0369a1; background: #e0f2fe; border-radius: 50%; }
.rq-table .who-t { display: flex; flex-direction: column; min-width: 0; }
.rq-table .who-t b { font-size: 0.84rem; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 92px; }
.rq-table .who-t small, .rq-table .eta small { font-size: 0.73rem; color: #94a3b8; }
.rq-table .who-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 92px; }
.rq-table .eta { display: flex; flex-direction: column; gap: 2px; }
.rq-table .eta b { font-size: 0.84rem; font-weight: 700; color: #0f172a; }
.rq-table .eta small i { margin-right: 4px; }
.rq-table .eta small .fa-circle-check { color: #16a34a; }
.late { color: #dc2626 !important; font-weight: 700; }
.muted { color: #cbd5e1; }
.rq-table .rq-qty { align-items: center; }
.pri i { font-size: 0.7rem; }
.pri-HIGH i { color: #d97706; }
.rq-table .act-col { width: 56px; text-align: right; }

.upc li { grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-areas: "t m d" "t m q"; }
.upc .al-main { grid-area: m; }
.upc-date { grid-area: d; font-size: 0.76rem; font-weight: 700; color: #475569; white-space: nowrap; }
.upc-date i { margin-right: 4px; color: #94a3b8; }
.upc-qty { grid-area: q; justify-self: end; padding: 2px 9px; font-size: 0.74rem; font-weight: 800; color: #15803d; background: #dcfce7; border-radius: 999px; white-space: nowrap; }

@media (min-width: 1600px) {
    .mnt-main.rq-grid { grid-template-columns: minmax(0, 1fr) 340px; }
    .rq-grid .side { display: flex; flex-direction: column; }
}
@media (max-width: 1280px) {
    .rq-table .c-name { padding-right: 0 !important; }
    .rq-table td.act-col { display: none; }
}
@media (max-width: 640px) {
    .rq-new { width: 100%; }
    .date-range { flex: 1 1 100%; }
    .date-range input { flex: 1; width: auto; }
    .rq-toolrow { padding: 0 16px 12px; }
}
/* ---- Bildirim zili ---- */
.hero-actions { position: relative; z-index: 3; display: flex; align-items: flex-start; gap: 10px; flex: 0 0 auto; align-self: flex-start; margin-top: 12px; }
.hero-actions .hero-user { margin-top: 0; align-self: auto; }
.bell-wrap { position: relative; }
.bell-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; font-size: 1.1rem; color: #475569; background: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .95); border-radius: 50%; box-shadow: 0 6px 18px rgba(7, 31, 46, .1); cursor: pointer; backdrop-filter: blur(6px); }
.bell-btn:hover { color: #0f766e; background: #fff; }
.bell-btn.has-new { color: #d97706; }
.bell-badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; font-size: 0.68rem; font-weight: 800; color: #fff; background: #dc2626; border: 2px solid #fff; border-radius: 999px; }
.bell-backdrop { position: fixed; inset: 0; z-index: 1990; }
.bell-pop { position: absolute; top: 54px; right: 0; z-index: 2000; width: 380px; max-width: calc(100vw - 24px); max-height: 70vh; display: flex; flex-direction: column; background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; box-shadow: 0 22px 60px rgba(7, 31, 46, .28); animation: mntFade .15s ease both; color: #0f172a; }
.bell-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #EEF2F5; }
.bell-head b { font-size: 1rem; font-weight: 800; }
.bell-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.bell-list li { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 12px; cursor: pointer; }
.bell-list li:hover { background: #F8FAFC; }
.bell-list li.unread { background: rgba(20, 184, 166, .07); }
.bell-ico { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; color: #0f766e; background: rgba(20, 184, 166, .14); border-radius: 12px; }
.bell-ico.urgent { color: #dc2626; background: rgba(220, 38, 38, .12); }
.bell-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 0.84rem; color: #475569; }
.bell-txt b { font-size: 0.88rem; font-weight: 750; color: #0b2535; }
.bell-txt small { font-size: 0.72rem; color: #94a3b8; }
.bell-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 6px; background: #14b8a6; border-radius: 50%; }
.bell-empty { margin: 0; padding: 28px 16px; text-align: center; font-size: 0.88rem; color: #94a3b8; }
.bell-empty i { margin-right: 6px; }
@media (max-width: 900px) {
    .hero-actions { gap: 8px; }
    .bell-btn { width: 42px; height: 42px; }
    .bell-pop { position: fixed; top: 70px; right: 12px; left: 12px; width: auto; max-width: none; }
}
/* ---- Bildirim zili ---- */
.hero-actions { position: relative; z-index: 3; display: flex; align-items: flex-start; gap: 10px; flex: 0 0 auto; align-self: flex-start; margin-top: 12px; }
.hero-actions .hero-user { margin-top: 0; align-self: auto; }
.bell-wrap { position: relative; }
.bell-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; font-size: 1.1rem; color: #475569; background: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .95); border-radius: 50%; box-shadow: 0 6px 18px rgba(7, 31, 46, .1); cursor: pointer; backdrop-filter: blur(6px); }
.bell-btn:hover { color: #0f766e; background: #fff; }
.bell-btn.has-new { color: #d97706; }
.bell-badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; font-size: 0.68rem; font-weight: 800; color: #fff; background: #dc2626; border: 2px solid #fff; border-radius: 999px; }
.bell-backdrop { position: fixed; inset: 0; z-index: 1990; }
.bell-pop { position: absolute; top: 54px; right: 0; z-index: 2000; width: 380px; max-width: calc(100vw - 24px); max-height: 70vh; display: flex; flex-direction: column; background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; box-shadow: 0 22px 60px rgba(7, 31, 46, .28); animation: mntFade .15s ease both; color: #0f172a; }
.bell-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #EEF2F5; }
.bell-head b { font-size: 1rem; font-weight: 800; }
.bell-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.bell-list li { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 12px; cursor: pointer; }
.bell-list li:hover { background: #F8FAFC; }
.bell-list li.unread { background: rgba(20, 184, 166, .07); }
.bell-ico { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; color: #0f766e; background: rgba(20, 184, 166, .14); border-radius: 12px; }
.bell-ico.urgent { color: #dc2626; background: rgba(220, 38, 38, .12); }
.bell-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 0.84rem; color: #475569; }
.bell-txt b { font-size: 0.88rem; font-weight: 750; color: #0b2535; }
.bell-txt small { font-size: 0.72rem; color: #94a3b8; }
.bell-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 6px; background: #14b8a6; border-radius: 50%; }
.bell-empty { margin: 0; padding: 28px 16px; text-align: center; font-size: 0.88rem; color: #94a3b8; }
.bell-empty i { margin-right: 6px; }
@media (max-width: 900px) {
    .hero-actions { gap: 8px; }
    .bell-btn { width: 42px; height: 42px; }
    .bell-pop { position: fixed; top: 70px; right: 12px; left: 12px; width: auto; max-width: none; }
}
/* ---- İş emirleri ---- */
.rq-OPEN { color: #475569; background: #e2e8f0; }
.rq-IN_PROGRESS { color: #0369a1; background: #e0f2fe; }
.rq-COMPLETED { color: #b45309; background: #fef3c7; }
.rq-APPROVED { color: #15803d; background: #dcfce7; }
.pri-URGENT { color: #fff; background: #dc2626; }
.pri-LOW { color: #64748b; background: #f1f5f9; }

.avs { display: inline-flex; }
.avs .av { margin-left: -6px; border: 2px solid #fff; }
.avs .av:first-child { margin-left: 0; }
.av { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; font-size: 0.78rem; font-weight: 800; color: #0369a1; background: #e0f2fe; border-radius: 50%; }
.who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.who b { font-size: 0.86rem; font-weight: 700; color: #0f172a; }
.who small { display: block; font-size: 0.72rem; color: #94a3b8; }
.thumb.sm i { font-size: 1.05rem; color: #0f766e; }
.nm small i.fa-industry, .nm small i.fa-gear, .nm small i.fa-bolt, .nm small i.fa-wind, .nm small i.fa-droplet, .nm small i.fa-microchip, .nm small i.fa-wrench { margin-right: 3px; }

.mini-x { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; color: #94a3b8; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.mini-x:hover { color: #dc2626; background: #fef2f2; }

.wo-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wo-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto 30px; align-items: center; gap: 10px; padding: 10px 12px; background: #F8FAFC; border: 1px solid #EEF2F5; border-radius: 12px; }
.wl-main { display: flex; flex-direction: column; min-width: 0; }
.wl-main b { font-size: 0.86rem; font-weight: 750; color: #0b2535; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-main small { font-size: 0.72rem; color: #94a3b8; }
.wl-q { display: inline-flex; align-items: center; gap: 4px; }
.wl-q button { width: 30px; height: 34px; color: #0f766e; background: rgba(15, 118, 110, .1); border: 0; border-radius: 8px; cursor: pointer; }
.wl-q input { width: 64px; height: 34px; text-align: center; font-weight: 800; background: #fff; border: 1px solid #E2E8F0; border-radius: 8px; outline: none; }
.wl-warn { grid-column: 1 / -1; font-size: 0.76rem; font-weight: 700; color: #b91c1c; }
.wo-calc { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 800; color: #0f172a; background: #F1F5F9; border-radius: 10px; }
.rq-receipts li .who { flex: 1; }
.rq-receipts li { align-items: center; }
/* ================= İş emirleri: yeni görünüm ================= */
.wo-top { background: linear-gradient(180deg, #edf5fb 0%, #f4f8fb 100%); }
.wo-top .mnt-hero { min-height: 150px; background: url('/mnt/wo/hero.jpg') right top / auto 100% no-repeat, #edf5fb; }
.wo-top .mnt-hero::before { background: linear-gradient(90deg, #edf5fb 0%, #edf5fb 44%, rgba(237, 245, 251, 0) 80%); }
.wo-hero-icon { display: grid; place-items: center; flex: 0 0 auto; width: 62px; height: 62px; font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); border-radius: 17px; box-shadow: 0 10px 22px rgba(15, 118, 110, .32); }
.wo-hero-bar { flex: 0 0 auto; width: 3px; height: 46px; margin: 0 16px 0 18px; background: linear-gradient(180deg, #14b8a6, #0f766e); border-radius: 2px; }
.wo-top .hero-text p { max-width: 520px; margin: 8px 0 0 99px; }

.wo-stats .mnt-stat { cursor: pointer; border-color: rgba(255, 255, 255, .95); transition: transform .15s, box-shadow .15s; }
.wo-stats .mnt-stat:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7, 31, 46, .12); }
.wo-s-red { --tone: #dc2626; background: linear-gradient(110deg, #fff0ee 0%, #fee6e3 55%, #fcdcd9 100%); }
.wo-s-blue { --tone: #0284c7; background: linear-gradient(110deg, #eaf4fe 0%, #dfeefb 55%, #d5e8f9 100%); }
.wo-s-amber { --tone: #d97706; background: linear-gradient(110deg, #fff6e4 0%, #feeed0 55%, #fce8c6 100%); }
.wo-s-violet { --tone: #7c3aed; background: linear-gradient(110deg, #f3ecfe 0%, #ebe0fc 55%, #e3d6fb 100%); }
.wo-stats .mnt-stat .deco { width: 52%; }
.deco-siren { background-image: url('/mnt/wo/siren.jpg'); }
.deco-wogears { background-image: url('/mnt/wo/gears.jpg'); }
.deco-clip { background-image: url('/mnt/wo/clip.jpg'); }
.deco-shield { background-image: url('/mnt/wo/shield.jpg'); }

/* hızlı durum filtreleri: her durumun kendi rengi */
.wo-shell .rq-chips .chip { font-weight: 700; }
.wo-shell .rq-chips .chip.ch-OPEN { color: #b91c1c; background: #fee2e2; border-color: #fecaca; }
.wo-shell .rq-chips .chip.ch-OPEN b { color: #ef4444; }
.wo-shell .rq-chips .chip.ch-IN_PROGRESS { color: #1d4ed8; background: #dbeafe; border-color: #bfdbfe; }
.wo-shell .rq-chips .chip.ch-IN_PROGRESS b { color: #3b82f6; }
.wo-shell .rq-chips .chip.ch-COMPLETED { color: #c2410c; background: #ffedd5; border-color: #fed7aa; }
.wo-shell .rq-chips .chip.ch-COMPLETED b { color: #f97316; }
.wo-shell .rq-chips .chip.ch-REJECTED { color: #6d28d9; background: #ede9fe; border-color: #ddd6fe; }
.wo-shell .rq-chips .chip.ch-REJECTED b { color: #8b5cf6; }
.wo-shell .rq-chips .chip.ch-APPROVED { color: #15803d; background: #dcfce7; border-color: #bbf7d0; }
.wo-shell .rq-chips .chip.ch-APPROVED b { color: #22c55e; }
.wo-shell .rq-chips .chip.on { color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(7, 31, 46, .18); }
.wo-shell .rq-chips .chip.on b { color: rgba(255, 255, 255, .85); }
.wo-shell .rq-chips .chip.ch-all.on, .wo-shell .rq-chips .chip.ch-open.on { background: var(--mnt-teal); }
.wo-shell .rq-chips .chip.ch-OPEN.on { background: #dc2626; }
.wo-shell .rq-chips .chip.ch-IN_PROGRESS.on { background: #2563eb; }
.wo-shell .rq-chips .chip.ch-COMPLETED.on { background: #ea580c; }
.wo-shell .rq-chips .chip.ch-REJECTED.on { background: #7c3aed; }
.wo-shell .rq-chips .chip.ch-APPROVED.on { background: #16a34a; }

/* tablo */
.wo-wrap { overflow: visible; }
.wo-ico { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; font-size: 1.1rem; border-radius: 13px; color: #475569; background: #eef2f6; }
.wo-ico.cat-mek { color: #475569; background: #e8edf3; }
.wo-ico.cat-elk { color: #d97706; background: #fff3d6; }
.wo-ico.cat-pnm { color: #0e7490; background: #dff5fa; }
.wo-ico.cat-hid { color: #2563eb; background: #e0ebff; }
.wo-ico.cat-oto { color: #7c3aed; background: #eee6fd; }
.wo-table .nm b { max-width: 190px; }
.wo-table .nm small i { margin-right: 3px; color: #b6c3cd; }
.wo-table .pri { padding: 4px 10px; font-size: 0.76rem; }
.wo-table .pri-URGENT { color: #b91c1c; background: #fee2e2; box-shadow: inset 0 0 0 1px #fecaca; }
.wo-table .pri-HIGH { color: #c2410c; background: #ffe8de; }
.wo-table .pri-HIGH i { color: #c2410c; }
.wo-table .pri-NORMAL { color: #b45309; background: #fff1d6; }
.wo-table .pri-LOW { color: #15803d; background: #dcfce7; }
.wo-st-OPEN { color: #475569; background: #e5e7eb; }
.wo-st-ASSIGNED, .wo-st-IN_PROGRESS { color: #1d4ed8; background: #dbeafe; }
.wo-st-COMPLETED { color: #c2410c; background: #ffedd5; }
.wo-st-APPROVED { color: #15803d; background: #dcfce7; }
.wo-st-REJECTED { color: #6d28d9; background: #ede9fe; }
.asg { display: inline-flex; align-items: center; gap: 8px; }
.asg-n { font-size: 0.84rem; font-weight: 700; color: #0f172a; white-space: nowrap; }
.asg-more { padding: 1px 7px; font-size: 0.72rem; font-weight: 800; color: #475569; background: #e2e8f0; border-radius: 999px; }
.wo-table .menu-wrap { display: inline-block; }
.wo-table .dots { width: 34px; height: 34px; color: #64748b; background: transparent; border: 0; border-radius: 10px; cursor: pointer; }
.wo-table .dots:hover { color: #0f766e; background: #eef2f5; }

/* kritik arızalar kartı */
.wo-crit { padding: 0; overflow: hidden; background: linear-gradient(110deg, #fff6f5, #ffe9e6); border-color: #fecaca; }
.wo-crit:not(.has) { background: linear-gradient(110deg, #f7fbf9, #eef7f4); border-color: #d6eee8; }
.wo-crit-in { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; text-align: left; background: transparent; border: 0; cursor: pointer; font-family: inherit; }
.wo-crit-ico { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; font-size: 1.3rem; color: #dc2626; background: #fff; border-radius: 13px; box-shadow: 0 6px 14px rgba(220, 38, 38, .15); }
.wo-crit:not(.has) .wo-crit-ico { color: #0f766e; box-shadow: 0 6px 14px rgba(15, 118, 110, .12); }
.wo-crit-t { display: flex; flex-direction: column; min-width: 0; font-size: 0.86rem; color: #64748b; }
.wo-crit-t b { font-size: 1.02rem; font-weight: 800; color: #0b2535; }
.wo-crit-t strong { margin-right: 4px; font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: #dc2626; }
.wo-crit:not(.has) .wo-crit-t strong { color: #0f766e; }
.wo-crit-go { display: grid; place-items: center; margin-left: auto; width: 34px; height: 34px; color: #dc2626; background: rgba(220, 38, 38, .1); border-radius: 50%; }
.wo-crit:not(.has) .wo-crit-go { color: #0f766e; background: rgba(15, 118, 110, .1); }

/* hızlı aksiyonlar */
.wo-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 16px 18px; }
.wo-quick button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 92px; padding: 12px 6px; font-family: inherit; font-size: 0.8rem; font-weight: 700; line-height: 1.2; text-align: center; color: #0b2535; background: #f1faf7; border: 1px solid #d6eee8; border-radius: 14px; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.wo-quick button i { font-size: 1.6rem; color: #0f766e; }
.wo-quick button:hover { background: #e3f5ef; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15, 118, 110, .14); }

/* iş seçme penceresi */
.wo-pick li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.wo-pick .pk-main { display: flex; flex-direction: column; min-width: 0; }
.wo-pick .pk-main b { font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wo-pick .pk-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wo-pick .rq-no { margin-right: 6px; padding: 2px 6px; font-size: 0.72rem; }

@media (max-width: 900px) {
    .wo-top .mnt-hero { background-size: auto 100%; }
    .wo-top .hero-text p { margin-left: 0; }
    .wo-hero-icon { width: 48px; height: 48px; font-size: 1.3rem; border-radius: 14px; }
    .wo-hero-bar { display: none; }
    .wo-stats .mnt-stat .deco { width: 46%; }
}
@media (max-width: 640px) {
    .wo-quick { gap: 8px; padding: 4px 12px 14px; }
    .wo-pick li { grid-template-columns: minmax(0, 1fr) auto; }
    .wo-pick li .rq-st { display: none; }
}
/* ---- Bildirim zili: ana sayfa üst çubuğunda ---- */
.bell-wrap.in-header { display: inline-flex; }
.bell-hbtn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; font-size: 1rem; color: rgba(255, 255, 255, .78); background: transparent; border: 1px solid transparent; border-radius: 12px; cursor: pointer; transition: background .15s, color .15s; }
.bell-hbtn:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .15); }
.bell-hbtn.has-new { color: #fbbf24; }
.bell-wrap.in-header .bell-badge { top: -4px; right: -4px; }
.bell-wrap.in-header .bell-pop { top: 46px; right: -70px; color: #0f172a; text-align: left; }
@media (max-width: 900px) {
    .bell-wrap.in-header .bell-pop { position: fixed; top: 76px; right: 12px; left: 12px; }
}
/* ================= İş emirleri: cam (glass) görünüm ================= */
/* Sağ sütundaki paneller içerik kadar daralıyordu (flex sütununda align-items: start); hepsi sütun genişliğinde olsun */
.rq-grid .side { align-items: stretch; }

.wo-shell {
    background:
        radial-gradient(900px 480px at 8% -6%, rgba(20, 184, 166, .16), transparent 62%),
        radial-gradient(760px 520px at 96% 4%, rgba(99, 102, 241, .13), transparent 60%),
        radial-gradient(820px 560px at 70% 108%, rgba(14, 165, 233, .14), transparent 62%),
        linear-gradient(180deg, #eef4f8 0%, #e9f0f6 100%);
}

/* paneller: buzlu cam */
.wo-shell .panel {
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15, 40, 70, .10), 0 2px 6px rgba(15, 40, 70, .04), inset 0 1px 0 rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(20px) saturate(165%);
    backdrop-filter: blur(20px) saturate(165%);
}
.wo-shell .panel-head { padding: 20px 22px 14px; }
.wo-shell .panel-title h2 { letter-spacing: -.01em; }
.wo-shell .panel-icon { color: #0f766e; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 6px 16px rgba(15, 118, 110, .14); }
.wo-shell .panel-icon.warn { color: #d97706; box-shadow: 0 6px 16px rgba(217, 119, 6, .14); }

/* sekmeler, filtre alanları, düğmeler */
.wo-shell .mnt-tabs {
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: 0 10px 28px rgba(15, 40, 70, .08), inset 0 1px 0 rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
}
.wo-shell .mnt-input input, .wo-shell .mnt-select, .wo-shell .date-range {
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(203, 213, 225, .7);
    box-shadow: inset 0 1px 2px rgba(15, 40, 70, .04);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.wo-shell .mnt-input input:focus, .wo-shell .mnt-select:focus { background: rgba(255, 255, 255, .95); }
.wo-shell .mnt-seg { background: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .85); box-shadow: inset 0 1px 2px rgba(15, 40, 70, .05); }
.wo-shell .mnt-btn:not(.primary):not(.danger) { background: rgba(255, 255, 255, .7); border-color: rgba(203, 213, 225, .75); }
.wo-shell .mnt-btn.primary { background: linear-gradient(135deg, #14b8a6, #0f766e); border-color: transparent; box-shadow: 0 10px 24px rgba(15, 118, 110, .32), inset 0 1px 0 rgba(255, 255, 255, .3); }
.wo-shell .rq-chips .chip { box-shadow: 0 2px 6px rgba(15, 40, 70, .05); }
.wo-shell .mnt-toast, .wo-shell .perm-note { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 16px; }

/* özet kartları: cam parlaması + buzlu ikon kutusu */
.wo-stats .mnt-stat {
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(15, 40, 70, .11), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
}
.wo-stats .mnt-stat::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(118deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .12) 38%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}
.wo-stats .mnt-stat-icon {
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 10px 24px rgba(15, 40, 70, .13), inset 0 1px 0 rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.wo-stats .mnt-stat-num { letter-spacing: -.03em; }
.wo-stats .mnt-stat.is-alert { border-color: rgba(245, 158, 11, .55); box-shadow: 0 18px 44px rgba(217, 119, 6, .16), inset 0 1px 0 rgba(255, 255, 255, .95); }

/* tablo */
.wo-table { border-collapse: separate; border-spacing: 0 4px; }
.wo-table thead th { padding: 11px 10px; font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; color: #64748b; background: rgba(226, 232, 240, .45); }
.wo-table tbody td { background: rgba(255, 255, 255, .38); border-bottom: 0; transition: background .15s; }
.wo-table tbody td:first-child { border-radius: 14px 0 0 14px; }
.wo-table tbody td:last-child { border-radius: 0 14px 14px 0; }
.wo-table tbody tr { transition: transform .15s, box-shadow .15s; }
.wo-table tbody tr:hover td { background: rgba(255, 255, 255, .88); }
.wo-table tbody tr:hover { box-shadow: 0 10px 26px rgba(15, 40, 70, .10); }
.wo-table tbody tr.is-closed td { background: rgba(255, 255, 255, .24); }
/* öncelik şeridi: acil ve yüksek işlerin solunda renkli çizgi */
.wo-table tr.wo-p-URGENT td:first-child { box-shadow: inset 4px 0 0 #ef4444; }
.wo-table tr.wo-p-HIGH td:first-child { box-shadow: inset 4px 0 0 #f97316; }
.wo-table tr.wo-p-NORMAL td:first-child { box-shadow: inset 4px 0 0 #fbbf24; }
.wo-table tr.wo-p-LOW td:first-child { box-shadow: inset 4px 0 0 #4ade80; }
.wo-table .rq-no { background: rgba(254, 243, 199, .85); box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .9); }
.wo-ico { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 4px 10px rgba(15, 40, 70, .06); }
.wo-table .rq-st, .wo-table .pri { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.wo-wrap { padding: 0 14px; }
.wo-shell .inv-foot { color: #64748b; }

/* yan paneller */
.wo-shell .legend li { border-bottom-color: rgba(148, 163, 184, .25); }
.wo-crit { border-radius: 22px; }
.wo-crit.has { background: linear-gradient(115deg, rgba(255, 241, 240, .85), rgba(255, 226, 222, .7)); border-color: rgba(254, 202, 202, .9); box-shadow: 0 16px 40px rgba(220, 38, 38, .13), inset 0 1px 0 rgba(255, 255, 255, .9); }
.wo-crit:not(.has) { background: linear-gradient(115deg, rgba(240, 253, 250, .8), rgba(224, 247, 242, .65)); }
.wo-crit-in:hover .wo-crit-go { background: rgba(220, 38, 38, .18); }
.wo-crit-ico { background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .95); }
.wo-quick button {
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 6px 16px rgba(15, 40, 70, .07), inset 0 1px 0 rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.wo-quick button i { display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); border-radius: 14px; box-shadow: 0 8px 18px rgba(15, 118, 110, .28); }
.wo-quick button:hover { background: rgba(255, 255, 255, .92); }

/* pencereler (detay, tamamla, onay...): cam */
.wo-bd { background: rgba(10, 30, 50, .46); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dw.wo-dw {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 34px 90px rgba(7, 31, 46, .36), inset 0 1px 0 rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    backdrop-filter: blur(26px) saturate(170%);
}
.wo-dw .dw-head { background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); border-bottom-color: rgba(226, 232, 240, .7); }
.wo-dw .dw-foot { background: rgba(248, 250, 252, .7); border-top-color: rgba(226, 232, 240, .7); }
.wo-dw .d-grid > div, .wo-dw .cur, .wo-dw .rq-flow, .wo-dw .rq-receipts li, .wo-dw .wo-lines li {
    background: rgba(255, 255, 255, .6);
    border-color: rgba(226, 232, 240, .8);
}

/* cam desteklemeyen tarayıcıda opak yedek */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .wo-shell .panel { background: rgba(255, 255, 255, .94); }
    .dw.wo-dw { background: #fff; }
}

@media (max-width: 1280px) {
    .wo-table { border-spacing: 0; }
    .wo-table tbody tr { background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .85); box-shadow: 0 8px 22px rgba(15, 40, 70, .07); }
    .wo-table tbody td, .wo-table tbody tr:hover td { background: transparent; border-radius: 0; }
    .wo-table tbody td:first-child, .wo-table tbody td:last-child { border-radius: 0; }
    .wo-table tr.wo-p-URGENT td:first-child, .wo-table tr.wo-p-HIGH td:first-child, .wo-table tr.wo-p-NORMAL td:first-child, .wo-table tr.wo-p-LOW td:first-child { box-shadow: none; }
    .wo-table tr.wo-p-URGENT { box-shadow: inset 4px 0 0 #ef4444, 0 8px 22px rgba(15, 40, 70, .07); }
    .wo-table tr.wo-p-HIGH { box-shadow: inset 4px 0 0 #f97316, 0 8px 22px rgba(15, 40, 70, .07); }
}
.wo-table td[data-label="Tarih"] { white-space: nowrap; color: #475569; font-size: 0.82rem; }
/* ---- Talepler: özet kartları süzme düğmesi ---- */
.rq-stats .mnt-stat { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.rq-stats .mnt-stat:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7, 31, 46, .12); }
.rq-stats .mnt-stat:focus-visible { outline: 3px solid rgba(15, 118, 110, .45); outline-offset: 2px; }
.rq-stats .mnt-stat.is-active { box-shadow: 0 0 0 2px var(--tone), 0 16px 34px rgba(7, 31, 46, .12); }
/* ---- Fotoğraflar (iş emri / malzeme talebi) ---- */
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.ph-item { position: relative; aspect-ratio: 1; }
.ph-thumb { display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; background: #e8eef3; border: 1px solid rgba(203, 213, 225, .8); border-radius: 14px; cursor: zoom-in; box-shadow: 0 4px 12px rgba(15, 40, 70, .08); transition: transform .15s, box-shadow .15s; }
.ph-thumb.is-static { cursor: default; }
.ph-thumb:not(.is-static):hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 40, 70, .16); }
.ph-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-del { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 28px; height: 28px; font-size: .78rem; color: #fff; background: rgba(15, 23, 42, .62); border: 0; border-radius: 50%; cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ph-del:hover { background: #dc2626; }
.ph-confirm { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 6px; font-size: .74rem; font-weight: 700; color: #fff; text-align: center; background: rgba(15, 23, 42, .78); border-radius: 14px; }
.ph-confirm button { width: 100%; padding: 4px 0; font-size: .74rem; font-weight: 700; color: #0f172a; background: #fff; border: 0; border-radius: 8px; cursor: pointer; }
.ph-confirm button.yes { color: #fff; background: #dc2626; }
.ph-add { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 1; padding: 6px; font-size: .74rem; font-weight: 700; text-align: center; color: #0f766e; background: rgba(240, 250, 247, .8); border: 2px dashed rgba(20, 184, 166, .5); border-radius: 14px; cursor: pointer; transition: background .15s, border-color .15s; }
.ph-add i { font-size: 1.35rem; }
.ph-add:hover { background: rgba(224, 245, 239, .95); border-color: #14b8a6; }
.ph-add.is-busy { opacity: .7; cursor: progress; }
.ph-msg { margin-top: 8px; }

/* büyütme (lightbox): pencerelerin üstünde */
.ph-lb { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; background: rgba(5, 15, 25, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: mntFade .15s ease both; }
.ph-lb figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ph-lb img { display: block; max-width: 100%; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); object-fit: contain; border-radius: 14px; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.ph-lb figcaption { font-size: .86rem; color: #cbd5e1; }
.ph-lb-x, .ph-lb-nav { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; font-size: 1.1rem; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; cursor: pointer; }
.ph-lb-x:hover, .ph-lb-nav:hover { background: rgba(255, 255, 255, .26); }
.ph-lb-x { top: 18px; right: 18px; }
.ph-lb-nav { top: 50%; transform: translateY(-50%); }
.ph-lb-nav.prev { left: 18px; }
.ph-lb-nav.next { right: 18px; }
@media (max-width: 640px) {
    .ph-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .ph-lb { padding: 12px; }
    .ph-lb-nav { width: 40px; height: 40px; }
}
/* ---- Kullanıcının rolü (ad yanında) ---- */
.hero-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.mnt-role { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; max-width: 190px; margin-top: 2px; padding: 1px 8px; overflow: hidden; font-size: 0.68rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; text-overflow: ellipsis; color: #0f766e; background: rgba(20, 184, 166, .14); border: 1px solid rgba(20, 184, 166, .28); border-radius: 999px; }
.mnt-role i { font-size: .62rem; }
.mnt-role.in-header { color: #83f1e1; background: rgba(21, 149, 141, .24); border-color: rgba(112, 225, 211, .38); }
@media (max-width: 900px) {
    .hero-id { display: none; }
}
/* Kucuk telefonlar (360px alti) ve genel guvenlik: ustteki kullanici kutusu ve tarih secici tasmasin */
@media (max-width: 380px) {
    .hero-actions { gap: 6px; }
    .hero-user { gap: 6px; padding-right: 4px; }
    .hero-user button { width: 30px; height: 30px; }
    .date-range { min-width: 0; max-width: 100%; padding: 0 6px; }
    .date-range input { min-width: 0; width: 0; flex: 1 1 0; }
    .mnt-tabs a { min-width: 0; gap: 5px; padding: 0 4px; font-size: 0.8rem; }
    .hero-actions .hero-user { max-width: 100%; }
}
/* ---- Planli bakim ---- */
.pl-urgent { margin-bottom: 16px; padding: 14px 16px; background: linear-gradient(135deg, rgba(254, 243, 199, .85), rgba(255, 255, 255, .8)); border: 1px solid rgba(217, 119, 6, .3); border-radius: 18px; backdrop-filter: blur(8px); }
.pl-urgent h3 { margin: 0 0 10px; font-size: .95rem; font-weight: 800; color: #92400e; }
.pl-urgent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pl-urgent-item { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; text-align: left; background: #fff; border: 1px solid #fde68a; border-radius: 14px; cursor: pointer; font-family: inherit; }
.pl-urgent-item b { font-size: .86rem; color: #0f172a; }
.pl-urgent-item small { color: #64748b; }
.pl-urgent-item.today { border-color: #f59e0b; background: #fffbeb; }
.pl-urgent-item.late { border-color: #fca5a5; background: #fef2f2; }
.pl-urgent-tag { align-self: flex-start; padding: 1px 8px; font-size: .7rem; font-weight: 800; color: #92400e; background: #fde68a; border-radius: 999px; }
.pl-urgent-item.late .pl-urgent-tag { color: #fff; background: #dc2626; }
.pl-panel { padding: 16px; }
.pl-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pl-search { flex: 1 1 260px; max-width: 420px; }
.pl-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.pl-filters .mnt-select { flex: 1 1 160px; min-width: 0; }
.pl-count { margin: 4px 2px 10px; font-size: .8rem; font-weight: 700; color: #64748b; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.pl-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: rgba(255, 255, 255, .88); border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 6px 18px rgba(7, 31, 46, .06); }
.pl-card.late { border-color: #fca5a5; }
.pl-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pl-card-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pl-card h3 { margin: 0; font-size: 1rem; font-weight: 800; color: #0f172a; }
.pl-machine { font-size: .85rem; font-weight: 700; color: #0f766e; }
.pl-machine span { font-weight: 500; color: #94a3b8; }
.pl-tag { padding: 2px 9px; font-size: .72rem; font-weight: 800; color: #1d4ed8; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; }
.pl-tag.soft { color: #475569; background: #f1f5f9; border-color: #e2e8f0; }
.pl-badge { flex: 0 0 auto; padding: 3px 10px; font-size: .72rem; font-weight: 800; border-radius: 999px; background: #f1f5f9; color: #475569; }
.pl-badge.planned { background: #e0f2fe; color: #0369a1; }
.pl-badge.soon { background: #fef3c7; color: #92400e; }
.pl-badge.late { background: #fee2e2; color: #b91c1c; }
.pl-badge.progress { background: #dbeafe; color: #1d4ed8; }
.pl-badge.wait { background: #ede9fe; color: #6d28d9; }
.pl-badge.done { background: #dcfce7; color: #15803d; }
.pl-badge.off { background: #e2e8f0; color: #64748b; }
.pl-prog-top { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 700; color: #475569; }
.pl-bar { height: 7px; margin-top: 4px; overflow: hidden; background: #e2e8f0; border-radius: 999px; }
.pl-bar i { display: block; height: 100%; background: linear-gradient(90deg, #14b8a6, #0f766e); border-radius: 999px; }
.pl-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0; padding-top: 8px; border-top: 1px solid #f1f5f9; }
.pl-meta div.wide { grid-column: 1 / -1; }
.pl-meta dt { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.pl-meta dd { margin: 1px 0 0; font-size: .86rem; font-weight: 700; color: #1e293b; }
.pl-slip { padding: 6px 10px; font-size: .8rem; font-weight: 700; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; }
.pl-card footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 6px; }
.pl-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 12px; }
.pl-cal-head h3 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.pl-cal-head > div { display: flex; gap: 6px; }
.pl-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pl-cal-dow { padding: 4px 0; text-align: center; font-size: .72rem; font-weight: 800; color: #64748b; }
.pl-cal-cell { display: flex; flex-direction: column; gap: 3px; min-height: 92px; padding: 5px; background: rgba(255, 255, 255, .85); border: 1px solid #e2e8f0; border-radius: 12px; }
.pl-cal-cell.empty { background: transparent; border-style: dashed; opacity: .4; }
.pl-cal-cell.today { border-color: #14b8a6; box-shadow: 0 0 0 2px rgba(20, 184, 166, .2); }
.pl-cal-day { font-size: .76rem; font-weight: 800; color: #475569; }
.pl-chip { display: block; width: 100%; padding: 2px 6px; overflow: hidden; text-align: left; font-size: .68rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-family: inherit; }
.pl-chip.small { width: auto; text-align: center; padding: 1px 7px; }
.chip-planned { color: #1d4ed8; background: #dbeafe; border-color: #bfdbfe; }
.chip-progress { color: #92400e; background: #fef3c7; border-color: #fde68a; }
.chip-late { color: #b91c1c; background: #fee2e2; border-color: #fecaca; }
.chip-done { color: #15803d; background: #dcfce7; border-color: #bbf7d0; }
.pl-matrix-wrap { overflow-x: auto; }
.pl-matrix { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .78rem; }
.pl-matrix th, .pl-matrix td { padding: 6px 6px; text-align: center; border-bottom: 1px solid #f1f5f9; }
.pl-matrix thead th { color: #475569; background: #f8fafc; }
.pl-matrix tbody th { min-width: 150px; text-align: left; font-weight: 800; color: #0f172a; }
.pl-matrix tbody th small { display: block; font-weight: 500; color: #94a3b8; }
.pl-matrix .cur { background: rgba(20, 184, 166, .08); }
.pl-matrix td .pl-chip { display: inline-block; margin: 1px; }
.pl-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: .76rem; font-weight: 700; color: #475569; }
.pl-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 5px; vertical-align: -2px; border-radius: 4px; }
.pl-options { display: flex; flex-direction: column; gap: 10px; }
.pl-check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; cursor: pointer; }
.pl-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #0f766e; flex: 0 0 auto; }
.pl-check span { display: flex; flex-direction: column; gap: 2px; font-size: .88rem; color: #0f172a; }
.pl-check small { color: #64748b; font-weight: 500; }
.pl-check.small { padding: 6px 10px; }
.pl-days { max-width: 320px; }
.pl-staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.pl-check-list, .pl-checks { margin: 0 0 10px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pl-check-list li, .pl-checks li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; font-size: .88rem; }
.pl-checks li span { flex: 1; min-width: 0; }
.pl-checks li span small { display: block; font-size: .72rem; font-weight: 600; color: #15803d; }
.pl-checks li.done { background: #f0fdf4; border-color: #bbf7d0; }
.pl-checks li.done span { color: #64748b; text-decoration: line-through; }
.pl-tick { font-size: 1.25rem; color: #94a3b8; background: transparent; border: 0; cursor: pointer; }
.pl-checks li.done .pl-tick { color: #16a34a; }
.pl-tick:disabled { cursor: default; }
.pl-x { width: 28px; height: 28px; color: #94a3b8; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.pl-x:hover { color: #dc2626; background: #fee2e2; }
.pl-check-list li span { flex: 1; }
.pl-add { display: flex; gap: 8px; }
.pl-add input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; font-family: inherit; border: 1px solid #e2e8f0; border-radius: 10px; }
.pl-d-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.pl-flags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.pl-flags span { padding: 4px 10px; font-size: .76rem; font-weight: 700; color: #64748b; background: #f1f5f9; border-radius: 999px; }
.pl-flags span.on { color: #0f766e; background: rgba(20, 184, 166, .14); }
.pl-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pl-presets button { padding: 3px 9px; font-size: .74rem; color: #475569; background: #f1f5f9; border: 0; border-radius: 8px; cursor: pointer; font-family: inherit; }
.pl-qty { display: flex; align-items: center; gap: 4px; }
.pl-qty input { width: 84px; height: 34px; padding: 0 8px; text-align: right; border: 1px solid #e2e8f0; border-radius: 8px; }
@media (max-width: 640px) {
    .pl-cards { grid-template-columns: 1fr; }
    .pl-cal-cell { min-height: 64px; padding: 3px; }
    .pl-cal .pl-chip { font-size: .6rem; padding: 1px 3px; }
    .pl-panel { padding: 10px; }
    .pl-urgent-grid { grid-template-columns: 1fr; }
}
.dw-foot { flex-wrap: wrap; }
.dw-foot .mnt-btn { white-space: nowrap; }

/* ---- Planli bakim: tasarim v2 (ekipman gorselli kartlar, saginda grafikler) ---- */
.pl-top .mnt-hero { min-height: 132px; background: url('/mnt/pl/hero.jpg') right bottom / auto 100% no-repeat, #edf5fb; }
.pl-top .mnt-hero::before { background: linear-gradient(90deg, #edf5fb 0%, #edf5fb 50%, rgba(237, 245, 251, 0) 82%); }
.pl-top .wo-hero-icon { color: #0f766e; background: #fff; border: 1px solid #d3e6e6; box-shadow: 0 8px 20px rgba(15, 118, 110, .14); }
.pl-top .wo-hero-bar { display: none; }
.pl-top .hero-text p.pl-sub { max-width: none; margin: 6px 0 0 78px; font-size: .86rem; color: #475569; }
.pl-sub span { margin: 0 6px; color: #94a3b8; }
.pl-hero-search { display: flex; align-items: center; gap: 8px; width: min(400px, 32vw); height: 44px; padding: 0 12px; background: rgba(255, 255, 255, .94); border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 4px 14px rgba(7, 31, 46, .07); }
.pl-hero-search i { color: #64748b; }
.pl-hero-search input { flex: 1; min-width: 0; font: inherit; font-size: .84rem; background: transparent; border: 0; outline: 0; }
.pl-hero-search kbd { padding: 2px 8px; font-family: inherit; font-size: .68rem; font-weight: 700; color: #64748b; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 7px; }

.pl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.pl-main { min-width: 0; }
.pl-side { display: flex; flex-direction: column; gap: 16px; }

.pl-urgent { padding: 14px 16px; background: rgba(255, 255, 255, .92); border: 1px solid #e6edf2; border-radius: 20px; box-shadow: 0 8px 24px rgba(7, 31, 46, .06); }
.pl-urgent-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pl-urgent-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1rem; color: #0f172a; }
.pl-urgent-head h3 i { color: #0f766e; }
.pl-link { font-family: inherit; font-size: .82rem; font-weight: 800; color: #0f766e; background: transparent; border: 0; cursor: pointer; }
.pl-urgent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pl-urgent-item { flex-direction: row; align-items: center; gap: 10px; }
.pl-urgent-item.late { background: linear-gradient(135deg, #fff1f2, #fff 70%); border-color: #fecdd3; }
.pl-urgent-item.today, .pl-urgent-item.soon { background: linear-gradient(135deg, #fffbeb, #fff 70%); border-color: #fde68a; }
.pl-eq { flex: 0 0 auto; width: 58px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(7, 31, 46, .14)); }
.pl-urgent-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pl-urgent-body b { overflow: hidden; font-size: .84rem; white-space: nowrap; text-overflow: ellipsis; }
.pl-urgent-body small { color: #64748b; white-space: nowrap; }

.pl-toolbar { justify-content: space-between; }
.pl-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr) auto; gap: 10px; margin: 12px 0; }
.pl-sel { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; }
.pl-sel > i { font-size: 1rem; color: #64748b; }
.pl-sel > span { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.pl-sel small { font-size: .66rem; font-weight: 700; color: #94a3b8; }
.pl-sel select { width: 100%; padding: 0; font-family: inherit; font-size: .86rem; font-weight: 800; color: #0f172a; background: transparent; border: 0; outline: 0; cursor: pointer; }
.pl-filters .pl-search { flex: none; max-width: none; height: auto; min-height: 46px; }
.pl-reset { height: 46px; }

.pl-cards { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.pl-card.late { background: linear-gradient(135deg, #fff1f2, #fff 62%); border-color: #fca5a5; }
.pl-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pl-card-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pl-code { font-size: .8rem; font-weight: 800; color: #0f172a; }
.pl-card.late .pl-code { color: #b91c1c; }
.pl-card .pl-eq { width: 78px; height: 88px; }
.pl-card-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.pl-card .pl-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; border: 0; }
.pl-m { display: flex; align-items: center; gap: 7px; min-width: 0; }
.pl-m > i { font-size: .95rem; color: #64748b; }
.pl-m dd { max-width: 110px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pl-card .pl-card-bottom footer { margin: 0; padding: 0; }

.pl-widget { padding: 16px; background: rgba(255, 255, 255, .92); border: 1px solid #e6edf2; border-radius: 20px; box-shadow: 0 8px 24px rgba(7, 31, 46, .06); }
.pl-widget > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.pl-widget h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .98rem; font-weight: 800; color: #0f172a; }
.pl-widget h3 i { color: #0f766e; }
.pl-wsel { font-family: inherit; font-size: .78rem; font-weight: 600; color: #475569; background: transparent; border: 0; cursor: pointer; }
.pl-donut-wrap { display: flex; align-items: center; gap: 14px; }
.pl-donut { position: relative; flex: 0 0 auto; width: 130px; height: 130px; }
.pl-donut svg { width: 100%; height: 100%; }
.pl-donut circle { fill: none; stroke-width: 16; }
.pl-donut circle.bg { stroke: #eef2f6; }
.pl-donut-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pl-donut-c b { font-size: 1.5rem; font-weight: 900; color: #0f172a; }
.pl-donut-c small { font-size: .7rem; color: #64748b; }
.pl-dlegend { display: flex; flex: 1; flex-direction: column; gap: 7px; margin: 0; padding: 0; font-size: .84rem; list-style: none; }
.pl-dlegend li { display: flex; align-items: center; gap: 8px; }
.pl-dlegend li i { width: 11px; height: 11px; border-radius: 4px; }
.pl-dlegend li span { flex: 1; color: #475569; }
.pl-wnav { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: #475569; }
.pl-wnav button { width: 24px; height: 24px; color: #475569; background: #f1f5f9; border: 0; border-radius: 8px; cursor: pointer; }
.pl-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.pl-wday { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .74rem; color: #64748b; }
.pl-wday b { color: #0f172a; }
.pl-wbar { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 80px; }
.pl-wbar i { display: block; width: 62%; background: #8ee5d6; border-radius: 6px 6px 3px 3px; }
.pl-wday.today .pl-wbar i { background: #0f9d8a; }
.pl-wday.today span { font-weight: 800; color: #0f766e; }
.pl-plans { padding: 3px 12px; font-size: .8rem; font-weight: 800; color: #0f766e; background: #ccfbf1; border-radius: 999px; }
.pl-wsub { margin: -4px 0 4px; font-size: .78rem; color: #64748b; }
.pl-line { width: 100%; height: auto; }
.pl-line line { stroke: #e2e8f0; stroke-width: 1; }
.pl-line text { font-size: 10px; fill: #94a3b8; }
.pl-line polyline { fill: none; stroke: #14b8a6; stroke-width: 2.5; stroke-linejoin: round; }
.pl-line circle { fill: #fff; stroke: #14b8a6; stroke-width: 2; }
.pl-line circle.cur { fill: #0f766e; stroke: #0f766e; }

@media (max-width: 1180px) {
    .pl-layout { grid-template-columns: 1fr; }
    .pl-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
    .pl-hero-search { display: none; }
}
@media (max-width: 900px) {
    .pl-filters { grid-template-columns: 1fr 1fr; }
    .pl-filters .pl-search { grid-column: 1 / -1; }
    .pl-urgent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .pl-top .hero-text p.pl-sub { margin-left: 0; font-size: .78rem; }
    .pl-cards { grid-template-columns: 1fr; }
    .pl-card .pl-eq { width: 64px; height: 72px; }
    .pl-donut-wrap { flex-direction: column; align-items: stretch; }
    .pl-donut { align-self: center; }
}
.pl-card .pl-meta dt { font-size: .7rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #64748b; }
.pl-card .pl-meta dd { font-size: .84rem; }

.pl-urgent-grid > *, .pl-cards > *, .pl-side > * { min-width: 0; }
.pl-urgent-item { max-width: 100%; overflow: hidden; }

/* ---- Kayip kacak ---- */
.kk-hero-icon { background: linear-gradient(135deg, #38bdf8, #0284c7) !important; border: 0 !important; color: #fff !important; box-shadow: 0 10px 22px rgba(2, 132, 199, .3) !important; }
.kk-panel { padding: 16px; }
.kk-types, .kk-type-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.kk-type { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; font-family: inherit; font-size: .84rem; font-weight: 700; color: #475569; background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; cursor: pointer; }
.kk-type b { padding: 1px 8px; font-size: .74rem; color: #475569; background: #f1f5f9; border-radius: 999px; }
.kk-type.on { color: #fff; background: #0f766e; border-color: #0f766e; }
.kk-type.on b { color: #0f766e; background: #fff; }
.kk-type.t-WATER i { color: #0284c7; } .kk-type.t-STEAM i { color: #64748b; } .kk-type.t-CHEMICAL i { color: #7c3aed; } .kk-type.t-ELECTRICITY i { color: #d97706; } .kk-type.t-COMPRESSED_AIR i { color: #0f766e; }
.kk-type.on i { color: #fff !important; }
.kk-filters { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr) auto; }
.kk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.kk-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px 16px 14px 20px; position: relative; overflow: hidden; background: rgba(255, 255, 255, .92); border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 6px 18px rgba(7, 31, 46, .06); }
.kk-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: #38bdf8; }
.kk-card.sev-MEDIUM::before { background: #f59e0b; }
.kk-card.sev-CRITICAL::before { background: #dc2626; }
.kk-card.alert { border-color: #fca5a5; background: linear-gradient(135deg, #fff1f2, #fff 60%); }
.kk-card header { display: flex; align-items: center; gap: 10px; }
.kk-head { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.kk-ticon { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; color: #fff; border-radius: 12px; background: #0284c7; }
.kk-ticon.t-STEAM { background: #64748b; } .kk-ticon.t-CHEMICAL { background: #7c3aed; } .kk-ticon.t-ELECTRICITY { background: #d97706; } .kk-ticon.t-COMPRESSED_AIR { background: #0f766e; }
.kk-sev { padding: 2px 9px; font-size: .7rem; font-weight: 800; border-radius: 999px; color: #0369a1; background: #e0f2fe; }
.kk-sev.sev-MEDIUM { color: #92400e; background: #fef3c7; }
.kk-sev.sev-CRITICAL { color: #fff; background: #dc2626; }
.kk-card h3 { margin: 0; font-size: 1rem; font-weight: 800; color: #0f172a; overflow-wrap: anywhere; }
.kk-desc { display: -webkit-box; margin: 0; overflow: hidden; font-size: .86rem; color: #475569; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kk-meta { display: flex; flex-direction: column; gap: 4px; margin: 0; padding-top: 8px; border-top: 1px solid #f1f5f9; font-size: .8rem; color: #475569; }
.kk-meta > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.kk-meta i { flex: 0 0 auto; width: 16px; text-align: center; color: #94a3b8; }
.kk-meta span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kk-card footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 4px; }
.kk-people { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.kk-people span { padding: 4px 12px; font-size: .82rem; font-weight: 700; color: #0f766e; background: rgba(20, 184, 166, .12); border-radius: 999px; }
.kk-cards > * { min-width: 0; }
@media (max-width: 900px) { .kk-filters { grid-template-columns: 1fr 1fr; } .kk-filters .pl-search { grid-column: 1 / -1; } }
@media (max-width: 640px) {
    .kk-cards { grid-template-columns: 1fr; }
    .kk-panel { padding: 10px; }
    .kk-types { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .kk-type { flex: 0 0 auto; }
    .mnt-tabs { overflow-x: auto; scrollbar-width: none; }
    .mnt-tabs a { flex: 0 0 auto; }
}
.rq-banner > div > b, .rq-banner > div > span { display: block; }

/* ---- Analiz: pinterest tarzi pastel kartlar, masonry yerlesim ---- */
.an-top { background: linear-gradient(180deg, #eaf3f6 0%, #f4f8fb 100%); }
.an-top .mnt-hero { min-height: 120px; background: radial-gradient(circle at 88% 20%, rgba(56, 189, 248, .22), transparent 34%), radial-gradient(circle at 72% 90%, rgba(15, 157, 138, .2), transparent 40%), #eaf3f6; }
.an-top .mnt-hero::before { display: none; }
.an-hero-icon { background: linear-gradient(135deg, #0f9d8a, #0369a1) !important; border: 0 !important; color: #fff !important; box-shadow: 0 10px 22px rgba(3, 105, 161, .28) !important; }
.an-top .hero-text p { max-width: 560px; margin: 8px 0 0 99px; }
.an-shell { background: transparent; }

.an-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 4px 0 14px; padding: 12px 14px; background: rgba(255, 255, 255, .86); border: 1px solid #e6edf2; border-radius: 20px; box-shadow: 0 6px 20px rgba(7, 31, 46, .05); backdrop-filter: blur(8px); }
.an-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.an-chips button { padding: 8px 14px; font-family: inherit; font-size: .82rem; font-weight: 700; color: #475569; background: #f1f5f9; border: 0; border-radius: 999px; cursor: pointer; }
.an-chips button.on { color: #fff; background: linear-gradient(135deg, #0f9d8a, #0f766e); box-shadow: 0 4px 12px rgba(15, 118, 110, .3); }
.an-dates { display: flex; align-items: flex-end; gap: 8px; color: #94a3b8; }
.an-dates label { display: flex; flex-direction: column; gap: 2px; }
.an-dates small { font-size: .66rem; font-weight: 700; color: #94a3b8; }
.an-dates input { height: 38px; padding: 0 10px; font-family: inherit; font-size: .84rem; color: #0f172a; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; }
.an-dept { min-width: 190px; }
.an-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 2px 12px; font-size: .78rem; font-weight: 600; color: #64748b; }
.an-meta i { margin-right: 5px; color: #94a3b8; }
.an-tabs { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; margin-bottom: 16px; }
.an-loading { transition: opacity .2s; }
.an-loading.on { opacity: .55; pointer-events: none; }

.an-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 18px; }
.an-kpis.small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.an-kpi { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 16px 12px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 8px 22px rgba(7, 31, 46, .07); background: #fff; }
.an-kpi.tone-blue { background: linear-gradient(145deg, #e6f0ff, #fff 85%); }
.an-kpi.tone-violet { background: linear-gradient(145deg, #efe9ff, #fff 85%); }
.an-kpi.tone-amber { background: linear-gradient(145deg, #fff3d6, #fff 85%); }
.an-kpi.tone-teal { background: linear-gradient(145deg, #dcf7f1, #fff 85%); }
.an-kpi.tone-sky { background: linear-gradient(145deg, #dff3fd, #fff 85%); }
.an-kpi.tone-green { background: linear-gradient(145deg, #dcf7e8, #fff 85%); }
.an-kpi.tone-red { background: linear-gradient(145deg, #ffe3e3, #fff 85%); }
.an-kpi.tone-rose { background: linear-gradient(145deg, #ffe4ea, #fff 85%); }
.an-kpi-top { display: flex; align-items: center; gap: 10px; }
.an-kpi-ico { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; font-size: .95rem; color: #fff; border-radius: 12px; background: #3b82f6; }
.tone-violet .an-kpi-ico { background: #8b5cf6; } .tone-amber .an-kpi-ico { background: #f59e0b; } .tone-teal .an-kpi-ico { background: #0f9d8a; } .tone-sky .an-kpi-ico { background: #0ea5e9; }
.tone-green .an-kpi-ico { background: #10b981; } .tone-red .an-kpi-ico { background: #ef4444; } .tone-rose .an-kpi-ico { background: #f43f5e; }
.an-kpi-label { font-size: .8rem; font-weight: 700; color: #475569; }
.an-kpi-val { font-size: 1.7rem; font-weight: 900; line-height: 1.1; color: #0f172a; letter-spacing: -.01em; overflow-wrap: anywhere; }
.an-kpi-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; min-height: 34px; }
.an-kpi-spark { flex: 0 0 96px; }
.ch-spark { display: block; width: 100%; height: 34px; }
.an-delta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 3px 9px; font-size: .74rem; font-weight: 800; color: #64748b; background: rgba(100, 116, 139, .1); border-radius: 999px; }
.an-delta small { font-size: .66rem; font-weight: 600; opacity: .8; }
.an-delta.good { color: #047857; background: rgba(16, 185, 129, .16); }
.an-delta.bad { color: #b91c1c; background: rgba(239, 68, 68, .14); }
.an-delta.flat { color: #64748b; }

.an-masonry { column-count: 3; column-gap: 16px; }
.an-card { display: inline-block; width: 100%; box-sizing: border-box; margin: 0 0 16px; padding: 18px; break-inside: avoid; background: rgba(255, 255, 255, .94); border: 1px solid #e6edf2; border-radius: 24px; box-shadow: 0 8px 24px rgba(7, 31, 46, .06); }
.an-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .96rem; font-weight: 800; color: #0f172a; }
.an-card h3 i { color: #0f9d8a; }
.an-card.wide { column-span: all; }
.an-dark { color: #e2f3f1; background: radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .25), transparent 40%), linear-gradient(160deg, #0b2c40, #0f5e57); border-color: transparent; }
.an-dark h3 { color: #fff; }
.an-dark h3 i { color: #fbbf24; }
.an-tint-rose { background: linear-gradient(150deg, #ffe9ee, #fff 80%); }
.an-insights { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.an-insights li { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; line-height: 1.45; }
.an-insights li i { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; font-size: .78rem; border-radius: 9px; background: rgba(255, 255, 255, .14); color: #7dd3fc; }
.an-insights li.tone-bad i { color: #fda4af; background: rgba(244, 63, 94, .25); }
.an-insights li.tone-warn i { color: #fcd34d; background: rgba(245, 158, 11, .25); }
.an-insights li.tone-good i { color: #86efac; background: rgba(34, 197, 94, .25); }
.an-insights strong { color: #fff; }
.an-empty { margin: 0; padding: 8px 0; font-size: .86rem; color: #94a3b8; text-align: center; }
.an-empty.good { color: #059669; }
.an-note { margin: 10px 0 0; font-size: .8rem; color: #64748b; }
.an-note b { color: #0f172a; }
.an-donutrow, .an-ringrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.an-legend-inline { display: flex; gap: 14px; margin-top: 6px; font-size: .78rem; font-weight: 700; color: #475569; }
.an-legend-inline i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 4px; }
.an-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; flex: 1; min-width: 150px; margin: 0; padding: 0; list-style: none; }
.an-mini.wide { grid-template-columns: repeat(2, 1fr); }
.an-mini li { display: flex; flex-direction: column; }
.an-mini b { font-size: 1.25rem; font-weight: 900; color: #0f172a; overflow-wrap: anywhere; }
.an-mini span { font-size: .74rem; font-weight: 600; color: #64748b; }
.an-mini li.bad b { color: #dc2626; } .an-mini li.warn b { color: #d97706; }
.an-stocklist { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.an-stocklist li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px 10px; background: #f8fafc; border-radius: 12px; }
.an-stocklist li span:first-child { display: flex; flex-direction: column; min-width: 0; }
.an-stocklist b { overflow: hidden; font-size: .84rem; white-space: nowrap; text-overflow: ellipsis; }
.an-stocklist small { color: #94a3b8; }
.an-stocklist em { grid-column: 1 / -1; font-size: .74rem; font-style: normal; color: #64748b; }
.an-lvl { align-self: start; padding: 2px 9px; font-size: .7rem; font-weight: 800; border-radius: 999px; }
.an-lvl.bad { color: #fff; background: #dc2626; } .an-lvl.warn { color: #92400e; background: #fde68a; }

.an-tablewrap { overflow-x: auto; }
.an-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.an-table th { padding: 8px 10px; text-align: left; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; border-bottom: 1px solid #e2e8f0; white-space: nowrap; }
.an-table td { padding: 9px 10px; color: #1e293b; border-bottom: 1px solid #f1f5f9; }
.an-table tr:last-child td { border-bottom: 0; }
.an-table .r { text-align: right; font-variant-numeric: tabular-nums; }
.an-table .bad { font-weight: 800; color: #dc2626; }
.an-table .an-empty { text-align: center; }
.an-mbar { width: 120px; height: 8px; overflow: hidden; background: #e8eef3; border-radius: 999px; }
.an-mbar i { display: block; height: 100%; background: linear-gradient(90deg, #14b8a6, #0f766e); border-radius: 999px; }

/* Grafik parcalari */
.ch-svg { display: block; width: 100%; height: auto; }
.ch-grid { stroke: #e8eef3; stroke-width: 1; }
.ch-ax { font-size: 10px; fill: #94a3b8; font-family: inherit; }
.ch-donut { flex: 0 0 auto; }
.ch-dbig { font-size: 17px; font-weight: 800; fill: #0f172a; font-family: inherit; }
.ch-dsmall { font-size: 8px; fill: #64748b; font-family: inherit; }
.ch-legend { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 150px; margin: 0; padding: 0; font-size: .82rem; list-style: none; }
.ch-legend li { display: flex; align-items: center; gap: 8px; }
.ch-legend i { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 4px; }
.ch-legend span { flex: 1; min-width: 0; overflow: hidden; color: #475569; white-space: nowrap; text-overflow: ellipsis; }
.ch-legend small { min-width: 30px; text-align: right; color: #94a3b8; }
.ch-hbars { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ch-hrow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ch-hlabel { overflow: hidden; font-size: .84rem; font-weight: 700; color: #1e293b; white-space: nowrap; text-overflow: ellipsis; }
.ch-hrow b { flex: 0 0 auto; font-size: .84rem; color: #0f172a; }
.ch-track { height: 9px; margin-top: 5px; overflow: hidden; background: #eef2f6; border-radius: 999px; }
.ch-track i { display: block; height: 100%; border-radius: 999px; }
.ch-hbars small { display: block; margin-top: 3px; font-size: .72rem; color: #94a3b8; }
.ch-empty { font-size: .84rem; color: #94a3b8; text-align: center; }
.ch-heat { display: grid; gap: 4px; font-size: .7rem; }
.ch-heat b { text-align: center; font-weight: 700; color: #94a3b8; }
.ch-heat em { display: flex; align-items: center; font-style: normal; font-weight: 700; color: #64748b; }
.ch-hcell { display: grid; place-items: center; min-height: 30px; font-weight: 800; border-radius: 8px; }

@media (max-width: 1500px) { .an-masonry { column-count: 2; } }
@media (max-width: 1000px) { .an-masonry { column-count: 1; } .an-top .hero-text p { margin-left: 0; } }
@media (max-width: 640px) {
    .an-bar { padding: 10px; }
    .an-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
    .an-chips button { flex: 0 0 auto; }
    .an-dates { width: 100%; }
    .an-dates label { flex: 1; }
    .an-dates input { width: 100%; }
    .an-dept { width: 100%; }
    .an-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
    .an-tabs button { flex: 0 0 auto; }
    .an-kpis, .an-kpis.small { grid-template-columns: 1fr 1fr; gap: 10px; }
    .an-kpi { padding: 12px 12px 10px; border-radius: 18px; }
    .an-kpi-val { font-size: 1.25rem; }
    .an-kpi-spark { flex-basis: 64px; }
    .an-delta small { display: none; }
    .an-card { padding: 14px; border-radius: 20px; }
}
.an-delta { white-space: nowrap; }

.rq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pl-tool-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- Telefon gorunumu (<=768px): Is Emirleri ---- */
.wo-m, .mf-bd, .mf-sheet { display: none; }

@media (max-width: 768px) {
    /* masaustu parcalari gizlenir, telefon blogu gosterilir */
    .wo-nostrip .wo-stats { display: none; }
    .wo-page .panel.inv > .panel-head, .wo-page .panel.inv > .inv-filters, .wo-page .panel.inv > .rq-toolrow,
    .wo-page .panel.inv .inv-wrap, .wo-page .panel.inv .inv-foot, .wo-page aside.side { display: none; }
    .wo-shell .rq-grid { display: block; }
    .wo-page .panel.inv { padding: 0; background: transparent; border: 0; box-shadow: none; }
    .wo-m { display: block; }

    /* sekme + ekle: alt alta, tam genislik */
    .wo-shell .rq-top { flex-direction: column; align-items: stretch; gap: 10px; }
    .wo-shell .rq-top .rq-new { width: 100%; justify-content: center; }

    /* ozet seridi */
    .wo-m-strip { display: flex; gap: 8px; margin: 2px -2px 10px; padding: 2px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .wo-m-strip::-webkit-scrollbar, .wo-m-chips::-webkit-scrollbar { display: none; }
    .wo-m-strip .ms { flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; gap: 1px; min-width: 88px; padding: 9px 14px; text-align: left; font-family: inherit; border: 1px solid rgba(255, 255, 255, .8); border-radius: 16px; box-shadow: 0 4px 12px rgba(7, 31, 46, .07); cursor: pointer; }
    .wo-m-strip .ms b { font-size: 1.35rem; font-weight: 900; line-height: 1.1; }
    .wo-m-strip .ms span { font-size: .7rem; font-weight: 700; white-space: nowrap; opacity: .85; }
    .ms-red { background: linear-gradient(145deg, #ffe3e3, #fff); color: #b91c1c; }
    .ms-blue { background: linear-gradient(145deg, #dfeaff, #fff); color: #1d4ed8; }
    .ms-amber { background: linear-gradient(145deg, #fff0d4, #fff); color: #b45309; }
    .ms-crit { background: linear-gradient(145deg, #ffd9d9, #fff); color: #991b1b; }
    .ms-violet { background: linear-gradient(145deg, #ece5ff, #fff); color: #6d28d9; }
    .wo-m-strip .ms.on { outline: 2px solid currentColor; outline-offset: -2px; }
    .wo-m-strip .ms.alert b { animation: msPulse 1.8s ease-in-out infinite; }
    @keyframes msPulse { 50% { opacity: .55; } }

    /* sabit arama + filtre */
    .wo-m-bar { position: sticky; top: env(safe-area-inset-top); z-index: 30; display: flex; gap: 8px; margin: 0 -4px 8px; padding: 8px 4px; background: linear-gradient(180deg, rgba(236, 244, 247, .96), rgba(236, 244, 247, .88)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
    .wo-m-search { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; height: 46px; padding: 0 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; }
    .wo-m-search i { color: #94a3b8; }
    .wo-m-search input { flex: 1; min-width: 0; font: inherit; font-size: .9rem; background: transparent; border: 0; outline: 0; }
    .wo-m-fbtn { position: relative; flex: 0 0 46px; height: 46px; color: #475569; font-size: 1.05rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; cursor: pointer; }
    .wo-m-fbtn.on { color: #fff; background: var(--mnt-teal, #0f766e); border-color: transparent; }
    .wo-m-fbtn .badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; font-size: .7rem; font-weight: 800; line-height: 20px; color: #fff; background: #dc2626; border-radius: 999px; }

    .wo-m-chips { flex-wrap: nowrap; margin: 0 -4px 10px; padding: 0 4px 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .wo-m-chips .chip { flex: 0 0 auto; }
    .wo-shell .wo-m-chips .chip.ch-mine { color: #0f766e; background: #ccfbf1; border-color: #99f6e4; }
    .wo-shell .wo-m-chips .chip.ch-mine.on { color: #fff; background: #0f766e; }

    /* kompakt satirlar */
    .wo-m-list { display: flex; flex-direction: column; gap: 8px; }
    .wo-mrow { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 12px 11px 16px; overflow: hidden; background: rgba(255, 255, 255, .95); border: 1px solid #e6edf2; border-radius: 16px; box-shadow: 0 3px 10px rgba(7, 31, 46, .05); cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .wo-mrow:active { background: #f1f7fa; }
    .wo-mrow::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: #38bdf8; }
    .wo-mrow.mp-URGENT::before { background: #dc2626; }
    .wo-mrow.mp-HIGH::before { background: #f59e0b; }
    .wo-mrow.mp-LOW::before { background: #94a3b8; }
    .wo-mrow.is-closed { opacity: .72; }
    .wo-mrow .wo-ico { width: 40px; height: 40px; }
    .wo-mmain { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
    .wo-mmain > b { display: -webkit-box; overflow: hidden; font-size: .92rem; font-weight: 800; line-height: 1.25; color: #0f172a; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .wo-mmain > small { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; font-size: .74rem; color: #64748b; white-space: nowrap; text-overflow: ellipsis; }
    .wo-mmain > small .sep { color: #cbd5e1; }
    .wo-mmain > small i { font-size: .68rem; color: #94a3b8; }
    .wo-mmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 3px; }
    .wo-mmeta .pri { padding: 2px 8px; font-size: .68rem; }
    .wo-mwho { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; color: #475569; }
    .wo-mwho .av { width: 20px; height: 20px; font-size: .62rem; }
    .wo-mwho.none { font-weight: 600; color: #94a3b8; }
    .wo-mago { font-size: .7rem; color: #94a3b8; }
    .wo-mago i { margin-right: 3px; }
    .wo-mside { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
    .wo-mside .rq-st { padding: 3px 9px; font-size: .68rem; }
    .wo-mact { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; font-family: inherit; font-size: .78rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); border: 0; border-radius: 10px; box-shadow: 0 3px 8px rgba(15, 118, 110, .3); cursor: pointer; }
    .wo-mact.ok { background: linear-gradient(135deg, #6366f1, #4338ca); box-shadow: 0 3px 8px rgba(67, 56, 202, .3); }
    .wo-m-foot { margin: 12px 0 4px; text-align: center; font-size: .76rem; font-weight: 600; color: #94a3b8; }

    /* filtre paneli (alttan acilir) */
    .mf-bd { display: block; position: fixed; inset: 0; z-index: 1900; background: rgba(5, 12, 17, .5); backdrop-filter: blur(2px); animation: mntFade .2s ease both; }
    .mf-sheet { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000; max-height: calc(100dvh - env(safe-area-inset-top) - 40px); background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -16px 48px rgba(7, 31, 46, .3); animation: dwUp .28s cubic-bezier(.22, 1, .36, 1) both; }
    .mf-grab { width: 44px; height: 5px; margin: 8px auto 0; background: #d5dde5; border-radius: 999px; }
    .mf-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 4px; }
    .mf-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
    .mf-x { width: 38px; height: 38px; color: #64748b; background: #f1f5f9; border: 0; border-radius: 12px; cursor: pointer; }
    .mf-body { display: flex; flex-direction: column; gap: 14px; padding: 8px 18px 14px; overflow-y: auto; }
    .mf-body .f select { height: 48px; }
    .mf-tools { display: flex; flex-wrap: wrap; gap: 8px; }
    .mf-tools .mnt-btn { flex: 1 1 30%; justify-content: center; min-height: 44px; }
    .mf-foot { padding: 10px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #eef2f5; }
    .mf-foot .mnt-btn { width: 100%; min-height: 50px; justify-content: center; }

    /* detay / form pencereleri: telefonda alttan acilan sayfa */
    .dw.dw-center.wo-dw { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; max-height: calc(100dvh - env(safe-area-inset-top) - 16px); transform: none; border-radius: 24px 24px 0 0; animation: dwUp .28s cubic-bezier(.22, 1, .36, 1) both; }
    .dw.dw-center.wo-dw::before { content: ""; display: block; flex: 0 0 auto; width: 44px; height: 5px; margin: 8px auto 0; background: #d5dde5; border-radius: 999px; }
    .dw.dw-center.wo-dw .dw-head { padding: 10px 16px; border-radius: 0; }
    .dw.dw-center.wo-dw .dw-body { padding: 14px 16px 18px; overscroll-behavior: contain; }
    .dw.dw-center.wo-dw .dw-foot { flex-wrap: wrap; gap: 8px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 0; }
    .dw.dw-center.wo-dw .dw-foot .mnt-btn { flex: 1 1 calc(50% - 8px); justify-content: center; min-height: 46px; white-space: nowrap; }
    .dw.dw-center.wo-dw .dw-foot .mnt-btn.primary { flex-basis: 100%; order: -1; }
}
/* Telefonda ust baslik alani daha dusuk (liste daha yukari gelsin) */
@media (max-width: 768px) {
    .wo-top { padding-bottom: 4px; }
    .wo-top .mnt-hero { min-height: 84px; margin-bottom: 4px; padding-top: 6px; padding-bottom: 6px; }
    .wo-top .hero-text p { display: none; }
    .wo-shell { padding-top: 8px; }
}
/* ============================================================
   Telefon gorunumu (<=768px): Depo, Talepler, Planli, Kayip Kacak, Analiz
   (Is Emirleri blogunun devami - ayni arama cubugu + alttan acilan filtre paneli)
   ============================================================ */
.an-more { display: contents; }
.an-more > .mf-grab, .an-more > .mf-head, .an-fbtn, .an-apply { display: none; }

@media (max-width: 768px) {
    /* Alttaki menu zaten sayfalar arasi gecis sagliyor: kayar sekme seridi telefonda gosterilmez */
    .mnt-tabs { display: none !important; }
    .lite-page .rq-top:not(:has(button)) { display: none; }
    .lite-page .rq-top { flex-direction: column; align-items: stretch; gap: 8px; }
    .lite-page .rq-actions { display: flex; }
    .lite-page .rq-actions .mnt-btn:not(.primary) { display: none; }
    .lite-page .rq-actions .rq-new, .lite-page .rq-top > .rq-new { flex: 1; width: 100%; justify-content: center; min-height: 46px; }

    /* ust baslik daha alcak */
    .lite-top { padding-bottom: 4px; }
    .lite-top .mnt-hero { min-height: 84px; margin-bottom: 4px; padding-top: 6px; padding-bottom: 6px; }
    .lite-top .hero-text p, .lite-top .pl-hero-search { display: none; }
    .lite-page { padding-top: 8px; }

    /* ozet kartlari: yana kayan ince serit */
    .lite-top .mnt-stats { display: flex; gap: 8px; margin: 2px -2px 8px; padding: 2px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .lite-top .mnt-stats::-webkit-scrollbar { display: none; }
    .lite-top .mnt-stats { background: transparent; border: 0; box-shadow: none; }
    .lite-top .mnt-stat { flex: 0 0 auto; min-width: 132px; min-height: 0; padding: 8px 12px; gap: 9px; scroll-snap-align: start; border-radius: 16px; }
    .lite-top .mnt-stat .deco, .lite-top .mnt-stat-sub { display: none; }
    .lite-top .mnt-stat-icon { width: 34px; height: 34px; flex: 0 0 34px; font-size: .9rem; border-radius: 11px; }
    .lite-top .mnt-stat-num { font-size: 1.25rem; line-height: 1.1; }
    .lite-top .mnt-stat-label { font-size: .68rem; white-space: nowrap; }

    /* masaustu filtre alanlari gizlenir (yerine .wo-m-lite cubugu + panel gelir) */
    .lite-page .panel.inv > .panel-head, .lite-page .panel.inv > .inv-filters, .lite-page .rq-tools,
    .lite-page .pl-filters, .lite-page .pl-hero-search { display: none; }
    .lite-page .panel.inv { padding: 0; background: transparent; border: 0; box-shadow: none; }
    .lite-page .rq-grid { display: block; }
    .lite-page .rq-toolrow { display: block; margin: 0 0 8px; padding: 0; }
    .lite-page .rq-chips { flex-wrap: nowrap; margin: 0 -4px; padding: 0 4px 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .lite-page .rq-chips::-webkit-scrollbar { display: none; }
    .lite-page .rq-chips .chip { flex: 0 0 auto; }
    .wo-m-lite { display: block; }
    .wo-m-fbtn.add { color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); border-color: transparent; }

    /* Depo + Talepler: tablo satirlari kompakt kartlar */
    .lite-page .inv-wrap { overflow: visible; }
    .lite-page .inv-table { display: block; }
    .lite-page .inv-table thead { display: none; }
    .lite-page .inv-table tbody { display: flex; flex-direction: column; gap: 8px; }
    .lite-page .inv-table tbody tr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 5px; align-items: center; width: auto; margin: 0; padding: 11px 44px 11px 16px; overflow: hidden; background: rgba(255, 255, 255, .95); border: 1px solid #e6edf2; border-radius: 16px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .lite-page .wo-table tr[class*="wo-p-"] { box-shadow: 0 3px 10px rgba(7, 31, 46, .05); }
    .lite-page .inv-table tbody tr:active { background: #f1f7fa; }
    .lite-page .inv-table tbody tr::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: transparent; }
    .lite-page .inv-table tbody tr.wo-p-URGENT::before { background: #ef4444; }
    .lite-page .inv-table tbody tr.wo-p-HIGH::before { background: #f97316; }
    .lite-page .inv-table tbody tr.wo-p-NORMAL::before { background: #fbbf24; }
    .lite-page .inv-table tbody tr.wo-p-LOW::before { background: #4ade80; }
    .lite-page .inv-table tbody tr.is-off, .lite-page .inv-table tbody tr.is-closed { opacity: .7; }
    .lite-page .inv-table tbody td { display: block; width: auto; min-width: 0; padding: 0; border: 0; text-align: left; background: transparent !important; }
    .lite-page .inv-table tbody td::before { display: none !important; }
    .lite-page .inv-table td.c-name { display: flex; gap: 10px; padding: 0 !important; min-width: 0; }
    .lite-page .inv-table td.c-name .thumb { flex: 0 0 40px; width: 40px; height: 40px; }
    .lite-page .inv-table td.c-name .nm { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .lite-page .inv-table td.c-name .nm b { display: -webkit-box; overflow: hidden; font-size: .92rem; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .lite-page .inv-table td.c-name .nm small { display: block; overflow: hidden; font-size: .72rem; color: #64748b; white-space: nowrap; text-overflow: ellipsis; }
    .lite-page .inv-table td.num { text-align: right; }

    /* Depo satiri: [ad ............ adet] [kod ......... durum] [menu sag ustte] */
    .lite-page .inv-table:not(.rq-table) tbody td:nth-child(1) { grid-column: 1; grid-row: 1; }
    .lite-page .inv-table:not(.rq-table) tbody td:nth-child(4) { grid-column: 2; grid-row: 1; text-align: right; }
    .lite-page .inv-table:not(.rq-table) tbody td:nth-child(2) { grid-column: 1; grid-row: 2; }
    .lite-page .inv-table:not(.rq-table) tbody td:nth-child(6) { grid-column: 2; grid-row: 2; text-align: right; }
    .lite-page .inv-table:not(.rq-table) tbody td:nth-child(3), .lite-page .inv-table:not(.rq-table) tbody td:nth-child(5) { display: none; }
    .lite-page .inv-table:not(.rq-table) .qv strong { font-size: 1.15rem; }
    .lite-page .inv-table:not(.rq-table) tbody td.act-col { position: absolute; top: 8px; right: 6px; width: auto; }

    /* Talepler satiri: [malzeme ... durum] [no ... miktar] [kisi ... oncelik] [tedarik / ETA] */
    .lite-page .rq-table tbody tr { padding-right: 14px; }
    .lite-page .rq-table tbody td:nth-child(2) { grid-column: 1; grid-row: 1; }
    .lite-page .rq-table tbody td:nth-child(7) { grid-column: 2; grid-row: 1; text-align: right; }
    .lite-page .rq-table tbody td:nth-child(1) { grid-column: 1; grid-row: 2; }
    .lite-page .rq-table tbody td:nth-child(6) { grid-column: 2; grid-row: 2; text-align: right; }
    .lite-page .rq-table tbody td:nth-child(4) { grid-column: 1; grid-row: 3; }
    .lite-page .rq-table tbody td:nth-child(5) { grid-column: 2; grid-row: 3; text-align: right; }
    .lite-page .rq-table tbody td:nth-child(8) { grid-column: 1 / -1; grid-row: 4; padding-top: 5px; border-top: 1px dashed #e7edf2; }
    .lite-page .rq-table tbody td:nth-child(8):has(> .muted) { display: none; }
    .lite-page .rq-table tbody td:nth-child(3), .lite-page .rq-table tbody td.act-col { display: none !important; }
    .lite-page .rq-table .who { gap: 6px; }
    .lite-page .rq-table .who-t small { display: block; max-width: 170px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .lite-page .inv-foot { margin: 10px 0 4px; text-align: center; font-size: .76rem; font-weight: 600; color: #94a3b8; }

    /* Planli Bakim + Kayip Kacak */
    .lite-page .pl-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
    .lite-page .pl-toolbar .mnt-seg { width: 100%; overflow-x: auto; scrollbar-width: none; }
    .lite-page .pl-toolbar .mnt-seg button { flex: 1 0 auto; }
    .lite-page .pl-tool-actions { display: flex; }
    .lite-page .pl-tool-actions .mnt-btn:not(.primary) { display: none; }
    .lite-page .pl-tool-actions .rq-new { flex: 1; justify-content: center; min-height: 46px; }
    .lite-page .kk-types { flex-wrap: nowrap; margin: 0 -4px 8px; padding: 0 4px 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .lite-page .kk-types::-webkit-scrollbar { display: none; }
    .lite-page .kk-types .kk-type { flex: 0 0 auto; }
    .lite-page .pl-panel, .lite-page .kk-panel { padding: 0; background: transparent; border: 0; box-shadow: none; }
    .lite-page .pl-count { margin: 4px 2px 8px; font-size: .76rem; font-weight: 600; color: #94a3b8; }

    /* Analiz: tarih araligi cipleri her zaman gorunur, kalani alttan acilan panelde */
    /* backdrop-filter, icindeki fixed paneli kendi kutusuna hapseder: telefonda kapatilir */
    .an-bar { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; padding: 8px; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .an-bar .an-chips { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .an-bar .an-chips::-webkit-scrollbar { display: none; }
    .an-bar .an-chips button { flex: 0 0 auto; }
    .an-fbtn { display: inline-flex; flex: 0 0 44px; height: 44px; align-items: center; justify-content: center; color: #475569; font-size: 1.05rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; cursor: pointer; }
    .an-more { display: none; }
    .an-more.mf-open { display: flex; flex-direction: column; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000; max-height: calc(100dvh - env(safe-area-inset-top) - 40px); padding: 0 18px calc(14px + env(safe-area-inset-bottom)); overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -16px 48px rgba(7, 31, 46, .3); animation: dwUp .28s cubic-bezier(.22, 1, .36, 1) both; }
    .an-more.mf-open > .mf-grab { display: block; flex: 0 0 auto; }
    .an-more.mf-open > .mf-head { display: flex; padding: 0; }
    .an-more.mf-open .an-dates { display: flex; align-items: flex-end; gap: 8px; }
    .an-more.mf-open .an-dates label { flex: 1; min-width: 0; }
    .an-more.mf-open .an-dates > span { display: none; }
    .an-more.mf-open .an-dept { width: 100%; min-width: 0; flex: none; box-sizing: border-box; }
    .an-more.mf-open .an-dates input { width: 100%; min-width: 0; box-sizing: border-box; }
    .an-more.mf-open .an-dates input, .an-more.mf-open .pl-sel select { height: 46px; }
    .an-more.mf-open .mnt-btn { justify-content: center; min-height: 46px; }
    .an-more.mf-open .an-apply { display: inline-flex; }
}

/* Telefon: Analiz ic sekmeleri ve diger sayfa ogeleri dikey kaplarda ezilmesin (yukseklik daralmasi) */
@media (max-width: 768px) {
    .lite-page > * { flex-shrink: 0; }
    .lite-page .an-tabs { flex: 0 0 auto; min-height: 48px; align-items: center; }
    .lite-page .an-tabs button { min-height: 38px; }
    .lite-page .an-bar, .lite-page .an-meta, .lite-page .an-kpis { flex-shrink: 0; }
}
/* Ust bilgi alaninda zil: beyaz yuvarlak dugme */
.naviras-header-glass .bell-hbtn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; font-size: 1.1rem; color: #475569; background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .95); border-radius: 50%; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); cursor: pointer; }
.naviras-header-glass .bell-hbtn.has-new { color: #d97706; }

/* Beyaz kullanici hapinin icinde rol rozeti koyu renkli olsun */
.naviras-user-info .mnt-role.in-header { color: #0f766e; background: #d9f3ef; border-color: #8fd8cd; }

/* Bildirim paneli: sayfa icindeki yapiskan arama cubugunun (z-index 30) ustunde kalsin, mobilde kisa olsun */
.naviras-top-header { z-index: 60 !important; }
@media (max-width: 768px) {
    .bell-pop, .bell-wrap.in-header .bell-pop { max-height: min(62dvh, 460px); z-index: 2000; }
    .bell-list { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
    .bell-head { padding: 12px 14px; }
    .bell-list li { padding: 9px 8px; }
}
