:root{
  --bg:#f6f7fb;--panel:#fff;--text:#101827;--muted:#6b7280;--line:#e5e7eb;--dark:#0f172a;--soft:#eef2ff;--good:#166534;--bad:#b91c1c;
}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--text)}button,input,select{font:inherit}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:var(--dark);color:#fff;padding:28px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.08em;margin:0 8px 34px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff;color:var(--dark)}nav{display:grid;gap:8px}.nav-item{border:0;background:transparent;color:#cbd5e1;text-align:left;padding:12px 14px;border-radius:10px;cursor:pointer}.nav-item:hover,.nav-item.active{background:#1e293b;color:#fff}.sidebar-note{margin-top:auto;color:#94a3b8;font-size:12px;line-height:1.5;padding:12px}.main{padding:28px 34px 50px;max-width:1500px;width:100%;margin:0 auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.eyebrow{margin:0 0 5px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.14em}.topbar h1{margin:0;font-size:27px}.gold-chip{background:#fff;border:1px solid var(--line);padding:10px 14px;border-radius:999px;font-size:13px}.page{display:none}.page.active{display:block}.hero-card{background:linear-gradient(135deg,#0f172a,#26344d);color:#fff;border-radius:22px;padding:32px;display:flex;justify-content:space-between;align-items:flex-end;box-shadow:0 16px 40px rgba(15,23,42,.12)}.muted{color:var(--muted)}.hero-card .muted{color:#cbd5e1}.hero-value{font-size:44px;font-weight:800;margin:7px 0}.gold-equivalent{font-size:16px;color:#e2e8f0}.hero-side{text-align:right}.saving-rate{font-size:34px;font-weight:800;margin-top:8px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}.metric-card,.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.metric-card span{color:var(--muted);font-size:13px}.metric-card strong{display:block;margin-top:10px;font-size:23px}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel h2{margin:0 0 18px;font-size:17px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.panel-head h2{margin:0}.panel-head span{color:var(--muted);font-size:12px}.form{display:grid;gap:14px}.form label{display:grid;gap:7px;color:#374151;font-size:13px;font-weight:600}.form input,.form select{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#fff;outline:none}.form input:focus,.form select:focus{border-color:#94a3b8}.primary{border:0;border-radius:10px;padding:12px 15px;background:var(--dark);color:#fff;font-weight:700;cursor:pointer}.ghost{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 10px;cursor:pointer;font-size:12px}.danger{color:var(--bad)}.list{display:grid;gap:10px}.list-item{display:flex;align-items:center;justify-content:space-between;padding:12px;border:1px solid var(--line);border-radius:11px}.list-item .meta{display:grid;gap:3px}.list-item small{color:var(--muted)}.positive{color:var(--good)}.negative{color:var(--bad)}.empty-state{color:var(--muted);font-size:13px}.breakdown{display:grid;gap:12px}.break-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.bar{height:7px;background:#eef2f7;border-radius:999px;overflow:hidden;grid-column:1/3}.bar span{display:block;height:100%;background:#64748b;border-radius:999px}.settings-card{max-width:650px}.compact{grid-template-columns:1fr auto;align-items:end}.compact button{height:42px}.settings-card hr{border:0;border-top:1px solid var(--line);margin:24px 0}.form-grid{align-items:start}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{padding:16px;position:static}.sidebar .brand{margin-bottom:14px}.sidebar nav{grid-template-columns:repeat(4,1fr);overflow:auto}.sidebar-note{display:none}.nav-item{text-align:center;white-space:nowrap}.main{padding:20px}.metric-grid{grid-template-columns:1fr 1fr}.grid-two{grid-template-columns:1fr}.topbar{align-items:flex-start;gap:10px}.hero-card{align-items:flex-start;gap:25px;flex-direction:column}.hero-side{text-align:left}}@media(max-width:520px){.metric-grid{grid-template-columns:1fr}.topbar{flex-direction:column}.hero-value{font-size:34px}.sidebar nav{grid-template-columns:1fr 1fr}.compact{grid-template-columns:1fr}}

