#appSidebar:not(.aga-unified-nav){display:none!important}
/* One palette for all unified navigation, regardless of backend. */
:root{--aga-nav-bg:#f1f5f8;--aga-nav-text:#19384b;--aga-nav-muted:#577080;--aga-nav-border:#d1dee6;--aga-nav-hover:#e5edf3;--aga-nav-active:#d7e9f3;--aga-nav-active-border:#9bbfd2;--aga-nav-accent:#247da5;--aga-shell-top:#f7fafc}
/* Shared navigation layout. Native POS order screen and app bottom bars retain their rules. */
.aga-nav-source{display:none!important}
#appSidebar.aga-unified-nav .aga-module-hub{display:flex;flex-direction:column;gap:6px;margin:14px 0}
#appSidebar.aga-unified-nav .aga-module-entry{display:flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid transparent;border-radius:10px;color:var(--aga-nav-muted);background:transparent;text-decoration:none;font:600 13px/1.4 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;box-sizing:border-box}
#appSidebar.aga-unified-nav .aga-module-entry:hover{background:var(--aga-nav-hover);color:var(--aga-nav-text)}
#appSidebar.aga-unified-nav .aga-module-entry.active{background:var(--aga-nav-active);color:var(--aga-nav-text);border-color:var(--aga-nav-active-border);box-shadow:inset 3px 0 var(--aga-nav-accent)}
#appSidebar.aga-unified-nav .aga-module-entry:after,#appSidebar.aga-unified-nav .aga-module-entry:before{content:none!important}
#appSidebar.aga-unified-nav .aga-pilot-fallback{display:flex;flex-direction:column;padding:8px;border-top:1px solid #295444}
#appSidebar.aga-unified-nav .aga-pilot-fallback a{color:#c6d6ce;text-decoration:none;padding:8px;font-size:12px}
/* Modülün sayfaları: içeriğin üstünde yatay sekme şeridi (her ekran genişliğinde aynı). Modüller soldaki dock'ta / menüde. */
.aga-local-module-nav{box-sizing:border-box;width:100%;min-width:0;min-height:57px;padding:8px 14px;background:var(--aga-nav-bg);border-bottom:1px solid var(--aga-nav-border);color:var(--aga-nav-text);overflow:hidden}
.aga-local-module-nav nav{display:flex;flex-direction:row;flex-wrap:nowrap;gap:6px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:2px}
.aga-local-link{box-sizing:border-box;flex:0 0 auto;display:flex;align-items:center;min-height:38px;padding:8px 12px;white-space:nowrap;border:1px solid transparent;border-radius:9px;font:600 13px/1.4 Inter,system-ui,sans-serif;color:var(--aga-nav-muted);text-decoration:none}
.aga-local-link:hover{background:var(--aga-nav-hover);color:var(--aga-nav-text)}
.aga-local-link.active{background:var(--aga-nav-active);border-color:var(--aga-nav-active-border);color:var(--aga-nav-text);box-shadow:inset 0 -3px var(--aga-nav-accent)}
.panel-main.aga-module-workspace{display:block!important;max-width:none!important}
.panel-main.aga-module-workspace>.page-content{min-width:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
/* POS: dikey akış flex olmalı; uygulama modunda sipariş ekranı kalan yüksekliği alıp kendi içinde kayar. */
.workspace.aga-module-workspace{display:flex!important;flex-direction:column}
.workspace.aga-module-workspace>.app{min-width:0}
/* Telefon: sekmeler yan yana sığmaz; şerit seçili sayfayı gösteren tek satırdır, ona dokununca modülün sayfaları alt alta açılır. */
@media(max-width:700px){
 .aga-local-module-nav nav{flex-direction:column;gap:4px;overflow:visible;padding-bottom:0}
 .aga-local-module-nav:not(.aga-local-open) .aga-local-link:not(.active){display:none}
 .aga-local-link{width:100%;min-height:40px}
 .aga-local-link.active::after{content:"▾";margin-left:auto;padding-left:12px}
 .aga-local-open .aga-local-link.active::after{content:"▴"}
}


.aga-standalone-workspace.aga-module-workspace{display:flex;flex-direction:column;min-height:100dvh;min-width:0}
.aga-standalone-workspace>.app,.aga-standalone-workspace>.shell{min-width:0;width:100%;max-width:none!important;box-sizing:border-box}
body.aga-finance-shell .shell>.side{display:none!important}
body.aga-finance-shell .app>.shell{grid-template-columns:minmax(0,1fr)!important}
body.aga-finance-shell .mobile-bottom-nav{display:none!important}

@media(max-width:1100px){
 body.aga-finance-shell .app{padding-bottom:0!important}
}

.aga-standalone-workspace>.app,.aga-standalone-workspace>.shell{container-type:inline-size}
.aga-standalone-workspace .grid8{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))!important}
@container(max-width:700px){.content2{grid-template-columns:minmax(0,1fr)!important}}


/* Drawer navigation stays independent of viewport width. */

html[data-aga-shell-theme] body #appSidebar.aga-unified-nav{position:fixed!important;left:0;top:0;bottom:0;width:min(304px,91vw)!important;height:100dvh!important;z-index:2147482000!important;transform:translateX(-102%);transition:transform .2s ease;overflow:auto!important;overscroll-behavior:contain;padding:12px!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;background:var(--aga-nav-bg)!important;color:var(--aga-nav-text)!important;border-right:1px solid var(--aga-nav-border)!important;box-shadow:none!important;font-family:Inter,system-ui,sans-serif!important}
/* Gölge yalnız açıkken: kapalı çekmecenin gölgesi ekranın sol kenarına taşıyordu. */
html[data-aga-shell-theme] body.sidebar-open #appSidebar.aga-unified-nav{transform:translateX(0)!important;box-shadow:18px 0 48px #0004!important}
html[data-aga-shell-theme] body #sidebarBackdrop{position:fixed!important;inset:0!important;z-index:2147481900!important;background:#020c1488!important;backdrop-filter:blur(3px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}
html[data-aga-shell-theme] body.sidebar-open #sidebarBackdrop{opacity:1;visibility:visible;pointer-events:auto}
body.sidebar-open{overflow:hidden!important}
html[data-aga-shell-theme] body #appSidebar .side-brand{display:flex!important;align-items:center;gap:11px;margin:0 0 10px!important;padding:12px!important;border:1px solid var(--aga-nav-border)!important;border-radius:12px!important;background:var(--aga-nav-hover)!important;box-shadow:none!important}
html[data-aga-shell-theme] body #appSidebar .side-brand:before{content:none!important}
html[data-aga-shell-theme] body #appSidebar .brand-mark{width:39px!important;height:39px!important;flex:0 0 39px;display:grid!important;place-items:center;border:1px solid var(--aga-nav-active-border)!important;border-radius:11px!important;background:var(--aga-nav-bg)!important;color:var(--aga-nav-accent)!important;font:900 22px Georgia,serif!important}
html[data-aga-shell-theme] body #appSidebar .side-brand strong{display:block!important;color:var(--aga-nav-text)!important;font:700 15px/1.2 Inter,system-ui,sans-serif!important}
html[data-aga-shell-theme] body #appSidebar .side-brand span{display:block!important;margin-top:4px;color:var(--aga-nav-muted)!important;font:600 10px/1.3 Inter,system-ui,sans-serif!important;letter-spacing:.04em}
html[data-aga-shell-theme] body #appSidebar .side-foot{margin-top:auto!important;padding:12px!important;display:flex!important;align-items:center;gap:10px;border:1px solid var(--aga-nav-border)!important;border-radius:12px!important;background:var(--aga-nav-hover)!important}
html[data-aga-shell-theme] body #appSidebar .side-foot strong{display:block!important;font:700 11px/1.4 Inter,system-ui,sans-serif!important;color:var(--aga-nav-text)!important}
html[data-aga-shell-theme] body #appSidebar .side-foot small{display:block!important;font:400 10px/1.4 Inter,system-ui,sans-serif!important;color:var(--aga-nav-muted)!important}
html[data-aga-shell-theme] body #appSidebar .online-dot{width:8px;height:8px;border-radius:50%;background:var(--aga-nav-accent)!important;box-shadow:none!important}
html[data-aga-shell-theme] body #appSidebar #posThemeToggle{background:var(--aga-nav-hover)!important;color:var(--aga-nav-text)!important;border:1px solid var(--aga-nav-border)!important}
html[data-aga-shell-theme] body .aga-local-module-nav{background:var(--aga-nav-bg)!important;color:var(--aga-nav-text)!important;border-color:var(--aga-nav-border)!important}
html[data-aga-shell-theme] body .aga-local-link{color:var(--aga-nav-muted)!important}
html[data-aga-shell-theme] body .aga-local-link:hover{background:var(--aga-nav-hover)!important;color:var(--aga-nav-text)!important}
html[data-aga-shell-theme] body .aga-local-link.active{background:var(--aga-nav-active)!important;border-color:var(--aga-nav-active-border)!important;color:var(--aga-nav-text)!important;box-shadow:inset 0 -3px var(--aga-nav-accent)!important}
html[data-aga-shell-theme] body #appSidebar .aga-module-entry{color:var(--aga-nav-muted)!important}
html[data-aga-shell-theme] body #appSidebar .aga-module-entry.active{background:var(--aga-nav-active)!important;color:var(--aga-nav-text)!important;border-color:var(--aga-nav-active-border)!important;box-shadow:inset 3px 0 var(--aga-nav-accent)!important}
html[data-aga-shell-theme] body #sidebarToggle,html[data-aga-shell-theme] body .aga-unified-menu-button{background:var(--aga-nav-bg)!important;border:1px solid var(--aga-nav-border)!important;color:var(--aga-nav-text)!important;border-radius:10px!important;box-shadow:none!important}

#appSidebar #posThemeToggle{display:none!important}
#appSidebar .aga-shell-theme-toggle{width:100%;padding:10px 12px;margin:4px 0 0;border:1px solid var(--aga-nav-border);border-radius:10px;background:var(--aga-nav-hover);color:var(--aga-nav-text);font:600 12px/1.4 Inter,system-ui,sans-serif;cursor:pointer;text-align:left}

/* footer theme placement 20261008: put day/night toggle immediately above status. */
html[data-aga-shell-theme] body #appSidebar.aga-unified-nav .aga-shell-theme-toggle{margin-top:auto!important;flex-shrink:0}
html[data-aga-shell-theme] body #appSidebar.aga-unified-nav .side-foot{margin-top:8px!important;flex-shrink:0}

/* Finance uses the shared sticky header and hamburger, without an extra menu row. */
body.aga-finance-shell .finance-brand{display:flex;flex-direction:column;gap:2px;font-family:Inter,system-ui,sans-serif!important;line-height:1.2;min-width:0}
body.aga-finance-shell .finance-brand strong{font-size:14px;font-weight:700;color:var(--aga-nav-text)}
body.aga-finance-shell .finance-brand>span{font-size:11px;color:var(--aga-nav-muted)!important}
@media(max-width:800px){body.aga-finance-shell .finance-brand strong{font-size:12px}}

/* Fixed header avoids the legacy body overflow creating a second sticky scroll context. */
body.aga-finance-shell .aga-standalone-workspace{padding-top:54px;box-sizing:border-box}
@media(max-width:800px){body.aga-finance-shell .aga-standalone-workspace{padding-top:64px}}

/* Keep only the common POS header hamburger once it is mounted.
   Native AI/standalone hamburger remains available during shell bootstrap. */
