
:root{
  --navy:#082a4d;
  --navy2:#0c3d72;
  --navy3:#051e38;
  --cyan:#00b8d9;
  --cyan2:#12d6c5;
  --blue:#2478ff;
  --green:#17b26a;
  --orange:#f79009;
  --red:#f04438;
  --purple:#7a5af8;
  --bg:#f4f8fc;
  --card:#ffffff;
  --text:#10233f;
  --muted:#64748b;
  --line:#e2e8f0;
  --soft:#eef6ff;
  --shadow:0 18px 45px rgba(8,42,77,.10);
  --shadow2:0 8px 22px rgba(8,42,77,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Segoe UI',Arial,Helvetica,sans-serif;background:radial-gradient(circle at top right,#dff4ff 0,#f7fbff 28%,#f4f8fc 72%);color:var(--text)}
a{color:inherit}.muted{color:var(--muted)}

/* Login */
.login-page{min-height:100vh;display:grid;grid-template-columns:1.25fr .75fr;background:#eef4fb;overflow:hidden}
.login-hero{position:relative;background:linear-gradient(135deg,rgba(4,29,56,.97),rgba(5,71,119,.92)),radial-gradient(circle at 78% 42%,rgba(0,184,217,.35),transparent 30%);color:#fff;padding:64px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;isolation:isolate}
.login-hero:before{content:"";position:absolute;inset:auto -12% -20% -8%;height:55%;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(0,184,217,.16)),url("data:image/svg+xml,%3Csvg width='900' height='350' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2300d5ff' stroke-opacity='.35'%3E%3Cpath d='M0 260 C130 120 190 300 340 170 S620 120 900 220'/%3E%3Cpath d='M0 210 C160 90 260 250 420 130 S690 90 900 170'/%3E%3C/g%3E%3Cg fill='%2300d5ff' fill-opacity='.8'%3E%3Ccircle cx='145' cy='173' r='5'/%3E%3Ccircle cx='344' cy='170' r='5'/%3E%3Ccircle cx='564' cy='109' r='5'/%3E%3Ccircle cx='720' cy='139' r='5'/%3E%3C/g%3E%3C/svg%3E") center bottom/cover no-repeat;z-index:-1}
.login-hero:after{content:"";position:absolute;right:8%;top:22%;width:360px;height:260px;background:radial-gradient(circle,rgba(18,214,197,.28),transparent 64%);filter:blur(4px);z-index:-1}.hero-brand{display:flex;align-items:center;gap:18px}.hero-logo,.brand-logo{width:62px;height:62px;border-radius:22px;background:linear-gradient(135deg,var(--cyan),var(--blue));display:grid;place-items:center;color:#fff;font-weight:900;box-shadow:0 15px 35px rgba(0,184,217,.28)}.hero-logo{font-size:32px}.hero-title h1{font-size:44px;line-height:1.05;margin:0}.hero-title p{margin:12px 0 0;color:#45efff;font-size:19px;font-weight:700}.hero-text{max-width:620px}.hero-text h2{font-size:28px;margin:0 0 12px}.hero-text p{font-size:18px;line-height:1.65;color:#d8ecff}.hero-modules{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:18px}.hero-module{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);backdrop-filter:blur(8px);border-radius:24px;padding:22px 16px;text-align:center;box-shadow:0 18px 40px rgba(0,0,0,.18)}.hero-module .ico{font-size:34px;margin-bottom:12px;display:block}.hero-module b{display:block;font-size:16px}.hero-module small{display:block;color:#d9ecff;margin-top:8px;line-height:1.35}.login-panel{display:flex;align-items:center;justify-content:center;padding:42px}.login-card{width:min(460px,100%);background:#fff;border:1px solid rgba(226,232,240,.9);border-radius:30px;padding:44px;box-shadow:0 24px 70px rgba(8,42,77,.16)}.login-card .lock{width:78px;height:78px;border-radius:28px;margin:0 auto 22px;background:#eaf8fb;color:#05728a;display:grid;place-items:center;font-size:36px}.login-card h2{font-size:30px;text-align:center;margin:0 0 8px;color:var(--text)}.login-card .sub{text-align:center;color:var(--muted);margin:0 0 28px}.login-card label{display:block;margin:18px 0 8px;color:#243b57;font-weight:800}.login-input{position:relative}.login-input span{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:19px;color:#6b7890}.login-input input{width:100%;height:54px;border:1px solid #cfd8e6;border-radius:14px;padding:0 16px 0 46px;font-size:15px;outline:none;transition:.18s}.login-input input:focus{border-color:var(--cyan);box-shadow:0 0 0 4px rgba(0,184,217,.14)}.login-options{display:flex;align-items:center;justify-content:space-between;margin:18px 0 6px;color:#334155;font-size:14px}.login-options a{color:#057da0;text-decoration:none;font-weight:700}.login-card button{width:100%;height:56px;border:0;border-radius:15px;background:linear-gradient(90deg,#00a9bd,#063d73);color:#fff;font-size:17px;font-weight:900;cursor:pointer;margin-top:16px;box-shadow:0 16px 28px rgba(0,120,160,.22)}.login-card button:hover{filter:brightness(1.05)}.db-test{display:block;margin-top:16px;text-align:center;color:#0b6690;text-decoration:none;font-weight:700}.login-footer{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#73839a;font-size:13px}.alert{background:#fff1f1;color:#991b1b;border:1px solid #fecaca;padding:12px;border-radius:13px;margin-bottom:14px;font-weight:700}

/* App shell */
.app-shell{display:flex;min-height:100vh}.sidebar{width:288px;background:linear-gradient(180deg,#07274b 0%,#041c36 70%,#061d33 100%);color:#fff;padding:20px 14px;overflow-y:auto;position:sticky;top:0;height:100vh;box-shadow:18px 0 48px rgba(8,42,77,.16);z-index:5}.sidebar:after{content:"";display:block;height:140px;margin:28px -14px -20px;background:linear-gradient(180deg,transparent,rgba(0,184,217,.12)),url("data:image/svg+xml,%3Csvg width='300' height='150' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 120 C80 50 130 145 210 80 S300 65 330 100' fill='none' stroke='%2300d5ff' stroke-opacity='.35'/%3E%3Ccircle cx='82' cy='60' r='4' fill='%2300d5ff'/%3E%3Ccircle cx='212' cy='79' r='4' fill='%2300d5ff'/%3E%3Crect x='30' y='94' width='18' height='42' fill='%23ffffff' fill-opacity='.18'/%3E%3Crect x='54' y='78' width='22' height='58' fill='%23ffffff' fill-opacity='.12'/%3E%3Crect x='83' y='102' width='20' height='34' fill='%23ffffff' fill-opacity='.16'/%3E%3C/svg%3E") center bottom/cover no-repeat}.brand{display:flex;align-items:center;gap:13px;padding:10px 10px 20px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.12)}.brand-logo{width:50px;height:50px;border-radius:18px;font-size:26px}.brand b{display:block;font-size:19px;line-height:1.08}.brand small{display:block;margin-top:5px;color:#b9d9ef;font-size:12px}.menu-title{display:block;color:#7fb0d4;font-size:11px;text-transform:uppercase;letter-spacing:.12em;margin:18px 12px 7px;font-weight:800}.sidebar a{display:flex;align-items:center;gap:12px;color:#eaf6ff;text-decoration:none;padding:12px 13px;border-radius:15px;margin:3px 0;font-size:15px;font-weight:650;transition:.15s}.sidebar a:hover{background:rgba(255,255,255,.11);transform:translateX(2px)}.sidebar a.is-active,.sidebar a:first-of-type{background:linear-gradient(90deg,#00adc4,#095494);box-shadow:0 14px 28px rgba(0,184,217,.22)}.nav-ico{width:26px;text-align:center;font-size:19px}.main{flex:1;min-width:0}.topbar{height:82px;background:rgba(255,255,255,.88);backdrop-filter:blur(15px);border-bottom:1px solid rgba(226,232,240,.8);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:4}.top-left{display:flex;align-items:center;gap:18px}.hamb{font-size:25px;color:#0b345f}.top-title b{display:block;color:var(--text);font-size:17px}.top-title small{display:block;color:var(--muted);margin-top:4px}.search-box{width:min(470px,36vw);height:46px;border:1px solid #cdd8e7;border-radius:16px;display:flex;align-items:center;padding:0 16px;color:#7b8aa0;background:#fff}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:14px;margin-left:8px}.top-actions{display:flex;align-items:center;gap:10px}.top-actions a{background:#edf7ff;color:#075985;border:1px solid #cfeeff;border-radius:14px;padding:10px 13px;text-decoration:none;font-size:13px;font-weight:850}.user-chip{display:flex;align-items:center;gap:10px;padding-left:12px;border-left:1px solid var(--line)}.avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--cyan),var(--blue));color:#fff;display:grid;place-items:center;font-weight:900}.content{padding:26px 28px 42px}.page-title,.page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.page-title h1,.page-head h1{font-size:30px;line-height:1.1;margin:0;color:#10233f}.page-title p,.page-head p{margin:7px 0 0;color:var(--muted)}

/* Cards */
.hero-strip{position:relative;overflow:hidden;border:1px solid rgba(207,232,255,.85);border-radius:28px;padding:28px;background:linear-gradient(120deg,#fff 0,#f4fbff 52%,#e7f8ff 100%);box-shadow:var(--shadow);margin-bottom:24px}.hero-strip:after{content:"";position:absolute;right:-80px;top:-90px;width:310px;height:310px;border-radius:50%;background:radial-gradient(circle,rgba(0,184,217,.18),transparent 65%)}.hero-strip h1{font-size:32px;margin:0 0 8px}.hero-strip p{color:var(--muted);margin:0}.hero-actions{margin-top:20px;display:flex;gap:10px;flex-wrap:wrap}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.card,.panel{background:var(--card);border:1px solid rgba(226,232,240,.95);border-radius:24px;padding:21px;box-shadow:var(--shadow2)}.card{position:relative;overflow:hidden}.card:before{content:"";position:absolute;right:-24px;top:-24px;width:95px;height:95px;border-radius:50%;background:rgba(0,184,217,.10)}.card .card-row{display:flex;align-items:center;gap:16px}.card-icon{width:58px;height:58px;border-radius:21px;display:grid;place-items:center;font-size:28px;background:#e9f8fc;color:#007f96;flex:0 0 auto}.card-icon.green{background:#e9fbf3;color:#078954}.card-icon.orange{background:#fff4e5;color:#ca6500}.card-icon.purple{background:#f1edff;color:#6941c6}.card b{display:block;color:#36506e;font-size:14px}.card span{display:block;font-size:27px;font-weight:900;margin-top:7px;color:#10233f}.card small{display:block;margin-top:8px;color:var(--muted)}.money,.money-left{text-align:left!important;font-variant-numeric:tabular-nums;font-weight:800}.panel{margin-bottom:18px}.panel h3{margin:0 0 15px;font-size:19px}.dashboard-grid{display:grid;grid-template-columns:1.1fr .9fr .55fr;gap:18px;align-items:start}.module-grid,.links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.module-card,.links a{position:relative;background:#fff;border:1px solid #dfe8f3;border-radius:19px;padding:18px;text-decoration:none;color:#10233f;box-shadow:var(--shadow2);transition:.15s;min-height:94px}.module-card:hover,.links a:hover{transform:translateY(-3px);box-shadow:0 18px 35px rgba(8,42,77,.13);border-color:#b9e9f2}.module-card .ico,.links a:before{display:block;font-size:30px;margin-bottom:8px}.links a:nth-child(1):before{content:"💧"}.links a:nth-child(2):before{content:"➕"}.links a:nth-child(3):before{content:"🧾"}.links a:nth-child(4):before{content:"💳"}.links a:nth-child(5):before{content:"📘"}.module-card b{display:block}.module-card small{display:block;margin-top:6px;color:var(--muted);line-height:1.35}.status-list{display:grid;gap:10px}.status-item{display:flex;gap:12px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:17px;padding:14px}.status-item .dot{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;background:#eaf8fb;color:#07879f;font-size:22px}.status-item b{display:block}.status-item span{color:var(--muted);font-size:13px}.mini-chart{height:220px;display:flex;align-items:end;gap:12px;padding:18px 4px 4px}.bar{flex:1;border-radius:14px 14px 6px 6px;background:linear-gradient(180deg,#00b8d9,#0b5f9c);min-height:45px;position:relative}.bar:nth-child(2){height:62%}.bar:nth-child(3){height:84%;background:linear-gradient(180deg,#17b26a,#087443)}.bar:nth-child(4){height:50%;background:linear-gradient(180deg,#f79009,#bd4d00)}.bar:nth-child(5){height:72%;background:linear-gradient(180deg,#7a5af8,#4e36bd)}.bar small{position:absolute;bottom:-24px;left:50%;transform:translateX(-50%);color:var(--muted);font-size:12px}

/* Tables / forms */
.toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.toolbar input,.toolbar select,.form-grid input,.form-grid select,.form-grid textarea,.inline-form input{padding:11px 12px;border:1px solid #d3dce9;border-radius:13px;min-height:42px;background:#fff;outline:none}.toolbar input:focus,.toolbar select:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:var(--cyan);box-shadow:0 0 0 4px rgba(0,184,217,.12)}.toolbar label,.form-grid label{display:block;font-size:13px;color:#52677f;margin-bottom:5px;font-weight:750}.btn{border:0;border-radius:13px;padding:11px 15px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-size:14px;font-weight:850;line-height:1;white-space:nowrap}.btn-primary{background:linear-gradient(90deg,#0b79d0,#074478);color:white}.btn-green{background:linear-gradient(90deg,#17b26a,#078954);color:white}.btn-orange{background:linear-gradient(90deg,#f79009,#c75600);color:white}.btn-gray,.btn.ghost{background:#eef4fb;color:#163a5c}.btn-red,.btn.danger{background:linear-gradient(90deg,#f04438,#b42318);color:white}.btn.small{padding:7px 10px;font-size:12px}.table-wrap{overflow:auto;border:1px solid #dfe7f1;border-radius:18px;background:white;box-shadow:var(--shadow2)}table{width:100%;border-collapse:separate;border-spacing:0;background:white}th,td{border-bottom:1px solid #eef2f7;padding:11px 12px;font-size:13px;white-space:nowrap;text-align:left}th{background:#f4f8fc;color:#304761;font-weight:900;position:sticky;top:0;z-index:1}tr:hover td{background:#fbfdff}tbody tr:last-child td{border-bottom:0}.badge{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:#e4f7fc;color:#06748d;font-size:12px;font-weight:850}.badge:before{content:"";width:7px;height:7px;border-radius:50%;background:#11b8cf}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px}.form-grid .wide{grid-column:span 2}.form-actions{margin-top:18px;display:flex;justify-content:flex-end;gap:10px}.action-cell{display:flex;gap:7px;align-items:center}.action-cell form{display:inline}.inline-form{display:flex;gap:10px;align-items:center}.inline-form input{max-width:340px}

/* Module intro */
.module-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:18px;margin-bottom:22px}.module-hero .big{background:linear-gradient(135deg,#06284c,#0b6b9b);color:white;border-radius:28px;padding:28px;box-shadow:var(--shadow);position:relative;overflow:hidden}.module-hero .big:after{content:"";position:absolute;right:-40px;bottom:-60px;width:250px;height:250px;border-radius:50%;background:rgba(255,255,255,.10)}.module-hero .big h1{font-size:31px;margin:0 0 10px}.module-hero .big p{color:#d5f1ff;line-height:1.55}.module-hero .quick{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.quick-tile{background:white;border:1px solid var(--line);border-radius:22px;padding:20px;text-decoration:none;box-shadow:var(--shadow2)}.quick-tile span{font-size:30px}.quick-tile b{display:block;margin-top:8px}.quick-tile small{display:block;color:var(--muted);margin-top:6px}

@media(max-width:1200px){.cards{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.module-grid,.links{grid-template-columns:repeat(2,1fr)}.search-box{display:none}.login-page{grid-template-columns:1fr}.login-hero{min-height:auto}.login-panel{min-height:100vh}.hero-modules{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.app-shell{display:block}.sidebar{position:relative;width:100%;height:auto}.topbar{height:auto;align-items:flex-start;gap:12px;flex-direction:column;padding:16px}.content{padding:18px}.cards,.module-grid,.links,.module-hero,.module-hero .quick{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:span 1}.login-hero{padding:34px}.login-card{padding:30px}.hero-title h1{font-size:32px}}

/* Emlak v5.9 */
.emlak-hero .big{background:linear-gradient(135deg,#063b2d,#0a6b56 55%,#0984a5);}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.two-cards{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}
.total-card h2{font-size:25px}.money-left{text-align:left!important}.money-input{text-align:left!important;font-weight:800}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.panel-head h3{margin:0}.panel-head p{margin:5px 0 0;color:var(--muted)}.emlak-person-card{display:flex;align-items:center;gap:18px;background:linear-gradient(135deg,#ffffff,#eefbf6)}.person-avatar{width:72px;height:72px;border-radius:24px;background:linear-gradient(135deg,#10b981,#0ea5e9);display:grid;place-items:center;color:white;font-size:34px;box-shadow:var(--shadow2)}.emlak-person-card h3{margin:0 0 8px;font-size:24px}.emlak-person-card p{margin:4px 0;color:#334155}.check-line{display:flex;align-items:center}.check-line label{font-size:15px;color:#12344f}.check-line input{width:18px;height:18px;margin-right:8px;vertical-align:middle}
@media(max-width:900px){.two-cards{grid-template-columns:1fr}.panel-head{display:block}.hero-actions{display:grid}}

/* Emlak v6 - giriş seviyesi iş akışı */
.emlak-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.flow-step{background:#fff;border:1px solid #dce7f3;border-radius:18px;padding:14px 16px;display:flex;align-items:center;gap:10px;box-shadow:var(--shadow2);color:#50677f}.flow-step b{width:32px;height:32px;border-radius:12px;background:#e8f1fb;color:#244963;display:grid;place-items:center}.flow-step.active{border-color:#67e8f9;background:linear-gradient(135deg,#ffffff,#ecfeff);color:#084c61}.flow-step.active b{background:linear-gradient(135deg,#06b6d4,#2563eb);color:#fff}.flow-step.done{border-color:#86efac;background:#f0fdf4;color:#166534}.flow-step.done b{background:#22c55e;color:#fff}.form-card-ui{border-top:5px solid #0ea5e9}.legend-row{display:flex;gap:8px;flex-wrap:wrap}.legend-green,.legend-white,.legend-yellow{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;border:1px solid transparent}.legend-green{background:#dcfce7;color:#166534;border-color:#86efac}.legend-white{background:#fff;color:#334155;border-color:#cbd5e1}.legend-yellow{background:#fef9c3;color:#854d0e;border-color:#fde68a}.selective input,.selective select,.selective textarea{background:#ecfdf5!important;border-color:#a7f3d0!important}.manual input,.manual select,.manual textarea{background:#fff!important}.calculated input,.calculated select,.calculated textarea{background:#fef9c3!important;border-color:#fde68a!important;font-weight:900}.section-label{margin:22px 0 12px;font-weight:950;color:#0f3a5c;background:linear-gradient(90deg,#e0f2fe,#f8fafc);border:1px solid #dbeafe;border-radius:14px;padding:12px 14px}.sicil-grid{grid-template-columns:repeat(4,minmax(180px,1fr))}.emlak-beyan-card .form-grid{grid-template-columns:repeat(4,minmax(170px,1fr))}.calc-grid{background:#fbfdff;border:1px dashed #bfdbfe;border-radius:18px;padding:16px}.success-box{background:#ecfdf3;color:#166534;border:1px solid #86efac;padding:15px 17px;border-radius:18px;margin-bottom:16px;box-shadow:var(--shadow2)}.info-panel{background:#f8fafc}.beyan-panel .panel-head{align-items:center}.beyan-panel table th:first-child,.beyan-panel table td:first-child{position:sticky;left:0;background:#fff;z-index:2}.beyan-panel table th:first-child{background:#f4f8fc}.action-cell{flex-wrap:wrap}.field-note{font-size:12px;color:#64748b;margin-top:6px}
@media(max-width:1200px){.sicil-grid,.emlak-beyan-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.emlak-flow{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.sicil-grid,.emlak-beyan-card .form-grid,.emlak-flow{grid-template-columns:1fr}}

/* Erma Yazılım marka güncellemesi - 02082026 */
.brand-img{display:block;object-fit:contain;flex:0 0 auto}.hero-brand-img{width:150px;height:150px;border-radius:28px;background:rgba(255,255,255,.98);padding:10px;box-shadow:0 18px 40px rgba(0,0,0,.18)}.sidebar-logo-img{width:88px;height:88px;border-radius:22px;background:rgba(255,255,255,.97);padding:7px;box-shadow:0 14px 32px rgba(0,0,0,.18)}.login-card-logo{width:200px;max-width:72%;height:auto;display:block;margin:0 auto 8px;filter:drop-shadow(0 12px 18px rgba(6,34,73,.08))}.login-card-brand{text-align:center;margin-bottom:12px}.login-card-brand span{display:block;font-size:12px;letter-spacing:2.5px;font-weight:900;color:#38547a}.erma-brand{align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.13)}.erma-brand b{display:block;font-size:20px;line-height:1.1;color:#fff}.erma-brand small{display:block;margin-top:5px;color:#bde9ff;font-weight:700}.erma-sidebar{background:linear-gradient(180deg,#05244a 0%,#073b74 50%,#031a33 100%);position:sticky;overflow:hidden}.erma-sidebar:before{content:"";position:absolute;inset:auto -40px -20px -20px;height:230px;background:linear-gradient(180deg,rgba(0,184,217,0),rgba(0,184,217,.22)),url("data:image/svg+xml,%3Csvg width='420' height='220' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2300c8ff' stroke-opacity='.32'%3E%3Cpath d='M0 170 C60 90 120 210 190 120 S330 80 420 145'/%3E%3Cpath d='M0 130 C80 70 145 175 220 105 S335 60 420 105'/%3E%3C/g%3E%3Cg fill='%2300d5ff' fill-opacity='.75'%3E%3Ccircle cx='62' cy='114' r='3'/%3E%3Ccircle cx='190' cy='120' r='3'/%3E%3Ccircle cx='310' cy='80' r='3'/%3E%3C/g%3E%3C/svg%3E") center bottom/cover no-repeat;pointer-events:none}.erma-sidebar nav{position:relative;z-index:1}.erma-sidebar nav a{border:1px solid transparent}.erma-sidebar nav a:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12)}.erma-sidebar nav a:first-of-type{background:linear-gradient(90deg,#0ea5e9,#2563eb);box-shadow:0 12px 24px rgba(37,99,235,.28)}.erma-topbar{background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid rgba(203,213,225,.8)}.erma-main{background:radial-gradient(circle at 80% -10%,rgba(14,165,233,.13),transparent 34%),linear-gradient(180deg,#f8fbff,#f3f7fc)}.erma-content .hero-strip{background:linear-gradient(135deg,#05244a 0%,#075c9b 62%,#08a9c7 100%);border:0;box-shadow:0 22px 52px rgba(5,36,74,.18);position:relative;overflow:hidden}.erma-content .hero-strip:after{content:"";position:absolute;right:-30px;bottom:-60px;width:290px;height:290px;border-radius:50%;background:rgba(255,255,255,.10)}.erma-content .hero-strip h1,.erma-content .hero-strip p{color:white}.erma-content .hero-strip p{opacity:.86}.erma-login-page{background:linear-gradient(90deg,#062447 0%,#f7fbff 60%)}.erma-login-hero{background:linear-gradient(135deg,rgba(2,22,48,.98),rgba(7,79,135,.95) 55%,rgba(0,164,205,.90)),radial-gradient(circle at 75% 32%,rgba(11,219,241,.32),transparent 28%)}.erma-login-hero:before{height:58%;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(0,184,217,.18)),url("data:image/svg+xml,%3Csvg width='950' height='360' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2300d5ff' stroke-opacity='.34'%3E%3Cpath d='M0 265 C150 105 235 305 375 165 S640 110 950 215'/%3E%3Cpath d='M0 220 C190 80 305 260 460 130 S730 80 950 170'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.16'%3E%3Crect x='120' y='155' width='28' height='105'/%3E%3Crect x='158' y='120' width='34' height='140'/%3E%3Crect x='225' y='170' width='38' height='90'/%3E%3Crect x='335' y='110' width='48' height='150'/%3E%3Crect x='410' y='155' width='34' height='105'/%3E%3Crect x='580' y='130' width='40' height='130'/%3E%3Crect x='655' y='100' width='58' height='160'/%3E%3Crect x='735' y='145' width='42' height='115'/%3E%3C/g%3E%3Cg fill='%2300d5ff' fill-opacity='.85'%3E%3Ccircle cx='150' cy='165' r='5'/%3E%3Ccircle cx='375' cy='165' r='5'/%3E%3Ccircle cx='585' cy='110' r='5'/%3E%3Ccircle cx='760' cy='140' r='5'/%3E%3C/g%3E%3C/svg%3E") center bottom/cover no-repeat}.erma-hero-brand{align-items:flex-start}.erma-hero-brand .hero-title h1{font-size:48px}.erma-hero-brand .hero-title p{color:#8df8ff}.erma-hero-footer{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}.erma-hero-footer div{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.20);border-radius:18px;padding:15px 17px;backdrop-filter:blur(10px)}.erma-hero-footer b{display:block;color:#fff;margin-bottom:6px}.erma-hero-footer small{display:block;color:#d8f3ff;line-height:1.35}.erma-login-panel{background:linear-gradient(135deg,#ffffff,#f1f7ff)}.erma-login-card{border:1px solid #d7e4f4;box-shadow:0 32px 80px rgba(7,40,84,.16);border-radius:32px}.erma-login-card button{background:linear-gradient(90deg,#0ea5e9,#0756c7);box-shadow:0 14px 28px rgba(7,86,199,.22)}.erma-login-card button:hover{filter:brightness(1.03)}.top-actions a{background:linear-gradient(90deg,#eaf5ff,#f7fbff);border-color:#d6e6f5}.cards .card{border:1px solid #dfe9f6}.module-card,.quick-tile{border-color:#dce8f5}.money,.money-left,td.money,.card span.money{text-align:left!important}.dashboard-grid{grid-template-columns:1fr 1.2fr .85fr}.footer-brand-note{font-size:12px;color:#8ea4bc;text-align:center;padding:10px 0}@media(max-width:1200px){.hero-brand-img{width:115px;height:115px}.erma-hero-brand .hero-title h1{font-size:38px}.erma-hero-footer{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:800px){.sidebar-logo-img{width:70px;height:70px}.erma-brand{justify-content:flex-start}.hero-brand-img{width:100px;height:100px}.erma-hero-brand{display:block}.erma-hero-brand .hero-title{margin-top:14px}.erma-hero-brand .hero-title h1{font-size:32px}}

/* ==========================================================
   02082026 v6.5 - Erma logo boyut düzeltmesi
   Logolar artık her ekranda küçük, sabit ve orantılı kullanılır.
   ========================================================== */
img.brand-img,
.sidebar-logo-img,
.hero-brand-img,
.login-card-logo{
  object-fit:contain!important;
  max-width:100%!important;
}
.erma-hero-brand-compact{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  width:auto!important;
  max-width:360px!important;
}
.erma-logo-badge{
  width:74px!important;
  height:74px!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.96)!important;
  padding:8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 14px 30px rgba(0,0,0,.18)!important;
  flex:0 0 74px!important;
}
.erma-logo-badge .hero-brand-img,
.hero-brand-img{
  width:58px!important;
  height:58px!important;
  max-width:58px!important;
  max-height:58px!important;
  padding:0!important;
  margin:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:block!important;
}
.hero-brand-text b{
  display:block!important;
  color:#fff!important;
  font-size:24px!important;
  line-height:1.05!important;
  letter-spacing:.2px!important;
}
.hero-brand-text small{
  display:block!important;
  margin-top:5px!important;
  color:#bde9ff!important;
  font-weight:800!important;
  font-size:13px!important;
}
.erma-login-main-title{
  margin-top:28px!important;
}
.erma-login-main-title h1{
  font-size:52px!important;
  line-height:1.08!important;
  margin:0!important;
  max-width:560px!important;
}
.erma-login-main-title p{
  margin-top:22px!important;
  max-width:430px!important;
  color:#4df2ff!important;
}
.login-card-brand{
  margin-bottom:18px!important;
}
.login-card-logo{
  width:128px!important;
  height:auto!important;
  max-height:88px!important;
  display:block!important;
  margin:0 auto 10px!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.sidebar-logo-img{
  width:46px!important;
  height:46px!important;
  max-width:46px!important;
  max-height:46px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.95)!important;
  padding:5px!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16)!important;
}
.erma-brand{
  gap:10px!important;
  padding:8px 8px 16px!important;
}
.erma-brand b{
  font-size:19px!important;
}
.erma-brand small{
  font-size:11.5px!important;
}
@media(max-width:1200px){
  .erma-login-main-title h1{font-size:42px!important}
  .erma-logo-badge{width:64px!important;height:64px!important;flex-basis:64px!important}
  .erma-logo-badge .hero-brand-img,.hero-brand-img{width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important}
}
@media(max-width:800px){
  .login-page{grid-template-columns:1fr!important;overflow:auto!important}
  .login-hero{min-height:auto!important;padding:32px!important}
  .erma-login-main-title h1{font-size:34px!important}
  .login-card-logo{width:112px!important}
}


/* ============================================================
   ERMA LOGO KESIN DUZELTME - 02082026 v6.6
   Amaç: Logo hiçbir ekranda kırpılmayacak, cover kullanılmayacak.
   Orijinal logo img etiketiyle ve contain mantığıyla gösterilir.
   ============================================================ */
.erma-logo-responsive,
.erma-logo-responsive img,
.brand-img,
.hero-brand-img,
.sidebar-logo-img,
.login-card-logo{
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}
.erma-logo-badge{
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}
.erma-logo-hero{
  width: 150px !important;
  max-width: 150px !important;
  height: auto !important;
  max-height: 150px !important;
  flex: 0 0 auto !important;
}
.erma-logo-sidebar{
  width: 64px !important;
  max-width: 64px !important;
  height: auto !important;
  max-height: 64px !important;
  flex: 0 0 auto !important;
}
.erma-logo-card{
  width: 150px !important;
  max-width: 150px !important;
  height: auto !important;
  max-height: 150px !important;
  margin: 0 auto 10px !important;
}
.erma-brand{
  overflow: visible !important;
}
.erma-hero-brand-compact{
  display:flex !important;
  align-items:center !important;
  gap:16px !important;
}
@media(max-width:1200px){
  .erma-logo-hero{width:128px !important;max-width:128px !important;max-height:128px !important;}
  .erma-logo-card{width:130px !important;max-width:130px !important;max-height:130px !important;}
}
@media(max-width:800px){
  .erma-logo-hero{width:110px !important;max-width:110px !important;max-height:110px !important;}
  .erma-logo-sidebar{width:54px !important;max-width:54px !important;max-height:54px !important;}
  .erma-logo-card{width:118px !important;max-width:118px !important;max-height:118px !important;}
}

/* ============================================================
   ERMA GORSEL YUMUSATMA - 02082026 v6.7
   Logo ve ana ekran elemanları yuvarlatıldı.
   Logo kırpılmaz; contain korunur, sadece köşeleri yumuşatılır.
   ============================================================ */
.erma-logo-responsive,
.hero-brand-img,
.sidebar-logo-img,
.login-card-logo,
.erma-logo-hero,
.erma-logo-sidebar,
.erma-logo-card{
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.96) !important;
  padding: 5px !important;
  box-shadow: 0 10px 26px rgba(8,42,77,.14) !important;
  overflow: hidden !important;
}
.erma-logo-hero{
  width: 118px !important;
  max-width: 118px !important;
  max-height: 118px !important;
}
.erma-logo-card{
  width: 118px !important;
  max-width: 118px !important;
  max-height: 118px !important;
  border-radius: 20px !important;
  margin: 0 auto 14px !important;
}
.erma-logo-sidebar{
  width: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 16px !important;
}
.hero-module,
.login-card,
.card,
.panel,
.hero-strip,
.table-wrap,
.form-card,
.quick-card,
.summary-card,
.metric-card,
.kpi-card{
  border-radius: 24px !important;
}
.btn,
button,
.login-card button,
.action-btn,
.btn-primary,
.btn-secondary,
.top-actions a,
.search-box,
.login-input input,
input,
select,
textarea{
  border-radius: 14px !important;
}
.sidebar a{
  border-radius: 16px !important;
}
.topbar{
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
@media(max-width:1200px){
  .erma-logo-hero{width:104px !important;max-width:104px !important;max-height:104px !important;}
  .erma-logo-card{width:108px !important;max-width:108px !important;max-height:108px !important;}
}
@media(max-width:800px){
  .erma-logo-hero{width:92px !important;max-width:92px !important;max-height:92px !important;border-radius:16px!important;}
  .erma-logo-sidebar{width:46px !important;max-width:46px !important;max-height:46px !important;border-radius:14px!important;}
  .erma-logo-card{width:96px !important;max-width:96px !important;max-height:96px !important;border-radius:16px!important;}
}

/* ============================================================
   ERMA LOGO GERCEK ROUNDED DUZELTME - 02082026 v6.8
   Önceki sürümde img üzerine radius verilmişti; bazı alanlarda logo
   yine düz/kırpık görünebiliyordu. Bu sürümde logo ayrı bir rounded
   kutu içine alındı ve overflow hidden + clip-path ile kesin yuvarlandı.
   ============================================================ */
.erma-logo-box{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  background:#ffffff !important;
  border:1px solid rgba(226,232,240,.88) !important;
  box-shadow:0 12px 26px rgba(8,42,77,.16) !important;
  line-height:0 !important;
  flex:0 0 auto !important;
  clip-path:inset(0 round 22px) !important;
}
.erma-logo-box img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  padding:0 !important;
}
.erma-logo-box-hero{
  width:118px !important;
  height:114px !important;
  border-radius:24px !important;
  clip-path:inset(0 round 24px) !important;
  padding:5px !important;
}
.erma-logo-box-sidebar{
  width:58px !important;
  height:58px !important;
  border-radius:18px !important;
  clip-path:inset(0 round 18px) !important;
  padding:3px !important;
}
.erma-logo-box-card{
  width:130px !important;
  height:124px !important;
  border-radius:24px !important;
  clip-path:inset(0 round 24px) !important;
  padding:5px !important;
  margin:0 auto 14px !important;
}
.login-card-brand{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
}
.erma-hero-brand-compact{
  align-items:center !important;
}
@media(max-width:1200px){
  .erma-logo-box-hero{width:104px!important;height:100px!important;border-radius:22px!important;clip-path:inset(0 round 22px)!important;}
  .erma-logo-box-card{width:116px!important;height:112px!important;border-radius:22px!important;clip-path:inset(0 round 22px)!important;}
}
@media(max-width:800px){
  .erma-logo-box-hero{width:92px!important;height:88px!important;border-radius:18px!important;clip-path:inset(0 round 18px)!important;}
  .erma-logo-box-sidebar{width:48px!important;height:48px!important;border-radius:16px!important;clip-path:inset(0 round 16px)!important;}
  .erma-logo-box-card{width:100px!important;height:96px!important;border-radius:18px!important;clip-path:inset(0 round 18px)!important;}
}

/* ============================================================
   ERMA LOGO KESIN BOYUT SINIRI - 02082026 v6.9
   Logo artık hiçbir ekranda büyümeyecek. Rounded görünüm kutudadır.
   ============================================================ */
.erma-logo-box{
  overflow:hidden !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
  box-sizing:border-box !important;
  line-height:0 !important;
  flex-grow:0 !important;
  flex-shrink:0 !important;
}
.erma-logo-box img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
  padding:0 !important;
  margin:0 !important;
}
.erma-logo-box-hero{
  width:128px !important;
  max-width:128px !important;
  height:82px !important;
  max-height:82px !important;
  border-radius:18px !important;
  padding:6px !important;
}
.erma-logo-box-card{
  width:135px !important;
  max-width:135px !important;
  height:86px !important;
  max-height:86px !important;
  border-radius:18px !important;
  padding:6px !important;
  margin:0 auto 12px !important;
}
.erma-logo-box-sidebar{
  width:52px !important;
  max-width:52px !important;
  height:52px !important;
  max-height:52px !important;
  border-radius:14px !important;
  padding:4px !important;
}
@media(max-width:800px){
  .erma-logo-box-hero{width:104px!important;max-width:104px!important;height:68px!important;max-height:68px!important;}
  .erma-logo-box-card{width:118px!important;max-width:118px!important;height:76px!important;max-height:76px!important;}
  .erma-logo-box-sidebar{width:46px!important;max-width:46px!important;height:46px!important;max-height:46px!important;}
}


/* ============================================================
   ERMA LOGO BOYUT NETLESTIRME - 02082026 v6.10
   Kullanıcı isteği: login sol 135x135, login kart 125x125, sol menü 86x86.
   ============================================================ */
.erma-logo-box{
  overflow:hidden !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
  box-sizing:border-box !important;
  line-height:0 !important;
  flex-grow:0 !important;
  flex-shrink:0 !important;
}
.erma-logo-box img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
  border:0 !important;
  box-shadow:none !important;
}
.erma-logo-box-hero{
  width:135px !important;
  max-width:135px !important;
  min-width:135px !important;
  height:135px !important;
  max-height:135px !important;
  min-height:135px !important;
  flex:0 0 135px !important;
  border-radius:22px !important;
  padding:7px !important;
}
.erma-logo-box-card{
  width:125px !important;
  max-width:125px !important;
  min-width:125px !important;
  height:125px !important;
  max-height:125px !important;
  min-height:125px !important;
  flex:0 0 125px !important;
  border-radius:22px !important;
  padding:7px !important;
  margin:0 auto 12px !important;
}
.erma-logo-box-sidebar{
  width:86px !important;
  max-width:86px !important;
  min-width:86px !important;
  height:86px !important;
  max-height:86px !important;
  min-height:86px !important;
  flex:0 0 86px !important;
  border-radius:22px !important;
  padding:6px !important;
}
@media(max-width:800px){
  .erma-logo-box-hero{width:110px!important;max-width:110px!important;min-width:110px!important;height:110px!important;max-height:110px!important;min-height:110px!important;flex-basis:110px!important;}
  .erma-logo-box-card{width:110px!important;max-width:110px!important;min-width:110px!important;height:110px!important;max-height:110px!important;min-height:110px!important;flex-basis:110px!important;}
  .erma-logo-box-sidebar{width:64px!important;max-width:64px!important;min-width:64px!important;height:64px!important;max-height:64px!important;min-height:64px!important;flex-basis:64px!important;}
}


/* ============================================================
   ERMA LOGO BOYUT NETLESTIRME - 02082026 v6.11
   Login kart logo 125x125 olarak güncellendi.
   ============================================================ */
.erma-logo-box-card{
  width:125px !important;
  max-width:125px !important;
  min-width:125px !important;
  height:125px !important;
  max-height:125px !important;
  min-height:125px !important;
  flex:0 0 125px !important;
  border-radius:22px !important;
  padding:7px !important;
  margin:0 auto 12px !important;
}
@media(max-width:800px){
  .erma-logo-box-card{width:105px!important;max-width:105px!important;min-width:105px!important;height:105px!important;max-height:105px!important;min-height:105px!important;flex-basis:105px!important;}
}


/* ============================================================
   ERMA LOGIN EKRAN SIGMA DUZELTME - 02082026 v6.12
   Amaç: Login ekranı masaüstünde ekrana tam sığsın.
   Not: Logo ölçüleri kullanıcı isteğine göre korunur:
   - Login sol logo: 135x135
   - Login kart logo: 125x125
   - Sol menü logo: 86x86
   ============================================================ */
html,
body{
  width:100% !important;
  min-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  overflow-x:hidden !important;
}
body.login-page{
  height:100vh !important;
  min-height:100vh !important;
  overflow:hidden !important;
}
.login-page.erma-login-page{
  height:100vh !important;
  min-height:100vh !important;
  display:grid !important;
  grid-template-columns:minmax(0,1.16fr) minmax(420px,.84fr) !important;
  padding:0 !important;
  gap:0 !important;
  overflow:hidden !important;
}
.login-hero.erma-login-hero{
  height:100vh !important;
  min-height:0 !important;
  max-height:100vh !important;
  padding:28px 44px 24px !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
  gap:14px !important;
}
.login-panel.erma-login-panel{
  position:relative !important;
  height:100vh !important;
  min-height:0 !important;
  max-height:100vh !important;
  padding:22px 32px 34px !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.login-card.erma-login-card{
  width:100% !important;
  max-width:420px !important;
  max-height:calc(100vh - 72px) !important;
  overflow-y:auto !important;
  padding:24px 30px 26px !important;
  border-radius:28px !important;
}
.login-card.erma-login-card::-webkit-scrollbar{width:6px}
.login-card.erma-login-card::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.login-card-brand{margin-bottom:8px !important}
.login-card h2{
  font-size:24px !important;
  margin:0 0 5px !important;
}
.login-card .sub{
  margin:0 0 14px !important;
  font-size:13px !important;
}
.login-card label{
  margin:10px 0 6px !important;
  font-size:13px !important;
}
.login-input input{
  height:46px !important;
  font-size:14px !important;
}
.login-options{
  margin:12px 0 4px !important;
}
.login-card button{
  height:48px !important;
  margin-top:10px !important;
}
.db-test{
  margin-top:10px !important;
  font-size:13px !important;
}
.login-footer{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:9px !important;
  font-size:12px !important;
  pointer-events:none !important;
}
.erma-hero-brand-compact{
  flex:0 0 auto !important;
  max-width:100% !important;
}
.erma-login-main-title{
  margin-top:10px !important;
  flex:0 0 auto !important;
}
.erma-login-main-title h1{
  font-size:clamp(34px,4.2vw,52px) !important;
  line-height:1.03 !important;
  margin:0 !important;
}
.erma-login-main-title p{
  margin-top:12px !important;
  font-size:clamp(14px,1.4vw,18px) !important;
}
.hero-text{
  flex:0 0 auto !important;
}
.hero-text h2{
  font-size:clamp(20px,2vw,26px) !important;
  margin:0 0 6px !important;
}
.hero-text p{
  font-size:15px !important;
  line-height:1.45 !important;
  margin:0 !important;
}
.hero-modules{
  flex:0 0 auto !important;
  gap:12px !important;
}
.hero-module{
  padding:13px 12px !important;
  border-radius:18px !important;
}
.hero-module .ico{
  font-size:24px !important;
  margin-bottom:6px !important;
}
.hero-module b{
  font-size:14px !important;
}
.hero-module small{
  font-size:11.5px !important;
  margin-top:5px !important;
}
.erma-hero-footer{
  flex:0 0 auto !important;
  gap:10px !important;
  margin-top:0 !important;
}
.erma-hero-footer div{
  padding:10px 12px !important;
  border-radius:14px !important;
}
.erma-hero-footer b{
  margin-bottom:3px !important;
  font-size:13px !important;
}
.erma-hero-footer small{
  font-size:11px !important;
}
.erma-logo-box-hero{
  width:135px !important;
  max-width:135px !important;
  min-width:135px !important;
  height:135px !important;
  max-height:135px !important;
  min-height:135px !important;
  flex:0 0 135px !important;
}
.erma-logo-box-card{
  width:125px !important;
  max-width:125px !important;
  min-width:125px !important;
  height:125px !important;
  max-height:125px !important;
  min-height:125px !important;
  flex:0 0 125px !important;
}
.erma-logo-box-sidebar{
  width:86px !important;
  max-width:86px !important;
  min-width:86px !important;
  height:86px !important;
  max-height:86px !important;
  min-height:86px !important;
  flex:0 0 86px !important;
}

@media(max-height:760px){
  .login-hero.erma-login-hero{padding:20px 36px 18px !important;gap:10px !important;}
  .login-card.erma-login-card{max-width:400px !important;padding:18px 26px 20px !important;}
  .erma-logo-box-hero{width:112px!important;max-width:112px!important;min-width:112px!important;height:112px!important;max-height:112px!important;min-height:112px!important;flex-basis:112px!important;}
  .erma-logo-box-card{width:96px!important;max-width:96px!important;min-width:96px!important;height:96px!important;max-height:96px!important;min-height:96px!important;flex-basis:96px!important;}
  .erma-login-main-title h1{font-size:38px !important;}
  .hero-text h2{font-size:20px !important;}
  .hero-text p{font-size:13px !important;line-height:1.35 !important;}
  .hero-module{padding:10px 9px !important;}
  .erma-hero-footer div{padding:8px 10px !important;}
}
@media(max-height:650px){
  .hero-text{display:none !important;}
  .erma-hero-footer{display:none !important;}
  .hero-modules{grid-template-columns:repeat(4,minmax(105px,1fr)) !important;}
  .login-card.erma-login-card{padding:16px 24px 18px !important;}
  .login-card .sub{display:none !important;}
  .erma-logo-box-card{width:82px!important;max-width:82px!important;min-width:82px!important;height:82px!important;max-height:82px!important;min-height:82px!important;flex-basis:82px!important;margin-bottom:8px!important;}
}
@media(max-width:1000px){
  .login-page.erma-login-page{
    grid-template-columns:1fr !important;
    height:auto !important;
    min-height:100vh !important;
    overflow:auto !important;
  }
  body.login-page{
    height:auto !important;
    overflow:auto !important;
  }
  .login-hero.erma-login-hero{
    height:auto !important;
    max-height:none !important;
    min-height:auto !important;
    padding:24px !important;
  }
  .login-panel.erma-login-panel{
    height:auto !important;
    max-height:none !important;
    min-height:auto !important;
    padding:24px 18px 42px !important;
  }
  .login-card.erma-login-card{
    max-height:none !important;
    overflow:visible !important;
  }
  .login-footer{position:static !important;margin-top:10px !important;}
}


/* ============================================================
   EMLAK ESKI MASAUSTU RENK UYUMU - 02082026 v6.14
   Yeşil: seçimli alan, Beyaz: elle giriş, Sarı: hesaplanan alan.
   Mevcut müşterilerin alışık olduğu renk mantığı korunur.
   ============================================================ */
.emlak-beyan-card .selective input,
.emlak-beyan-card .selective select,
.emlak-beyan-card .selective textarea{
  background:#d9f7d9 !important;
  border-color:#6fcf7a !important;
  color:#143b1b !important;
}
.emlak-beyan-card .manual input,
.emlak-beyan-card .manual select,
.emlak-beyan-card .manual textarea{
  background:#ffffff !important;
  border-color:#cfd8e3 !important;
  color:#172033 !important;
}
.emlak-beyan-card .calculated input,
.emlak-beyan-card .calculated select,
.emlak-beyan-card .calculated textarea,
.emlak-beyan-card input[readonly].js-result{
  background:#fff2a8 !important;
  border-color:#d9ad22 !important;
  color:#3d2f00 !important;
  font-weight:900 !important;
}
.emlak-beyan-card .calculated input[readonly]{
  cursor:not-allowed !important;
}
.legend-green{background:#d9f7d9!important;color:#14532d!important;border-color:#6fcf7a!important}
.legend-white{background:#fff!important;color:#334155!important;border-color:#cfd8e3!important}
.legend-yellow{background:#fff2a8!important;color:#713f12!important;border-color:#d9ad22!important}

/* ============================================================
   02082026 v6.17 - Emlak liste / menü düzeltmeleri
   - Sol menü tamamen görünsün diye scroll aktif.
   - Matrah ve para alanları sola yaslı.
   - Sicil listesi sayfalama görünümü.
   ============================================================ */
.sidebar.erma-sidebar,
.erma-sidebar{
  height:100vh !important;
  max-height:100vh !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  position:sticky !important;
  top:0 !important;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.45) rgba(255,255,255,.08);
}
.erma-sidebar::-webkit-scrollbar{width:8px}
.erma-sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.42);border-radius:999px}
.erma-sidebar::-webkit-scrollbar-track{background:rgba(255,255,255,.08)}
.erma-sidebar nav{
  padding-bottom:180px !important;
}
.sidebar:after,
.erma-sidebar:before{
  pointer-events:none !important;
}
.money,
td.money,
th.money,
.money-left,
td.money-left,
th.money-left{
  text-align:left !important;
  direction:ltr !important;
  white-space:nowrap !important;
}
.pager-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  margin:12px 0;
  background:#f8fbff;
  border:1px solid #dbe7f5;
  border-radius:16px;
}
.pager-bar.bottom{margin-top:14px;margin-bottom:0}
.pager-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.btn.disabled,
a.disabled{
  opacity:.45 !important;
  pointer-events:none !important;
  cursor:not-allowed !important;
}
@media(max-width:800px){
  .sidebar.erma-sidebar,.erma-sidebar{height:auto!important;max-height:none!important;position:relative!important;}
  .pager-bar{align-items:flex-start;flex-direction:column;}
}


/* ============================================================
   02082026 v6.18 - Açılan listelerde sayfalama
   Detay ekranındaki bina / arsa / arazi / tahakkuk listeleri
   sayfayı aşağı doğru uzatmasın diye tablo içi sayfalama.
   ============================================================ */
.paged-table-wrap{
  overflow-x:auto !important;
  overflow-y:hidden !important;
  border-radius:16px;
}
.client-pager-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  margin:10px 0 2px 0;
  background:#f8fbff;
  border:1px solid #dbe7f5;
  border-radius:14px;
}
.client-pager-info{
  color:#334155;
  font-weight:800;
  font-size:13px;
}
.client-pager-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.client-pager-actions select{
  height:34px;
  border:1px solid #cbd5e1;
  background:#fff;
  border-radius:10px;
  padding:0 8px;
  color:#0f172a;
  font-weight:800;
}
.client-pager-label{
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
.client-pager-actions button:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.beyan-panel .table-wrap,
.panel .paged-table-wrap{
  max-height:none !important;
}
@media(max-width:800px){
  .client-pager-bar{align-items:flex-start;flex-direction:column;}
  .client-pager-actions{width:100%;}
}


/* ============================================================
   08082026 v6.19 - Pasif menü + sayısal/parasal sağ hizalama
   - Altı boş modüller pasif görünsün, tıklanmasın.
   - Parasal ve sayısal değerler sağa yaslansın.
   ============================================================ */
.sidebar a.nav-disabled,
.erma-sidebar nav a.nav-disabled{
  opacity:.48 !important;
  cursor:not-allowed !important;
  pointer-events:none !important;
  background:rgba(255,255,255,.035) !important;
  border-color:rgba(255,255,255,.05) !important;
  color:#a8bed4 !important;
  transform:none !important;
  box-shadow:none !important;
}
.sidebar a.nav-disabled em,
.erma-sidebar nav a.nav-disabled em{
  margin-left:auto;
  font-style:normal;
  font-size:10px;
  font-weight:900;
  color:#dbeafe;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14);
  padding:3px 7px;
  border-radius:999px;
}
.sidebar a.nav-disabled:hover,
.erma-sidebar nav a.nav-disabled:hover{
  transform:none !important;
  background:rgba(255,255,255,.035) !important;
}
.money,
td.money,
th.money,
.money-left,
td.money-left,
th.money-left,
.num,
td.num,
th.num,
.numeric,
td.numeric,
th.numeric{
  text-align:right !important;
  direction:ltr !important;
  white-space:nowrap !important;
  font-variant-numeric:tabular-nums;
}
table td.money, table td.money-left, table td.num, table td.numeric{
  font-weight:800;
  color:#0f172a;
}
table th.money, table th.money-left, table th.num, table th.numeric{
  text-align:right !important;
}


/* ============================================================
   08082026 v6.20 - Yönetim Paneli ve Emlak linkleri boş kalmasın
   - Dashboard ve Emlak ana sayfalarına temel kutular/akış eklendi.
   - Sayısal ve parasal alanlar sağ hizalı kalır.
   ============================================================ */
.dashboard-home-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.dashboard-home-grid,
.emlak-start-grid{
  align-items:stretch;
  margin-bottom:22px;
}
.module-grid-2{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
.workflow-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.workflow-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:13px 14px;
  border:1px solid #dbe7f5;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  text-decoration:none;
  color:#0f172a;
  transition:.15s;
}
.workflow-item:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(8,42,77,.08);
  border-color:#bae6fd;
}
.workflow-item>span{
  width:32px;
  height:32px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0ea5e9,#2563eb);
  color:#fff;
  font-weight:900;
  flex:0 0 32px;
}
.workflow-item b{display:block;font-size:14px;margin-bottom:3px;color:#10233f}
.workflow-item small{display:block;line-height:1.35;color:#64748b}
.empty-cell{
  text-align:center !important;
  color:#64748b;
  padding:22px !important;
  font-weight:800;
  background:#f8fbff;
}
.dashboard-cards .card span.num,
.card span.num{
  display:block;
  text-align:right !important;
  font-variant-numeric:tabular-nums;
  font-size:26px;
  font-weight:900;
  color:#0f172a;
  margin-top:4px;
}
@media(max-width:1100px){
  .dashboard-home-hero{display:block;}
  .module-grid-2{grid-template-columns:1fr !important;}
}

/* ============================================================
   08082026 v6.22 - Aktif Menü / Aktif Sayfa Göstergesi
   Hangi ekranda olunduğu sol menüde ve üst başlıkta net görünür.
   ============================================================ */
.sidebar a:first-of-type:not(.is-active),
.erma-sidebar nav a:first-of-type:not(.is-active){
  background:transparent !important;
  box-shadow:none !important;
}
.sidebar a.is-active,
.erma-sidebar nav a.is-active{
  position:relative !important;
  background:linear-gradient(90deg,#00b8d9,#2563eb) !important;
  color:#fff !important;
  border-color:rgba(255,255,255,.22) !important;
  box-shadow:0 14px 30px rgba(0,184,217,.28) !important;
  transform:translateX(3px) !important;
}
.sidebar a.is-active::before,
.erma-sidebar nav a.is-active::before{
  content:"";
  position:absolute;
  left:-7px;
  top:9px;
  bottom:9px;
  width:4px;
  border-radius:999px;
  background:#67e8f9;
  box-shadow:0 0 14px rgba(103,232,249,.75);
}
.sidebar a.is-active .nav-ico,
.erma-sidebar nav a.is-active .nav-ico{
  background:rgba(255,255,255,.18);
  border-radius:11px;
  width:30px;
  height:30px;
  line-height:30px;
  text-align:center;
}
.top-title b{
  font-size:18px !important;
}
.top-title small{
  display:flex !important;
  align-items:center;
  gap:7px;
  color:#0f75bc !important;
  font-weight:800;
}
.active-page-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  display:inline-block;
  background:#12d6c5;
  box-shadow:0 0 0 4px rgba(18,214,197,.16);
}
.nav-disabled.is-active{
  background:rgba(255,255,255,.035) !important;
  box-shadow:none !important;
  transform:none !important;
}


/* v6.23 - Emlak rapor sayfası */
.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.report-card{display:flex;gap:16px;align-items:flex-start;background:#fff;border:1px solid #dfe8f3;border-radius:24px;padding:20px;box-shadow:0 10px 26px rgba(8,42,77,.07)}
.report-card h3{margin:0 0 8px;font-size:18px;color:#10233f}.report-card p{margin:0;color:#64748b;line-height:1.45}
.report-icon{width:56px;height:56px;border-radius:20px;background:#e9f8fc;color:#007f96;display:grid;place-items:center;font-size:28px;flex:0 0 auto}.report-icon.green{background:#e9fbf3;color:#078954}.report-icon.orange{background:#fff4e5;color:#ca6500}.report-icon.purple{background:#f1edff;color:#6941c6}.report-icon.blue{background:#eaf2ff;color:#0756c7}
.report-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.report-filter{align-items:end}.note-panel p{color:#64748b;margin:0}.btn.disabled{opacity:.55;pointer-events:none;cursor:not-allowed}.muted-card{background:linear-gradient(180deg,#fff,#f8fbff)}
@media(max-width:1000px){.report-grid{grid-template-columns:1fr}}

/* ============================================================
   08082026 v6.24 - Emlak rapor çıktıları
   Mevcut örnek raporlara göre yazdırılabilir HTML raporları.
   ============================================================ */
.report-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.report-toolbar h1{margin:0 0 6px;color:#10233f}.report-toolbar p{margin:0;color:#64748b}.report-buttons{display:flex;gap:10px;flex-wrap:wrap}.align-end{display:flex;align-items:end}.print-report{background:#fff;border:1px solid #d7e4f4;border-radius:18px;padding:22px;box-shadow:0 10px 26px rgba(8,42,77,.07);overflow:auto}.print-report h2{text-align:center;margin:0 0 14px;font-size:18px;color:#111827}.official-head{text-align:center;line-height:1.15}.official-head h2,.official-head h3{margin:2px 0;color:#111827}.official-line{display:flex;justify-content:space-between;margin:14px 0;color:#111827}.official-text{margin:14px 0;color:#111827;line-height:1.5}.official-sign{text-align:right;margin-top:28px;font-weight:800}.classic-report-table{width:100%;border-collapse:collapse;background:#fff;color:#111827;font-size:13px}.classic-report-table th,.classic-report-table td{border:1px solid #222;padding:5px 6px;vertical-align:middle}.classic-report-table th{font-weight:800;background:#f8fafc;text-align:left}.classic-report-table .money,.classic-report-table .num,.classic-report-table .numeric{text-align:right!important;font-variant-numeric:tabular-nums}.classic-report-table .strong{font-weight:900}.rayic-table{font-size:12px}.compact-table th{width:24%;background:#fff}.beyan-top{display:grid;grid-template-columns:1.2fr .7fr 100px;border:2px solid #333;margin-bottom:12px}.beyan-top>div{padding:8px;border-right:1px solid #333}.beyan-top>div:last-child{border-right:0}.year-box{display:grid;place-items:center;font-weight:900}.beyan-print h3{font-size:15px;margin:13px 0 7px;color:#111827}.beyan-footer{display:flex;justify-content:space-between;margin-top:80px;color:#111827}.alert{background:#fff4e5;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:12px 14px;margin-bottom:14px;font-weight:800}
@media print{.no-print,.sidebar,.topbar{display:none!important}.main,.erma-main,.content,.erma-content{padding:0!important;margin:0!important;background:#fff!important}.app-shell{display:block!important}.print-report{box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important;overflow:visible!important}.classic-report-table{font-size:10px}.report-a4-landscape{width:100%;}.report-a4-portrait{max-width:760px;margin:0 auto;}@page{size:A4;margin:10mm}body{background:#fff!important;color:#000!important}}

/* ============================================================
   08082026 v6.26 - Emlak genel/ara tahakkuk preview hazırlığı
   ============================================================ */
.error-box{
  background:#fff1f2;
  color:#9f1239;
  border:1px solid #fecdd3;
  padding:15px 17px;
  border-radius:18px;
  margin-bottom:16px;
  box-shadow:var(--shadow2);
  font-weight:800;
}
.compact-workflow .workflow-item{pointer-events:none;}

.selection-info{margin:8px 0 0;padding:8px 12px;border-radius:12px;background:#ecfeff;color:#155e75;border:1px solid #a5f3fc;display:inline-block}
.report-filter-buttons{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end}

/* 08082026 v6.28 - Rapor resmi form güncellemesi ve sabit belediye başlığı */
.official-head h4{margin:4px 0 0;color:#111827;font-size:14px;font-weight:900;letter-spacing:.2px}.indent-text{text-indent:32px}.petition-sign{display:flex;justify-content:space-between;margin:34px 22px 14px;color:#111827;font-weight:800}.page-separator{height:1px;background:#111827;margin:26px 0 18px;opacity:.35}.request-table th{width:22%}.rayic-print .official-head,.official-form .official-head{text-align:center}.official-footer-line{display:flex;gap:24px;justify-content:space-between;margin-top:10px;font-size:11px;color:#111827}.official-beyan-top{grid-template-columns:1.25fr .55fr 90px}.form-table th{font-weight:900}.numbered-form-table td:first-child{width:42px}.declaration-text{margin-top:16px;line-height:1.45;color:#111827;text-indent:28px;font-size:13px}.classic-report-table td.numeric,.classic-report-table th.numeric{text-align:right!important;font-variant-numeric:tabular-nums}.classic-report-table td.money,.classic-report-table th.money{text-align:right!important;font-variant-numeric:tabular-nums}
@media print{.page-separator{page-break-after:always;background:transparent;margin:0;height:0}.petition-sign{margin-top:70px}.official-footer-line{font-size:9px}.declaration-text{font-size:10px}.official-head h4{font-size:12px}}

/* v6.29 - Rayiç cevap yazısı ve toplu emlak beyanı */
.official-answer{min-height:980px;display:flex;flex-direction:column;}
.answer-meta{display:flex;justify-content:space-between;gap:20px;margin:24px 0 10px;color:#111827;line-height:1.55;}
.single-line{display:block;}
.subtotal-table tfoot td{border-top:2px solid #111827;background:#f8fafc;font-weight:900;}
.report-total-row td{font-weight:900;}
.beyan-list-table{font-size:10.8px;}
.beyan-list-table th,.beyan-list-table td{padding:4px 5px;}
.identity-table{margin-bottom:10px;}
.multi-beyan-report{overflow:visible;}
.paged-print-table thead{display:table-header-group;}
.paged-print-table tfoot{display:table-footer-group;}
.paged-print-table tr{break-inside:avoid;page-break-inside:avoid;}
.official-answer .official-sign{margin-top:auto;}
@media print{
  .official-answer{min-height:267mm;}
  .answer-meta{margin-top:20px;}
  .beyan-list-table{font-size:8.7px;}
  .beyan-list-table th,.beyan-list-table td{padding:3px 4px;}
  .multi-beyan-report{max-width:none;width:100%;}
  .paged-print-table{page-break-inside:auto;}
  .paged-print-table thead{display:table-header-group;}
  .paged-print-table tfoot{display:table-footer-group;}
  .paged-print-table tr{break-inside:avoid;page-break-inside:avoid;}
  .declaration-text,.beyan-footer{break-inside:avoid;page-break-inside:avoid;}
}

/* 08082026 v6.30 - Rayiç bedel resmi cevap yazısı görünümü */
.rayic-print.official-answer{
  min-height:980px;
  padding:34px 38px;
}
.official-addressee{
  text-align:center;
  margin:24px 0 18px;
  color:#111827;
  font-size:14px;
}
.official-letter-text{
  margin:20px 36px 22px;
  text-align:justify;
  line-height:1.75;
  font-size:14px;
}
.official-stamp-sign{
  align-self:flex-end;
  width:210px;
  text-align:center;
  margin-top:52px;
  margin-right:34px;
  color:#111827;
  font-weight:900;
}
.official-stamp-sign .stamp-space{
  height:42px;
}
.official-stamp-sign .stamp-title{
  border-top:1px solid transparent;
  padding-top:4px;
}
.municipality-separator{
  border-top:1px solid #111827;
  margin:32px 0 8px;
  height:1px;
}
.rayic-print.official-answer .municipality-separator{
  margin-top:auto;
}
.official-footer-info{
  text-align:center;
  color:#111827;
  font-size:11px;
  line-height:1.45;
  padding-top:4px;
}
.rayic-print .report-total-row td:first-child{
  text-align:right;
}
@media print{
  .rayic-print.official-answer{min-height:267mm;padding:0;}
  .official-addressee{margin:20px 0 15px;font-size:12px;}
  .official-letter-text{margin:18px 28px 20px;font-size:11px;line-height:1.65;}
  .official-stamp-sign{margin-top:42px;margin-right:28px;width:180px;font-size:11px;}
  .official-stamp-sign .stamp-space{height:34px;}
  .municipality-separator{margin-bottom:6px;}
  .official-footer-info{font-size:9px;}
}

/* ============================================================
   08082026 v6.31 - Beyan giriş adres otomatik doldurma ve sayısal hizalama
   ============================================================ */
.money,
td.money,
th.money,
.money-left,
td.money-left,
th.money-left,
.money-input,
.form-grid input[type="number"],
.emlak-beyan-card input[type="number"]{
  text-align:right !important;
  direction:ltr !important;
  white-space:nowrap !important;
}
.emlak-beyan-card .calculated input[readonly],
.emlak-beyan-card .calculated input[readonly].money-input{
  cursor:default !important;
}

/* ============================================================
   08082026 v6.32 - Beyan giriş küçük pencere seçimleri
   Mahalle / sokak seçimleri modal liste üzerinden yapılır.
   ============================================================ */
.lookup-cell.wide{
  grid-column:span 2;
}
.lookup-field{
  display:grid;
  grid-template-columns:1fr 1fr auto auto;
  gap:8px;
  align-items:center;
}
.lookup-field input[readonly]{
  cursor:pointer;
  background:#ecfdf5 !important;
  border-color:#86efac !important;
}
.lookup-help{
  display:block;
  margin-top:6px;
  color:#0f766e;
  font-weight:700;
  line-height:1.35;
}
.btn-mini{
  min-height:36px !important;
  padding:8px 12px !important;
  font-size:12px !important;
  border-radius:11px !important;
  white-space:nowrap;
}
.btn-lookup{
  background:#0f766e !important;
  color:#fff !important;
  border:1px solid #0f766e !important;
}
.lookup-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.lookup-modal.is-open{
  display:flex;
}
.lookup-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.52);
  backdrop-filter:blur(3px);
}
.lookup-modal-box{
  position:relative;
  width:min(920px,96vw);
  max-height:82vh;
  background:#fff;
  border:1px solid #dbeafe;
  border-radius:22px;
  box-shadow:0 30px 80px rgba(15,23,42,.28);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.lookup-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:18px 20px 14px;
  background:linear-gradient(180deg,#f8fbff,#eef9ff);
  border-bottom:1px solid #dbeafe;
}
.lookup-modal-head h3{
  margin:0 0 5px;
  color:#0f172a;
  font-size:19px;
}
.lookup-modal-head p{
  margin:0;
  color:#64748b;
  font-size:13px;
  line-height:1.35;
}
.lookup-close{
  width:36px;
  height:36px;
  border:0;
  border-radius:12px;
  background:#e2e8f0;
  color:#0f172a;
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.lookup-filter-row{
  display:grid;
  grid-template-columns:1fr 160px;
  gap:12px;
  padding:14px 20px;
  border-bottom:1px solid #eef2f7;
}
.lookup-filter-row label{
  display:block;
  margin-bottom:5px;
  color:#334155;
  font-size:12px;
  font-weight:900;
}
.lookup-filter-row input,
.lookup-filter-row select{
  width:100%;
  min-height:38px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  padding:8px 10px;
  outline:none;
  background:#fff;
}
.lookup-table-wrap{
  overflow:auto;
  max-height:50vh;
}
.lookup-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.lookup-table th,
.lookup-table td{
  border-bottom:1px solid #e2e8f0;
  padding:9px 10px;
  text-align:left;
  vertical-align:middle;
}
.lookup-table th{
  position:sticky;
  top:0;
  z-index:1;
  background:#f8fafc;
  color:#334155;
  font-weight:900;
}
.lookup-table tbody tr:hover{
  background:#ecfeff;
}
.lookup-action-cell{
  width:76px;
  text-align:right !important;
}
.lookup-modal-foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px 20px;
  background:#f8fafc;
  border-top:1px solid #e2e8f0;
  color:#475569;
  font-weight:800;
}
@media(max-width:760px){
  .lookup-cell.wide{grid-column:span 1;}
  .lookup-field{grid-template-columns:1fr;}
  .lookup-filter-row{grid-template-columns:1fr;}
  .lookup-table{font-size:12px;}
  .lookup-table th,.lookup-table td{padding:7px 8px;}
}

/* ============================================================
   08082026 v6.33 - Beyan seçimleri modal içinde, alanlar okunabilir
   ============================================================ */
.lookup-field.modal-only{
  grid-template-columns:1fr 1fr auto auto;
  gap:10px;
  align-items:end;
}
.readonly-selection-note{
  margin:0 0 8px;
  padding:8px 10px;
  border:1px dashed #99f6e4;
  border-radius:12px;
  background:#f0fdfa;
  color:#0f766e;
  font-size:12px;
  font-weight:800;
  line-height:1.35;
}
.readonly-field{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.readonly-field span{
  color:#334155;
  font-size:11px;
  font-weight:900;
  letter-spacing:.02em;
}
.lookup-field.modal-only input[readonly],
.emlak-beyan-card .readonly-code input[readonly]{
  cursor:not-allowed !important;
  background:#f8fafc !important;
  color:#0f172a !important;
  border-color:#cbd5e1 !important;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.03);
}
.lookup-field.modal-only input[readonly]:focus,
.emlak-beyan-card .readonly-code input[readonly]:focus{
  outline:none !important;
  box-shadow:0 0 0 3px rgba(14,165,233,.10) !important;
}
.lookup-table tbody tr.lookup-select-row{
  cursor:pointer;
}
.lookup-table tbody tr.lookup-select-row:focus,
.lookup-table tbody tr.lookup-select-row:hover{
  background:#ecfeff;
  outline:2px solid #99f6e4;
  outline-offset:-2px;
}
.lookup-modal-box{
  width:min(1040px,96vw);
}
@media(max-width:760px){
  .lookup-field.modal-only{grid-template-columns:1fr;align-items:stretch;}
}

/* ============================================================
   08082026 v6.34 - Sabit sol menü ve aç/kapat desteği
   ============================================================ */
:root{
  --erma-sidebar-width:288px;
  --erma-sidebar-collapsed-width:86px;
}
.menu-toggle{
  border:0 !important;
  background:#eef8ff !important;
  color:#0b345f !important;
  width:44px !important;
  height:44px !important;
  border-radius:14px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  box-shadow:0 8px 18px rgba(15,23,42,.08) !important;
  line-height:1 !important;
}
.menu-toggle:hover{
  background:#dff3ff !important;
  transform:translateY(-1px);
}
.sidebar-backdrop{
  display:none;
}
@media(min-width:801px){
  body{
    overflow-x:hidden !important;
  }
  .app-shell.erma-shell{
    display:block !important;
    min-height:100vh !important;
    padding-left:var(--erma-sidebar-width) !important;
    transition:padding-left .22s ease !important;
  }
  .app-shell.erma-shell.menu-collapsed{
    padding-left:var(--erma-sidebar-collapsed-width) !important;
  }
  .sidebar.erma-sidebar{
    position:fixed !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:var(--erma-sidebar-width) !important;
    min-width:var(--erma-sidebar-width) !important;
    height:100vh !important;
    max-height:100vh !important;
    z-index:40 !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    padding:16px 12px !important;
    transition:width .22s ease, min-width .22s ease, padding .22s ease !important;
  }
  .sidebar.erma-sidebar .brand.erma-brand{
    flex:0 0 auto !important;
    margin-bottom:8px !important;
  }
  .sidebar.erma-sidebar nav{
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    padding:0 4px 30px 0 !important;
    scrollbar-width:thin;
    scrollbar-color:rgba(125,211,252,.65) rgba(255,255,255,.08);
  }
  .sidebar.erma-sidebar nav::-webkit-scrollbar{
    width:7px;
  }
  .sidebar.erma-sidebar nav::-webkit-scrollbar-track{
    background:rgba(255,255,255,.06);
    border-radius:12px;
  }
  .sidebar.erma-sidebar nav::-webkit-scrollbar-thumb{
    background:rgba(125,211,252,.62);
    border-radius:12px;
  }
  .main.erma-main{
    width:100% !important;
    min-height:100vh !important;
    margin-left:0 !important;
  }
  .app-shell.erma-shell.menu-collapsed .sidebar.erma-sidebar{
    width:var(--erma-sidebar-collapsed-width) !important;
    min-width:var(--erma-sidebar-collapsed-width) !important;
    padding:14px 9px !important;
  }
  .app-shell.erma-shell.menu-collapsed .brand.erma-brand{
    justify-content:center !important;
    padding:4px 0 13px !important;
    gap:0 !important;
  }
  .app-shell.erma-shell.menu-collapsed .brand.erma-brand > div{
    display:none !important;
  }
  .app-shell.erma-shell.menu-collapsed .erma-logo-box-sidebar{
    width:58px !important;
    max-width:58px !important;
    height:58px !important;
    max-height:58px !important;
    flex:0 0 58px !important;
    border-radius:18px !important;
    padding:5px !important;
  }
  .app-shell.erma-shell.menu-collapsed .menu-title{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    height:16px !important;
    margin:12px 0 7px !important;
    font-size:0 !important;
    letter-spacing:0 !important;
    color:transparent !important;
  }
  .app-shell.erma-shell.menu-collapsed .menu-title:after{
    content:"";
    width:28px;
    height:2px;
    border-radius:999px;
    background:rgba(191,219,254,.55);
  }
  .app-shell.erma-shell.menu-collapsed .sidebar a{
    justify-content:center !important;
    gap:0 !important;
    padding:12px 6px !important;
    font-size:0 !important;
    min-height:46px !important;
  }
  .app-shell.erma-shell.menu-collapsed .sidebar a .nav-ico{
    width:100% !important;
    text-align:center !important;
    font-size:22px !important;
  }
  .app-shell.erma-shell.menu-collapsed .sidebar a em{
    display:none !important;
  }
  .app-shell.erma-shell.menu-collapsed .sidebar a:hover{
    transform:none !important;
  }
  .app-shell.erma-shell.menu-collapsed .sidebar a[title]:hover:after{
    content:attr(title);
    position:fixed;
    left:calc(var(--erma-sidebar-collapsed-width) + 10px);
    background:#0f172a;
    color:#fff;
    padding:7px 10px;
    border-radius:10px;
    font-size:12px;
    white-space:nowrap;
    box-shadow:0 12px 28px rgba(15,23,42,.22);
  }
}
@media(max-width:800px){
  body.menu-mobile-open{
    overflow:hidden !important;
  }
  .app-shell.erma-shell{
    display:block !important;
    padding-left:0 !important;
  }
  .sidebar.erma-sidebar{
    position:fixed !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:min(292px,88vw) !important;
    height:100vh !important;
    max-height:100vh !important;
    z-index:80 !important;
    transform:translateX(-105%) !important;
    transition:transform .22s ease !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    padding:16px 12px !important;
  }
  .app-shell.erma-shell.mobile-menu-open .sidebar.erma-sidebar{
    transform:translateX(0) !important;
  }
  .sidebar.erma-sidebar nav{
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    padding-bottom:30px !important;
  }
  .sidebar-backdrop{
    display:none;
    position:fixed;
    inset:0;
    z-index:70;
    background:rgba(15,23,42,.48);
    backdrop-filter:blur(2px);
  }
  .app-shell.erma-shell.mobile-menu-open .sidebar-backdrop{
    display:block;
  }
  .topbar.erma-topbar{
    position:sticky !important;
    top:0 !important;
    z-index:50 !important;
  }
}
/* v6.34 aktif menü düzeltmesi: ilk link otomatik aktif görünmesin */
.sidebar.erma-sidebar nav a.is-active{
  background:linear-gradient(90deg,#00adc4,#095494) !important;
  box-shadow:0 14px 28px rgba(0,184,217,.22) !important;
}
.sidebar.erma-sidebar nav a:first-of-type:not(.is-active){
  background:transparent !important;
  box-shadow:none !important;
}
.sidebar.erma-sidebar nav a:first-of-type:not(.is-active):hover{
  background:rgba(255,255,255,.12) !important;
  border-color:rgba(255,255,255,.12) !important;
}
.sidebar.erma-sidebar nav a.nav-disabled{
  cursor:not-allowed !important;
  opacity:.54 !important;
}
.sidebar.erma-sidebar nav a.nav-disabled:hover{
  transform:none !important;
}

/* v6.35 - Beyan sicil seçim modali ve boş adres başlangıcı */
.sicil-lookup-field{
  grid-template-columns:160px 1fr auto auto !important;
}
.lookup-filter-info span{
  display:flex;
  align-items:center;
  min-height:38px;
  border:1px dashed #cbd5e1;
  border-radius:12px;
  padding:8px 10px;
  color:#475569;
  font-size:12px;
  font-weight:800;
  background:#f8fafc;
}
.lookup-select-row{
  cursor:pointer;
}
input[readonly],
textarea[readonly]{
  cursor:default;
}
@media(max-width:760px){
  .sicil-lookup-field{
    grid-template-columns:1fr !important;
  }
}

/* v6.36 - Tahakkuk taksit bilgilendirme */
.info-mini{
  grid-column:1 / -1;
  padding:10px 12px;
  border:1px solid #bfdbfe;
  border-radius:12px;
  background:#eff6ff;
  color:#1e3a8a;
  font-size:12px;
  font-weight:800;
}

/* v6.38 - Sol menü açılır/kapanır grup yapısı ve yeni pasif modüller */
.sidebar.erma-sidebar nav{
  display:block !important;
}
.menu-group{
  position:relative;
  margin:5px 0 9px !important;
}
.menu-group-toggle{
  width:100%;
  min-height:38px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:13px;
  background:rgba(255,255,255,.075);
  color:#dff6ff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 10px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.4px;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.menu-group-toggle:hover{
  background:rgba(255,255,255,.13);
  border-color:rgba(125,211,252,.32);
}
.menu-group-toggle > span{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.menu-group-toggle .nav-ico{
  width:20px;
  min-width:20px;
  text-align:center;
  font-size:15px;
}
.menu-group-toggle b{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#bae6fd;
  font-size:13px;
  line-height:1;
  transform:rotate(0deg);
  transition:transform .18s ease, background .18s ease;
}
.menu-group.is-open .menu-group-toggle b{
  transform:rotate(180deg);
}
.menu-group-body{
  display:none;
  padding:6px 0 2px 0;
}
.menu-group.is-open .menu-group-body{
  display:block;
}
.menu-group-body a{
  margin:4px 0 !important;
}
.menu-group:has(a.is-active) .menu-group-toggle,
.menu-group.is-current .menu-group-toggle{
  background:linear-gradient(90deg,rgba(14,165,233,.34),rgba(37,99,235,.20));
  border-color:rgba(125,211,252,.42);
  color:#ffffff;
}
@supports not selector(:has(*)){
  .menu-group.is-current .menu-group-toggle{
    background:linear-gradient(90deg,rgba(14,165,233,.34),rgba(37,99,235,.20));
    border-color:rgba(125,211,252,.42);
    color:#ffffff;
  }
}
.app-shell.erma-shell.menu-collapsed .menu-group{
  margin:6px 0 8px !important;
}
.app-shell.erma-shell.menu-collapsed .menu-group-toggle{
  min-height:42px !important;
  justify-content:center !important;
  padding:9px 6px !important;
  border-radius:15px !important;
}
.app-shell.erma-shell.menu-collapsed .menu-group-toggle > span{
  justify-content:center !important;
  gap:0 !important;
}
.app-shell.erma-shell.menu-collapsed .menu-group-toggle > span > span.nav-ico{
  font-size:21px !important;
  width:100% !important;
}
.app-shell.erma-shell.menu-collapsed .menu-group-toggle > span{
  font-size:0 !important;
}
.app-shell.erma-shell.menu-collapsed .menu-group-toggle b{
  display:none !important;
}
.app-shell.erma-shell.menu-collapsed .menu-group-body{
  padding-top:4px !important;
}
.app-shell.erma-shell.menu-collapsed .menu-group:not(.is-open) .menu-group-body{
  display:none !important;
}
.app-shell.erma-shell.menu-collapsed .menu-group-toggle[title]:hover:after{
  content:attr(title);
  position:fixed;
  left:calc(var(--erma-sidebar-collapsed-width) + 10px);
  background:#0f172a;
  color:#fff;
  padding:7px 10px;
  border-radius:10px;
  font-size:12px;
  white-space:nowrap;
  box-shadow:0 12px 28px rgba(15,23,42,.22);
  text-transform:none;
  letter-spacing:0;
}


/* ============================================================
   13082026 v6.42 - İnşaat maliyeti modal garanti açılış
   ============================================================ */
.lookup-modal:target{
  display:flex !important;
}
.lookup-modal.is-open{
  display:flex !important;
}
.lookup-modal-backdrop{
  text-decoration:none !important;
}
.lookup-close{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-decoration:none !important;
}

/* v6.43 - İnşaat maliyeti modal garanti düzeltme */
#insaatSecimModal.lookup-modal,
#insaatSecimModal.insaat-modal{
  position:fixed !important;
  left:0 !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100vw !important;
  height:100vh !important;
  z-index:2147483000 !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px !important;
}
#insaatSecimModal.lookup-modal.is-open{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
}
#insaatSecimModal .lookup-modal-box{
  z-index:2147483001 !important;
}
body.modal-open{
  overflow:hidden !important;
}


/* ============================================================
   13082026 v6.46 - Firefox için href/#target modal yedeği
   ============================================================ */
#insaatSecimModal.lookup-modal:target,
#insaatSecimModal.insaat-modal:target{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
}
a.btn.btn-lookup,
a.btn.btn-gray{
  text-decoration:none !important;
}


/* ============================================================
   13082026 v6.48 - Modal görünürlük düzeltmesi
   Normal ekran boyunda modal üstte ve ekran içinde açılır.
   ============================================================ */
.lookup-modal{
  position:fixed !important;
  left:0 !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100vw !important;
  height:100vh !important;
  z-index:2147483000 !important;
  display:none !important;
  align-items:flex-start !important;
  justify-content:center !important;
  padding:22px 14px !important;
  overflow:auto !important;
}
.lookup-modal.is-open{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
}
.lookup-modal-backdrop{
  position:fixed !important;
  left:0 !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
}
.lookup-modal-box{
  position:relative !important;
  z-index:2147483001 !important;
  width:min(1020px,calc(100vw - 28px)) !important;
  max-height:calc(100vh - 44px) !important;
  margin:0 auto !important;
  overflow:hidden !important;
}
.lookup-table-wrap{
  max-height:calc(100vh - 245px) !important;
  min-height:140px !important;
  overflow:auto !important;
}
body.modal-open{
  overflow:hidden !important;
}
#insaatSecimModal.lookup-modal,
#insaatSecimModal.insaat-modal{
  align-items:flex-start !important;
  justify-content:center !important;
  padding-top:22px !important;
}
#insaatSecimModal .lookup-modal-box{
  width:min(1060px,calc(100vw - 28px)) !important;
  max-height:calc(100vh - 44px) !important;
}
@media(max-height:720px){
  .lookup-modal{padding-top:10px !important;padding-bottom:10px !important;}
  .lookup-modal-box{max-height:calc(100vh - 20px) !important;}
  .lookup-table-wrap{max-height:calc(100vh - 215px) !important;}
}


/* ============================================================
   13082026 v6.49 - İnşaat modal normal zoom kesin görünürlük
   Bu blok sadece inşaat maliyeti modalını etkiler.
   ============================================================ */
#insaatSecimModal.lookup-modal.is-open,
#insaatSecimModal.insaat-modal.is-open{
  position:fixed !important;
  left:0 !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100vw !important;
  height:100vh !important;
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  z-index:2147483600 !important;
  overflow:auto !important;
  padding:8px 0 !important;
  box-sizing:border-box !important;
  align-items:unset !important;
  justify-content:unset !important;
}
#insaatSecimModal.lookup-modal.is-open .lookup-modal-backdrop,
#insaatSecimModal.insaat-modal.is-open .lookup-modal-backdrop{
  position:fixed !important;
  inset:0 !important;
  z-index:2147483601 !important;
}
#insaatSecimModal.lookup-modal.is-open .lookup-modal-box,
#insaatSecimModal.insaat-modal.is-open .lookup-modal-box{
  position:relative !important;
  z-index:2147483602 !important;
  width:min(980px,calc(100vw - 24px)) !important;
  max-height:calc(100vh - 16px) !important;
  margin:0 auto !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}
#insaatSecimModal.lookup-modal.is-open .lookup-modal-head{
  padding:10px 14px !important;
}
#insaatSecimModal.lookup-modal.is-open .lookup-filter-row{
  padding:8px 14px !important;
}
#insaatSecimModal.lookup-modal.is-open .lookup-table-wrap{
  max-height:calc(100vh - 225px) !important;
  min-height:120px !important;
  overflow:auto !important;
}
#insaatSecimModal.lookup-modal.is-open .lookup-modal-foot{
  padding:8px 14px !important;
}


/* ============================================================
   13082026 v6.50 - İnşaat maliyeti seçim penceresi
   Tam ekran overlay yerine buton yanında sabit küçük pencere.
   ============================================================ */
#insaatSecimModal.lookup-modal.is-open{
  pointer-events:none !important;
  background:transparent !important;
}
#insaatSecimModal.lookup-modal.is-open .lookup-modal-backdrop{
  display:none !important;
}
#insaatSecimModal.lookup-modal.is-open .lookup-modal-box{
  pointer-events:auto !important;
}


/* ============================================================
   13082026 v6.52 - İnşaat maliyeti modal geri alındı
   ============================================================ */
#insaatSecimModal.lookup-modal.is-open{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  align-items:flex-start !important;
  justify-content:center !important;
  padding:10px !important;
  overflow:auto !important;
}
#insaatSecimModal.lookup-modal.is-open .lookup-modal-backdrop{
  display:block !important;
}
#insaatSecimModal.lookup-modal.is-open .lookup-modal-box{
  display:flex !important;
  flex-direction:column !important;
}


/* ============================================================
   13082026 v6.54 - İnşaat maliyeti buton hit-area düzeltmesi
   %100 zoomda butonun üstüne grid/readonly alan binmesini engeller.
   ============================================================ */
.insaat-secim-cell{
  position:relative !important;
  z-index:30 !important;
  overflow:visible !important;
}
.insaat-secim-cell .readonly-selection-note{
  position:relative !important;
  z-index:1 !important;
  pointer-events:none !important;
}
.insaat-secim-cell .insaat-lookup-field{
  position:relative !important;
  z-index:40 !important;
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important;
  align-items:end !important;
  overflow:visible !important;
}
.insaat-secim-cell .readonly-field{
  min-width:0 !important;
  position:relative !important;
  z-index:1 !important;
}
.insaat-secim-cell .readonly-field input[readonly]{
  width:100% !important;
  max-width:100% !important;
  pointer-events:none !important;
  cursor:default !important;
}
.insaat-modal-actions{
  grid-column:1 / -1 !important;
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:8px !important;
  position:relative !important;
  z-index:9999 !important;
  pointer-events:auto !important;
}
#btnInsaatModalAc{
  position:relative !important;
  z-index:10000 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}
.insaat-modal-actions .btn{
  pointer-events:auto !important;
}
@media(max-width:1100px){
  .insaat-secim-cell .insaat-lookup-field{
    grid-template-columns:1fr !important;
  }
  .insaat-modal-actions{
    justify-content:flex-start !important;
  }
}

/* v6.55 - Tahakkuk kontrol / simülasyon */
.warn-box{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;padding:15px 17px;border-radius:18px;margin-bottom:16px;box-shadow:var(--shadow2)}
.compare-table td.money,.compare-table th.money{text-align:right!important;font-variant-numeric:tabular-nums}.strong-money{font-weight:950;color:#0f172a}.badge-ok{background:#dcfce7!important;color:#166534!important}.badge-ok:before{background:#22c55e!important}.badge-info{background:#e0f2fe!important;color:#075985!important}.badge-info:before{background:#0ea5e9!important}.badge-warn{background:#fef3c7!important;color:#92400e!important}.badge-warn:before{background:#f59e0b!important}.badge-danger-soft{background:#fee2e2!important;color:#991b1b!important}.badge-danger-soft:before{background:#ef4444!important}.three-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.three-cards{grid-template-columns:1fr}}

/* ============================================================
   24082026 v6.60 - Genel Tahsilat ve makbuz dökümü
   ============================================================ */
.four-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.tahsilat-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.tahsilat-paybar{align-items:end}.tahsilat-table th:first-child,.tahsilat-table td:first-child{text-align:center;width:38px}.title-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.makbuz-page{max-width:900px;margin:0 auto;background:#fff}.makbuz-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:2px solid #0f172a;padding-bottom:16px;margin-bottom:16px}.makbuz-head h2{margin:0;font-size:28px;letter-spacing:.06em}.makbuz-head p{margin:6px 0 0;color:#64748b}.makbuz-no{text-align:right;border:1px solid #cbd5e1;border-radius:14px;padding:12px 18px;min-width:170px}.makbuz-no b{display:block;color:#64748b;font-size:12px;text-transform:uppercase}.makbuz-no span{display:block;font-size:28px;font-weight:950;color:#0f172a}.makbuz-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:15px 0 18px}.makbuz-table-wrap{box-shadow:none;border:1px solid #e2e8f0}.makbuz-bottom{display:flex;justify-content:space-between;gap:30px;margin-top:32px}.makbuz-imza{min-width:180px;text-align:center;border-top:1px solid #0f172a;padding-top:10px;font-weight:800}.alert-danger-soft{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
@media(max-width:1050px){.four-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.makbuz-info{grid-template-columns:1fr}}
@media(max-width:720px){.four-cards{grid-template-columns:1fr}.makbuz-head,.makbuz-bottom{flex-direction:column}.makbuz-no{text-align:left}}
@media print{body{background:#fff!important}.sidebar,.topbar,.no-print,.client-pager-bar,.sidebar-backdrop{display:none!important}.app-shell,.main,.content{display:block!important;margin:0!important;padding:0!important}.panel{box-shadow:none!important;border:0!important}.makbuz-page{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}.table-wrap{overflow:visible!important}table{font-size:11px!important}th,td{padding:6px!important}.makbuz-head h2{font-size:24px!important}}


/* ============================================================
   11092026 v6.61 - Muhasebe fiş kayıt / kapatma başlangıcı
   ============================================================ */
.alert-ok-soft{background:#dcfce7!important;color:#166534!important;border:1px solid #bbf7d0!important}
.empty-row{text-align:center!important;color:#64748b;font-weight:800;padding:18px!important}
.btn-sm{padding:7px 10px!important;border-radius:10px!important;font-size:12px!important;min-height:auto!important}
.muhasebe-table td,.muhasebe-table th{vertical-align:middle}.muhasebe-table tfoot th{background:#f8fafc;font-weight:950}.muhasebe-table .money,.muhasebe-table .num{text-align:right!important;font-variant-numeric:tabular-nums}.muh-fis-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.muh-fis-satir-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.muh-fis-satir-grid .wide,.muh-fis-grid .wide{grid-column:span 2}.muh-satir-form{border:1px solid #e2e8f0;background:#f8fafc;border-radius:18px;padding:16px;margin-bottom:18px}.numeric-input{text-align:right!important;font-variant-numeric:tabular-nums}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.badge:before{content:"";width:7px;height:7px;border-radius:999px;display:inline-block}.lookup-modal.is-open{display:flex!important;visibility:visible!important;opacity:1!important}.lookup-modal .lookup-modal-box{max-height:calc(100vh - 44px)}
@media(max-width:1200px){.muh-fis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.muh-fis-satir-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.muh-fis-grid,.muh-fis-satir-grid{grid-template-columns:1fr}.muh-fis-grid .wide,.muh-fis-satir-grid .wide{grid-column:auto}}

/* ============================================================
   08102026 v6.110 - Bordro giriş ekranları
   ============================================================ */
.alert-success-soft{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0;border-radius:12px;padding:10px 14px;margin:0 0 14px;font-weight:700}
.bordro-period-panel{padding:14px 16px!important}.bordro-period-toolbar{margin:0!important}.bordro-summary-cards{margin-top:14px}
.bordro-two-col{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;align-items:start;margin-top:16px}
.panel-head-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.panel-head-row h3{margin:0 0 3px}.panel-head-row p{margin:0;color:#64748b;font-size:13px}
.bordro-personel-wrap,.bordro-lines-wrap{max-height:520px;overflow:auto}.bordro-personel-wrap td,.bordro-lines-wrap td{vertical-align:middle}.bordro-lines-wrap .money,.bordro-summary-cards .money{text-align:right;font-variant-numeric:tabular-nums}.cell-sub{display:block;color:#64748b;font-size:11px;margin-top:3px}.empty-cell{text-align:center!important;color:#64748b;padding:26px!important}
.bordro-modal-box{width:min(760px,calc(100vw - 28px))!important}.bordro-kisi-modal-box{width:min(680px,calc(100vw - 28px))!important}.lookup-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:16px 18px;border-bottom:1px solid #e2e8f0}.lookup-modal-head b{display:block;font-size:18px}.lookup-modal-head small{display:block;color:#64748b;margin-top:3px}.bordro-entry-form{padding:18px}.bordro-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bordro-entry-grid>div{min-width:0}.bordro-entry-grid .wide{grid-column:1/-1}.bordro-entry-grid label{display:block;font-weight:800;color:#475569;margin:0 0 6px;font-size:13px}.bordro-entry-grid input,.bordro-entry-grid select{width:100%;box-sizing:border-box}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid #e2e8f0}
@media(max-width:1100px){.bordro-two-col{grid-template-columns:1fr}.bordro-personel-wrap,.bordro-lines-wrap{max-height:420px}}
@media(max-width:640px){.bordro-entry-grid{grid-template-columns:1fr}.bordro-entry-grid .wide{grid-column:auto}.bordro-period-toolbar>div{width:100%}.bordro-period-toolbar input,.bordro-period-toolbar select{width:100%}}

/* v6.112 - Tahsilat/vezne çalışma ekranı */
.tahsilat-sicil-card{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.tahsilat-sicil-main{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;flex:1;min-width:0}
.tahsilat-sicil-main>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;min-width:0}.tahsilat-sicil-main small{display:block;color:#64748b;font-size:11px}.tahsilat-sicil-main b{display:block;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tahsilat-sicil-address{flex-basis:100%;color:#475569}
.tahsilat-selection-bar{display:flex;align-items:center;gap:22px;justify-content:flex-end;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;margin-bottom:12px}.tahsilat-selection-bar>div{min-width:120px}.tahsilat-selection-bar small{display:block;color:#64748b}.tahsilat-selection-bar b{font-size:16px}
.tahsilat-modal-backdrop[hidden]{display:none!important}.tahsilat-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.48);z-index:5000;display:flex;align-items:center;justify-content:center;padding:20px}.tahsilat-modal{width:min(980px,96vw);max-height:90vh;overflow:hidden;background:#fff;border-radius:18px;box-shadow:0 25px 70px rgba(15,23,42,.28);display:flex;flex-direction:column}.tahsilat-modal-small{width:min(640px,94vw)}.tahsilat-modal-head{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 20px;border-bottom:1px solid #e2e8f0}.tahsilat-modal-head h3{margin:0}.tahsilat-modal-head p{margin:4px 0 0;color:#64748b}.modal-x{border:0;background:#f1f5f9;border-radius:10px;width:34px;height:34px;font-size:22px;cursor:pointer}.tahsilat-modal .form-grid,.tahsilat-modal .form-actions{margin:16px 20px}.tahsilat-modal-search{display:flex;gap:12px;align-items:center;padding:14px 20px}.tahsilat-modal-search input{flex:1}.tahsilat-modal-search span{color:#64748b;font-size:12px}.tahsilat-sicil-list-wrap{margin:0 20px;max-height:54vh;overflow:auto}.click-row{cursor:pointer}.click-row:hover{background:#eff6ff}.tahsilat-history-filter{align-items:end}
@media(max-width:900px){.tahsilat-sicil-main{grid-template-columns:repeat(2,minmax(0,1fr))}.tahsilat-selection-bar{justify-content:space-between;flex-wrap:wrap}.tahsilat-modal-search{align-items:stretch;flex-direction:column}}

.five-cards{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:1100px){.five-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v6.114 - Tahsilat: eski masaüstü otomasyonundaki tek-sekme vezne çalışma düzeni */
.tahsilat-page-title{margin-bottom:10px}
.tahsilat-module-tabs{display:flex;align-items:flex-end;gap:2px;border-bottom:1px solid #b8c4d1;margin:0 0 10px;padding:0 8px}
.tahsilat-module-tab{display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:7px 16px;border:1px solid #c8d2dc;border-bottom:0;border-radius:7px 7px 0 0;background:#edf2f6;color:#334155;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap}
.tahsilat-module-tab:hover{background:#e2eaf1;color:#0f172a}
.tahsilat-module-tab.active{position:relative;bottom:-1px;background:#fff;color:#0f4c81;border-color:#9fb2c3;padding-top:8px}
.tahsilat-desktop-panel{background:#fff;border:1px solid #bdc9d4;border-radius:7px;margin-bottom:10px;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.tahsilat-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px;padding:6px 10px;background:linear-gradient(#edf3f7,#dfe9f0);border-bottom:1px solid #bdc9d4;color:#263746;font-size:11px}
.tahsilat-section-head b{font-size:12px}.tahsilat-section-head>span,.tahsilat-section-head div>span{color:#607080;font-weight:600}
.tahsilat-section-head-row>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}
.tahsilat-lookup-row{display:grid;grid-template-columns:150px minmax(220px,1.2fr) minmax(190px,.8fr) auto;gap:8px;align-items:end;padding:9px 10px;border-bottom:1px solid #d7e0e7;background:#fafcfd}
.tah-field{min-width:0}.tah-field label,.tah-payment-total label{display:block;margin:0 0 3px;color:#445463;font-size:11px;font-weight:800}
.tah-field input,.tah-field select{width:100%;height:32px;border:1px solid #aebdca;border-radius:4px;background:#fff;padding:5px 7px;font-size:11px;font-weight:700;color:#17212b}
.tah-field input:focus,.tah-field select:focus{outline:2px solid rgba(37,99,235,.18);border-color:#6f9bc1}
.tah-lookup-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}.tah-lookup-actions .btn{min-height:32px;padding:6px 10px;font-size:11px}
.tahsilat-person-grid{display:grid;grid-template-columns:130px minmax(210px,1.25fr) 140px 170px 150px minmax(240px,1.5fr);gap:1px;background:#d6e0e7;border-top:0;padding:1px}
.tahsilat-person-grid>div{min-width:0;background:#fff;padding:7px 9px;min-height:52px}
.tahsilat-person-grid label{display:block;color:#667685;font-size:10px;font-weight:800;margin-bottom:3px;text-transform:none}
.tahsilat-person-grid span{display:block;color:#17212b;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tahsilat-list-summary{display:flex;gap:18px;align-items:center;margin-left:auto}.tahsilat-list-summary span{display:flex;gap:6px;align-items:baseline;color:#334155}.tahsilat-list-summary small{font-size:10px;font-weight:700}.tahsilat-list-summary b{font-size:12px}
.tahsilat-start-info{margin:8px 10px;padding:9px 10px;border:1px solid #cdd8e2;background:#f8fbfd;color:#51606e;border-radius:4px;font-size:11px;font-weight:700}
.tahsilat-borc-grid-wrap{margin:0;border:0;border-radius:0;max-height:430px;overflow:auto;background:#fff}
.tahsilat-desktop-table{min-width:1180px;margin:0;border-collapse:collapse;font-size:11px}
.tahsilat-desktop-table thead th{position:sticky;top:0;z-index:3;background:#e8eef3;color:#263746;border-right:1px solid #c1ccd5;border-bottom:1px solid #aebdca;padding:6px 6px;font-size:10.5px;font-weight:900;white-space:nowrap}
.tahsilat-desktop-table tbody td{padding:5px 6px;border-right:1px solid #e0e6eb;border-bottom:1px solid #e4eaef;font-size:11px;font-weight:700;white-space:nowrap}
.tahsilat-desktop-table tbody tr:nth-child(even){background:#f8fafb}.tahsilat-desktop-table tbody tr:hover{background:#eaf4fb}
.tahsilat-desktop-table th.money,.tahsilat-desktop-table td.money{text-align:right!important;font-variant-numeric:tabular-nums}
.tahsilat-desktop-table .sel{text-align:center!important;width:34px}.tahsilat-desktop-table .nevi{min-width:210px;max-width:330px;overflow:hidden;text-overflow:ellipsis}
.tahsilat-payment-strip{display:grid;grid-template-columns:110px 180px 150px minmax(220px,1fr) auto;gap:8px;align-items:end;padding:9px 10px;background:#eaf0f4;border-top:1px solid #b7c4cf}
.tah-payment-total{height:49px;padding:5px 8px;border:1px solid #b6c3ce;border-radius:4px;background:#fff}.tah-payment-total b{display:block;margin-top:2px;font-size:12px;color:#1f2937}
.tah-payment-grand b{font-size:16px;color:#0f5132}.tahsilat-submit{height:34px;min-width:175px;font-size:11px;font-weight:900}.tahsilat-submit:disabled{opacity:.5;cursor:not-allowed}
.tahsilat-debt-panel{overflow:visible}.tahsilat-debt-panel .table-wrap{box-shadow:none}

@media(max-width:1180px){.tahsilat-lookup-row{grid-template-columns:140px 1fr 180px}.tah-lookup-actions{grid-column:1/-1}.tahsilat-person-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tahsilat-person-grid .person-address{grid-column:span 2}.tahsilat-payment-strip{grid-template-columns:110px 170px 150px 1fr}.tahsilat-submit{grid-column:1/-1;justify-self:end}}
@media(max-width:760px){.tahsilat-module-tabs{overflow-x:auto;align-items:stretch;padding-left:0}.tahsilat-module-tab{border-bottom:1px solid #c8d2dc;border-radius:5px;min-width:max-content}.tahsilat-module-tab.active{bottom:0}.tahsilat-lookup-row{grid-template-columns:1fr}.tah-lookup-actions{grid-column:auto;flex-wrap:wrap}.tahsilat-person-grid{grid-template-columns:1fr 1fr}.tahsilat-person-grid .person-wide,.tahsilat-person-grid .person-address{grid-column:1/-1}.tahsilat-section-head-row{align-items:flex-start;flex-direction:column}.tahsilat-list-summary{margin-left:0;width:100%;justify-content:space-between}.tahsilat-payment-strip{grid-template-columns:1fr 1fr}.tah-pay-method,.tah-pay-note,.tahsilat-submit{grid-column:1/-1}.tahsilat-submit{width:100%}}