/* --- Mobile app experience --- */
.mobile-appbar,.mobile-bottom-nav,.mobile-welcome,.mobile-quick-actions{display:none}
@media(max-width:700px){
  body{background:#f4f6f8;padding-bottom:88px}
  .mobile-appbar{display:flex;position:sticky;top:0;z-index:50;align-items:center;justify-content:space-between;padding:12px 16px;background:rgba(15,23,42,.96);backdrop-filter:blur(14px);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
  .mobile-brand{display:flex;align-items:center;gap:9px;font-weight:800;letter-spacing:.08em;font-size:14px}
  .mobile-brand .brand-mark{width:30px;height:30px;border-radius:9px;font-size:14px}
  .mobile-gold{font-size:11px;color:#cbd5e1;text-align:right}.mobile-gold strong{display:block;color:#fff;font-size:12px;margin-top:2px}
  .app-shell{display:block;min-height:auto}
  .sidebar{display:none}
  .main{padding:16px 14px 18px;max-width:none}
  .topbar{display:none}
  .mobile-welcome{display:flex;align-items:end;justify-content:space-between;margin:4px 2px 12px;color:var(--muted);font-size:12px}.mobile-welcome strong{color:var(--text);font-size:13px}
  .hero-card{border-radius:24px;padding:24px 20px;min-height:196px;justify-content:space-between;box-shadow:0 18px 40px rgba(15,23,42,.16)}
  .hero-value{font-size:36px;line-height:1.05;margin:10px 0 8px;letter-spacing:-.04em}
  .gold-equivalent{font-size:14px}.hero-side{width:100%;display:flex;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid rgba(255,255,255,.12)}
  .hero-side .muted{font-size:12px}.saving-rate{font-size:24px;margin:0}
  .mobile-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
  .quick-action{border:1px solid var(--line);background:#fff;border-radius:16px;padding:13px 8px 12px;font-size:11px;font-weight:700;color:#334155;display:grid;place-items:center;gap:6px;box-shadow:0 6px 18px rgba(15,23,42,.04)}
  .quick-action span{display:grid;place-items:center;width:30px;height:30px;border-radius:11px;background:#f1f5f9;color:#0f172a;font-size:18px;font-weight:500}
  .metric-grid{grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 14px}
  .metric-card{padding:15px;border-radius:16px}.metric-card span{font-size:11px}.metric-card strong{font-size:18px;margin-top:7px;letter-spacing:-.02em}
  .grid-two{grid-template-columns:1fr;gap:12px}.panel{padding:16px;border-radius:18px}.panel h2{font-size:15px}.panel-head{margin-bottom:13px}
  .form-grid{display:block}.form-grid .panel{margin-bottom:12px}
  .form input,.form select{min-height:48px;border-radius:13px;font-size:16px}.primary{min-height:48px;border-radius:13px}
  .list-item{padding:13px 12px;border-radius:14px}.list-item strong{font-size:13px}.list-item small{font-size:11px}
  .compact{grid-template-columns:1fr}.settings-card{max-width:none}
  .mobile-bottom-nav{display:grid;grid-template-columns:1fr 1fr 66px 1fr 1fr;position:fixed;z-index:60;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));height:66px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border:1px solid rgba(226,232,240,.9);border-radius:22px;box-shadow:0 14px 38px rgba(15,23,42,.16);align-items:center;padding:6px 8px}
  .mobile-nav-item,.mobile-nav-main{border:0;background:transparent;color:#94a3b8;display:grid;place-items:center;gap:2px;height:100%;border-radius:16px;cursor:pointer}.mobile-nav-item span{font-size:18px;line-height:1}.mobile-nav-item small{font-size:9px;font-weight:700}.mobile-nav-item.active{color:#0f172a;background:#f8fafc}
  .mobile-nav-main{width:52px;height:52px;align-self:center;justify-self:center;border-radius:17px;background:#0f172a;color:#fff;box-shadow:0 8px 20px rgba(15,23,42,.25)}.mobile-nav-main span{font-size:27px;line-height:1;margin-top:-2px}
  .page{animation:mobilePageIn .18s ease-out}@keyframes mobilePageIn{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}
}
@media(max-width:390px){.hero-value{font-size:31px}.metric-card strong{font-size:16px}.mobile-bottom-nav{left:6px;right:6px}.quick-action{font-size:10px}}

/* --- VARLIKO v0.3: finance modules --- */
.trend-panel{margin:0 0 18px}.history-chart{min-height:240px;padding:12px 6px 2px}.history-chart svg{width:100%;height:210px;overflow:visible}.history-chart .chart-axis{stroke:#e2e8f0;stroke-width:.45}.history-chart .chart-line{fill:none;stroke:#0f172a;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.history-chart circle{fill:#fff;stroke:#0f172a;stroke-width:.8}.history-chart text{fill:#64748b;font-size:4px}.chart-range{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;margin-top:4px}.chart-range strong{color:var(--text);font-size:13px}.chart-note{margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.settings-grid{grid-template-columns:1fr 1fr;align-items:end}.settings-grid button{grid-column:1/3;min-height:42px}.list-actions{display:flex;align-items:center;gap:9px}.icon-btn{width:28px;height:28px;border:1px solid var(--line);background:#fff;border-radius:8px;color:#94a3b8;cursor:pointer;font-size:17px;line-height:1}.icon-btn:hover{color:var(--bad);border-color:#fecaca}.bill-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.status-btn{border:1px solid #cbd5e1;background:#f8fafc;color:#334155;border-radius:9px;padding:7px 9px;font-size:11px;font-weight:700;cursor:pointer}.status-btn.paid{border-color:#bbf7d0;background:#f0fdf4;color:#166534;cursor:default}.debt-card{padding:14px;border:1px solid var(--line);border-radius:13px}.debt-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.debt-progress{height:7px;background:#f1f5f9;border-radius:999px;overflow:hidden;margin:12px 0 6px}.debt-progress span{display:block;height:100%;background:#64748b;border-radius:999px}.debt-card>small{color:var(--muted);font-size:10px}.secondary-action{display:none}
@media(max-width:900px){.settings-grid{grid-template-columns:1fr}.settings-grid button{grid-column:auto}}
@media(max-width:700px){
  .secondary-action{display:grid}
  .mobile-quick-actions{grid-template-columns:repeat(3,1fr)}
  .history-chart{min-height:185px;padding:4px 0}.history-chart svg{height:160px}.history-chart text{font-size:4.8px}.chart-range{font-size:9px}.chart-range strong{font-size:11px}
  .bill-item{align-items:flex-start}.bill-right{max-width:52%;gap:6px}.bill-right>strong{width:100%;text-align:right}.status-btn{padding:6px 7px;font-size:9px}
  .debt-top{align-items:flex-start}.debt-card{padding:13px}
}

/* --- VARLIKO v0.4: live market data --- */
.market-head{display:flex;align-items:center;gap:8px}.market-refresh{white-space:nowrap}.market-strip{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin:0 0 16px}.market-strip>div{display:grid;gap:4px}.market-strip span{font-size:11px;color:var(--muted);font-weight:600}.market-strip strong{font-size:16px}.market-strip small{color:var(--muted);font-size:10px;text-align:right}.market-strip small.market-error{color:#b45309}.settings-market{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 20px}.settings-market>div{border:1px solid var(--line);border-radius:13px;padding:12px;background:#f8fafc;display:grid;gap:5px}.settings-market span{font-size:10px;color:var(--muted);font-weight:700}.settings-market strong{font-size:15px}.hidden-field{display:none!important}.investment-preview{padding:11px 12px;border-radius:11px;background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b;font-size:11px;line-height:1.45}.settings-grid #refreshMarketSettings{grid-column:1/3;min-height:42px}
@media(max-width:900px){.market-strip{grid-template-columns:repeat(3,1fr)}.market-strip small{grid-column:1/4;text-align:left}.settings-grid #refreshMarketSettings{grid-column:auto}}
@media(max-width:700px){.market-strip{grid-template-columns:repeat(3,1fr);gap:8px;padding:12px;border-radius:17px}.market-strip>div{min-width:0}.market-strip strong{font-size:13px;white-space:nowrap}.market-strip span{font-size:9px}.market-strip small{grid-column:1/4;font-size:9px}.settings-market{grid-template-columns:1fr 1fr}.settings-market>div:last-child{grid-column:1/3}.market-head{display:none}}


/* --- VARLIKO v0.5: security, backup, PWA --- */
.security-grid{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:end;margin-top:14px}.security-grid label{display:grid;gap:7px;color:var(--muted);font-size:12px}.security-grid input{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px 12px;font:inherit;background:#fff}.backup-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.file-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tiny-note{font-size:11px;margin-top:10px}.lock-screen{position:fixed;inset:0;z-index:999;background:rgba(15,23,42,.96);backdrop-filter:blur(18px);display:grid;place-items:center;padding:24px}.hidden-lock{display:none}.lock-card{width:min(360px,100%);background:#fff;border-radius:24px;padding:28px;box-shadow:0 25px 60px rgba(0,0,0,.25);text-align:center}.lock-logo{width:56px;height:56px;border-radius:18px;background:#0f172a;color:#fff;display:grid;place-items:center;margin:0 auto 16px;font-weight:800;font-size:24px}.lock-card h2{margin:0 0 8px}.lock-card p{margin:0 0 16px;color:#64748b;font-size:13px}.lock-card input{width:100%;border:1px solid #cbd5e1;border-radius:13px;padding:14px;text-align:center;font-size:22px;letter-spacing:.25em;margin-bottom:10px}.lock-card .primary{width:100%;min-height:46px}.lock-card small{display:block;color:#b91c1c;margin-top:10px;min-height:16px}
@media(max-width:700px){.security-grid{grid-template-columns:1fr}.security-grid .primary,.security-grid .ghost{min-height:46px}.backup-actions{display:grid;grid-template-columns:1fr 1fr}.backup-actions .ghost{min-height:46px}.lock-card{border-radius:22px;padding:24px}}

/* --- VARLIKO v0.6: membership & account --- */
.auth-gate{position:fixed;inset:0;z-index:2000;background:#f3f6f4;overflow:auto}.auth-gate.auth-hidden{display:none}.auth-layout{min-height:100%;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr)}.auth-brand-panel{padding:clamp(46px,7vw,100px);background:radial-gradient(circle at 75% 20%,rgba(212,175,55,.18),transparent 28%),linear-gradient(145deg,#052e23,#064e3b 58%,#0b5d3b);color:#fff;display:flex;flex-direction:column;justify-content:center}.auth-logo-image{width:118px;height:118px;object-fit:cover;border-radius:30px;margin-bottom:30px;box-shadow:0 22px 50px rgba(0,0,0,.22)}.auth-brand-panel .eyebrow{color:#d4af37}.auth-brand-panel h1{font-size:clamp(40px,5vw,72px);line-height:.98;letter-spacing:-.055em;max-width:720px;margin:8px 0 22px}.auth-brand-panel>p:not(.eyebrow){max-width:650px;color:#dbe9e3;font-size:17px;line-height:1.65}.auth-benefits{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.auth-benefits span{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);border-radius:999px;padding:9px 12px;font-size:12px;color:#e9f3ef}.auth-card{align-self:center;justify-self:center;width:min(440px,calc(100% - 44px));background:#fff;border:1px solid #e2e8f0;border-radius:28px;padding:30px;box-shadow:0 24px 70px rgba(15,23,42,.10)}.auth-card-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px;letter-spacing:.08em}.auth-card-brand img{width:42px;height:42px;border-radius:13px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f5f9;border-radius:13px;padding:4px;margin-bottom:20px}.auth-tab{border:0;background:transparent;padding:10px;border-radius:10px;font-weight:700;color:#64748b;cursor:pointer}.auth-tab.active{background:#fff;color:#0f172a;box-shadow:0 2px 9px rgba(15,23,42,.08)}.auth-form{display:grid;gap:13px}.auth-form-hidden{display:none}.auth-form label{display:grid;gap:7px;font-size:12px;font-weight:600;color:#475569}.auth-form input{border:1px solid #cbd5e1;border-radius:12px;padding:13px 14px;font:inherit;min-height:48px}.auth-form input:focus{outline:2px solid rgba(6,78,59,.14);border-color:#0f766e}.auth-link{border:0;background:transparent;color:#0f766e;font-weight:700;cursor:pointer;padding:4px}.auth-message{min-height:20px;font-size:12px;color:#166534;margin:13px 0 0;line-height:1.4}.auth-message.error{color:#b91c1c}.firebase-setup{background:#fffbeb;border:1px solid #fde68a;color:#92400e;padding:10px 12px;border-radius:11px;font-size:11px;line-height:1.45;margin-top:10px}.demo-button{width:100%;min-height:44px;margin-top:10px}.auth-legal{display:block;text-align:center;color:#94a3b8;font-size:10px;margin-top:14px;line-height:1.45}.sidebar-account{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding-top:14px;display:grid;gap:3px}.sidebar-account strong{font-size:12px;color:#fff}.sidebar-account small{font-size:10px;color:#94a3b8;overflow:hidden;text-overflow:ellipsis}.sidebar-account .ghost{margin-top:8px;color:#cbd5e1;border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.05)}.topbar-account{margin-left:auto;margin-right:8px}.user-pill{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:8px 12px}.user-dot{width:9px;height:9px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 4px #dcfce7}.user-pill div{display:grid;gap:1px}.user-pill strong{font-size:11px}.user-pill small{font-size:9px;color:#64748b}.account-settings{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:13px;background:#f8fafc;padding:13px}.account-settings>div{display:grid;gap:3px}.account-settings strong{font-size:13px}.account-settings small{font-size:10px;color:#64748b}
@media(max-width:900px){.auth-layout{grid-template-columns:1fr}.auth-brand-panel{display:none}.auth-card{margin:32px auto}.topbar-account{display:none}}
@media(max-width:700px){.auth-gate{background:#f7f9f8}.auth-card{width:calc(100% - 28px);margin:18px auto;border-radius:24px;padding:24px 20px}.auth-card-brand{justify-content:center;margin-bottom:20px}.auth-card-brand img{width:48px;height:48px;border-radius:15px}.account-settings{align-items:flex-start;flex-direction:column}.account-settings .ghost{width:100%;min-height:42px}}

/* --- VARLIKO v0.7: official uploaded logo integration --- */
.brand-logo-small{width:34px;height:34px;object-fit:cover;border-radius:10px;box-shadow:0 3px 10px rgba(0,0,0,.18);flex:0 0 auto}.mobile-brand .brand-logo-small{width:30px;height:30px;border-radius:9px}.lock-logo-image{padding:0;overflow:hidden;background:transparent}.lock-logo-image img{width:100%;height:100%;object-fit:cover;display:block}.auth-logo-image{object-fit:contain;background:#064e3b;padding:0;border-radius:26px}.auth-card-brand img{object-fit:cover}

.auth-register-note{display:block;margin-top:-2px;color:#94a3b8;font-size:12px;line-height:1.45;text-align:center}

/* v0.10 Google Authentication */
.google-auth-copy{margin:12px 0 20px;text-align:center}
.google-auth-copy h2{margin:0 0 8px;font-size:1.35rem}
.google-auth-copy p{margin:0;color:var(--muted,#8da59c);line-height:1.55;font-size:.92rem}
.google-signin{width:100%;min-height:52px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:#fff;color:#202124;font-weight:700;font-size:.96rem;display:flex;align-items:center;justify-content:center;gap:12px;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.16);transition:.18s ease}
.google-signin:hover{transform:translateY(-1px);box-shadow:0 9px 24px rgba(0,0,0,.22)}
.google-signin:disabled{opacity:.65;cursor:wait;transform:none}
.google-g{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font:800 19px/1 Arial,sans-serif;color:#4285F4;background:#fff}
\n\n/* --- VARLIKO v0.11: silver, platinum, budgets, goals, reports --- */\n.metal-equivalents{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;font-size:11px;color:#cbd5e1}.metal-equivalents strong{color:#fff}.market-strip{grid-template-columns:repeat(5,minmax(0,1fr))}.market-strip small{grid-column:auto}.budget-card,.goal-card{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;display:grid;gap:9px}.budget-progress.over span{background:#dc2626}.goal-progress span{background:#0f766e}.report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.report-grid .metric-card small{font-size:10px;color:var(--muted);margin-top:4px}.metal-report{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.metal-report>div{padding:14px;border:1px solid var(--line);border-radius:14px;background:#f8fafc;display:grid;gap:5px}.metal-report span{font-size:10px;color:var(--muted);font-weight:700}.metal-report strong{font-size:16px}.settings-market{grid-template-columns:repeat(5,1fr)}\n@media(max-width:1000px){.report-grid{grid-template-columns:1fr 1fr}.metal-report{grid-template-columns:1fr 1fr}.market-strip{grid-template-columns:repeat(3,1fr)}.market-strip small{grid-column:1/4}.settings-market{grid-template-columns:repeat(3,1fr)}}\n@media(max-width:700px){.report-grid{grid-template-columns:1fr 1fr;gap:10px}.metal-report{grid-template-columns:1fr 1fr}.market-strip{grid-template-columns:repeat(2,1fr)}.market-strip small{grid-column:1/3}.settings-market{grid-template-columns:1fr 1fr}.settings-market>div:last-child{grid-column:auto}.metal-equivalents{font-size:10px;gap:8px}.budget-card,.goal-card{padding:12px}}\n
/* --- VARLIKO v0.12: profile, appearance and payment reminders --- */
.user-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;background:#e2e8f0}.profile-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:16px}.profile-card{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:280px}.profile-avatar{width:94px;height:94px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 10px 30px rgba(15,23,42,.15);margin-bottom:16px}.profile-card h2{margin:0 0 5px}.profile-badge{margin-top:14px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:800}.appearance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.appearance-option{border:1px solid var(--line);background:var(--panel,#fff);border-radius:14px;padding:16px;text-align:left;display:grid;gap:5px;cursor:pointer;color:inherit}.appearance-option small{color:var(--muted)}.appearance-option.active{border-color:#0f766e;box-shadow:0 0 0 2px rgba(15,118,110,.12)}.profile-setting{display:grid;gap:8px;margin-top:14px;font-size:12px;color:var(--muted)}.profile-setting select{border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--panel,#fff);color:inherit}.reminder-item{border-left:3px solid #d4af37}.reminder-panel{margin-bottom:16px}
html[data-theme="dark"]{--bg:#07110f;--panel:#0d1a17;--line:#1d332d;--text:#eef7f3;--muted:#8ca59b;--soft:#10241e;--sidebar:#04110d;background:#07110f;color-scheme:dark}html[data-theme="dark"] body{background:#07110f;color:#eef7f3}html[data-theme="dark"] .main,html[data-theme="dark"] .mobile-appbar{background:#07110f}html[data-theme="dark"] .panel,html[data-theme="dark"] .metric-card,html[data-theme="dark"] .budget-card,html[data-theme="dark"] .goal-card,html[data-theme="dark"] .user-pill,html[data-theme="dark"] .appearance-option,html[data-theme="dark"] .profile-setting select{background:#0d1a17;border-color:#1d332d;color:#eef7f3}html[data-theme="dark"] .form input,html[data-theme="dark"] .form select,html[data-theme="dark"] .form textarea,html[data-theme="dark"] .security-grid input{background:#0a1512;border-color:#274139;color:#eef7f3}html[data-theme="dark"] .investment-preview,html[data-theme="dark"] .metal-report>div,html[data-theme="dark"] .account-settings{background:#10201b;border-color:#1d332d}html[data-theme="dark"] .list-item{border-color:#1d332d}html[data-theme="dark"] .auth-card{background:#0d1a17;border-color:#1d332d;color:#eef7f3}html[data-theme="dark"] .auth-gate{background:#07110f}html[data-theme="dark"] .google-auth-copy p,html[data-theme="dark"] .muted{color:#8ca59b}
@media(max-width:900px){.profile-grid{grid-template-columns:1fr}.profile-card{min-height:220px}}
@media(max-width:700px){.appearance-grid{grid-template-columns:1fr}.profile-avatar{width:78px;height:78px}.user-avatar{display:none!important}}


/* --- VARLIKO v0.14: financial health, transaction filters and CSV --- */
.health-panel{margin-bottom:16px}.health-layout{display:grid;grid-template-columns:150px 1fr;gap:24px;align-items:center}.health-score-wrap{width:132px;height:132px;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:3px;background:conic-gradient(#0f766e 0 75%,#e2e8f0 75% 100%);position:relative;color:var(--text)}.health-score-wrap:before{content:"";position:absolute;inset:10px;border-radius:50%;background:var(--panel,#fff)}.health-score-wrap strong,.health-score-wrap span{position:relative;z-index:1}.health-score-wrap strong{font-size:38px}.health-score-wrap span{font-size:12px;color:var(--muted)}.health-bars{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}.health-bars>div{display:grid;grid-template-columns:105px 1fr auto;gap:8px;align-items:center}.health-bars>div>span{font-size:11px;font-weight:700}.health-bars .bar{height:7px;background:var(--soft,#e2e8f0);border-radius:999px;overflow:hidden}.health-bars .bar span{display:block;height:100%;background:#0f766e;border-radius:inherit}.health-bars small{font-size:9px;color:var(--muted);min-width:115px;text-align:right}.transaction-toolbar{display:grid;grid-template-columns:1.4fr .8fr .9fr auto;gap:8px;margin:12px 0 14px}.transaction-toolbar input,.transaction-toolbar select{border:1px solid var(--line);border-radius:11px;padding:10px 11px;background:var(--panel,#fff);color:inherit;min-width:0}.report-insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 16px}
html[data-theme="dark"] .health-score-wrap:before{background:#0d1a17}html[data-theme="dark"] .health-score-wrap{background:conic-gradient(#10b981 0 75%,#1d332d 75% 100%)}
@media(max-width:900px){.health-layout{grid-template-columns:120px 1fr}.health-score-wrap{width:110px;height:110px}.health-bars{grid-template-columns:1fr}.transaction-toolbar{grid-template-columns:1fr 1fr}.report-insight-grid{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:700px){.health-layout{grid-template-columns:1fr}.health-score-wrap{margin:0 auto}.health-bars{grid-template-columns:1fr}.health-bars>div{grid-template-columns:90px 1fr;}.health-bars small{grid-column:1/3;text-align:left}.transaction-toolbar{grid-template-columns:1fr 1fr}.transaction-toolbar input{grid-column:1/3}.transaction-toolbar button{grid-column:1/3}.report-insight-grid{grid-template-columns:1fr}.report-insight-grid .metric-card{min-height:auto}}


/* VARLIKO v0.15 — dark theme contrast fix */
html[data-theme="dark"],
body[data-theme="dark"],
[data-theme="dark"] {
  --text: #f4f7fb;
  --text-primary: #f4f7fb;
  --text-secondary: #c7d0dc;
  --muted: #aeb8c6;
  --heading: #ffffff;
}

[data-theme="dark"] body,
[data-theme="dark"] main,
[data-theme="dark"] .main,
[data-theme="dark"] .content,
[data-theme="dark"] .page,
[data-theme="dark"] .card,
[data-theme="dark"] .panel,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .metric-card {
  color: #f4f7fb;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .value,
[data-theme="dark"] .amount,
[data-theme="dark"] .metric,
[data-theme="dark"] .metric-value,
[data-theme="dark"] .stat-value,
[data-theme="dark"] .big-number,
[data-theme="dark"] .money,
[data-theme="dark"] strong {
  color: #ffffff !important;
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] label,
[data-theme="dark"] small,
[data-theme="dark"] td,
[data-theme="dark"] th,
[data-theme="dark"] li {
  border-color: rgba(255,255,255,.10);
}

[data-theme="dark"] .muted,
[data-theme="dark"] .subtle,
[data-theme="dark"] .subtitle,
[data-theme="dark"] .caption,
[data-theme="dark"] .helper,
[data-theme="dark"] .label {
  color: #aeb8c6 !important;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  color: #f4f7fb !important;
  background-color: #151b24 !important;
  border-color: rgba(255,255,255,.14) !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: #8f9aaa !important;
}

[data-theme="dark"] table,
[data-theme="dark"] .list-row,
[data-theme="dark"] .transaction-row,
[data-theme="dark"] .investment-row {
  color: #f4f7fb;
}

[data-theme="dark"] canvas {
  filter: none;
}

/* VARLIKO v0.16 — complete dark-mode surface/contrast fix */
html[data-theme="dark"] .market-strip,
html[data-theme="dark"] .gold-chip,
html[data-theme="dark"] .ghost,
html[data-theme="dark"] .settings-market > div,
html[data-theme="dark"] .transaction-toolbar input,
html[data-theme="dark"] .transaction-toolbar select {
  background:#0d1a17 !important;
  border-color:#1d332d !important;
  color:#eef7f3 !important;
}

html[data-theme="dark"] .market-strip strong,
html[data-theme="dark"] .settings-market strong,
html[data-theme="dark"] .gold-chip strong,
html[data-theme="dark"] .metric-card strong,
html[data-theme="dark"] .panel strong {
  color:#ffffff !important;
}

html[data-theme="dark"] .market-strip span,
html[data-theme="dark"] .market-strip small,
html[data-theme="dark"] .settings-market span,
html[data-theme="dark"] .gold-chip,
html[data-theme="dark"] .ghost {
  color:#b8c8c1 !important;
}

html[data-theme="dark"] .market-strip small.market-error {
  color:#fbbf24 !important;
}

html[data-theme="dark"] .form label {
  color:#dce8e3 !important;
}

html[data-theme="dark"] .bar {
  background:#1b2c27 !important;
}

html[data-theme="dark"] .profile-badge {
  background:#0f2a22 !important;
  color:#6ee7b7 !important;
  border-color:#1d4f40 !important;
}

html[data-theme="dark"] .user-pill small,
html[data-theme="dark"] .account-settings small {
  color:#9eb2aa !important;
}

html[data-theme="dark"] .user-dot {
  box-shadow:0 0 0 4px rgba(22,163,74,.18) !important;
}


/* VARLIKO v0.17 — accounts and recurring transactions */
.account-item,.recurring-item{gap:12px;align-items:center}
.account-adjust{padding:7px 10px;font-size:12px}
.recurring-panel{margin-top:20px}
.compact-form{align-content:start}
.positive{color:#16a34a}
[data-theme="dark"] .positive{color:#4ade80!important}
[data-theme="dark"] .account-adjust{color:#e5e7eb;border-color:rgba(255,255,255,.16)}
@media (max-width:700px){
  .account-item,.recurring-item{align-items:flex-start}
  .account-item .list-actions,.recurring-item .list-actions{width:100%;justify-content:space-between;flex-wrap:wrap}
  .recurring-panel .grid-two{grid-template-columns:1fr}
}


/* --- VARLIKO v0.18: Portföy Merkezi --- */
.portfolio-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}
.portfolio-grid{grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr)}
.portfolio-right{display:grid;gap:18px}
.portfolio-list{gap:12px}
.portfolio-row{border:1px solid var(--line);border-radius:15px;padding:14px;background:#fff;display:grid;gap:13px}
.portfolio-main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.portfolio-main .meta{display:grid;gap:4px}
.portfolio-main small{color:var(--muted)}
.portfolio-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding-top:10px;border-top:1px solid var(--line)}
.portfolio-numbers>div{display:grid;gap:4px}
.portfolio-numbers span{font-size:10px;color:var(--muted);font-weight:700}
.portfolio-numbers strong{font-size:14px}
.portfolio-numbers strong small{font-size:10px;color:inherit}
.investment-preview{display:grid;gap:4px}
.investment-preview span{font-size:10px}
html[data-theme="dark"] .portfolio-row{background:#0d1a17;border-color:#1d332d}
html[data-theme="dark"] .portfolio-numbers{border-color:#1d332d}
@media(max-width:1100px){.portfolio-summary{grid-template-columns:1fr 1fr}.portfolio-grid{grid-template-columns:1fr}}
@media(max-width:700px){.portfolio-summary{grid-template-columns:1fr 1fr;gap:10px}.portfolio-numbers{grid-template-columns:1fr}.portfolio-row{padding:12px}}


/* --- VARLIKO v0.19: Borç & Kart Merkezi --- */
.debt-summary{margin-bottom:18px}
.debt-row .progress{height:7px;margin-top:2px}
.debt-strategy{display:grid;gap:12px}
.strategy-card{border:1px solid var(--line);border-radius:14px;padding:14px;background:rgba(16,185,129,.04)}
.strategy-card strong{display:block;margin-bottom:5px}
.strategy-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}
html[data-theme="dark"] .strategy-card{background:#0d1a17;border-color:#1d332d}


/* VARLIKO brand signature */
.brand-title-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1;
}
.brand-title-wrap > span{
  display:block;
}
.by-babur{
  display:block;
  margin-top:4px;
  font-family:"Brush Script MT","Segoe Script","Lucida Handwriting",cursive;
  font-size:9px;
  line-height:1;
  font-weight:400;
  letter-spacing:.15px;
  color:#d7a62d;
  opacity:.95;
  white-space:nowrap;
}
.mobile-brand .by-babur{
  font-size:7px;
  margin-top:2px;
}


/* by babur fine-tune v2 */
.brand-title-wrap{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:0 !important;
  line-height:1 !important;
}
.brand-title-wrap > span{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
}
.brand-title-wrap .by-babur{
  display:block !important;
  margin:2px 0 0 0 !important;
  padding:0 !important;
  font-size:10px !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
.mobile-brand .brand-title-wrap .by-babur{
  font-size:8px !important;
  margin-top:1px !important;
}


/* --- VARLIKO v0.20: Misafir modu + işlemde üyelik --- */
.auth-card{position:relative}
.auth-close{
  position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:50%;
  background:#f1f5f9;color:#475569;font-size:23px;line-height:1;cursor:pointer;
  display:grid;place-items:center
}
.auth-close:hover{background:#e2e8f0;color:#0f172a}
.auth-open-btn{border-color:rgba(212,175,55,.35)!important;color:#f1d173!important}
.auth-user-only[hidden],[data-auth-open][hidden]{display:none!important}
html[data-theme="dark"] .auth-close{background:#16251f;color:#c9ddd4}
html[data-theme="dark"] .auth-close:hover{background:#20372e;color:#fff}
@media(min-width:701px){
  .auth-gate{background:rgba(3,15,11,.72);backdrop-filter:blur(7px)}
  .auth-layout{min-height:100vh}
}





/* =========================================================
   VARLIKO v2.1 — SADE / MOBİL ÖNCELİKLİ
   ========================================================= */
:root{
  --simple-green:#087a4b;
  --simple-green-dark:#052c22;
  --simple-bg:#f5f7f8;
  --simple-card:#ffffff;
  --simple-border:#e7ebee;
  --simple-text:#111827;
  --simple-muted:#667085;
}
body{background:var(--simple-bg)}
.nav-advanced-hidden{display:none!important}

/* desktop */
@media (min-width:701px){
  .sidebar{width:230px!important;background:linear-gradient(180deg,#071c18,#0b171a)!important}
  .main{margin-left:230px!important;padding:28px 32px!important;max-width:none!important}
  .content,.page,.dashboard{max-width:1280px!important;margin:0 auto!important}
  .card,.panel,.stat-card,.market-card{border-radius:16px!important;box-shadow:0 2px 10px rgba(15,23,42,.035)!important}
  .sidebar .nav-item{margin-bottom:7px!important}
}

/* mobile: remove old sidebar/header clutter and behave like a native finance app */
.simple-mobile-nav,.simple-add-sheet{display:none}
@media (max-width:700px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{padding-bottom:82px!important;background:#f6f8f8!important}
  .sidebar{display:none!important}
  .main{margin:0!important;padding:0 12px 18px!important;width:100%!important;max-width:100%!important}
  .topbar{position:sticky!important;top:0;z-index:40;margin:0 -12px 12px!important;padding:14px 16px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(12px);border-bottom:1px solid #edf0f2!important}
  html[data-theme="dark"] .topbar{background:rgba(5,25,20,.96)!important}
  .topbar .eyebrow{display:none!important}
  .topbar h1,#pageTitle{font-size:22px!important;margin:0!important}
  .top-actions{gap:6px!important}
  .top-actions .ghost,.top-actions button:not(#themeToggle):not(.profile-chip){display:none!important}
  .profile-chip{min-width:0!important;padding:4px 6px!important}
  .profile-chip small{display:none!important}

  .page{padding:0!important}
  .page-grid,.grid,.dashboard-grid,.stats-grid,.summary-grid{grid-template-columns:1fr!important;gap:10px!important}
  .card,.panel,.stat-card,.market-card{border-radius:15px!important;margin-bottom:10px!important;box-shadow:none!important;border:1px solid #e8edef!important}

  /* market strip: horizontal swipe, compact */
  .market-strip,.market-grid{display:flex!important;gap:8px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;padding-bottom:4px!important}
  .market-strip>* ,.market-grid>*{min-width:132px!important;flex:0 0 132px!important;scroll-snap-align:start}
  .market-strip::-webkit-scrollbar,.market-grid::-webkit-scrollbar{display:none}

  /* forms should not become huge desktop forms */
  form .form-grid,.form-grid{grid-template-columns:1fr!important}
  input,select,textarea,button{max-width:100%}
  table{font-size:12px}
  .table-wrap{overflow-x:auto}

  /* Hide desktop-only secondary/advanced dashboard clutter where semantic classes exist */
  .desktop-only{display:none!important}

  .simple-mobile-nav{
    display:grid!important;
    grid-template-columns:1fr 1fr 74px 1fr 1fr;
    align-items:center;
    position:fixed;left:0;right:0;bottom:0;z-index:1000;
    height:70px;padding:5px 10px calc(5px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.97);border-top:1px solid #e5e9eb;
    box-shadow:0 -6px 20px rgba(15,23,42,.06);
    backdrop-filter:blur(14px)
  }
  html[data-theme="dark"] .simple-mobile-nav{background:rgba(5,24,19,.97);border-color:#19362e}
  .simple-mobile-nav button{border:0;background:none;color:#667085;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:54px;font:inherit}
  .simple-mobile-nav button span{font-size:21px;line-height:1}
  .simple-mobile-nav button small{font-size:10px}
  .simple-mobile-nav .simple-add{width:56px;height:56px;border-radius:50%;justify-self:center;background:var(--simple-green);color:white;transform:translateY(-10px);box-shadow:0 8px 18px rgba(8,122,75,.25)}
  .simple-mobile-nav .simple-add span{font-size:34px;font-weight:300}

  .simple-add-sheet{display:none;position:fixed;inset:0;z-index:1200;background:rgba(2,12,9,.48);align-items:flex-end}
  .simple-add-sheet.open{display:flex}
  .simple-add-panel{width:100%;padding:16px 16px calc(20px + env(safe-area-inset-bottom));background:white;border-radius:22px 22px 0 0;display:grid;gap:9px}
  html[data-theme="dark"] .simple-add-panel{background:#0a211b}
  .simple-add-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
  .simple-add-head strong{font-size:19px}
  .simple-add-head button{border:0;background:#eef2f1;border-radius:50%;width:34px;height:34px;font-size:22px}
  .simple-add-panel>button:not([data-simple-close]){border:1px solid #e5ebe8;background:#f8faf9;border-radius:13px;padding:15px;text-align:left;font-weight:700;color:#17211d}
  html[data-theme="dark"] .simple-add-panel>button:not([data-simple-close]){background:#102c24;border-color:#21453a;color:#f7faf9}
}

/* cleaner light mode */
html:not([data-theme="dark"]) .card,
html:not([data-theme="dark"]) .panel,
html:not([data-theme="dark"]) .stat-card{background:#fff!important;border-color:var(--simple-border)!important}


/* =========================================================
   VARLIKO v2.1.2 — KOMPAKT MASAÜSTÜ
   Amaç: tek ekrana daha fazla içerik, yatay kaydırma yok.
   ========================================================= */
html,body{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
}
*,*::before,*::after{box-sizing:border-box}

@media (min-width:701px){
  .sidebar{
    width:210px!important;
    padding:18px 14px!important;
  }

  .main{
    margin-left:210px!important;
    width:calc(100% - 210px)!important;
    max-width:none!important;
    padding:16px 20px 22px!important;
    overflow-x:hidden!important;
  }

  .content,.page,.dashboard,.page.active{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  .topbar{
    min-height:auto!important;
    margin-bottom:12px!important;
    padding:0!important;
    gap:12px!important;
  }
  .topbar h1,#pageTitle{
    font-size:26px!important;
    line-height:1.1!important;
  }
  .eyebrow{font-size:10px!important;margin-bottom:4px!important}

  .top-actions{
    min-width:0!important;
    max-width:55%!important;
    gap:7px!important;
    flex-wrap:wrap!important;
    justify-content:flex-end!important;
  }

  /* Genel bakış üst kartını daha kısa tut */
  .hero-card,.net-worth-card{
    min-height:0!important;
    padding:22px 28px!important;
  }
  .hero-card h2,.net-worth-card h2{margin:0 0 5px!important}
  .hero-card .big,.net-worth-card .big{font-size:38px!important}

  /* Piyasa 5 kalem tek satır ve ekran içinde */
  .market-strip,.market-grid{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    gap:0!important;
  }
  .market-strip>*,
  .market-grid>*{
    min-width:0!important;
    width:auto!important;
    padding:12px 14px!important;
  }

  /* Özet kartları tek satırda 4; daha kısa */
  .stats-grid,.summary-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
  }
  .stat-card{
    min-width:0!important;
    min-height:92px!important;
    padding:16px 18px!important;
  }

  .card,.panel,.market-card{
    min-width:0!important;
    max-width:100%!important;
  }

  /* Genel dikey boşlukları azalt */
  .page-grid,.dashboard-grid,.grid{gap:12px!important}
  .card,.panel{padding-top:18px!important;padding-bottom:18px!important}

  img,svg,canvas{max-width:100%}
  .table-wrap{max-width:100%;overflow-x:auto}
}

/* Küçük laptoplarda da yatay taşma olmasın */
@media (min-width:701px) and (max-width:1180px){
  .sidebar{width:190px!important}
  .main{
    margin-left:190px!important;
    width:calc(100% - 190px)!important;
    padding:14px 14px 20px!important;
  }
  .stats-grid,.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .market-strip,.market-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}


/* v2.1.3 — İçeriği sol menüye yaklaştır */
@media (min-width:701px){
  .main{
    padding-left:8px!important;
    padding-right:20px!important;
  }

  .content,
  .page,
  .dashboard,
  .page.active{
    margin-left:0!important;
    margin-right:0!important;
  }
}

@media (min-width:701px) and (max-width:1180px){
  .main{
    padding-left:6px!important;
    padding-right:14px!important;
  }
}


/* v2.1.4 — Sol menü ile içerik arasındaki çift boşluğu kaldır */
@media (min-width:701px){
  .app-shell{
    display:grid!important;
    grid-template-columns:210px minmax(0,1fr)!important;
  }

  .main{
    margin-left:0!important;
    width:100%!important;
    max-width:none!important;
    padding-left:10px!important;
    padding-right:20px!important;
  }
}

@media (min-width:701px) and (max-width:1180px){
  .app-shell{
    grid-template-columns:190px minmax(0,1fr)!important;
  }

  .main{
    margin-left:0!important;
    width:100%!important;
    padding-left:8px!important;
    padding-right:14px!important;
  }
}


/* v2.1.5 — Üyelik / giriş butonu üst orta */
@media (min-width:701px){
  .topbar{
    position:relative!important;
  }

  .top-auth-cta{
    position:absolute!important;
    left:50%!important;
    top:6px!important;
    transform:translateX(-50%)!important;
    z-index:8;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .top-auth-button{
    min-width:160px;
    height:42px;
    padding:0 18px;
    border:1px solid rgba(8,122,75,.22);
    border-radius:13px;
    background:#ffffff;
    color:#075f3d;
    font-weight:750;
    font-size:13px;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(15,23,42,.05);
  }

  .top-auth-button:hover{
    background:#f2fbf6;
    border-color:rgba(8,122,75,.38);
  }

  html[data-theme="dark"] .top-auth-button{
    background:#0b211a;
    border-color:#21463a;
    color:#7de0ac;
  }

  [data-auth-open-wrap]:has([data-auth-open][hidden]){
    display:none!important;
  }
}

/* Mobilde de üst bölümde ortalı, ama ekranı bozmadan */
@media (max-width:700px){
  .topbar{
    position:relative!important;
  }
  .top-auth-cta{
    position:absolute;
    left:50%;
    top:11px;
    transform:translateX(-50%);
    z-index:45;
  }
  .top-auth-button{
    height:36px;
    padding:0 12px;
    border:1px solid #dce7e2;
    border-radius:11px;
    background:#fff;
    color:#087a4b;
    font-size:11px;
    font-weight:750;
    white-space:nowrap;
  }
  [data-auth-open-wrap]:has([data-auth-open][hidden]){
    display:none!important;
  }
}


/* =========================================================
   v2.1.6 — GELİR & GİDER: sade, sürekli takip ekranı
   ========================================================= */
.tx-simple-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 14px}
.tx-simple-head h2{font-size:25px;margin:2px 0 3px}
.tx-subtitle{margin:0;font-size:13px}
.tx-month-switch{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e0e5eb;border-radius:13px;padding:5px 7px;min-width:205px;justify-content:space-between}
.tx-month-btn{width:34px;height:32px;padding:0!important;font-size:22px;line-height:1}
.tx-month-switch strong{font-size:12px;text-align:center}
.tx-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
.tx-summary-card{background:#fff;border:1px solid #e0e5eb;border-radius:16px;padding:16px 18px;min-height:86px}
.tx-summary-card span{display:block;color:#647184;font-size:12px;margin-bottom:7px}
.tx-summary-card strong{font-size:24px}
.tx-summary-card.income{border-left:4px solid #159b69}
.tx-summary-card.expense{border-left:4px solid #d75b5b}
.tx-summary-card.balance{border-left:4px solid #1e385e}
.tx-workspace{display:grid;grid-template-columns:minmax(290px,.78fr) minmax(0,1.55fr);gap:12px;align-items:start}
.tx-entry-panel,.tx-list-panel{padding:18px!important}
.tx-type-switch{display:grid;grid-template-columns:1fr 1fr;background:#f0f3f6;padding:4px;border-radius:12px;margin-bottom:16px}
.tx-type-btn{height:39px;border:0;background:transparent;border-radius:9px;font-weight:750;cursor:pointer}
.tx-type-btn.income.active{background:#e7f7f0;color:#087a4b;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.tx-type-btn.expense.active{background:#fff0f0;color:#b43f3f;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.tx-simple-form{display:grid;gap:12px}
.tx-simple-form label{display:grid;gap:6px;font-size:12px;font-weight:650;color:#354052}
.tx-simple-form input{width:100%;height:43px;border:1px solid #dce2e8;border-radius:10px;padding:0 12px;background:#fff}
.tx-form-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.tx-money-input{position:relative}
.tx-money-input span{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-weight:800}
.tx-money-input input{padding-left:27px}
.tx-save-btn{height:43px;border-radius:10px}
.tx-recurring-mini{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0f3;margin-top:15px;padding-top:13px}
.tx-recurring-mini div{display:grid;gap:2px}
.tx-recurring-mini strong{font-size:12px}
.tx-recurring-mini small{font-size:10px;color:#778294}
.tx-list-head{align-items:center;margin-bottom:10px}
.tx-list-head h2{margin-bottom:2px}
.tx-filter-pills{display:flex;gap:4px;background:#f1f3f6;padding:3px;border-radius:10px}
.tx-filter-pill{border:0;background:transparent;border-radius:8px;padding:7px 10px;font-size:11px;cursor:pointer}
.tx-filter-pill.active{background:#fff;font-weight:750;box-shadow:0 1px 3px rgba(0,0,0,.07)}
.tx-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;margin-bottom:10px}
.tx-search-row input{height:38px;border:1px solid #dfe4e9;border-radius:10px;padding:0 11px;min-width:0}
.tx-export-btn,.tx-clear-btn{height:38px;padding:0 11px!important}
.tx-simple-list{display:grid;gap:6px;max-height:430px;overflow-y:auto;padding-right:2px}
.tx-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 8px;border-bottom:1px solid #edf0f3}
.tx-row:last-child{border-bottom:0}
.tx-row-icon{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;font-weight:900}
.tx-row.income .tx-row-icon{background:#e8f7f1;color:#078152}
.tx-row.expense .tx-row-icon{background:#fff0f0;color:#bd4444}
.tx-row .meta small{font-size:10px}
.tx-row .list-actions{gap:8px}
.tx-recurring-panel{margin-top:12px}
.tx-recurring-panel[hidden]{display:none!important}

@media(max-width:900px){
  .tx-workspace{grid-template-columns:1fr}
}
@media(max-width:700px){
  .tx-simple-head{align-items:stretch;flex-direction:column;margin-top:4px}
  .tx-simple-head h2{font-size:22px}
  .tx-month-switch{width:100%}
  .tx-overview{grid-template-columns:1fr 1fr;gap:7px}
  .tx-summary-card{min-height:75px;padding:13px}
  .tx-summary-card.balance{grid-column:1/-1}
  .tx-summary-card strong{font-size:20px}
  .tx-entry-panel,.tx-list-panel{padding:14px!important}
  .tx-form-row{grid-template-columns:1fr}
  .tx-list-head{align-items:flex-start;gap:8px}
  .tx-filter-pills{width:100%}
  .tx-filter-pill{flex:1}
  .tx-search-row{grid-template-columns:minmax(0,1fr) auto}
  .tx-clear-btn{display:none}
  .tx-row{grid-template-columns:30px minmax(0,1fr) auto;padding:9px 3px}
  .tx-row-icon{width:28px;height:28px}
}


/* =========================================================
   v2.1.7 — YATIRIMLAR: Gelir & Gider ile aynı sade dil
   ========================================================= */
.inv-simple-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 14px}
.inv-simple-head h2{font-size:25px;margin:2px 0 3px}.inv-subtitle{margin:0;font-size:13px}
.inv-refresh-btn{height:38px}
.inv-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
.inv-summary-card{background:#fff;border:1px solid #e0e5eb;border-left:4px solid #7b8798;border-radius:16px;padding:16px 18px;min-height:90px}
.inv-summary-card.current{border-left-color:#1e385e}.inv-summary-card.profit{border-left-color:#159b69}
.inv-summary-card span{display:block;color:#647184;font-size:12px;margin-bottom:7px}
.inv-summary-card strong{font-size:23px}.inv-summary-card small{display:block;margin-top:3px;font-size:11px;font-weight:700}
.inv-workspace{display:grid;grid-template-columns:minmax(350px,.95fr) minmax(0,1.35fr);gap:12px;align-items:start}
.inv-entry-panel,.inv-list-panel{padding:18px!important}
.inv-entry-panel .panel-head{margin-bottom:14px}.inv-entry-panel .panel-head span{font-size:10px}
.inv-simple-form{display:grid;gap:11px}.inv-simple-form label{display:grid;gap:6px;font-size:11px;font-weight:650;color:#354052}
.inv-simple-form input,.inv-simple-form select{width:100%;height:41px;border:1px solid #dce2e8;border-radius:10px;padding:0 11px;background:#fff;min-width:0}
.inv-form-row,.inv-dynamic-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.inv-dynamic-fields .hidden-field{display:none}
.inv-save-btn{height:43px;border-radius:10px}.investment-preview{margin:0!important;padding:10px 12px!important;font-size:11px!important}
.inv-list-head{margin-bottom:8px}.inv-list-head h2{margin-bottom:2px}
.inv-simple-list{display:grid;gap:4px;max-height:480px;overflow-y:auto;padding-right:2px}
.inv-row{display:grid;grid-template-columns:36px minmax(120px,1fr) minmax(90px,.65fr) minmax(105px,.7fr) 28px;align-items:center;gap:9px;padding:11px 5px;border-bottom:1px solid #edf0f3}
.inv-row:last-child{border-bottom:0}.inv-row-icon{width:33px;height:33px;border-radius:10px;background:#edf2f6;color:#17324d;display:grid;place-items:center;font-weight:850}
.inv-row-meta small,.inv-row-value span,.inv-row-profit span{font-size:9px;color:#7a8594;display:block}
.inv-row-value strong,.inv-row-profit strong{font-size:12px}.inv-row-profit small{font-size:9px;font-weight:700}
.inv-breakdown-panel{margin-top:12px}.inv-breakdown-panel .breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px}
.inv-breakdown-panel .break-row{min-width:0}

@media(max-width:900px){.inv-workspace{grid-template-columns:1fr}.inv-breakdown-panel .breakdown{grid-template-columns:1fr 1fr}}
@media(max-width:700px){
 .inv-simple-head{align-items:stretch;flex-direction:column}.inv-simple-head h2{font-size:22px}.inv-refresh-btn{width:100%}
 .inv-overview{grid-template-columns:1fr 1fr;gap:7px}.inv-summary-card{min-height:76px;padding:13px}.inv-summary-card.profit{grid-column:1/-1}.inv-summary-card strong{font-size:19px}
 .inv-entry-panel,.inv-list-panel{padding:14px!important}.inv-form-row,.inv-dynamic-fields{grid-template-columns:1fr}
 .inv-row{grid-template-columns:32px minmax(0,1fr) auto 24px;gap:7px;padding:10px 2px}.inv-row-icon{width:29px;height:29px}
 .inv-row-value{display:none}.inv-row-profit{text-align:right}.inv-row-profit span{display:none}.inv-breakdown-panel .breakdown{grid-template-columns:1fr}
}


/* v2.1.8 — Yatırım ekleme: miktar + toplam maliyet + altta fiyatlandırma */
.inv-pricing-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  padding:12px;
  border:1px solid #e2e7eb;
  border-radius:12px;
  background:#f8faf9;
}
.inv-live-preview{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
.inv-live-preview>div{
  border:1px solid #e4e9ed;
  background:#fff;
  border-radius:11px;
  padding:10px 11px;
  display:grid;
  gap:3px;
}
.inv-live-preview span{
  font-size:9px;
  color:#778294;
}
.inv-live-preview strong{
  font-size:12px;
  color:#17212b;
}
html[data-theme="dark"] .inv-pricing-box{
  background:#0d241d;
  border-color:#24443a;
}
html[data-theme="dark"] .inv-live-preview>div{
  background:#0b211a;
  border-color:#24443a;
}
html[data-theme="dark"] .inv-live-preview strong{color:#f3f7f5}

@media(max-width:700px){
  .inv-pricing-box,.inv-live-preview{grid-template-columns:1fr}
}

/* v2.1.9 — Portföyde gram miktarı */
.inv-row-quantity{
  margin-top:3px;
  color:#5f6b78!important;
}
.inv-row-quantity b{
  color:inherit;
  font-weight:750;
}


/* v2.2.0 — özgün menü ve varlık türü simgeleri */
.varliko-icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.nav-svg-icon{width:22px;height:22px;display:grid!important;place-items:center;flex:0 0 22px}
.nav-svg-icon svg{width:19px;height:19px;display:block;fill:currentColor}
.inv-row-icon{overflow:hidden}
.asset-svg{width:19px;height:19px;fill:currentColor}
.inv-row-icon.asset-gold{background:#fff5d8;color:#a46b00}
.inv-row-icon.asset-silver{background:#eef2f5;color:#65717e}
.inv-row-icon.asset-platinum{background:#edf1f4;color:#3e5668}
.inv-row-icon.asset-currency{background:#e8f7f1;color:#087a4b}
.inv-row-icon.asset-stock{background:#eaf1fb;color:#315f9b}
.inv-row-icon.asset-fund{background:#f1ecfb;color:#67519b}
.inv-row-icon.asset-crypto{background:#fff0df;color:#a65b08}
.inv-row-icon.asset-cash{background:#e9f7e8;color:#3d7d3b}
.inv-row-icon.asset-other{background:#edf2f6;color:#526273}
html[data-theme="dark"] .inv-row-icon{filter:saturate(.85)}


/* v2.2.1 — Sol menü ikonları + daha gerçekçi altın/gümüş */
.nav-item{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.nav-label{
  display:inline-block;
}
.nav-svg-icon{
  color:inherit;
}
.nav-item[data-target="dashboard"] .nav-svg-icon{color:#93a7b3}
.nav-item[data-target="transactions"] .nav-svg-icon{color:#4ba679}
.nav-item[data-target="investments"] .nav-svg-icon{color:#c6952d}
.nav-item[data-target="debts"] .nav-svg-icon{color:#c86b6b}
.nav-item[data-target="reports"] .nav-svg-icon{color:#6f88b8}
.nav-item[data-target="settings"] .nav-svg-icon{color:#94a0aa}

.inv-row-icon.asset-gold{
  background:linear-gradient(145deg,#fff3bd,#f2c75a);
  color:#8b5d00;
  border:1px solid #e8c252;
}
.inv-row-icon.asset-silver{
  background:linear-gradient(145deg,#f7f9fb,#cbd3da);
  color:#505b66;
  border:1px solid #c2cbd2;
}
.inv-row-icon.asset-gold .asset-svg,
.inv-row-icon.asset-silver .asset-svg{
  width:20px;
  height:20px;
}


/* v2.2.2 — kaldırılan bölümler */
.nav-item[data-target="accounts"],
.nav-item[data-target="bills"],
.nav-item[data-target="budgets"],
.nav-item[data-target="goals"],
.nav-item[data-target="profile"],
[data-simple-target="accounts"],
[data-simple-target="bills"],
[data-simple-target="budgets"],
[data-simple-target="goals"],
[data-simple-target="profile"]{
  display:none!important;
}

.legacy-compat,.legacy-hidden-page{display:none!important}


/* v2.2.4 — Raporlar / Maaş Planlayıcı */
.salary-planner-panel{margin-top:12px}
.salary-plan-form{
  display:grid;
  grid-template-columns:1.25fr .9fr .8fr auto;
  gap:9px;
  align-items:end;
  margin:12px 0;
}
.salary-plan-form label{display:grid;gap:6px;font-size:11px;font-weight:650}
.salary-plan-form input,.salary-plan-form select{
  height:41px;border:1px solid #dce2e8;border-radius:10px;padding:0 11px;background:#fff;min-width:0
}
.salary-plan-form button{height:41px;white-space:nowrap}
.salary-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0 12px}
.salary-summary-grid>div{border:1px solid #e4e9ed;border-radius:12px;padding:12px 14px;background:#fafbfb;display:grid;gap:4px}
.salary-summary-grid span{font-size:10px;color:#778294}
.salary-summary-grid strong{font-size:18px}
.salary-summary-grid .salary-highlight{border-left:4px solid #087a4b;background:#f3faf6}
.salary-table-wrap{width:100%;overflow-x:auto;border:1px solid #e6eaee;border-radius:12px}
.salary-table{width:100%;border-collapse:collapse;min-width:600px}
.salary-table th,.salary-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #edf0f3;font-size:11px}
.salary-table th{color:#697586;background:#f8fafb;font-size:10px}
.salary-table tr:last-child td{border-bottom:0}
.salary-raise-badge{display:inline-block;padding:4px 7px;border-radius:999px;background:#e7f7f0;color:#087a4b;font-size:9px;font-weight:750}
.salary-disclaimer{font-size:9px!important;line-height:1.5;margin:9px 2px 0}
html[data-theme="dark"] .salary-plan-form input,
html[data-theme="dark"] .salary-plan-form select,
html[data-theme="dark"] .salary-summary-grid>div,
html[data-theme="dark"] .salary-table th{background:#0b211a;color:#edf5f1;border-color:#24443a}
html[data-theme="dark"] .salary-table-wrap,
html[data-theme="dark"] .salary-table td{border-color:#24443a}
html[data-theme="dark"] .salary-summary-grid .salary-highlight{background:#0d2b20}

@media(max-width:900px){
  .salary-plan-form{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .salary-plan-form{grid-template-columns:1fr}
  .salary-summary-grid{grid-template-columns:1fr 1fr}
  .salary-summary-grid .salary-highlight{grid-column:1/-1}
}


/* v2.2.5 — Maaş Planlayıcı bağımsız ana bölüm */
.salary-page-head{margin:0 0 14px}
.salary-page-head h2{font-size:25px;margin:2px 0 3px}
.salary-page-head p:last-child{font-size:13px;margin:0}
#salary .salary-planner-panel{margin-top:0}
.nav-item[data-target="salary"] .nav-svg-icon{color:#2d9365}
@media(max-width:700px){
  .salary-page-head h2{font-size:22px}
}


/* v2.2.6 — Genel Bakış kaldırıldı; Net Varlık Raporlar'ın en üstünde */
.legacy-dashboard-hidden{display:none!important}
.report-net-worth-card{
  width:100%;
  min-height:108px;
  margin:0 0 12px;
  padding:20px 24px;
  display:flex;
  align-items:center;
  border:1px solid #dfe6e3;
  border-left:5px solid #087a4b;
  border-radius:16px;
  background:#fff;
}
.report-net-worth-card div{display:grid;gap:6px}
.report-net-worth-card span{
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  color:#6f7b86;
}
.report-net-worth-card strong{
  font-size:32px;
  line-height:1;
  color:#15221d;
}
html[data-theme="dark"] .report-net-worth-card{
  background:#0b211a;
  border-color:#24443a;
  border-left-color:#35a875;
}
html[data-theme="dark"] .report-net-worth-card strong{color:#f3f7f5}
@media(max-width:700px){
  .report-net-worth-card{min-height:90px;padding:16px 17px}
  .report-net-worth-card strong{font-size:27px}
}


/* v2.2.7 — Sayfa başlığı tekrarlarını kaldır */
.tx-simple-head,
.inv-simple-head,
.salary-page-head{
  margin-top:0!important;
}
.tx-simple-head .eyebrow,
.inv-simple-head .eyebrow,
.salary-page-head .eyebrow{
  margin-top:0!important;
}


/* v2.2.8 — Sol üst VARLIKO logosu daha görünür */
.sidebar .brand{
  min-height:82px!important;
  padding:14px 18px!important;
  display:flex!important;
  align-items:center!important;
}
.sidebar .brand img,
.sidebar .brand-logo{
  width:148px!important;
  max-width:148px!important;
  height:auto!important;
  object-fit:contain!important;
}
@media(max-width:700px){
  .sidebar .brand img,
  .sidebar .brand-logo{
    width:132px!important;
    max-width:132px!important;
  }
}


/* v2.2.9 — Logo alanı dengeli: ikon + VARLIKO + by babur */
.sidebar .brand{
  min-height:74px!important;
  padding:14px 16px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  overflow:visible!important;
}

.sidebar .brand-logo-small,
.sidebar .brand img.brand-logo-small{
  width:46px!important;
  height:46px!important;
  max-width:46px!important;
  flex:0 0 46px!important;
  object-fit:cover!important;
  border-radius:12px!important;
}

.sidebar .brand-title-wrap{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
  overflow:visible!important;
}

.sidebar .brand-title-wrap > span:first-child{
  display:block!important;
  font-size:20px!important;
  font-weight:800!important;
  line-height:1.05!important;
  letter-spacing:.04em!important;
  white-space:nowrap!important;
  color:#fff!important;
}

.sidebar .brand-title-wrap .by-babur{
  display:block!important;
  margin-top:4px!important;
  font-size:8px!important;
  line-height:1!important;
  white-space:nowrap!important;
  color:#d2b45a!important;
}

/* önceki büyük-logo override'ını etkisizleştir */
.sidebar .brand img,
.sidebar .brand-logo{
  width:auto!important;
  max-width:none!important;
  height:auto!important;
}
.sidebar .brand img.brand-logo-small{
  width:46px!important;
  height:46px!important;
  max-width:46px!important;
}


/* v2.3.0 — Marka alanında kontrollü büyütme */
.sidebar .brand{
  min-height:78px!important;
  gap:11px!important;
}
.sidebar .brand-logo-small,
.sidebar .brand img.brand-logo-small{
  width:52px!important;
  height:52px!important;
  max-width:52px!important;
  flex:0 0 52px!important;
}
.sidebar .brand-title-wrap .by-babur{
  font-size:10px!important;
  margin-top:4px!important;
  font-weight:600!important;
}


/* v2.3.1 — Sol üst marka daha okunaklı */
.sidebar .brand{
  min-height:82px!important;
  padding:13px 15px!important;
  gap:12px!important;
}
.sidebar .brand-logo-small,
.sidebar .brand img.brand-logo-small{
  width:58px!important;
  height:58px!important;
  max-width:58px!important;
  flex:0 0 58px!important;
  border-radius:13px!important;
}
.sidebar .brand-title-wrap > span:first-child{
  font-size:21px!important;
  font-weight:850!important;
  letter-spacing:.025em!important;
  line-height:1!important;
}
.sidebar .brand-title-wrap .by-babur{
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.15!important;
  margin-top:6px!important;
  color:#e3bf4e!important;
  opacity:1!important;
}


/* v2.3.2 — by babur daha okunaklı */
.sidebar .brand-title-wrap .by-babur{
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.15!important;
  margin-top:5px!important;
  letter-spacing:.01em!important;
  color:#e3bf4e!important;
  opacity:1!important;
}


/* v2.3.3 — VARLIKO içindeki O, by babur ile aynı gold */
.sidebar .brand-title-wrap .brand-word .brand-o{
  color:#e3bf4e!important;
}


/* v2.3.4 — by babur el yazısı yerine normal font */
.sidebar .brand-title-wrap .by-babur{
  font-family:inherit!important;
  font-style:normal!important;
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:.02em!important;
  text-transform:none!important;
  color:#e3bf4e!important;
}


/* v2.3.5 — Ayarlar sadeleştirildi */
.settings-legacy-compat{display:none!important}
.settings-account-only{max-width:760px}


/* v2.3.6 — Hesap silme + Instagram */
.account-action-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.instagram-follow-btn{
  display:inline-flex!important;
  align-items:center;
  gap:7px;
  text-decoration:none!important;
  color:inherit;
}
.instagram-mark{font-size:18px;line-height:1}
.delete-account-zone{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #e4e8eb;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.delete-account-zone>div{display:grid;gap:3px}
.delete-account-zone small{color:#7a8490;font-size:10px}
.delete-account-modal-card{max-width:460px}
.danger-solid{background:#b3261e!important;border-color:#b3261e!important;color:#fff!important}
html[data-theme="dark"] .delete-account-zone{border-color:#24443a}
@media(max-width:700px){
  .account-settings,.delete-account-zone{align-items:flex-start;flex-direction:column}
  .account-action-row{width:100%}
  .account-action-row>*{flex:1;justify-content:center}
  .delete-account-zone button{width:100%}
}

/* v2.4.4 */
.delete-account-zone,#deleteAccountModal{display:none!important}


/* v2.4.5 — Borçlar sade sekmeli yapı */
.debt-tabs{display:flex;gap:6px;margin-bottom:12px;background:#eef2f3;padding:4px;border-radius:12px;width:max-content}
.debt-tab{border:0;background:transparent;padding:9px 16px;border-radius:9px;font-weight:700;cursor:pointer;color:#697586}
.debt-tab.active{background:#fff;color:#16382c;box-shadow:0 1px 4px rgba(15,23,42,.07)}
.debt-tab-panel{display:none}
.debt-tab-panel.active{display:block}
#debtMinimumAuto{font-weight:800;background:#f5faf7!important;color:#087a4b}
.debt-minimum-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding-top:9px;border-top:1px solid #edf0f2;font-size:11px}
.debt-minimum-line span{color:#73808c}
.debt-minimum-line strong{color:#087a4b}
.lent-debt-list{display:grid;gap:5px}
.lent-debt-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 6px;border-bottom:1px solid #edf0f3}
.lent-debt-row:last-child{border-bottom:0}
.lent-debt-row .meta{display:grid;gap:3px}
.lent-debt-row .meta small{font-size:10px;color:#778294}
html[data-theme="dark"] .debt-tabs{background:#0c211b}
html[data-theme="dark"] .debt-tab.active{background:#17342b;color:#f2f7f4}
html[data-theme="dark"] #debtMinimumAuto{background:#0c271d!important}
@media(max-width:700px){
  .debt-tabs{width:100%}.debt-tab{flex:1;padding:9px 8px}
  .lent-debt-row{align-items:flex-start}
}


/* v2.4.6 — Aktif Raporlar */
.report-net-worth-card small{
  margin-top:5px;
  font-size:10px;
  color:#75818b;
}
.active-report-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.active-report-insights{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.report-two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.report-two-col .panel{min-width:0}
.report-monthly-panel{margin-top:12px}
.report-six-months{display:grid;gap:9px}
.report-month-row{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:10px;
}
.report-month-row>strong{font-size:11px;color:#566270}
.report-month-bars{display:grid;gap:5px}
.report-month-bars>div{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 105px;
  align-items:center;
  gap:7px;
  min-width:0;
}
.report-month-bars span{font-size:9px;color:#7b8793}
.report-month-bars i{
  display:block;
  height:6px;
  border-radius:999px;
  min-width:2px;
}
.report-month-bars i.income{background:#159b69}
.report-month-bars i.expense{background:#d75b5b}
.report-month-bars b{
  font-size:10px;
  text-align:right;
  font-weight:700;
}
#reportExpenseBreakdown .break-row,
#reportInvestmentBreakdown .break-row{
  min-width:0;
}

@media(max-width:1100px){
  .active-report-grid,.active-report-insights{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .active-report-grid,.active-report-insights{grid-template-columns:1fr 1fr!important}
  .report-two-col{grid-template-columns:1fr}
  .report-month-bars>div{grid-template-columns:34px minmax(0,1fr) 88px}
}


/* v2.4.7 — Rutin odaklı Gelir & Gider */
.routine-head{align-items:flex-end}
.routine-workspace{
  display:grid;
  grid-template-columns:minmax(320px,.9fr) minmax(0,1.2fr);
  gap:12px;
  align-items:start;
  margin-bottom:12px;
}
.routine-entry-panel,.routine-list-panel,.extra-entry-panel{padding:18px!important}
.routine-form{display:grid;gap:11px}
.routine-form label,.extra-tx-form label{display:grid;gap:6px;font-size:11px;font-weight:650;color:#354052}
.routine-form input,.extra-tx-form input{
  width:100%;height:41px;border:1px solid #dce2e8;border-radius:10px;padding:0 11px;background:#fff;min-width:0
}
.routine-list{display:grid;gap:5px;max-height:330px;overflow-y:auto}
.routine-row{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  padding:10px 5px;
  border-bottom:1px solid #edf0f3;
}
.routine-row:last-child{border-bottom:0}
.routine-icon{
  width:31px;height:31px;border-radius:10px;display:grid;place-items:center;font-weight:900
}
.routine-row.income .routine-icon{background:#e8f7f1;color:#078152}
.routine-row.expense .routine-icon{background:#fff0f0;color:#bd4444}
.routine-value{display:flex;align-items:center;gap:9px}
.routine-stop-btn{font-size:10px!important;padding:6px 8px!important}
.extra-entry-panel{margin-bottom:12px}
.extra-tx-form{
  display:grid;
  grid-template-columns:190px minmax(160px,1.2fr) minmax(130px,.7fr) minmax(145px,.7fr) auto;
  gap:9px;
  align-items:end;
}
.extra-tx-form .tx-type-switch{margin:0}
.extra-tx-form .tx-save-btn{height:41px;white-space:nowrap}
.routine-month-list{margin-top:0}
.routine-badge{
  display:inline-block;
  padding:2px 5px;
  border-radius:999px;
  background:#eaf6ef;
  color:#087a4b;
  font-size:8px;
  font-weight:800;
}
html[data-theme="dark"] .routine-form input,
html[data-theme="dark"] .extra-tx-form input{background:#0b211a;color:#f1f6f3;border-color:#24443a}
html[data-theme="dark"] .routine-badge{background:#103226;color:#63c996}

@media(max-width:1000px){
  .routine-workspace{grid-template-columns:1fr}
  .extra-tx-form{grid-template-columns:1fr 1fr}
  .extra-tx-form .tx-type-switch{grid-column:1/-1}
}
@media(max-width:700px){
  .routine-workspace{grid-template-columns:1fr}
  .routine-entry-panel,.routine-list-panel,.extra-entry-panel{padding:14px!important}
  .extra-tx-form{grid-template-columns:1fr}
  .extra-tx-form .tx-type-switch{grid-column:auto}
  .routine-row{grid-template-columns:30px minmax(0,1fr);align-items:start}
  .routine-value{grid-column:2;justify-content:space-between}
}


/* v2.4.8 — Verilen borçlarda birim seçimi */
.lent-amount-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(150px,.8fr);
  gap:9px;
}
.lent-value-preview{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 12px;
  border:1px solid #e2e7eb;
  border-radius:11px;
  background:#f7faf8;
}
.lent-value-preview span{font-size:10px;color:#74808b}
.lent-value-preview strong{font-size:14px;color:#087a4b}
.lent-debt-value{display:grid;gap:2px;text-align:right}
.lent-debt-value small{font-size:9px;color:#7b8793}
html[data-theme="dark"] .lent-value-preview{background:#0d241d;border-color:#24443a}
@media(max-width:700px){
  .lent-amount-row{grid-template-columns:1fr}
}


/* =========================================================
   v2.5.0 — AYARLAR: Instagram + Görünüm + Hesap Makinesi
   ========================================================= */
.settings-new-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:12px;
  align-items:start;
}
.settings-new-grid>.settings-account-only{
  grid-column:1/-1;
}
.settings-new-grid>.calculator-card{
  min-width:0;
}
.settings-user-info{display:grid;gap:3px}
.settings-user-info small{font-size:10px;color:#778294}

.instagram-real-btn{
  display:grid!important;
  grid-template-columns:26px auto;
  grid-template-rows:auto auto;
  column-gap:9px;
  align-items:center;
  min-height:48px;
  padding:8px 13px!important;
  border:1px solid #e3e7eb!important;
  border-radius:12px!important;
  text-decoration:none!important;
  background:#fff!important;
  color:#1f2937!important;
}
.instagram-real-btn svg{
  grid-row:1/3;
  width:25px;
  height:25px;
  fill:#d62976;
}
.instagram-real-btn span{
  font-size:11px;
  font-weight:750;
  line-height:1.1;
}
.instagram-real-btn small{
  font-size:9px;
  color:#7a8591;
}
.settings-signout-btn{min-height:48px}

.appearance-settings-card,.calculator-card{
  padding:18px!important;
}
.settings-option-block{display:grid;gap:8px;margin-top:13px}
.settings-option-title{
  font-size:10px;
  font-weight:800;
  color:#697582;
  letter-spacing:.04em;
}
.settings-choice-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.settings-choice{
  min-height:78px;
  border:1px solid #e0e5e9;
  border-radius:12px;
  background:#fff;
  padding:10px;
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  column-gap:8px;
  text-align:left;
  cursor:pointer;
  color:#27323c;
}
.settings-choice .choice-icon{
  grid-row:1/3;
  width:30px;height:30px;
  display:grid;place-items:center;
  border-radius:9px;
  background:#f2f5f4;
  font-size:18px;
}
.settings-choice strong{font-size:11px}
.settings-choice small{font-size:9px;color:#7a8590}
.settings-choice.active{
  border-color:#159b69;
  background:#f2faf6;
  box-shadow:0 0 0 2px rgba(21,155,105,.08);
}
.settings-choice.active .choice-icon{
  background:#ddf4e9;
  color:#087a4b;
}

.mini-calculator{
  width:100%;
  max-width:330px;
  margin:6px auto 0;
}
#calculatorDisplay{
  width:100%;
  height:58px;
  padding:0 14px;
  border:1px solid #dde3e7;
  border-radius:12px;
  background:#f8faf9;
  font-size:22px;
  font-weight:750;
  text-align:right;
  color:#17231e;
  margin-bottom:8px;
}
.calculator-keys{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
}
.calculator-keys button{
  height:42px;
  border:1px solid #e1e5e8;
  border-radius:10px;
  background:#fff;
  color:#27313a;
  font-weight:750;
  cursor:pointer;
}
.calculator-keys button:hover{background:#f5f7f6}
.calculator-keys .calc-op{
  background:#eef7f2;
  color:#087a4b;
}
.calculator-keys .calc-action{
  background:#f5f6f7;
  color:#596573;
}
.calculator-keys .calc-equals{
  background:#087a4b;
  color:#fff;
  border-color:#087a4b;
}
.calculator-keys .calc-zero{grid-column:span 2}

/* Koyu mod */
html[data-theme="dark"] body{background:#071712;color:#edf5f1}
html[data-theme="dark"] .main{background:#071712}
html[data-theme="dark"] .panel,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .tx-summary-card,
html[data-theme="dark"] .inv-summary-card,
html[data-theme="dark"] .report-net-worth-card,
html[data-theme="dark"] .settings-choice,
html[data-theme="dark"] .instagram-real-btn,
html[data-theme="dark"] .calculator-keys button{
  background:#0b211a!important;
  border-color:#24443a!important;
  color:#eef6f2!important;
}
html[data-theme="dark"] .settings-choice.active{
  background:#103126!important;
  border-color:#43aa7b!important;
}
html[data-theme="dark"] .settings-choice .choice-icon{
  background:#17372c;
}
html[data-theme="dark"] #calculatorDisplay{
  background:#071a14;
  border-color:#24443a;
  color:#f1f8f5;
}
html[data-theme="dark"] .calculator-keys .calc-op{
  background:#123126!important;
  color:#74d5a4!important;
}
html[data-theme="dark"] .calculator-keys .calc-equals{
  background:#17865b!important;
  color:#fff!important;
}
html[data-theme="dark"] input,
html[data-theme="dark"] select{
  background:#0a1d17;
  border-color:#24443a;
  color:#edf5f1;
}

/* Kullanıcı PC'de Mobil Modu seçerse gerçek mobil arayüz gibi davran */
@media(min-width:701px){
  html[data-layout="mobile"] .sidebar{display:none!important}
  html[data-layout="mobile"] .main{
    margin-left:auto!important;
    margin-right:auto!important;
    width:min(100%,430px)!important;
    max-width:430px!important;
    padding:14px 12px 90px!important;
    min-height:100vh;
  }
  html[data-layout="mobile"] .app-shell{
    display:block!important;
    background:#eef2f1;
  }
  html[data-layout="mobile"] .topbar{
    position:relative!important;
    display:block!important;
    padding:8px 0 10px!important;
  }
  html[data-layout="mobile"] .topbar-account,
  html[data-layout="mobile"] .market-head,
  html[data-layout="mobile"] .top-auth-cta{
    position:static!important;
    transform:none!important;
    max-width:100%!important;
    margin-top:8px;
  }
  html[data-layout="mobile"] .simple-mobile-nav{
    display:grid!important;
    max-width:430px;
    left:50%!important;
    right:auto!important;
    width:100%;
    transform:translateX(-50%);
  }
  html[data-layout="mobile"] .mobile-appbar{display:flex!important}
  html[data-layout="mobile"] .report-grid,
  html[data-layout="mobile"] .report-insight-grid,
  html[data-layout="mobile"] .tx-overview,
  html[data-layout="mobile"] .inv-overview,
  html[data-layout="mobile"] .settings-new-grid{
    grid-template-columns:1fr!important;
  }
  html[data-layout="mobile"] .report-two-col,
  html[data-layout="mobile"] .routine-workspace,
  html[data-layout="mobile"] .inv-workspace,
  html[data-layout="mobile"] .grid-two{
    grid-template-columns:1fr!important;
  }
}

/* PC modu: normal masaüstü düzeni */
@media(min-width:701px){
  html[data-layout="desktop"] .simple-mobile-nav{display:none!important}
}

/* Mobil cihazda seçim kartları / hesap makinesi */
@media(max-width:700px){
  .settings-new-grid{grid-template-columns:1fr}
  .settings-new-grid>.settings-account-only{grid-column:auto}
  .settings-choice-grid{grid-template-columns:1fr 1fr}
  .account-action-row{width:100%}
  .instagram-real-btn,.settings-signout-btn{width:100%}
  .mini-calculator{max-width:none}
}


/* v2.5.1 — Raporlar kaldırıldı, Özet ana sayfa */
.summary-page-head{margin-bottom:12px}
.summary-page-head .eyebrow{margin-bottom:2px}
.summary-hero-card{
  background:#fff;
  border:1px solid #e0e6e3;
  border-left:5px solid #087a4b;
  border-radius:16px;
  padding:20px 22px;
  margin-bottom:12px;
  display:grid;
  gap:5px;
}
.summary-hero-card span{font-size:10px;font-weight:800;color:#6d7984;letter-spacing:.06em}
.summary-hero-card strong{font-size:34px;line-height:1}
.summary-hero-card small{font-size:10px;color:#7a8590}
.summary-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:12px;
}
.summary-card{
  background:#fff;
  border:1px solid #e1e6e9;
  border-radius:14px;
  padding:15px 16px;
  min-height:88px;
  display:grid;
  gap:6px;
}
.summary-card span{font-size:10px;color:#71808b}
.summary-card strong{font-size:20px}
.summary-card.income{border-left:4px solid #159b69}
.summary-card.expense{border-left:4px solid #d75b5b}
.summary-card.balance{border-left:4px solid #1e385e}
.summary-card.investment{border-left:4px solid #c6952d}
.summary-card.debt{border-left:4px solid #bd5a5a}
.summary-card.receivable{border-left:4px solid #5e8dbd}
.summary-mini-panel{padding:14px 16px!important}
.summary-mini-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.summary-mini-row>div{display:grid;gap:4px}
.summary-mini-row span{font-size:9px;color:#7a8590}
.summary-mini-row strong{font-size:13px}

html[data-theme="dark"] .summary-hero-card,
html[data-theme="dark"] .summary-card{
  background:#0b211a;
  border-color:#24443a;
  color:#eef6f2;
}

@media(max-width:900px){
  .summary-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .summary-hero-card strong{font-size:28px}
  .summary-grid{grid-template-columns:1fr 1fr}
  .summary-mini-row{grid-template-columns:1fr}
}


/* v2.5.5 — Uygulamayı Yükle */
.install-app-banner{
  margin:10px 0 14px;
  padding:11px 12px;
  border:1px solid #dce6e1;
  border-radius:14px;
  background:linear-gradient(135deg,#f7fbf9,#eef7f2);
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto 26px;
  align-items:center;
  gap:10px;
  box-shadow:0 6px 18px rgba(15,23,42,.05);
}
.install-app-banner.hidden{display:none!important}
.install-app-icon{
  width:42px;height:42px;border-radius:11px;overflow:hidden;
  border:1px solid #d8e1dd;background:#fff;
}
.install-app-icon img{width:100%;height:100%;object-fit:cover}
.install-app-copy{display:grid;gap:2px;min-width:0}
.install-app-copy strong{font-size:12px;color:#173b2f}
.install-app-copy small{font-size:9px;color:#738078}
.install-app-button{
  border:0;
  background:#087a4b;
  color:#fff;
  border-radius:10px;
  padding:10px 13px;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.install-app-close{
  width:26px;height:26px;border:0;background:transparent;
  color:#75817b;font-size:20px;cursor:pointer;
}
.install-help-modal{
  position:fixed;inset:0;z-index:3000;
  background:rgba(5,15,12,.55);
  display:grid;place-items:center;padding:18px;
}
.install-help-modal.hidden{display:none!important}
.install-help-card{
  width:min(100%,390px);
  background:#fff;
  border-radius:18px;
  padding:22px;
  text-align:center;
  position:relative;
  box-shadow:0 24px 80px rgba(0,0,0,.25);
}
.install-help-close{
  position:absolute;right:10px;top:8px;
  border:0;background:transparent;font-size:22px;cursor:pointer;
}
.install-help-logo{
  width:66px;height:66px;border-radius:16px;margin-bottom:10px;
}
.install-help-card h3{margin:4px 0 8px}
.install-help-card p{font-size:12px;line-height:1.6;color:#5f6c66}

html[data-theme="dark"] .install-app-banner{
  background:linear-gradient(135deg,#0c241c,#0a1f18);
  border-color:#24443a;
}
html[data-theme="dark"] .install-app-copy strong{color:#edf6f1}
html[data-theme="dark"] .install-help-card{
  background:#0b211a;color:#eef6f2
}
html[data-theme="dark"] .install-help-card p{color:#b9c6c0}

@media(max-width:700px){
  .install-app-banner{
    grid-template-columns:38px minmax(0,1fr) 24px;
    gap:8px;
    padding:10px;
  }
  .install-app-icon{width:38px;height:38px}
  .install-app-button{
    grid-column:1/-1;
    width:100%;
    font-size:11px;
    padding:11px;
  }
  .install-app-close{
    grid-column:3;
    grid-row:1;
    justify-self:end;
  }
}


/* v2.5.6 — Koyu mod okunurluk */
html[data-theme="dark"] body,
html[data-theme="dark"] .main,
html[data-theme="dark"] .page,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .summary-hero-card,
html[data-theme="dark"] .tx-summary-card,
html[data-theme="dark"] .inv-summary-card,
html[data-theme="dark"] .report-net-worth-card{
  color:#edf5f1!important;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] strong,
html[data-theme="dark"] b,
html[data-theme="dark"] .hero-value,
html[data-theme="dark"] .saving-rate,
html[data-theme="dark"] .summary-card strong,
html[data-theme="dark"] .summary-hero-card strong,
html[data-theme="dark"] .metric-card strong,
html[data-theme="dark"] .tx-summary-card strong,
html[data-theme="dark"] .inv-summary-card strong,
html[data-theme="dark"] .portfolio-numbers strong,
html[data-theme="dark"] .salary-summary-grid strong,
html[data-theme="dark"] .salary-table td,
html[data-theme="dark"] .salary-table strong,
html[data-theme="dark"] .debt-card strong,
html[data-theme="dark"] .lent-debt-row strong,
html[data-theme="dark"] .routine-row strong,
html[data-theme="dark"] .tx-row strong,
html[data-theme="dark"] .break-row strong,
html[data-theme="dark"] .list-actions strong,
html[data-theme="dark"] .investment-preview strong{
  color:#f3f8f5!important;
}

html[data-theme="dark"] .muted,
html[data-theme="dark"] small,
html[data-theme="dark"] .tiny-note,
html[data-theme="dark"] .chart-note,
html[data-theme="dark"] .meta small,
html[data-theme="dark"] .panel-head span,
html[data-theme="dark"] .summary-card span,
html[data-theme="dark"] .summary-hero-card span,
html[data-theme="dark"] .summary-hero-card small,
html[data-theme="dark"] .settings-option-title,
html[data-theme="dark"] .settings-choice small,
html[data-theme="dark"] .install-app-copy small{
  color:#aebdb6!important;
}

html[data-theme="dark"] label,
html[data-theme="dark"] .settings-choice strong,
html[data-theme="dark"] .panel-head h2,
html[data-theme="dark"] .panel-head h3{
  color:#e7f0eb!important;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] #calculatorDisplay,
html[data-theme="dark"] #debtMinimumAuto{
  color:#f3f8f5!important;
  caret-color:#f3f8f5!important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{
  color:#75867d!important;
  opacity:1!important;
}

html[data-theme="dark"] .debt-card,
html[data-theme="dark"] .lent-debt-row,
html[data-theme="dark"] .routine-row,
html[data-theme="dark"] .tx-row,
html[data-theme="dark"] .portfolio-row,
html[data-theme="dark"] .list-item,
html[data-theme="dark"] .strategy-card,
html[data-theme="dark"] .investment-preview>div,
html[data-theme="dark"] .salary-summary-grid>div,
html[data-theme="dark"] .lent-value-preview{
  background:#0d241d!important;
  border-color:#24443a!important;
}

html[data-theme="dark"] .positive{color:#69d6a2!important}
html[data-theme="dark"] .negative{color:#ff8b8b!important}

html[data-theme="dark"] .ghost,
html[data-theme="dark"] .tx-filter-pill,
html[data-theme="dark"] .debt-tab,
html[data-theme="dark"] .settings-choice,
html[data-theme="dark"] .calculator-keys button{
  color:#dce8e2!important;
}

html[data-theme="dark"] .tx-filter-pill.active,
html[data-theme="dark"] .debt-tab.active,
html[data-theme="dark"] .settings-choice.active{
  color:#fff!important;
}

html[data-theme="dark"] th{color:#b9c8c0!important}

/* v2.5.7 — Mobil kurulum güvenilirliği */
.install-app-button{
  min-width:132px;
  box-shadow:0 6px 16px rgba(8,122,75,.18);
}
.install-app-button:active{transform:translateY(1px)}


/* v2.5.9 — Sadece "VARLIKO'yu Telefona Yükle" alanı kaldırıldı */
#installAppBanner,
#iosInstallModal,
.install-app-banner,
.install-help-modal{
  display:none!important;
}


/* v2.6.0 — Koyu mod Gelir/Gider seçim okunurluğu */
html[data-theme="dark"] .tx-type-switch{
  background:#101d22!important;
  border:1px solid #2a3b42!important;
}

html[data-theme="dark"] .tx-type-btn{
  color:#cbd5d1!important;
  background:transparent!important;
  opacity:1!important;
}

html[data-theme="dark"] .tx-type-btn.income{
  color:#71d8a5!important;
}

html[data-theme="dark"] .tx-type-btn.expense{
  color:#ff9a9a!important;
}

html[data-theme="dark"] .tx-type-btn.active.income{
  background:#123126!important;
  color:#71e1ad!important;
  box-shadow:inset 0 0 0 1px #247f5c!important;
}

html[data-theme="dark"] .tx-type-btn.active.expense{
  background:#3a1f22!important;
  color:#ffabab!important;
  box-shadow:inset 0 0 0 1px #9b4b51!important;
}

html[data-theme="dark"] .tx-type-btn:not(.active){
  background:#16232a!important;
  color:#c6d0cc!important;
}

html[data-theme="dark"] .tx-type-btn:not(.active).expense{
  color:#ff9a9a!important;
}

html[data-theme="dark"] .tx-type-btn:not(.active).income{
  color:#71d8a5!important;
}


/* v2.6.1 — Koyu mod ay/yıl seçici okunurluğu */
html[data-theme="dark"] .month-nav,
html[data-theme="dark"] .month-selector,
html[data-theme="dark"] .period-nav,
html[data-theme="dark"] .month-switcher,
html[data-theme="dark"] .month-control{
  background:#0d241d!important;
  border-color:#2b4b40!important;
}

html[data-theme="dark"] .month-nav strong,
html[data-theme="dark"] .month-nav span,
html[data-theme="dark"] .month-selector strong,
html[data-theme="dark"] .month-selector span,
html[data-theme="dark"] .period-nav strong,
html[data-theme="dark"] .period-nav span,
html[data-theme="dark"] .month-switcher strong,
html[data-theme="dark"] .month-switcher span,
html[data-theme="dark"] .month-control strong,
html[data-theme="dark"] .month-control span,
html[data-theme="dark"] #monthLabel,
html[data-theme="dark"] #currentMonthLabel,
html[data-theme="dark"] #txMonthLabel,
html[data-theme="dark"] #reportMonthLabel{
  color:#f4f8f6!important;
  opacity:1!important;
  font-weight:800!important;
}

html[data-theme="dark"] .month-nav button,
html[data-theme="dark"] .month-selector button,
html[data-theme="dark"] .period-nav button,
html[data-theme="dark"] .month-switcher button,
html[data-theme="dark"] .month-control button{
  color:#eaf4ef!important;
  background:#092019!important;
  border-color:#315247!important;
}

html[data-theme="dark"] .month-nav button:hover,
html[data-theme="dark"] .month-selector button:hover,
html[data-theme="dark"] .period-nav button:hover,
html[data-theme="dark"] .month-switcher button:hover,
html[data-theme="dark"] .month-control button:hover{
  color:#7be0ad!important;
  background:#103126!important;
}


/* v2.6.2 — Gelir & Gider ay seçici koyu mod kontrast düzeltmesi */
html[data-theme="dark"] .tx-month-switch{
  background:#0f211b!important;
  border:1px solid #315247!important;
  box-shadow:none!important;
}

html[data-theme="dark"] #txMonthLabel{
  color:#f7fbf9!important;
  opacity:1!important;
  font-weight:800!important;
  text-shadow:none!important;
}

html[data-theme="dark"] .tx-month-btn{
  background:#0a1d17!important;
  color:#7be0ad!important;
  border:1px solid #315247!important;
  opacity:1!important;
}

html[data-theme="dark"] .tx-month-btn:hover{
  background:#123126!important;
  color:#a7f0cb!important;
}

html[data-theme="dark"] .tx-month-btn:disabled{
  color:#6f8178!important;
  opacity:.65!important;
}

/* Açık modda da ay etiketi net kalsın */
html[data-theme="light"] .tx-month-switch{
  background:#ffffff!important;
}
html[data-theme="light"] #txMonthLabel{
  color:#1f2937!important;
  opacity:1!important;
  font-weight:800!important;
}


/* v2.6.3 — Üst piyasa göstergesi: Altın / Dolar / Euro */
.header-market-rates{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
}
.header-market-rates .gold-chip{
  margin:0!important;
}
.header-rate-line{
  padding-left:12px;
  font-size:9px;
  line-height:1.35;
  color:#68756f;
  white-space:nowrap;
}
.header-rate-line strong{
  font-size:10px;
  color:#17231e;
}
html[data-theme="dark"] .header-rate-line{
  color:#aebdb6!important;
}
html[data-theme="dark"] .header-rate-line strong{
  color:#f3f8f5!important;
}
@media(max-width:700px){
  .header-market-rates{
    width:100%;
  }
  .header-rate-line{
    padding-left:8px;
    font-size:9px;
  }
}


/* v2.6.4 — Üst hesap alanı sade: sadece isim soyisim */
.topbar-account{
  margin-left:auto!important;
  margin-right:8px!important;
}
.compact-user-pill{
  min-height:34px!important;
  padding:7px 11px!important;
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  border-radius:10px!important;
  white-space:nowrap!important;
}
.compact-user-pill strong{
  font-size:11px!important;
  line-height:1!important;
  font-weight:750!important;
}
.cloud-status-compat{
  display:none!important;
}
.topbar-account .user-avatar,
.topbar-account .user-dot{
  display:none!important;
}

@media(max-width:700px){
  .compact-user-pill{
    min-height:32px!important;
    padding:6px 9px!important;
  }
  .compact-user-pill strong{
    font-size:10px!important;
  }
}


/* v2.6.5 — Gram Altın / Dolar / Euro aynı chip tasarımı */
.header-market-rates{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:4px!important;
}
.header-market-rates .market-rate-chip{
  margin:0!important;
  width:100%!important;
  min-width:145px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  white-space:nowrap!important;
}
.header-market-rates .market-rate-chip strong{
  margin-left:auto!important;
}
.header-market-rates .header-rate-line{
  display:none!important;
}

@media(max-width:700px){
  .header-market-rates .market-rate-chip{
    min-width:0!important;
    width:100%!important;
  }
}


/* v2.6.6 — Hesap alanı kullanıcı ikonu */
.compact-user-pill{
  flex-direction:column!important;
  justify-content:center!important;
  gap:3px!important;
  min-width:76px!important;
  padding:6px 10px!important;
}
.compact-user-icon{
  width:22px!important;height:22px!important;
  display:grid!important;place-items:center!important;
  border-radius:50%!important;
  background:#eef6f2!important;
  color:#087a4b!important;
}
.compact-user-icon svg{width:13px!important;height:13px!important;fill:currentColor!important}
.compact-user-pill strong{text-align:center!important}
html[data-theme="dark"] .compact-user-icon{background:#16372c!important;color:#78dca9!important}
@media(max-width:700px){
  .compact-user-pill{min-width:68px!important;padding:5px 8px!important;gap:2px!important}
  .compact-user-icon{width:20px!important;height:20px!important}
}


/* v2.6.7 — Hesap kartı, Altın/Dolar/Euro grubuyla aynı ölçüde */
.topbar-account{
  align-self:stretch!important;
  display:flex!important;
  align-items:stretch!important;
}

.topbar-account .compact-user-pill{
  min-width:145px!important;
  width:145px!important;
  min-height:100%!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  gap:7px!important;
  border-radius:12px!important;
}

.topbar-account .compact-user-icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  font-size:18px!important;
}

.topbar-account .compact-user-pill strong{
  width:100%!important;
  text-align:center!important;
  font-size:11px!important;
  line-height:1.25!important;
  white-space:normal!important;
}

@media(max-width:700px){
  .topbar-account{
    width:100%!important;
  }
  .topbar-account .compact-user-pill{
    width:100%!important;
    min-width:0!important;
    min-height:88px!important;
  }
}


/* v2.6.8 — Ayarlara Kredi Hesaplama */
.settings-new-grid>.calculator-card,
.settings-new-grid>.credit-calculator-card{
  min-width:0;
}

.credit-calculator-card{
  padding:18px!important;
}

.credit-calc-form{
  display:grid;
  gap:10px;
  margin-top:6px;
}

.credit-calc-form label{
  display:grid;
  gap:5px;
  font-size:10px;
  font-weight:700;
  color:#354052;
}

.credit-calc-form input{
  width:100%;
  height:40px;
  border:1px solid #dce2e8;
  border-radius:10px;
  padding:0 11px;
  background:#fff;
  box-sizing:border-box;
}

.credit-calc-button{
  height:40px;
  margin-top:2px;
}

.credit-calc-results{
  display:grid;
  grid-template-columns:1fr;
  gap:7px;
  margin-top:12px;
}

.credit-calc-results>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 11px;
  border:1px solid #e2e7eb;
  border-radius:10px;
  background:#f8faf9;
}

.credit-calc-results span{
  font-size:9px;
  color:#77838d;
}

.credit-calc-results strong{
  font-size:13px;
  color:#17231e;
}

.credit-calc-note{
  margin:9px 0 0;
  font-size:8px!important;
  line-height:1.4;
}

html[data-theme="dark"] .credit-calc-form label{
  color:#e7f0eb!important;
}

html[data-theme="dark"] .credit-calc-form input{
  background:#0a1d17!important;
  border-color:#24443a!important;
  color:#f3f8f5!important;
}

html[data-theme="dark"] .credit-calc-results>div{
  background:#0d241d!important;
  border-color:#24443a!important;
}

html[data-theme="dark"] .credit-calc-results span{
  color:#aebdb6!important;
}

html[data-theme="dark"] .credit-calc-results strong{
  color:#f3f8f5!important;
}

@media(max-width:900px){
  .settings-new-grid{
    grid-template-columns:1fr!important;
  }
  .settings-new-grid>.settings-account-only{
    grid-column:auto!important;
  }
}


/* v2.6.9 — Kayıtlara Düzenle seçeneği */
.edit-btn{
  border:1px solid #d6dfdb;
  background:#f7faf8;
  color:#356353;
  border-radius:8px;
  padding:6px 8px;
  font-size:9px;
  font-weight:750;
  cursor:pointer;
  white-space:nowrap;
}
.edit-btn:hover{
  background:#eaf5ef;
  border-color:#8fb9a6;
}
.row-edit-actions{
  display:flex;
  align-items:center;
  gap:5px;
}
html[data-theme="dark"] .edit-btn{
  background:#102a21!important;
  border-color:#315247!important;
  color:#86dbb3!important;
}
html[data-theme="dark"] .edit-btn:hover{
  background:#17392d!important;
  color:#b4f0d1!important;
}
@media(max-width:700px){
  .edit-btn{
    padding:5px 7px;
    font-size:8px;
  }
}


/* v2.7.0 — Ayarlar düzeni + sekmeli hesap araçları */
.settings-new-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
}
.settings-new-grid>.settings-account-only{
  grid-column:1/-1!important;
}
.settings-new-grid>.appearance-settings-card{
  min-height:100%!important;
}
.settings-new-grid>.finance-tools-card{
  min-width:0!important;
  min-height:100%!important;
  padding:18px!important;
}

.finance-tools-head{
  margin-bottom:10px!important;
}
.finance-tools-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:4px;
  background:#eef2f1;
  border-radius:12px;
  margin-bottom:12px;
}
.finance-tool-tab{
  border:0;
  background:transparent;
  min-height:38px;
  border-radius:9px;
  font-size:10px;
  font-weight:800;
  color:#69766f;
  cursor:pointer;
}
.finance-tool-tab.active{
  background:#fff;
  color:#087a4b;
  box-shadow:0 1px 5px rgba(15,23,42,.08);
}
.finance-tool-panel{
  display:none;
}
.finance-tool-panel.active{
  display:block;
}

/* İç kart başlıklarını tek üst başlık altında sadeleştir */
.finance-tool-panel .panel-head{
  margin-bottom:10px!important;
}
.finance-tool-panel .panel-head h2{
  font-size:13px!important;
}
.finance-tool-panel .panel-head p{
  font-size:9px!important;
}

/* Eski ayrı kart görünümünü kaldır */
.finance-tool-panel .mini-calculator{
  max-width:none!important;
  margin:0!important;
}
.finance-tool-panel .credit-calc-form{
  margin-top:0!important;
}
.finance-tool-panel .credit-calc-results{
  margin-top:12px!important;
}

/* Kredi paneli biraz daha ferah */
#financeToolCredit{
  padding-top:2px;
}

/* Koyu mod */
html[data-theme="dark"] .finance-tools-tabs{
  background:#0c211b!important;
}
html[data-theme="dark"] .finance-tool-tab{
  color:#aebdb6!important;
}
html[data-theme="dark"] .finance-tool-tab.active{
  background:#17342b!important;
  color:#8ce0b5!important;
}

/* Mobilde tek sütun */
@media(max-width:900px){
  .settings-new-grid{
    grid-template-columns:1fr!important;
  }
  .settings-new-grid>.settings-account-only{
    grid-column:auto!important;
  }
}


/* v2.7.1 — Kayıt düzenleme seçeneği kaldırıldı */
.edit-btn,
.row-edit-actions > .edit-btn{
  display:none!important;
}


/* v2.7.2 — Bu Ayın Hareketleri: tüm satırlar silinebilir */
.tx-row .icon-btn[data-delete-tx]{
  flex:0 0 auto;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:8px;
  cursor:pointer;
}
html[data-theme="dark"] .tx-row .icon-btn[data-delete-tx]{
  color:#ff9a9a!important;
  border-color:#5b3437!important;
  background:#2a171a!important;
}
html[data-theme="dark"] .tx-row .icon-btn[data-delete-tx]:hover{
  color:#ffc0c0!important;
  background:#3a1f22!important;
}
@media(max-width:700px){
  .tx-row .icon-btn[data-delete-tx]{
    width:30px;
    height:30px;
  }
}


/* v2.7.5 — "Bu Ayın Hareketleri" paneli kaldırıldı */
.transactions-compat-hidden{
  display:none!important;
}


/* v2.7.6 — Google + Apple/iCloud giriş */
.auth-provider-buttons{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  width:100%;
}
.auth-provider-buttons .google-signin,
.auth-provider-buttons .apple-signin{
  width:100%;
  min-height:46px;
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-weight:750;
  cursor:pointer;
}
.apple-signin{
  border:1px solid #111!important;
  background:#111!important;
  color:#fff!important;
}
.apple-mark{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:20px;
  line-height:1;
}
.apple-signin:hover{
  background:#242424!important;
}
html[data-theme="dark"] .apple-signin{
  background:#f5f5f5!important;
  border-color:#f5f5f5!important;
  color:#111!important;
}
html[data-theme="dark"] .apple-signin:hover{
  background:#fff!important;
}
@media(max-width:700px){
  .auth-provider-buttons{
    grid-template-columns:1fr;
  }
}


/* v2.7.7 — iCloud yerine Mail seçeneği */
.auth-provider-buttons .email-signin{
  width:100%;
  min-height:46px;
  border:1px solid #d7dfdc;
  border-radius:11px;
  background:#fff;
  color:#25332d;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-weight:750;
  cursor:pointer;
}
.email-mark{
  width:23px;
  height:23px;
  border-radius:7px;
  display:grid;
  place-items:center;
  background:#edf5f1;
  color:#087a4b;
  font-size:14px;
  line-height:1;
}
.email-signin:hover{
  background:#f7faf8;
  border-color:#9db9ad;
}
html[data-theme="dark"] .email-signin{
  background:#10251e!important;
  border-color:#315247!important;
  color:#f1f7f4!important;
}
html[data-theme="dark"] .email-mark{
  background:#17382d!important;
  color:#8ce0b5!important;
}


/* v2.7.8 — Google ve Mail giriş butonları aynı tasarım */
.auth-provider-buttons .google-signin,
.auth-provider-buttons .email-signin{
  width:100%!important;
  min-height:46px!important;
  border:1px solid #d7dfdc!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#25332d!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  padding:0 14px!important;
  font-weight:750!important;
  box-shadow:none!important;
  cursor:pointer!important;
}

.auth-provider-buttons .provider-mark{
  width:23px!important;
  height:23px!important;
  min-width:23px!important;
  border-radius:7px!important;
  display:grid!important;
  place-items:center!important;
  background:#edf5f1!important;
  color:#087a4b!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1!important;
}

.auth-provider-buttons .google-signin:hover,
.auth-provider-buttons .email-signin:hover{
  background:#f7faf8!important;
  border-color:#9db9ad!important;
}

html[data-theme="dark"] .auth-provider-buttons .google-signin,
html[data-theme="dark"] .auth-provider-buttons .email-signin{
  background:#10251e!important;
  border-color:#315247!important;
  color:#f1f7f4!important;
}

html[data-theme="dark"] .auth-provider-buttons .provider-mark{
  background:#17382d!important;
  color:#8ce0b5!important;
}


/* v2.8.4 — Ayarlar > Hesabım destek e-postası */
.account-support-mail{
  margin-top:12px;
  padding:11px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid #dfe6e2;
  border-radius:11px;
  background:#f8faf9;
}
.account-support-mail-icon{
  width:30px;
  height:30px;
  min-width:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#e8f4ee;
  color:#087a4b;
  font-size:15px;
}
.account-support-mail-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.account-support-mail-text>span{
  font-size:9px;
  color:#7a8680;
}
.account-support-mail-text>a{
  color:#17231e;
  font-size:11px;
  font-weight:750;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.account-support-mail-text>a:hover{
  color:#087a4b;
  text-decoration:underline;
}

html[data-theme="dark"] .account-support-mail{
  background:#0d241d!important;
  border-color:#29483e!important;
}
html[data-theme="dark"] .account-support-mail-icon{
  background:#17382d!important;
  color:#8ce0b5!important;
}
html[data-theme="dark"] .account-support-mail-text>span{
  color:#aebdb6!important;
}
html[data-theme="dark"] .account-support-mail-text>a{
  color:#f1f7f4!important;
}


/* =========================================================
   v2.8.5 — MOBİL FAZ 1
   Amaç: telefon ekranında uygulama gibi temiz, tek elle kullanılabilir düzen
   Desktop etkilenmez.
   ========================================================= */
@media(max-width:700px){

  html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
  }

  body{
    background:#f3f6f5!important;
  }

  .app-shell{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
  }

  .sidebar{
    display:none!important;
  }

  .main{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:72px 12px 88px!important;
    box-sizing:border-box!important;
    min-height:100vh!important;
  }

  /* Üst mobil bar */
  .mobile-appbar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    height:58px!important;
    z-index:1200!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:8px 12px!important;
    box-sizing:border-box!important;
    background:rgba(247,250,249,.96)!important;
    backdrop-filter:blur(12px)!important;
    border-bottom:1px solid #dfe6e3!important;
  }

  .mobile-brand{
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }

  .brand-logo-small{
    width:34px!important;
    height:34px!important;
    flex:0 0 34px!important;
    border-radius:9px!important;
  }

  .brand-title-wrap.mobile{
    display:grid!important;
    gap:1px!important;
  }

  .brand-title-wrap.mobile .brand-word{
    font-size:14px!important;
    line-height:1!important;
    font-weight:850!important;
    letter-spacing:.03em!important;
  }

  .brand-title-wrap.mobile .by-babur{
    font-size:8px!important;
    line-height:1!important;
  }

  .mobile-gold{
    max-width:46%!important;
    padding:7px 9px!important;
    border:1px solid #dfe6e3!important;
    border-radius:10px!important;
    background:#fff!important;
    font-size:9px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  .mobile-gold strong{
    font-size:10px!important;
  }

  /* Desktop üst başlığı mobilde sadeleştir */
  .topbar{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important;
    padding:0!important;
    margin:0 0 10px!important;
    min-height:0!important;
  }

  .topbar>div:first-child{
    display:block!important;
  }

  .topbar .eyebrow{
    font-size:8px!important;
    margin:0 0 2px!important;
  }

  #pageTitle{
    font-size:22px!important;
    line-height:1.05!important;
    margin:0!important;
  }

  /* Hesap ve piyasa alanı */
  .topbar-account{
    width:100%!important;
    margin:0!important;
  }

  .topbar-account .compact-user-pill{
    width:100%!important;
    min-width:0!important;
    min-height:54px!important;
    flex-direction:row!important;
    justify-content:flex-start!important;
    padding:9px 11px!important;
    gap:9px!important;
  }

  .topbar-account .compact-user-icon{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    font-size:15px!important;
  }

  .topbar-account .compact-user-pill strong{
    width:auto!important;
    text-align:left!important;
    font-size:11px!important;
  }

  .market-head{
    width:100%!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:stretch!important;
  }

  .header-market-rates{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }

  .header-market-rates .market-rate-chip{
    min-width:0!important;
    width:100%!important;
    padding:8px 7px!important;
    font-size:8px!important;
    border-radius:10px!important;
    display:grid!important;
    justify-content:start!important;
    gap:2px!important;
  }

  .header-market-rates .market-rate-chip strong{
    margin:0!important;
    font-size:10px!important;
    line-height:1.1!important;
  }

  .market-refresh{
    width:42px!important;
    min-width:42px!important;
    padding:0!important;
    font-size:0!important;
    border-radius:10px!important;
    position:relative!important;
  }

  .market-refresh::after{
    content:"↻";
    font-size:19px;
    line-height:1;
  }

  /* Tüm ana kartlar */
  .page{
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }

  .panel,
  .summary-card,
  .summary-hero-card,
  .metric-card,
  .tx-summary-card,
  .inv-summary-card{
    border-radius:14px!important;
    box-shadow:none!important;
  }

  .panel{
    padding:14px!important;
  }

  /* Özet mobil */
  .summary-page-head{
    margin-bottom:8px!important;
  }

  .summary-hero-card{
    padding:16px!important;
    margin-bottom:10px!important;
  }

  .summary-hero-card strong{
    font-size:27px!important;
  }

  .summary-grid{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }

  .summary-card{
    min-height:78px!important;
    padding:12px!important;
  }

  .summary-card span{
    font-size:9px!important;
  }

  .summary-card strong{
    font-size:17px!important;
  }

  .summary-mini-row{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  .summary-mini-row>div{
    padding-bottom:8px!important;
    border-bottom:1px solid #edf1ef!important;
  }

  .summary-mini-row>div:last-child{
    border-bottom:0!important;
    padding-bottom:0!important;
  }

  /* Mobil formlar: tek kolon ve rahat dokunma */
  form,
  .form,
  .extra-tx-form,
  .credit-calc-form{
    max-width:100%!important;
  }

  input,
  select,
  textarea,
  button{
    font-size:16px;
  }

  input,
  select,
  textarea{
    min-height:44px!important;
  }

  button{
    min-height:42px;
  }

  /* Alt mobil navigasyon */
  .simple-mobile-nav{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:1250!important;
    display:grid!important;
    grid-template-columns:repeat(6,1fr)!important;
    width:100%!important;
    max-width:none!important;
    padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;
    background:rgba(249,251,250,.97)!important;
    backdrop-filter:blur(12px)!important;
    border-top:1px solid #dce4e0!important;
    transform:none!important;
    box-sizing:border-box!important;
  }

  .simple-mobile-nav button{
    min-width:0!important;
    min-height:50px!important;
    border:0!important;
    background:transparent!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    padding:4px 2px!important;
    border-radius:10px!important;
  }

  .simple-mobile-nav button span{
    font-size:16px!important;
    line-height:1!important;
  }

  .simple-mobile-nav button small{
    font-size:7px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  .simple-mobile-nav button.active{
    background:#e9f5ef!important;
    color:#087a4b!important;
  }

  /* Güvenli yatay taşma temizliği */
  .tx-overview,
  .inv-overview,
  .settings-new-grid,
  .routine-workspace,
  .report-grid,
  .report-insight-grid,
  .report-two-col,
  .grid-two{
    max-width:100%!important;
    overflow:visible!important;
  }

  table{
    font-size:10px!important;
  }

  .salary-table-wrap{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
}

/* Mobil koyu mod */
@media(max-width:700px){
  html[data-theme="dark"] body{
    background:#071712!important;
  }
  html[data-theme="dark"] .mobile-appbar,
  html[data-theme="dark"] .simple-mobile-nav{
    background:rgba(7,23,18,.97)!important;
    border-color:#24443a!important;
  }
  html[data-theme="dark"] .mobile-gold{
    background:#0d241d!important;
    border-color:#24443a!important;
    color:#eef6f2!important;
  }
  html[data-theme="dark"] .simple-mobile-nav button.active{
    background:#123126!important;
    color:#8ce0b5!important;
  }
}


/* =========================================================
   v2.8.6 — Profesyonel mobil alt menü
   ========================================================= */
@media(max-width:700px){

  .pro-mobile-nav{
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    width:auto!important;
    max-width:none!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:3px!important;
    padding:6px!important;
    border:1px solid rgba(214,224,219,.95)!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 10px 32px rgba(15,23,42,.14)!important;
    backdrop-filter:blur(16px)!important;
  }

  .pro-mobile-nav button{
    position:relative!important;
    min-width:0!important;
    min-height:58px!important;
    height:58px!important;
    padding:6px 2px!important;
    border-radius:13px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    transition:transform .16s ease,background .16s ease,color .16s ease!important;
  }

  .pro-mobile-nav button:active{
    transform:scale(.94)!important;
  }

  .pro-mobile-nav .mobile-nav-icon{
    width:25px!important;
    height:25px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:8px!important;
    transition:background .16s ease,transform .16s ease!important;
  }

  .pro-mobile-nav .mobile-nav-icon svg{
    width:20px!important;
    height:20px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }

  .pro-mobile-nav button small{
    font-size:7.5px!important;
    line-height:1!important;
    font-weight:650!important;
    letter-spacing:-.01em!important;
    color:#74817b!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    max-width:100%!important;
  }

  .pro-mobile-nav button.active{
    background:#edf8f2!important;
    color:#087a4b!important;
  }

  .pro-mobile-nav button.active .mobile-nav-icon{
    background:#dff2e8!important;
    transform:translateY(-1px)!important;
  }

  .pro-mobile-nav button.active small{
    color:#087a4b!important;
    font-weight:800!important;
  }

  .pro-mobile-nav button.active::before{
    content:"";
    position:absolute;
    top:3px;
    left:50%;
    width:16px;
    height:2px;
    border-radius:999px;
    background:#0c8a57;
    transform:translateX(-50%);
  }

  /* Alt menüye yaklaşan içerik altta kalmasın */
  .main{
    padding-bottom:100px!important;
  }
}

/* Koyu mod */
@media(max-width:700px){
  html[data-theme="dark"] .pro-mobile-nav{
    background:rgba(9,27,21,.97)!important;
    border-color:#29483e!important;
    box-shadow:0 10px 34px rgba(0,0,0,.35)!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button{
    color:#aebdb6!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button small{
    color:#8fa098!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button.active{
    background:#123126!important;
    color:#8ce0b5!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button.active .mobile-nav-icon{
    background:#173d30!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button.active small{
    color:#9be6be!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button.active::before{
    background:#6ed6a1!important;
  }
}


/* =========================================================
   v2.8.7 — Mobil alt menü: profesyonel ikonlar + güçlü aktif durum
   ========================================================= */
@media(max-width:700px){

  .pro-mobile-nav button{
    color:#64716b!important;
    overflow:visible!important;
  }

  .pro-mobile-nav .mobile-nav-icon{
    position:relative!important;
    width:30px!important;
    height:30px!important;
    border-radius:10px!important;
    background:#f3f6f5!important;
    border:1px solid #e3e9e6!important;
    color:#5f6f68!important;
  }

  .pro-mobile-nav .mobile-nav-icon svg{
    width:19px!important;
    height:19px!important;
    stroke-width:1.9!important;
  }

  /* Her sekmenin kendi ikon karakteri */
  .pro-mobile-nav [data-nav-kind="summary"] .mobile-nav-icon{
    color:#176b4b!important;
  }
  .pro-mobile-nav [data-nav-kind="transactions"] .mobile-nav-icon{
    color:#2d6d9d!important;
  }
  .pro-mobile-nav [data-nav-kind="investments"] .mobile-nav-icon{
    color:#9a7422!important;
  }
  .pro-mobile-nav [data-nav-kind="debts"] .mobile-nav-icon{
    color:#a44949!important;
  }
  .pro-mobile-nav [data-nav-kind="salary"] .mobile-nav-icon{
    color:#7652a8!important;
  }
  .pro-mobile-nav [data-nav-kind="settings"] .mobile-nav-icon{
    color:#5d6a72!important;
  }

  /* Aktif sekme: net biçimde hangi sayfada olduğunu göster */
  .pro-mobile-nav button.active{
    background:#eef8f3!important;
    color:#087a4b!important;
    box-shadow:inset 0 0 0 1px #cfe7da!important;
    transform:translateY(-2px)!important;
  }

  .pro-mobile-nav button.active .mobile-nav-icon{
    background:#0b7f50!important;
    border-color:#0b7f50!important;
    color:#ffffff!important;
    box-shadow:0 5px 12px rgba(11,127,80,.22)!important;
    transform:none!important;
  }

  .pro-mobile-nav button.active small{
    color:#087a4b!important;
    font-weight:850!important;
  }

  .pro-mobile-nav button.active::before{
    top:-6px!important;
    width:26px!important;
    height:3px!important;
    background:#0b7f50!important;
    box-shadow:0 2px 6px rgba(11,127,80,.28)!important;
  }

  /* Küçük aktif nokta: ikon içinde de durum belli olsun */
  .pro-mobile-nav button.active .mobile-nav-icon::after{
    content:"";
    position:absolute;
    right:-2px;
    top:-2px;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#65d39d;
    border:2px solid #ffffff;
  }

  /* Geçiş hissi */
  .pro-mobile-nav button,
  .pro-mobile-nav .mobile-nav-icon,
  .pro-mobile-nav button small{
    transition:all .16s ease!important;
  }
}

/* Koyu mod */
@media(max-width:700px){
  html[data-theme="dark"] .pro-mobile-nav .mobile-nav-icon{
    background:#10241e!important;
    border-color:#29483e!important;
    color:#aab9b2!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button.active{
    background:#123126!important;
    box-shadow:inset 0 0 0 1px #315247!important;
    color:#9be6be!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button.active .mobile-nav-icon{
    background:#1b8f5f!important;
    border-color:#1b8f5f!important;
    color:#ffffff!important;
    box-shadow:0 5px 14px rgba(27,143,95,.28)!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button.active small{
    color:#a9edc8!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button.active::before{
    background:#6ed6a1!important;
  }

  html[data-theme="dark"] .pro-mobile-nav button.active .mobile-nav-icon::after{
    background:#8ce0b5!important;
    border-color:#0b211a!important;
  }
}


/* =========================================================
   v2.8.8 — MOBİL ALT MENÜ GERÇEK YENİ TASARIM
   Yeni class + yüksek specificity: eski mobil CSS bunu ezemez.
   ========================================================= */
@media screen and (max-width:700px){

  body .v288-mobile-nav{
    display:grid!important;
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:max(8px, env(safe-area-inset-bottom))!important;
    width:auto!important;
    height:74px!important;
    min-height:74px!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    align-items:center!important;
    gap:3px!important;
    padding:6px 5px!important;
    margin:0!important;
    border:1px solid #dbe5e0!important;
    border-radius:20px!important;
    background:#ffffff!important;
    box-shadow:0 12px 35px rgba(20,40,32,.18)!important;
    transform:none!important;
    z-index:9999!important;
    overflow:visible!important;
  }

  body .v288-mobile-nav > button{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    height:62px!important;
    min-height:62px!important;
    padding:5px 1px!important;
    margin:0!important;
    gap:3px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    color:#66736d!important;
    box-shadow:none!important;
    transform:none!important;
  }

  body .v288-mobile-nav > button .mobile-nav-icon{
    display:grid!important;
    place-items:center!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
    margin:0!important;
    border:1px solid #e0e7e3!important;
    border-radius:11px!important;
    background:#f3f6f5!important;
    color:#53635c!important;
    box-sizing:border-box!important;
  }

  body .v288-mobile-nav > button .mobile-nav-icon svg{
    display:block!important;
    width:19px!important;
    height:19px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }

  body .v288-mobile-nav > button small{
    display:block!important;
    max-width:100%!important;
    margin:0!important;
    color:#77837e!important;
    font-size:7.5px!important;
    font-weight:700!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* Her ikonun kendi profesyonel tonu */
  body .v288-mobile-nav > button[data-nav-kind="summary"] .mobile-nav-icon{color:#087a4b!important}
  body .v288-mobile-nav > button[data-nav-kind="transactions"] .mobile-nav-icon{color:#2d6d9d!important}
  body .v288-mobile-nav > button[data-nav-kind="investments"] .mobile-nav-icon{color:#a47b22!important}
  body .v288-mobile-nav > button[data-nav-kind="debts"] .mobile-nav-icon{color:#ad4e4e!important}
  body .v288-mobile-nav > button[data-nav-kind="salary"] .mobile-nav-icon{color:#7753a8!important}
  body .v288-mobile-nav > button[data-nav-kind="settings"] .mobile-nav-icon{color:#52636c!important}

  /* Aktif sayfa çok net */
  body .v288-mobile-nav > button.active,
  body .v288-mobile-nav > button[aria-current="page"]{
    background:#eaf7f0!important;
    box-shadow:inset 0 0 0 1px #c8e6d6!important;
    transform:translateY(-4px)!important;
  }

  body .v288-mobile-nav > button.active .mobile-nav-icon,
  body .v288-mobile-nav > button[aria-current="page"] .mobile-nav-icon{
    background:#087a4b!important;
    border-color:#087a4b!important;
    color:#ffffff!important;
    box-shadow:0 5px 14px rgba(8,122,75,.28)!important;
  }

  body .v288-mobile-nav > button.active small,
  body .v288-mobile-nav > button[aria-current="page"] small{
    color:#087a4b!important;
    font-weight:900!important;
  }

  body .v288-mobile-nav > button.active::after,
  body .v288-mobile-nav > button[aria-current="page"]::after{
    content:""!important;
    position:absolute!important;
    bottom:3px!important;
    left:50%!important;
    width:18px!important;
    height:3px!important;
    border-radius:999px!important;
    background:#087a4b!important;
    transform:translateX(-50%)!important;
  }

  body .v288-mobile-nav > button:active{
    transform:scale(.95)!important;
  }

  body .main{
    padding-bottom:105px!important;
  }
}

/* Koyu mod */
@media screen and (max-width:700px){
  html[data-theme="dark"] body .v288-mobile-nav{
    background:#0b211a!important;
    border-color:#29483e!important;
    box-shadow:0 12px 36px rgba(0,0,0,.40)!important;
  }

  html[data-theme="dark"] body .v288-mobile-nav > button .mobile-nav-icon{
    background:#102a21!important;
    border-color:#29483e!important;
  }

  html[data-theme="dark"] body .v288-mobile-nav > button small{
    color:#9caca4!important;
  }

  html[data-theme="dark"] body .v288-mobile-nav > button.active,
  html[data-theme="dark"] body .v288-mobile-nav > button[aria-current="page"]{
    background:#123126!important;
    box-shadow:inset 0 0 0 1px #315247!important;
  }

  html[data-theme="dark"] body .v288-mobile-nav > button.active .mobile-nav-icon,
  html[data-theme="dark"] body .v288-mobile-nav > button[aria-current="page"] .mobile-nav-icon{
    background:#1a9662!important;
    border-color:#1a9662!important;
    color:#fff!important;
  }

  html[data-theme="dark"] body .v288-mobile-nav > button.active small,
  html[data-theme="dark"] body .v288-mobile-nav > button[aria-current="page"] small{
    color:#9ce8c0!important;
  }

  html[data-theme="dark"] body .v288-mobile-nav > button.active::after,
  html[data-theme="dark"] body .v288-mobile-nav > button[aria-current="page"]::after{
    background:#74d9a6!important;
  }
}
