[data-theme="dark"]{--bg:#031225;--surface:#071a31;--surface-2:#0a203a;--text:#f5f8ff;--muted:#95a8c0;--line:#17334f;--nav:#020e1f;--nav-muted:#a7b8ce;--primary:#08b9ee;--primary-soft:rgba(0,184,238,.12);--success:#35d78c;--warning:#efb83f;--shadow:0 18px 55px rgba(0,5,15,.28);color-scheme:dark}
[data-theme="dark"] body{background:radial-gradient(circle at 70% 0,rgba(0,130,210,.08),transparent 32%),linear-gradient(145deg,#031225,#061a31 58%,#041326);background-attachment:fixed}
.app-shell{grid-template-columns:230px minmax(0,1fr)}.sidebar{padding:20px 12px 14px;background:linear-gradient(180deg,#020d1d 0%,#03162c 68%,#03203d 100%);border-right:1px solid #17334f;box-shadow:12px 0 40px rgba(0,5,15,.2)}.sidebar .logo{padding:0 17px 17px;margin-bottom:6px;border-bottom:1px solid rgba(126,188,230,.12)}.sidebar .logo img{width:176px;height:auto}.sidebar nav{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#174363 transparent}.nav-link{position:relative;gap:10px;padding:10px 12px;margin:2px 0;border:1px solid transparent;border-radius:10px;font-size:13px}.nav-link>span:last-child{white-space:nowrap}.nav-glyph{width:23px!important;height:23px;display:grid!important;place-items:center;color:#bbcee2;font-size:16px}.nav-link:hover{background:rgba(4,185,238,.08);border-color:rgba(4,185,238,.12)}.nav-link.active{background:linear-gradient(90deg,rgba(0,174,231,.24),rgba(0,174,231,.08));border-color:rgba(12,197,242,.24);box-shadow:inset 3px 0 #10c7f3;color:#fff}.nav-link.active .nav-glyph{color:#13d7ff}.nav-section{margin:18px 12px 6px;color:#5f7d9d}.sidebar-footer{padding:14px 12px;border:1px solid rgba(26,105,155,.28);border-radius:12px;background:rgba(4,34,63,.6)}.status-orb{width:10px;height:10px;border-radius:50%;background:#35d78c;box-shadow:0 0 16px #35d78c}.topbar{height:68px;padding:0 22px;background:rgba(2,14,31,.86);border-color:#17334f;backdrop-filter:blur(16px)}.company-picker{min-width:270px}.picker-icon{font-size:20px;color:#dce9f8}.company-picker select{width:100%;border-color:#21445f;background:#071a31;padding:10px 36px 10px 12px;text-transform:uppercase;font-size:12px;font-weight:700;letter-spacing:.03em}.top-date{padding:10px 14px;border:1px solid var(--line);border-radius:10px;color:#d9e7f5;font-size:12px}.icon-button{display:grid;place-items:center;background:#071a31;border-color:#21445f;color:#dce9f8}.icon-button:hover{color:#18d6ff;border-color:#08b9ee}.user-chip{border-left:1px solid #17334f;margin-left:2px}.avatar{background:linear-gradient(135deg,#3158f4,#7548e9);color:#fff;box-shadow:0 0 25px rgba(88,76,238,.38)}.page-content{max-width:1720px;padding:22px 28px 38px}.page-heading,.dashboard-heading{margin-bottom:18px}.page-heading h1,.dashboard-heading h1{font-size:27px;letter-spacing:-.02em}.eyebrow{color:#15cff5}.panel,.kpi-card,.module-card{background:linear-gradient(145deg,rgba(8,29,53,.98),rgba(4,21,40,.98));border-color:#173b5a;box-shadow:0 14px 38px rgba(0,5,15,.18)}.panel:hover,.module-card:hover{border-color:#24577c}.button{border-radius:9px}.button.primary{background:linear-gradient(110deg,#0baedc,#1550c7);box-shadow:0 8px 24px rgba(0,128,224,.22)}.button.secondary{background:#071a31;border-color:#21445f}.attention-card{background:linear-gradient(100deg,rgba(120,81,0,.2),rgba(7,28,49,.95));border-color:#856221}.attention-icon{background:linear-gradient(150deg,#ffd277,#e7a732);color:#122037}.status.success,.dot.success{background:rgba(53,215,140,.14);color:#4be39c}.status.warning{background:rgba(239,184,63,.15);color:#efc354}.status.neutral{background:#0a203a}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dashboard-heading h1{margin:4px 0}.dashboard-heading h1 span{font-size:22px}.dashboard-heading p{margin:4px 0}.dashboard-toolbar{display:flex;gap:10px;align-items:center}.dashboard-alert{padding:14px 18px;margin-bottom:14px}.dashboard-alert h2{color:#f1c451;font-size:14px}.dashboard-alert .button{margin-left:auto}.warning-button{background:rgba(115,82,8,.28);border:1px solid #88651b;color:#f3c350}.dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.dashboard-kpi{min-height:94px;padding:15px;display:flex;flex-direction:row;gap:14px;align-items:center}.dashboard-kpi>div{min-width:0;display:flex;flex-direction:column}.dashboard-kpi strong{font-size:22px;margin:6px 0 2px;white-space:nowrap}.dashboard-kpi small{font-size:11px}.kpi-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;font-size:24px;flex:0 0 auto;background:rgba(13,196,235,.11);color:#13d2f5}.dashboard-kpi.gold .kpi-icon,.dashboard-report-grid .gold{background:rgba(229,174,56,.13);color:#efbd5e}.dashboard-kpi.violet .kpi-icon,.dashboard-report-grid .violet{background:rgba(119,92,246,.16);color:#9c86ff}.dashboard-kpi.green .kpi-icon,.dashboard-report-grid .green{background:rgba(53,215,140,.13);color:#43df93}.dashboard-kpi.red .kpi-icon,.dashboard-report-grid .red{background:rgba(244,78,102,.13);color:#ff6178}.dashboard-kpi.blue .kpi-icon,.dashboard-report-grid .blue{background:rgba(66,142,255,.13);color:#5da0ff}.dashboard-kpi.orange .kpi-icon,.dashboard-report-grid .orange{background:rgba(243,139,60,.13);color:#f39c55}.dashboard-kpis .kpi-card strong{color:#f8fbff}.dashboard-panels{display:grid;grid-template-columns:1.65fr .8fr;gap:14px}.dashboard-panel{padding:18px}.dashboard-panel .panel-heading>a{font-size:12px;color:#38c9ed}.dashboard-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.dashboard-report-grid>a{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:12px;border:1px solid #17334f;border-radius:11px;background:rgba(3,17,34,.55)}.dashboard-report-grid>a:hover{border-color:#0aaedb;background:rgba(2,99,142,.12)}.dashboard-report-grid>a>span{width:38px;height:38px;border-radius:10px;display:grid;place-items:center}.dashboard-report-grid a div{display:flex;flex-direction:column;gap:4px}.dashboard-report-grid small{color:var(--muted)}.dashboard-report-grid b{color:#18c8ed}
.filter-panel{background:linear-gradient(145deg,#071b32,#05162b);border-color:#1b4262}.filter-grid input,.filter-grid select,.stack-form input,.stack-form select,.discovery-toolbar select,.report-tools input[type="search"]{background:#06182d;border-color:#23445f}.filter-grid input:focus,.filter-grid select:focus,.stack-form input:focus,.stack-form select:focus{outline:0;border-color:#08b9ee;box-shadow:0 0 0 3px rgba(8,185,238,.1)}.report-table th{background:#091d34;color:#a9bed4}.report-table tr:hover td{background:rgba(10,184,229,.035)}.report-table th,.report-table td{border-color:#17334f}.report-table th:first-child,.report-table td:first-child{background:#071a31}.report-tools{background:#06182d}.module-card>span,.admin-icon{background:rgba(8,185,238,.12);color:#1bcdf4}.company-check,.mapping-help,.bucket-strip>span{background:#06182d}.cash-chart-grid{gap:14px}.cash-chart-grid .panel{background:linear-gradient(145deg,#071c33,#04162a)}.chart-axis{stroke:#24445f}.chart-line{stroke:#14c8ec}.chart-in{fill:#16c8e6}.chart-out{fill:#ee4d70}.chart-label{fill:#89a5bf}.legend-in{background:#16c8e6}.legend-out{background:#ee4d70}.donut-track{stroke:#17334f}.donut-in{stroke:#16c8e6}.donut-out{stroke:#ee4d70}
.login-page{min-height:100vh;background:radial-gradient(circle at 44% 44%,rgba(0,119,202,.13),transparent 34%),linear-gradient(135deg,#020b19,#03162d 58%,#020c1b);overflow-x:hidden}.login-shell{position:relative;max-width:1680px;min-height:100vh;grid-template-columns:minmax(0,1.3fr) minmax(430px,.7fr);padding:48px 72px;gap:50px}.login-shell:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(circle,rgba(19,170,224,.14) 1px,transparent 1.5px);background-size:14px 14px;mask-image:linear-gradient(90deg,transparent 20%,#000 48%,transparent 68%);opacity:.55}.login-brand{position:relative;min-height:760px;padding:35px 12px;color:#fff;display:flex;flex-direction:column;justify-content:center;z-index:1}.login-logo{position:absolute;top:12px;left:12px;width:410px;max-width:54%}.login-copy{max-width:760px;margin-top:-55px}.login-kicker{display:flex;align-items:center;gap:16px;font-size:15px;letter-spacing:.16em;color:#f0e3d1}.login-kicker:after{content:"";width:110px;height:1px;background:linear-gradient(90deg,#327898,#11d1fa)}.login-copy h1{font-size:54px;line-height:1.08;letter-spacing:-.03em;margin:25px 0 20px}.login-copy h1 em{font-style:normal;color:#e6b56f}.login-copy>p:last-child{max-width:660px;color:#d5dce7;font-size:19px;line-height:1.65}.login-features{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:45px;max-width:860px}.login-features article{display:flex;flex-direction:column;gap:8px;padding:0 20px;border-right:1px solid rgba(106,168,208,.22)}.login-features article:first-child{padding-left:0}.login-features article:last-child{border:0}.login-features article>span{width:52px;height:52px;display:grid;place-items:center;border:1px solid rgba(23,196,235,.3);border-radius:12px;background:rgba(6,45,75,.72);color:#16d1f4;font-size:26px}.login-features strong{font-size:12px;color:#18cdec;letter-spacing:.05em}.login-features small{color:#bdc9d8;line-height:1.45}.login-market{position:absolute;left:-60px;right:0;bottom:0;height:190px;display:flex;align-items:flex-end;gap:11px;opacity:.65;transform:skewX(-8deg);border-bottom:1px solid rgba(17,195,241,.25)}.login-market:before,.login-market:after{content:"";position:absolute;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#11cff4 35%,#e5b365 63%,#12c7ef);transform:rotate(-5deg);filter:drop-shadow(0 0 5px #09b8e4)}.login-market:before{bottom:60px}.login-market:after{bottom:92px;opacity:.45;transform:rotate(4deg)}.login-market i{flex:1;max-width:26px;height:34%;border:1px solid rgba(12,204,245,.55);background:linear-gradient(180deg,rgba(8,197,239,.28),rgba(5,80,135,.12))}.login-market i:nth-child(2n){height:47%}.login-market i:nth-child(3n){height:68%}.login-market i:nth-child(5n){height:86%}.login-card{position:relative;z-index:2;justify-self:center;max-width:540px;padding:52px 48px;border-radius:28px;background:linear-gradient(145deg,#fffdf9,#f4eee7);color:#07152b;border:1px solid rgba(255,255,255,.7);box-shadow:0 40px 100px rgba(0,5,15,.45)}.login-card .muted{color:#667180}.login-card-brand{font-weight:800;letter-spacing:.14em;color:#c2955d}.login-card-brand span{color:#09254b}.login-card h2{font-size:31px;margin:14px 0 6px}.login-card .form-stack{gap:20px;margin-top:34px}.login-card .form-stack label{font-size:14px}.input-shell{position:relative;display:flex;align-items:center}.input-shell>b{position:absolute;left:17px;color:#6e7783;font-size:20px}.login-card .form-stack .input-shell input{padding:16px 48px;background:rgba(255,255,255,.36);border:1px solid #c9cbd0;color:#07152b;border-radius:9px}.password-toggle{position:absolute;right:12px;border:0;background:transparent;color:#6e7783;font-size:19px;cursor:pointer}.login-card input::placeholder{color:#9b9da4}.login-card .check-row{color:#18243a}.login-card input[type="checkbox"]{accent-color:#08b9ee}.login-submit{display:flex;justify-content:center;gap:18px;font-size:18px;margin-top:2px}.login-submit span{font-size:24px}.login-divider{display:flex;align-items:center;gap:18px;color:#7d8490;margin:26px 0}.login-divider:before,.login-divider:after{content:"";height:1px;background:#d7d4cf;flex:1}.login-card .support-note{font-size:14px}.login-card .support-note strong{color:#078bc9}.login-card .alert{background:#fff0f2}
@media(max-width:1250px){.login-shell{padding:36px 42px}.login-copy h1{font-size:45px}.login-features{grid-template-columns:repeat(2,1fr);row-gap:24px}.login-features article:nth-child(2){border-right:0}.dashboard-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1000px){.app-shell{grid-template-columns:1fr}.sidebar{left:-245px}.menu-open .sidebar{left:0}.menu-open:after{content:"";position:fixed;inset:0;background:rgba(0,5,15,.62);z-index:25}.menu-open .sidebar{z-index:31}.login-shell{grid-template-columns:1fr;max-width:720px;padding:35px 30px}.login-brand{min-height:500px;align-items:center;text-align:center;padding-bottom:20px}.login-logo{position:relative;top:auto;left:auto;max-width:420px;width:80%;margin-bottom:45px}.login-copy{margin:0}.login-copy h1{font-size:42px}.login-kicker{justify-content:center}.login-kicker:after{display:none}.login-features{display:none}.login-market{height:160px;bottom:-30px}.login-card{max-width:620px;width:100%;background:rgba(4,22,43,.82);border-color:#285170;color:#fff;backdrop-filter:blur(18px)}.login-card .muted,.login-card .support-note{color:#9eb0c4}.login-card-brand span{color:#fff}.login-card .form-stack .input-shell input{background:rgba(4,22,43,.82);border-color:#365d7e;color:#fff}.login-card .form-stack label,.login-card .check-row{color:#fff}.login-divider:before,.login-divider:after{background:#294965}.dashboard-panels{grid-template-columns:1fr}}
@media(max-width:700px){.top-date{display:none}.topbar{padding:0 12px}.company-picker{min-width:0;flex:1}.company-picker select{max-width:none}.page-content{padding:18px 13px 30px}.dashboard-heading{align-items:flex-start}.dashboard-heading .dashboard-toolbar .date-pill{display:none}.dashboard-alert .button{width:100%;margin:8px 0 0}.dashboard-kpis{grid-template-columns:1fr}.dashboard-report-grid{grid-template-columns:1fr}.dashboard-kpi{min-height:86px}.cash-svg{height:180px}.donut-layout{gap:20px;flex-direction:column}.login-page{background:radial-gradient(circle at 50% 28%,rgba(0,116,190,.15),transparent 38%),linear-gradient(180deg,#020d1e,#03162c)}.login-shell{padding:24px 18px 90px}.login-brand{min-height:430px;padding-top:12px}.login-logo{width:88%;margin-bottom:30px}.login-copy h1{font-size:37px}.login-copy>p:last-child{font-size:16px}.login-card{padding:34px 24px;border-radius:24px}.login-card h2{display:none}.login-card>div:first-child>.muted{display:none}.login-card-brand{text-align:center}.login-market{position:fixed;left:0;right:0;bottom:0;height:165px;z-index:0}.report-kpis{grid-template-columns:1fr}.favorite-grid{grid-template-columns:1fr}}

/* Yönetici özeti: yalnızca gerçek RPT-FIN-001 sonucu varsa çizilir. */
.dashboard-chart-grid{display:grid;grid-template-columns:1.55fr .75fr 1.25fr;gap:14px;margin-bottom:14px}.dashboard-chart-card{padding:16px;min-width:0}.chart-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.chart-card-heading h2{font-size:15px;margin:2px 0}.chart-card-heading .eyebrow{margin:0;font-size:10px}.chart-badge{padding:5px 8px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:10px;white-space:nowrap}.dashboard-line-chart,.dashboard-bar-chart{width:100%;height:190px;display:block;overflow:visible}.dashboard-area{fill:url(#dashboardArea)}.dashboard-line{fill:none;stroke:#10c9ec;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 5px rgba(16,201,236,.55))}.dashboard-point{fill:#071a31;stroke:#18dcff;stroke-width:3}.dashboard-donut-wrap{position:relative;width:158px;height:158px;margin:6px auto}.dashboard-donut{width:100%;height:100%;transform:rotate(-90deg);overflow:visible}.dashboard-donut circle{fill:none;stroke-width:17}.dashboard-donut .donut-in,.dashboard-donut .donut-out{transition:stroke-dasharray .3s ease}.dashboard-donut .donut-out{stroke:#ef5575}.donut-total{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.donut-total small,.donut-total span{color:var(--muted);font-size:10px}.donut-total strong{font-size:15px}.dashboard-legend{display:grid;gap:7px}.dashboard-legend>span{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:7px;color:var(--muted);font-size:10px}.dashboard-legend i,.compact-legend i{width:7px;height:7px;border-radius:50%;display:inline-block}.dashboard-legend strong{color:var(--text);font-size:10px}.compact-legend{display:flex;gap:10px;color:var(--muted);font-size:10px}.compact-legend span{display:flex;align-items:center;gap:5px}.dashboard-empty-chart{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px;padding:22px}.dashboard-empty-chart h2{margin:4px 0}.dashboard-empty-chart p{margin:0;max-width:700px}

/* Açık tema; koyu kenar çubuğu marka kontrastını ve tek logo kaynağını korur. */
[data-theme="light"]{--bg:#edf3f8;--surface:#fff;--surface-2:#f6f9fc;--text:#102039;--muted:#687b91;--line:#d7e2ec;--nav:#020e1f;--nav-muted:#a7b8ce;--primary:#087fbe;--primary-soft:rgba(8,127,190,.1);--success:#159760;--warning:#b47a09;--shadow:0 14px 38px rgba(24,52,78,.09);color-scheme:light}
[data-theme="light"] body{background:linear-gradient(145deg,#f6f9fc,#eaf1f7);color:var(--text)}[data-theme="light"] .topbar{background:rgba(255,255,255,.9);border-color:var(--line);box-shadow:0 4px 18px rgba(24,52,78,.05)}[data-theme="light"] .company-picker select,[data-theme="light"] .icon-button,[data-theme="light"] .button.secondary{background:#fff;border-color:#cddbe7;color:#16304a}[data-theme="light"] .picker-icon,[data-theme="light"] .top-date{color:#38536d}[data-theme="light"] .top-date{border-color:var(--line)}[data-theme="light"] .user-chip{border-color:var(--line)}
[data-theme="light"] .panel,[data-theme="light"] .kpi-card,[data-theme="light"] .module-card,[data-theme="light"] .cash-chart-grid .panel{background:#fff;border-color:var(--line);box-shadow:var(--shadow)}[data-theme="light"] .dashboard-kpis .kpi-card strong{color:var(--text)}[data-theme="light"] .dashboard-report-grid>a,[data-theme="light"] .company-check,[data-theme="light"] .mapping-help,[data-theme="light"] .bucket-strip>span,[data-theme="light"] .report-tools{background:#f7fafc;border-color:var(--line)}[data-theme="light"] .dashboard-report-grid>a:hover{background:#eef9fd;border-color:#18a9d5}[data-theme="light"] .attention-card{background:linear-gradient(100deg,#fff8e8,#fff);border-color:#e7c66f}[data-theme="light"] .attention-card h2{color:#815700}[data-theme="light"] .filter-panel{background:#fff;border-color:var(--line)}[data-theme="light"] .filter-grid input,[data-theme="light"] .filter-grid select,[data-theme="light"] .stack-form input,[data-theme="light"] .stack-form select,[data-theme="light"] .discovery-toolbar select,[data-theme="light"] .report-tools input[type="search"]{background:#fff;border-color:#cbd9e5;color:var(--text)}[data-theme="light"] .report-table th{background:#f0f5f9;color:#516b84}[data-theme="light"] .report-table th:first-child,[data-theme="light"] .report-table td:first-child{background:#f8fafc}[data-theme="light"] .report-table th,[data-theme="light"] .report-table td{border-color:#dce5ed}[data-theme="light"] .chart-axis{stroke:#d5e1ea}[data-theme="light"] .chart-label{fill:#6b7f92}[data-theme="light"] .dashboard-point{fill:#fff}[data-theme="light"] .donut-track{stroke:#e3ebf1}[data-theme="light"] .status.neutral{background:#edf2f6;color:#667a8e}

@media(max-width:1300px){.dashboard-chart-grid{grid-template-columns:1fr 1fr}.cashflow-overview-chart{grid-column:1/-1}}
@media(max-width:760px){.dashboard-chart-grid{grid-template-columns:1fr}.cashflow-overview-chart{grid-column:auto}.dashboard-empty-chart{align-items:flex-start;flex-direction:column}.dashboard-empty-chart .button{width:100%}.dashboard-line-chart,.dashboard-bar-chart{height:165px}}

/* Mobil giriş tek görünüm yüksekliğinde sabit kalır. */
@media(max-width:700px){.login-page{height:100vh;height:100dvh;min-height:0;overflow:hidden}.login-shell{height:100vh;height:100dvh;min-height:0;max-width:500px;grid-template-rows:280px auto;align-content:start;padding:10px 16px 12px;gap:5px;overflow:hidden}.login-brand{min-height:0;height:280px;padding:0 5px;justify-content:flex-start}.login-logo{width:250px;max-width:76%;margin:0 auto 4px}.login-copy{width:100%}.login-kicker{font-size:9px;letter-spacing:.13em;margin:2px 0}.login-copy h1{font-size:clamp(27px,8vw,34px);line-height:1.02;margin:7px 0}.login-copy>p:last-child{max-width:340px;font-size:12px;line-height:1.35;margin:6px auto}.login-card{align-self:start;height:auto;min-height:0;padding:14px 20px;border-radius:20px;overflow:hidden}.login-card .form-stack{gap:8px;margin-top:9px}.login-card .form-stack label{font-size:11px}.login-card .form-stack .input-shell input{padding:10px 42px}.input-shell>b{font-size:16px}.login-submit{padding:9px;font-size:14px}.login-submit span{font-size:18px}.login-divider{margin:8px 0}.login-card .support-note{font-size:11px;margin:0}.login-card-brand{font-size:11px}.login-market{height:100px;opacity:.42}}
@media(max-width:700px) and (max-height:720px){.login-shell{grid-template-rows:195px auto;padding-top:5px}.login-brand{height:195px}.login-logo{width:190px}.login-copy h1{font-size:24px;margin:3px 0}.login-copy>p:last-child{display:none}.login-card{padding:10px 18px}.login-card .form-stack{margin-top:5px;gap:5px}.login-divider{display:none}.login-card .support-note{margin-top:4px}}

/* Referans yönetici paneli */
.executive-heading{margin-bottom:12px}.executive-heading h1{font-size:25px}.executive-alert{min-height:62px;margin-bottom:12px}.executive-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}.executive-kpi{min-width:0;min-height:91px;padding:13px;display:flex;align-items:center;gap:12px;border:1px solid #173a58;border-radius:12px;background:linear-gradient(145deg,#071d35,#04162a);box-shadow:0 10px 28px rgba(0,5,15,.16)}.executive-kpi-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:12px;background:rgba(13,196,235,.11);color:#13d2f5;font-size:25px;font-weight:800}.executive-kpi>div{min-width:0;display:flex;flex-direction:column}.executive-kpi span:not(.executive-kpi-icon){color:#becbda;font-size:12px}.executive-kpi strong{margin:4px 0 2px;color:#f7fbff;font-size:21px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.executive-kpi small{color:#8297ae;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.executive-kpi.green small,.executive-kpi.green strong{color:#47dd88}.executive-kpi.red small{color:#ff6178}.executive-kpi.gold .executive-kpi-icon{background:rgba(229,174,56,.13);color:#efbd5e}.executive-kpi.violet .executive-kpi-icon{background:rgba(119,92,246,.16);color:#9c86ff}.executive-kpi.green .executive-kpi-icon{background:rgba(53,215,140,.13);color:#43df93}.executive-kpi.red .executive-kpi-icon{background:rgba(244,78,102,.13);color:#ff6178}.executive-kpi.blue .executive-kpi-icon{background:rgba(66,142,255,.13);color:#5da0ff}.executive-kpi.orange .executive-kpi-icon{background:rgba(243,139,60,.13);color:#f39c55}
.executive-card{min-width:0;border:1px solid #173a58;border-radius:12px;background:linear-gradient(145deg,#071c33,#04152a);box-shadow:0 12px 32px rgba(0,5,15,.17);overflow:hidden}.executive-chart-grid{display:grid;grid-template-columns:1.22fr .92fr 1.12fr;gap:10px;margin-bottom:10px}.executive-chart-grid>.executive-card{min-height:235px;padding:13px}.executive-card-title{min-height:26px;display:flex;align-items:center;justify-content:space-between;gap:10px}.executive-card-title h2{margin:0;color:#f4f8fd;font-size:13px}.executive-card-title h2 small{color:#7189a3}.executive-card-title>a{font-size:10px;color:#3ecbec}.executive-line-chart,.executive-bar-chart{display:block;width:100%;height:185px;overflow:visible}.chart-axis{stroke:#173651;stroke-width:1}.chart-zero{stroke:#24506d;stroke-width:1;stroke-dasharray:4 3}.executive-area{fill:url(#executiveArea)}.executive-line{fill:none;stroke:#12c9e9;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 5px rgba(18,201,233,.55))}.executive-point{fill:#12c9e9;stroke:#061a30;stroke-width:3}.executive-value-label{fill:#eaf6ff;font-size:10px;font-weight:700}.executive-bar-in{fill:url(#executiveBarIn)}.executive-bar-out{fill:#ec496c}.executive-bar-chart .executive-bar-in{fill:#13bad6}.executive-donut-content{height:190px;display:flex;align-items:center;justify-content:center;gap:16px}.executive-donut-wrap{position:relative;width:145px;height:145px;flex:0 0 145px}.executive-donut{width:100%;height:100%;transform:rotate(-90deg)}.executive-donut circle{fill:none;stroke-width:19}.executive-donut-wrap>div{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.executive-donut-wrap small,.executive-donut-wrap span{color:#8da1b8;font-size:9px}.executive-donut-wrap strong{font-size:13px}.executive-donut-legend{display:grid;gap:9px;min-width:0}.executive-donut-legend>span{display:grid;grid-template-columns:8px minmax(0,1fr);gap:7px;align-items:start}.executive-donut-legend i{width:8px;height:8px;border-radius:3px;margin-top:3px}.executive-donut-legend label{display:flex;flex-direction:column;color:#93a7bc;font-size:9px}.executive-donut-legend strong{color:#f4f8fd;font-size:10px;white-space:nowrap}.legend-balance{background:#7b61d9}.executive-empty{height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#7790a8;text-align:center}.executive-empty strong{color:#b8c8d8}.executive-empty a{color:#17c5e9}
.executive-detail-grid{display:grid;grid-template-columns:1.08fr 1.08fr 1fr;gap:10px}.executive-detail-grid>.executive-card{min-height:250px;padding:13px;display:flex;flex-direction:column}.executive-table-wrap{overflow:auto;flex:1}.executive-table{width:100%;border-collapse:collapse;font-size:10px}.executive-table th{padding:9px 7px;text-align:left;color:#8299b0;font-weight:500;border-bottom:1px solid #173651;white-space:nowrap}.executive-table td{max-width:145px;padding:8px 7px;color:#cad5e2;border-bottom:1px solid rgba(23,54,81,.7);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.due-status{display:inline-block;padding:3px 7px;border-radius:999px;border:1px solid #70500d;background:rgba(123,84,6,.22);color:#efbd4c}.due-status.overdue{border-color:#733044;background:rgba(140,28,57,.22);color:#ff6178}.table-empty{text-align:center!important;color:#738ba3!important;white-space:normal!important}.executive-card-link{margin-top:auto;padding-top:10px;text-align:center;color:#35c7ed;font-size:10px}.executive-balance-list{display:grid;flex:1}.executive-balance-list>div{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid rgba(23,54,81,.7)}.balance-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(17,198,233,.11);color:#18cbea}.balance-icon.gold{background:rgba(229,174,56,.12);color:#efbd5e}.balance-icon.green{background:rgba(53,215,140,.12);color:#43df93}.balance-icon.red{background:rgba(244,78,102,.12);color:#ff6178}.executive-balance-list p{display:flex;flex-direction:column;margin:0;min-width:0}.executive-balance-list p small{color:#8ca1b7}.executive-balance-list p strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.state{font-style:normal;font-size:9px}.state.active{color:#43df93}.state.waiting{color:#efbd5e}.executive-risk-list{display:grid;flex:1}.executive-risk-list>a{display:grid;grid-template-columns:38px minmax(0,1fr) auto 10px;align-items:center;gap:8px;border-bottom:1px solid rgba(23,54,81,.7);color:inherit}.risk-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:17px}.risk-icon.red{color:#ff4767}.risk-icon.gold{color:#efbd43}.risk-icon.orange{color:#f39c55}.executive-risk-list p{display:flex;flex-direction:column;margin:0}.executive-risk-list p strong{font-size:10px}.executive-risk-list p small{color:#8da1b7;font-size:9px}.executive-risk-list b{font-size:11px;white-space:nowrap}.executive-risk-list>a>i{color:#7190aa;font-size:18px;font-style:normal}
[data-theme="light"] .executive-kpi,[data-theme="light"] .executive-card{background:#fff;border-color:#d7e2ec;box-shadow:0 10px 28px rgba(24,52,78,.08)}[data-theme="light"] .executive-kpi span:not(.executive-kpi-icon),[data-theme="light"] .executive-kpi small{color:#687d92}[data-theme="light"] .executive-kpi strong,[data-theme="light"] .executive-card-title h2,[data-theme="light"] .executive-donut-legend strong,[data-theme="light"] .executive-table td,[data-theme="light"] .executive-risk-list>a{color:#12263c}[data-theme="light"] .executive-kpi.green strong{color:#15895a}[data-theme="light"] .chart-axis{stroke:#dce6ee}[data-theme="light"] .chart-zero{stroke:#b8cad8}[data-theme="light"] .executive-point{stroke:#fff}[data-theme="light"] .executive-value-label{fill:#1d405c}[data-theme="light"] .executive-table th,[data-theme="light"] .executive-table td,[data-theme="light"] .executive-balance-list>div,[data-theme="light"] .executive-risk-list>a{border-color:#e1e9f0}[data-theme="light"] .executive-donut-wrap small,[data-theme="light"] .executive-donut-wrap span,[data-theme="light"] .executive-donut-legend label{color:#657b90}
@media(max-width:1350px){.executive-kpi-grid{grid-template-columns:repeat(2,1fr)}.executive-chart-grid{grid-template-columns:1fr 1fr}.executive-line-card{grid-column:1/-1}.executive-detail-grid{grid-template-columns:1fr 1fr}.executive-risk-card{grid-column:1/-1}}
@media(max-width:760px){.executive-heading{flex-direction:column}.executive-heading .dashboard-toolbar{width:100%;overflow:auto}.executive-kpi-grid,.executive-chart-grid,.executive-detail-grid{grid-template-columns:1fr}.executive-line-card,.executive-risk-card{grid-column:auto}.executive-kpi{min-height:82px}.executive-chart-grid>.executive-card{min-height:220px}.executive-donut-content{height:auto;min-height:180px}.executive-line-chart,.executive-bar-chart{height:170px}.executive-detail-grid>.executive-card{min-height:240px}}

.login-logo,.sidebar .logo img{mix-blend-mode:normal}
@media(max-width:700px){.login-brand{min-height:0!important}}

/* Referans görsellerdeki özgün Nexus logosu ve giriş oranları. */
.sidebar .logo{height:68px;padding:0 8px 14px;overflow:hidden}.sidebar .logo img{width:190px;max-width:100%;object-fit:contain}.login-logo{width:455px;max-width:58%}.login-shell{align-items:center}.login-brand{min-height:min(760px,calc(100vh - 96px))}.login-card{min-height:min(748px,calc(100vh - 72px));display:flex;flex-direction:column;justify-content:center;padding-block:clamp(30px,5vh,52px)}.login-card .form-stack .input-shell input{min-height:58px}.login-submit{min-height:62px}
@media(min-width:701px) and (max-height:800px){.login-shell{padding-block:24px}.login-brand{min-height:calc(100vh - 48px)}.login-card{min-height:calc(100vh - 48px);padding:28px 40px}.login-card h2{font-size:27px;margin-top:8px}.login-card .form-stack{gap:12px;margin-top:18px}.login-card .form-stack .input-shell input{min-height:48px;padding-block:12px}.login-submit{min-height:50px}.login-divider{margin:14px 0}.login-features{margin-top:28px}}

/* Canlı SQL sorgu kataloğu. */
.query-heading{align-items:center}.query-live-badge{display:flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid rgba(53,215,140,.32);border-radius:999px;color:#52e49b;background:rgba(53,215,140,.08);font-size:12px}.query-live-badge i{width:8px;height:8px;border-radius:50%;background:#35d78c;box-shadow:0 0 12px #35d78c}.query-message{padding:13px 17px}.query-message.success{border-color:rgba(53,215,140,.42);background:rgba(28,121,81,.13)}.query-message.error{border-color:rgba(255,79,104,.45);background:rgba(150,26,50,.13)}.query-admin-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:16px}.query-catalog{padding:14px;max-height:calc(100vh - 175px);overflow:auto;position:sticky;top:88px}.query-catalog nav{display:grid;gap:5px;margin-top:14px}.query-catalog-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border:1px solid transparent;border-radius:10px;color:var(--muted)}.query-catalog-item:hover,.query-catalog-item.active{background:rgba(8,185,238,.09);border-color:rgba(8,185,238,.25);color:var(--text)}.query-catalog-item>span{display:flex;flex-direction:column;min-width:0}.query-catalog-item strong{font-size:12px;color:#18c8ed}.query-catalog-item small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.query-catalog-item em{font-style:normal;font-size:11px}.query-workspace{display:grid;gap:16px;min-width:0}.query-editor{padding:18px}.query-rules{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.query-rules span{padding:5px 8px;border:1px solid var(--line);border-radius:7px;color:var(--muted);font-size:10px}.query-rules code{color:#37ccee}.query-label{display:block;margin:8px 0;color:var(--muted);font-size:12px}.query-sql-editor{width:100%;min-height:420px;resize:vertical;padding:17px;border:1px solid #245174;border-radius:11px;background:#020d1c;color:#d8e8f5;font:13px/1.55 Consolas,"Cascadia Code",monospace;tab-size:4}.query-sql-editor:focus{outline:0;border-color:#12c9ed;box-shadow:0 0 0 3px rgba(18,201,237,.1)}.query-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:12px}.query-actions small{color:var(--muted)}.query-history{padding:18px}.query-version-list{display:grid}.query-version-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 3px;border-bottom:1px solid var(--line)}.query-version-list>div>span{display:flex;flex-direction:column}.query-version-list small{color:var(--muted)}.button.compact{padding:7px 10px;font-size:11px}
[data-theme="light"] .query-sql-editor{background:#f8fafc;color:#10243b;border-color:#bdcfdd}[data-theme="light"] .query-catalog-item:hover,[data-theme="light"] .query-catalog-item.active{background:#eef9fd}.executive-card-link:hover{color:#fff}
@media(max-width:900px){.query-admin-grid{grid-template-columns:1fr}.query-catalog{position:static;max-height:260px}.query-actions{align-items:stretch;flex-direction:column}.query-actions .button{width:100%}}
@media(max-width:700px){.login-shell{grid-template-rows:36vh minmax(0,56vh);padding:3vh 16px 5vh;gap:0}.login-brand{height:36vh}.login-logo{width:280px;max-width:72%;margin:0 auto 2vh}.login-copy h1{font-size:clamp(28px,8.5vw,38px);margin:1vh 0}.login-copy>p:last-child{display:block;font-size:clamp(11px,3.2vw,15px)}.login-card{height:56vh;min-height:0;padding:2.2vh 24px;justify-content:center}.login-card .form-stack{gap:1.2vh;margin-top:1.5vh}.login-card .form-stack .input-shell input{min-height:44px;padding:1.2vh 42px}.login-submit{min-height:45px}.login-divider{margin:1.2vh 0}.login-market{height:15vh}}

/* 2026 referans ekranları: ölçüler, yoğunluk ve hiyerarşi paylaşılan tek sistemden gelir. */
.reference-shell{grid-template-columns:216px minmax(0,1fr)}
.reference-sidebar{position:fixed;inset:0 auto 0 0;width:216px;height:100vh;height:100dvh;overflow:hidden;padding:14px 10px 12px;background:linear-gradient(180deg,#021024,#03172e 70%,#02172d);border-right:1px solid #15344f}
.reference-sidebar .logo{height:76px;padding:0 17px 14px;border:0;margin:0;align-items:center}
.reference-sidebar .logo img{width:155px;max-height:58px;object-fit:contain}
.reference-sidebar nav{flex:1 1 auto;min-height:0;padding-top:5px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.reference-sidebar .nav-link{min-height:42px;margin:2px 0;padding:9px 11px;border-radius:9px;font-size:13px}
.reference-sidebar .nav-link.active{background:linear-gradient(90deg,rgba(0,190,238,.27),rgba(0,153,220,.12));border-color:#09bde7;box-shadow:inset 2px 0 #16d8ff,0 0 22px rgba(0,172,229,.08)}
.reference-sidebar-bottom{flex:0 0 auto;min-height:0;margin-top:0;border-top:1px solid rgba(126,188,230,.13);padding-top:9px}
.sidebar-market{height:98px;margin:9px 8px 5px;display:flex;align-items:flex-end;gap:6px;border-bottom:1px solid rgba(11,199,241,.24);background:linear-gradient(180deg,transparent,rgba(4,89,139,.1))}
.sidebar-market i{flex:1;height:22%;border:1px solid rgba(13,200,241,.38);background:linear-gradient(#0cc3ec55,#086cab22)}.sidebar-market i:nth-child(2n){height:42%}.sidebar-market i:nth-child(3n){height:66%}.sidebar-market i:nth-child(5n){height:86%}
.sidebar-version{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:10px 12px}.sidebar-version strong{font-size:13px}.sidebar-version small{grid-column:1;color:#829ab4;font-size:11px}.sidebar-version span{grid-row:1/3;grid-column:2;align-self:center;font-size:21px}
.reference-topbar{height:60px;padding:0 24px;background:rgba(2,15,32,.92)}
.reference-topbar .company-picker{min-width:280px}.reference-topbar .company-picker select{height:40px}.reference-topbar .top-date{height:40px;display:flex;align-items:center}
.license-pill{height:40px;display:flex;align-items:center;padding:0 12px;border:1px solid #246044;border-radius:10px;background:rgba(35,181,112,.12);color:#4be39c;font-size:11px;font-weight:700;white-space:nowrap}.license-pill.expiring{border-color:#886421;background:rgba(239,184,63,.13);color:#efc354}.license-pill.expired,.license-pill.notfound{border-color:#7b2d41;background:rgba(231,67,99,.13);color:#ff7891}.license-pill.unavailable,.license-pill.notconfigured,.license-pill.taxnumbermissing{border-color:#36516a;background:#0a203a;color:#91a8bd}[data-theme="light"] .license-pill{background:#eaf9f1;color:#16734b}[data-theme="light"] .license-pill.expiring{background:#fff7df;color:#8b6500}[data-theme="light"] .license-pill.expired,[data-theme="light"] .license-pill.notfound{background:#fff0f3;color:#a5223f}
.sidebar-license{display:grid;gap:3px;margin:5px 4px 8px;padding:10px 12px;border:1px solid #246044;border-radius:10px;background:rgba(35,181,112,.1);color:#4be39c}.sidebar-license span{font-size:9px;text-transform:uppercase;letter-spacing:.08em}.sidebar-license strong{font-size:12px}.sidebar-license small{color:#8da7bf;font-size:9px}.sidebar-license.expiring{border-color:#886421;color:#efc354}.sidebar-license.expired,.sidebar-license.notfound{border-color:#7b2d41;color:#ff7891}.sidebar-license.unavailable,.sidebar-license.notconfigured,.sidebar-license.taxnumbermissing{border-color:#36516a;color:#91a8bd}
.notify-button{position:relative}.notify-button b{position:absolute;width:7px;height:7px;right:5px;top:5px;border-radius:50%;background:#f7a916;box-shadow:0 0 0 2px #071a31}
.reference-content{max-width:1680px;padding:18px 26px 34px}
.reference-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;min-height:58px}
.reference-page-heading h1{font-size:25px;margin:0 0 4px;letter-spacing:-.025em}.reference-page-heading h1 small{font-size:13px;color:#8ca4bd}.reference-page-heading p{margin:0;color:var(--muted);font-size:12px}.heading-icon{display:inline-grid;place-items:center;width:31px;height:31px}.heading-icon.cyan{color:#11d5f4}
.reference-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.ref-button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 15px;border:1px solid #1b405f;border-radius:9px;background:#06182d;color:#e5eff9;font-size:12px;cursor:pointer}.ref-button:hover{border-color:#10bfe9;color:#1bd7ff}.ref-button.primary{border-color:#078fc1;background:linear-gradient(110deg,#087dab,#0759a3);color:#fff}
.reference-filterbar{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) auto;align-items:end;gap:10px;padding:10px 12px;margin-bottom:12px;border:1px solid #173853;border-radius:10px;background:#06192e}.reference-filterbar label{display:grid;gap:5px;color:#8da5be;font-size:10px}.reference-filterbar input,.reference-filterbar select,.panel-title-row input{height:34px;min-width:0;padding:6px 10px;border:1px solid #1d4361;border-radius:7px;background:#04162b;color:#e7f0fa;font-size:11px}.report-filterbar{display:none}.report-filterbar.open{display:grid}
.reference-kpi-grid{display:grid;gap:10px;margin-bottom:12px}.reference-kpi-grid.seven{grid-template-columns:repeat(7,minmax(0,1fr))}.reference-kpi-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}
.ref-kpi{min-width:0;min-height:94px;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #173b59;border-radius:10px;background:linear-gradient(145deg,#071d35,#04162a);overflow:hidden}.ref-kpi>i{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:10px;background:rgba(12,186,229,.11);font-style:normal;font-size:22px;color:#18cff0}.ref-kpi>span{min-width:0;display:flex;flex-direction:column;color:#a8bacd;font-size:11px}.ref-kpi strong{margin:5px 0 4px;color:#f6f9fd;font-size:18px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ref-kpi small{color:#8399af;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ref-kpi.green>i{color:#3edf8e;background:#0d483055}.ref-kpi.red>i{color:#ff5368;background:#5b203055}.ref-kpi.violet>i{color:#9a80ff;background:#352b7155}.ref-kpi.orange>i{color:#f6a825;background:#60401355}.ref-kpi.blue>i{color:#45a0ff;background:#123f7255}.ref-kpi.cyan>i{color:#13d5ef;background:#07516a55}
.reference-chart-row{display:grid;grid-template-columns:1.35fr .92fr 1.15fr;gap:10px;margin-bottom:12px}.reference-chart-row.finance-charts{grid-template-columns:1.25fr .75fr 1.25fr}.reference-chart-row.users-charts{grid-template-columns:.9fr 1.1fr .62fr}.reference-chart-row.history-charts{grid-template-columns:.72fr 1.15fr .65fr}
.ref-panel{min-width:0;padding:13px;border:1px solid #173b59;border-radius:10px;background:linear-gradient(145deg,#071d35,#04162a);box-shadow:0 12px 30px rgba(0,5,15,.14)}.ref-panel h2{margin:0 0 10px;font-size:13px}.ref-panel.wide{min-height:235px}
.reference-svg{width:100%;height:195px}.css-line-chart{position:relative;height:180px;margin:8px 5px;border-bottom:1px solid #1c405e;background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#15334e 44px)}.css-line-chart:before{content:"";position:absolute;left:7%;right:7%;top:26%;height:3px;background:linear-gradient(90deg,#14cef0,#14cef0);transform:skewY(-5deg);filter:drop-shadow(0 0 5px #0ebee0)}.css-line-chart span{position:absolute;left:var(--x);top:var(--y);width:9px;height:9px;border-radius:50%;background:#19d4f3;border:2px solid #071a31;box-shadow:0 0 0 1px #19d4f3}
.css-bars{height:180px;display:flex;align-items:flex-end;justify-content:space-around;gap:9px;padding:15px 12px 0;border-bottom:1px solid #1c405e;background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#15334e 44px)}.css-bars i{width:9%;max-width:32px;height:var(--h);border-radius:3px 3px 0 0;background:linear-gradient(180deg,#10c7e6,#0870b5);box-shadow:0 0 16px rgba(16,185,226,.18)}
.reference-donut{position:relative;width:145px;height:145px;margin:14px auto;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#16c9e8 0 var(--a,42%),#e8a72e var(--a,42%) 67%,#6650d5 67% 86%,#2ab574 86%);box-shadow:0 0 22px rgba(17,191,231,.1)}.reference-donut:after{content:"";position:absolute;inset:28px;border-radius:50%;background:#06192e;border:1px solid #183952}.reference-donut b{position:relative;z-index:1;max-width:92px;text-align:center;font-size:11px}.reference-donut b small{display:block;color:#8da3b9;margin-top:4px}.ref-legend{display:grid;gap:5px;margin:8px 0 0;padding:0;list-style:none;font-size:10px;color:#9fb1c4}.ref-legend li{display:flex;justify-content:space-between;gap:10px}.ref-legend b{color:#e8f0f9}.chart-foot{display:flex;gap:20px;justify-content:center;color:#8da5ba;font-size:10px}
.reference-lower-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.reference-data-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(250px,.85fr);gap:10px}.reference-result-panel{padding:0;overflow:hidden}.panel-title-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px}.panel-title-row h2{margin:0}.panel-title-row input{width:250px}.reference-table-scroll{overflow:auto}.reference-table{width:100%;min-width:760px;border-collapse:collapse;font-size:10px}.reference-table th,.reference-table td{padding:9px 11px;text-align:left;border-bottom:1px solid #17354f;white-space:nowrap}.reference-table th{color:#9bb0c6;background:#081d35;font-weight:600}.reference-table td{color:#d4deea}.reference-table tr:hover td{background:rgba(11,182,225,.04)}.reference-table td.positive,.positive{color:#36dd8c}.reference-table small{color:#738ba4}.reference-empty{min-height:110px;display:grid;place-items:center;padding:20px;color:#8298af;text-align:center}.panel-link{display:block;margin-top:10px;padding-top:10px;border-top:1px solid #17354f;color:#16c7ed;text-align:center;font-size:10px}.reference-alert-panel{display:flex;flex-direction:column}.ref-alert-list{display:grid}.ref-alert-list>div{display:flex;align-items:center;gap:10px;padding:12px 2px;border-bottom:1px solid #17354f}.ref-alert-list i{width:31px;height:31px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-style:normal}.ref-alert-list span{display:flex;flex-direction:column;font-size:11px}.ref-alert-list small{color:#849bb1;margin-top:3px}.ref-alert-list .red{color:#ff4f69}.ref-alert-list .orange{color:#f2ab22}.ref-alert-list .blue{color:#3d8dff}
.reference-side-list,.progress-list{list-style:none;padding:0;margin:0;display:grid}.reference-side-list li{display:flex;justify-content:space-between;gap:12px;padding:10px 2px;border-bottom:1px solid #17354f;color:#a9b9ca;font-size:10px}.reference-side-list b{color:#eaf1f8}.progress-list li{display:grid;grid-template-columns:1fr 80px 25px;align-items:center;gap:7px;padding:6px 0;color:#a9b9ca;font-size:9px}.progress-list i{height:4px;border-radius:4px;background:linear-gradient(90deg,#38d17f var(--w),#1b3a54 var(--w))}.table-avatar{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:6px;border-radius:50%;background:#1169bd;color:#fff}.state{display:inline-flex;padding:4px 7px;border-radius:5px;font-size:9px}.state.active{background:#0d4b3055;color:#38d989}.state.waiting{background:#64471655;color:#efb12f}
.mobile-backdrop{display:none}

[data-theme="light"] .ref-panel,[data-theme="light"] .ref-kpi,[data-theme="light"] .reference-filterbar{background:#fff;border-color:#d5e1eb;box-shadow:0 10px 26px rgba(21,52,78,.06)}[data-theme="light"] .ref-kpi strong{color:#13233a}[data-theme="light"] .ref-button,[data-theme="light"] .reference-filterbar input,[data-theme="light"] .reference-filterbar select,[data-theme="light"] .panel-title-row input{background:#fff;border-color:#cbdbe7;color:#18334d}[data-theme="light"] .reference-table th{background:#f1f6fa;color:#557087}[data-theme="light"] .reference-table td{color:#263d53;border-color:#dce6ed}[data-theme="light"] .reference-table th,[data-theme="light"] .reference-table td{border-color:#dce6ed}[data-theme="light"] .reference-donut:after{background:#fff;border-color:#d9e4ec}[data-theme="light"] .css-line-chart,[data-theme="light"] .css-bars{background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#dce7ee 44px);border-color:#cbdce8}[data-theme="light"] .ref-alert-list>div,[data-theme="light"] .reference-side-list li,[data-theme="light"] .panel-link{border-color:#dce6ed}

@media(max-width:1400px){.reference-kpi-grid.seven{grid-template-columns:repeat(4,1fr)}.reference-kpi-grid.six{grid-template-columns:repeat(3,1fr)}.reference-chart-row,.reference-chart-row.finance-charts{grid-template-columns:1fr 1fr}.reference-chart-row>.wide:first-child{grid-column:1/-1}.reference-lower-grid{grid-template-columns:1fr 1fr}.reference-lower-grid>*:last-child{grid-column:1/-1}}
@media(max-width:1000px){.reference-shell{grid-template-columns:1fr}.reference-shell>.main-shell{grid-column:1}.reference-sidebar{position:fixed;left:-230px;width:216px;height:100vh;height:100dvh;transition:left .2s}.menu-open .reference-sidebar{left:0;z-index:51}.menu-open .mobile-backdrop{display:block;position:fixed;inset:0;z-index:49;background:rgba(0,5,15,.68)}.reference-topbar{padding:0 12px}.reference-topbar .top-date,.reference-topbar .license-pill{display:none}.reference-content{padding:16px}.reference-data-grid,.users-data{grid-template-columns:1fr}.reference-chart-row.users-charts,.reference-chart-row.history-charts{grid-template-columns:1fr 1fr}.reference-chart-row.users-charts>*:nth-child(2),.reference-chart-row.history-charts>*:nth-child(2){grid-column:1/-1;grid-row:1}.reference-filterbar{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.reference-topbar{height:56px}.reference-topbar .company-picker{min-width:0;flex:1}.reference-topbar .top-actions .icon-button,.reference-topbar .user-chip,.reference-topbar form{display:none}.reference-content{padding:13px 10px 24px}.reference-page-heading{align-items:flex-start;flex-direction:column;margin-bottom:11px}.reference-page-heading h1{font-size:22px}.reference-actions{width:100%;justify-content:flex-start;overflow:auto;flex-wrap:nowrap}.ref-button{white-space:nowrap}.reference-filterbar{grid-template-columns:1fr;padding:10px}.reference-kpi-grid.seven,.reference-kpi-grid.six{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ref-kpi{min-height:88px;padding:9px;gap:7px}.ref-kpi>i{width:34px;height:34px;flex-basis:34px;font-size:18px}.ref-kpi strong{font-size:14px}.ref-kpi small{font-size:8px}.reference-chart-row,.reference-chart-row.finance-charts,.reference-chart-row.users-charts,.reference-chart-row.history-charts{grid-template-columns:1fr}.reference-chart-row>*{grid-column:auto!important;grid-row:auto!important}.ref-panel.wide{min-height:205px}.css-line-chart,.css-bars{height:150px}.reference-lower-grid{grid-template-columns:1fr}.reference-lower-grid>*:last-child{grid-column:auto}.panel-title-row{align-items:stretch;flex-direction:column}.panel-title-row input{width:100%}.reference-table{min-width:720px}.reference-data-grid{grid-template-columns:1fr}.login-page .login-card .check-row{min-height:30px}.login-page .login-card input[type="checkbox"]{width:18px;height:18px}}
@media(max-width:390px){.reference-kpi-grid.seven,.reference-kpi-grid.six{grid-template-columns:1fr}.ref-kpi{min-height:72px}.reference-sidebar .logo img{width:145px}}

/* Cari Merkezi */
.customer-filter{grid-template-columns:1fr 1fr 1fr 1fr 1fr auto auto;display:none}.customer-filter.open{display:grid}.customer-filter .inline-check{height:34px;display:flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid #1d4361;border-radius:7px;color:#b1c2d2;background:#04162b;white-space:nowrap}.customer-filter .inline-check input{width:15px;height:15px;margin:0;accent-color:#0dc7eb}
.customer-chart-row{grid-template-columns:1.2fr .85fr 1.2fr}.customer-balance-bars{display:grid;gap:9px;padding:5px 4px}.customer-balance-bars a{display:grid;grid-template-columns:minmax(95px,1fr) minmax(120px,2fr) 120px;align-items:center;gap:10px;font-size:10px}.customer-balance-bars a>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b8c7d7}.customer-balance-bars a>i{height:11px;border-radius:2px;background:linear-gradient(90deg,#0a75c9 var(--w),#173a56 var(--w));box-shadow:0 0 10px rgba(16,155,224,.14)}.customer-balance-bars a>i.credit{background:linear-gradient(90deg,#27c77d var(--w),#173a56 var(--w))}.customer-balance-bars a>b{text-align:right;font-size:10px;color:#e7eff7;font-variant-numeric:tabular-nums}.customer-lower-grid{grid-template-columns:1.12fr .75fr .95fr}.customer-summary-table{min-width:0}.customer-summary-table td:first-child{display:flex;flex-direction:column}.customer-summary-table small{margin-top:3px}.panel-title-row.compact{padding:0 0 8px}.customer-detail-panel{margin-top:12px}.customer-detail-panel .panel-title-row>div{display:flex;gap:8px}.customer-detail-panel .panel-title-row input{width:260px}
[data-theme="light"] .customer-filter .inline-check{background:#fff;border-color:#cbdbe7;color:#18334d}[data-theme="light"] .customer-balance-bars a>span,[data-theme="light"] .customer-balance-bars a>b{color:#263d53}
@media(max-width:1400px){.customer-filter{grid-template-columns:repeat(4,1fr)}.customer-chart-row{grid-template-columns:1fr 1fr}.customer-chart-row>*:last-child{grid-column:1/-1}.customer-lower-grid{grid-template-columns:1fr 1fr}.customer-lower-grid>*:last-child{grid-column:1/-1}}
@media(max-width:900px){.customer-filter{grid-template-columns:repeat(2,1fr)}.customer-chart-row,.customer-lower-grid{grid-template-columns:1fr}.customer-chart-row>*,.customer-lower-grid>*{grid-column:auto!important}.customer-detail-panel .panel-title-row>div{width:100%;flex-wrap:wrap}.customer-detail-panel .panel-title-row input{width:100%}}
@media(max-width:600px){.customer-filter{grid-template-columns:1fr}.customer-balance-bars a{grid-template-columns:90px 1fr 95px;gap:6px}.customer-balance-bars a>b{font-size:9px}}

/*
 * Akiskan rapor yerlesimi
 * Icerik genis ekranda goruntuleme alanini doldurur; dar ekranlarda kartlar
 * kademeli olarak alt alta gecer ve mobil tablolar kontrollu kaydirilir.
 */
html,body{width:100%;max-width:100%;overflow-x:hidden}
.app-shell,.reference-shell,.main-shell{width:100%;min-width:0}.reference-shell>.main-shell{grid-column:2}
.page-content,.reference-content{width:100%;max-width:none;margin:0;padding-inline:clamp(14px,1.45vw,38px)}
.dashboard-kpis,.dashboard-panels,.dashboard-chart-grid,.executive-kpi-grid,.executive-chart-grid,.executive-detail-grid,.reference-kpi-grid,.reference-chart-row,.reference-lower-grid,.reference-data-grid{min-width:0}
.dashboard-kpis>*,.dashboard-panels>*,.dashboard-chart-grid>*,.executive-kpi-grid>*,.executive-chart-grid>*,.executive-detail-grid>*,.reference-kpi-grid>*,.reference-chart-row>*,.reference-lower-grid>*,.reference-data-grid>*{min-width:0}
.reference-table-scroll,.executive-table-wrap{max-width:100%;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}

@media(max-width:1000px){.reference-shell>.main-shell{grid-column:1}}

@media(min-width:1800px){
    .app-shell.reference-shell{grid-template-columns:clamp(216px,11.5vw,280px) minmax(0,1fr)}
    .reference-sidebar{width:clamp(216px,11.5vw,280px)}
    .reference-content{padding-block:clamp(20px,1.2vw,34px) clamp(36px,2vw,54px)}
    .reference-page-heading{min-height:clamp(58px,4vw,76px)}
    .reference-page-heading h1,.executive-heading h1{font-size:clamp(25px,1.45vw,32px)}
    .reference-kpi-grid,.reference-chart-row,.reference-lower-grid,.reference-data-grid,.executive-kpi-grid,.executive-chart-grid,.executive-detail-grid{gap:clamp(10px,.72vw,18px)}
    .ref-kpi{min-height:clamp(94px,5.7vw,124px);padding:clamp(12px,.8vw,18px)}
    .ref-kpi>i{width:clamp(42px,2.5vw,54px);height:clamp(42px,2.5vw,54px);flex-basis:clamp(42px,2.5vw,54px)}
    .ref-kpi strong{font-size:clamp(18px,1.05vw,23px)}
    .reference-svg{height:clamp(195px,12vw,285px)}
    .css-line-chart,.css-bars{height:clamp(180px,11vw,270px)}
    .ref-panel.wide{min-height:clamp(235px,15vw,330px)}
    .executive-kpi{min-height:clamp(91px,5.4vw,118px);padding:clamp(13px,.78vw,18px)}
    .executive-kpi strong{font-size:clamp(21px,1.15vw,26px)}
    .executive-chart-grid>.executive-card{min-height:clamp(235px,14.5vw,320px);padding:clamp(13px,.75vw,18px)}
    .executive-line-chart,.executive-bar-chart{height:clamp(185px,11.5vw,270px)}
    .executive-donut-content{height:clamp(190px,11.5vw,270px)}
    .executive-detail-grid>.executive-card{min-height:clamp(250px,15vw,340px);padding:clamp(13px,.75vw,18px)}
    .reference-table,.executive-table{font-size:clamp(10px,.55vw,12px)}
}

@media(min-width:1001px) and (max-width:1399px){
    .page-content,.reference-content{padding-inline:clamp(14px,1.4vw,22px)}
    .reference-kpi-grid.seven{grid-template-columns:repeat(4,minmax(0,1fr))}
    .reference-kpi-grid.six{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:1000px){
    .page-content,.reference-content{width:100%;max-width:none;margin:0}
    .reference-topbar .company-picker{max-width:min(62vw,420px)}
    .reference-topbar .company-picker select{width:100%;min-width:0;text-overflow:ellipsis}
    .reference-table-scroll{border-radius:0 0 10px 10px}
}

@media(max-width:700px){
    .page-content,.reference-content{padding-inline:10px}
    .reference-page-heading{width:100%}
    .reference-page-heading>div:first-child{min-width:0;max-width:100%}
    .reference-page-heading h1{line-height:1.18;overflow-wrap:anywhere}
    .reference-actions{padding-bottom:3px;scrollbar-width:thin}
    .reference-filterbar>*{min-width:0}
    .reference-chart-row,.reference-lower-grid,.reference-data-grid,.executive-chart-grid,.executive-detail-grid{width:100%}
    .ref-panel,.executive-card{max-width:100%}
    .reference-table{width:max-content;min-width:680px}
    .reference-table th,.reference-table td{padding:8px 10px}
    .reference-table th:first-child,.reference-table td:first-child{position:sticky;left:0;z-index:2}
    .executive-table{min-width:560px}
    .executive-table th:first-child,.executive-table td:first-child{position:sticky;left:0;z-index:2;background:var(--surface)}
}

@media(max-width:420px){
    .reference-topbar{gap:7px;padding-inline:8px}
    .reference-topbar .company-picker{max-width:calc(100vw - 68px)}
    .reference-topbar .company-picker select{font-size:10px;padding-inline:8px 26px}
    .reference-content{padding:11px 8px 22px}
    .reference-kpi-grid.seven,.reference-kpi-grid.six{grid-template-columns:1fr}
    .ref-kpi{min-height:72px}
    .reference-actions{margin-inline:-2px;padding-inline:2px}
    .ref-button{min-height:36px;padding:7px 11px}
}

/* Özel rapor ve gerçek pivot görünümü */
.reference-data-grid.custom-result{grid-template-columns:1fr}.pivot-panel{margin-bottom:12px}.pivot-table th,.pivot-table td{text-align:right}.pivot-table th:first-child,.pivot-table td:first-child{text-align:left}.pivot-table tfoot{background:rgba(18,54,85,.65)}