html[data-aga-shell-theme] body.aga-unified-app:has(#aga-common-pos-header) > .aga-unified-menu-button{display:none!important}

/* Native React content for only AI Sistem Kontrolleri / Sistem Sağlığı inside
 * existing POS Settings work area. POS itself and Masalar remain intact. */

/* Mobile-only navigation: reuses the existing global module links and permissions. */
.aga-mobile-bottom-nav{display:none}
/* AGA_SINGLE_NAV_20261015: tek gezinme. Masaüstünde (>=900px, dokunmatik olmayan) dock; diğer her durumda bu alt çubuk.
   Karar html.aga-dock-nav sınıfındadır (POS sayfa başı, ortak başlık ve dock aynı kuralı kullanır). Genişlik boşluğu yoktur.
   Android APK kendi alt menüsünü, iPhone'a kurulu PWA kendi çubuğunu kullanır; kurulu PWA'da kurye hamburgerle gezinir. */
html:not(.aga-dock-nav):not(.aga-android-app):not(.aga-ios-app) body.aga-unified-app .aga-mobile-bottom-nav{
 box-sizing:border-box;display:flex;align-items:stretch;justify-content:space-around;gap:2px;
 position:fixed;bottom:0;left:0;right:0;
 height:calc(64px + env(safe-area-inset-bottom,0px));
 padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px));
 background:var(--aga-nav-bg,#f1f5f8);color:var(--aga-nav-text,#19384b);
 border-top:1px solid var(--aga-nav-border,#d1dee6);
 box-shadow:0 -4px 18px #00000014;
 z-index:200;
}
html:not(.aga-dock-nav):not(.aga-android-app):not(.aga-ios-app) body.aga-unified-app:not(.order-mode):has(>.aga-mobile-bottom-nav){padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))!important}
html.aga-pwa-app body.aga-unified-app.courier-role .aga-mobile-bottom-nav,
body.aga-unified-app.order-mode .aga-mobile-bottom-nav,
body.aga-unified-app:has(#uiModal:not(.hidden)) .aga-mobile-bottom-nav,
body.aga-unified-app:has(#loginOverlay:not(.hidden)) .aga-mobile-bottom-nav{display:none!important}
html.aga-pwa-app:not(.aga-android-app) body.aga-unified-app:not(.courier-role) #pwaBottomNav{display:none!important}
.aga-mobile-bottom-nav>:is(button,a){
 position:relative;display:flex;flex:1 1 0;min-width:0;align-items:center;justify-content:flex-end;flex-direction:column;
 gap:3px;background:transparent;border:0;border-radius:0;text-decoration:none;
 color:var(--aga-nav-muted,#577080);font:600 11px/1.25 Inter,system-ui,sans-serif;
 cursor:pointer;padding:0 2px 2px;min-height:48px;
}
.aga-mobile-bottom-nav>.active{color:var(--aga-nav-accent,#247da5);font-weight:700}
.aga-mobile-bottom-nav>[hidden]{display:none!important}
.aga-mobile-bottom-nav>:is(button,a):focus-visible{outline:2px solid var(--aga-nav-accent,#247da5);outline-offset:0}
.aga-mobile-bottom-nav .aga-mobile-tab-icon{display:grid;place-items:center;height:23px}
.aga-mobile-bottom-nav .aga-mobile-tab-label{display:block;white-space:nowrap}
/* Ortadaki Menü düğmesi çubuktan yukarı taşar; çevresindeki çubuk renginde halka çıkıntıyı oluşturur. */
.aga-mobile-bottom-nav>.aga-mobile-menu-tab{flex:0 0 68px;justify-content:space-between;padding-top:0}
.aga-mobile-menu-tab .aga-mobile-tab-icon{width:48px;height:48px;margin-top:-22px;border-radius:50%;background:var(--aga-nav-accent,#247da5);color:#fff;box-shadow:0 0 0 5px var(--aga-nav-bg,#f1f5f8),0 5px 12px #0004}
.aga-mobile-menu-tab .aga-mobile-tab-icon svg{stroke-width:2.4}
/* Menü sayfası: dock'un modülleri; açık modülün sayfaları 3'lü ikonlu kutular. */
.aga-mobile-menu-shade{position:fixed;inset:0;z-index:199;background:#0006}
.aga-mobile-menu{position:fixed;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom,0px));z-index:199;max-height:calc(100dvh - 140px);overflow:auto;overscroll-behavior:contain;padding:10px 12px 14px;background:var(--aga-nav-bg,#f1f5f8);color:var(--aga-nav-text,#19384b);border:1px solid var(--aga-nav-border,#d1dee6);border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -10px 30px #0004;font:14px/1.3 Inter,system-ui,sans-serif}
.aga-mobile-menu[hidden],.aga-mobile-menu-shade[hidden]{display:none}
.aga-mobile-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.aga-mobile-menu-close{width:40px;height:40px;border:1px solid var(--aga-nav-border,#d1dee6);border-radius:10px;background:transparent;color:inherit;font-size:20px}
.aga-mobile-menu-group{margin-bottom:5px;border-radius:12px}
.aga-mobile-menu-group.open{background:color-mix(in srgb,var(--aga-nav-accent,#247da5) 16%,var(--aga-nav-bg,#f1f5f8))}
.aga-mobile-menu-module{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--aga-nav-border,#d1dee6);border-radius:12px;background:transparent;color:inherit;font:700 14px/1.2 Inter,system-ui,sans-serif;text-align:left}
.aga-mobile-menu-group.open>.aga-mobile-menu-module{border-color:transparent}
.aga-mobile-menu-module.active{color:var(--aga-nav-accent,#247da5)}
.aga-mobile-menu-module span{flex:1}
.aga-mobile-menu-module[aria-expanded]::after{content:"▾";opacity:.6}
.aga-mobile-menu-group.open>.aga-mobile-menu-module::after{content:"▴"}
.aga-mobile-menu-pages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:2px 6px 8px}
.aga-mobile-menu-pages .aga-page-tile{min-height:66px;justify-content:center;font-size:12px;text-align:center;overflow-wrap:anywhere}
.aga-mobile-menu-theme{width:100%;min-height:44px;margin-top:6px;border:1px solid var(--aga-nav-border,#d1dee6);border-radius:12px;background:transparent;color:inherit;font:600 14px Inter,system-ui,sans-serif}



/* Ağa Platform · daylight contrast pass · 2026-10-10
   Light mode only. Preserve brand palette and all night-mode rules.
   Shared surface, readable text, neutral vs selected vs dangerous actions. */
html[data-aga-unified-theme="light"],
html[data-aga-shell-theme="light"]{
  --aga-day-action-bg:#e5eef4;
  --aga-day-action-hover:#d7e7f0;
  --aga-day-action-border:#9db3c4;
  --aga-day-action-text:#24485f;
  --aga-day-label:#4c6271;
  --aga-day-input-bg:#ffffff;
  --aga-day-focus:#236f98;
  --aga-day-focus-ring:rgba(35,111,152,.24);
  --aga-day-panel-border:#bccbd5;
}

/* POS: neutral action buttons are visibly clickable on pale cards. */
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body .workspace .app
:is(.btn,.toolbar-btn,.admin-toolbar button,.data-table button,.floor-list button,.stats-range-shortcuts button,
.daily-date-nav button,.stats-date-button,.report-toolbar-v2 button,.history-toolbar button,
.credit-card-actions button,.credit-detail-actions button,.brain-month-nav button,
.delivery-detail-actions button,.operator-card)
:not(.primary):not(.danger):not(.good):not(.warn):not(.active):not(.selected):not([aria-pressed="true"]):not(.ui-primary):not(.ui-secondary):not(.ui-danger):not(.credit-detail-btn):not(.credit-product-btn):not(.credit-collect-btn):not(.credit-print-btn):not(.customer-detail-btn):not(.audit-analyze-btn):not(.address-map-link):not(.head-add-btn):not([data-quick-method]):not([data-detail-pay]):not(.change):not(.delete):not(#cancelManagerSave):not(#cancelManagerDiscard):not(#detailPayHold):not(.cancel-manager-whole){
 background:var(--aga-day-action-bg)!important;
 color:var(--aga-day-action-text)!important;
 border:1px solid var(--aga-day-action-border)!important;
 box-shadow:0 1px 2px rgba(51,51,51,.08)!important;
}
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body .workspace .app
:is(.btn,.toolbar-btn,.admin-toolbar button,.data-table button,.floor-list button,.stats-range-shortcuts button,
.daily-date-nav button,.stats-date-button,.report-toolbar-v2 button,.history-toolbar button,
.credit-card-actions button,.credit-detail-actions button,.brain-month-nav button,
.delivery-detail-actions button)
:not(.primary):not(.danger):not(.good):not(.warn):not(.active):not(.selected):not(:disabled):not(.ui-primary):not(.ui-secondary):not(.ui-danger):not(.credit-detail-btn):not(.credit-product-btn):not(.credit-collect-btn):not(.credit-print-btn):not(.customer-detail-btn):not(.audit-analyze-btn):not(.address-map-link):not(.head-add-btn):not([data-quick-method]):not([data-detail-pay]):not(.change):not(.delete):not(#cancelManagerSave):not(#cancelManagerDiscard):not(#detailPayHold):not(.cancel-manager-whole):hover{
 background:var(--aga-day-action-hover)!important;
 border-color:#a3a3a3!important;
 color:#333333!important;
}
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body .workspace .app
:is(.product,.table,.credit-card,.stats-kpi,.report-primary-card,.report-mini-card,.method-card){
 border-color:var(--aga-day-panel-border)!important;
}
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body .workspace .app
:is(.muted,.data-table th,.history-table th,.report-mini-card span,.stats-kpi span,.stats-kpi small,
.report-toolbar-copy span,.history-toolbar span,.credit-card header span,.credit-detail-top span){
 color:var(--aga-day-label)!important;
}
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body
:is(.workspace .app,.ui-card) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
 background:var(--aga-day-input-bg)!important;
 color:#333333!important;
 border:1px solid var(--aga-day-action-border)!important;
}
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body
:is(.workspace .app,.ui-card) :is(input,textarea)::placeholder{color:#737373!important;opacity:1}
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body .ui-card
button:not(.stats-calendar-day):not(.primary):not(.danger):not(.good):not(.warn):not(.active):not(.selected):not([aria-pressed="true"]):not(.ui-primary):not(.ui-secondary):not(.ui-danger):not(.credit-detail-btn):not(.credit-product-btn):not(.credit-collect-btn):not(.credit-print-btn):not(.customer-detail-btn):not(.audit-analyze-btn):not(.address-map-link):not(.head-add-btn):not([data-quick-method]):not([data-detail-pay]):not(.change):not(.delete):not(#cancelManagerSave):not(#cancelManagerDiscard):not(#detailPayHold):not(.cancel-manager-whole){
 background:var(--aga-day-action-bg)!important;
 border-color:var(--aga-day-action-border)!important;
 color:var(--aga-day-action-text)!important;
}
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body
:is(.workspace .app,.ui-card) :is(button,input,select,textarea,[role="button"]):focus-visible{
 outline:2px solid var(--aga-day-focus)!important;
 outline-offset:2px!important;
 box-shadow:0 0 0 4px var(--aga-day-focus-ring)!important;
}

/* Finance: stronger secondary buttons, crisp inputs, readable table metadata.
   Primary and tone-* buttons take the finance traffic-light colors (see FINANCE TONES). */
html[data-aga-panel-theme="light"] body .app > .shell :is(.btn:not(.primary):not(.danger):not([class*="tone-"]),
.field input,.field select,.field textarea,.tx-filter-grid select,.tx-filter-grid input){
 border-color:var(--aga-day-action-border,#9db3c4)!important;
}
html[data-aga-panel-theme="light"] body .app > .shell
.btn:not(.primary):not(.danger):not([class*="tone-"]):not(.active):not([aria-pressed="true"]){
 background:var(--aga-day-action-bg,#e5eef4)!important;
 color:var(--aga-day-action-text,#24485f)!important;
 box-shadow:0 1px 2px rgba(38,54,64,.08)!important;
}
html[data-aga-panel-theme="light"] body .app > .shell .btn:not(.primary):not(.danger):not([class*="tone-"]):hover{
 background:var(--aga-day-action-hover,#d7e7f0)!important;
 border-color:#6e94ae!important;
}
html[data-aga-panel-theme="light"] body .app > .shell
:is(.field input,.field select,.field textarea,.tx-filter-grid input,.tx-filter-grid select){
 background:#ffffff!important;color:#263640!important;
}
html[data-aga-panel-theme="light"] body .app > .shell
:is(.muted,.field label,.metric .sub,.tbl th,.daylabel,.sourcebox .small,.cardhead .small){
 color:var(--aga-day-label,#4c6271)!important;
}
html[data-aga-panel-theme="light"] body .app > .shell
:is(.card,.daycard,.tablewrap,.field input,.field select,.field textarea){
 border-color:var(--aga-day-panel-border,#bccbd5)!important;
}
html[data-aga-panel-theme="light"] body .app > .shell .metric{border-color:var(--fin-tone-b,var(--aga-day-panel-border,#bccbd5))!important}
html[data-aga-panel-theme="light"] body .app > .shell .metric .k{color:var(--fin-tone,var(--aga-day-label,#4c6271))!important}
html[data-aga-panel-theme="light"] body .app > .shell .btn.primary{
 background:#2fb344!important;border-color:#2fb344!important;color:#fff!important;
}
html[data-aga-panel-theme="light"] body .app > .shell :is(button,input,select,textarea,[role="button"]):focus-visible{
 outline:2px solid var(--aga-day-focus,#236f98)!important;outline-offset:2px!important;
 box-shadow:0 0 0 4px var(--aga-day-focus-ring,rgba(35,111,152,.24))!important;
}

/* AI: neutral buttons and subtle panel text; status/approve/delete buttons excluded.
   Existing chat bubble colors, badges, and dark blue navigation remain intact. */
body[data-aga-panel-theme="light"] .panel-shell.daylight-theme .page-content
:is(button,.btn,[role="button"]):not(.primary):not(.danger):not(.destructive):not(.delete):not(.delete-button):not(.approve):not(.success):not(.active):not(.selected):not([aria-pressed="true"]){
 border-color:#9db3c4!important;
 box-shadow:inset 0 0 0 1px rgba(36,90,125,.12),0 1px 2px rgba(38,54,64,.055)!important;
}
body[data-aga-panel-theme="light"] .panel-shell.daylight-theme .page-content
:is(.btn.secondary,.btn.ghost,.secondary-btn,.ghost-btn,.tabs button:not(.active),
.filter-chip:not(.active),.pagination button,.pf-toolbar button:not(.primary),
.knowledge-toolbar button,.studio-toolbar button){
 background:#e5eef4!important;color:#24485f!important;
 border:1px solid #9db3c4!important;
}
body[data-aga-panel-theme="light"] .panel-shell.daylight-theme .page-content
:is(.btn.secondary,.btn.ghost,.secondary-btn,.ghost-btn,.tabs button:not(.active),
.filter-chip:not(.active),.pagination button):not(:disabled):hover{
 background:#d7e7f0!important;color:#173c55!important;border-color:#6e94ae!important;
}
body[data-aga-panel-theme="light"] .panel-shell.daylight-theme
:is(.page-heading p,.eyebrow,.table-head,.crm-head,.meta-table-head,.customer-bank-head,
.personnel-table-wrap th,.pf-table-head,.pane-label,.message-head small,.summary-head small,
.knowledge-catalog small,.crm-profile small){
 color:#4c6271!important;
}
body[data-aga-panel-theme="light"] .panel-shell.daylight-theme .page-content
:is(input:not([type="checkbox"]):not([type="radio"]),textarea,select){
 border-color:#9db3c4!important;
}
body[data-aga-panel-theme="light"] .panel-shell.daylight-theme .page-content
:is(input,textarea)::placeholder{color:#657987!important;opacity:1}
body[data-aga-panel-theme="light"] .panel-shell.daylight-theme
:is(button,input,textarea,select,[role="button"]):focus-visible{
 outline:2px solid #236f98!important;outline-offset:2px!important;
 box-shadow:0 0 0 4px rgba(35,111,152,.24)!important;
}


/* Extracted secondary header actions are outside the module's old topbar. */
html[data-aga-panel-theme="light"] body .aga-module-context-tools
:is(.finance-date-nav button,.finance-date-shortcuts button):not(.active),
body[data-aga-panel-theme="light"] .aga-module-context-tools
:is(.top-actions button,.topbar-actions .btn):not(.primary):not(.danger):not(.active){
 background:#e5eef4!important;color:#24485f!important;border:1px solid #9db3c4!important;
 box-shadow:0 1px 2px rgba(38,54,64,.08)!important;
}
html[data-aga-panel-theme="light"] body .aga-module-context-tools
:is(.finance-date-nav button,.finance-date-shortcuts button):not(:disabled):hover{
 background:#d7e7f0!important;border-color:#6e94ae!important;
}
html[data-aga-panel-theme="light"] body .aga-module-context-tools
:is(button,input,select):focus-visible{
 outline:2px solid #236f98!important;outline-offset:2px!important;
 box-shadow:0 0 0 4px rgba(35,111,152,.24)!important;
}

/* Across all light-mode modules, disabled means disabled—not invisible. */
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) .workspace :is(button,input,select):disabled,
html[data-aga-panel-theme="light"] body .app :is(button,input,select):disabled,
body[data-aga-panel-theme="light"] .panel-shell .page-content :is(button,input,select):disabled{
 opacity:.66!important;cursor:not-allowed!important;
}


/* Daylight visibility v2 · actual neutral controls found in POS/Finance/AI templates.
   Noticeable but restrained background shift; semantic/selected buttons untouched. */
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body .workspace .app
:is(.mini-btn,.month-select-action,.stats-date-button,.toolbar-btn,.data-table button,
.admin-toolbar button,.history-toolbar button,.history-detail-actions button,.brain-month-nav button,
.credit-card-actions button,.credit-detail-actions button,.floor-list button,
.staff-card-actions button,.report-toolbar-v2 button,.stats-range-shortcuts button)
:not(.primary):not(.danger):not(.warn):not(.good):not(.active):not(.selected):not([aria-pressed="true"]):not(#sendOrder):not(.ui-primary):not(.ui-secondary):not(.ui-danger):not(.credit-detail-btn):not(.credit-product-btn):not(.credit-collect-btn):not(.credit-print-btn):not(.customer-detail-btn):not(.audit-analyze-btn):not(.address-map-link):not(.head-add-btn):not([data-quick-method]):not([data-detail-pay]):not(.change):not(.delete):not(#cancelManagerSave):not(#cancelManagerDiscard):not(#detailPayHold):not(.cancel-manager-whole){
 background:#e5e5e5!important;background-color:#e5e5e5!important;
 color:#066fd1!important;border:1px solid #a3a3a3!important;
 box-shadow:0 2px 5px rgba(6,111,209,.13)!important;
}
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body .workspace .app
:is(.mini-btn,.month-select-action,.stats-date-button,.toolbar-btn,.data-table button,
.admin-toolbar button,.history-toolbar button,.history-detail-actions button,.brain-month-nav button,
.credit-card-actions button,.credit-detail-actions button,.floor-list button,
.staff-card-actions button,.report-toolbar-v2 button,.stats-range-shortcuts button)
:not(.primary):not(.danger):not(.warn):not(.good):not(.active):not(.selected):not(:disabled):not(.ui-primary):not(.ui-secondary):not(.ui-danger):not(.credit-detail-btn):not(.credit-product-btn):not(.credit-collect-btn):not(.credit-print-btn):not(.customer-detail-btn):not(.audit-analyze-btn):not(.address-map-link):not(.head-add-btn):not([data-quick-method]):not([data-detail-pay]):not(.change):not(.delete):not(#cancelManagerSave):not(#cancelManagerDiscard):not(#detailPayHold):not(.cancel-manager-whole):hover{
 background:#e5e5e5!important;background-color:#e5e5e5!important;
 border-color:#737373!important;color:#333333!important;
 box-shadow:0 3px 8px rgba(6,111,209,.16)!important;
}
html[data-aga-unified-theme="light"]:not([data-pos-theme="night"]) body .workspace .app
:is(.panel,.report-panel,.history-table-panel,.print-card,.data-section,.report-card,.stats-kpi)
{border-color:#d4d4d4!important}
html[data-aga-panel-theme="light"] body .app > .shell
.btn:not(.primary):not(.danger):not([class*="tone-"]):not(.active):not([aria-pressed="true"]),
html[data-aga-panel-theme="light"] body .aga-module-context-tools
:is(.finance-date-nav button,.finance-date-shortcuts button):not(.active):not([aria-pressed="true"]){
 background:#dbe8f1!important;color:#20465f!important;
 border:1px solid #89a8bc!important;
 box-shadow:0 2px 5px rgba(33,75,103,.13)!important;
}
html[data-aga-panel-theme="light"] body .app > .shell
.btn:not(.primary):not(.danger):not(.active):not(:disabled):hover,
html[data-aga-panel-theme="light"] body .aga-module-context-tools
:is(.finance-date-nav button,.finance-date-shortcuts button):not(:disabled):hover{
 background:#caddea!important;color:#173c55!important;border-color:#537f9e!important
}
body[data-aga-panel-theme="light"] .panel-shell.daylight-theme .page-content
:is(.btn.secondary,.btn.ghost,.mode-control button,.heading-actions button,
.pf-toolbar button,.personnel-revenue-toolbar button,.knowledge-toolbar button,
.studio-toolbar button,.customer-toolbar button,.google-filter-toolbar button,
.ig-comment-toolbar button,.filter-chip,.pagination button)
:not(.primary):not(.danger):not(.dark):not(.approve):not(.reject):not(.send):not(.active)
:not(.selected):not([aria-pressed="true"]){
 background:#dbe8f1!important;background-color:#dbe8f1!important;
 color:#20465f!important;border:1px solid #89a8bc!important;
 box-shadow:0 2px 5px rgba(33,75,103,.13)!important;
}
body[data-aga-panel-theme="light"] .panel-shell.daylight-theme .page-content
:is(.btn.secondary,.btn.ghost,.mode-control button,.heading-actions button,
.pf-toolbar button,.personnel-revenue-toolbar button,.knowledge-toolbar button,
.studio-toolbar button,.customer-toolbar button,.google-filter-toolbar button,
.ig-comment-toolbar button,.filter-chip,.pagination button)
:not(.primary):not(.danger):not(.dark):not(.approve):not(.reject):not(.send):not(.active)
:not(.selected):not(:disabled):hover{
 background:#caddea!important;border-color:#537f9e!important;color:#173c55!important
}



/* Ağa daylight system · 2026-10-10. Shared POS / AI / Finance; light mode only. */
html:root:is([data-aga-shell-theme="light"],[data-aga-unified-theme="light"]){
 --aga-color-bg:#f1f3f5;--aga-color-bg-secondary:#e9edf1;
 --aga-color-surface:#fff;--aga-color-surface-raised:#fff;--aga-color-surface-soft:#f5f7f9;
 --aga-color-border:#d6dde4;--aga-color-border-strong:#b7c4d0;
 --aga-color-text:#182735;--aga-color-text-soft:#425466;--aga-color-muted:#566779;
 --aga-color-muted-strong:#425466;--aga-color-accent:#245d83;--aga-color-accent-ink:#204f70;
 --aga-color-accent-text:#204f70;--aga-color-accent-hover:#194767;--aga-color-accent-soft:#e8f0f6;
 --aga-color-on-accent:#fff;--aga-color-input:#fff;--aga-color-table-heading:#edf1f5;
 --aga-color-success:#216647;--aga-color-warning:#80580d;--aga-color-danger:#a62e38;
 --aga-nav-bg:#fff;--aga-nav-text:#182735;--aga-nav-muted:#46596b;--aga-nav-border:#d6dde4;
 --aga-nav-hover:#f0f4f7;--aga-nav-active:#e5eef5;--aga-nav-active-border:#afc6d8;
 --aga-nav-accent:#245d83;--aga-shell-top:#fff;
 --aga-day-action-bg:#edf3f8;--aga-day-action-hover:#dfeaf3;--aga-day-action-border:#aebfce;
 --aga-day-action-text:#204f70;--aga-day-label:#46596b;--aga-day-panel-border:#d6dde4;
}
html[data-aga-shell-theme="light"]{background:#f1f3f5!important}
html[data-aga-shell-theme="light"] body{
 background:#f1f3f5!important;color:#182735;
 --ink:#182735;--muted:#566779;--surface:#fff;--surface2:#f5f7f9;--line:#d6dde4;
 --shadow:0 2px 5px #18273506;
}
html[data-aga-shell-theme="light"] body :is(.workspace,.panel-main,.page-content){background-color:#f1f3f5!important}
html[data-aga-shell-theme="light"] body :is(.top,#aga-common-pos-header,.topbar){background:#fff!important;border-bottom-color:#d6dde4!important;box-shadow:0 1px 0 #18273505!important}
html[data-aga-shell-theme="light"] body :is(.workspace,.panel-shell,.aga-standalone-workspace){font-family:Inter,"Segoe UI",system-ui,sans-serif!important}
html[data-aga-shell-theme="light"] body :is(button,input,select,textarea){font-family:inherit}
html[data-aga-shell-theme="light"] body .aga-local-link{font-size:14px;font-weight:500;border-radius:7px}
html[data-aga-shell-theme="light"] body .aga-local-link.active{font-weight:700}
html[data-aga-shell-theme="light"] body :is(.brand strong,.section-head strong,.brain-section-head h3,.admin-card h3){color:#182735!important}
html[data-aga-shell-theme="light"] body .workspace :is(.main,.ticket,.order-menu-panel,.admin-card,.data-section,.history-table-panel,.print-card,.settings-section-v2,.settings-box,.online-card-v2,.customer-card,.credit-card,.brain-section,.brain-control){background:#fff!important;border:1px solid #d6dde4!important;border-radius:12px!important;box-shadow:0 2px 5px #18273506!important}
html[data-aga-shell-theme="light"] body .workspace :is(.stats-kpi,.report-primary-card,.report-mini-card,.method-card,.brain-kpis article,.brain-today>div){background:#fff!important;border:1px solid #d6dde4!important;border-radius:10px!important;box-shadow:0 2px 5px #18273506!important}
html[data-aga-shell-theme="light"] body .workspace :is(.stats-kpi strong,.brain-kpis strong,.brain-today strong,.credit-card-stats b){color:#182735!important;font-variant-numeric:tabular-nums}
html[data-aga-shell-theme="light"] body .workspace :is(.data-table,.history-table){color:#182735}
html[data-aga-shell-theme="light"] body .workspace :is(.data-table th,.history-table th){background:#edf1f5!important;color:#46596b!important;font-size:12px!important;font-weight:650}
html[data-aga-shell-theme="light"] body .workspace :is(.data-table td,.history-table td){border-color:#e3e8ee!important;font-size:14px}
html[data-aga-shell-theme="light"] body .workspace :is(.data-table tbody tr:hover,.history-table tbody tr:hover){background:#f4f7fa!important}
html[data-aga-shell-theme="light"] body .workspace :is(.qty button,.payment-grid button,.manage-grid button,.admin-card button,.cash-actions button,.data-table button,.admin-toolbar button,.floor-list button,.print-card button,.refund-row button):not(.primary):not(.danger):not(.danger-btn):not(.ui-danger):not(.warn):not(.active):not(.selected):not(.ui-primary):not(.ui-secondary):not(.ui-danger):not(.credit-detail-btn):not(.credit-product-btn):not(.credit-collect-btn):not(.credit-print-btn):not(.customer-detail-btn):not(.audit-analyze-btn):not(.address-map-link):not(.head-add-btn):not([data-quick-method]):not([data-detail-pay]):not(.change):not(.delete):not(#cancelManagerSave):not(#cancelManagerDiscard):not(#detailPayHold):not(.cancel-manager-whole){background:#edf3f8!important;color:#204f70!important;border:1px solid #aebfce!important;box-shadow:0 1px 2px #18273508!important}
html[data-aga-shell-theme="light"] body .workspace :is(.primary,.ready-btn,.courier-status-action.delivered){background:#245d83!important;color:#fff!important;border-color:#245d83!important;box-shadow:0 2px 3px #18273514!important}
html[data-aga-shell-theme="light"] body :is(.workspace,.ui-card) :is(.danger-btn,.mini-btn.danger,.data-table button.danger,.ui-danger,.customer-card-danger button,.cancel-manager-whole-icon){background:#fff0f1!important;color:#a62e38!important;border:1px solid #ddb2b7!important}
html[data-aga-shell-theme="light"] body :is(.workspace,.ui-card) :is(.status.OPEN,.status-pill.NEW,.status-pill.PREPARING,.status-pill.ACCEPTED,.line-name em,.data-table button.warn){background:#fff4da!important;color:#80580d!important;border-color:#e6ce97!important}
html[data-aga-shell-theme="light"] body .workspace :is(.status.READY,.status-pill.READY,.status-pill.DELIVERED,.brain-trend.good,.online-engine:not(.error):not(.wait)){background:#e9f5ee!important;color:#216647!important}
html[data-aga-shell-theme="light"] body .workspace :is(.status-pill.ON_THE_WAY,.status.PREPARING){background:#e8f0fa!important;color:#245d83!important}
html[data-aga-shell-theme="light"] body .workspace :is(.brain-trend.bad,.whatsapp-live-connection.error,.caller-global-badge){background:#fff0f1!important;color:#a62e38!important}
html[data-aga-shell-theme="light"] body .workspace :is(.kitchen-card,.history-card,.order-toolbar){background:#fff!important;color:#182735!important;border-color:#d6dde4!important}
html[data-aga-shell-theme="light"] body .workspace :is(.product:hover,.product:focus-visible){background:#e8f0f6!important;color:#182735!important;border-color:#7fa1bb!important}
html[data-aga-shell-theme="light"] body .workspace .table.EMPTY{background:#fff!important;border-color:#b7c4d0!important;box-shadow:0 3px 8px #1827350a!important}
html[data-aga-shell-theme="light"] body .workspace .table.OPEN{background:#fff4da!important;border-color:#d6b86f!important}
html[data-aga-shell-theme="light"] body .workspace .table.PREPARING{background:#e8f0fa!important;border-color:#94b3d0!important}
html[data-aga-shell-theme="light"] body .workspace .table.READY{background:#e9f5ee!important;border-color:#8ebaa0!important}
html[data-aga-shell-theme="light"] body .workspace .table :is(strong,span,b,em){color:#182735!important}
html[data-aga-shell-theme="light"] body .workspace .table em{background:#edf1f5!important;color:#46596b!important}
html[data-aga-shell-theme="light"] body .workspace .brain-page{gap:20px}
html[data-aga-shell-theme="light"] body .workspace .brain-hero{background:#fff!important;color:#182735!important;border:1px solid #d6dde4;border-left:4px solid #245d83;border-radius:12px!important;box-shadow:none!important;padding:22px 24px}
html[data-aga-shell-theme="light"] body .workspace .brain-hero h2{font-size:28px;letter-spacing:-.5px}
html[data-aga-shell-theme="light"] body .workspace .brain-hero p{color:#46596b!important;font-size:14px;line-height:1.6}
html[data-aga-shell-theme="light"] body .workspace :is(.brain-hero small,.brain-section-head small,.brain-period-control>small){color:#566779!important;font-size:12px!important;letter-spacing:.06em!important;opacity:1!important;font-weight:650!important}
html[data-aga-shell-theme="light"] body .workspace .brain-section{padding:20px!important}
html[data-aga-shell-theme="light"] body .workspace .brain-section-head{padding-bottom:14px;border-bottom:1px solid #e6ebef;margin-bottom:16px;gap:16px}
html[data-aga-shell-theme="light"] body .workspace .brain-section-head h3{font-size:20px!important;font-weight:700;letter-spacing:-.25px}
html[data-aga-shell-theme="light"] body .workspace :is(.brain-range button,.brain-refresh,.brain-prep-toggle button,.brain-alarm-modes button,.brain-compare-modes button){font-size:12px!important;min-height:36px!important;padding:8px 12px!important;border-radius:6px!important;color:#425466!important;box-shadow:none!important}
html[data-aga-shell-theme="light"] body .workspace :is(.brain-range button.active,.brain-refresh,.brain-prep-toggle button.active,.brain-alarm-modes button.active,.brain-compare-modes button.active){background:#245d83!important;color:#fff!important;border-color:#245d83!important}
html[data-aga-shell-theme="light"] body .workspace :is(.brain-prep-toggle,.brain-alarm-modes,.brain-compare-modes){background:#edf1f5!important;border:1px solid #d6dde4!important;border-radius:8px!important;padding:3px!important}
html[data-aga-shell-theme="light"] body .workspace :is(.brain-head-settings small,.brain-head-settings .brain-alarm-control>span,.brain-head-settings .brain-compare-control>span,.brain-pulse-date,.brain-prep-controls>span){font-size:12px!important;color:#566779!important;line-height:1.5}
html[data-aga-shell-theme="light"] body .workspace .brain-kpis article{padding:18px!important}
html[data-aga-shell-theme="light"] body .workspace .brain-kpis article.brain-primary{background:#f4f8fb!important;border-top:3px solid #245d83!important}
html[data-aga-shell-theme="light"] body .workspace .brain-kpis strong{font-size:28px!important;letter-spacing:-.6px}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-summary{gap:12px;margin-bottom:18px}
html[data-aga-shell-theme="light"] body .workspace :is(.brain-prep-summary>div,.brain-table-flow>div,.brain-delivery>div,.brain-customer-grid>div){background:#f5f7f9!important;border:1px solid #e0e6ec!important;border-radius:8px!important;padding:12px 14px!important}
html[data-aga-shell-theme="light"] body .workspace :is(.brain-prep-summary span,.brain-table-flow span,.brain-delivery span,.brain-customer-grid span){font-size:12px!important;line-height:1.5;color:#566779!important}
html[data-aga-shell-theme="light"] body .workspace :is(.brain-prep-summary strong,.brain-table-flow strong,.brain-delivery strong,.brain-customer-grid strong){font-size:15px!important;color:#182735!important;margin-top:5px}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-grid{grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr))!important;gap:14px!important}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-grid article{padding:16px!important;background:#fff!important;border:1px solid #ccd7e0!important;border-top:3px solid #8faec4!important;border-radius:9px!important;box-shadow:0 2px 4px #18273505!important}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-grid header>strong{font-size:15px!important;color:#182735!important;font-weight:700}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-grid .confidence{font-size:11px!important;padding:4px 8px!important;font-weight:650!important;background:#edf1f5!important;color:#46596b!important}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-grid .confidence.yüksek{background:#e9f5ee!important;color:#216647!important}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-grid .confidence.orta{background:#fff4da!important;color:#80580d!important}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-grid .confidence.düşük{background:#fff0f1!important;color:#a62e38!important}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-forecast{margin:16px 0!important;gap:10px;align-items:center}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-forecast b{font-size:32px!important;line-height:1.1;color:#204f70!important;font-variant-numeric:tabular-nums;letter-spacing:-.7px}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-forecast small{font-size:12px!important;color:#566779!important;line-height:1.45;max-width:150px}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-history{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px!important;background:#f5f7f9;border:0!important;border-radius:6px;padding:12px!important;margin:0 0 12px!important}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-history>span{grid-column:1/-1;font-size:11px!important;font-weight:650!important;letter-spacing:.04em;color:#566779!important;margin-bottom:3px}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-history small{display:flex;justify-content:space-between;gap:5px;font-size:12px!important;color:#425466!important;line-height:1.4}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-history small b{color:#182735!important;font-weight:650;font-variant-numeric:tabular-nums}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-grid footer{font-size:12px!important;line-height:1.6;color:#46596b!important;border-top:1px solid #e0e6ec!important;padding-top:10px!important}
html[data-aga-shell-theme="light"] body .workspace .brain-prep-grid footer :is(b,em){color:#46596b!important;font-size:12px!important}
html[data-aga-shell-theme="light"] body .workspace :is(.brain-prep-note,.brain-foot){font-size:12px!important;color:#566779!important;line-height:1.6!important}
html[data-aga-shell-theme="light"] body .workspace .brain-grid{align-items:start!important}
html[data-aga-shell-theme="light"] body .workspace .brain-insight{padding:14px!important;background:#f5f7f9;border:1px solid #e0e6ec!important;border-radius:8px}
html[data-aga-shell-theme="light"] body .workspace .brain-insight>b{background:#e5eef5!important;color:#204f70!important}
html[data-aga-shell-theme="light"] body .workspace .brain-insight strong{color:#182735!important}
html[data-aga-shell-theme="light"] body .workspace .brain-channel>div{padding:12px 0;border-bottom:1px solid #e6ebef}
/* Native AI and Finance components consume the same surface hierarchy. */
html[data-aga-shell-theme="light"] body .panel-shell.polished-tech-theme.daylight-theme{
 --pt-bg:#f1f3f5!important;--pt-bg-deep:#e9edf1!important;--pt-surface:#fff!important;--pt-surface-raised:#fff!important;--pt-surface-soft:#f5f7f9!important;--pt-text:#182735!important;--pt-text-soft:#425466!important;--pt-muted:#566779!important;
 --aga-bg:#f1f3f5!important;--aga-bg-2:#e9edf1!important;--aga-surface:#fff!important;--aga-surface-2:#f5f7f9!important;--aga-text:#182735!important;--aga-text-2:#425466!important;--aga-muted:#566779!important;--ink:#182735!important;--muted:#566779!important;
 background:#f1f3f5!important;color:#182735!important;
}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme.overview-intellio-theme .page-content :is(.overview-kpi,.overview-summary-card,.overview-focus-card,.overview-side-card){background:#fff!important;background-image:none!important;border:1px solid #d6dde4!important;border-radius:10px!important;box-shadow:0 2px 5px #18273506!important;color:#182735!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme.overview-intellio-theme .page-content :is(.overview-kpi strong,.overview-summary-card h3,.overview-side-card h3,.overview-focus-card h2){color:#182735!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme.overview-intellio-theme .page-content :is(.overview-kpi small,.overview-kpi>div>span,.overview-summary-card p,.overview-summary-card small){color:#566779!important;font-size:12px!important;line-height:1.5}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme.overview-intellio-theme .overview-kpis-primary{gap:12px!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme.overview-intellio-theme .overview-summary-card{padding:16px!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme :is(.card,.panel,.summary-card,.stat-card,.metric-card,.knowledge-card,.crm-profile,.knowledge-catalog,.google-review-card){background:#fff!important;border-color:#d6dde4!important;border-radius:12px!important;box-shadow:0 2px 5px #18273506!important;color:#182735}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme :is(.page-heading h1,.page-heading h2,.summary-head strong,.pane-title){color:#182735!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme :is(.page-heading p,.eyebrow,.pane-label,.message-head small,.summary-head small){color:#566779!important;opacity:1!important}
/* FINANCE TONES: anlam sınıfı -> trafik ışığı. Gece ve gündüz aynı işlev aynı renk; yalnız ton koyuluğu temaya uyar. */
html[data-aga-shell-theme="light"] body.aga-finance-shell{--fin-pos:#1e7a30;--fin-info:#066fd1;--fin-warn:#8a5a00;--fin-neg:#b42318}
html[data-aga-shell-theme="dark"] body.aga-finance-shell{--fin-pos:#82d18f;--fin-info:#6aa9e3;--fin-warn:#f9c566;--fin-neg:#e68888}
body.aga-finance-shell .metric:is(.metric-revenue,.metric-positive-sem,.metric-refund){--fin-tone:var(--fin-pos);--fin-tone-b:#2fb344}
body.aga-finance-shell .metric:is(.metric-expense,.metric-danger,.metric-interest){--fin-tone:var(--fin-neg);--fin-tone-b:#d63939}
body.aga-finance-shell .metric:is(.metric-personnel,.metric-warning-sem,.metric-cashout,.metric-ratio.ratio-warning){--fin-tone:var(--fin-warn);--fin-tone-b:#f59f00}
body.aga-finance-shell .metric:is(.metric-info,.metric-info-alt,.metric-cardspend){--fin-tone:var(--fin-info);--fin-tone-b:#066fd1}
body.aga-finance-shell .metric.metric-net.metric-positive,body.aga-finance-shell .metric.metric-ratio.ratio-good,body.aga-finance-shell .metric.metric-state-good{--fin-tone:var(--fin-pos);--fin-tone-b:#2fb344}
body.aga-finance-shell .metric.metric-net.metric-negative,body.aga-finance-shell .metric.metric-ratio.ratio-danger,body.aga-finance-shell .metric.metric-state-bad{--fin-tone:var(--fin-neg);--fin-tone-b:#d63939}
body.aga-finance-shell .t-pos{color:var(--fin-pos)}body.aga-finance-shell .t-info{color:var(--fin-info)}body.aga-finance-shell .t-warn{color:var(--fin-warn)}body.aga-finance-shell .t-neg{color:var(--fin-neg)}
body.aga-finance-shell .btn.tone-pos{--fin-btn:var(--fin-pos);--fin-btn-b:#2fb344}body.aga-finance-shell .btn.tone-info{--fin-btn:var(--fin-info);--fin-btn-b:#066fd1}body.aga-finance-shell .btn.tone-warn{--fin-btn:var(--fin-warn);--fin-btn-b:#f59f00}body.aga-finance-shell .btn.tone-neg{--fin-btn:var(--fin-neg);--fin-btn-b:#d63939}
html body.aga-finance-shell .btn:is(.tone-pos,.tone-info,.tone-warn,.tone-neg){background:transparent!important;border:1px solid var(--fin-btn-b)!important;color:var(--fin-btn)!important;box-shadow:none!important}
html body.aga-finance-shell .btn:is(.tone-pos,.tone-info,.tone-warn,.tone-neg):hover{background:color-mix(in srgb,var(--fin-btn-b) 14%,transparent)!important;border-color:var(--fin-btn-b)!important;color:var(--fin-btn)!important}
html[data-aga-shell-theme="light"] body.aga-finance-shell :is(.card,.metric,.daycard,.tablewrap){background:#fff!important;border:1px solid #d6dde4!important;border-radius:10px!important;box-shadow:0 2px 5px #18273506!important}
html[data-aga-shell-theme="light"] body.aga-finance-shell :is(.metric .v,.cardhead strong,.cardhead h2){color:var(--fin-tone,#182735)!important}
html[data-aga-shell-theme="light"] body.aga-finance-shell :is(.metric .k,.metric .sub,.tbl th,.daylabel,.field label){color:#566779!important;font-size:12px!important}
html[data-aga-shell-theme="light"] body.aga-finance-shell .finance-date-shortcuts button.active{background:#245d83!important;border-color:#245d83!important;color:#fff!important}
html[data-aga-shell-theme="light"] body.aga-finance-shell .metric{text-align:left!important;padding:18px!important}
/* Tutar telefonda iki sütunlu kutuya sığacak kadar küçülür (yarım ekran − boşluklar ≈ 7 karakter genişliği); masaüstünde 27px. */
html[data-aga-shell-theme="light"] body.aga-finance-shell .metric .v{font-size:clamp(16px,calc(6.9vw - 7.5px),27px)!important;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
/* Shared readable metadata and controls; receipt/customer-display previews excluded. */
html[data-aga-shell-theme="light"] body .workspace #mainContent :is(.stats-kpi span,.stats-kpi small,.credit-card header span,.credit-card-stats span,.credit-card-stats b,.credit-overview small,.credit-remove-btn,.menu-category-badge,.menu-status-badge,.menu-product-cell small,.brain-prep-grid footer small,.admin-summary span,.admin-summary small,.stats-range-shortcuts button,.daily-review-head small,.caller-page small,.printer-health-card small,.printer-health-card>div>b,.printer-health-card>div>span,.printer-agent-head small,.printer-agent-head span,.printer-agent-actions button,.printer-route small,.printer-route b,.revenue-privacy-status,.revenue-privacy-card small){font-size:12px!important;line-height:1.5!important}
html[data-aga-shell-theme="light"] body .workspace #mainContent :is(.stats-kpi span,.stats-kpi small,.credit-card header span,.menu-product-cell small,.admin-summary span,.admin-summary small){color:#566779!important}
html[data-aga-shell-theme="light"] body .workspace #mainContent .stats-kpi-icon{background:#e8f0f6!important;color:#204f70!important}
html[data-aga-shell-theme="light"] body .workspace #mainContent :is(.menu-status-badge.active,.revenue-privacy-status.open){background:#e9f5ee!important;color:#216647!important}
html[data-aga-shell-theme="light"] body .workspace #mainContent .state-switch button{font-size:12px!important;min-height:36px}
html[data-aga-shell-theme="light"] body .workspace #mainContent .state-switch button.active{background:#245d83!important;color:#fff!important}
html[data-aga-shell-theme="light"] body .workspace #mainContent :is(.menu-admin-summary span,.menu-admin-summary small,.cd-page-head small,.cd-card header small,.cd-two label>span,.cd-copy-fields label>span,.cd-switch small,.cd-unit-input b,.cd-status){font-size:12px!important;color:#566779!important;line-height:1.5!important}
html[data-aga-shell-theme="light"] body .workspace #mainContent :is(.menu-admin-summary>div,.cd-card){background:#fff!important;border-color:#d6dde4!important;box-shadow:0 2px 5px #18273506!important;border-radius:10px!important}
html[data-aga-shell-theme="light"] body .workspace #mainContent .cd-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
html[data-aga-shell-theme="light"] body .workspace #mainContent .cd-card{min-width:0}
@media(min-width:1800px){html[data-aga-shell-theme="light"] body .workspace #mainContent .cd-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){
 html[data-aga-shell-theme="light"] body .workspace #mainContent .cd-settings-grid{grid-template-columns:1fr!important}
 html[data-aga-shell-theme="light"] body .workspace .brain-section{padding:14px!important}
 html[data-aga-shell-theme="light"] body .workspace .brain-prep-grid{grid-template-columns:1fr!important}
 html[data-aga-shell-theme="light"] body .workspace .brain-section-head{flex-wrap:wrap}
 html[data-aga-shell-theme="light"] body .workspace .brain-head-settings{grid-template-columns:1fr!important}
 html[data-aga-shell-theme="light"] body .workspace .brain-range{flex-wrap:wrap}
 html[data-aga-shell-theme="light"] body .workspace .brain-kpis strong{font-size:24px!important}
}

/* Final native workspace surface alignment. */
html[data-aga-shell-theme="light"] body .panel-shell.polished-tech-theme.daylight-theme :is(.panel-main,.page-content){background:#f1f3f5!important;background-image:none!important;color:#182735!important}
html[data-aga-shell-theme="light"] body .panel-shell.polished-tech-theme.daylight-theme .workspace-card{background:#fff!important;border:1px solid #d6dde4!important;border-radius:10px!important;box-shadow:0 2px 5px #18273506!important}

/* Finance debt status: readable text and distinct semantic surfaces. */
html[data-aga-shell-theme="light"] body.aga-finance-shell .debt-status{font-size:12px!important;font-weight:650!important;line-height:1.3!important;padding:5px 10px!important;min-width:72px;box-sizing:border-box}
html[data-aga-shell-theme="light"] body.aga-finance-shell .debt-status.overdue{background:#fff0f1!important;color:#a62e38!important;border-color:#edc7cb!important}
html[data-aga-shell-theme="light"] body.aga-finance-shell .debt-status.normal{background:#e8f0f6!important;color:#245d83!important;border-color:#c6d8e6!important}
html[data-aga-shell-theme="light"] body.aga-finance-shell .debt-status.closed{background:#f1f3f5!important;color:#566779!important;border-color:#d6dde4!important}

/* Compact daylight ad board; sidebar stays in its own grid column. */
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-center-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:16px!important;align-items:start!important;position:relative}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board :is(.ad-board-card,.ad-tier-body,.ad-seat,.ad-top-rail){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-board-card{width:auto!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-top-rail{position:static!important;inset:auto!important;width:auto!important;grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;align-self:start!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-top-rail>*{width:auto!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;position:static!important;height:auto!important;min-height:0!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-tier{display:grid!important;grid-template-columns:105px minmax(0,1fr)!important;gap:12px!important;padding:0!important;margin:10px 0!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-tier>aside{padding:12px 8px!important;border-radius:8px!important;box-shadow:none!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-tier>aside strong{font-size:24px!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-pair{display:grid!important;grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr)!important;gap:10px!important;align-items:stretch!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-four{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat{background:#fff!important;border:1px solid #d6dde4!important;border-radius:9px!important;overflow:hidden!important;box-shadow:0 1px 3px #18273508!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat>header{padding:8px 10px!important;background:#f8fafb!important;border-bottom:1px solid #e0e6ec!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat>header strong{font-size:13px!important;color:#182735!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-main{padding:10px!important;gap:10px!important;background:#fff!important;min-height:96px!important;box-sizing:border-box}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-copy>strong{font-size:13px!important;color:#182735!important;line-height:1.4!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-copy>small{font-size:11px!important;color:#566779!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-score{padding:6px 0 0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-score span{font-size:11px!important;color:#566779!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-score b{font-size:21px!important;color:#245d83!important;font-variant-numeric:tabular-nums}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-metrics{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;background:#f5f7f9!important;border-top:1px solid #e0e6ec!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-metrics>div{display:block!important;padding:8px 4px!important;background:transparent!important;box-shadow:none!important;border:0!important;border-right:1px solid #e0e6ec!important;min-width:0!important;text-align:center!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-metrics span{font-size:11px!important;color:#566779!important;font-weight:500!important;line-height:1.4!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-metrics b{font-size:13px!important;color:#182735!important;line-height:1.4!important;font-variant-numeric:tabular-nums}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-follow-title{padding:7px 10px!important;font-size:11px!important;color:#425466!important;background:#fff!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-follow-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat>footer{padding:7px 10px!important;font-size:11px!important;background:#f8fafb!important;color:#566779!important;border-top:1px solid #e0e6ec!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat>footer b{font-size:11px!important;color:#425466!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-promotion-gate{background:#f7f5fa!important;border:1px solid #dfd7e8!important;border-radius:8px!important;box-shadow:none!important;padding:12px 8px!important;min-width:0!important}
@media(max-width:1700px){
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-center-layout{grid-template-columns:minmax(0,1fr) 270px!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-tier{grid-template-columns:minmax(0,1fr)!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-tier>aside{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:8px 12px!important;text-align:left!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-tier>aside small{border:0!important;padding:0!important;margin-left:auto}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-pair{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-promotion-gate{grid-column:1/-1!important;grid-row:2!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 12px!important;text-align:left!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-promotion-gate>*{width:auto!important;margin:0!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-promotion-gate>div{border:0!important;padding:0!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:1100px){html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-center-layout{grid-template-columns:minmax(0,1fr)!important}html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-top-rail{grid-column:1!important;grid-row:auto!important}}
@media(max-width:700px){html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board :is(.ad-pair,.ad-four){grid-template-columns:minmax(0,1fr)!important}html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-promotion-gate{grid-row:auto!important;order:2!important}html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-pair>.ad-seat{order:1!important}html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-follow-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

@media(max-width:1700px){html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-promotion-gate{flex-direction:row!important;justify-content:flex-start!important}html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-promotion-gate>*{flex:0 1 auto!important;max-width:none!important;text-align:left!important}}

/* Persistent common page header with a measured grid placeholder. */
#aga-common-pos-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:230!important;box-sizing:border-box!important}
html[data-aga-shell-theme] body.aga-unified-app .aga-common-header-space{min-width:0!important;pointer-events:none}

/* The ad board has one geometry; themes only change surface colors. */
/* Compact daylight ad board; sidebar stays in its own grid column. */
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-center-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:16px!important;align-items:start!important;position:relative;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board :is(.ad-board-card,.ad-tier-body,.ad-seat,.ad-top-rail){min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-board-card{width:auto!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-top-rail{position:static!important;inset:auto!important;width:auto!important;grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;align-self:start!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-top-rail>*{width:auto!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;position:static!important;height:auto!important;min-height:0!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-tier{display:grid!important;grid-template-columns:105px minmax(0,1fr)!important;gap:12px!important;padding:0!important;margin:10px 0!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-tier>aside{padding:12px 8px!important;border-radius:8px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-tier>aside strong{font-size:24px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-pair{display:grid!important;grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr)!important;gap:10px!important;align-items:stretch!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-four{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat{border-radius:9px!important;overflow:hidden!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat>header{padding:8px 10px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat>header strong{font-size:13px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-main{padding:10px!important;gap:10px!important;min-height:96px!important;box-sizing:border-box;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-copy>strong{font-size:13px!important;line-height:1.4!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-copy>small{font-size:11px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-score{padding:6px 0 0!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-score span{font-size:11px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-score b{font-size:21px!important;font-variant-numeric:tabular-nums;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-metrics{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-metrics>div{display:block!important;padding:8px 4px!important;min-width:0!important;text-align:center!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-metrics span{font-size:11px!important;font-weight:500!important;line-height:1.4!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-metrics b{font-size:13px!important;line-height:1.4!important;font-variant-numeric:tabular-nums;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-follow-title{padding:7px 10px!important;font-size:11px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-follow-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat>footer{padding:7px 10px!important;font-size:11px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat>footer b{font-size:11px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-promotion-gate{border-radius:8px!important;padding:12px 8px!important;min-width:0!important;}
@media(max-width:1700px){
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-center-layout{grid-template-columns:minmax(0,1fr) 270px!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-tier{grid-template-columns:minmax(0,1fr)!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-tier>aside{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:8px 12px!important;text-align:left!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-tier>aside small{padding:0!important;margin-left:auto;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-pair{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-promotion-gate{grid-column:1/-1!important;grid-row:2!important;display:flex!important;align-items:center!important;gap:8px 12px!important;text-align:left!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-promotion-gate>*{width:auto!important;margin:0!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-promotion-gate>div{padding:0!important;}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-four{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:1100px){html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-center-layout{grid-template-columns:minmax(0,1fr)!important;}html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-top-rail{grid-column:1!important;grid-row:auto!important;}}
@media(max-width:700px){html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board :is(.ad-pair,.ad-four){grid-template-columns:minmax(0,1fr)!important;}html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-promotion-gate{grid-row:auto!important;order:2!important;}html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-pair>.ad-seat{order:1!important;}html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;}html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-follow-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}

@media(max-width:1700px){html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-promotion-gate{flex-direction:row!important;justify-content:flex-start!important;}html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-promotion-gate>*{flex:0 1 auto!important;max-width:none!important;text-align:left!important;}}


html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-score{display:block!important;padding:8px 10px!important;margin-top:6px!important;border:1px solid!important;border-radius:7px!important;box-sizing:border-box!important}
html[data-aga-shell-theme="light"] body .panel-shell.daylight-theme .aga-seat-board .ad-seat-score{background:#edf4f9!important;border-color:#cddde9!important;box-shadow:none!important}
html[data-aga-shell-theme="dark"] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-score{background:#1f1f1f!important;border-color:#404040!important;box-shadow:none!important}

html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board{font-family:Inter,"Segoe UI",system-ui,sans-serif!important}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board *{font-family:inherit!important}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat>footer{border-top-width:1px!important;border-top-style:solid!important}
html[data-aga-shell-theme="dark"] body .panel-shell .aga-seat-board :is(.ad-seat>footer,.ad-seat-metrics,.ad-seat-metrics>div){border-color:#404040!important}

html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-metrics{border-width:1px 0 0!important;border-style:solid!important}
html[data-aga-shell-theme] body .panel-shell:is(.daylight-theme,:not(.daylight-theme)) .aga-seat-board .ad-seat-metrics>div{border-width:0 1px 0 0!important;border-style:solid!important}

/* Night audit: matched component geometry and restrained readable surfaces. */


/* Ağa daylight system · 2026-10-10. Shared POS / AI / Finance; light mode only. */
html:root:is([data-aga-shell-theme="dark"],[data-aga-unified-theme="dark"]){}
html[data-aga-shell-theme="dark"] body :is(.workspace,.panel-main,.page-content){}
html[data-aga-shell-theme="dark"] body :is(.top,#aga-common-pos-header,.topbar){}
html[data-aga-shell-theme="dark"] body :is(.workspace,.panel-shell,.aga-standalone-workspace){font-family:Inter,"Segoe UI",system-ui,sans-serif!important;}
html[data-aga-shell-theme="dark"] body :is(button,input,select,textarea){font-family:inherit;}
html[data-aga-shell-theme="dark"] body .aga-local-link{font-size:14px;font-weight:500;border-radius:7px;}
html[data-aga-shell-theme="dark"] body .aga-local-link.active{font-weight:700;}
html[data-aga-shell-theme="dark"] body :is(.brand strong,.section-head strong,.brain-section-head h3,.admin-card h3){}
html[data-aga-shell-theme="dark"] body .workspace :is(.main,.ticket,.order-menu-panel,.admin-card,.data-section,.history-table-panel,.print-card,.settings-section-v2,.settings-box,.online-card-v2,.customer-card,.credit-card,.brain-section,.brain-control){border-radius:12px!important;}
html[data-aga-shell-theme="dark"] body .workspace :is(.stats-kpi,.report-primary-card,.report-mini-card,.method-card,.brain-kpis article,.brain-today>div){border-radius:10px!important;}
html[data-aga-shell-theme="dark"] body .workspace :is(.stats-kpi strong,.brain-kpis strong,.brain-today strong,.credit-card-stats b){font-variant-numeric:tabular-nums;}
html[data-aga-shell-theme="dark"] body .workspace :is(.data-table,.history-table){}
html[data-aga-shell-theme="dark"] body .workspace :is(.data-table th,.history-table th){font-size:12px!important;font-weight:650;}
html[data-aga-shell-theme="dark"] body .workspace :is(.data-table td,.history-table td){font-size:14px;}
html[data-aga-shell-theme="dark"] body .workspace :is(.data-table tbody tr:hover,.history-table tbody tr:hover){}

html[data-aga-shell-theme="dark"] body :is(.workspace,.ui-card) :is(.danger-btn,.mini-btn.danger,.data-table button.danger,.ui-danger,.customer-card-danger button,.cancel-manager-whole-icon){}
html[data-aga-shell-theme="dark"] body :is(.workspace,.ui-card) :is(.status.OPEN,.status-pill.NEW,.status-pill.PREPARING,.status-pill.ACCEPTED,.line-name em,.data-table button.warn){}
html[data-aga-shell-theme="dark"] body .workspace :is(.status.READY,.status-pill.READY,.status-pill.DELIVERED,.brain-trend.good,.online-engine:not(.error):not(.wait)){}
html[data-aga-shell-theme="dark"] body .workspace :is(.status-pill.ON_THE_WAY,.status.PREPARING){}
html[data-aga-shell-theme="dark"] body .workspace :is(.brain-trend.bad,.whatsapp-live-connection.error,.caller-global-badge){}
html[data-aga-shell-theme="dark"] body .workspace :is(.kitchen-card,.history-card,.order-toolbar){}
html[data-aga-shell-theme="dark"] body .workspace :is(.product:hover,.product:focus-visible){}
html[data-aga-shell-theme="dark"] body .workspace .table.EMPTY{}
html[data-aga-shell-theme="dark"] body .workspace .table.OPEN{}
html[data-aga-shell-theme="dark"] body .workspace .table.PREPARING{}
html[data-aga-shell-theme="dark"] body .workspace .table.READY{}
html[data-aga-shell-theme="dark"] body .workspace .table :is(strong,span,b,em){}
html[data-aga-shell-theme="dark"] body .workspace .table em{}
html[data-aga-shell-theme="dark"] body .workspace .brain-page{gap:20px;}
html[data-aga-shell-theme="dark"] body .workspace .brain-hero{border-radius:12px!important;padding:22px 24px;}
html[data-aga-shell-theme="dark"] body .workspace .brain-hero h2{font-size:28px;letter-spacing:-.5px;}
html[data-aga-shell-theme="dark"] body .workspace .brain-hero p{font-size:14px;line-height:1.6;}
html[data-aga-shell-theme="dark"] body .workspace :is(.brain-hero small,.brain-section-head small,.brain-period-control>small){font-size:12px!important;letter-spacing:.06em!important;font-weight:650!important;}
html[data-aga-shell-theme="dark"] body .workspace .brain-section{padding:20px!important;}
html[data-aga-shell-theme="dark"] body .workspace .brain-section-head{padding-bottom:14px;margin-bottom:16px;gap:16px;}
html[data-aga-shell-theme="dark"] body .workspace .brain-section-head h3{font-size:20px!important;font-weight:700;letter-spacing:-.25px;}
html[data-aga-shell-theme="dark"] body .workspace :is(.brain-range button,.brain-refresh,.brain-prep-toggle button,.brain-alarm-modes button,.brain-compare-modes button){font-size:12px!important;min-height:36px!important;padding:8px 12px!important;border-radius:6px!important;}
html[data-aga-shell-theme="dark"] body .workspace :is(.brain-range button.active,.brain-refresh,.brain-prep-toggle button.active,.brain-alarm-modes button.active,.brain-compare-modes button.active){}
html[data-aga-shell-theme="dark"] body .workspace :is(.brain-prep-toggle,.brain-alarm-modes,.brain-compare-modes){border-radius:8px!important;padding:3px!important;}
html[data-aga-shell-theme="dark"] body .workspace :is(.brain-head-settings small,.brain-head-settings .brain-alarm-control>span,.brain-head-settings .brain-compare-control>span,.brain-pulse-date,.brain-prep-controls>span){font-size:12px!important;line-height:1.5;}
html[data-aga-shell-theme="dark"] body .workspace .brain-kpis article{padding:18px!important;}
html[data-aga-shell-theme="dark"] body .workspace .brain-kpis article.brain-primary{}
html[data-aga-shell-theme="dark"] body .workspace .brain-kpis strong{font-size:28px!important;letter-spacing:-.6px;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-summary{gap:12px;margin-bottom:18px;}
html[data-aga-shell-theme="dark"] body .workspace :is(.brain-prep-summary>div,.brain-table-flow>div,.brain-delivery>div,.brain-customer-grid>div){border-radius:8px!important;padding:12px 14px!important;}
html[data-aga-shell-theme="dark"] body .workspace :is(.brain-prep-summary span,.brain-table-flow span,.brain-delivery span,.brain-customer-grid span){font-size:12px!important;line-height:1.5;}
html[data-aga-shell-theme="dark"] body .workspace :is(.brain-prep-summary strong,.brain-table-flow strong,.brain-delivery strong,.brain-customer-grid strong){font-size:15px!important;margin-top:5px;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-grid{grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr))!important;gap:14px!important;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-grid article{padding:16px!important;border-radius:9px!important;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-grid header>strong{font-size:15px!important;font-weight:700;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-grid .confidence{font-size:11px!important;padding:4px 8px!important;font-weight:650!important;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-grid .confidence.yüksek{}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-grid .confidence.orta{}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-grid .confidence.düşük{}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-forecast{margin:16px 0!important;gap:10px;align-items:center;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-forecast b{font-size:32px!important;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.7px;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-forecast small{font-size:12px!important;line-height:1.45;max-width:150px;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-history{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px!important;border-radius:6px;padding:12px!important;margin:0 0 12px!important;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-history>span{grid-column:1/-1;font-size:11px!important;font-weight:650!important;letter-spacing:.04em;margin-bottom:3px;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-history small{display:flex;justify-content:space-between;gap:5px;font-size:12px!important;line-height:1.4;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-history small b{font-weight:650;font-variant-numeric:tabular-nums;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-grid footer{font-size:12px!important;line-height:1.6;padding-top:10px!important;}
html[data-aga-shell-theme="dark"] body .workspace .brain-prep-grid footer :is(b,em){font-size:12px!important;}
html[data-aga-shell-theme="dark"] body .workspace :is(.brain-prep-note,.brain-foot){font-size:12px!important;line-height:1.6!important;}
html[data-aga-shell-theme="dark"] body .workspace .brain-grid{align-items:start!important;}
html[data-aga-shell-theme="dark"] body .workspace .brain-insight{padding:14px!important;border-radius:8px;}
html[data-aga-shell-theme="dark"] body .workspace .brain-insight>b{}
html[data-aga-shell-theme="dark"] body .workspace .brain-insight strong{}
html[data-aga-shell-theme="dark"] body .workspace .brain-channel>div{padding:12px 0;}
/* Native AI and Finance components consume the same surface hierarchy. */
html[data-aga-shell-theme="dark"] body .panel-shell.polished-tech-theme.night-theme{}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme.overview-intellio-theme .page-content :is(.overview-kpi,.overview-summary-card,.overview-focus-card,.overview-side-card){border-radius:10px!important;}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme.overview-intellio-theme .page-content :is(.overview-kpi strong,.overview-summary-card h3,.overview-side-card h3,.overview-focus-card h2){}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme.overview-intellio-theme .page-content :is(.overview-kpi small,.overview-kpi>div>span,.overview-summary-card p,.overview-summary-card small){font-size:12px!important;line-height:1.5;}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme.overview-intellio-theme .overview-kpis-primary{gap:12px!important;}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme.overview-intellio-theme .overview-summary-card{padding:16px!important;}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme :is(.card,.panel,.summary-card,.stat-card,.metric-card,.knowledge-card,.crm-profile,.knowledge-catalog,.google-review-card){border-radius:12px!important;}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme :is(.page-heading h1,.page-heading h2,.summary-head strong,.pane-title){}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme :is(.page-heading p,.eyebrow,.pane-label,.message-head small,.summary-head small){}
html[data-aga-shell-theme="dark"] body.aga-finance-shell :is(.card,.metric,.daycard,.tablewrap){border-radius:10px!important;}
html[data-aga-shell-theme="dark"] body.aga-finance-shell :is(.metric .k,.metric .sub,.tbl th,.daylabel,.field label){font-size:12px!important;}
html[data-aga-shell-theme="dark"] body.aga-finance-shell .metric{text-align:left!important;padding:18px!important;}
html[data-aga-shell-theme="dark"] body.aga-finance-shell .metric .v{font-size:clamp(16px,calc(6.9vw - 7.5px),27px)!important;letter-spacing:-.5px;font-variant-numeric:tabular-nums;}
/* Shared readable metadata and controls; receipt/customer-display previews excluded. */
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.stats-kpi span,.stats-kpi small,.credit-card header span,.credit-card-stats span,.credit-card-stats b,.credit-overview small,.credit-remove-btn,.menu-category-badge,.menu-status-badge,.menu-product-cell small,.brain-prep-grid footer small,.admin-summary span,.admin-summary small,.stats-range-shortcuts button,.daily-review-head small,.caller-page small,.printer-health-card small,.printer-health-card>div>b,.printer-health-card>div>span,.printer-agent-head small,.printer-agent-head span,.printer-agent-actions button,.printer-route small,.printer-route b,.revenue-privacy-status,.revenue-privacy-card small){font-size:12px!important;line-height:1.5!important;}
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.stats-kpi span,.stats-kpi small,.credit-card header span,.menu-product-cell small,.admin-summary span,.admin-summary small){}
html[data-aga-shell-theme="dark"] body .workspace #mainContent .stats-kpi-icon{}
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.menu-status-badge.active,.revenue-privacy-status.open){}
html[data-aga-shell-theme="dark"] body .workspace #mainContent .state-switch button{font-size:12px!important;min-height:36px;}
html[data-aga-shell-theme="dark"] body .workspace #mainContent .state-switch button.active{}
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.menu-admin-summary span,.menu-admin-summary small,.cd-page-head small,.cd-card header small,.cd-two label>span,.cd-copy-fields label>span,.cd-switch small,.cd-unit-input b,.cd-status){font-size:12px!important;line-height:1.5!important;}
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.menu-admin-summary>div,.cd-card){border-radius:10px!important;}
html[data-aga-shell-theme="dark"] body .workspace #mainContent .cd-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
html[data-aga-shell-theme="dark"] body .workspace #mainContent .cd-card{min-width:0;}
@media(min-width:1800px){html[data-aga-shell-theme="dark"] body .workspace #mainContent .cd-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:760px){
 html[data-aga-shell-theme="dark"] body .workspace #mainContent .cd-settings-grid{grid-template-columns:1fr!important;}
 html[data-aga-shell-theme="dark"] body .workspace .brain-section{padding:14px!important;}
 html[data-aga-shell-theme="dark"] body .workspace .brain-prep-grid{grid-template-columns:1fr!important;}
 html[data-aga-shell-theme="dark"] body .workspace .brain-section-head{flex-wrap:wrap;}
 html[data-aga-shell-theme="dark"] body .workspace .brain-head-settings{grid-template-columns:1fr!important;}
 html[data-aga-shell-theme="dark"] body .workspace .brain-range{flex-wrap:wrap;}
 html[data-aga-shell-theme="dark"] body .workspace .brain-kpis strong{font-size:24px!important;}
}

/* Final native workspace surface alignment. */
html[data-aga-shell-theme="dark"] body .panel-shell.polished-tech-theme.night-theme :is(.panel-main,.page-content){}
html[data-aga-shell-theme="dark"] body .panel-shell.polished-tech-theme.night-theme .workspace-card{border-radius:10px!important;}

html:root[data-aga-shell-theme="dark"]{--aga-nav-bg:#262626!important;--aga-nav-text:#e5e5e5!important;--aga-nav-muted:#a3a3a3!important;--aga-nav-border:#404040!important;--aga-nav-hover:#333333!important;--aga-nav-active:#383838!important;--aga-nav-active-border:#525252!important;--aga-nav-accent:#6aa9e3;--aga-nav-mod-bg:#383838;--aga-nav-mod-fg:#e5e5e5;--aga-shell-top:#262626!important}
html[data-aga-shell-theme="dark"]{background:#171717!important}
html[data-aga-shell-theme="dark"] body{background:#171717!important;color:#e5e5e5;--ink:#e5e5e5;--muted:#d4d4d4;--surface:#262626;--surface2:#2e2e2e;--line:#404040}
html[data-aga-shell-theme="dark"] body .workspace{background:#171717!important;color:#e5e5e5}
html[data-aga-shell-theme="dark"] body :is(.panel-main,.page-content){background:#171717!important;color:#e5e5e5}
html[data-aga-shell-theme="dark"] body .panel-shell.polished-tech-theme.night-theme{--pt-bg:#171717!important;--pt-bg-deep:#171717!important;--pt-surface:#262626!important;--pt-surface-raised:#2e2e2e!important;--pt-surface-soft:#2e2e2e!important;--pt-text:#e5e5e5!important;--pt-text-soft:#d4d4d4!important;--pt-muted:#d4d4d4!important;--aga-text:#e5e5e5!important;--aga-muted:#d4d4d4!important;background:#171717!important}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme :is(.overview-kpi,.overview-summary-card,.overview-focus-card,.overview-side-card,.workspace-card,.google-review-card,.knowledge-card,.card,.panel){background:#262626!important;background-image:none!important;border-color:#404040!important;box-shadow:0 2px 5px #0002!important;color:#e5e5e5!important}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme :is(.overview-kpi strong,.overview-summary-card h3,.overview-side-card h3,.page-heading h1,.page-heading h2,.pane-title){color:#e5e5e5!important}
html[data-aga-shell-theme="dark"] body .panel-shell.night-theme :is(.overview-kpi small,.overview-summary-card p,.overview-summary-card small,.page-heading p,.studio-panel-head>div>span){color:#d4d4d4!important}
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.brain-section,.brain-prep-grid article,.credit-card,.stats-kpi,.cd-card,.menu-admin-summary>div){background:#262626!important;background-image:none!important;border-color:#404040!important;box-shadow:0 2px 5px #0002!important}
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.brain-prep-history,.brain-prep-summary>div,.brain-insight){background:#2e2e2e!important;border-color:#404040!important}
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.brain-prep-grid header>strong,.brain-prep-history small b,.brain-kpis strong,.brain-prep-summary strong){color:#e5e5e5!important}
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.brain-prep-history small,.brain-prep-forecast small,.brain-prep-grid footer,.brain-prep-grid footer *, .brain-prep-note,.brain-prep-summary span,.brain-foot,.stats-kpi span,.stats-kpi small,.menu-product-cell small){color:#d4d4d4!important}
html[data-aga-shell-theme="dark"] body .workspace #mainContent .brain-prep-forecast b{color:#d4d4d4!important}
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.brain-range button.active,.brain-prep-toggle button.active,.brain-alarm-mode button.active,.brain-compare-mode button.active,.state-switch button.active){background:#066fd1!important;color:#fff!important;border-color:#737373!important}
html[data-aga-shell-theme="dark"] body.aga-finance-shell :is(.card,.metric,.daycard,.tablewrap){background:#262626!important;background-image:none!important;border-color:var(--fin-tone-b,#404040)!important;box-shadow:0 2px 5px #0002!important}
html[data-aga-shell-theme="dark"] body.aga-finance-shell :is(.cardhead,.tbl th){background:#2e2e2e!important;color:#e5e5e5!important;border-color:#404040!important}
html[data-aga-shell-theme="dark"] body.aga-finance-shell :is(.metric .v,.cardhead strong,.cardhead h2){color:var(--fin-tone,#e5e5e5)!important}
html[data-aga-shell-theme="dark"] body.aga-finance-shell :is(.metric .sub,.footnote,.field label){color:#d4d4d4!important}
html[data-aga-shell-theme="dark"] body.aga-finance-shell .metric .k{color:var(--fin-tone,#d4d4d4)!important}
html[data-aga-shell-theme="dark"] body.aga-finance-shell .footnote{font-size:12px!important}
html[data-aga-shell-theme="dark"] body.aga-finance-shell .debt-status.overdue{background:#42252f!important;color:#ffb7be!important;border-color:#86505c!important}
html[data-aga-shell-theme="dark"] body.aga-finance-shell .debt-status.normal{background:#404040!important;color:#d4d4d4!important;border-color:#737373!important}
html[data-aga-shell-theme="dark"] body.aga-finance-shell .debt-status.closed{background:#333333!important;color:#d4d4d4!important;border-color:#525252!important}
html[data-aga-shell-theme="dark"] body :is(.workspace #mainContent, .panel-shell.night-theme .page-content, .aga-standalone-workspace) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#1f1f1f!important;color:#e5e5e5!important;border-color:#525252!important}
html[data-aga-shell-theme="dark"] body :is(.workspace #mainContent, .panel-shell.night-theme .page-content, .aga-standalone-workspace) :is(input,textarea)::placeholder{color:#a3a3a3!important;opacity:1!important}

html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.brain-section,.brain-prep-grid article,.brain-kpis article,.credit-card,.stats-kpi,.cd-card){border:1px solid #404040!important}
html[data-aga-shell-theme="dark"] body .workspace #mainContent :is(.brain-alarm-modes button.active,.brain-compare-modes button.active){background:#066fd1!important;color:#fff!important;border-color:#737373!important}
html[data-aga-shell-theme="dark"] body .workspace #mainContent .brain-prep-grid .confidence{background:#404040!important;color:#e5e5e5!important;border:1px solid #525252}
html[data-aga-shell-theme="dark"] body .workspace #mainContent .brain-prep-grid .confidence.yüksek{background:#2e2e2e!important;color:#a9dfc3!important;border-color:#3e6b59}
html[data-aga-shell-theme="dark"] body .workspace #mainContent .brain-prep-grid .confidence.orta{background:#45391f!important;color:#efce89!important;border-color:#78643b}
html[data-aga-shell-theme="dark"] body .workspace #mainContent .brain-prep-grid .confidence.düşük{background:#42252f!important;color:#ffb7be!important;border-color:#86505c}





/* AGA_DOCK_NAV_20261014 — yalnızca html.aga-dock-nav (isteğe bağlı mod, ≥900px) altında etkilidir. POS, AI ve Finans düzenleri. */
#aga-dock{display:none}
html.aga-dock-nav .pos-shell{grid-template-columns:minmax(0,1fr)!important}
html.aga-dock-nav body:not(.sidebar-open) #appSidebar.aga-unified-nav{box-shadow:none!important;visibility:hidden!important}
/* Dock solda sabit, üst barın hemen altından başlar; üst bar tam genişlik, sayfa içeriği dock kadar sağdan başlar. */
html.aga-dock-nav{--aga-dock-space:108px;--aga-dock-top:68px}
html.aga-dock-nav :is(.panel-main,.aga-standalone-workspace){padding-left:var(--aga-dock-space)!important;box-sizing:border-box}
/* Panel sayfalarının içerik alanı (.page-content) kendi 26px sol boşluğunu taşır; içerik POS'taki gibi dock'a 8px kalır. */
html.aga-dock-nav .panel-main:has(>.page-content){padding-left:calc(var(--aga-dock-space) - 26px)!important}
/* Finans: içerik (.main) kendi 28px sol boşluğunu taşır. */
html.aga-dock-nav body.aga-finance-shell .aga-standalone-workspace{padding-left:calc(var(--aga-dock-space) - 28px)!important}
/* İçerik her sayfada dock'a 8px. Genel görünümde iç boşlukla: sayfa arka planı (ör. Masalar) ekranın sol kenarına kadar uzanır.
   Sipariş ekranında POS'un iç boşluğu sabit (!important) olduğundan dış boşlukla. */
html.aga-dock-nav body.overview-mode .workspace>.app{padding-left:var(--aga-dock-space)}
html.aga-dock-nav body:not(.overview-mode) .workspace>.app{margin-left:calc(var(--aga-dock-space) - 12px)}
html.aga-dock-nav body :is(.aga-unified-menu-button,.aga-standalone-menu){display:none!important}

html.aga-dock-nav #aga-dock{display:flex;align-items:center;gap:4px;position:fixed;flex-direction:column;justify-content:flex-start;left:0;top:var(--aga-dock-top);bottom:0;width:100px;z-index:2147481000;max-height:calc(100vh - var(--aga-dock-top));box-sizing:border-box;padding:6px;border-radius:0;background:var(--aga-color-surface-raised,var(--aga-nav-bg,#fff));color:var(--aga-nav-text,#e6eeec);border:0;border-right:1px solid var(--aga-color-border,var(--aga-nav-border,rgba(0,0,0,.08)));box-shadow:none;font:600 12.5px/1.2 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
/* POS penceresi (Yeni Paket, ödeme vb.) açıkken dock gizlenir; pencere ortalı olduğu için dar ekranda dock'un altında kalmasın. */
html.aga-dock-nav body:has(#loginOverlay:not(.hidden)) #aga-dock,html.aga-dock-nav body.sidebar-open #aga-dock,html.aga-dock-nav body:has(#uiModal:not(.hidden)) #aga-dock{display:none!important}
#aga-dock .aga-dock-items{display:flex;flex-direction:column;gap:2px;flex:none}
#aga-dock .aga-dock-btn{position:relative;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:86px;height:clamp(44px,calc((100vh - 178px) / 8 - 2px),62px);padding:0 4px;margin:0;border:0;border-radius:13px;background:transparent;color:var(--aga-nav-muted,#8fa29e);font:inherit;cursor:pointer;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
#aga-dock .aga-dock-btn:hover{background:var(--aga-nav-hover,#22322f);color:var(--aga-nav-text,#e6eeec)}
#aga-dock .aga-dock-btn.active{background:var(--aga-nav-active,#1d4a42);color:var(--aga-nav-text,#e6eeec)}
#aga-dock .aga-dock-btn.aga-dock-new:not(.active){color:var(--aga-nav-accent,#34b89f)}
#aga-dock .aga-dock-badge{position:absolute;top:-7px;left:calc(100% - 4px);min-width:17px;height:17px;padding:0 5px;border-radius:9px;background:#e5484d;color:#fff;font-size:10.5px;font-weight:700;line-height:17px;text-align:center;box-sizing:border-box}
#aga-dock .aga-dock-btn:focus-visible{outline:2px solid var(--aga-nav-accent,#34b89f);outline-offset:2px}
#aga-dock [hidden]{display:none!important}
#aga-dock .aga-dock-ic{position:relative;display:grid;place-items:center}
#aga-dock .aga-dock-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#aga-dock .aga-dock-sep{flex:none;align-self:stretch;height:1px;margin:4px 8px;background:var(--aga-nav-border,rgba(255,255,255,.12))}

#aga-dock .aga-dock-foot{margin-top:auto}
/* Modüller: açık modülün sayfaları düğmesinin altında; sığmazsa yalnızca bu bölüm kayar, üst ve alt düğmeler yerinde kalır. */
#aga-dock .aga-dock-mods{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
/* Açık modül hafif vurgu renginde: hangi modülün açık olduğu ve sayfaların ona ait olduğu ilk bakışta görünür. */
#aga-dock .aga-dock-open{flex:none;border-radius:13px;background:color-mix(in srgb,var(--aga-nav-accent,#34b89f) 16%,var(--aga-nav-bg,#14211f));padding-bottom:6px}
#aga-dock .aga-dock-open>.aga-dock-btn:not(.active){color:var(--aga-nav-text,#e6eeec)}
#aga-dock .aga-dock-pages{display:flex;flex-direction:column;gap:5px;margin:2px 5px 0}
/* Modül sayfa kutusu (dock ve telefon menüsü): ikon üstte, ad altta; açık modülün tonunda. */
.aga-page-tile{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 3px;border:1px solid color-mix(in srgb,var(--aga-nav-accent,#34b89f) 30%,var(--aga-nav-bg,#14211f));border-radius:10px;background:color-mix(in srgb,var(--aga-nav-accent,#34b89f) 7%,var(--aga-nav-bg,#14211f));font:500 11px/1.25 Inter,system-ui,sans-serif;text-align:center;text-decoration:none;color:var(--aga-nav-text,#e6eeec);overflow-wrap:anywhere}
.aga-page-tile:hover{background:color-mix(in srgb,var(--aga-nav-accent,#34b89f) 24%,var(--aga-nav-bg,#14211f))}
.aga-page-tile.active{background:var(--aga-nav-accent,#34b89f);border-color:var(--aga-nav-accent,#34b89f);color:var(--aga-nav-bg,#14211f);font-weight:700}
.aga-page-tile:focus-visible{outline:2px solid var(--aga-nav-accent,#34b89f);outline-offset:1px}

/* AGA_SINGLE_SHELL_20261015: modüllerin eski üst barı ilk boyamada görünmez (yeri korunur, kayma olmaz);
   ortak platform başlığı gelince navigation.js onu kaldırır. Kabuk 5 sn'de gelmezse güvenlik için geri görünür. */
@keyframes agaShellReveal{to{visibility:visible}}


