:root{--bg:#f5f7fb;--panel:#fff;--text:#182033;--muted:#6b7280;--line:#e6eaf2;--primary:#2457ff;--primary-dark:#1740c8;--success:#0f9f6e;--danger:#dc2626;--warning:#f59e0b;--radius:18px;--shadow:0 18px 50px rgba(15,23,42,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px}a{color:inherit;text-decoration:none}.app-shell{display:flex;min-height:100vh}.sidebar{width:280px;background:#10172a;color:#eef4ff;padding:22px;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:flex;gap:12px;align-items:center;margin-bottom:24px}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,#2f6bff,#11c7a5);color:white;font-weight:900;box-shadow:0 12px 30px rgba(36,87,255,.25)}.brand strong{display:block;font-size:16px}.brand small{display:block;color:#aeb9d0;margin-top:3px}.nav-link{display:flex;align-items:center;gap:11px;color:#cbd5e1;padding:12px 14px;border-radius:14px;margin:5px 0;transition:.2s}.nav-link:hover,.nav-link.active{background:rgba(255,255,255,.12);color:#fff}.main{flex:1;min-width:0}.topbar{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:22px 28px;background:rgba(245,247,251,.88);backdrop-filter:blur(12px);position:sticky;top:0;z-index:5;border-bottom:1px solid var(--line)}.topbar h1{margin:0;font-size:25px}.topbar p{margin:4px 0 0;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:10px}.user-pill{padding:10px 13px;background:#fff;border:1px solid var(--line);border-radius:999px;color:#334155}.content{padding:26px;max-width:1500px;margin:0 auto}.footer{color:var(--muted);font-size:13px;padding:18px 28px;text-align:center}.menu-toggle{display:none;border:0;background:#fff;border-radius:12px;padding:10px 13px;box-shadow:var(--shadow);font-size:18px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;margin-bottom:22px}.panel h2{margin:0 0 16px;font-size:19px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.panel-head h2{margin:0}.panel-head p{margin:5px 0 0;color:var(--muted)}.cards{margin-bottom:22px}.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.grid-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:18px;display:flex;flex-direction:column;gap:8px;min-height:122px}.stat-card span{font-size:28px}.stat-card small{color:var(--muted)}.stat-card strong{font-size:24px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-compact{grid-template-columns:repeat(4,minmax(0,1fr))}.form-stack{display:grid;gap:14px}.span-2{grid-column:span 2}.form-compact .span-2{grid-column:span 2}label{display:grid;gap:7px;color:#334155;font-weight:650}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:13px;background:#fff;padding:12px 13px;font:inherit;outline:none;color:var(--text)}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(36,87,255,.12)}textarea{resize:vertical}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:13px;padding:11px 15px;background:#edf2ff;color:#1e3a8a;font-weight:750;cursor:pointer;white-space:nowrap}.btn:hover{filter:brightness(.98)}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-light{background:#fff;border:1px solid var(--line);color:#334155}.btn-small{padding:8px 10px;border-radius:10px;font-size:13px}.btn-full{width:100%}.btn-whatsapp{background:#e8fff5;color:#057a55;border:1px solid #bbf7d0}.table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:15px}table{width:100%;border-collapse:collapse;background:#fff;min-width:760px}th,td{padding:13px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}th{background:#f8fafc;color:#475569;font-size:13px}tr:last-child td{border-bottom:0}.right{text-align:right}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;background:#eef2ff;color:#4338ca}.badge.debit{background:#fff1f2;color:#be123c}.badge.credit,.badge.income{background:#ecfdf5;color:#047857}.badge.expense{background:#fff7ed;color:#c2410c}.badge.neutral{background:#f1f5f9;color:#475569}.danger-text{color:var(--danger)}.success-text{color:var(--success)}.muted{color:var(--muted)}.center{text-align:center}.empty{text-align:center;color:var(--muted);padding:24px}.alert{padding:13px 15px;border-radius:14px;margin-bottom:16px;border:1px solid}.alert-success{background:#ecfdf5;border-color:#bbf7d0;color:#047857}.alert-error{background:#fff1f2;border-color:#fecdd3;color:#be123c}.alert-info{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top left,#dce7ff,transparent 35%),linear-gradient(135deg,#f8fafc,#eef2ff)}.auth-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:26px}.auth-brand{margin-bottom:20px}.inline-form{display:flex;gap:10px;align-items:center}.info-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}.info-list li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px}.info-list li:last-child{border-bottom:0}.info-list span{color:var(--muted)}
@media (max-width:1100px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2{grid-template-columns:1fr}.form-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{position:fixed;left:-300px;z-index:20;transition:.25s}.sidebar.open{left:0}.menu-toggle{display:inline-flex}.topbar{align-items:flex-start}.top-actions{margin-left:auto}.content{padding:18px}.app-shell:has(.sidebar.open)::after{content:"";position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:15}}
@media (max-width:680px){body{font-size:14px}.topbar{padding:16px;gap:10px}.topbar h1{font-size:20px}.topbar p{display:none}.top-actions{gap:7px}.user-pill{display:none}.content{padding:14px}.grid-4{grid-template-columns:1fr}.form-grid,.form-compact{grid-template-columns:1fr}.span-2,.form-compact .span-2{grid-column:span 1}.panel{padding:16px;border-radius:16px}.panel-head{align-items:flex-start;flex-direction:column}.stat-card{min-height:auto}.auth-card{padding:20px}.btn{padding:10px 12px}table{min-width:700px}}

/* v1.0.4 Mobile overflow + update compatibility fixes */
html,body{max-width:100%;overflow-x:hidden}img,svg,video,canvas{max-width:100%;height:auto}.app-shell,.main,.content,.panel,.auth-card,.topbar{min-width:0}.content{width:100%}.panel,.stat-card,.auth-card{overflow-wrap:anywhere}.topbar{flex-wrap:wrap}.topbar>div{min-width:0}.topbar h1{overflow-wrap:anywhere}.top-actions,.inline-form,.panel-head .inline-form{flex-wrap:wrap;min-width:0}.inline-form>*{min-width:0}.panel-head{min-width:0}.panel-head>div{min-width:0}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x;border-radius:15px}.table-wrap table{max-width:100%}th,td{overflow-wrap:anywhere;word-break:normal}.btn{max-width:100%;text-align:center}.btn-small{white-space:normal}.form-grid>*{min-width:0}.info-list strong{min-width:0;text-align:right;overflow-wrap:anywhere}.brand{min-width:0}.brand strong,.brand small{overflow-wrap:anywhere}
@media (max-width:900px){.panel-head{align-items:flex-start;flex-direction:column}.panel-head>.inline-form,.panel-head>a.btn{width:100%}.panel-head .btn,.panel-head .inline-form .btn{flex:1 1 auto}.inline-form{width:100%}.inline-form input,.inline-form select,.inline-form .btn{flex:1 1 180px}.topbar{position:sticky}.top-actions{width:auto}}
@media (max-width:720px){.sidebar{width:min(86vw,300px);left:-92vw;padding:18px}.sidebar.open{left:0}.nav-link{padding:11px 12px}.brand-mark{width:42px;height:42px;border-radius:14px}.topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.topbar .menu-toggle{grid-column:1}.topbar>div:not(.top-actions){grid-column:2;min-width:0}.top-actions{grid-column:3;justify-content:flex-end}.top-actions .btn{padding:9px 10px;border-radius:11px;font-size:13px}.content{padding:12px}.footer{padding:14px 12px;font-size:12px}.panel{padding:14px;margin-bottom:16px}.panel h2{font-size:17px}.stat-card{padding:14px;border-radius:16px}.stat-card span{font-size:24px}.stat-card strong{font-size:20px}.form-grid,.form-compact{gap:12px}input,select,textarea{padding:11px 12px;border-radius:12px}.auth-shell{padding:14px}.auth-card{padding:18px;border-radius:20px}.info-list li{display:grid;grid-template-columns:1fr;gap:5px}.info-list strong{text-align:left}.table-wrap{border:0;background:transparent;overflow:visible}.table-wrap table{min-width:0;width:100%;border-collapse:separate;border-spacing:0;background:transparent}.table-wrap thead{display:none}.table-wrap tbody{display:grid;gap:12px}.table-wrap tr{display:block;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 28px rgba(15,23,42,.06);padding:8px}.table-wrap td{display:grid;grid-template-columns:minmax(96px,42%) minmax(0,1fr);gap:8px;align-items:center;padding:9px 8px;border-bottom:1px solid #eef2f7;text-align:right}.table-wrap td:last-child{border-bottom:0}.table-wrap td::before{content:attr(data-label);font-weight:800;color:#64748b;text-align:left;font-size:12px;line-height:1.3}.table-wrap td.right{text-align:right}.table-wrap td.empty{display:block;text-align:center;padding:18px}.table-wrap td.empty::before{display:none}.table-wrap td[colspan]{display:block;text-align:center}.table-wrap td[colspan]::before{display:none}.table-wrap td .btn{width:100%;white-space:normal}.badge{justify-self:end}.right .badge{justify-self:end}}
@media (max-width:460px){body{font-size:13.5px}.topbar{grid-template-columns:auto minmax(0,1fr);align-items:start}.top-actions{grid-column:1 / -1;width:100%;justify-content:stretch}.top-actions .btn{width:100%}.menu-toggle{padding:9px 11px}.topbar h1{font-size:18px}.panel{padding:12px;border-radius:14px}.table-wrap td{grid-template-columns:1fr;text-align:left}.table-wrap td::before{margin-bottom:2px}.table-wrap td.right{text-align:left}.badge{justify-self:start}.btn{width:100%;white-space:normal}.inline-form input,.inline-form select,.inline-form .btn{flex-basis:100%}}
@media (max-width:1100px){body.menu-open{overflow:hidden}.menu-open .app-shell::after{content:"";position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:15}}


/* v1.0.7 Site actions + mobile scroll hardening */
html{height:auto;min-height:100%;overflow-y:auto;-webkit-text-size-adjust:100%;overscroll-behavior-x:none}body{min-height:100%;overflow-y:auto;touch-action:pan-y}.app-shell{width:100%;overflow:visible}.main{overflow:visible}.content{overflow:visible}.action-group{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline-delete{display:inline-flex;margin:0}.form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn-danger{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.btn-danger:hover{background:#ffe4e6}.badge.neutral{background:#f1f5f9;color:#475569}.badge.credit{background:#ecfdf5;color:#047857}
@media (max-width:1100px){body.menu-open{overflow-y:auto}.menu-open .app-shell::after{pointer-events:auto}.sidebar{height:100dvh;max-height:100dvh;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.topbar{position:sticky}}
@media (max-width:720px){.table-wrap{touch-action:pan-y;overflow:visible}.table-wrap tr{max-width:100%}.table-wrap td{min-width:0}.table-wrap td>*{min-width:0;max-width:100%}.action-group{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.action-group .btn,.inline-delete,.inline-delete .btn{width:100%}.form-actions{display:grid;grid-template-columns:1fr;gap:8px}.grid-2{gap:14px}.panel-head p{font-size:13px}.content{padding-bottom:28px}}
@media (max-width:460px){.action-group{grid-template-columns:1fr}.table-wrap td{word-break:break-word}.panel{max-width:100%}}

/* v1.0.8 Operation stability + mobile hardening */
html,body{width:100%;max-width:100%;overflow-x:hidden;scroll-behavior:auto}.app-shell,.main,.content{max-width:100%;min-width:0}.panel,.stat-card,.auth-card,.update-card{max-width:100%;min-width:0}.form-grid label,.form-compact label,.inline-form label{min-width:0}.form-grid input,.form-grid select,.form-grid textarea,.form-compact input,.form-compact select,.form-compact textarea{max-width:100%;min-width:0}.alert{overflow-wrap:anywhere}.table-wrap{overscroll-behavior:contain}.table-wrap td,.table-wrap th{max-width:100%;overflow-wrap:anywhere}.btn,.btn-small{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1.25}.inline-delete button{cursor:pointer}.content form{max-width:100%}
@media (max-width:720px){body{touch-action:pan-y}.topbar{position:sticky;top:0;z-index:12}.content{overflow:visible}.panel{overflow:visible}.table-wrap{overflow:visible!important;-webkit-overflow-scrolling:auto}.table-wrap tbody{width:100%}.table-wrap tr{width:100%;box-sizing:border-box}.table-wrap td{box-sizing:border-box}.inline-form,.form-actions,.action-group{align-items:stretch}.inline-form .btn,.form-actions .btn,.action-group .btn{min-height:42px}.sidebar{overflow-y:auto}.app-shell:after{touch-action:none}}
@media (max-width:520px){.cards{gap:10px}.stat-card strong{font-size:18px}.panel-head .inline-form{display:grid;grid-template-columns:1fr}.table-wrap td{padding:10px 8px}.btn{min-height:42px}}

/* v1.0.9 Complete mobile header + backup/restore/update refinements */
.logout-btn{gap:7px}.logout-icon{font-size:17px;line-height:1}.logout-text{display:inline}.backup-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:15px}.backup-actions .btn{min-height:42px}.backup-upload input[type=file]{padding:10px;background:#fff}.check-row{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:10px;font-weight:650;color:#334155}.check-row input{width:auto;min-width:18px;margin-top:3px}.check-row span{line-height:1.45}.top-actions{flex-shrink:0}.logout-btn[aria-label]{white-space:nowrap}
@media (max-width:720px){.logout-btn{width:42px!important;height:42px!important;min-height:42px;padding:0!important;border-radius:13px!important;flex:0 0 42px}.logout-text{display:none}.logout-icon{font-size:20px}.top-actions{width:auto!important;grid-column:3!important;justify-content:flex-end!important}.backup-actions{display:grid;grid-template-columns:1fr}.backup-actions .btn{width:100%;white-space:normal}.backup-upload .btn{width:100%}.check-row{align-items:flex-start}.check-row input{flex:0 0 auto}.panel .info-list li strong{font-size:13px}}
@media (max-width:460px){.topbar{grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important}.top-actions{grid-column:3!important;width:auto!important}.logout-btn{width:40px!important;height:40px!important;min-height:40px!important}.topbar>div:not(.top-actions){grid-column:2!important}.menu-toggle{grid-column:1!important}.backup-actions{gap:8px}.check-row{font-size:13px}}

/* v1.0.10 Monthly accounting report feedback */
.report-filter-form{align-items:end}
.report-result-card{border-style:solid;background:linear-gradient(180deg,#fff,#f8fafc)}
.report-result-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.report-result-head h2{margin:0 0 4px}
.report-empty{margin-top:12px;text-align:left}
.badge.info{background:#e0f2fe;color:#075985;border:1px solid #bae6fd}
@media (max-width:760px){.report-filter-form{display:grid;grid-template-columns:1fr;gap:12px}.report-filter-form .btn{width:100%;justify-content:center}.report-result-head{align-items:flex-start}.report-result-head .badge{width:100%;justify-content:center}}

/* v1.0.11 WhatsApp settings and template management */
.whatsapp-help{margin-top:15px;border:1px solid #bbf7d0;background:#f0fdf4;color:#14532d;border-radius:15px;padding:13px 15px;line-height:1.55}
.whatsapp-help p{margin:6px 0 0;color:#166534}.form-stack+.inline-delete{margin-top:12px}.form-stack textarea[name="message"]{font-family:inherit;line-height:1.5}.panel small.muted{font-weight:500;display:inline;color:var(--muted)}
@media (max-width:720px){.whatsapp-help{font-size:13px}.form-stack+.inline-delete,.form-stack+.inline-delete .btn{width:100%}.panel textarea[name="message"]{min-height:150px}}

/* v1.0.12 WhatsApp mesaj gönderme merkezi */
.whatsapp-center{border-color:#bbf7d0;background:linear-gradient(180deg,#fff,#f7fffb)}
.whatsapp-send-form textarea{min-height:110px}.bulk-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 14px}.message-preview{margin-top:8px;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:10px;white-space:normal;line-height:1.5;color:#334155}.table-wrap details summary{cursor:pointer;font-weight:800;color:#2457ff}.wa-link{white-space:normal}.badge.expense{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.badge.success,.badge.income{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0}
@media(max-width:720px){.whatsapp-send-form{grid-template-columns:1fr}.bulk-actions{display:grid;grid-template-columns:1fr}.bulk-actions .btn{width:100%}.message-preview{font-size:13px}.table-wrap details{width:100%}.table-wrap details summary{padding:8px 0}}

/* v1.0.13 Professional separated Sites module */
.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:18px 20px;margin-bottom:22px}
.page-toolbar h2{margin:0 0 6px;font-size:22px}.page-toolbar p{margin:0;color:var(--muted);line-height:1.45}.toolbar-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end}.site-toolbar{background:linear-gradient(180deg,#fff,#f8fbff)}.site-filter{margin:0 0 18px;padding:14px;background:#f8fafc;border:1px solid var(--line);border-radius:16px}.site-filter label{flex:1 1 240px}.site-filter label:first-of-type{flex:2 1 360px}.site-list-panel{overflow:visible}.site-list{display:grid;gap:14px}.site-card{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.9fr) auto;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 12px 34px rgba(15,23,42,.06)}.site-card-main{display:flex;gap:14px;align-items:flex-start;min-width:0}.site-avatar{display:grid;place-items:center;width:52px;height:52px;flex:0 0 52px;border-radius:18px;background:linear-gradient(135deg,#2457ff,#11c7a5);color:#fff;font-weight:900;font-size:22px;box-shadow:0 12px 26px rgba(36,87,255,.18)}.site-info{min-width:0}.site-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:5px}.site-title-row h3{margin:0;font-size:18px;overflow-wrap:anywhere}.site-info p{margin:0 0 11px}.site-meta{display:flex;gap:8px;flex-wrap:wrap}.site-meta span{display:inline-flex;gap:4px;align-items:center;background:#f8fafc;border:1px solid #eef2f7;color:#64748b;border-radius:999px;padding:6px 10px;font-size:12.5px}.site-meta strong{color:#334155}.site-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;min-width:0}.site-metrics>div{background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:10px;min-width:0;text-align:center}.site-metrics small{display:block;color:#64748b;font-size:11px;margin-bottom:4px}.site-metrics strong{display:block;font-size:15px;overflow-wrap:anywhere}.site-metrics.compact{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.site-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center;min-width:140px}.site-actions .inline-delete{display:inline-flex}.empty-state{text-align:center;border:1px dashed #cbd5e1;border-radius:18px;background:#f8fafc;padding:28px;color:#64748b}.empty-state strong{display:block;color:#334155;font-size:18px;margin-bottom:6px}.empty-state p{margin:0 0 14px}.site-form-layout{align-items:start}.site-form textarea{min-height:110px}.helper-panel{background:linear-gradient(180deg,#fff,#f8fafc)}.site-edit-summary{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.site-edit-summary h3{margin:0 0 10px;font-size:16px}
@media (max-width:1200px){.site-card{grid-template-columns:1fr}.site-actions{justify-content:flex-start}.site-metrics{grid-template-columns:repeat(5,minmax(90px,1fr))}}
@media (max-width:760px){.page-toolbar{display:grid;grid-template-columns:1fr;padding:15px;border-radius:18px}.page-toolbar h2{font-size:19px}.toolbar-actions{display:grid;grid-template-columns:1fr;width:100%}.toolbar-actions .btn{width:100%}.site-filter{display:grid;grid-template-columns:1fr;gap:10px}.site-card{padding:14px;border-radius:17px}.site-card-main{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px}.site-avatar{width:46px;height:46px;flex-basis:46px;border-radius:15px;font-size:20px}.site-title-row{align-items:flex-start}.site-meta{display:grid;grid-template-columns:1fr;gap:7px}.site-meta span{border-radius:12px;justify-content:space-between;white-space:normal}.site-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.site-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}.site-actions .btn,.site-actions .inline-delete,.site-actions .inline-delete button{width:100%}.site-form-layout{grid-template-columns:1fr}.helper-panel .info-list li{grid-template-columns:1fr}.helper-panel .info-list strong{text-align:left}}
@media (max-width:460px){.site-card-main{grid-template-columns:1fr}.site-avatar{width:44px;height:44px}.site-metrics{grid-template-columns:1fr 1fr}.site-actions{grid-template-columns:1fr}.site-title-row .badge{justify-self:start}.site-meta span{display:grid;grid-template-columns:1fr}.page-toolbar,.site-card{max-width:100%;overflow:hidden}}

/* v1.0.14 Siteler özeti: 6 kart, masaüstünde 3'lü düzen */
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.site-summary-cards{align-items:stretch;margin-bottom:22px}.site-summary-card{position:relative;overflow:hidden;min-height:136px;padding:18px 20px;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid var(--line);box-shadow:0 14px 38px rgba(15,23,42,.07)}.site-summary-card:after{content:"";position:absolute;right:-32px;top:-32px;width:96px;height:96px;border-radius:999px;background:rgba(36,87,255,.07);pointer-events:none}.site-summary-card span{width:42px;height:42px;display:grid;place-items:center;border-radius:16px;background:#eef4ff;font-size:23px}.site-summary-card small{font-weight:800;letter-spacing:.01em;color:#64748b}.site-summary-card strong{font-size:25px;line-height:1.1;color:#0f172a;overflow-wrap:anywhere}.site-summary-card em{font-style:normal;color:#64748b;font-size:12.5px;line-height:1.35;margin-top:auto}.site-list-panel{margin-top:4px}.site-card{width:100%}.site-card-main,.site-info,.site-metrics,.site-actions{min-width:0}
@media (max-width:1100px){.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){.grid-3{grid-template-columns:1fr}.site-summary-card{min-height:auto;padding:15px 16px;border-radius:18px}.site-summary-card strong{font-size:21px}.site-summary-card span{width:38px;height:38px;border-radius:14px;font-size:21px}}

/* v1.0.15 Genel modül standartlaştırma: kart sayısı ihtiyaca göre esnek */
.grid-auto{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;align-items:stretch}.module-summary{margin-bottom:22px}.module-summary-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:22px;min-height:126px}.module-summary-card:after{content:"";position:absolute;right:-34px;top:-34px;width:92px;height:92px;border-radius:999px;background:rgba(36,87,255,.065)}.module-summary-card span{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;background:#eef4ff;font-size:22px}.module-summary-card small{font-weight:800;color:#64748b}.module-summary-card strong{font-size:24px;overflow-wrap:anywhere}.module-card-list{display:grid;gap:14px}.module-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 12px 34px rgba(15,23,42,.055);min-width:0}.module-card-main{display:flex;gap:14px;align-items:flex-start;min-width:0}.module-card h3{margin:0 0 5px;font-size:18px;overflow-wrap:anywhere}.module-card p{margin:0 0 10px}.module-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center;min-width:150px}.module-actions .inline-delete{display:inline-flex}.module-actions .btn{min-height:36px}.btn-danger{background:#fff1f2!important;color:#be123c!important;border:1px solid #fecdd3!important}.btn-danger:hover{background:#ffe4e6!important}.form-actions .btn{min-width:130px}
@media(max-width:980px){.module-card{grid-template-columns:1fr}.module-actions{justify-content:flex-start}.grid-auto{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.grid-auto{grid-template-columns:1fr}.module-card{padding:14px;border-radius:17px}.module-card-main{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px}.module-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;min-width:0}.module-actions .btn,.module-actions .inline-delete,.module-actions .inline-delete button{width:100%}.module-summary-card{min-height:auto;padding:15px 16px}.form-actions{display:grid;grid-template-columns:1fr}.form-actions .btn{width:100%}}
@media(max-width:460px){.module-card-main{grid-template-columns:1fr}.module-actions{grid-template-columns:1fr}.module-card,.module-summary-card{max-width:100%;overflow:hidden}.site-meta span{min-width:0}}

/* v1.0.16 Aidat / Ödeme / Muhasebe / Duyuru gelişmiş flat düzen */
.transaction-card .site-avatar{background:linear-gradient(135deg,#2457ff,#11c7a5)}
.transaction-card h3{font-size:18px}.report-result{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding:12px 14px;border:1px solid #dbeafe;background:#eff6ff;color:#1e40af;border-radius:15px;font-weight:700}.site-filter .btn{align-self:end}.module-card .badge{align-self:flex-start}.toolbar-actions .btn{min-height:40px}.module-card-list .empty-state{margin-top:4px}.transaction-card .site-meta span{max-width:100%;min-width:0}.transaction-card .site-meta strong{overflow-wrap:anywhere}.form-actions{gap:10px;align-items:center;display:flex;flex-wrap:wrap}.helper-panel .info-list strong{font-weight:800}
@media(max-width:760px){.site-filter .btn{align-self:stretch}.report-result{display:grid;grid-template-columns:1fr;font-size:13px}.transaction-card .site-meta{grid-template-columns:1fr}.transaction-card .site-meta span{display:grid;grid-template-columns:1fr;gap:3px}.module-card .site-avatar{width:44px;height:44px;border-radius:15px}.toolbar-actions{grid-template-columns:1fr}.toolbar-actions .btn{width:100%}}

/* v1.0.17 Genel Bakış gelişmiş flat kontrol paneli */
.dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;background:linear-gradient(135deg,#ffffff,#f3f7ff);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:22px;margin-bottom:22px;overflow:hidden;position:relative}.dashboard-hero:after{content:"";position:absolute;right:-80px;top:-80px;width:190px;height:190px;border-radius:999px;background:rgba(36,87,255,.07);pointer-events:none}.dashboard-hero-text{position:relative;z-index:1}.dashboard-hero h2{margin:6px 0 8px;font-size:28px;line-height:1.16}.dashboard-hero p{margin:0;color:var(--muted);line-height:1.55;max-width:780px}.eyebrow{display:inline-flex;align-items:center;gap:6px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.dashboard-month-filter{position:relative;z-index:1;display:flex;gap:10px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.dashboard-month-filter label{min-width:180px}.dashboard-summary{margin-bottom:22px}.dashboard-stat{min-height:138px}.dashboard-stat em{font-style:normal;color:#64748b;font-size:12.5px;line-height:1.35;margin-top:auto}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:22px;align-items:start}.dashboard-main,.dashboard-side{min-width:0}.quick-panel{background:linear-gradient(180deg,#fff,#f8fbff)}.quick-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.quick-action{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;min-width:0;box-shadow:0 10px 26px rgba(15,23,42,.045);transition:.18s}.quick-action:hover{transform:translateY(-1px);border-color:#c7d2fe;box-shadow:0 16px 34px rgba(15,23,42,.07)}.quick-action span{display:grid;place-items:center;width:36px;height:36px;border-radius:13px;background:#eef4ff;flex:0 0 36px}.quick-action strong{font-size:13.5px;line-height:1.25;overflow-wrap:anywhere}.finance-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.finance-strip>div{background:#f8fafc;border:1px solid #eef2f7;border-radius:16px;padding:14px;min-width:0}.finance-strip small{display:block;color:#64748b;font-weight:800;margin-bottom:6px}.finance-strip strong{display:block;font-size:20px;overflow-wrap:anywhere}.progress-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.progress-head span{color:#475569;font-weight:800}.progress-track{height:12px;background:#eef2ff;border-radius:999px;overflow:hidden;border:1px solid #dbeafe}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,#2457ff,#11c7a5);border-radius:999px;min-width:0}.progress-card p{margin:10px 0 0;font-size:13px}.dashboard-site-list{display:grid;gap:12px}.dashboard-site-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px;box-shadow:0 10px 28px rgba(15,23,42,.05)}.dashboard-site-row .module-actions{min-width:160px}.dashboard-side .panel{padding:18px}.danger-panel{border-color:#fee2e2;background:linear-gradient(180deg,#fff,#fff8f8)}.mini-list{display:grid;gap:10px}.mini-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px;min-width:0}.mini-item strong{display:block;overflow-wrap:anywhere}.mini-item small{display:block;color:#64748b;margin-top:3px}.mini-item p{margin:7px 0 0;color:#64748b;font-size:13px;line-height:1.4}.mini-amount{display:grid;gap:7px;justify-items:end;text-align:right}.empty-state.compact{padding:18px}.stack-actions{display:grid;gap:9px}.stack-actions .btn{width:100%;justify-content:flex-start}
@media(max-width:1280px){.dashboard-layout{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.dashboard-side .panel{margin-bottom:0}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.dashboard-hero{grid-template-columns:1fr}.dashboard-month-filter{align-items:stretch}.finance-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-side{grid-template-columns:1fr}.dashboard-site-row{grid-template-columns:1fr}.dashboard-site-row .module-actions{justify-content:flex-start;min-width:0}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.dashboard-hero{padding:16px;border-radius:19px}.dashboard-hero h2{font-size:22px}.dashboard-month-filter{display:grid;grid-template-columns:1fr}.dashboard-month-filter label{min-width:0}.dashboard-month-filter .btn{width:100%}.quick-actions{grid-template-columns:1fr}.quick-action{padding:11px}.finance-strip{grid-template-columns:1fr}.mini-item{grid-template-columns:1fr}.mini-amount{justify-items:start;text-align:left}.dashboard-side .panel,.dashboard-main .panel{border-radius:17px}.dashboard-site-row{padding:12px}.progress-head{align-items:flex-start}.toolbar-actions{width:100%}.toolbar-actions .btn{width:100%}}

/* v1.0.18 Genel Bakış 10 kart düzeni */
@media (min-width:1250px){.dashboard-summary{grid-template-columns:repeat(5,minmax(0,1fr));}}
@media (min-width:981px) and (max-width:1249px){.dashboard-summary{grid-template-columns:repeat(3,minmax(0,1fr));}}
.dashboard-summary .dashboard-stat{height:100%;}

/* v1.0.19 güvenlik, erişilebilirlik ve mobil kullanım iyileştirmeleri */
.skip-link{position:fixed;left:12px;top:12px;z-index:1000;transform:translateY(-160%);background:#0f172a;color:#fff;padding:10px 14px;border-radius:10px;font-weight:800;transition:transform .18s}.skip-link:focus{transform:translateY(0)}
:focus-visible{outline:3px solid rgba(36,87,255,.45);outline-offset:3px}.btn:disabled{opacity:.65;cursor:wait;filter:none}.logout-form{margin:0;display:inline-flex}.logout-form input[type=hidden]{display:none}
body.menu-open{overflow:hidden;touch-action:none}.sidebar{overscroll-behavior:contain}.content{scroll-margin-top:90px}.auth-shell,.app-shell{min-height:100dvh}
@supports(padding:max(0px)){.topbar{padding-top:max(16px,env(safe-area-inset-top));padding-right:max(16px,env(safe-area-inset-right))}.sidebar{padding-left:max(18px,env(safe-area-inset-left));padding-bottom:max(18px,env(safe-area-inset-bottom))}.content{padding-bottom:max(14px,env(safe-area-inset-bottom))}}
@media(max-width:720px){.logout-form{display:flex}.logout-btn{min-width:42px;min-height:42px}.menu-toggle{min-width:42px;min-height:42px}.table-wrap td .btn{width:100%;white-space:normal}.table-wrap td details{max-width:100%}.message-preview{max-width:100%;overflow-wrap:anywhere}.panel input[type=date],.panel input[type=month],.panel select{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* v1.0.20 koyu/açık tema */
.theme-toggle{position:relative;min-width:44px;min-height:42px;padding:9px 11px}.theme-icon{font-size:19px;line-height:1}.theme-icon-moon{display:none}.theme-text{font-size:13px}.theme-toggle[aria-pressed="true"] .theme-icon-sun{display:none}.theme-toggle[aria-pressed="true"] .theme-icon-moon{display:inline}
html[data-theme="dark"]{--bg:#0b1120;--panel:#111827;--text:#e5edf9;--muted:#9aa9bf;--line:#263449;--primary:#5b7cff;--primary-dark:#7390ff;--success:#34d399;--danger:#fb7185;--warning:#fbbf24;--shadow:0 18px 50px rgba(0,0,0,.28)}
html[data-theme="dark"] body{background:var(--bg);color:var(--text)}
html[data-theme="dark"] .sidebar{background:#080d19;color:#eef4ff;border-right:1px solid #1e293b}
html[data-theme="dark"] .topbar{background:rgba(11,17,32,.9);border-color:var(--line)}
html[data-theme="dark"] .panel,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .module-card,
html[data-theme="dark"] .dashboard-site-row,
html[data-theme="dark"] .mini-item,
html[data-theme="dark"] .quick-action,
html[data-theme="dark"] .progress-card,
html[data-theme="dark"] .dashboard-month-filter,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] table,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .user-pill,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .btn-light{background:#111827;color:var(--text);border-color:var(--line)}
html[data-theme="dark"] .dashboard-hero{background:linear-gradient(135deg,#111827,#151f32)}
html[data-theme="dark"] .quick-panel,
html[data-theme="dark"] .module-summary-card{background:linear-gradient(180deg,#111827,#101827)}
html[data-theme="dark"] .danger-panel{background:linear-gradient(180deg,#111827,#1d1219);border-color:#4b2430}
html[data-theme="dark"] .auth-shell{background:radial-gradient(circle at top left,#172554,transparent 38%),linear-gradient(135deg,#070b14,#111827)}
html[data-theme="dark"] th{background:#172033;color:#b8c5d8}
html[data-theme="dark"] td{border-color:var(--line)}
html[data-theme="dark"] label{color:#cbd5e1}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{color:#718096}
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(91,124,255,.18)}
html[data-theme="dark"] .finance-strip>div{background:#0e1726;border-color:#202d42}
html[data-theme="dark"] .progress-track{background:#202b3d;border-color:#30415b}
html[data-theme="dark"] .quick-action span,
html[data-theme="dark"] .module-summary-card span{background:#1b2b4a}
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .report-result{background:#172554;border-color:#29447c;color:#bfdbfe}
html[data-theme="dark"] .badge{background:#29324a;color:#c7d2fe}
html[data-theme="dark"] .badge.debit{background:#3b1721;color:#fda4af}
html[data-theme="dark"] .badge.credit,
html[data-theme="dark"] .badge.income{background:#0c342a;color:#6ee7b7}
html[data-theme="dark"] .badge.expense{background:#3b2714;color:#fdba74}
html[data-theme="dark"] .badge.neutral{background:#263244;color:#cbd5e1}
html[data-theme="dark"] .btn{background:#1e2b48;color:#c7d2fe}
html[data-theme="dark"] .btn-primary{background:var(--primary);color:#fff}
html[data-theme="dark"] .btn-whatsapp{background:#0b3329;color:#6ee7b7;border-color:#176b55}
html[data-theme="dark"] .btn-danger{background:#3b1721!important;color:#fda4af!important;border-color:#6b2436!important}
html[data-theme="dark"] .alert-success{background:#0c342a;border-color:#176b55;color:#6ee7b7}
html[data-theme="dark"] .alert-error{background:#3b1721;border-color:#6b2436;color:#fda4af}
html[data-theme="dark"] .alert-info{background:#172554;border-color:#29447c;color:#bfdbfe}
html[data-theme="dark"] .muted,
html[data-theme="dark"] .panel-head p,
html[data-theme="dark"] .dashboard-hero p,
html[data-theme="dark"] .mini-item small,
html[data-theme="dark"] .mini-item p,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .module-summary-card small,
html[data-theme="dark"] .dashboard-stat em{color:var(--muted)}
html[data-theme="dark"] .info-list li,
html[data-theme="dark"] .table-wrap td{border-color:#263449}
html[data-theme="dark"] .site-avatar{box-shadow:none}
@media(max-width:720px){.theme-text{display:none}.theme-toggle{padding:9px;min-width:42px}.top-actions{gap:6px}html[data-theme="dark"] .table-wrap tr{background:#111827;border-color:var(--line);box-shadow:0 10px 28px rgba(0,0,0,.22)}html[data-theme="dark"] .table-wrap td::before{color:#9fb0c6}}


/* v1.0.21 gelişmiş bildirim merkezi ve tema uyumluluğu */
.top-icon-btn{width:42px;height:42px;min-width:42px;min-height:42px;padding:0;border-radius:13px;display:inline-grid;place-items:center;flex:0 0 42px}
.theme-toggle{width:42px;height:42px;min-width:42px;min-height:42px;padding:0}
.theme-icon,.logout-icon,.bell-icon{display:grid;place-items:center;width:22px;height:22px;font-size:19px;line-height:1}
.notification-center{position:relative;display:inline-flex}
.notification-toggle{position:relative;overflow:visible}
.notification-badge{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#dc2626;color:#fff;border:2px solid var(--panel);font-size:10px;font-weight:900;line-height:1;box-shadow:0 4px 12px rgba(220,38,38,.35)}
.notification-badge[hidden]{display:none!important}
.notification-toggle.has-unread .bell-icon{animation:notificationBell 2.8s ease-in-out infinite;transform-origin:50% 10%}
.notification-toggle.notification-arrived{animation:notificationPulse .75s ease}
.notification-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(390px,calc(100vw - 28px));max-height:min(620px,calc(100vh - 100px));background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 65px rgba(15,23,42,.22);overflow:hidden;z-index:80}
.notification-panel[hidden]{display:none!important}
.notification-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid var(--line)}
.notification-head strong{display:block;font-size:16px}.notification-head small{display:block;color:var(--muted);margin-top:3px}
.notification-read-all{border:0;background:transparent;color:var(--primary);font:inherit;font-size:12px;font-weight:800;cursor:pointer;padding:7px;border-radius:9px;white-space:nowrap}.notification-read-all:hover{background:rgba(36,87,255,.08)}.notification-read-all:disabled{opacity:.45;cursor:default}
.notification-list{overflow:auto;max-height:520px;overscroll-behavior:contain}
.notification-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;padding:13px 15px;border-bottom:1px solid var(--line);background:rgba(36,87,255,.045);transition:.18s}.notification-item:hover{background:rgba(36,87,255,.09)}.notification-item:last-child{border-bottom:0}.notification-item.is-read{background:transparent;opacity:.72}.notification-item.is-read:hover{opacity:1}
.notification-type{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#eaf0ff;color:#2457ff;font-weight:900}.notification-type.type-success,.notification-type.type-payment{background:#e8fff5;color:#07835c}.notification-type.type-warning,.notification-type.type-dues{background:#fff7df;color:#b45309}.notification-type.type-danger{background:#fff0f2;color:#c81e45}.notification-type.type-announcement{background:#f3e8ff;color:#7e22ce}.notification-type.type-system{background:#edf2f7;color:#475569}
.notification-copy{min-width:0}.notification-copy strong,.notification-copy span,.notification-copy small{display:block}.notification-copy strong{font-size:13.5px;margin-bottom:4px}.notification-copy span{color:var(--muted);font-size:12.5px;line-height:1.42;overflow-wrap:anywhere}.notification-copy small{color:#94a3b8;font-size:11px;margin-top:6px}.notification-empty{padding:34px 18px;text-align:center;color:var(--muted)}
@keyframes notificationBell{0%,88%,100%{transform:rotate(0)}90%{transform:rotate(14deg)}93%{transform:rotate(-12deg)}96%{transform:rotate(8deg)}98%{transform:rotate(-5deg)}}
@keyframes notificationPulse{0%{box-shadow:0 0 0 0 rgba(36,87,255,.35)}100%{box-shadow:0 0 0 12px rgba(36,87,255,0)}}
html[data-theme="dark"] .notification-panel{background:#111827;border-color:#2a394f;box-shadow:0 24px 70px rgba(0,0,0,.55)}
html[data-theme="dark"] .notification-badge{border-color:#111827}
html[data-theme="dark"] .notification-item{background:rgba(91,124,255,.09);border-color:#263449}html[data-theme="dark"] .notification-item:hover{background:rgba(91,124,255,.16)}html[data-theme="dark"] .notification-item.is-read{background:transparent}
html[data-theme="dark"] .notification-type{background:#1b2b4a;color:#a9bbff}html[data-theme="dark"] .notification-type.type-success,html[data-theme="dark"] .notification-type.type-payment{background:#0c342a;color:#6ee7b7}html[data-theme="dark"] .notification-type.type-warning,html[data-theme="dark"] .notification-type.type-dues{background:#3b2b13;color:#fcd34d}html[data-theme="dark"] .notification-type.type-danger{background:#3b1721;color:#fda4af}html[data-theme="dark"] .notification-type.type-announcement{background:#30204a;color:#d8b4fe}html[data-theme="dark"] .notification-type.type-system{background:#263244;color:#cbd5e1}
html[data-theme="dark"] option{background:#111827;color:#e5edf9}html[data-theme="dark"] input[type=file]::file-selector-button{background:#1e2b48;color:#c7d2fe;border:0;border-radius:8px;padding:7px 10px}html[data-theme="dark"] hr{border-color:var(--line)}html[data-theme="dark"] code,html[data-theme="dark"] pre{background:#0b1220;color:#dbeafe}html[data-theme="dark"] details{border-color:var(--line)}
@media(max-width:720px){.user-pill{display:none}.top-actions{gap:6px}.top-icon-btn,.theme-toggle,.logout-btn{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;flex-basis:40px!important}.notification-panel{position:fixed;top:calc(env(safe-area-inset-top,0px) + 70px);right:12px;left:12px;width:auto;max-height:calc(100dvh - 92px)}.notification-list{max-height:calc(100dvh - 165px)}.notification-head{padding:13px}.notification-item{padding:12px 13px}}
@media(prefers-reduced-motion:reduce){.notification-toggle.has-unread .bell-icon,.notification-toggle.notification-arrived{animation:none!important}}

/* v1.0.22 gelişmiş ayarlar ve PWA */
.brand-logo{width:46px;height:46px;object-fit:contain;border-radius:13px;background:#fff;padding:3px;flex:0 0 46px}
.nav-group{margin-top:2px}.nav-group-toggle{width:100%;border:0;text-align:left;font:inherit;cursor:pointer}.nav-group-toggle b{margin-left:auto;transition:transform .2s}.nav-group.is-open .nav-group-toggle b{transform:rotate(180deg)}
.nav-submenu{display:none;padding:4px 0 5px 48px}.nav-group.is-open .nav-submenu{display:grid;gap:3px}.nav-sublink{padding:9px 11px;border-radius:10px;color:rgba(255,255,255,.72);font-size:13px;text-decoration:none}.nav-sublink:hover,.nav-sublink.active{background:rgba(255,255,255,.1);color:#fff}
.settings-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px;align-items:start}.settings-side{position:sticky;top:92px}.settings-side nav{display:grid;gap:7px;margin-top:18px}.settings-side nav a{display:flex;gap:9px;padding:11px 12px;border-radius:12px;text-decoration:none;color:var(--text);font-weight:700}.settings-side nav a:hover,.settings-side nav a.active{background:rgba(36,87,255,.1);color:var(--primary)}.settings-content{min-width:0}.upload-preview{display:flex;align-items:center;gap:18px;padding:14px;border:1px dashed var(--line);border-radius:14px}.upload-preview img{width:88px;height:88px;object-fit:contain;border-radius:14px;background:#fff;border:1px solid var(--line)}
.pwa-help{margin-top:18px;padding:15px;border-radius:14px;background:#eef4ff;border:1px solid #d6e2ff}.pwa-help p{margin:6px 0 0;color:var(--muted);line-height:1.5}
.pwa-install-bar{position:fixed;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:120;width:min(760px,calc(100vw - 24px));display:grid;grid-template-columns:46px minmax(0,1fr) auto 36px;gap:12px;align-items:center;padding:12px 13px;background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 22px 65px rgba(15,23,42,.22)}.pwa-install-bar[hidden]{display:none!important}.pwa-install-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#eaf0ff;color:var(--primary);font-size:24px;font-weight:900}.pwa-install-bar strong,.pwa-install-bar span{display:block}.pwa-install-bar span{font-size:12px;color:var(--muted);margin-top:3px}.pwa-close{border:0;background:transparent;color:var(--muted);font-size:25px;cursor:pointer;width:34px;height:34px;border-radius:10px}.pwa-close:hover{background:rgba(100,116,139,.12)}
html[data-theme="dark"] .settings-side nav a{color:var(--text)}html[data-theme="dark"] .settings-side nav a:hover,html[data-theme="dark"] .settings-side nav a.active{background:rgba(91,124,255,.15);color:#b9c6ff}html[data-theme="dark"] .pwa-help{background:#172554;border-color:#29447c}html[data-theme="dark"] .pwa-install-bar{background:#111827;border-color:#2a394f;box-shadow:0 22px 65px rgba(0,0,0,.5)}html[data-theme="dark"] .pwa-install-icon{background:#1b2b4a;color:#a9bbff}
@media(max-width:900px){.settings-layout{grid-template-columns:1fr}.settings-side{position:static}.settings-side nav{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-side nav a{justify-content:center;text-align:center}}
@media(max-width:640px){.settings-side nav{grid-template-columns:1fr}.pwa-install-bar{grid-template-columns:40px minmax(0,1fr) 34px}.pwa-install-bar .btn{grid-column:1/-1;width:100%}.pwa-install-icon{width:40px;height:40px}.upload-preview{align-items:flex-start;flex-direction:column}}

/* v1.0.23 eksiksiz koyu mod ve tema ikonu düzeltmeleri */
:root{
  --panel-soft:#f8fafc;
  --panel-elevated:#ffffff;
  --text-soft:#475569;
  --icon-color:#334155;
  --hover-bg:rgba(36,87,255,.08);
  --input-bg:#ffffff;
  --table-head:#f8fafc;
  --overlay:rgba(15,23,42,.48);
}
html[data-theme="dark"]{
  --panel-soft:#151f30;
  --panel-elevated:#111827;
  --text-soft:#b5c2d6;
  --icon-color:#d8e2f1;
  --hover-bg:rgba(91,124,255,.15);
  --input-bg:#0f1726;
  --table-head:#172033;
  --overlay:rgba(0,0,0,.68);
  color-scheme:dark;
}
html[data-theme="light"]{color-scheme:light}

/* Tema düğmesinde iki ikonun üst üste görünmesini kesin olarak engelle. */
.theme-toggle{display:inline-grid!important;grid-template:1fr/1fr;place-items:center;overflow:hidden;color:var(--icon-color)}
.theme-toggle .theme-icon{grid-area:1/1!important;display:grid!important;place-items:center;width:22px;height:22px;margin:0;opacity:0;visibility:hidden;transform:scale(.72) rotate(-25deg);transition:opacity .16s ease,transform .2s ease,visibility 0s linear .2s;pointer-events:none}
.theme-toggle .theme-icon-sun{opacity:1;visibility:visible;transform:scale(1) rotate(0);transition-delay:0s}
.theme-toggle[aria-pressed="true"] .theme-icon-sun{opacity:0;visibility:hidden;transform:scale(.72) rotate(25deg);transition-delay:0s,.0s,.2s}
.theme-toggle[aria-pressed="true"] .theme-icon-moon{opacity:1;visibility:visible;transform:scale(1) rotate(0);transition-delay:0s}
.top-icon-btn{color:var(--icon-color)}
.top-icon-btn:hover{background:var(--hover-bg)!important;color:var(--primary)!important;border-color:color-mix(in srgb,var(--primary) 38%,var(--line))!important}
.theme-icon,.logout-icon,.bell-icon{font-family:Arial,"Segoe UI Symbol",sans-serif;font-weight:700;text-rendering:geometricPrecision}

/* Genel yüzey ve yazı renkleri */
html[data-theme="dark"] body,
html[data-theme="dark"] .main,
html[data-theme="dark"] .content{background:var(--bg);color:var(--text)}
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] strong,
html[data-theme="dark"] summary{color:var(--text)}
html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] td,
html[data-theme="dark"] .site-meta span,
html[data-theme="dark"] .info-list span{color:var(--text-soft)}
html[data-theme="dark"] a{color:inherit}
html[data-theme="dark"] ::selection{background:#3554b7;color:#fff}

/* Tüm kart, panel, menü ve yardımcı yüzeyler */
html[data-theme="dark"] :is(
  .panel,.stat-card,.module-card,.site-card,.site-list-panel,.site-info,.site-edit-summary,
  .site-summary-card,.module-summary-card,.dashboard-site-row,.mini-item,.quick-action,
  .progress-card,.dashboard-month-filter,.auth-card,.settings-side,.upload-preview,
  .notification-panel,.pwa-install-bar,.whatsapp-center,.whatsapp-help,.helper-panel,
  .backup-actions,.backup-upload,.message-preview
){background:var(--panel-elevated);border-color:var(--line);color:var(--text);box-shadow:0 18px 48px rgba(0,0,0,.22)}
html[data-theme="dark"] :is(.quick-panel,.module-summary-card){background:linear-gradient(180deg,#111827,#0f1726)}
html[data-theme="dark"] :is(.dashboard-hero){background:linear-gradient(135deg,#111827,#172238);border-color:var(--line)}
html[data-theme="dark"] .dashboard-hero::after{background:rgba(91,124,255,.12)}
html[data-theme="dark"] .danger-panel{background:linear-gradient(180deg,#111827,#21141b);border-color:#55303b}
html[data-theme="dark"] .finance-strip>div{background:var(--panel-soft);border-color:var(--line)}
html[data-theme="dark"] :is(.quick-action:hover,.module-card:hover,.site-card:hover){border-color:#40557a;box-shadow:0 18px 42px rgba(0,0,0,.3)}

/* Form alanları ve tarayıcı yerleşik kontrolleri */
html[data-theme="dark"] :is(input,select,textarea){background:var(--input-bg)!important;color:var(--text)!important;border-color:var(--line)!important;caret-color:var(--text)}
html[data-theme="dark"] :is(input,select,textarea):disabled{background:#182233!important;color:#7f8da3!important;opacity:1}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#7f8da3!important;opacity:1}
html[data-theme="dark"] select option{background:#0f1726;color:#e5edf9}
html[data-theme="dark"] input[type="color"]{background:#0f1726!important;padding:4px}
html[data-theme="dark"] input[type="checkbox"],html[data-theme="dark"] input[type="radio"]{accent-color:var(--primary)}
html[data-theme="dark"] input:-webkit-autofill,
html[data-theme="dark"] input:-webkit-autofill:hover,
html[data-theme="dark"] input:-webkit-autofill:focus{-webkit-text-fill-color:var(--text);-webkit-box-shadow:0 0 0 1000px var(--input-bg) inset;transition:background-color 9999s ease-in-out 0s}
html[data-theme="dark"] input[type=file]::file-selector-button{background:#21304e;color:#d5def4;border:1px solid #344767}
html[data-theme="dark"] label{color:#d6dfed}
html[data-theme="dark"] .check-row{background:var(--panel-soft);border-color:var(--line);color:var(--text)}

/* Tablolar */
html[data-theme="dark"] .table-wrap{border-color:var(--line);background:var(--panel-elevated)}
html[data-theme="dark"] table{background:var(--panel-elevated);color:var(--text)}
html[data-theme="dark"] th{background:var(--table-head)!important;color:#c3cfe0;border-color:var(--line)}
html[data-theme="dark"] td{background:transparent;color:#d7e0ec;border-color:var(--line)}
html[data-theme="dark"] tbody tr:hover td{background:rgba(91,124,255,.055)}
html[data-theme="dark"] tr:nth-child(even) td{background:rgba(255,255,255,.012)}

/* Butonlar ve ikonlar */
html[data-theme="dark"] .btn{background:#1d2a45;color:#d3dcf2;border-color:#314463}
html[data-theme="dark"] .btn:hover{background:#263755;color:#fff;filter:none}
html[data-theme="dark"] .btn-primary{background:var(--primary);color:#fff;border-color:transparent}
html[data-theme="dark"] .btn-primary:hover{background:var(--primary-dark)}
html[data-theme="dark"] .btn-light{background:#151f30;color:#dbe5f3;border-color:#30415b}
html[data-theme="dark"] :is(.site-avatar,.quick-action span,.module-summary-card>span,.pwa-install-icon){color:#cbd7ff}
html[data-theme="dark"] svg{color:currentColor;fill:currentColor}

/* Rozet, mesaj ve yardımcı içerikler */
html[data-theme="dark"] :is(.empty,.empty-state,.notification-empty){color:var(--muted)}
html[data-theme="dark"] :is(code,pre){background:#080f1d!important;color:#d8e8ff;border:1px solid var(--line)}
html[data-theme="dark"] details{background:var(--panel-soft);border-color:var(--line);color:var(--text)}
html[data-theme="dark"] summary{background:transparent}
html[data-theme="dark"] hr{border-color:var(--line)}
html[data-theme="dark"] .report-result{background:#142653;border-color:#31508d;color:#c7d9ff}
html[data-theme="dark"] .pwa-help{background:#142653;border-color:#31508d;color:#dbe8ff}
html[data-theme="dark"] .upload-preview img,
html[data-theme="dark"] .brand-logo{background:#f8fafc;border-color:#334155}

/* Yan menü, üst menü ve ayarlar navigasyonu */
html[data-theme="dark"] .sidebar{background:#080d19;border-color:#1d293c}
html[data-theme="dark"] .nav-link{color:#bdc9db}
html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active,
html[data-theme="dark"] .nav-group-toggle:hover{background:rgba(255,255,255,.09);color:#fff}
html[data-theme="dark"] .nav-sublink{color:#aebbd0}
html[data-theme="dark"] .nav-sublink:hover,
html[data-theme="dark"] .nav-sublink.active{background:rgba(91,124,255,.18);color:#fff}
html[data-theme="dark"] .topbar{background:rgba(8,13,25,.9);border-color:var(--line)}
html[data-theme="dark"] .user-pill{background:#111827;color:#d8e2f1;border-color:var(--line)}
html[data-theme="dark"] .settings-side nav a{color:#ced8e8}
html[data-theme="dark"] .settings-side nav a:hover,
html[data-theme="dark"] .settings-side nav a.active{background:rgba(91,124,255,.17);color:#dbe4ff}

/* Bildirim ve PWA */
html[data-theme="dark"] .notification-head{background:#111827;border-color:var(--line)}
html[data-theme="dark"] .notification-read-all:hover{background:rgba(91,124,255,.14)}
html[data-theme="dark"] .notification-copy strong{color:#edf3fc}
html[data-theme="dark"] .notification-copy span{color:#aebbd0}
html[data-theme="dark"] .notification-copy small{color:#8291a8}
html[data-theme="dark"] .pwa-close:hover{background:rgba(255,255,255,.08)}

/* Kaydırma çubukları */
html[data-theme="dark"] *{scrollbar-color:#41516b #0e1625}
html[data-theme="dark"] *::-webkit-scrollbar{width:10px;height:10px}
html[data-theme="dark"] *::-webkit-scrollbar-track{background:#0e1625}
html[data-theme="dark"] *::-webkit-scrollbar-thumb{background:#41516b;border:2px solid #0e1625;border-radius:999px}

@media(max-width:720px){
  html[data-theme="dark"] .table-wrap table{background:transparent}
  html[data-theme="dark"] .table-wrap tr{background:var(--panel-elevated)!important;border-color:var(--line)!important}
  html[data-theme="dark"] .table-wrap td{background:transparent!important;color:#d7e0ec}
  html[data-theme="dark"] .table-wrap td::before{color:#90a2ba}
}
@media(prefers-reduced-motion:reduce){.theme-toggle .theme-icon{transition:none!important}}


/* v1.0.24 ayarlar sayfası sol navigasyon */
.settings-side{padding:18px}.settings-side-head{display:flex;align-items:flex-start;gap:12px;padding:2px 2px 15px;border-bottom:1px solid var(--line)}.settings-side-head h2{margin:0}.settings-side-head p{margin:4px 0 0}.settings-side-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--hover-bg);color:var(--primary);font-size:21px;flex:0 0 42px}.settings-side nav{margin-top:14px}.settings-side nav a{align-items:center;gap:12px;border:1px solid transparent}.settings-side nav a>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--panel-soft);font-size:17px;flex:0 0 34px}.settings-side nav a div{min-width:0;display:grid;gap:2px}.settings-side nav a strong{font-size:14px}.settings-side nav a small{font-size:11px;color:var(--muted);font-weight:500}.settings-side nav a.active{border-color:color-mix(in srgb,var(--primary) 24%,var(--line))}.settings-side nav a.active>span{background:var(--primary);color:#fff}.settings-side nav a.active small{color:inherit;opacity:.72}.compact-tables table th,.compact-tables table td{padding-top:8px;padding-bottom:8px}.compact-tables .panel{padding:16px}
@media(max-width:900px){.settings-side nav{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-side nav a{justify-content:flex-start;text-align:left}}
@media(max-width:560px){.settings-side{padding:14px}.settings-side nav{grid-template-columns:1fr}.settings-side nav a{padding:10px}.settings-side-head{padding-bottom:12px}}

/* v1.0.25 tema ikonu ve eksiksiz koyu mod düzeltmeleri */
.theme-toggle{display:inline-grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;overflow:hidden}
.theme-toggle .theme-icon{display:grid!important;place-items:center!important;width:22px!important;height:22px!important;opacity:1!important;visibility:visible!important;transform:none!important;transition:none!important;grid-area:auto!important}
.theme-toggle .theme-icon svg{display:block;width:22px;height:22px;fill:none!important;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.theme-toggle .theme-icon-sun,.theme-toggle .theme-icon-moon{display:none!important}

html[data-theme="dark"]{
  --bg:#080d17;
  --panel:#111827;
  --panel-soft:#162033;
  --panel-elevated:#101827;
  --text:#eef4fc;
  --text-soft:#c1ccdc;
  --muted:#91a0b5;
  --line:#29384d;
  --input-bg:#0c1524;
  --table-head:#172236;
  --icon-color:#e1e9f5;
}
html[data-theme="dark"] :is(.page-toolbar,.toolbar,.filter-bar,.site-filter,.form-actions,.panel-head,.settings-side-head){border-color:var(--line)}
html[data-theme="dark"] :is(.page-toolbar,.toolbar,.filter-bar,.site-filter,.backup-upload,.backup-upload input[type=file],.upload-preview,.message-preview,.site-info,.site-edit-summary,.helper-panel,.whatsapp-help,.whatsapp-center){background:var(--panel-elevated)!important;color:var(--text)!important}
html[data-theme="dark"] :is(.stat-card,.site-card,.module-card,.progress-card,.dashboard-site-row,.mini-item,.quick-action,.dashboard-month-filter,.settings-side,.auth-card,.panel){background:var(--panel-elevated)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme="dark"] :is(.panel-head,.module-card-main,.module-actions,.site-meta,.info-list,.settings-side-head){color:var(--text)}
html[data-theme="dark"] :is(.panel p,.panel small,.module-card p,.module-card small,.site-meta span,.site-meta small,.info-list li,.info-list span,.form-grid small,.settings-side small,.footer){color:var(--muted)!important}
html[data-theme="dark"] :is(.stat-card strong,.finance-strip strong,.progress-head strong,.module-card h3,.site-card h3,.panel h2,.panel h3,.page-toolbar h2){color:var(--text)!important}
html[data-theme="dark"] :is(.menu-toggle,.user-pill,.top-icon-btn,.btn-light){background:var(--panel-soft)!important;color:var(--icon-color)!important;border-color:var(--line)!important;box-shadow:none}
html[data-theme="dark"] :is(.menu-toggle,.top-icon-btn,.btn-light):hover{background:#21304a!important;color:#fff!important;border-color:#405574!important}
html[data-theme="dark"] :is(.table-wrap,.table-wrap table,.table-wrap thead,.table-wrap tbody){background:var(--panel-elevated)!important}
html[data-theme="dark"] .table-wrap tr{border-color:var(--line)!important}
html[data-theme="dark"] .table-wrap th{background:var(--table-head)!important;color:#d4deeb!important;border-color:var(--line)!important}
html[data-theme="dark"] .table-wrap td{background:transparent!important;color:var(--text-soft)!important;border-color:var(--line)!important}
html[data-theme="dark"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background-color:var(--input-bg)!important;color:var(--text)!important;border-color:#34445b!important;box-shadow:none!important}
html[data-theme="dark"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea):hover{border-color:#465b79!important}
html[data-theme="dark"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{border-color:var(--primary)!important;box-shadow:0 0 0 4px rgba(91,124,255,.18)!important}
html[data-theme="dark"] :is(input,select,textarea):-webkit-autofill{-webkit-text-fill-color:var(--text)!important;-webkit-box-shadow:0 0 0 1000px var(--input-bg) inset!important}
html[data-theme="dark"] :is(.alert-success,.alert-error,.alert-info,.report-result,.pwa-help){box-shadow:none}
html[data-theme="dark"] .alert-success{background:#0d3029!important;color:#8ce8c8!important;border-color:#1d604f!important}
html[data-theme="dark"] .alert-error{background:#361821!important;color:#ffb2be!important;border-color:#6a2c3b!important}
html[data-theme="dark"] .alert-info{background:#142852!important;color:#c5d8ff!important;border-color:#31518d!important}
html[data-theme="dark"] :is(.badge,.eyebrow){border-color:transparent}
html[data-theme="dark"] .eyebrow{background:#162b57!important;color:#bcd0ff!important}
html[data-theme="dark"] :is(.notification-panel,.notification-head,.notification-list,.notification-item,.pwa-install-bar){background-color:var(--panel-elevated)!important;border-color:var(--line)!important}
html[data-theme="dark"] .notification-item:hover{background:#18243a!important}
html[data-theme="dark"] .notification-item.is-read{background:#0d1523!important;opacity:.78}
html[data-theme="dark"] :is(.settings-side nav a,.nav-link){border-color:transparent}
html[data-theme="dark"] .settings-side nav a>span{background:#1b2940;color:#d7e2f2}
html[data-theme="dark"] .settings-side nav a.active>span{background:var(--primary);color:#fff}
html[data-theme="dark"] :is(.brand-logo,.upload-preview img){background:#162033!important;border-color:#34445b!important}
html[data-theme="dark"] img{color-scheme:dark}
html[data-theme="dark"] dialog,html[data-theme="dark"] [role="dialog"]{background:var(--panel-elevated);color:var(--text);border-color:var(--line)}
html[data-theme="dark"] ::-webkit-calendar-picker-indicator{filter:invert(1) brightness(1.4);opacity:.8}
html[data-theme="dark"] input[type="date"],html[data-theme="dark"] input[type="month"],html[data-theme="dark"] input[type="time"]{color-scheme:dark}
html[data-theme="dark"] option,html[data-theme="dark"] optgroup{background:#101827!important;color:#eef4fc!important}
html[data-theme="dark"] fieldset{border-color:var(--line)}
html[data-theme="dark"] legend{color:var(--text)}

@media(max-width:720px){
  html[data-theme="dark"] .table-wrap tr{background:var(--panel-elevated)!important;box-shadow:0 12px 30px rgba(0,0,0,.22)}
  html[data-theme="dark"] .table-wrap td::before{color:#9eacc0!important}
}

/* v1.0.27 profesyonel PWA kurulum kartı */
.pwa-install-bar{
  position:fixed;left:50%;bottom:max(18px,calc(env(safe-area-inset-bottom) + 10px));
  transform:translate(-50%,18px);z-index:120;width:min(860px,calc(100vw - 28px));
  display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:14px;align-items:center;
  padding:14px 14px 14px 15px;background:color-mix(in srgb,var(--panel-elevated) 94%,transparent);
  border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:22px;
  box-shadow:0 24px 70px rgba(15,23,42,.22),0 6px 18px rgba(15,23,42,.08);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  animation:pwa-card-in .35s cubic-bezier(.2,.8,.2,1) forwards
}
.pwa-install-bar[hidden]{display:none!important}
.pwa-install-brand{width:56px;height:56px;padding:5px;border-radius:17px;background:linear-gradient(145deg,rgba(36,87,255,.13),rgba(99,102,241,.06));border:1px solid rgba(36,87,255,.13);display:grid;place-items:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.72)}
.pwa-install-brand img{display:block;width:46px;height:46px;object-fit:cover;border-radius:13px;box-shadow:0 6px 14px rgba(36,87,255,.18)}
.pwa-install-copy{min-width:0}.pwa-install-copy strong{display:block;margin-top:3px;font-size:15px;line-height:1.28;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pwa-install-kicker{display:flex!important;align-items:center;gap:6px;margin:0!important;font-size:10px!important;line-height:1.2;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--primary)!important}
.pwa-install-kicker i{width:7px;height:7px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12);flex:0 0 auto}
.pwa-install-description{display:block!important;margin-top:4px!important;font-size:12px!important;line-height:1.4;color:var(--muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pwa-install-actions{display:flex;align-items:center;gap:8px}.pwa-install-button{min-height:44px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:13px;white-space:nowrap;box-shadow:0 9px 22px rgba(36,87,255,.24)}
.pwa-install-button svg{width:18px;height:18px;flex:0 0 auto}.pwa-close{width:42px;height:42px;display:grid;place-items:center;border:1px solid transparent;background:transparent;color:var(--muted);border-radius:12px;cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .18s}
.pwa-close svg{width:19px;height:19px}.pwa-close:hover{background:var(--hover-bg);border-color:var(--line);color:var(--text);transform:translateY(-1px)}.pwa-close:focus-visible,.pwa-install-button:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 28%,transparent);outline-offset:2px}
html[data-theme="dark"] .pwa-install-bar{background:color-mix(in srgb,var(--panel-elevated) 94%,transparent)!important;border-color:var(--line)!important;box-shadow:0 28px 80px rgba(0,0,0,.55),0 8px 20px rgba(0,0,0,.22)}
html[data-theme="dark"] .pwa-install-brand{background:linear-gradient(145deg,rgba(91,124,255,.18),rgba(99,102,241,.08));border-color:rgba(148,163,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
@keyframes pwa-card-in{to{transform:translate(-50%,0)}}
@media(max-width:700px){.pwa-install-bar{width:calc(100vw - 20px);bottom:max(10px,calc(env(safe-area-inset-bottom) + 6px));grid-template-columns:50px minmax(0,1fr) 38px;gap:10px;padding:11px;border-radius:19px}.pwa-install-brand{width:48px;height:48px;border-radius:14px;padding:4px}.pwa-install-brand img{width:40px;height:40px;border-radius:11px}.pwa-install-actions{display:contents}.pwa-install-button{grid-column:1/-1;grid-row:2;width:100%;min-height:43px;margin-top:1px}.pwa-close{grid-column:3;grid-row:1;width:38px;height:38px}.pwa-install-copy strong{font-size:14px}.pwa-install-description{white-space:normal;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pwa-install-kicker{font-size:9px!important}}
@media(max-width:390px){.pwa-install-bar{grid-template-columns:46px minmax(0,1fr) 36px}.pwa-install-brand{width:44px;height:44px}.pwa-install-brand img{width:36px;height:36px}.pwa-install-copy strong{font-size:13px}.pwa-install-description{font-size:11px!important}.pwa-install-button{font-size:13px}}
@media(prefers-reduced-motion:reduce){.pwa-install-bar{animation:none;transform:translateX(-50%)}}

/* v1.0.28 gelişmiş koyu tema kapsamı ve anlaşılır tema düğmesi */
.theme-toggle{
  position:relative!important;
  isolation:isolate;
  border-radius:13px!important;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.theme-toggle::after{
  content:"";position:absolute;right:5px;bottom:5px;width:6px;height:6px;border-radius:50%;
  background:#64748b;border:1.5px solid var(--panel-elevated);box-shadow:0 0 0 1px rgba(15,23,42,.08);
}
html[data-theme="light"] .theme-toggle{background:#eef2ff!important;color:#293b78!important;border-color:#cdd7fb!important}
html[data-theme="light"] .theme-toggle:hover{background:#e2e8ff!important;color:#172554!important;border-color:#aebdf6!important;box-shadow:0 8px 22px rgba(36,87,255,.16)!important}
html[data-theme="light"] .theme-toggle::after{background:#334155;border-color:#eef2ff}
html[data-theme="dark"] .theme-toggle{background:#2a2415!important;color:#ffd76a!important;border-color:#594c25!important}
html[data-theme="dark"] .theme-toggle:hover{background:#382f18!important;color:#ffe69a!important;border-color:#806b2d!important;box-shadow:0 8px 24px rgba(251,191,36,.12)!important}
html[data-theme="dark"] .theme-toggle::after{background:#fbbf24;border-color:#2a2415;box-shadow:0 0 8px rgba(251,191,36,.65)}
.theme-toggle:active{transform:scale(.96)}
.theme-toggle .theme-icon{width:23px!important;height:23px!important;display:grid!important;place-items:center!important}
.theme-toggle .theme-icon svg{width:23px!important;height:23px!important;stroke-width:2!important}
.theme-toggle .theme-icon .theme-accent{fill:currentColor!important;stroke:none!important}
.theme-toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 30%,transparent)!important;outline-offset:2px}

/* Koyu modda beyaz kalabilen tüm uygulama yüzeyleri */
html[data-theme="dark"] :is(
  body,.app-shell,.main,.content,.footer,.panel,.panel-body,.panel-content,.card,.cards,
  .stat-card,.module-card,.site-card,.site-list-panel,.site-summary-card,.module-summary-card,
  .dashboard-site-row,.dashboard-month-filter,.dashboard-summary,.dashboard-layout,.quick-panel,
  .quick-action,.finance-strip>div,.progress-card,.mini-item,.settings-layout,.settings-content,
  .settings-side,.settings-side-head,.upload-preview,.pwa-help,.auth-card,.notification-panel,
  .notification-list,.notification-item,.pwa-install-bar,.table-wrap,.report-result,.empty-state,
  .helper-panel,.message-preview,.backup-upload,.whatsapp-center,.whatsapp-help,.site-info,
  .site-edit-summary,.page-toolbar,.toolbar,.filter-bar,.form-actions
){border-color:var(--line)!important}
html[data-theme="dark"] :is(
  .panel,.panel-body,.panel-content,.card,.stat-card,.module-card,.site-card,.site-list-panel,
  .site-summary-card,.module-summary-card,.dashboard-site-row,.dashboard-month-filter,.quick-action,
  .progress-card,.mini-item,.settings-side,.settings-content>.panel,.upload-preview,.pwa-help,
  .auth-card,.notification-panel,.notification-list,.notification-item,.pwa-install-bar,.report-result,
  .helper-panel,.message-preview,.backup-upload,.whatsapp-center,.whatsapp-help,.site-info,
  .site-edit-summary,.page-toolbar,.toolbar,.filter-bar,.form-actions
){background-color:var(--panel-elevated)!important;color:var(--text)!important}
html[data-theme="dark"] :is(.quick-panel,.dashboard-hero,.module-summary-card,.danger-panel){color:var(--text)!important}
html[data-theme="dark"] :is(.quick-panel){background:linear-gradient(180deg,#111a2a,#0d1523)!important}
html[data-theme="dark"] :is(.danger-panel){background:linear-gradient(180deg,#151822,#25151b)!important}
html[data-theme="dark"] :is(.dashboard-hero){background:linear-gradient(135deg,#111827,#18243a)!important}

/* Inline veya eski sürümden kalmış beyaz arka planları güvenli biçimde bastır */
html[data-theme="dark"] [style*="background:#fff"],
html[data-theme="dark"] [style*="background: #fff"],
html[data-theme="dark"] [style*="background:white"],
html[data-theme="dark"] [style*="background: white"],
html[data-theme="dark"] [style*="background-color:#fff"],
html[data-theme="dark"] [style*="background-color: #fff"],
html[data-theme="dark"] [style*="background-color:white"]{
  background:var(--panel-elevated)!important;background-color:var(--panel-elevated)!important;color:var(--text)!important
}

/* Metin ve ikon kontrastı */
html[data-theme="dark"] :is(h1,h2,h3,h4,h5,h6,strong,b,summary,.title,.card-title,.panel-title){color:var(--text)!important}
html[data-theme="dark"] :is(p,small,.muted,.description,.subtitle,.help-text,.site-meta span,.mini-item small,.mini-item p){color:var(--muted)!important}
html[data-theme="dark"] :is(.nav-link,.settings-side nav a,.btn,.top-icon-btn,button){text-shadow:none}
html[data-theme="dark"] :is(svg:not([data-preserve-color]),.top-icon-btn svg,.btn svg){stroke:currentColor}
html[data-theme="dark"] :is(.site-avatar,.quick-action span,.module-summary-card>span,.settings-side-icon){background:#1a2940!important;color:#c8d5ff!important}

/* Formlar, seçimler ve yerleşik tarayıcı kontrolleri */
html[data-theme="dark"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea,button:not(.btn-primary):not(.nav-link)){
  color-scheme:dark
}
html[data-theme="dark"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
  background-color:var(--input-bg)!important;color:var(--text)!important;border-color:#35465f!important
}
html[data-theme="dark"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea)::placeholder{color:#7889a1!important}
html[data-theme="dark"] :is(input:read-only,textarea:read-only){background:#131e2e!important;color:#aebbd0!important}
html[data-theme="dark"] :is(input:disabled,select:disabled,textarea:disabled,button:disabled){background:#182233!important;color:#75849a!important;border-color:#2d3c51!important;opacity:1}
html[data-theme="dark"] input[type="file"]{background:var(--input-bg)!important}
html[data-theme="dark"] input[type="file"]::file-selector-button{background:#22314a!important;color:#e0e8f5!important;border:1px solid #40536f!important;border-radius:9px;padding:8px 11px}
html[data-theme="dark"] input[type="search"]::-webkit-search-cancel-button{filter:invert(1);opacity:.72}

/* Tablolar, listeler ve mobil kart satırları */
html[data-theme="dark"] :is(table,thead,tbody,tfoot,tr,th,td){border-color:var(--line)!important}
html[data-theme="dark"] table{background:var(--panel-elevated)!important;color:var(--text)!important}
html[data-theme="dark"] th{background:#182337!important;color:#d8e2ef!important}
html[data-theme="dark"] td{background:transparent!important;color:#c8d3e2!important}
html[data-theme="dark"] tbody tr:hover td{background:#162238!important}
html[data-theme="dark"] .table-wrap{background:transparent!important}
html[data-theme="dark"] :is(ul,ol,.info-list,.mini-list){color:var(--text-soft)}

/* Bildirim, menü, modal ve yardımcı katmanlar */
html[data-theme="dark"] :is(.notification-head,.modal-header,.modal-footer,.dropdown-menu,.popover,[role="menu"],[role="dialog"],dialog){
  background:#111a29!important;color:var(--text)!important;border-color:var(--line)!important
}
html[data-theme="dark"] :is(.dropdown-menu a,[role="menuitem"]){color:var(--text-soft)!important}
html[data-theme="dark"] :is(.dropdown-menu a:hover,[role="menuitem"]:hover){background:#1b2940!important;color:var(--text)!important}
html[data-theme="dark"] .notification-item.is-read{background:#0d1522!important;color:var(--text-soft)!important}
html[data-theme="dark"] .notification-item:not(.is-read){background:#121d2e!important}
html[data-theme="dark"] .pwa-install-brand{background:#17243a!important;border-color:#344760!important}

/* Rozetler koyu modda okunaklı kalsın */
html[data-theme="dark"] .badge{background:#252a50!important;color:#cbd1ff!important}
html[data-theme="dark"] .badge.debit{background:#3c1721!important;color:#ffb5c0!important}
html[data-theme="dark"] :is(.badge.credit,.badge.income){background:#10372d!important;color:#8de7c7!important}
html[data-theme="dark"] .badge.expense{background:#3c2813!important;color:#ffd09a!important}
html[data-theme="dark"] .badge.neutral{background:#253044!important;color:#c4cfdd!important}

@media(max-width:720px){
  html[data-theme="dark"] .table-wrap tr{background:#111a29!important;border:1px solid var(--line)!important}
  html[data-theme="dark"] .table-wrap td{border-bottom-color:#26364b!important}
  html[data-theme="dark"] .table-wrap td::before{color:#93a4bb!important}
}


/* v1.0.29 bildirim sayacı ve zil durum davranışı */
.bell-icon svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.notification-badge{display:none}
.notification-toggle.has-unread .notification-badge:not([hidden]){display:grid}
.notification-toggle.is-empty .bell-icon,.notification-toggle:not(.has-unread) .bell-icon{animation:none!important;transform:none}
.notification-toggle.has-unread .bell-icon{animation:notificationBell 2.2s ease-in-out infinite;will-change:transform}
.notification-toggle.has-unread{color:var(--primary)}
.notification-toggle:not(.has-unread){color:inherit}
/* v1.0.30 EchoBilisim lisans ekranı */
.license-card{width:min(620px,100%)}
.license-domain{display:grid;gap:5px;margin:18px 0;padding:16px 18px;border:1px solid var(--border,#e5e7eb);border-radius:16px;background:var(--surface-soft,#f8fafc)}
.license-domain span,.license-domain small{color:var(--muted,#64748b)}
.license-domain strong{font-size:1.08rem;overflow-wrap:anywhere}
[data-theme="dark"] .license-domain{background:var(--surface-2,#172033);border-color:var(--border,#334155)}
