/* DestekGO Müşteri Portalı V4.2 — /musteri (V4 tasarım dili: lacivert #13233f, turuncu #ff7a00, Onest) */
:root {
  --navy: #13233f; --navy-2: #1b3156; --navy-3: #26406b;
  --orange: #ff7a00; --orange-ink: #c25700; --orange-soft: #fff1e4;
  --bg: #f3f5f9; --card: #fff; --line: #e3e7ee; --line-2: #eef1f6;
  --ink: #13233f; --text: #2b3a55; --muted: #6b7891; --faint: #a3adbf;
  --green: #138a5c; --green-soft: #e6f6ef; --red: #c8352b; --red-soft: #fdecea; --amber: #a66300; --amber-soft: #fff4e0; --blue: #2459c7; --blue-soft: #e9f0fd;
  --r: 14px; --shadow: 0 1px 2px rgba(19,35,63,.05), 0 6px 18px rgba(19,35,63,.05); --shadow-pop: 0 18px 50px rgba(19,35,63,.22);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14.5px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.mp-lock { overflow: hidden; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.25; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.ic { width: 18px; height: 18px; flex: none; }
[hidden] { display: none !important; }

/* ---------- yükleniyor */
.mp-boot { min-height: 60vh; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-weight: 500; flex-direction: column; padding: 24px; }
.mp-boot.small { min-height: 180px; flex-direction: row; }
.mp-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #d9dfe9; border-top-color: var(--orange); animation: mpspin .8s linear infinite; }
@keyframes mpspin { to { transform: rotate(360deg); } }

/* ---------- düğmeler, alanlar */
.mp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; }
.mp-btn:hover { border-color: #cbd3e0; background: #fafbfd; }
.mp-btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.mp-btn.primary:hover { background: var(--navy-2); }
.mp-btn.accent { background: var(--orange); border-color: var(--orange); color: #fff; }
.mp-btn.accent:hover { background: #f06f00; }
.mp-btn.ghost { background: transparent; }
.mp-btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.mp-btn.block { width: 100%; }
.mp-btn:disabled { opacity: .55; cursor: not-allowed; }
.mp-btn.busy { position: relative; color: transparent !important; }
.mp-btn.busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; animation: mpspin .8s linear infinite; }
.mp-btn:not(.primary):not(.accent).busy::after { border-color: #d9dfe9; border-top-color: var(--navy); }
.mp-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--blue); font-weight: 600; cursor: pointer; padding: 10px 0 0; font-size: 14px; }
.mp-mini { border: 1px solid var(--line); background: #fff; border-radius: 7px; font-size: 12px; font-weight: 600; padding: 2px 8px; cursor: pointer; color: var(--navy); }
.mp-icon-btn { width: 36px; height: 36px; border-radius: 9px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); }
.mp-icon-btn:hover { background: var(--line-2); color: var(--ink); }
.mp-field { display: block; margin: 0 0 14px; }
.mp-field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.mp-field input, .mp-field select, .mp-field textarea { width: 100%; height: 44px; border: 1px solid #d5dbe5; border-radius: 10px; padding: 0 13px; background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.mp-field textarea { height: auto; padding: 10px 13px; resize: vertical; }
.mp-field input:focus, .mp-field select:focus, .mp-field textarea:focus { outline: 0; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(38,64,107,.12); }
.mp-field input:disabled { background: #f4f6f9; color: var(--muted); }
.mp-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mp-form-err { color: var(--red); font-size: 13.5px; font-weight: 500; min-height: 4px; margin: 0 0 10px; }
.mp-form-err:empty { margin: 0; }
.mp-form-ok { background: var(--green-soft); color: var(--green); padding: 12px 14px; border-radius: 10px; font-weight: 500; margin-bottom: 12px; }
.mp-hint { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; display: flex; gap: 6px; align-items: flex-start; }
.mp-hint .ic { width: 15px; height: 15px; margin-top: 2px; }
.mp-lead { color: var(--muted); margin: 6px 0 22px; }
.mp-lead.sm { margin: 0 0 16px; }
.mp-eyebrow { display: block; font-size: 11.5px; letter-spacing: 1.4px; font-weight: 700; color: var(--orange-ink); margin-bottom: 8px; }
.mp-muted { color: var(--muted); font-size: 13px; }
.mp-no { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink); font-size: 12px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- giriş */
.mp-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 44%) 1fr; }
.mp-auth-side { background: var(--navy); color: #c8d3e6; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.mp-auth-side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 56px solid rgba(255,122,0,.12); }
.mp-auth-logo { width: 168px; filter: brightness(0) invert(1); }
.mp-auth-side h2 { color: #fff; font-size: 34px; line-height: 1.15; letter-spacing: -.5px; max-width: 420px; }
.mp-auth-side p { max-width: 420px; font-size: 15.5px; color: #aebbd2; }
.mp-auth-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.mp-auth-points li { display: flex; gap: 10px; align-items: center; color: #e2e8f3; font-weight: 500; }
.mp-auth-points .ic { color: var(--orange); }
.mp-auth-side small { color: #7f91ad; position: relative; z-index: 1; }
.mp-auth-main { display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.mp-auth-card { width: 100%; max-width: 420px; }
.mp-auth-card h1 { font-size: 28px; letter-spacing: -.4px; }
.mp-auth-logo-sm { display: none; width: 150px; margin-bottom: 26px; }
.mp-auth-card .mp-btn.block { height: 46px; font-size: 15px; margin-top: 4px; }
.mp-auth-card .mp-lead .mp-no { margin-left: 4px; }

/* ---------- kabuk */
.mp-shell { min-height: 100vh; display: flex; flex-direction: column; }
.mp-top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 12px rgba(19,35,63,.18); }
.mp-top-in { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 18px; }
.mp-brand img { width: 130px; display: block; filter: brightness(0) invert(1); }
.mp-co { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
.mp-co b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.mp-top .mp-no { background: rgba(255,122,0,.18); color: #ffb26b; }
.mp-user { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; max-width: 240px; }
.mp-user:hover { background: rgba(255,255,255,.14); }
.mp-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.mp-user-name { font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-user .chev { width: 15px; height: 15px; opacity: .7; }
.mp-tabs { border-top: 1px solid rgba(255,255,255,.08); }
.mp-tabs-in { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.mp-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; color: #aebbd2; font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.mp-tabs a:hover { color: #fff; }
.mp-tabs a.active { color: #fff; border-bottom-color: var(--orange); }
.mp-main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 26px 24px 40px; outline: 0; }
.mp-foot { text-align: center; color: var(--faint); font-size: 12.5px; padding: 18px 16px 28px; }
.mp-foot a { color: var(--muted); }
.mp-bottom { display: none; }
.mp-menu { position: fixed; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-pop); padding: 6px; min-width: 230px; }
.mp-menu-who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.mp-menu-who b { display: block; color: var(--ink); }
.mp-menu-who small { color: var(--muted); word-break: break-all; }
.mp-menu button { display: flex; width: 100%; gap: 10px; align-items: center; background: none; border: 0; border-radius: 9px; padding: 10px 12px; cursor: pointer; text-align: left; font-weight: 500; color: var(--ink); }
.mp-menu button:hover { background: var(--line-2); }
.mp-menu button.danger { color: var(--red); }

/* ---------- sayfa */
.mp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.mp-head h1 { font-size: 26px; letter-spacing: -.4px; }
.mp-head p { margin: 4px 0 0; color: var(--muted); }
.mp-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.mp-kpis { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow); }
.mp-kpi { background: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 3px; color: inherit; text-decoration: none !important; min-width: 0; position: relative; }
a.mp-kpi:hover { background: #fafbfd; }
.mp-kpi small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.mp-kpi b { font-size: 22px; color: var(--ink); font-weight: 700; letter-spacing: -.3px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-kpi span { color: var(--muted); font-size: 12.5px; }
.mp-kpi.warn::before, .mp-kpi.neg::before, .mp-kpi.ok::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); }
.mp-kpi.neg::before { background: var(--red); }
.mp-kpi.ok::before { background: var(--green); }
.mp-kpi.neg b { color: var(--red); }
.mp-kpi-badges { display: flex; gap: 6px; flex-wrap: wrap; font-size: 14px !important; }
.mp-grid { display: grid; gap: 18px; margin-bottom: 18px; }
.mp-grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.mp-grid.side { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.mp-stack { display: grid; gap: 18px; }
.mp-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 0; }
.mp-page > .mp-panel { margin-bottom: 18px; }
.mp-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line-2); }
.mp-panel-head.sub { border-top: 1px solid var(--line-2); }
.mp-panel-head h2 { font-size: 15.5px; font-weight: 600; }
.mp-panel-head a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.mp-panel-head a .ic { width: 15px; height: 15px; }
.mp-panel-body { padding: 16px 18px; }
.mp-list { display: flex; flex-direction: column; }
.mp-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); color: inherit; text-decoration: none !important; }
.mp-item:last-child { border-bottom: 0; }
a.mp-item:hover { background: #fafbfd; }
.mp-item .grow { flex: 1; min-width: 0; }
.mp-item b { color: var(--ink); font-weight: 600; }
.mp-item small { display: block; color: var(--muted); font-size: 12.5px; }
.mp-empty { padding: 28px 18px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.mp-empty b { color: var(--ink); font-weight: 600; }
.mp-kv { display: grid; grid-template-columns: 110px 1fr; gap: 9px 12px; margin: 0; font-size: 13.5px; }
.mp-kv dt { color: var(--muted); }
.mp-kv dd { margin: 0; color: var(--ink); word-break: break-word; }
.mp-iban { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.mp-panel-body > .mp-btn.block, .mp-links .mp-btn { margin-top: 14px; }
.mp-links { display: grid; gap: 0; }
.mp-links .mp-btn { margin-top: 10px; }
.neg { color: var(--red); }
.pos { color: var(--green); }
.mp-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--text); white-space: nowrap; }
.mp-badge.green { background: var(--green-soft); color: var(--green); }
.mp-badge.red { background: var(--red-soft); color: var(--red); }
.mp-badge.amber { background: var(--amber-soft); color: var(--amber); }
.mp-badge.blue { background: var(--blue-soft); color: var(--blue); }
.mp-badges { display: inline-flex; gap: 5px; flex-wrap: wrap; }
.mp-alert { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r); background: var(--red-soft); color: #7d2019; margin-bottom: 18px; border: 1px solid #f6cdc8; }
.mp-alert > .ic { width: 22px; height: 22px; color: var(--red); }
.mp-alert div { flex: 1; display: flex; flex-direction: column; }
.mp-alert b { color: inherit; }
.mp-alert span { font-size: 13.5px; }
.mp-alert.info { background: var(--blue-soft); border-color: #cbdaf8; color: #1d3f86; }
.mp-alert.info > .ic { color: var(--blue); }
.mp-alert.ok { background: var(--green-soft); border-color: #bfe6d4; color: #0d5f3f; }
.mp-alert.ok > .ic { color: var(--green); }
.mp-alert.neg > .ic { color: var(--red); }

/* ---------- tablo */
.mp-table-wrap { overflow-x: auto; }
.mp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mp-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; padding: 10px 18px; border-bottom: 1px solid var(--line-2); background: #fafbfd; white-space: nowrap; }
.mp-table td { padding: 12px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.mp-table tr:last-child td { border-bottom: 0; }
.mp-table td small { display: block; color: var(--muted); font-size: 12.5px; }
.mp-table td b { color: var(--ink); font-weight: 600; }
.mp-table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mp-table.click tbody tr { cursor: pointer; }
.mp-table.click tbody tr:hover { background: #fafbfd; }
.mp-desc { max-width: 380px; }
.mp-pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.mp-pages { display: flex; gap: 4px; align-items: center; }
.mp-pages button { min-width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; color: var(--ink); }
.mp-pages button.cur { background: var(--navy); color: #fff; border-color: var(--navy); }
.mp-pages button:disabled { opacity: .4; cursor: default; }
.mp-pages i { padding: 0 4px; font-style: normal; }

/* ---------- abonelik kartları */
.mp-subs { display: grid; gap: 14px; }
.mp-panel-body > .mp-pager, #subs > .mp-pager { margin: 14px -18px -16px; }
.mp-sub { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.mp-sub-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.mp-sub-head h3 { font-size: 16px; }
.mp-sub-head small { color: var(--muted); }
.mp-dates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 0; padding: 12px; background: #f7f9fc; border-radius: 10px; }
.mp-dates span { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.mp-dates b { color: var(--ink); font-weight: 600; font-size: 13.5px; }
.mp-offer { margin-top: 12px; padding: 14px; border-radius: 10px; border: 1px solid #ffd9b3; background: #fffaf4; }
.mp-offer.paid { display: flex; gap: 10px; align-items: center; background: var(--green-soft); border-color: #bfe6d4; color: var(--green); }
.mp-offer.paid div { display: flex; flex-direction: column; }
.mp-offer.paid span { color: #0d5f3f; font-size: 13px; }
.mp-offer.muted { background: #f7f9fc; border-color: var(--line); color: var(--muted); font-size: 13px; }
.mp-offer-rows > div, .mp-sum > div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 3px 0; }
.mp-offer-rows span, .mp-sum span { color: var(--muted); }
.mp-offer-rows .tot, .mp-sum .tot { border-top: 1px dashed #e8c9a8; margin-top: 4px; padding-top: 8px; }
.mp-offer-rows .tot b, .mp-sum .tot b { color: var(--orange-ink); font-size: 16px; }
.mp-offer .mp-btn { margin-top: 12px; }
.mp-sub-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mp-sub-actions:empty { display: none; }
.mp-sum { background: #f7f9fc; border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.mp-sum .tot { border-top-color: var(--line); }

/* ---------- teklif */
.mp-ol, .mp-ul { margin: 0; padding: 14px 18px 16px 38px; display: grid; gap: 8px; color: var(--ink); }
.mp-ol li::marker { color: var(--orange-ink); font-weight: 700; }

/* ---------- modal + ödeme */
.mp-overlay { position: fixed; inset: 0; background: rgba(13,24,44,.55); z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
.mp-modal { background: #fff; border-radius: 18px; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--shadow-pop); }
.mp-modal.wide { max-width: 640px; }
.mp-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 6px 22px; }
.mp-modal-head h3 { font-size: 18px; }
.mp-modal-body { padding: 8px 22px 22px; }
.mp-pay-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #f7f9fc; border-radius: 10px; margin-bottom: 10px; }
.mp-pay-head span { color: var(--muted); font-size: 13px; font-weight: 600; }
.mp-pay-head b { color: var(--ink); font-size: 17px; }
.mp-paytr { width: 100%; height: 600px; border: 0; border-radius: 10px; background: #fff; }
.mp-toasts { position: fixed; z-index: 100; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 36px)); }
.mp-toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-pop); font-weight: 500; font-size: 14px; }
.mp-toast.error { background: var(--red); }

/* ---------- mobil */
@media (max-width: 960px) {
  .mp-grid.side { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .mp-auth { grid-template-columns: 1fr; }
  .mp-auth-side { display: none; }
  .mp-auth-logo-sm { display: block; }
  .mp-auth-main { align-items: flex-start; padding: 40px 20px; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  .mp-top-in { padding: 10px 16px; gap: 10px; }
  .mp-brand img { width: 96px; }
  .mp-co { padding-left: 10px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .mp-co b { font-size: 13.5px; max-width: 100%; }
  .mp-top .mp-no { height: 19px; font-size: 11px; padding: 0 7px; }
  .mp-user { padding: 3px; }
  .mp-user-name, .mp-user .chev { display: none; }
  .mp-tabs { display: none; }
  .mp-main { padding: 18px 16px calc(90px + var(--safe-b)); }
  .mp-shell.single .mp-main { padding-bottom: 30px; }
  .mp-foot { padding-bottom: calc(86px + var(--safe-b)); }
  .mp-shell.single .mp-foot { padding-bottom: 24px; }
  .mp-bottom { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 6px 6px calc(6px + var(--safe-b)); box-shadow: 0 -6px 20px rgba(19,35,63,.06); }
  .mp-bottom a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: var(--muted); font-size: 11.5px; font-weight: 600; text-decoration: none !important; border-radius: 10px; min-width: 0; }
  .mp-bottom a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .mp-bottom a .ic { width: 22px; height: 22px; }
  .mp-bottom a.active { color: var(--navy); background: var(--orange-soft); }
  .mp-bottom a.active .ic { color: var(--orange); }
  .mp-head { margin-bottom: 14px; align-items: flex-start; }
  .mp-head h1 { font-size: 22px; }
  .mp-head-actions { width: 100%; }
  .mp-head-actions .mp-btn { flex: 1; }
  .mp-kpis { grid-template-columns: 1fr 1fr; }
  .mp-kpis > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .mp-kpi { padding: 13px 14px; }
  .mp-kpi b { font-size: 18px; }
  .mp-grid.two { grid-template-columns: 1fr; }
  .mp-row2 { grid-template-columns: 1fr; gap: 0; }
  .mp-kv { grid-template-columns: 96px 1fr; }
  /* tablo → kart */
  .mp-table thead { display: none; }
  .mp-table, .mp-table tbody, .mp-table tr, .mp-table td { display: block; width: 100%; }
  .mp-table tr { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
  .mp-table tr:last-child { border-bottom: 0; }
  .mp-table td { padding: 3px 0; border: 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .mp-table td::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; text-align: left; flex: none; }
  .mp-table td:first-child { display: block; text-align: left; padding-bottom: 6px; }
  .mp-table td:first-child::before { display: none; }
  .mp-table .r { white-space: normal; }
  .mp-desc { max-width: none; }
  .mp-dates { grid-template-columns: 1fr 1fr 1fr; padding: 10px; gap: 6px; }
  .mp-pager { padding: 12px 16px; }
  .mp-overlay { align-items: flex-end; padding: 0; }
  .mp-modal { border-radius: 18px 18px 0 0; max-height: 92vh; max-width: none; }
  .mp-modal-body { padding: 8px 18px calc(22px + var(--safe-b)); }
  .mp-paytr { height: 560px; }
  .mp-toasts { left: 16px; right: 16px; bottom: calc(84px + var(--safe-b)); max-width: none; }
}

/* V4.4 — ilk kez giriş, firma seçimi, hesap silme, yasal bağlantılar */
.mp-login-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mp-link.strong { color: var(--orange-ink); }
.mp-link .ic { width: 16px; height: 16px; }
.mp-legal { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; font-size: 12.5px; }
.mp-legal a { color: var(--muted, #6b7891); }
.mp-auth-legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.mp-firms { display: grid; gap: 10px; margin: 6px 0 12px; }
.mp-firm { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; color: var(--ink); font: inherit; transition: border-color .15s, box-shadow .15s; }
.mp-firm:hover { border-color: var(--navy-3); box-shadow: 0 2px 10px rgba(19,35,63,.08); }
.mp-firm.current { border-color: var(--orange); background: var(--orange-soft); }
.mp-firm[disabled] { opacity: .6; cursor: wait; }
.mp-firm > span { flex: 1; min-width: 0; }
.mp-firm b { display: block; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-firm small { color: var(--muted, #6b7891); font-size: 12.5px; }
.mp-firm .ic { width: 20px; height: 20px; flex: none; color: var(--navy-3); }
.mp-co-btn { background: none; border: 0; border-left: 1px solid rgba(255,255,255,.14); cursor: pointer; text-align: left; font: inherit; color: inherit; min-height: 40px; }
.mp-co-btn:hover b { text-decoration: underline; text-underline-offset: 3px; }
.mp-co-btn .mp-no .ic { width: 13px; height: 13px; margin: 0 2px; }
.mp-btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.mp-btn.danger:hover { background: #a92b22; }
.mp-btn.danger .ic { width: 17px; height: 17px; }
.mp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin: 4px 0 12px; cursor: pointer; }
.mp-check input { margin-top: 2px; width: 17px; height: 17px; flex: none; accent-color: var(--red); }
#delForm .mp-note { background: var(--amber-soft); color: #6d4300; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }

/* V4.5 — bildirimler ve uygulama */
.mp-notif { display: grid; gap: 12px; }
.mp-notif-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; }
.mp-notif-head { display: flex; gap: 12px; align-items: flex-start; }
.mp-notif-head b { display: block; color: var(--navy); font-size: 15px; }
.mp-notif-head small { display: block; color: var(--muted, #6b7891); font-size: 13px; margin-top: 2px; }
.mp-notif-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--line-2); color: var(--navy-3); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mp-notif-ic.on { background: var(--green-soft); color: var(--green); }
.mp-notif-ic .ic { width: 19px; height: 19px; }
.mp-notif-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.mp-notif-actions .mp-btn { flex: 1 1 auto; }
.mp-notif-note { background: var(--amber-soft); color: #6d4300; border-radius: 10px; padding: 9px 12px; font-size: 13px; margin: 12px 0 0; }
.mp-notif .mp-form-err { margin: 8px 0 0; min-height: 0; }
/* standalone (ana ekrandan açılmış uygulama): iOS durum çubuğu / çentik güvenli alanı */
@media (display-mode: standalone) { .mp-top { padding-top: env(safe-area-inset-top); } }
