@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
:root{font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#132033;background:#f3f5f8;font-synthesis:none;--navy:#0f1a26;--green:#1a7a52;--pale:#f3f5f8;--muted:#6a7a8c;--line:#e3e8ef;--shadow:0 12px 40px rgba(15,26,38,.05);--arina-gold:#d4a84b;--arina-gold-soft:#f4e7c6;--arina-dark:#0b1520;--surface:#ffffff;--ink:#132033;--accent:#2c3e50}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-size:13px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{outline:none}input:focus,select:focus,textarea:focus{border-color:#7c9cff!important;box-shadow:0 0 0 3px rgba(82,133,251,.13)}.muted,small{color:#7c8b9a}strong{font-weight:600}.app-shell{display:flex;min-height:100vh}.sidebar{width:252px;flex:0 0 252px;position:sticky;top:0;height:100vh;background:#111e2c;color:#dee5ed;display:flex;flex-direction:column;padding:25px 16px 18px;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding:3px 12px;margin-bottom:28px}.brand strong{display:block;color:white;font-size:20px;letter-spacing:-.9px;line-height:1.3}.brand small{display:block;color:#9faebe;font-size:10px;margin-top:1px}.brand-mark{flex:0 0 auto;line-height:0}.role-pill{align-self:flex-start;background:#253347;color:#b5d786;font-weight:600;letter-spacing:.7px;border:1px solid #33475c;border-radius:7px;padding:7px 10px;margin:0 12px 30px;font-size:9px}.sidebar-caption{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#708294;margin:0 15px 13px}.side-nav{display:flex;flex-direction:column;gap:4px;overflow-y:auto;min-height:0;flex:1}.nav-item{display:flex;align-items:center;gap:13px;color:#aebecd;padding:11px 15px;font-size:12px;border-radius:10px;transition:background .1s}.nav-item:hover{background:#233348;color:white}.nav-item.selected{background:#2b3c46;color:#d7fcae;font-weight:600}.nav-item.selected .nav-icon{color:#b7df75}.nav-icon{font-size:21px;font-weight:500;line-height:1;width:21px;text-align:center;color:#8095a6}.side-bottom{display:flex;align-items:center;gap:10px;border-top:1px solid #2b3c4d;padding:18px 5px 0;margin-top:15px}.avatar{background:#364b56;color:#e3f5d2;border-radius:11px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}.user-name{min-width:0;flex:1}.user-name strong{font-size:11px;color:#e9eff4;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-name small{font-size:9px;color:#8ba0b0}.icon-button{background:none;border:0;color:#c9d4dd;font-size:24px;padding:0 5px}.main-wrap{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:74px;flex:0 0 74px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px;gap:12px;position:sticky;top:0;z-index:15}.topbar-location{font-size:12px;color:#8291a0}.topbar-location strong{color:#27384b;font-weight:600}.top-divider{color:#c3cbd3;margin:0 7px}.topbar-actions{display:flex;align-items:center;gap:16px}.today-label{font-size:11px;color:#728292;white-space:nowrap}.top-user{font-size:11px;font-weight:600;color:#4d5b66}.topbar-actions form{margin:0}.mobile-menu{display:none;background:none;border:0;font-size:20px;color:#1d3044}.page-content{padding:30px 33px 48px;max-width:1670px;width:100%;margin:0 auto;flex:1}.footer{font-size:10px;color:#9babb6;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:16px 36px}.footer span{color:#bcc6cd}.demo-banner{background:#f6f9eb;color:#687c3b;border:1px solid #e1edc9;border-radius:10px;padding:8px 14px;font-size:10px;font-weight:700;letter-spacing:.35px;margin-bottom:20px;display:flex;gap:15px;align-items:center}.demo-banner span{font-weight:400;letter-spacing:0}.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.page-title-row h1{font-size:25px;letter-spacing:-1.1px;margin:3px 0;color:#152638;font-weight:700}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#7d9a54;text-transform:uppercase}.page-subtitle{margin:4px 0 0;color:#82909e;font-size:12px}.page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.btn{appearance:none;display:inline-flex;justify-content:center;align-items:center;gap:6px;border-radius:9px;border:1px solid transparent;font-size:11px;font-weight:600;line-height:1.4;padding:10px 15px;white-space:nowrap;cursor:pointer;transition:transform .08s,background .1s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:#1b2e3b;color:#fff}.btn-primary:hover{background:#304657}.btn-outline{background:#fff;color:#33475c;border-color:#dae3ea}.btn-outline:hover{background:#f3f7fa}.btn-subtle{background:#f4f7fa;color:#526273}.btn-danger{background:#991b1b;color:#fff}.btn-xs{padding:5px 9px;font-size:10px}.btn-sm{padding:7px 10px}.btn-lg{padding:13px 19px;font-size:12px}.btn-full{width:100%}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:19px}.kpi-card{background:white;border:1px solid #e8eef3;border-radius:14px;padding:18px 18px 17px;min-height:130px;box-shadow:var(--shadow)}.kpi-title{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;color:#6e8191;font-weight:500}.kpi-icon{width:28px;height:28px;border-radius:9px;background:#eff4f8;color:#4b687d;display:flex;justify-content:center;align-items:center;font-size:18px}.kpi-number{font-size:22px;font-weight:700;letter-spacing:-1px;color:#14283a;white-space:nowrap;margin:12px 0 2px}.kpi-desc{font-size:10px;color:#a0adba}.kpi-card.green .kpi-icon{background:#e7f8eb;color:#18803d}.kpi-card.red .kpi-icon{background:#fff0ed;color:#db533d}.kpi-card.blue .kpi-icon{background:#e9f2ff;color:#3e72b1}.kpi-card.amber .kpi-icon{background:#fff3e6;color:#d4852e}.insight-strip{border:1px solid #e4ecf0;background:#fff;border-radius:11px;display:flex;align-items:center;gap:25px;flex-wrap:wrap;padding:12px 16px;color:#718494;font-size:11px;margin-bottom:23px}.insight-strip strong{color:#25394c}.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin-bottom:18px}.card{border:1px solid #e8edf3;background:white;border-radius:14px;box-shadow:var(--shadow);min-width:0;margin-bottom:18px;overflow:hidden}.dashboard-grid .card{margin-bottom:0}.card-header{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:58px;padding:16px 20px;border-bottom:1px solid #edf1f4}.card-header:empty{display:none}.card-header h2{margin:0;font-size:13px;color:#243648;font-weight:600;letter-spacing:-.15px}.card-body{padding:16px 20px}.card-body:has(>.table-wrap){padding:0}.card-body:has(>.calendar-grid){padding:18px 18px 10px}.card-footer{border-top:1px solid #edf1f4;padding:12px 20px;font-size:10px;color:#8194a3}.card-footer strong{color:#4f6472}.text-link{font-size:11px;color:#3b6494;font-weight:600}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:10.5px;text-align:left;white-space:nowrap}th{font-weight:600;letter-spacing:.15px;color:#8999a9;background:#fbfcfe;padding:12px 14px;border-bottom:1px solid #e9edf1}td{padding:13px 14px;border-bottom:1px solid #edf1f4;vertical-align:middle;color:#465b6b}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdff}td strong{font-size:11px;color:#1e3449}td small{font-size:9.5px;display:block;margin-top:3px}.table-link{color:#244c74;font-weight:600;font-size:11px}.table-link:hover{text-decoration:underline}.cell-strong{color:#30465c;font-weight:600;font-size:10px}.badge-group{display:flex;gap:4px;flex-wrap:wrap;align-items:center}.badge{display:inline-flex;align-items:center;gap:3px;padding:4px 8px;border-radius:6px;font-size:9px;font-weight:600;border:1px solid transparent;white-space:nowrap}.badge.green{background:#e8f7ee;color:#158247;border-color:#d9efe3}.badge.red{background:#fff0ee;color:#c2443e;border-color:#f7ded9}.badge.red-soft{background:#fff1ed;color:#ad4d34}.badge.amber{background:#fff6e8;color:#a46b22}.badge.blue{background:#eaf3ff;color:#4575b6}.badge.neutral{background:#f1f4f6;color:#778996}.badge.purple{background:#f0edff;color:#795bb1}.danger-text{color:#cd433b;font-weight:600}.count{background:#f0f4f7;color:#8193a4;border-radius:10px;padding:3px 8px;font-size:10px;margin-left:5px}.actions-nowrap{display:flex;gap:5px;align-items:center}.mini-action{font-size:10px;padding:5px 7px;border:1px solid #dce5ee;border-radius:6px;color:#3d668c}.mini-action:hover{background:#eff6fb}.empty{padding:32px 15px;text-align:center;white-space:normal}.empty-icon{font-size:25px;color:#afbdc9}.empty strong{font-size:12px;color:#65798c;display:block;margin:4px 0}.empty p{font-size:10px;color:#a5b2bd;margin:0}.quick-list{display:flex;flex-direction:column}.quick-list a{display:flex;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid #eef3f6;font-size:11px}.quick-list a:last-child{border-bottom:0}.quick-list a span{font-weight:600;color:#465b6d}.quick-list a small{display:block;font-weight:400}.quick-list a b{color:#53789a;font-size:10px}.activity-list{display:flex;flex-direction:column}.activity{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #eef2f6;align-items:flex-start}.activity:last-child{border:0}.activity-dot{margin-top:6px;border-radius:50%;width:7px;height:7px;background:#9cc660;flex:0 0 7px}.activity div{flex:1;min-width:0}.activity strong{font-size:11px;color:#45596d;display:block}.activity small{display:block;font-size:10px;overflow-wrap:anywhere}.activity time{font-size:9px;color:#a0abb5}.bar-chart{height:235px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:17px;padding:17px 8px 3px;border-bottom:1px solid #eef2f5}.bar-group{display:flex;flex-direction:column;min-width:0;align-items:stretch}.bars{display:flex;gap:5px;justify-content:center;align-items:flex-end;height:185px}.bar{width:23px;min-height:1px;border-radius:6px 6px 0 0}.bar.expected{background:#cbd8e8}.bar.received{background:#8bbf5b}.bar-label{text-align:center;font-size:10px;color:#8c9bab;padding-top:10px}.chart-legend{display:flex;justify-content:center;gap:19px;padding:13px;color:#8c9aa9;font-size:10px;flex-wrap:wrap}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{display:inline-block;width:11px;height:11px;border-radius:3px}.legend-expected{background:#cbd8e8}.legend-paid{background:#8bbf5b}.stat-stack{display:flex;flex-direction:column}.stat-stack>div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px 5px;border-bottom:1px solid #f0f3f5}.stat-stack>div:last-child{border-bottom:0}.stat-stack span{color:#8395a3;font-size:11px}.stat-stack strong{font-size:18px;color:#243748}.inline-filter{display:flex;gap:8px;align-items:center;margin:0 0 17px}.inline-filter input{flex:1;min-width:0;border:1px solid #dce4ea;border-radius:8px;padding:10px 12px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500;color:#425667;min-width:0}.field input,.field select,.field textarea{border:1px solid #dce4ea;border-radius:9px;padding:11px 12px;background:#fff;color:#263d50;width:100%;min-width:0;font-size:12px;font-weight:400}.field input::placeholder,.field textarea::placeholder{color:#b0bdc7}.field textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-stack{display:flex;flex-direction:column;gap:17px}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:7px}.operation-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:18px;align-items:start;scroll-margin-top:90px}.operation-grid .card{margin-bottom:18px}.operation-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-top:17px}.tab{font-size:10px;border-radius:8px;border:1px solid #e0e7ed;padding:8px 10px;color:#607890}.tab.active{background:#24394c;color:white;border-color:#24394c}.context-banner{padding:11px 13px;background:#f4f8f7;border:1px solid #e4efea;border-radius:8px;font-size:11px;color:#54687a}.check-row{display:flex;align-items:center;gap:8px;color:#5a6d7f;font-size:10px}.note-list{display:flex;flex-direction:column;gap:9px}.note-item{padding:11px 0;border-bottom:1px solid #eef2f5}.note-item:last-child{border:0}.note-item strong{color:#4b6274;font-size:11px}.note-item small{font-size:9px;margin-left:6px}.note-item p{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;color:#607384;margin:5px 0}.filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.filter-grid .btn{height:40px}.date-nav{display:flex;align-items:center;gap:10px;margin-bottom:22px;flex-wrap:wrap}.date-nav input,.month-heading input{border:1px solid #dce4ea;border-radius:9px;padding:9px 11px;background:#fff;font-size:11px;color:#526578}.month-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.month-heading h2{font-size:19px;text-transform:capitalize;letter-spacing:-.5px;margin:0;color:#304356}.month-heading form{display:flex;gap:6px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{text-align:center;font-size:10px;font-weight:600;color:#96a4b0;padding:8px 2px}.calendar-blank{min-height:95px}.calendar-day{min-height:105px;padding:9px;border:1px solid #eaf0f3;border-radius:9px;display:flex;flex-direction:column;gap:3px;align-items:flex-start;transition:background .13s}.calendar-day:hover{background:#f4f8fa}.calendar-day.today{border-color:#88af60;box-shadow:0 0 0 1px rgba(136,175,96,.18)}.calendar-day.has-due{background:#fbfcf8}.day-no{font-size:11px;font-weight:600;color:#567183}.cal-total{font-size:12px;color:#26496a;font-weight:700;letter-spacing:-.4px}.cal-count,.cal-paid{font-size:9px;color:#91a0ae;white-space:normal}.cal-paid{color:#3a9061;font-weight:600}.flash{padding:12px 15px;background:#e8f6eb;color:#19683c;border:1px solid #d0ead9;border-radius:9px;margin-bottom:20px;font-size:12px}.flash.error{background:#fff0ee;color:#aa3e36;border-color:#f9d8d3}details summary{cursor:pointer}details .inline-form{padding:12px;background:#f7fafc;border-radius:9px;margin-top:8px;min-width:210px;white-space:normal}details .inline-form .field{margin-bottom:8px}details input[name=reason]{width:150px;max-width:100%}.auth-page{background:#f5f8fb}.auth-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-showcase{background:radial-gradient(ellipse at 90% 85%,#304c40 0,transparent 38%),linear-gradient(135deg,#111f2e,#1b3040);display:flex;flex-direction:column;justify-content:space-between;padding:44px 65px;color:#fff}.auth-brand{display:flex;gap:12px;align-items:center;font-size:20px}.auth-copy{max-width:590px}.auth-copy h1{font-size:clamp(37px,4.7vw,67px);line-height:1.18;letter-spacing:-2.9px;margin:24px 0}.auth-copy h1 span{color:#b9e780}.auth-copy p{font-size:14px;color:#bac8d1;line-height:1.9}.auth-tags{display:flex;flex-direction:column;gap:13px;color:#d1dddc;font-size:12px;margin-top:38px}.auth-footer{font-size:11px;color:#859baa}.auth-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;padding:34px}.auth-card{width:min(100%,420px);background:#fff;border-radius:20px;padding:35px;box-shadow:0 18px 60px rgba(48,67,87,.08)}.auth-card h2{font-size:22px;letter-spacing:-.8px;margin:6px 0;color:#1d3045}.auth-card>p{color:#8c9ba8;font-size:11px;margin:0 0 26px}.auth-eyebrow{color:#94b37e;letter-spacing:1.2px;font-size:9px;font-weight:700}.auth-card .form-stack{gap:17px}.auth-card .btn{margin-top:10px}.demo-credentials{background:#f5f8fb;border:1px solid #e8eef3;border-radius:10px;padding:14px;margin-top:22px;color:#6e8395;font-size:10px}.demo-credentials strong{display:block;font-size:9px;margin-bottom:9px}.demo-credentials div{display:flex;gap:9px;margin:3px 0;flex-wrap:wrap}.demo-credentials code{color:#2c506d}.demo-credentials small{font-size:9px;display:block;margin-top:7px}.auth-legal{font-size:10px}.auth-mobile-logo{display:none}.error-panel{max-width:500px;margin:auto;padding:35px;background:white;border-radius:18px}.error-panel .btn{margin:6px}.error-panel h2{margin:0 0 10px}
@media(min-width:1700px){.page-content{padding:40px 42px 60px}.sidebar{width:270px;flex-basis:270px}}@media(max-width:1280px){.sidebar{width:225px;flex-basis:225px}.page-content{padding:23px}.topbar{padding:0 23px}.kpi-number{font-size:19px}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:950px){.sidebar{position:fixed;left:-260px;transition:left .18s;width:252px;flex-basis:252px}.nav-open .sidebar{left:0;box-shadow:10px 0 38px #111a25a0}.mobile-menu{display:block}.topbar{height:66px;flex-basis:66px}.topbar-location{margin-right:auto}.top-user{display:none}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.operation-grid{grid-template-columns:1fr}.auth-showcase{padding:35px}.auth-copy h1{font-size:43px}.auth-card{padding:28px}}@media(max-width:620px){.page-content{padding:18px 12px 28px}.topbar{padding:0 13px;gap:7px}.topbar-location{font-size:10px}.today-label{display:none}.page-title-row{align-items:flex-start;flex-direction:column;gap:12px}.page-title-row h1{font-size:22px}.kpi-grid{gap:9px}.kpi-card{padding:13px;min-height:110px}.kpi-number{font-size:16px;white-space:normal}.kpi-title{font-size:10px}.insight-strip{gap:9px;flex-direction:column;align-items:flex-start}.card-header{padding:13px 14px}.card-body{padding:13px 14px}.filter-grid{grid-template-columns:1fr 1fr}.filter-grid .btn{grid-column:span 2}.form-grid{grid-template-columns:1fr}.calendar-day{padding:4px;min-height:80px;border-radius:5px}.calendar-blank{min-height:80px}.cal-total{font-size:9px}.cal-count,.cal-paid{font-size:8px}.day-no{font-size:10px}.weekday{font-size:9px}.month-heading h2{font-size:15px}.footer{padding:12px;display:block}.footer span{display:none}.auth-shell{display:block}.auth-showcase{display:none}.auth-panel{min-height:100vh;padding:18px}.auth-card{padding:25px}.auth-mobile-logo{display:flex;align-items:center;gap:9px;font-size:19px;margin-bottom:25px}.bar{width:15px}.bar-chart{gap:7px}.today-label{display:none}}
@media print{.sidebar,.topbar,.page-actions,.btn,.filter-grid,.footer,.demo-banner,.date-nav,.month-heading form{display:none!important}.page-content{padding:0}.app-shell{display:block}.main-wrap{display:block}.card{break-inside:avoid}body{background:white}.table-wrap{overflow:visible}table{white-space:normal;font-size:9px}.kpi-grid{grid-template-columns:repeat(4,1fr)}}

.cal-promise{font-size:9px;color:#8b63b8;font-weight:600}.report-quick-link{display:flex;justify-content:flex-end;margin:15px 0 22px}

.weekend-mark{color:#b45309;font-weight:600}

.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-sticky th:first-child,.table-sticky td:first-child{position:sticky;left:0;background:#fff;z-index:2;box-shadow:1px 0 0 #e8eef5}
.preset-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.weekend-mark{color:#b45309;font-weight:600}

/* V5.1 sadeleştirilmiş ödeme tablosu */
.page-content{max-width:1800px}
.ledger-filters{display:grid;grid-template-columns:1.4fr 1.15fr 0.95fr 1.1fr 1.2fr 1fr auto auto;gap:10px;align-items:end}
.ledger-filters>.btn{min-height:39px}
.ledger-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 17px}
.ledger-kpis .kpi-card{min-height:112px;padding:20px}
.ledger-kpis .kpi-number{font-size:21px}
.ledger-table{min-width:1250px}
.ledger-table th{white-space:nowrap;font-size:10px}
.ledger-table td{vertical-align:middle}
.ledger-table tbody tr:hover td{background:#f6fafb}
.ledger-table .badge{white-space:nowrap}
.th-sort{color:inherit;display:inline-block;padding:2px 0}
.th-sort:hover{color:#3d641e;text-decoration:underline}
.row-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.row-actions .btn{padding:5px 7px;font-size:9.5px}
.schedule-table-wrap{width:100%;overflow-x:hidden;overflow-y:auto;max-height:calc(44px + 10 * 52px);border-top:1px solid #edf1f4}
.schedule-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:10.5px}
.schedule-table th,.schedule-table td{padding:10px 8px;border-bottom:1px solid #edf1f4;vertical-align:middle;overflow-wrap:anywhere}
.schedule-table th{font-weight:600;color:#8999a9;background:#fbfcfe;position:sticky;top:0;z-index:2}
.schedule-table th:nth-child(1),.schedule-table td:nth-child(1){width:14%}
.schedule-table th:nth-child(2),.schedule-table td:nth-child(2){width:14%}
.schedule-table th:nth-child(3),.schedule-table td:nth-child(3),
.schedule-table th:nth-child(4),.schedule-table td:nth-child(4),
.schedule-table th:nth-child(5),.schedule-table td:nth-child(5){width:11%;text-align:right;font-variant-numeric:tabular-nums}
.schedule-table th:nth-child(6),.schedule-table td:nth-child(6){width:14%;text-align:center}
.schedule-table .col-actions{width:25%;text-align:right}
.schedule-table td.col-actions{white-space:normal}
.delay-valor-cell{display:inline-flex;flex-direction:column;align-items:center;gap:4px}
.valor-inline{display:inline-block;font-size:10px;font-weight:650;color:#8a6a1f;background:#f8efd8;border-radius:999px;padding:2px 7px;white-space:nowrap}
.delay-paid-on{display:block;font-size:10px;color:#6a7c8c;white-space:nowrap}
.pay-method{font-size:11px;display:block;white-space:nowrap}
.more-filters{margin-top:11px;border-top:1px solid #edf1f4;padding-top:10px}
.more-filters summary{font-weight:600;font-size:11px;color:#536d80;cursor:pointer;list-style:auto}
.more-filters .date-nav{padding-top:14px;margin:0}
.more-filters .field{min-width:180px;flex:1}
.history-details{margin-top:22px;border:1px solid #e2e8ee;background:#fff;border-radius:15px;overflow:hidden}
.history-details>summary{padding:18px 23px;color:#274050;font-weight:650;font-size:12px;cursor:pointer;background:#fafbfc}
.history-inner{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:16px}
.history-inner .card{min-width:0}
.history-inner .card-body{max-height:400px;overflow:auto}
#operation{scroll-margin-top:95px;margin-top:20px}
#operation .operation-tabs{margin-top:10px}
#operation .card{box-shadow:none}
@media(max-width:1600px){.ledger-filters{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.ledger-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.history-inner{grid-template-columns:1fr}.ledger-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.ledger-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-kpis{gap:8px}.ledger-kpis .kpi-number{font-size:17px}.row-actions{min-width:150px}.history-inner{padding:9px}.page-content{max-width:100%}}
@media print{.ledger-filters,.more-filters,.row-actions{display:none!important}.ledger-table{min-width:0}}

/* V5.2 Genel Müdür: tek rapor, altı KPI ve basit filtre alanı */
.gm-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:26px 0 12px}
.gm-section-title h2{margin:0;color:#243346;font-size:15px;font-weight:750;letter-spacing:-.3px}
.gm-section-title span{font-size:11px;color:#8998a9}
.gm-totals-block{margin-bottom:8px}
.gm-scope-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 14px}
.gm-scope-controls,.gm-scope-secondary{display:inline-flex;flex-wrap:wrap;align-items:center;gap:3px;padding:4px;border-radius:10px;background:#f0f4f7;border:1px solid #e2e9ee}
.gm-scope-tab,.gm-scope-chip{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;color:#526779;font-size:12px;font-weight:700;border-radius:8px;text-decoration:none;line-height:1}
.gm-scope-tab:hover,.gm-scope-chip:hover{background:#e4ecf2;color:#26394a}
.gm-scope-tab.active,.gm-scope-chip.active{background:#fff;color:#0f1a26;box-shadow:0 1px 4px rgba(15,26,38,.1)}
.gm-scope-month-form{display:inline-flex;align-items:center;margin:0;height:44px}
.gm-scope-month-field{display:inline-flex;align-items:center;margin:0;min-width:160px;height:100%}
.gm-scope-month-field input[type=month]{height:36px;margin:0;padding:0 10px;border:1px solid #d7e0e8;border-radius:8px;background:#fff;color:#0f1a26;font-size:12px;font-weight:600}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gm-kpi-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.gm-kpi-three .kpi-card{min-height:128px;padding:21px 23px}
.gm-kpi-three .kpi-number{font-size:clamp(18px,1.8vw,25px)}
.kpi-methods{display:flex;flex-direction:column;gap:10px}
.kpi-method-list{display:flex;flex-direction:column;gap:6px;margin-top:2px}
.kpi-method-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;color:#5f7082}
.kpi-method-row strong{font-size:13px;color:#0f1a26;font-variant-numeric:tabular-nums;font-weight:600}
.kpi-method-total{margin-top:4px;padding-top:8px;border-top:1px solid #e8eef4;color:#0f1a26;font-weight:600}
.kpi-method-total strong{font-size:15px}
.gm-report-card{margin-top:28px;scroll-margin-top:86px}
.gm-report-title{display:flex;align-items:center;justify-content:space-between;gap:15px}
.gm-report-title h2{margin-bottom:7px}
.gm-report-title p{margin:0;font-size:11px}
.gm-report-body{padding:20px 23px!important}
.gm-filter-form{display:grid;grid-template-columns:repeat(2,minmax(170px,1fr)) 1.4fr 1.1fr;gap:12px;align-items:end;margin-bottom:16px}
.gm-filter-form .gm-search{grid-column:span 2}
.gm-filter-form .btn{height:40px}
.gm-view-controls{display:inline-flex;flex-wrap:wrap;gap:3px;padding:4px;border-radius:10px;background:#f0f4f7;border:1px solid #e2e9ee;margin-bottom:16px}
.gm-view-tab{display:inline-block;padding:10px 16px;color:#526779;font-size:12px;font-weight:700;border-radius:8px;text-decoration:none}
.gm-view-tab:hover{background:#e4ecf2;color:#26394a}
.gm-view-tab.active{background:#fff;color:#26394a;box-shadow:0 1px 4px rgba(25,45,68,.11)}
.gm-range-summary{display:flex;flex-wrap:wrap;gap:10px 19px;align-items:center;background:#f5f8fa;border:1px solid #eaf0f3;border-radius:10px;padding:12px 14px;margin-bottom:17px;font-size:11px;color:#677c8c}
.gm-range-summary strong{color:#24384a}
.gm-report-card .table-wrap{overflow-x:auto}
.gm-report-card table{min-width:1080px}
.gm-report-card tbody tr:hover td{background:#f7faf8}
.gm-report-card .table-sticky th:first-child{background:#fbfcfe;z-index:3}
.gm-report-card .table-sticky td:first-child{background:#fff}
.gm-report-card tbody tr:hover td:first-child{background:#f7faf8}
.delay-badge{padding:3px 6px;font-size:9px;line-height:1.2;white-space:nowrap}
.delay-empty{color:#9aabba;font-weight:500}
.gm-report-card .delay-badge,.ledger-table .delay-badge{padding:3px 6px;font-size:9px;line-height:1.2;white-space:nowrap}
.gm-report-card .pay-method{font-size:10.5px;max-width:118px;overflow:hidden;text-overflow:ellipsis}
.gm-report-card th:nth-child(5),.gm-report-card td:nth-child(5){width:88px;min-width:80px;max-width:95px;text-align:center;white-space:nowrap;padding-left:8px;padding-right:8px}
.gm-report-card th:nth-child(4),.gm-report-card td:nth-child(4){width:118px;max-width:128px;white-space:nowrap}
.gm-report-card th:nth-child(1),.gm-report-card td:nth-child(1){min-width:150px;width:16%}
.gm-report-card th:nth-child(6),.gm-report-card td:nth-child(6),
.gm-report-card th:nth-child(7),.gm-report-card td:nth-child(7),
.gm-report-card th:nth-child(8),.gm-report-card td:nth-child(8){text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:1250px){.gm-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.gm-filter-form .gm-search{grid-column:auto}.gm-kpi-three .kpi-number{font-size:20px}}
@media(max-width:720px){.gm-kpi-three{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gm-kpi-three .kpi-card{padding:13px;min-height:104px}.gm-kpi-three .kpi-number{font-size:17px}.gm-section-title{align-items:flex-start;flex-direction:column;gap:3px}.gm-filter-form{grid-template-columns:1fr}.gm-report-title{flex-wrap:wrap}.gm-report-body{padding:14px!important}.gm-range-summary{gap:8px 12px}.gm-view-controls{width:100%;justify-content:space-between}.gm-view-tab{padding:10px}}
@media print{.gm-filter-form,.gm-view-controls{display:none!important}.gm-kpi-three{grid-template-columns:repeat(3,1fr)}}

/* Arina Mutfak: kurumsal modern palet */
:root{--arina-gold:#d4a84b;--arina-gold-soft:#f3e8cc;--arina-dark:#0b1520}
body{background:linear-gradient(180deg,#eef2f6 0%,#f5f7fa 42%,#f8f9fb 100%);color:var(--ink)}
.sidebar{background:linear-gradient(180deg,#0b1520 0%,#121f2e 55%,#152536 100%);border-right:1px solid rgba(212,168,75,.12)}
.brand{flex-direction:column;align-items:flex-start;gap:6px;padding:2px 8px 4px;margin-bottom:18px}
.brand-logo{display:block;width:auto;height:auto;max-width:100%;object-fit:contain;background:transparent}
.brand-logo-dark{width:168px;max-height:62px}
.brand-logo-light{width:210px;max-height:74px}
.brand-caption,.auth-brand-caption{display:block;font-size:10px;font-weight:600;letter-spacing:.6px;color:#9fb0bf}
.auth-brand-caption{color:#687c89;margin-top:2px;letter-spacing:.8px;text-align:center}
.role-pill{background:rgba(212,168,75,.12);color:#e6c57a;border-color:rgba(212,168,75,.28)}
.sidebar-caption{color:#7f91a3}
.nav-item{color:#b7c4d1}
.nav-item:hover{background:rgba(255,255,255,.06);color:#fff}
.nav-item.selected{background:rgba(212,168,75,.14);color:#f3dfb0;box-shadow:inset 3px 0 0 var(--arina-gold)}
.nav-item.selected .nav-icon{color:var(--arina-gold)}
.side-bottom{border-top-color:rgba(255,255,255,.08)}
.avatar{background:rgba(212,168,75,.18);color:#f0d79a}
.topbar{background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom-color:#e4e9ef}
.page-title-row h1{color:#0f1a26;letter-spacing:-.9px}
.eyebrow{color:#9a7b2f}
.btn-primary{background:linear-gradient(180deg,#1a2b3a 0%,#12202d 100%);color:#fff;border-color:#12202d}
.btn-primary:hover{background:#243746}
.btn-outline{border-color:#d5dde6;color:#2a3c4d}
.btn-outline:hover{background:#f4f7fa;border-color:#c7d1dc}
.kpi-card,.card{border-color:#e2e8ef;box-shadow:0 10px 28px rgba(15,26,38,.04)}
.kpi-card{background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)}
.kpi-title{color:#6a7a8c}
.kpi-number{color:#0f1a26}
.kpi-icon{background:#eef3f7;color:#3d5568}
.kpi-card.green .kpi-icon{background:#e6f5ee;color:#1a7a52}
.kpi-card.red .kpi-icon{background:#fdeeee;color:#c0392b}
.kpi-card.blue .kpi-icon{background:#eaf1fb;color:#2f5f9a}
.kpi-card.amber .kpi-icon{background:#f8efd8;color:#a67c1f}
.kpi-card.navy .kpi-icon{background:#e8eef4;color:#1f364a}
.badge.green{background:#e8f6ef;color:#176b48;border-color:#d3ebde}
.badge.red{background:#fdeeee;color:#b53a2e;border-color:#f5d6d2}
.badge.amber{background:#f8efd8;color:#8f6a1a;border-color:#eeddb0}
.badge.blue{background:#eaf1fb;color:#2f5f9a;border-color:#d5e3f4}
.badge.neutral{background:#eef2f5;color:#5f7080}
.gm-section-title h2{color:#132033}
.gm-section-title span{color:#7b8b9c}
.gm-view-controls{background:#eef2f6;border-color:#e0e6ed}
.gm-view-tab.active{color:#0f1a26;box-shadow:0 1px 4px rgba(15,26,38,.1)}
.gm-range-summary{background:#f4f7fa;border-color:#e4eaf0}
.gm-report-card tbody tr:hover td{background:#f5f8fb}
.auth-page{min-height:100vh;background:radial-gradient(ellipse at top,#f7f4ea 0%,transparent 42%),linear-gradient(180deg,#eef2f6 0%,#f7f8fa 100%)}
.auth-corporate-shell{min-height:100vh;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:18px;padding:22px 14px}
.auth-corporate-card{width:min(100%,360px);background:#fff;border:1px solid #e0e5e9;border-radius:16px;padding:28px 26px 24px;box-shadow:0 18px 60px rgba(17,29,42,.06)}
.auth-company-header{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.auth-company-header .brand-logo-light{width:min(100%,180px);max-height:64px;margin:0 auto}
.auth-corporate-divider{height:1px;background:#ebedf0;margin:18px 0 18px}
.auth-small-label{letter-spacing:1.45px;color:#887335;font-size:10px;font-weight:700}
.auth-corporate-intro h1{font-size:27px;letter-spacing:-.8px;margin:7px 0 7px;color:#1d2d38}
.auth-corporate-intro p{margin:0 0 25px;color:#71828c;font-size:12px;line-height:1.8}
.auth-corporate-form{gap:17px}
.auth-corporate-form .btn{margin-top:5px;min-height:47px;font-size:13px}
.install-app-btn{margin-top:14px;min-height:44px}
.auth-demo-notice{margin-top:24px;padding:12px 14px;background:#f7f8f9;border:1px solid #e8ebee;border-radius:10px;font-size:11px;color:#607585}
.auth-demo-notice summary{font-weight:600;color:#607585;cursor:pointer}
.auth-demo-notice p{font-size:11px;line-height:1.9;margin:9px 0 5px}
.auth-demo-notice small{font-size:10px}
.auth-corporate-footer{font-size:11px;color:#8997a2;text-align:center}
.gm-filter-form{grid-template-columns:repeat(2,minmax(160px,1fr)) 1.35fr 1.25fr auto;align-items:end}
.gm-filter-form .btn{min-width:100px}
.gm-company-summary-card{margin-top:22px;margin-bottom:18px;scroll-margin-top:86px}
.gm-company-summary-body{padding:0!important}
.gm-company-summary-card table{min-width:880px}
.gm-company-summary-card th:nth-child(n+2),.gm-company-summary-card td:nth-child(n+2){text-align:right;font-variant-numeric:tabular-nums}
.gm-company-summary-card th:nth-child(7),.gm-company-summary-card td:nth-child(7){text-align:center}
.gm-company-summary-card .overdue-amt{color:#b53a2e}
.gm-year-controls{display:inline-flex;gap:3px;padding:3px;border-radius:9px;background:#eef2f6;border:1px solid #e0e6ed}
.gm-year-tab{display:inline-block;padding:8px 14px;color:#526779;font-size:12px;font-weight:700;border-radius:7px;text-decoration:none}
.gm-year-tab:hover{background:#e4ecf2;color:#26394a}
.gm-year-tab.active{background:#fff;color:#0f1a26;box-shadow:0 1px 4px rgba(15,26,38,.1)}
.company-live-search{margin:0 0 14px;max-width:420px}
.gm-summary-search{display:flex;align-items:end;gap:14px;max-width:none;padding:14px 18px 0;margin:0}
.gm-summary-search .company-search-field{flex:1;max-width:420px;margin:0}
.gm-summary-count{font-size:12px;padding-bottom:10px;white-space:nowrap}
.company-search-field{gap:6px}
.company-search-field input{border:1px solid #dce4ea;border-radius:9px;padding:11px 12px;background:#fff;width:100%}
.company-row[hidden]{display:none}
.table-scroll-10{max-height:calc(44px + 10 * 49px);overflow:auto;border-top:1px solid #edf1f4}
.table-scroll-10 .table-wrap{overflow:visible}
.table-scroll-10 thead th{position:sticky;top:0;z-index:3;background:#fbfcfe;box-shadow:0 1px 0 #e9edf1}
.table-scroll-10 .table-sticky th:first-child{z-index:4}
.op-modal{border:0;padding:0;background:transparent;max-width:min(92vw,520px);width:100%;margin:auto}
.op-modal::backdrop{background:rgba(11,21,32,.55);backdrop-filter:blur(2px)}
.op-modal-panel{background:#fff;border:1px solid #e2e8ef;border-radius:16px;box-shadow:0 24px 60px rgba(15,26,38,.28);padding:18px 18px 16px;max-height:min(86vh,720px);overflow:auto}
.op-modal-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}
.op-modal-header h2{margin:0 0 4px;font-size:16px;color:#0f1a26}
.op-modal-header .muted{margin:0;font-size:11px}
.op-modal-close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:#f3f6f9;color:#526273;font-size:16px;text-decoration:none;flex:0 0 auto}
.op-modal-close:hover{background:#e8eef4;color:#0f1a26}
.op-form-note{margin:12px 0 0;font-size:10px}
.company-valor{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px}
.valor-tip{position:relative;display:inline-flex;align-items:center}
.valor-tip-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#eef2f6;color:#5f7080;font-size:10px;font-weight:700;cursor:help;border:1px solid #d7dee6}
.valor-tip-panel{display:none;position:absolute;right:0;bottom:calc(100% + 8px);z-index:80;min-width:260px;max-width:340px;padding:10px 12px;background:#0f1a26;color:#e8eef4;border-radius:10px;box-shadow:0 12px 28px rgba(15,26,38,.28);text-align:left;white-space:normal}
.valor-tip-panel::after{content:'';position:absolute;right:10px;top:100%;border:6px solid transparent;border-top-color:#0f1a26}
.valor-tip-panel.is-fixed{display:block;position:fixed;right:auto;bottom:auto;z-index:4000}
.valor-tip-panel.is-below::after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#0f1a26}
.valor-tip:hover .valor-tip-panel:not(.is-fixed),.valor-tip:focus .valor-tip-panel:not(.is-fixed),.valor-tip:focus-within .valor-tip-panel:not(.is-fixed){display:block}
.valor-tip-panel strong{display:block;font-size:11px;margin-bottom:6px;color:#f3dfb0}
.valor-tip-panel ul{list-style:none;margin:0;padding:0}
.valor-tip-panel li{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-top:1px solid rgba(255,255,255,.08);font-size:10px}
.valor-tip-panel li:first-child{border-top:0}
.valor-tip-panel li span{color:#b7c4d1}
.valor-tip-panel li strong{margin:0;color:#fff;font-size:10px}
.valor-tip-panel small{display:block;margin-top:8px;color:#8fa0b0;font-size:9px}
.gm-report-card table{min-width:1320px}
.payment-received{color:#1a7a52}
.payment-remaining{color:#0f1a26}
.receipt-detail{min-width:120px}
.receipt-detail summary{color:#2f5f9a;font-weight:650;font-size:11px;cursor:pointer;white-space:nowrap}
.receipt-detail ul{list-style:none;padding:8px 0 0;margin:6px 0 0;min-width:210px;border-top:1px solid #e7edf1}
.receipt-detail li{display:flex;justify-content:space-between;align-items:center;gap:11px;margin:6px 0;font-size:10px}
.receipt-detail li span{color:#536b7b}
.receipt-detail li strong{white-space:nowrap}
input:focus,select:focus,textarea:focus{border-color:#c9a85a!important;box-shadow:0 0 0 3px rgba(212,168,75,.18)!important}
@media(max-width:1250px){.gm-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.auth-corporate-card{width:min(100%,340px);padding:22px 18px}.gm-filter-form{grid-template-columns:1fr}.gm-report-card table{min-width:1180px}}
@media print{.auth-demo-notice{display:none}.gm-report-card table{min-width:0}}
