.app-shell{min-height:100vh;display:grid;grid-template-columns:254px minmax(0,1fr);transition:grid-template-columns .2s ease}body.sidebar-collapsed .app-shell{grid-template-columns:78px minmax(0,1fr)}.workspace{min-width:0;padding:0 22px 18px}.topbar{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar-left{display:flex;align-items:center;gap:13px}.topbar h1{margin:2px 0 0;font-size:24px;letter-spacing:-.03em}.topbar p{margin:3px 0 0;color:var(--muted);font-size:12px}.topbar-right{display:flex;align-items:center;gap:12px}.top-clock{display:grid;text-align:right}.top-clock strong{font-size:18px}.top-clock span{font-size:11px;color:var(--muted)}.mobile-menu-button{display:none}.filterbar{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(140px,.8fr) minmax(360px,2fr) minmax(250px,1.3fr) auto;align-items:end;gap:12px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);position:relative;z-index:20}.filter-group{display:grid;gap:7px;min-width:0}.segmented{display:flex;align-items:center;gap:3px;height:43px;padding:3px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;overflow:auto}.segmented button{height:35px;flex:1 0 auto;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:11px;font-weight:800;padding:0 9px;white-space:nowrap}.segmented button.active{color:#fff;background:var(--primary);box-shadow:0 5px 12px color-mix(in srgb,var(--primary) 28%,transparent)}.filter-run{height:43px}.page-host{padding:16px 0 0;min-height:calc(100vh - 205px)}.page-section{display:grid;gap:14px}.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.page-toolbar h2{margin:0;font-size:17px}.page-toolbar p{margin:3px 0 0;color:var(--muted);font-size:12px}.app-footer{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;padding:17px 4px 0}.multi-picker{position:relative}.multi-picker-trigger{width:100%;height:43px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;font-weight:700;text-align:left}.multi-picker-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multi-picker-popover{position:absolute;top:calc(100% + 7px);right:0;width:min(480px,82vw);padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-lg);z-index:60}.multi-picker-actions{display:flex;justify-content:space-between;gap:8px;padding:2px 2px 9px}.multi-picker-actions button{border:0;background:transparent;color:var(--primary);font-weight:800;font-size:11px}.multi-picker-list{display:grid;grid-template-columns:1fr 1fr;gap:5px;max-height:300px;overflow:auto}.multi-picker-item{display:flex;align-items:center;gap:8px;padding:8px;border-radius:9px;background:var(--surface-2);font-size:12px}.multi-picker-item:hover{background:var(--surface-3)}.multi-picker-item input{accent-color:var(--primary)}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 20%,color-mix(in srgb,var(--primary) 18%,transparent),transparent 30%),radial-gradient(circle at 80% 75%,rgba(40,168,201,.16),transparent 28%),linear-gradient(145deg,#0c1425,#13213a);position:relative;overflow:hidden}.login-orbit{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.07)}.orbit-a{width:520px;height:520px;left:-190px;top:-180px}.orbit-b{width:420px;height:420px;right:-160px;bottom:-140px}.login-card{position:relative;z-index:1;width:min(440px,100%);padding:30px;border-radius:24px;background:color-mix(in srgb,#fff 96%,transparent);box-shadow:0 30px 80px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.75)}.brand-mark{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#5b61e6,#26a8c6);color:#fff;font-weight:900;box-shadow:0 10px 25px rgba(91,97,230,.3)}.brand-mark-large{width:58px;height:58px;border-radius:18px;font-size:22px}.login-copy{margin:18px 0 22px}.login-copy h1{margin:5px 0 6px;font-size:27px;letter-spacing:-.04em}.login-copy p{margin:0;color:var(--muted)}.login-form{display:grid;gap:14px}.password-field{position:relative}.password-field input{width:100%;padding-right:50px}.password-toggle{position:absolute;right:5px;top:4px;border:0;background:transparent}.login-row{display:flex;align-items:center;justify-content:space-between;font-size:12px}.secure-note{color:var(--muted)}.login-footer{text-align:center;margin-top:19px;color:var(--muted);font-size:10px}.avatar{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,var(--primary),var(--cyan));color:#fff;font-weight:900}
.export-actions{display:flex;align-items:center;gap:7px}.button-export{height:43px;min-height:43px;background:var(--surface);border:1px solid var(--border);box-shadow:none}.button-export.excel{color:#159447;border-color:color-mix(in srgb,#159447 35%,var(--border))}.button-export.pdf{color:#e53935;border-color:color-mix(in srgb,#e53935 35%,var(--border))}

/* V2 Alpha 1.4 top controls */
.topbar-user{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:5px 9px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.topbar-user strong,.topbar-user small{display:block;white-space:nowrap}.topbar-user strong{font-size:11px}.topbar-user small{font-size:9px;color:var(--muted);margin-top:1px}
.person-avatar{background:var(--surface-2)!important;color:var(--primary)!important;border:1px solid var(--border)}.person-avatar svg{width:21px;height:21px;stroke-width:1.9}

.top-logout-button{height:40px;border:1px solid color-mix(in srgb,#e5484d 32%,var(--border));border-radius:11px;background:color-mix(in srgb,#e5484d 5%,var(--surface));color:#d8323b;display:flex;align-items:center;gap:7px;padding:0 11px;cursor:pointer;font-weight:850}.top-logout-button span{font-size:16px;line-height:1}.top-logout-button strong{font-size:10px;white-space:nowrap}.top-logout-button:hover{background:color-mix(in srgb,#e5484d 10%,var(--surface));border-color:color-mix(in srgb,#e5484d 52%,var(--border))}@media(max-width:1050px){.top-logout-button strong{display:none}.top-logout-button{width:40px;padding:0;justify-content:center}}.top-print-button{height:40px;border:1px solid color-mix(in srgb,var(--primary) 32%,var(--border));border-radius:11px;background:color-mix(in srgb,var(--primary) 5%,var(--surface));color:var(--primary-strong);display:flex;align-items:center;gap:7px;padding:0 11px;cursor:pointer;font-weight:850;box-shadow:var(--shadow)}.top-print-button span{font-size:15px;line-height:1}.top-print-button strong{font-size:10px;white-space:nowrap}.top-print-button:hover{background:color-mix(in srgb,var(--primary) 10%,var(--surface));border-color:color-mix(in srgb,var(--primary) 52%,var(--border))}@media(max-width:1100px){.top-print-button strong{display:none}.top-print-button{width:40px;padding:0;justify-content:center}}
@media print{@page{size:auto;margin:8mm}html,body{background:#fff!important;color:#000!important}body,body.table-report-active{overflow:visible!important}body.table-report-active .app-shell,body.table-report-active .workspace,body.table-report-active .page-host,body.table-report-active .page-section.table-report-page{height:auto!important;min-height:0!important;overflow:visible!important}.app-shell{display:block!important;min-height:0!important}.sidebar,.app-footer,.mobile-menu-button,.topbar-right,.loading-overlay,.toast-region,.export-actions,.report-export-actions,.overviewExportActions,.chart-fullscreen-button,.date-picker-button{display:none!important}.workspace{padding:0!important}.topbar{min-height:auto!important;padding:0 0 10px!important;border-bottom:1px solid #dbe4ef!important;margin-bottom:10px!important}.topbar-left{gap:0!important}.topbar h1{font-size:22px!important;margin:0!important}.topbar p{display:block!important;color:#4b5563!important}.filterbar{box-shadow:none!important;border:1px solid #dbe4ef!important;background:#fff!important;padding:10px!important;margin-bottom:10px!important}.filterbar .filter-run,.filterbar button{display:none!important}.multi-picker-popover,[hidden]{display:none!important}.panel-card,.table-card,.chart-card,.summary-card{box-shadow:none!important;border:1px solid #dbe4ef!important;background:#fff!important;break-inside:avoid}.table-wrap{overflow:visible!important;max-height:none!important}.page-host{padding-top:0!important}table{width:100%!important}thead{display:table-header-group}tfoot{display:table-footer-group}tr,td,th{break-inside:avoid}.button,.icon-button{box-shadow:none!important}}

/* Alpha 1.20 — tablolu raporlarda ana ekran scroll yok; tablo kendi içinde kayar */
body.table-report-active{overflow:hidden}
body.table-report-active .app-shell{height:100vh;min-height:0;overflow:hidden}
body.table-report-active .workspace{height:100vh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
body.table-report-active .topbar,body.table-report-active .filterbar{flex:0 0 auto}
body.table-report-active .page-host{flex:1 1 auto;min-height:0!important;padding-top:12px;overflow:hidden}
body.table-report-active .page-section.table-report-page{height:100%;min-height:0;overflow:hidden}
body.table-report-active .app-footer{display:none}
body.table-report-active .store-sales-page{grid-template-rows:auto minmax(0,1fr)}

/* Alpha 1.33 - sabit açık giriş görünümü */
.login-screen{background:radial-gradient(circle at 20% 18%,rgba(91,97,230,.12),transparent 31%),radial-gradient(circle at 82% 76%,rgba(40,168,201,.10),transparent 29%),linear-gradient(145deg,#fffdf8 0%,#f7f8fb 56%,#eef3f8 100%)}
.login-orbit{border-color:rgba(74,94,130,.10)}
.login-card{background:rgba(255,255,255,.97);border-color:rgba(221,228,238,.95);box-shadow:0 28px 70px rgba(62,78,106,.16)}

/* Alpha 1.63 - giriş ekranı hızlı ipli balonlar */
.login-orbit{border-width:2px!important;opacity:.9}
.login-bubbles{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.login-bubble{position:absolute;--tilt:0deg;--float-x:10px;--float-y:-24px;--string:54px;border-radius:52% 52% 48% 48% / 44% 44% 58% 58%;background:linear-gradient(145deg,rgba(91,97,230,.34),rgba(40,168,201,.19));border:1px solid rgba(255,255,255,.48);box-shadow:0 18px 48px rgba(63,88,180,.16),inset 0 1px 0 rgba(255,255,255,.58);backdrop-filter:blur(1px);animation:loginBalloonFloat 3.9s cubic-bezier(.42,0,.2,1) infinite alternate}
.login-bubble::before{content:"";position:absolute;left:50%;bottom:-7px;width:14px;height:12px;transform:translateX(-50%);background:inherit;border-left:1px solid rgba(255,255,255,.28);border-right:1px solid rgba(255,255,255,.28);border-bottom:1px solid rgba(255,255,255,.28);clip-path:polygon(50% 100%,0 0,100% 0);filter:saturate(.96)}
.login-bubble::after{content:"";position:absolute;left:50%;top:calc(100% + 4px);width:2px;height:var(--string);transform:translateX(-50%);background:linear-gradient(180deg,rgba(255,255,255,.66),rgba(125,145,185,.18));border-radius:999px;opacity:.82;box-shadow:0 0 0 1px rgba(255,255,255,.06)}
.bubble-1{width:86px;height:92px;left:7%;top:16%;animation-duration:3.6s;--tilt:-5deg;--string:62px}
.bubble-2{width:42px;height:48px;left:18%;top:66%;animation-duration:4.3s;animation-delay:-1.4s;--tilt:4deg;--string:44px}
.bubble-3{width:118px;height:128px;left:29%;top:7%;animation-duration:5.1s;animation-delay:-2.8s;--tilt:-3deg;--string:78px}
.bubble-4{width:58px;height:64px;left:38%;bottom:8%;animation-duration:3.9s;animation-delay:-1.1s;--tilt:6deg;--string:50px}
.bubble-5{width:74px;height:82px;right:34%;top:19%;animation-duration:4.7s;animation-delay:-3.6s;--tilt:-4deg;--string:58px}
.bubble-6{width:126px;height:138px;right:19%;top:8%;animation-duration:5.4s;animation-delay:-2.2s;--tilt:5deg;--string:84px}
.bubble-7{width:48px;height:54px;right:9%;top:46%;animation-duration:3.4s;animation-delay:-4.2s;--tilt:-6deg;--string:46px}
.bubble-8{width:96px;height:106px;right:7%;bottom:7%;animation-duration:5.2s;animation-delay:-1.9s;--tilt:4deg;--string:74px}
.bubble-9{width:36px;height:40px;left:10%;bottom:10%;animation-duration:3.2s;animation-delay:-2.5s;--tilt:3deg;--string:40px}
.bubble-10{width:64px;height:72px;right:28%;bottom:18%;animation-duration:4.5s;animation-delay:-3.1s;--tilt:-5deg;--string:56px}
@keyframes loginBalloonFloat{from{transform:translate3d(0,0,0) rotate(calc(var(--tilt) - 2deg)) scale(1)}to{transform:translate3d(var(--float-x),var(--float-y),0) rotate(calc(var(--tilt) + 2deg)) scale(1.05)}}
.login-bubble{background:linear-gradient(145deg,rgba(91,97,230,.30),rgba(40,168,201,.18));border-color:rgba(80,104,150,.23);box-shadow:0 18px 44px rgba(60,90,150,.13),inset 0 1px 0 rgba(255,255,255,.82)}
@media(max-width:700px){.login-bubble{opacity:.78}.bubble-3,.bubble-6,.bubble-8{zoom:.82}.login-bubble::after{opacity:.68}}
@media(prefers-reduced-motion:reduce){.login-bubble{animation:none}}

/* Alpha 1.38 - colored login bubbles */
.login-bubble{opacity:.98}
.bubble-1{background:linear-gradient(145deg,rgba(59,130,246,.52),rgba(34,211,238,.28))!important}
.bubble-2{background:linear-gradient(145deg,rgba(16,185,129,.48),rgba(45,212,191,.24))!important}
.bubble-3{background:linear-gradient(145deg,rgba(99,102,241,.56),rgba(56,189,248,.24))!important}
.bubble-4{background:linear-gradient(145deg,rgba(244,114,182,.46),rgba(236,72,153,.20))!important}
.bubble-5{background:linear-gradient(145deg,rgba(251,146,60,.48),rgba(250,204,21,.22))!important}
.bubble-6{background:linear-gradient(145deg,rgba(168,85,247,.50),rgba(59,130,246,.22))!important}
.bubble-7{background:linear-gradient(145deg,rgba(6,182,212,.50),rgba(59,130,246,.22))!important}
.bubble-8{background:linear-gradient(145deg,rgba(14,165,233,.46),rgba(99,102,241,.22))!important}
.bubble-9{background:linear-gradient(145deg,rgba(34,197,94,.46),rgba(16,185,129,.22))!important}
.bubble-10{background:linear-gradient(145deg,rgba(249,115,22,.48),rgba(236,72,153,.20))!important}
.login-bubble{border-color:rgba(80,104,150,.20)!important;box-shadow:0 18px 44px rgba(60,90,150,.13),0 0 16px rgba(59,130,246,.10),inset 0 1px 0 rgba(255,255,255,.82)!important}

/* Alpha 1.43 - login mascot */
.login-mascot{width:88px;height:88px;margin:0 auto 10px;display:grid;place-items:center;border-radius:22px;background:rgba(255,255,255,.88);box-shadow:0 14px 34px rgba(255,106,0,.16);overflow:hidden;border:1px solid rgba(255,126,31,.20)}
.login-mascot img{display:block;width:82%;height:82%;object-fit:contain}
@media(max-width:700px){.login-mascot{width:76px;height:76px;border-radius:19px}}

/* Alpha 1.44 - login mascot background transparent */
.login-mascot{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.login-mascot img{background:transparent!important;width:100%!important;height:100%!important}

/* Alpha 1.133 - üst bar Excel/PDF kontrolleri */
.top-export-button{height:40px;border:1px solid var(--border);border-radius:11px;background:var(--surface);display:flex;align-items:center;gap:7px;padding:0 11px;cursor:pointer;font-weight:850;box-shadow:var(--shadow)}
.top-export-button span{font-size:11px;font-weight:950;line-height:1}.top-export-button strong{font-size:10px;white-space:nowrap}
.top-export-button.excel{color:#159447;border-color:color-mix(in srgb,#159447 34%,var(--border));background:color-mix(in srgb,#159447 4%,var(--surface))}.top-export-button.excel:hover{background:color-mix(in srgb,#159447 9%,var(--surface))}
.top-export-button.pdf{color:#e53935;border-color:color-mix(in srgb,#e53935 34%,var(--border));background:color-mix(in srgb,#e53935 4%,var(--surface))}.top-export-button.pdf:hover{background:color-mix(in srgb,#e53935 9%,var(--surface))}
@media(max-width:1100px){.top-export-button strong{display:none}.top-export-button{width:40px;padding:0;justify-content:center}}

/* Alpha1_247 - belirgin ve tek tip eylem simgeleri */
#appShell .action-icon-button{display:inline-grid!important;place-items:center!important;width:40px!important;min-width:40px!important;height:38px!important;min-height:38px!important;padding:0!important;border-radius:10px!important;line-height:1!important}
#appShell .action-icon-button .action-icon-svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}
#appShell .action-clear-icon{background:linear-gradient(135deg,#fb7185,#e11d48)!important;border:0!important;color:#fff!important;box-shadow:0 6px 15px rgba(225,29,72,.22)!important}
#appShell .action-search-icon{background:linear-gradient(135deg,var(--primary),var(--primary-strong))!important;color:#fff!important}
#appShell .action-selectAll-icon{background:linear-gradient(135deg,#8b5cf6,#6d4bd8)!important;border:0!important;color:#fff!important;box-shadow:0 6px 15px rgba(109,75,216,.20)!important}
#appShell :is(.top-export-button,.top-print-button).top-action-icon{display:inline-grid!important;place-items:center!important;width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;padding:0!important;border-radius:12px!important}
#appShell :is(.top-export-button,.top-print-button).top-action-icon svg{width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}

/* Alpha 1.395 - Evrak listesinde tek gun secimi. */
body.documents-single-day .mobile-filter-start,
body.documents-single-day [data-quick="week"],
body.documents-single-day [data-quick="month"],
body.documents-single-day [data-quick="last-month"] { display: none !important; }
