*{box-sizing:border-box} :root{font-family:"Segoe UI",Arial,sans-serif;color:#1a3048;background:#f1f4fa;--blue:#176fb9;--teal:#148979;--purple:#7753c5;--line:#e0e6f0;--muted:#708298;--nav:#18314d}body{margin:0;font-size:16px}button,input,select{font:inherit}button{cursor:pointer}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #459ee1;outline-offset:3px}.icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-header{background:#fff;border-bottom:1px solid #dde5f0}.topbar{max-width:1760px;margin:auto;min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:35px;padding:18px 46px}.brand{display:flex;align-items:center;gap:12px;color:#173654;font-size:29px;font-weight:750;letter-spacing:-1px;flex-shrink:0}.brand-light{font-weight:400}.brand small{display:block;font-size:11px;font-weight:500;color:#8c9aad;letter-spacing:.2px;margin-top:4px}.brand-mark{width:48px;height:48px;border-radius:15px;background:#166fbd;color:#fff;display:grid;place-items:center}.brand-mark svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round}.global-search{max-width:600px;flex:1;display:flex;align-items:center;gap:10px;background:#f2f5fa;border:1px solid #e4eaf3;border-radius:12px;padding:13px 16px;color:#8798ac}.global-search input{border:0;background:none;outline:none;width:100%;font-size:14px;color:#263e57;min-width:0}.global-search input::placeholder{color:#8a9caf}.global-search kbd{font:11px "Segoe UI",sans-serif;background:white;border:1px solid #e2e8f0;border-radius:5px;padding:3px 6px;color:#97a5b7}.topbar-right{display:flex;align-items:center;gap:16px}.demo-label{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;font-size:11px;color:#729084}.status-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#31a987}.topbar select{border:0;background:#fff;color:#334b67;font-size:13px;max-width:170px}.avatar{display:grid;place-items:center;width:38px;height:38px;background:#e8e4f6;color:#7454ae;border-radius:12px;font-size:12px;font-weight:700}.nav-shell{background:#17324f;padding:0 38px}.nav-shell nav{display:flex;align-items:stretch;gap:4px;max-width:1685px;margin:auto;min-height:59px}.nav-link{border:0;background:none;color:#b7c9dc;display:flex;align-items:center;gap:9px;padding:16px 15px;font-size:13px;font-weight:500;white-space:nowrap;border-radius:8px 8px 0 0;position:relative}.nav-link .icon{width:18px;height:18px}.nav-link:hover{background:#223f5e;color:#fff}.nav-link.active{color:#fff;background:#254969}.nav-link.active::after{content:"";position:absolute;height:3px;bottom:0;left:14px;right:14px;background:#63cdd4;border-radius:2px}.nav-caption{display:none}.menu-toggle{background:none;border:1px solid #4b637f;color:#ecf5fc;border-radius:8px;min-height:42px;padding:8px 12px;align-items:center;gap:8px;font-size:14px}.layout{margin:0}main{padding:34px 46px 26px;max-width:1760px;margin:auto;min-height:calc(100vh - 220px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:27px}.eyebrow{font-size:12px;color:#8392a8;margin:0 0 10px;font-weight:500}.page-heading h1{font-size:34px;font-weight:700;letter-spacing:-1px;color:#15314e;margin:0}.page-heading p{font-size:14px;color:#7b8da3;line-height:1.6;margin:10px 0 0}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;border:1px solid transparent;border-radius:9px;padding:11px 17px;font-size:13px;font-weight:600;white-space:nowrap}.button .icon{width:17px;height:17px}.button.primary{background:#176fbb;color:#fff}.button.primary:hover{background:#0d5c9f}.button.secondary{background:white;border-color:#dce4ef;color:#536c87}.button.subtle{background:#edf3fa;color:#3875a6}.button.small{min-height:36px;padding:8px 11px;font-size:12px}.button:disabled{opacity:.6;cursor:wait}.button.danger{background:#fff0ee;color:#af594f;border-color:#f2d8d3}.analysis-filter{background:#fff;border:1px solid #e0e7f1;border-radius:14px;margin-bottom:24px;overflow:hidden}.filter-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 21px;border-bottom:1px solid #eef1f7}.filter-heading>div{display:flex;align-items:center;gap:9px}.filter-heading .icon{color:#7c8fa8;width:17px}.filter-heading strong{font-size:13px;color:#526b85;font-weight:650}.filter-heading span{font-size:12px;color:#8d9db1;padding-left:12px;border-left:1px solid #e4eaf2;margin-left:5px}.text-button,.text-link{border:0;background:none;color:#3482bd;padding:3px;font-size:12px;font-weight:600}.analysis-filter-grid{display:grid;grid-template-columns:repeat(8,minmax(110px,1fr));gap:13px;padding:17px 21px}.analysis-filter-grid label{font-size:11px;color:#7e8fa7;font-weight:600}.analysis-filter-grid select,.analysis-filter-grid input{display:block;margin-top:7px;border:1px solid #dfe6f0;border-radius:7px;width:100%;min-height:39px;background:#fbfcfe;color:#3e5872;font-size:12px;padding:8px 9px}.active-filter-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 21px 15px;color:#9aa8b8;font-size:11px}.scope-label{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.filter-chip{border-radius:5px;background:#eef4fb;color:#517ca1;padding:4px 7px;font-size:10px}.sort-control{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#8395aa}.sort-control select{border:0;background:none;font-size:11px;color:#4b6c8a;max-width:165px}.zero-control{display:flex;align-items:center;gap:6px;color:#7e90a5;font-size:11px}.zero-control input{accent-color:#1779bb}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0 0 23px}.kpi{position:relative;background:#fff;border:1px solid var(--line);border-radius:13px;padding:23px 25px;min-height:156px;overflow:hidden}.kpi-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:#70849b}.kpi-top .icon{width:21px;height:21px}.kpi-value{font-size:31px;font-weight:750;letter-spacing:-1px;margin:18px 0 12px;line-height:1.15;font-variant-numeric:tabular-nums;white-space:nowrap}.kpi-value small{font-size:15px;font-weight:450;letter-spacing:0;margin-left:6px;opacity:.8}.kpi-foot{font-size:11px;color:#8a9caf;line-height:1.7}.vibrant-kpis .kpi{border:0;min-height:163px}.vibrant-kpis .kpi.accent{background:#176fbd;color:#fff}.vibrant-kpis .kpi.teal{background:#168d80;color:#fff}.vibrant-kpis .kpi.purple{background:#7758c5;color:#fff}.vibrant-kpis .kpi.amber{background:#fbf2df;color:#8c691f}.vibrant-kpis .kpi-top,.vibrant-kpis .kpi-foot{color:inherit;opacity:.84}.vibrant-kpis .kpi-top .icon{background:#ffffff21;width:35px;height:35px;padding:8px;border-radius:9px}.vibrant-kpis .kpi.amber .icon{background:#eddfbe}.vibrant-kpis .kpi-value{font-size:32px;margin:11px 0 10px}.insight-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:23px;margin-bottom:24px}.panel{background:#fff;border:1px solid #e0e7f1;border-radius:13px;overflow:hidden}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 18px}.panel h2{font-size:17px;letter-spacing:-.2px;font-weight:650;margin:0;color:#2b4763}.panel-sub{font-size:12px;line-height:1.7;color:#8b9bb0;margin-top:6px}.panel-body{padding:3px 24px 23px}.group-overview{padding:4px 25px 23px}.group-total small{font-size:12px;color:#91a0b3}.group-total strong{display:block;font-size:35px;font-weight:700;letter-spacing:-1.4px;color:#1d3f5e;margin-top:7px}.group-total strong span{font-size:15px;font-weight:400;letter-spacing:0;color:#8a9bb0}.group-total p{font-size:11px;color:#a0adbc;margin:8px 0 22px}.group-stacked{display:block;width:100%;height:15px;border-radius:5px;background:#f0f4fa;margin:12px 0 19px}.group-legend{display:grid;gap:13px}.group-legend>div{display:grid;grid-template-columns:9px 1fr auto auto;align-items:center;gap:10px;font-size:13px;color:#71869d}.group-legend strong{font-size:13px;color:#35536f;font-weight:600}.group-legend small{font-size:11px;color:#97a8b9;min-width:105px;text-align:right}.group-dot,.group-chip i{width:7px;height:7px;border-radius:2px;background:#0f78bd;display:inline-block;flex-shrink:0}.group-dot.pet,.group-chip.pet i{background:#19a88c}.group-dot.bardak,.group-chip.bardak i{background:#8160d6}.group-dot.other,.group-chip.other i{background:#df9d31}.trend-bars{padding:0 23px 16px}.month-chart{display:block;width:100%;height:226px;overflow:visible}.month-paid{fill:#3f90ca}.month-free{fill:#8c72d3}.chart-grid{stroke:#eaf0f8;stroke-width:1;stroke-dasharray:4 4}.chart-label{fill:#8b9caf;font:11px "Segoe UI",sans-serif}.chart-value{fill:#61839f;font:11px "Segoe UI",sans-serif}.chart-legend{display:flex;justify-content:center;gap:19px;font-size:11px;color:#8093a8}.chart-legend span{display:flex;gap:6px;align-items:center}.chart-legend i{width:8px;height:8px;border-radius:2px;display:block}.legend-paid{background:#3f90ca}.legend-free{background:#8c72d3}.chart-footnote{font-size:10px;color:#a0aec0;line-height:1.7;text-align:center;margin:13px 0 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:14px}th{font-size:11px;color:#8b9bb0;font-weight:600;padding:14px 24px;background:#f8faff;border-top:1px solid #edf1f8;border-bottom:1px solid #edf1f8}td{padding:17px 24px;color:#5b748d;border-bottom:1px solid #edf1f7}tr:last-child td{border-bottom:0}td strong{font-size:14px;font-weight:650;color:#2e4c68}.num{text-align:right;font-variant-numeric:tabular-nums}.cell-sub{display:block;font-size:11px;color:#98a8ba;margin-top:6px;line-height:1.6}.customer-dot{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#eaf2fc;color:#4e8cb8;font-size:13px;font-weight:650;flex-shrink:0}.customer-name-button{display:flex;align-items:center;gap:12px;background:none;border:0;padding:0;text-align:left}.customer-name-button small{display:block;font-size:11px;color:#96a5b7;margin-top:5px}.customer-name-button:hover strong{color:#1775b9}.group-chips{display:flex;gap:6px;max-width:440px;flex-wrap:wrap;white-space:normal}.group-chip{display:inline-flex;gap:5px;align-items:center;background:#edf5fd;color:#5e81a2;padding:6px 7px;border-radius:5px;font-size:10px;line-height:1.4}.group-chip strong{font-size:10px;font-weight:600;white-space:nowrap;color:inherit}.group-chip.pet{background:#eaf8f3;color:#398f78}.group-chip.bardak{background:#f1edfb;color:#8b71b9}.group-chip.other{background:#fff6e5;color:#b18b3d}.group-chip i{width:5px;height:5px}.operating-band{display:grid;grid-template-columns:repeat(4,1fr);background:#e8edf8;border-radius:12px;margin:23px 0;padding:23px 0}.operating-band>div{padding:0 26px;border-right:1px solid #d8e1f0}.operating-band>div:last-child{border:0}.operating-band small{display:block;font-size:11px;color:#7c8fa9}.operating-band strong{display:block;font-size:23px;font-weight:650;letter-spacing:-.6px;margin:10px 0 7px;color:#385875}.operating-band span{display:block;font-size:10px;line-height:1.7;color:#8c9db5}.two-col{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:23px;margin:23px 0}.equal-col{grid-template-columns:1fr 1fr}.simple-list{margin:0;padding:0;list-style:none}.simple-list li{padding:13px 0;font-size:13px;line-height:1.8;border-bottom:1px solid #edf1f7;color:#8293a7}.simple-list li:last-child{border:0}.simple-list strong{color:#46657f;font-weight:600}.simple-list small{display:block;font-size:11px;color:#96a6b9}.empty{padding:44px 24px;font-size:14px;color:#90a2b7;text-align:center}.pill{display:inline-flex;gap:6px;align-items:center;border-radius:5px;background:#edf4fb;color:#4c8bb8;font-size:11px;padding:6px 8px}.pill::before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.pill.green{background:#eaf7f0;color:#489675}.pill.amber{background:#fff5e2;color:#aa8645}.pill.red{background:#fff0ed;color:#ba6a60}.notice{background:#eaf2fb;border:1px solid #dae7f5;color:#6887a5;border-radius:10px;padding:15px 18px;font-size:13px;line-height:1.8;margin:23px 0}.notice.warn{background:#fff7e8;color:#a18147;border-color:#f1e0c0}.customer-analysis-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#e5effb;border:1px solid #d2e3f7;border-radius:13px;padding:24px 28px;margin-bottom:23px}.customer-analysis-banner small{font-size:12px;color:#6790b7}.customer-analysis-banner h2{font-size:28px;letter-spacing:-.7px;margin:10px 0;color:#235887}.customer-analysis-banner p{font-size:13px;color:#7694b3;margin:0}.all-customers{margin-top:23px;border:1px solid #dce5f0;background:white;border-radius:12px;overflow:hidden}.all-customers summary{padding:19px 24px;font-size:14px;color:#587895;cursor:pointer}.toolbar{display:flex;justify-content:space-between;gap:13px;margin-bottom:23px;align-items:center}.filters{display:flex;gap:10px;flex-wrap:wrap}.filter-control{min-height:41px;border:1px solid #d8e2ee;border-radius:8px;background:#fff;font-size:13px;color:#638099;padding:8px 12px}.search{min-width:230px}.sync{font-size:11px;color:#90a3b6;display:flex;gap:7px;align-items:center}.balance-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dfe6f1;background:white;border-radius:12px;margin:23px 0}.balance-item{padding:20px 25px;border-right:1px solid #e4eaf4}.balance-item:last-child{border:0}.balance-item small{display:block;font-size:12px;color:#7e95ad}.balance-item strong{display:block;font-size:23px;color:#325774;margin-top:10px}.balance-item em{display:block;font-size:11px;color:#98aabe;font-style:normal;margin-top:8px}.campaign-grid{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.4fr);gap:23px}.campaign{background:#ece8f9;border:1px solid #ddd5f2;border-radius:13px;padding:26px}.campaign h2{font-size:18px;font-weight:600;margin:18px 0;color:#6c52a8}.campaign-number{font-size:65px;font-weight:750;line-height:1;letter-spacing:-3px;color:#7655bc;margin:28px 0 12px}.campaign p{font-size:13px;color:#9786b9;line-height:1.9}.campaign-actions{display:flex;gap:10px;margin-top:23px}.rank{margin:15px 0 23px}.rank-head{display:flex;justify-content:space-between;font-size:14px;margin-bottom:9px}.rank-head strong{font-weight:550}.rank-head span{font-size:12px;color:#8199ae}.rank svg{width:100%;height:7px;display:block}.rank-note{font-size:11px;color:#97a9bd;margin-top:7px}.item-row{display:flex;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #edf2f8}.item-row:last-child{border:0}.item-icon{width:36px;height:36px;display:grid;place-items:center;background:#edf3fb;color:#6992b3;border-radius:9px}.item-copy{flex:1}.item-copy strong{display:block;font-size:14px;font-weight:600}.item-copy small{display:block;font-size:11px;color:#92a7ba;margin-top:6px}.item-value{font-size:14px;font-weight:600}.footer{max-width:1760px;margin:auto;padding:20px 46px 24px;display:flex;justify-content:space-between;gap:15px;color:#9bacbd;font-size:10px}.loading-state{padding:100px;text-align:center;font-size:15px;color:#7a93ab}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:-60px;left:20px;background:white;padding:10px;z-index:200}.skip:focus{top:10px}.icon-button{border:0;background:transparent;color:#7c92a7;font-size:26px;min-width:34px;min-height:34px;border-radius:7px}dialog{padding:0;border:0;border-radius:16px;width:min(610px,calc(100vw - 28px));color:#3c5872;box-shadow:0 25px 100px #18345435}dialog::backdrop{background:#17314c66}.dialog-head{padding:24px 28px 19px;border-bottom:1px solid #e8eef6;display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.dialog-head small{font-size:12px;color:#91a4b9}.dialog-head h2{margin:8px 0 0;font-size:23px;font-weight:650;color:#2b4f70}#dialog-body{padding:24px 28px;max-height:65vh;overflow:auto}.dialog-foot{display:flex;justify-content:flex-end;gap:10px;padding:17px 28px;border-top:1px solid #e4eaf2;background:#f9fbfe}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field.full{grid-column:1/-1}.field label{display:block;font-size:14px;color:#69829a;font-weight:500;margin-bottom:8px}.field input,.field select{border:1px solid #d7e2ee;border-radius:8px;background:white;padding:10px 12px;min-height:45px;width:100%;font-size:15px;color:#355570}.field small{display:block;font-size:12px;color:#93a5b7;line-height:1.8;margin-top:7px}.form-summary{margin-top:22px;padding:17px 19px;background:#eaf3fc;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;color:#7194b4}.form-summary strong{font-size:21px;color:#2a78b4}.form-error{color:#ba6359;font-size:13px;line-height:1.8;margin:0 28px 18px}.form-error:empty{display:none}.toast{display:none;position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:80vw;background:#23455f;color:#fff;border-radius:10px;padding:16px 24px;font-size:14px;line-height:1.6;z-index:200;box-shadow:0 8px 50px #18345420}.toast.visible{display:block}#detail-dialog{width:min(1120px,calc(100vw - 30px))}#detail-body{padding:24px 28px;max-height:78vh;overflow:auto}.detail-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;background:#edf4fb;border-radius:10px;padding:20px 24px}.detail-summary small{display:block;font-size:12px;color:#7e9ab5}.detail-summary strong{display:block;font-size:24px;margin-top:9px;color:#2f638c}.detail-section{margin-top:25px}.detail-section h3{font-size:16px;font-weight:600;margin:0 0 16px;color:#4b6b86}.detail-section .group-chip{margin-right:8px;font-size:12px}.detail-section .group-chip strong{font-size:12px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-box small{display:block;font-size:12px;color:#91a5b8}.detail-box strong{display:block;font-size:16px;margin-top:8px}
@media(min-width:1700px){.kpi-value,.vibrant-kpis .kpi-value{font-size:38px}.page-heading h1{font-size:39px}}
@media(max-width:1450px){.topbar{padding:18px 30px;gap:25px}.nav-shell{padding:0 20px}.nav-link{font-size:12px;padding:16px 12px;gap:7px}main{padding:29px 30px}.analysis-filter-grid{grid-template-columns:repeat(4,1fr)}.vibrant-kpis .kpi-value{font-size:29px}.kpi{padding:21px}.global-search{max-width:490px}.demo-label{display:none}.footer{padding-left:30px;padding-right:30px}.group-chips{max-width:360px}}
@media(max-width:1150px){.topbar{gap:20px}.brand{font-size:25px}.brand-mark{width:42px;height:42px}.global-search{max-width:420px}.topbar-right{gap:10px}.topbar select{max-width:145px;font-size:12px}.nav-shell nav{overflow:auto;scrollbar-width:thin}.nav-link{padding:15px 11px}.page-heading h1{font-size:29px}.kpi-grid{gap:14px}.kpi{padding:18px 16px}.vibrant-kpis .kpi-value{font-size:25px}.kpi-top{font-size:12px}.operating-band>div{padding:0 18px}.operating-band strong{font-size:20px}.insight-grid{grid-template-columns:1fr 1.1fr;gap:18px}.panel-head{padding:20px}.panel h2{font-size:16px}.group-legend small{display:none}.group-legend>div{grid-template-columns:8px 1fr auto}.group-chips{max-width:270px}.two-col{grid-template-columns:1fr}.campaign-grid{grid-template-columns:1fr 1.3fr}.topbar .brand small{font-size:10px}.global-search input{font-size:13px}}
@media(max-width:850px){.topbar{flex-wrap:wrap;padding:18px 22px;gap:18px}.brand{flex:1}.global-search{order:3;max-width:none;flex-basis:100%;padding:12px 14px}.topbar-right{margin-left:auto}.nav-shell{padding:0 22px}.nav-caption{display:flex;align-items:center;justify-content:space-between;min-height:61px;color:#c6d5e3;font-size:14px}.menu-toggle{display:flex}.nav-shell nav{display:none;overflow:visible;flex-wrap:wrap;gap:6px;padding:0 0 15px;min-height:0}.nav-shell.open nav{display:flex}.nav-link{padding:12px 14px;border-radius:7px;font-size:13px;min-height:44px}.nav-link.active::after{display:none}.nav-link.active{background:#31597c}.insight-grid{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-value,.vibrant-kpis .kpi-value{font-size:31px}.kpi{min-height:145px}.kpi-top{font-size:13px}.analysis-filter-grid{grid-template-columns:repeat(3,1fr)}.page-heading{align-items:flex-start;flex-direction:column;gap:17px}.page-heading h1{font-size:31px}.actions{width:100%}.operating-band{grid-template-columns:1fr 1fr;gap:22px 0}.operating-band>div:nth-child(2){border:0}.campaign-grid{grid-template-columns:1fr}.balance-strip{grid-template-columns:1fr 1fr}.balance-item:nth-child(2){border:0}.balance-item:nth-child(-n+2){border-bottom:1px solid #e4eaf4}.footer{flex-direction:column;gap:7px}.active-filter-row{flex-wrap:wrap}.zero-control{margin-right:auto}.sort-control{margin-left:auto}}
@media(max-width:550px){.topbar{padding:17px 16px;gap:16px}.brand{font-size:25px}.brand-mark{width:39px;height:41px;border-radius:12px}.brand small{font-size:9px!important}.topbar-right{gap:7px}.topbar select{max-width:135px;font-size:12px}.avatar{display:none}.global-search{padding:12px}.global-search input{font-size:13px}.global-search kbd{display:none}.nav-shell{padding:0 16px}.nav-caption{min-height:58px}main{padding:24px 16px}.page-heading h1{font-size:27px;letter-spacing:-.8px}.eyebrow{font-size:11px}.page-heading p{font-size:13px}.actions{gap:8px}.actions .button{flex:1}.button{font-size:12px;min-height:44px;padding:10px 13px}.analysis-filter{border-radius:11px;margin-bottom:18px}.filter-heading{padding:14px;gap:9px;align-items:flex-start}.filter-heading>div{gap:6px;flex-wrap:wrap}.filter-heading strong{font-size:12px}.filter-heading span{font-size:11px;border:0;padding-left:0;margin-left:0;flex-basis:100%;padding-top:3px}.text-button{font-size:11px;white-space:nowrap}.analysis-filter-grid{grid-template-columns:1fr 1fr;gap:13px 10px;padding:15px 14px}.analysis-filter-grid label{font-size:11px}.analysis-filter-grid select,.analysis-filter-grid input{min-height:42px;font-size:12px;padding:8px;min-width:0}.active-filter-row{padding:0 14px 15px;gap:13px}.scope-label{font-size:10px;flex-basis:100%}.filter-chip{font-size:10px}.sort-control{font-size:10px}.sort-control select{font-size:10px;max-width:140px}.zero-control{font-size:10px}.kpi-grid{gap:11px;margin-bottom:18px}.kpi,.vibrant-kpis .kpi{padding:16px 13px;min-height:157px;border-radius:10px}.kpi-top{font-size:11px;align-items:flex-start;gap:7px}.vibrant-kpis .kpi-top .icon{width:27px;height:27px;padding:6px}.kpi-value,.vibrant-kpis .kpi-value{font-size:23px;letter-spacing:-.8px;margin:15px 0 11px}.kpi-value small{font-size:11px;margin-left:3px}.kpi-foot{font-size:10px;line-height:1.7}.panel{border-radius:11px}.panel-head{padding:19px 16px 15px;gap:11px;flex-wrap:wrap}.panel h2{font-size:15px}.panel-sub{font-size:11px}.panel-head .button{font-size:11px;min-height:35px}.panel-body{padding:4px 17px 19px}.insight-grid{gap:18px;margin-bottom:18px}.group-overview{padding:3px 17px 20px}.group-total strong{font-size:31px}.group-legend{gap:14px}.group-legend>div{font-size:12px}.group-legend strong{font-size:12px}.trend-bars{padding:0 12px 16px}.month-chart{height:190px}.chart-label,.chart-value{font-size:12px}.chart-legend{font-size:10px;gap:13px}.chart-footnote{font-size:10px;padding:0 8px}.group-chips{min-width:220px;max-width:280px}.group-chip{font-size:11px}.group-chip strong{font-size:11px}.operating-band{padding:18px 0;gap:19px 0;margin:18px 0}.operating-band>div{padding:0 14px}.operating-band small{font-size:10px}.operating-band strong{font-size:17px}.operating-band span{font-size:9px}.two-col{gap:18px;margin:18px 0}.customer-analysis-banner{padding:20px;flex-direction:column;align-items:flex-start}.customer-analysis-banner h2{font-size:24px}.customer-analysis-banner p{font-size:12px}.toolbar{flex-wrap:wrap}.filters{gap:8px}.filter-control{font-size:12px;min-height:42px}.search{min-width:180px}.sync{font-size:10px}.balance-item{padding:18px 14px}.balance-item strong{font-size:18px}.balance-item small{font-size:11px}.balance-item em{font-size:10px}.footer{padding:16px;font-size:9px}.form-grid,.detail-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.dialog-head{padding:20px}.dialog-head h2{font-size:20px}#dialog-body,#detail-body{padding:20px}.dialog-foot{padding:15px 20px}.detail-summary{grid-template-columns:1fr;padding:19px;gap:18px}.detail-summary strong{font-size:22px}.detail-section h3{font-size:14px}.form-error{margin-left:20px;margin-right:20px}.toast{max-width:none;width:calc(100vw - 30px);font-size:13px}.loading-state{padding:70px 20px}.all-customers summary{padding:18px;font-size:13px}.group-chip{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.operating-band{grid-template-columns:repeat(3,1fr);gap:24px 0}.operating-band>div:nth-child(3){border:0}.operating-band>div:nth-child(4),.operating-band>div:nth-child(5),.operating-band>div:nth-child(6){padding-top:5px}
@media(max-width:850px){.operating-band{grid-template-columns:1fr 1fr}.operating-band>div:nth-child(3){border-right:1px solid #d8e1f0}.operating-band>div:nth-child(2n){border:0}}
/* UI UX Pro Max review: shared semantic colors, readable data and progressive filters. */
:root{--primary:#1e40af;--secondary:#3b82f6;--accent:#d97706;--background:#f8fafc;--surface:#fff;--foreground:#1e3a8a;--text:#1e293b;--muted:#475569;--line:#d8e1ed;--success:#0f766e;--purple:#6d28d9;--warning-text:#92400e;--warning-surface:#fff7ed;--danger:#b91c1c;--danger-surface:#fef2f2;--nav:#122b54;--nav-on:#f8fafc;--nav-muted:#cbd5e1;--group-damacana:#1e40af;--group-pet:#0f766e;--group-bardak:#7c3aed;--group-other:#b45309;--chart-track:#e2e8f0;--focus:#2563eb;--motion-fast:120ms;--surface-blue:#eff6ff;--surface-green:#ecfdf5;--surface-purple:#f5f3ff;--surface-selected:#e8efff;--on-blue:#1e40af;--on-green:#065f46;--on-purple:#5b21b6}
body{background:var(--background);color:var(--text);line-height:1.5}.app-header,.topbar,.analysis-filter,.panel,.kpi,.all-customers{background:var(--surface)}.brand,.page-heading h1{color:var(--foreground)}.brand-mark,.button.primary{background:var(--primary)}.brand small,.global-search,.global-search input,.global-search input::placeholder,.page-heading p,.eyebrow,.filter-heading strong,.filter-heading span,.analysis-filter-grid label,.scope-label,.sort-control,.sort-control select,.zero-control,.kpi-top,.kpi-foot,.panel-sub,.group-total small,.group-total strong span,.group-total p,.group-legend>div,.group-legend small,.chart-legend,.chart-footnote,th,td,.cell-sub,.customer-name-button small,.operating-band small,.operating-band span,.simple-list li,.simple-list small,.footer,.field label,.field small,.dialog-head small,.sync,.campaign p,.rank-head span,.rank-note,.balance-item small,.balance-item em{color:var(--muted)}
.topbar select,.global-search input,.analysis-filter-grid select,.analysis-filter-grid input,.field input,.field select{color:var(--text)}.global-search{background:var(--background);border-color:var(--line)}.nav-shell{background:var(--nav)}.nav-link{color:var(--nav-muted);font-size:14px;min-height:48px}.nav-link.active{background:var(--primary);color:var(--nav-on)}.nav-link.active::after{background:#fbbf24}.nav-link:hover{background:#1d4272;color:var(--nav-on)}.nav-link:focus-visible{outline-color:#fbbf24;outline-offset:-4px}.nav-caption{color:var(--nav-on)}.menu-toggle{color:var(--nav-on)}.button.primary:hover{background:#1e3a8a}.button.secondary{color:var(--foreground);border-color:#b8c8df}.button.secondary:hover,.button.subtle:hover{background:var(--surface-selected);border-color:#9db5dc}.button:active{filter:brightness(.95)}.button,.nav-link,.text-button,.customer-name-button{transition:background-color var(--motion-fast),color var(--motion-fast);touch-action:manipulation}.button,.icon-button{min-height:44px}.icon-button{min-width:44px}.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.customer-name-button{min-height:48px;border-radius:7px}.customer-name-button:hover strong{color:var(--primary)}tbody tr:hover{background:var(--surface-blue)}tbody tr:focus-within{background:var(--surface-selected)}
.analysis-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.analysis-filter-grid label,.analysis-filter-grid select,.analysis-filter-grid input,.filter-heading strong,.text-button,.sort-control,.sort-control select,.zero-control{font-size:14px}.analysis-filter-grid select,.analysis-filter-grid input{min-height:44px;border-color:#b8c8db;background:var(--surface)}.filter-heading span{font-size:13px}.active-filter-row{padding-top:14px;border-top:1px solid #eef2f7}.filter-chip{font-size:12px;background:var(--surface-blue);color:var(--foreground)}.advanced-filters{border-top:1px solid #eef2f7;background:#fafcff}.advanced-filters summary{cursor:pointer;padding:13px 21px;color:var(--primary);font-size:14px;font-weight:600;min-height:44px}.advanced-filters summary span{font-size:13px;color:var(--muted);font-weight:400;margin-left:8px}.advanced-grid{padding-top:7px}.zero-control input{width:18px;height:18px;accent-color:var(--primary)}.zero-control{min-height:32px}.text-button{min-height:32px}.scope-label{font-size:13px}
.vibrant-kpis .kpi.accent{background:var(--primary);color:white}.vibrant-kpis .kpi.teal{background:var(--success);color:white}.vibrant-kpis .kpi.purple{background:var(--purple);color:white}.vibrant-kpis .kpi.amber{background:var(--warning-surface);color:var(--warning-text);border:1px solid #fed7aa}.vibrant-kpis .kpi-top,.vibrant-kpis .kpi-foot{color:inherit;opacity:1}.kpi-top{font-size:14px}.kpi-foot{font-size:13px}.kpi-value{font-variant-numeric:tabular-nums}.panel h2,.group-total strong,.group-legend strong,td strong,.operating-band strong,.customer-analysis-banner h2,.simple-list strong,.detail-section h3{color:var(--foreground)}.panel-sub{font-size:14px}.panel h2{font-size:18px}.group-legend>div,.group-legend strong,.group-legend small{font-size:14px}.group-chip{font-size:13px;background:var(--surface-blue);color:var(--on-blue)}.group-chip strong{font-size:13px;color:inherit}.group-chip.pet{background:var(--surface-green);color:var(--on-green)}.group-chip.bardak{background:var(--surface-purple);color:var(--on-purple)}.group-chip.other{background:var(--warning-surface);color:var(--warning-text)}.group-dot,.group-chip i{background:var(--group-damacana)}.group-dot.pet,.group-chip.pet i{background:var(--group-pet)}.group-dot.bardak,.group-chip.bardak i{background:var(--group-bardak)}.group-dot.other,.group-chip.other i{background:var(--group-other)}table{font-size:15px}th,td strong{font-size:14px}.cell-sub{font-size:12px}.customer-name-button small{font-size:13px}.operating-band{background:#e9effb}.operating-band small{font-size:14px}.operating-band span{font-size:12px}.simple-list li{font-size:14px}.notice{color:#1e40af;background:var(--surface-blue)}.notice.warn{background:var(--warning-surface);color:var(--warning-text)}.pill{font-size:12px;color:var(--on-blue);background:var(--surface-blue)}.pill.green{color:var(--on-green);background:var(--surface-green)}.pill.amber{color:var(--warning-text);background:var(--warning-surface)}.pill.red,.form-error{color:var(--danger)}.pill.red{background:var(--danger-surface)}.field input,.field select{border-color:#b8c8db}.campaign{background:var(--surface-purple)}.campaign h2,.campaign-number{color:var(--purple)}.customer-analysis-banner{background:var(--surface-blue)}.customer-analysis-banner small,.customer-analysis-banner p{color:var(--muted)}
.month-bar-list{display:grid;gap:16px;margin:12px 0 23px}.month-bar-row{display:grid;grid-template-columns:105px minmax(0,1fr) 82px;gap:15px;align-items:center}.month-bar-label{font-size:14px;color:var(--muted)}.month-bar-row svg{width:100%;height:15px;min-width:0}.month-bar-row strong{font-size:14px;color:var(--foreground);font-weight:650;text-align:right;white-space:nowrap}.legend-paid{background:var(--group-damacana)}.legend-free{background:var(--group-bardak)}.chart-legend{font-size:13px}.chart-footnote{font-size:12px}.customer-account-band{grid-template-columns:repeat(3,1fr)}.page-heading h1,.panel h2{text-wrap:balance}.field label{font-size:14px}.field input,.field select{font-size:16px}.loading-state{min-height:420px}
@media(max-width:850px){.analysis-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.group-legend small{display:block}.group-legend>div{grid-template-columns:8px 1fr auto auto}.page-heading p{font-size:15px}.customer-account-band{grid-template-columns:1fr 1fr}.vibrant-kpis .kpi{min-height:180px}}
@media(max-width:550px){body{font-size:16px}.page-heading p,.global-search input,.topbar select,.nav-link,.field input,.field select,.filter-control{font-size:16px}.topbar select{max-width:132px}.brand small{font-size:11px!important}.analysis-filter-grid label,.analysis-filter-grid input,.analysis-filter-grid select,.filter-heading strong,.text-button,.sort-control,.sort-control select,.zero-control,.scope-label{font-size:14px}.analysis-filter-grid input,.analysis-filter-grid select{font-size:16px;min-height:46px}.advanced-filters summary{font-size:14px;padding:14px;line-height:1.6}.advanced-filters summary span{display:block;margin:4px 0 0 17px;font-size:12px}.filter-heading span,.panel-sub{font-size:13px}.vibrant-kpis .kpi-top{font-size:14px}.vibrant-kpis .kpi-foot{font-size:12px}.vibrant-kpis .kpi-value{font-size:23px}.vibrant-kpis .kpi{min-height:195px}.kpi-top .icon{display:none}.panel h2{font-size:17px}.group-legend>div{grid-template-columns:7px 1fr auto}.group-legend small{display:none}.group-legend>div,.group-legend strong,.group-chip,.group-chip strong{font-size:14px}.operating-band small{font-size:13px}.operating-band span{font-size:12px}.operating-band strong{font-size:18px}.month-bar-row{grid-template-columns:89px minmax(0,1fr) 70px;gap:8px}.month-bar-label,.month-bar-row strong{font-size:13px}.month-bar-row svg{height:13px}.month-bar-list{gap:19px}.chart-legend{font-size:12px}.chart-footnote{font-size:12px}.customer-account-band{grid-template-columns:1fr}.customer-account-band>div{border:0}.simple-list li{font-size:15px}.button.small{min-height:44px;font-size:14px}.nav-caption{font-size:15px}.footer{font-size:11px}.toast{font-size:15px}.active-filter-row{gap:15px}.zero-control{min-height:44px}.sort-control select{min-height:44px}.text-button{min-height:44px}.group-chips{max-width:350px}}
:root{--control-border:#7c8fa7}.analysis-filter-grid select,.analysis-filter-grid input,.field input,.field select,.filter-control,.button.secondary{border-color:var(--control-border)}.global-search:focus-within{outline:3px solid var(--focus);outline-offset:2px}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* v0.3: five top-level branches and product / package hierarchy. */
.nav-shell nav{overflow:visible;gap:10px}.nav-branch{position:relative}.nav-branch>summary{list-style:none;cursor:pointer;user-select:none}.nav-branch>summary::-webkit-details-marker{display:none}.nav-chevron{width:15px!important;height:15px!important;margin-left:10px}.nav-branch[open] .nav-chevron{transform:rotate(180deg)}.nav-submenu{position:absolute;top:100%;left:0;z-index:40;background:var(--surface);padding:8px;border:1px solid var(--line);border-radius:0 0 12px 12px;box-shadow:0 12px 30px #142d4b1c;min-width:260px;display:grid;gap:3px}.nav-submenu button{min-height:45px;display:block;text-align:left;white-space:nowrap;padding:11px 14px;background:none;border:0;border-radius:7px;color:var(--muted);font-size:14px}.nav-submenu button:hover,.nav-submenu button.current{background:var(--surface-blue);color:var(--primary)}.nav-submenu button.current{font-weight:650}.nav-branch[open]>summary{background:#244c76;color:var(--nav-on)}.nav-branch.current-branch>summary{background:var(--primary);color:var(--nav-on)}
.section-spacer{height:24px}.purchase-tree{padding:0 24px 23px}.group-branch{border:1px solid var(--line);border-left:4px solid var(--group-damacana);border-radius:10px;overflow:hidden;margin-top:12px;background:var(--surface)}.group-branch.pet{border-left-color:var(--group-pet)}.group-branch.bardak{border-left-color:var(--group-bardak)}.group-branch.other{border-left-color:var(--group-other)}.group-branch>summary{display:grid;grid-template-columns:1fr auto;gap:10px 20px;cursor:pointer;padding:17px 20px;list-style:none;background:#fbfcff;position:relative}.group-branch>summary::-webkit-details-marker{display:none}.group-title{display:flex;align-items:center;gap:10px;color:var(--foreground);padding-right:15px}.group-title strong{font-size:17px;font-weight:650}.group-title small{font-size:12px;color:var(--muted);margin-left:5px}.group-title::after{content:'+';font-size:19px;color:var(--muted);margin-left:auto}.group-branch[open] .group-title::after{content:'−'}.group-amount{font-size:17px;font-weight:650;color:var(--foreground);font-variant-numeric:tabular-nums}.group-preview{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px 20px;color:var(--muted);font-size:13px;line-height:1.7}.group-preview b{font-weight:500}.brand-branches{padding:0 18px 18px}.brand-branch{margin-top:14px;border:1px solid #e5ebf3;border-radius:8px;overflow:hidden}.brand-branch>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px;background:#f7faff;color:var(--foreground);font-size:14px;min-height:46px}.brand-branch>summary strong{font-weight:600}.brand-branch>summary span{font-size:12px;color:var(--muted)}.brand-branch table th{background:#fff;font-size:12px}.brand-branch table td{padding:14px 18px}.brand-branch table td:not(:first-child){white-space:nowrap}.customer-product-summary{min-width:390px;max-width:650px;display:grid;gap:12px;white-space:normal}.customer-product-summary>div{display:grid;grid-template-columns:110px 1fr;align-items:start;gap:12px}.customer-product-summary .group-chip{font-size:12px;align-self:start;justify-self:start}.customer-product-summary .group-chip strong{font-size:12px;white-space:normal}.customer-product-lines{display:grid;gap:4px;font-size:13px;line-height:1.7;color:var(--muted)}.customer-product-lines>span{display:block}.customer-product-lines b{font-weight:600;color:var(--text)}.summary-brand{font-size:11px;font-weight:600;color:var(--primary);margin-top:3px}.summary-brand:first-child{margin-top:0}.monthly-history{border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden;margin:24px 0}.monthly-history>summary{padding:18px 24px;cursor:pointer;color:var(--foreground);font-size:15px;font-weight:600;min-height:48px}.monthly-history>summary span{font-weight:400;color:var(--muted);font-size:13px;margin-left:14px}.monthly-product-table table td{min-width:110px}.monthly-product-table table td:first-child{min-width:230px}.product-footnote{margin:12px 0 18px}.purchase-tree .empty{padding:24px}.nav-link .nav-chevron{stroke-width:2}
@media(max-width:1150px){.nav-link{padding-left:12px;padding-right:12px}.nav-shell nav{gap:5px}.customer-product-summary{max-width:500px}.group-preview{font-size:13px}}
@media(max-width:850px){.nav-shell nav{flex-direction:column;align-items:stretch}.nav-branch{width:100%}.nav-branch>summary,.nav-shell nav>.nav-link{min-height:48px;width:100%;text-align:left}.nav-branch .nav-chevron{margin-left:auto}.nav-submenu{position:static;box-shadow:none;border:0;border-radius:8px;margin:5px 0 6px 15px;min-width:0;max-width:100%;padding:7px;background:#edf4fc}.nav-submenu button{white-space:normal;font-size:15px;min-height:46px}.purchase-tree{padding:0 18px 18px}.group-branch>summary{padding:15px}.group-title{flex-wrap:wrap}.group-title strong{font-size:16px}.group-title small{font-size:12px}.group-amount{font-size:16px}.brand-branches{padding:0 12px 13px}}
@media(max-width:550px){.nav-branch>summary,.nav-shell nav>.nav-link{font-size:16px}.nav-submenu button{font-size:16px;min-height:48px}.group-branch>summary{grid-template-columns:1fr;gap:8px}.group-title small{margin-left:17px;flex-basis:100%;order:3}.group-title::after{margin-left:auto}.group-amount{padding-left:17px;font-size:18px}.group-preview{grid-column:1;padding-left:17px;display:grid;gap:5px;font-size:14px}.group-title strong{font-size:17px}.brand-branches{padding:0 9px 10px}.brand-branch>summary{align-items:flex-start;flex-direction:column;gap:5px;font-size:15px}.brand-branch>summary span{font-size:13px}.customer-product-summary{min-width:350px}.customer-product-lines{font-size:14px}.customer-product-summary .group-chip,.customer-product-summary .group-chip strong{font-size:13px}.customer-product-summary>div{grid-template-columns:100px 1fr;gap:9px}.summary-brand{font-size:12px}.monthly-history>summary{padding:17px 18px;font-size:15px}.monthly-history>summary span{display:block;margin:7px 0 0;font-size:13px}.group-preview span{overflow-wrap:anywhere}.purchase-tree{padding:0 12px 15px}}
