/*
  MVP31L2_FIX9 - Premium V2 Safe Theme
  - Sadece body[data-theme-preset="premium_v2"] aktifken çalışır.
  - Eski tema/DOM/JS davranışlarına dokunmaz.
  - Geri dönüş: Admin > Genel/Tema > Executive Blue veya rollback SQL.
*/
body[data-theme-preset="premium_v2"]{
  --pv2-primary: var(--brand-primary,#0b5cff);
  --pv2-secondary: var(--brand-secondary,#46b8ff);
  --pv2-accent: var(--brand-accent,#22c55e);
  --pv2-nav: var(--brand-nav,#071a3f);
  --pv2-bg: #f3f7fb;
  --pv2-panel: rgba(255,255,255,.94);
  --pv2-line: rgba(15,23,42,.10);
  --pv2-ink: #0f172a;
  --pv2-muted: #64748b;
  --pv2-shadow: 0 18px 46px rgba(6,26,64,.10);
  --pv2-shadow-soft: 0 10px 26px rgba(6,26,64,.07);
  background:
    radial-gradient(circle at 82% -10%, rgba(var(--brand-accent-rgb,70,184,255),.22), transparent 34%),
    linear-gradient(180deg,#f8fbff 0%,var(--pv2-bg) 42%,#eef4fa 100%)!important;
  color: var(--pv2-ink)!important;
  font-family:"Inter","Segoe UI",Arial,sans-serif!important;
}
body[data-theme-preset="premium_v2"] #appRoot.page{
  background: transparent!important;
  min-height:100vh;
}
body[data-theme-preset="premium_v2"] .identity-header{
  height:auto!important;
  min-height:86px!important;
  display:grid!important;
  grid-template-columns:minmax(270px,.9fr) minmax(620px,1.9fr)!important;
  gap:18px!important;
  align-items:center!important;
  margin:0!important;
  padding:14px 22px 12px!important;
  border:0!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.92))!important;
  box-shadow:0 1px 0 rgba(15,23,42,.06),0 18px 48px rgba(15,35,80,.08)!important;
  position:relative!important;
  z-index:20!important;
}
body[data-theme-preset="premium_v2"] .logo-area{
  gap:14px!important;
  min-width:0!important;
}
body[data-theme-preset="premium_v2"] .logo-mark{
  width:54px!important;
  height:54px!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,var(--pv2-primary),#062a78 78%)!important;
  color:#fff!important;
  font-size:15px!important;
  box-shadow:0 16px 30px rgba(var(--brand-primary-rgb,11,92,255),.26)!important;
}
body[data-theme-preset="premium_v2"] .logo-title{
  font-size:26px!important;
  color:var(--pv2-primary)!important;
  letter-spacing:-.045em!important;
}
body[data-theme-preset="premium_v2"] .logo-subtitle{
  color:#536273!important;
  font-size:13px!important;
  font-weight:800!important;
}
body[data-theme-preset="premium_v2"] .right-widgets{
  display:grid!important;
  grid-template-columns:minmax(150px,.72fr) minmax(130px,.66fr) minmax(260px,1.22fr) minmax(210px,1fr)!important;
  gap:12px!important;
  align-items:stretch!important;
}
body[data-theme-preset="premium_v2"] .exchange-widget,
body[data-theme-preset="premium_v2"] .cart-widget,
body[data-theme-preset="premium_v2"] .rep-widget,
body[data-theme-preset="premium_v2"] .representative-widget{
  min-height:62px!important;
  height:auto!important;
  border:1px solid rgba(15,23,42,.10)!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#fff,rgba(248,251,255,.88))!important;
  box-shadow:var(--pv2-shadow-soft)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:9px 12px!important;
  text-align:center!important;
}
body[data-theme-preset="premium_v2"] .representative-widget{
  background:linear-gradient(135deg,var(--pv2-primary),var(--pv2-nav))!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.12)!important;
}
body[data-theme-preset="premium_v2"] .exchange-widget span,
body[data-theme-preset="premium_v2"] .cart-widget span,
body[data-theme-preset="premium_v2"] .rep-widget span,
body[data-theme-preset="premium_v2"] .representative-widget span{
  color:#6b7890!important;
  font-size:11px!important;
  font-weight:850!important;
  text-transform:none!important;
}
body[data-theme-preset="premium_v2"] .representative-widget span,
body[data-theme-preset="premium_v2"] .representative-widget small{color:rgba(255,255,255,.72)!important;}
body[data-theme-preset="premium_v2"] .exchange-widget strong,
body[data-theme-preset="premium_v2"] .cart-widget strong,
body[data-theme-preset="premium_v2"] .rep-widget strong,
body[data-theme-preset="premium_v2"] .representative-widget strong{
  color:#0f172a!important;
  font-size:14px!important;
  letter-spacing:.01em!important;
  margin-top:2px!important;
}
body[data-theme-preset="premium_v2"] .representative-widget strong{color:#fff!important;font-size:15px!important;}
body[data-theme-preset="premium_v2"] .balance-line{color:#047857!important;font-weight:900!important;}
body[data-theme-preset="premium_v2"] .tile-menu{
  height:62px!important;
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(86px,1fr))!important;
  overflow:visible!important;
  background:linear-gradient(90deg,#071a3f 0%,#0a2a73 52%,#063aa8 100%)!important;
  border:0!important;
  box-shadow:0 18px 38px rgba(5,22,55,.16)!important;
  padding:0 16px!important;
  gap:0!important;
}
body[data-theme-preset="premium_v2"] .tile{
  height:62px!important;
  border:0!important;
  border-left:1px solid rgba(255,255,255,.08)!important;
  background:transparent!important;
  color:rgba(255,255,255,.86)!important;
  gap:4px!important;
  transition:background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease!important;
}
body[data-theme-preset="premium_v2"] .tile span{font-size:18px!important;line-height:1!important;opacity:.92!important;}
body[data-theme-preset="premium_v2"] .tile b{font-size:12px!important;font-weight:900!important;}
body[data-theme-preset="premium_v2"] .tile:hover{background:rgba(255,255,255,.08)!important;transform:none!important;}
body[data-theme-preset="premium_v2"] .tile.active,
body[data-theme-preset="premium_v2"] .tile.active2{
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06))!important;
  color:#fff!important;
  box-shadow:inset 0 -3px 0 rgba(255,255,255,.78)!important;
}
body[data-theme-preset="premium_v2"] .content-wrap{padding:16px 18px 0!important;}
body[data-theme-preset="premium_v2"] .search-board{
  border:1px solid var(--pv2-line)!important;
  border-radius:18px!important;
  background:var(--pv2-panel)!important;
  box-shadow:var(--pv2-shadow)!important;
  overflow:hidden!important;
  margin-bottom:16px!important;
}
body[data-theme-preset="premium_v2"] .board-title{
  display:none!important;
}
body[data-theme-preset="premium_v2"] .board-grid{
  display:grid!important;
  grid-template-columns:minmax(380px,.82fr) minmax(660px,1.7fr)!important;
  gap:16px!important;
  padding:14px!important;
}
body[data-theme-preset="premium_v2"] .filter-matrix{
  display:grid!important;
  grid-template-columns:140px minmax(0,1fr)!important;
  border:0!important;
  gap:10px 12px!important;
  align-content:start!important;
}
body[data-theme-preset="premium_v2"] .filter-row{display:contents!important;}
body[data-theme-preset="premium_v2"] .filter-row label{
  background:transparent!important;
  color:#1e293b!important;
  border:0!important;
  text-align:left!important;
  padding:10px 0 0 6px!important;
  font-size:12px!important;
  font-weight:900!important;
}
body[data-theme-preset="premium_v2"] .filter-row select,
body[data-theme-preset="premium_v2"] .general-search input,
body[data-theme-preset="premium_v2"] .general-search select,
body[data-theme-preset="premium_v2"] .catalog-sort-select{
  height:42px!important;
  border:1px solid rgba(15,23,42,.13)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#0f172a!important;
  font-weight:800!important;
  padding:0 14px!important;
  outline:none!important;
  box-shadow:0 2px 0 rgba(15,23,42,.015)!important;
}
body[data-theme-preset="premium_v2"] .filter-row select:focus,
body[data-theme-preset="premium_v2"] .general-search input:focus{
  border-color:rgba(var(--brand-primary-rgb,11,92,255),.72)!important;
  box-shadow:0 0 0 4px rgba(var(--brand-primary-rgb,11,92,255),.10)!important;
}
body[data-theme-preset="premium_v2"] .operation-buttons{
  height:42px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  border:0!important;
}
body[data-theme-preset="premium_v2"] .operation-buttons button,
body[data-theme-preset="premium_v2"] .general-search button,
body[data-theme-preset="premium_v2"] #btnHomeSearch,
body[data-theme-preset="premium_v2"] #btnHomeRefresh,
body[data-theme-preset="premium_v2"] .pager-btn{
  height:42px!important;
  border:0!important;
  border-radius:12px!important;
  font-weight:950!important;
  box-shadow:0 10px 20px rgba(var(--brand-primary-rgb,11,92,255),.16)!important;
}
body[data-theme-preset="premium_v2"] .operation-buttons button:first-child,
body[data-theme-preset="premium_v2"] .pager-btn{
  background:#fff!important;
  color:#1d4ed8!important;
  border:1px solid rgba(15,23,42,.10)!important;
  box-shadow:none!important;
}
body[data-theme-preset="premium_v2"] .operation-buttons button:last-child,
body[data-theme-preset="premium_v2"] .general-search button,
body[data-theme-preset="premium_v2"] #btnHomeSearch,
body[data-theme-preset="premium_v2"] #btnHomeRefresh{
  background:linear-gradient(135deg,var(--pv2-primary),#082264)!important;
  color:#fff!important;
}
body[data-theme-preset="premium_v2"] .search-center{gap:12px!important;}
body[data-theme-preset="premium_v2"] .flag-row{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(150px,1fr)) minmax(170px,.85fr)!important;
  gap:10px!important;
  border:0!important;
}
body[data-theme-preset="premium_v2"] .flag{
  height:40px!important;
  border-radius:12px!important;
  border:1px solid rgba(15,23,42,.10)!important;
  background:#fff!important;
  color:#1e293b!important;
  padding:0 14px!important;
  font-size:12px!important;
  box-shadow:0 3px 12px rgba(15,23,42,.035)!important;
}
body[data-theme-preset="premium_v2"] .flag.campaign{border-color:#e8bc62!important;background:#fff9ec!important;}
body[data-theme-preset="premium_v2"] .flag.new{border-color:#f0b0a2!important;background:#fff5f1!important;}
body[data-theme-preset="premium_v2"] .flag.stock{border-color:#9bd9ab!important;background:#f0fff4!important;color:#166534!important;}
body[data-theme-preset="premium_v2"] .flag input{width:16px!important;height:16px!important;accent-color:var(--pv2-primary)!important;}
body[data-theme-preset="premium_v2"] .general-search{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 230px 92px!important;
  gap:10px!important;
  height:auto!important;
}
body[data-theme-preset="premium_v2"] .catalog-status{
  height:38px!important;
  border:1px solid rgba(15,23,42,.10)!important;
  border-radius:12px!important;
  background:#f8fbff!important;
  color:#0f172a!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  padding:0 14px!important;
}
body[data-theme-preset="premium_v2"] .catalog-status span{color:var(--pv2-primary)!important;font-weight:950!important;}
body[data-theme-preset="premium_v2"] .catalog-status strong{color:#1e293b!important;font-weight:900!important;}
body[data-theme-preset="premium_v2"] .promo-banner{display:none!important;}
body[data-theme-preset="premium_v2"] .grid-panel{
  border:1px solid var(--pv2-line)!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:var(--pv2-shadow)!important;
}
body[data-theme-preset="premium_v2"] .table-scroll{
  height:calc(100vh - 302px)!important;
  min-height:420px!important;
  background:#fff!important;
}
body[data-theme-preset="premium_v2"] .sales-grid{
  min-width:1420px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
body[data-theme-preset="premium_v2"] .sales-grid th{
  background:linear-gradient(180deg,#092979,#061a4f)!important;
  color:#fff!important;
  height:38px!important;
  padding:8px 9px!important;
  font-size:11px!important;
  letter-spacing:.01em!important;
  border-right:1px solid rgba(255,255,255,.14)!important;
  text-transform:none!important;
}
body[data-theme-preset="premium_v2"] .sales-grid td{
  height:34px!important;
  padding:6px 9px!important;
  font-size:12px!important;
  border-right:1px solid #e8edf4!important;
  border-bottom:1px solid #e8edf4!important;
  background:#fff!important;
  color:#0f172a!important;
}
body[data-theme-preset="premium_v2"] .sales-grid tbody tr{background:#fff!important;}
body[data-theme-preset="premium_v2"] .sales-grid tbody tr:nth-child(even) td{background:#fbfdff!important;}
body[data-theme-preset="premium_v2"] .sales-grid tbody tr.stock-var td:first-child,
body[data-theme-preset="premium_v2"] .sales-grid tbody tr.stock-sinirli td:first-child{background:#fff7ed!important;}
body[data-theme-preset="premium_v2"] .sales-grid tbody tr.stock-yok td:first-child{background:#fff1f2!important;}
body[data-theme-preset="premium_v2"] .sales-grid tbody tr.campaign-row td{background:#fffaf0!important;}
body[data-theme-preset="premium_v2"] .sales-grid tbody tr:hover td{background:#f3f8ff!important;}
body[data-theme-preset="premium_v2"] .code-text{color:#0052cc!important;font-weight:950!important;}
body[data-theme-preset="premium_v2"] .name-text{color:#0f172a!important;font-weight:950!important;letter-spacing:.005em!important;}
body[data-theme-preset="premium_v2"] .sub-text{font-size:10px!important;color:#64748b!important;font-weight:800!important;}
body[data-theme-preset="premium_v2"] .qty-input{
  width:44px!important;height:25px!important;border-radius:8px!important;border:1px solid #d5deea!important;background:#fff!important;font-weight:900!important;
}
body[data-theme-preset="premium_v2"] .mini-cart{
  width:28px!important;height:28px!important;border-radius:9px!important;background:#eef4ff!important;color:#0755d5!important;display:inline-grid!important;place-items:center!important;font-size:14px!important;opacity:1!important;cursor:pointer!important;
}
body[data-theme-preset="premium_v2"] .mini-cart:disabled{opacity:.45!important;cursor:not-allowed!important;filter:grayscale(.4)!important;}
body[data-theme-preset="premium_v2"] .info-dot{
  width:22px!important;height:22px!important;border-radius:999px!important;background:#edf5ff!important;color:#0755d5!important;border:1px solid #cfe0ff!important;
}
body[data-theme-preset="premium_v2"] .discount-pill{
  background:#e9f2ff!important;color:#0755d5!important;box-shadow:none!important;border-radius:7px!important;height:20px!important;min-width:34px!important;
}
body[data-theme-preset="premium_v2"] .center-stock-badge,
body[data-theme-preset="premium_v2"] .order-depot-badge{
  border-radius:8px!important;
  box-shadow:none!important;
}
body[data-theme-preset="premium_v2"] .home-hero-panel,
body[data-theme-preset="premium_v2"] .account-hero,
body[data-theme-preset="premium_v2"] .home-featured-panel{
  border-radius:18px!important;
  border:1px solid rgba(15,23,42,.10)!important;
  box-shadow:var(--pv2-shadow)!important;
}
body[data-theme-preset="premium_v2"] .home-hero-panel{
  background:radial-gradient(circle at 92% 0%,rgba(70,184,255,.45),transparent 35%),linear-gradient(135deg,#071a3f 0%,#0b5cff 62%,#46b8ff 100%)!important;
}
body[data-theme-preset="premium_v2"] .home-featured-grid .product-card,
body[data-theme-preset="premium_v2"] .product-card{
  border-radius:16px!important;border-color:#e2eaf5!important;box-shadow:var(--pv2-shadow-soft)!important;
}
body[data-theme-preset="premium_v2"] .pager{
  margin:0 18px 16px!important;
  border-radius:0 0 18px 18px!important;
  background:rgba(255,255,255,.92)!important;
}
body[data-theme-preset="premium_v2"] .footer-line{color:#7b8797!important;}
body[data-theme-preset="premium_v2"] .error-box:not(.hidden){
  border-radius:12px!important;
  border-color:#fecaca!important;
  background:#fff7f7!important;
}
@media(max-width:1300px){
  body[data-theme-preset="premium_v2"] .identity-header{grid-template-columns:1fr!important;}
  body[data-theme-preset="premium_v2"] .right-widgets{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  body[data-theme-preset="premium_v2"] .tile-menu{overflow-x:auto!important;grid-template-columns:none!important;display:flex!important;}
  body[data-theme-preset="premium_v2"] .tile{flex:0 0 112px!important;min-width:112px!important;}
  body[data-theme-preset="premium_v2"] .board-grid{grid-template-columns:1fr!important;}
}
@media(max-width:900px){
  body[data-theme-preset="premium_v2"] .identity-header{padding:16px!important;border-radius:0!important;}
  body[data-theme-preset="premium_v2"] .right-widgets{grid-template-columns:1fr!important;}
  body[data-theme-preset="premium_v2"] .cart-widget,
  body[data-theme-preset="premium_v2"] .rep-widget,
  body[data-theme-preset="premium_v2"] .representative-widget{min-height:74px!important;border-radius:18px!important;}
  body[data-theme-preset="premium_v2"] .tile-menu{height:auto!important;display:flex!important;padding:0 12px!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;}
  body[data-theme-preset="premium_v2"] .tile-menu::-webkit-scrollbar{display:none!important;}
  body[data-theme-preset="premium_v2"] .tile{flex:0 0 106px!important;min-width:106px!important;height:70px!important;}
  body[data-theme-preset="premium_v2"] .content-wrap{padding:12px 10px 0!important;}
  body[data-theme-preset="premium_v2"] .filter-matrix{grid-template-columns:1fr!important;gap:7px!important;}
  body[data-theme-preset="premium_v2"] .filter-row label{padding:4px 4px 0!important;}
  body[data-theme-preset="premium_v2"] .flag-row{grid-template-columns:1fr!important;}
  body[data-theme-preset="premium_v2"] .general-search{grid-template-columns:1fr!important;}
  body[data-theme-preset="premium_v2"] .table-scroll{max-height:72vh!important;height:auto!important;min-height:360px!important;}
}

/* MVP31L2_FIX10A - dinamik grid kolon yardımcıları */
.sales-grid .mobile-hidden-col{display:table-cell}
.sales-grid td.catalog-col-product_name{min-width:260px}
.sales-grid td.catalog-col-product_code{white-space:nowrap;font-weight:800}
.sales-grid th,.sales-grid td{vertical-align:middle}
.detail-list .kv strong{word-break:break-word}
@media (max-width: 720px){.sales-grid .mobile-hidden-col{display:none!important}}

/* MVP31L2 FIX10C - Plasiyer raf/lokasyon bilgisi */
.shelf-mini{margin-top:4px;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:10px;line-height:1.1;color:#0f766e;white-space:nowrap}
.shelf-mini span{font-weight:700;opacity:.72;text-transform:uppercase;letter-spacing:.02em}
.shelf-mini b{max-width:64px;overflow:hidden;text-overflow:ellipsis;padding:2px 6px;border-radius:999px;background:#ecfdf5;border:1px solid #bbf7d0;color:#065f46;font-size:10px}
.catalog-col-shelf_no,.catalog-col-extra_field_01,.catalog-col-extra_field_02,.catalog-col-extra_field_03,.catalog-col-extra_field_04,.catalog-col-extra_field_05,.catalog-col-extra_field_06,.catalog-col-extra_field_07,.catalog-col-extra_field_08,.catalog-col-extra_field_09,.catalog-col-extra_field_10{font-size:12px;color:#0f172a;font-weight:700}
@media(max-width:768px){.shelf-mini b{max-width:86px}.catalog-col-shelf_no{font-size:11px}}

/* MVP31L2 FIX10D - Home banner/slider/brand marquee */
.home-hero-panel.home-hero-mode-none{display:none!important}.home-hero-panel.home-hero-has-dynamic{gap:14px}.home-hero-dynamic{grid-column:1/-1;width:100%;min-width:0;position:relative;z-index:2}.brand-marquee{height:var(--home-marquee-height,74px);overflow:hidden;border:1px solid rgba(255,255,255,.24);border-radius:18px;background:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.18);display:flex;align-items:center}.brand-marquee.empty{justify-content:center;color:rgba(255,255,255,.82);font-weight:800}.brand-marquee-track{display:flex;align-items:center;gap:14px;min-width:max-content;animation:b2bBrandMarquee var(--home-marquee-duration,32s) linear infinite}.brand-marquee:hover .brand-marquee-track{animation-play-state:paused}.brand-marquee-item{height:calc(var(--home-marquee-height,74px) - 18px);min-width:126px;padding:8px 16px;border-radius:14px;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.45);display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:#0f172a;box-shadow:0 12px 28px rgba(15,23,42,.13)}.brand-marquee-item img{max-height:38px;max-width:108px;object-fit:contain}.brand-marquee-item b{font-size:12px;white-space:nowrap;color:#334155}.home-slider-strip{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x mandatory}.home-slider-card{flex:0 0 min(460px,86vw);height:132px;border-radius:18px;overflow:hidden;position:relative;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.18);scroll-snap-align:start;text-decoration:none;color:#fff}.home-slider-card img{width:100%;height:100%;object-fit:cover;display:block}.home-slider-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,26,63,.82),rgba(7,26,63,.05))}.home-slider-card strong{position:absolute;left:18px;bottom:16px;z-index:2;font-size:18px;letter-spacing:-.02em;color:#fff}.home-hero-mode-marquee .home-hero-statline{margin-top:2px}.home-hero-mode-slider .home-hero-statline{display:none!important}@keyframes b2bBrandMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}@media(max-width:900px){.brand-marquee-item{min-width:110px;padding:8px 12px}.brand-marquee-item img{max-width:92px}.brand-marquee-item b{display:none}.home-slider-card{height:104px}}

/* MVP31L2 FIX10G - Ana sayfa duyuruları */
.home-announcements-panel{margin:16px 0 18px;padding:16px;border:1px solid rgba(148,163,184,.22);border-radius:24px;background:linear-gradient(180deg,#ffffff,#f8fbff);box-shadow:0 18px 40px rgba(15,23,42,.06)}
.home-announcements-panel.hidden{display:none!important}.home-announcement-head{margin-bottom:12px}.home-announcement-head small{display:block;color:#64748b;margin-top:2px;font-size:12px}
.home-announcements{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}
.home-announcement-card{display:flex;gap:12px;align-items:center;border:1px solid rgba(148,163,184,.22);border-radius:18px;padding:12px;background:#fff;box-shadow:0 12px 25px rgba(15,23,42,.05);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.home-announcement-card:hover{transform:translateY(-1px);box-shadow:0 16px 28px rgba(15,23,42,.08);border-color:rgba(37,99,235,.25)}
.home-announcement-card img{width:68px;height:52px;object-fit:cover;border-radius:14px;background:#f8fafc;flex:0 0 auto}.announcement-icon{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#e0f2fe;color:#075985;font-weight:900;font-size:18px;flex:0 0 auto}.home-announcement-card.warning .announcement-icon{background:#fff7ed;color:#c2410c}.home-announcement-card.campaign .announcement-icon{background:#fff7db;color:#b45309}.home-announcement-card.success .announcement-icon{background:#dcfce7;color:#166534}
.announcement-text{min-width:0;flex:1}.announcement-text span{display:inline-flex;border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:3px 8px;font-size:11px;font-weight:900;margin-bottom:5px}.home-announcement-card.warning .announcement-text span{background:#fff7ed;color:#c2410c}.home-announcement-card.campaign .announcement-text span{background:#fff7db;color:#b45309}.home-announcement-card.success .announcement-text span{background:#dcfce7;color:#166534}.announcement-text strong{display:block;color:#0f172a;font-size:15px;line-height:1.25}.announcement-text p{margin:3px 0 0;color:#64748b;font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.announcement-read{border:0;border-radius:12px;background:#eef2ff;color:#1d4ed8;font-weight:900;padding:9px 12px;cursor:pointer;flex:0 0 auto}
.announcement-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}.announcement-modal.hidden{display:none!important}.announcement-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(4px)}.announcement-modal-card{position:relative;z-index:1;width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:24px;box-shadow:0 28px 70px rgba(15,23,42,.28);padding:22px}.announcement-modal-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f5f9;color:#0f172a;font-size:22px;font-weight:900;cursor:pointer}.announcement-detail-img{width:100%;max-height:240px;object-fit:cover;border-radius:18px;margin-bottom:14px;background:#f8fafc}.announcement-badge{display:inline-flex;border-radius:999px;padding:5px 10px;background:#eff6ff;color:#1d4ed8;font-weight:900;font-size:12px}.announcement-badge.warning{background:#fff7ed;color:#c2410c}.announcement-badge.campaign{background:#fff7db;color:#b45309}.announcement-badge.success{background:#dcfce7;color:#166534}.announcement-modal-content h2{font-size:24px;margin:12px 40px 8px 0;color:#0f172a}.announcement-summary{font-size:15px;color:#475569;font-weight:700}.announcement-body{margin-top:12px;color:#334155;line-height:1.55}.announcement-link{display:inline-flex;margin-top:16px;border-radius:12px;padding:10px 14px;background:#2563eb;color:#fff;text-decoration:none;font-weight:900}
@media(max-width:760px){.home-announcements{grid-template-columns:1fr}.home-announcement-card{align-items:flex-start}.announcement-read{display:none}.home-announcement-card img{width:58px;height:48px}.announcement-modal{padding:12px}.announcement-modal-card{border-radius:20px;padding:18px}.announcement-modal-content h2{font-size:20px}}


/* MVP31L2 FIX10H - Dynamic menu / iframe external page */
.tile-menu .tile.menu-desktop-hidden{display:none!important;}
@media (max-width: 768px){.tile-menu .tile.menu-desktop-hidden{display:flex!important}.tile-menu .tile.menu-mobile-hidden{display:none!important}}
.external-menu-page{padding:16px 18px 28px;}
.external-menu-card{border:1px solid rgba(15,23,42,.10);border-radius:22px;background:#fff;box-shadow:0 18px 44px rgba(15,23,42,.08);overflow:hidden;}
.external-menu-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid rgba(15,23,42,.08);background:linear-gradient(135deg,rgba(var(--brand-primary-rgb,37,99,235),.08),rgba(255,255,255,.95));}
.external-menu-head span{display:inline-flex;padding:5px 10px;border-radius:999px;background:rgba(var(--brand-primary-rgb,37,99,235),.10);color:var(--brand-primary,#2563eb);font-weight:900;font-size:12px;}
.external-menu-head h2{margin:8px 0 4px;font-size:24px;color:#0f172a;}
.external-menu-head p{margin:0;color:#64748b;font-weight:700;}
.external-menu-actions{display:flex;gap:10px;flex-wrap:wrap;}
.external-menu-actions a,.external-menu-actions button{border:0;border-radius:12px;padding:11px 14px;font-weight:900;text-decoration:none;background:linear-gradient(135deg,var(--brand-primary,#2563eb),var(--brand-nav,#0f172a));color:#fff;cursor:pointer;}
.external-menu-actions button{background:#eef2ff;color:#1e3a8a;}
.external-menu-frame-wrap{height:min(74vh,760px);background:#f8fafc;}
.external-menu-frame-wrap iframe{width:100%;height:100%;border:0;background:#fff;}
.external-menu-fallback{padding:10px 16px;background:#fff7ed;color:#9a3412;font-weight:800;border-top:1px solid #fed7aa;}

/* MVP31L2 FIX10H2 - dinamik harici menüler ve çıkış sırası */
body[data-theme-preset="premium_v2"] .tile-menu{overflow-x:auto!important;overflow-y:hidden!important;}
body[data-theme-preset="premium_v2"] .tile-menu .tile[data-custom-menu="1"]{display:flex!important;}
body[data-theme-preset="premium_v2"] .tile-menu #btnLogout{order:9999!important;}
body[data-theme-preset="premium_v2"] .tile-menu .tile.hidden{display:none!important;}


/* MVP31L2 FIX10H3 - Duyuru yan kolonları + Çıkış aktif ışığı düzeltme */
body[data-theme-preset="premium_v2"] .home-featured-zone{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;align-items:start!important;margin-top:16px!important;}
body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements.has-right-announcements{grid-template-columns:minmax(220px,260px) minmax(0,1fr) minmax(220px,260px)!important;}
body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements:not(.has-right-announcements){grid-template-columns:minmax(220px,260px) minmax(0,1fr)!important;}
body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements:not(.has-left-announcements){grid-template-columns:minmax(0,1fr) minmax(220px,260px)!important;}
body[data-theme-preset="premium_v2"] .home-featured-zone .home-featured-panel{grid-column:1!important;min-width:0!important;}
body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements .home-announcements-panel:not(.home-campaign-announcements-panel){grid-column:1!important;grid-row:1!important;}
body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements .home-featured-panel{grid-column:2!important;grid-row:1!important;}
body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements.has-right-announcements .home-campaign-announcements-panel{grid-column:3!important;grid-row:1!important;}
body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements:not(.has-left-announcements) .home-featured-panel{grid-column:1!important;grid-row:1!important;}
body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements:not(.has-left-announcements) .home-campaign-announcements-panel{grid-column:2!important;grid-row:1!important;}
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side{margin:0!important;padding:12px!important;border:1px solid rgba(148,163,184,.22)!important;border-radius:22px!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;box-shadow:0 16px 34px rgba(15,23,42,.06)!important;min-width:0!important;}
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-section-head{margin-bottom:10px!important;}
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-announcements{display:flex!important;flex-direction:column!important;gap:10px!important;}
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-announcement-card{align-items:flex-start!important;padding:10px!important;border-radius:16px!important;box-shadow:0 10px 20px rgba(15,23,42,.045)!important;}
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .announcement-icon{width:38px!important;height:38px!important;border-radius:12px!important;font-size:15px!important;}
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-announcement-card img{width:48px!important;height:42px!important;border-radius:12px!important;}
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .announcement-text strong{font-size:13px!important;}
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .announcement-text p{font-size:11px!important;-webkit-line-clamp:3!important;}
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .announcement-read{padding:7px 9px!important;border-radius:10px!important;font-size:11px!important;}
body[data-theme-preset="premium_v2"] #btnLogout,body[data-theme-preset="premium_v2"] #btnLogout.active,body[data-theme-preset="premium_v2"] #btnLogout.active2,body[data-theme-preset="premium_v2"] #btnLogout.tile-current{background:transparent!important;box-shadow:none!important;}
body[data-theme-preset="premium_v2"] #btnLogout:hover{background:rgba(255,255,255,.08)!important;}
@media(max-width:1280px){body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements.has-right-announcements,body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements:not(.has-right-announcements),body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements:not(.has-left-announcements){grid-template-columns:1fr!important;}body[data-theme-preset="premium_v2"] .home-featured-zone .home-announcements-panel,body[data-theme-preset="premium_v2"] .home-featured-zone .home-featured-panel,body[data-theme-preset="premium_v2"] .home-featured-zone .home-campaign-announcements-panel{grid-column:1!important;grid-row:auto!important;}body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-announcements{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;}}


/* MVP31L2 FIX10H4 - Ana sayfa layout stabilizasyonu
   Not: Önceki H3 kuralları sadece premium_v2 body scope altında çalışıyordu.
   Bu blok tüm tema presetlerinde duyuru-sol / ürün-orta / kampanya-sağ düzenini zorlar. */
.home-featured-zone{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
  margin-top:16px!important;
}
.home-featured-zone.has-left-announcements.has-right-announcements,
body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements.has-right-announcements{
  grid-template-columns:minmax(210px,250px) minmax(0,1fr) minmax(210px,250px)!important;
}
.home-featured-zone.has-left-announcements:not(.has-right-announcements),
body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements:not(.has-right-announcements){
  grid-template-columns:minmax(210px,250px) minmax(0,1fr)!important;
}
.home-featured-zone.has-right-announcements:not(.has-left-announcements),
body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements:not(.has-left-announcements){
  grid-template-columns:minmax(0,1fr) minmax(210px,250px)!important;
}
.home-featured-zone .home-featured-panel,
body[data-theme-preset="premium_v2"] .home-featured-zone .home-featured-panel{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
}
.home-featured-zone.has-left-announcements .home-announcements-panel:not(.home-campaign-announcements-panel),
body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements .home-announcements-panel:not(.home-campaign-announcements-panel){
  grid-column:1!important;
  grid-row:1!important;
}
.home-featured-zone.has-left-announcements .home-featured-panel,
body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements .home-featured-panel{
  grid-column:2!important;
  grid-row:1!important;
}
.home-featured-zone.has-left-announcements.has-right-announcements .home-campaign-announcements-panel,
body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements.has-right-announcements .home-campaign-announcements-panel{
  grid-column:3!important;
  grid-row:1!important;
}
.home-featured-zone.has-right-announcements:not(.has-left-announcements) .home-featured-panel,
body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements:not(.has-left-announcements) .home-featured-panel{
  grid-column:1!important;
  grid-row:1!important;
}
.home-featured-zone.has-right-announcements:not(.has-left-announcements) .home-campaign-announcements-panel,
body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements:not(.has-left-announcements) .home-campaign-announcements-panel{
  grid-column:2!important;
  grid-row:1!important;
}
.home-announcements-panel.home-announcements-side,
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side{
  margin:0!important;
  padding:12px!important;
  border:1px solid rgba(148,163,184,.22)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
  box-shadow:0 16px 34px rgba(15,23,42,.06)!important;
  min-width:0!important;
}
.home-announcements-panel.home-announcements-side .home-section-head,
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-section-head{
  margin-bottom:10px!important;
}
.home-announcements-panel.home-announcements-side .home-announcements,
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-announcements{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
}
.home-announcements-panel.home-announcements-side .home-announcement-card,
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-announcement-card{
  align-items:flex-start!important;
  padding:10px!important;
  border-radius:16px!important;
  box-shadow:0 10px 20px rgba(15,23,42,.045)!important;
}
.home-announcements-panel.home-announcements-side .announcement-icon,
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .announcement-icon{
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
  font-size:15px!important;
}
.home-announcements-panel.home-announcements-side .home-announcement-card img,
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-announcement-card img{
  width:48px!important;
  height:42px!important;
  border-radius:12px!important;
}
.home-announcements-panel.home-announcements-side .announcement-text strong,
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .announcement-text strong{
  font-size:13px!important;
}
.home-announcements-panel.home-announcements-side .announcement-text p,
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .announcement-text p{
  font-size:11px!important;
  -webkit-line-clamp:3!important;
}
.home-announcements-panel.home-announcements-side .announcement-read,
body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .announcement-read{
  padding:7px 9px!important;
  border-radius:10px!important;
  font-size:11px!important;
}
#btnLogout,#btnLogout.active,#btnLogout.active2,#btnLogout.tile-current,
body[data-theme-preset="premium_v2"] #btnLogout,
body[data-theme-preset="premium_v2"] #btnLogout.active,
body[data-theme-preset="premium_v2"] #btnLogout.active2,
body[data-theme-preset="premium_v2"] #btnLogout.tile-current{
  box-shadow:none!important;
}
#btnLogout:after,#btnLogout:before,
body[data-theme-preset="premium_v2"] #btnLogout:after,
body[data-theme-preset="premium_v2"] #btnLogout:before{
  display:none!important;
}
@media(max-width:1100px){
  .home-featured-zone.has-left-announcements.has-right-announcements,
  .home-featured-zone.has-left-announcements:not(.has-right-announcements),
  .home-featured-zone.has-right-announcements:not(.has-left-announcements),
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements.has-right-announcements,
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements:not(.has-right-announcements),
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements:not(.has-left-announcements){
    grid-template-columns:1fr!important;
  }
  .home-featured-zone .home-announcements-panel,
  .home-featured-zone .home-featured-panel,
  .home-featured-zone .home-campaign-announcements-panel,
  body[data-theme-preset="premium_v2"] .home-featured-zone .home-announcements-panel,
  body[data-theme-preset="premium_v2"] .home-featured-zone .home-featured-panel,
  body[data-theme-preset="premium_v2"] .home-featured-zone .home-campaign-announcements-panel{
    grid-column:1!important;
    grid-row:auto!important;
  }
  .home-announcements-panel.home-announcements-side .home-announcements,
  body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-announcements{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  }
}


/* MVP31L2_FIX10I - Günlük kur bilgisi üst widget */
.exchange-widget{
  min-height:58px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  padding:8px 10px;
  text-align:center;
  color:#0f172a;
}
.exchange-widget.hidden{display:none!important;}
.exchange-widget span{font-size:11px;font-weight:900;color:#64748b;line-height:1;}
.exchange-widget strong{font-size:13px;font-weight:950;color:#0f172a;line-height:1.15;white-space:nowrap;}
.exchange-widget small{font-size:11px;font-weight:800;color:#64748b;line-height:1.15;white-space:nowrap;}
.exchange-widget.has-rates strong{color:#0f766e;}
.exchange-widget.exchange-stale strong{color:#b45309;}
.exchange-widget.exchange-error strong{color:#991b1b;}
body[data-theme-preset="premium_v2"] .exchange-widget.has-rates strong{color:#0f766e!important;}
body[data-theme-preset="premium_v2"] .exchange-widget small{color:#64748b!important;}
@media(max-width:1120px){
  .right-widgets.header-context-widgets{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:640px){
  .right-widgets.header-context-widgets{grid-template-columns:1fr!important;}
  .exchange-widget{min-height:54px;}
  .exchange-widget strong,.exchange-widget small{white-space:normal;}
}


/* MVP31L2_FIX10I1 - Mobil ana sayfa layout güvenlik katmanı
   Amaç: Duyuru / Öne Çıkan / Kampanya kolonları mobilde kesinlikle yan yana taşmasın. */
html,body{max-width:100%;overflow-x:hidden;}

@media(max-width:767px){
  .app-shell,
  .page-shell,
  .main-shell,
  .content-shell,
  .home-board,
  .home-hero-panel,
  .home-featured-zone,
  .home-featured-panel,
  .home-announcements-panel{
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }

  .home-featured-zone,
  .home-featured-zone.has-left-announcements,
  .home-featured-zone.has-right-announcements,
  .home-featured-zone.has-left-announcements.has-right-announcements,
  .home-featured-zone.has-left-announcements:not(.has-right-announcements),
  .home-featured-zone.has-right-announcements:not(.has-left-announcements),
  body[data-theme-preset="premium_v2"] .home-featured-zone,
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements,
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements,
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements.has-right-announcements,
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements:not(.has-right-announcements),
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements:not(.has-left-announcements){
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    grid-auto-flow:row!important;
    gap:14px!important;
    width:100%!important;
  }

  .home-featured-zone > .home-announcements-panel,
  .home-featured-zone > .home-featured-panel,
  .home-featured-zone > .home-campaign-announcements-panel,
  body[data-theme-preset="premium_v2"] .home-featured-zone > .home-announcements-panel,
  body[data-theme-preset="premium_v2"] .home-featured-zone > .home-featured-panel,
  body[data-theme-preset="premium_v2"] .home-featured-zone > .home-campaign-announcements-panel{
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  #homeAnnouncementsPanel{order:1!important;}
  .home-featured-zone > .home-featured-panel{order:2!important;}
  #homeCampaignAnnouncementsPanel{order:3!important;}

  .home-announcements-panel.home-announcements-side,
  body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side{
    padding:12px!important;
    border-radius:20px!important;
  }

  .home-announcements-panel.home-announcements-side .home-announcements,
  body[data-theme-preset="premium_v2"] .home-announcements-panel.home-announcements-side .home-announcements{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    gap:10px!important;
    width:100%!important;
  }

  .home-announcement-card,
  body[data-theme-preset="premium_v2"] .home-announcement-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  .announcement-text{min-width:0!important;}
  .announcement-text strong,
  .announcement-text p{word-break:break-word!important;overflow-wrap:anywhere!important;}

  .home-featured-grid,
  body[data-theme-preset="premium_v2"] .home-featured-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
  }

  .home-featured-grid .product-card,
  body[data-theme-preset="premium_v2"] .home-featured-grid .product-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  .home-section-head,
  body[data-theme-preset="premium_v2"] .home-section-head{
    gap:8px!important;
    align-items:center!important;
  }
  .home-section-head strong,
  body[data-theme-preset="premium_v2"] .home-section-head strong{
    font-size:20px!important;
    line-height:1.15!important;
    letter-spacing:-.02em!important;
  }
  #btnHomeRefresh{flex:0 0 auto!important;white-space:nowrap!important;}

  .home-hero-panel,
  body[data-theme-preset="premium_v2"] .home-hero-panel{
    border-radius:22px!important;
  }

  .home-hero-panel .home-search-box,
  .home-search-box,
  body[data-theme-preset="premium_v2"] .home-search-box{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .home-search-inline,
  body[data-theme-preset="premium_v2"] .home-search-inline{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }
  .home-search-inline input,
  .home-search-inline button,
  body[data-theme-preset="premium_v2"] .home-search-inline input,
  body[data-theme-preset="premium_v2"] .home-search-inline button{
    width:100%!important;
    min-width:0!important;
  }
}

@media(min-width:768px) and (max-width:1100px){
  .home-featured-zone,
  .home-featured-zone.has-left-announcements.has-right-announcements,
  .home-featured-zone.has-left-announcements:not(.has-right-announcements),
  .home-featured-zone.has-right-announcements:not(.has-left-announcements),
  body[data-theme-preset="premium_v2"] .home-featured-zone,
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements.has-right-announcements,
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-left-announcements:not(.has-right-announcements),
  body[data-theme-preset="premium_v2"] .home-featured-zone.has-right-announcements:not(.has-left-announcements){
    grid-template-columns:1fr!important;
  }
  .home-featured-zone > .home-announcements-panel,
  .home-featured-zone > .home-featured-panel,
  .home-featured-zone > .home-campaign-announcements-panel,
  body[data-theme-preset="premium_v2"] .home-featured-zone > .home-announcements-panel,
  body[data-theme-preset="premium_v2"] .home-featured-zone > .home-featured-panel,
  body[data-theme-preset="premium_v2"] .home-featured-zone > .home-campaign-announcements-panel{
    grid-column:1!important;
    grid-row:auto!important;
    width:100%!important;
    max-width:100%!important;
  }
}

/* MVP31L2_FIX10J - Kur widget TCMB fallback / stale guard renkleri */
.exchange-widget.exchange-tcmb strong{color:#0f766e;}
.exchange-widget.exchange-tcmb small{color:#0f766e;}
.exchange-widget.exchange-stale{
  border-color:rgba(180,83,9,.35);
  background:linear-gradient(180deg,#fffbeb,#fff7ed);
}
.exchange-widget.exchange-stale strong{color:#b45309;}
.exchange-widget.exchange-stale small{color:#92400e;}
body[data-theme-preset="premium_v2"] .exchange-widget.exchange-tcmb strong{color:#0f766e!important;}
body[data-theme-preset="premium_v2"] .exchange-widget.exchange-tcmb small{color:#0f766e!important;}
body[data-theme-preset="premium_v2"] .exchange-widget.exchange-stale{
  border-color:rgba(180,83,9,.35)!important;
  background:linear-gradient(180deg,#fffbeb,#fff7ed)!important;
}
body[data-theme-preset="premium_v2"] .exchange-widget.exchange-stale strong{color:#b45309!important;}
body[data-theme-preset="premium_v2"] .exchange-widget.exchange-stale small{color:#92400e!important;}


/* MVP31L2_FIX10K - Kur widget eklendikten sonra header tek satır yerleşim düzeltmesi
   Not: theme dosyası app.css'ten sonra yüklendiği için burada genel override veriyoruz. */
.right-widgets.header-context-widgets{
  justify-self:end!important;
  width:min(100%,1110px)!important;
  display:grid!important;
  grid-template-columns:minmax(126px,158px) minmax(250px,1fr) minmax(178px,220px) minmax(150px,190px)!important;
  gap:10px!important;
  align-items:stretch!important;
}
.right-widgets.header-context-widgets > .exchange-widget,
.right-widgets.header-context-widgets > .cart-widget,
.right-widgets.header-context-widgets > .customer-context-widget,
.right-widgets.header-context-widgets > .header-representative-card{
  height:68px!important;
  min-height:68px!important;
  max-height:68px!important;
  min-width:0!important;
  border-radius:14px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.right-widgets.header-context-widgets > .exchange-widget{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:2px!important;
  padding:6px 10px!important;
  text-align:left!important;
}
.right-widgets.header-context-widgets > .exchange-widget > span{
  font-size:10px!important;
  font-weight:900!important;
  line-height:1!important;
  color:#64748b!important;
}
.right-widgets.header-context-widgets > .exchange-widget strong{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:1px!important;
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  font-size:10.5px!important;
  line-height:1.05!important;
  font-weight:900!important;
  color:#0f766e!important;
}
.right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line{
  display:flex!important;
  align-items:baseline!important;
  gap:5px!important;
  width:100%!important;
  color:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
}
.right-widgets.header-context-widgets > .exchange-widget .exchange-code{
  min-width:30px!important;
  font-weight:950!important;
  letter-spacing:.1px!important;
  color:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
}
.right-widgets.header-context-widgets > .exchange-widget .exchange-value{
  font-weight:900!important;
  color:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
}
.right-widgets.header-context-widgets > .exchange-widget small{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:9.5px!important;
  line-height:1.05!important;
  font-weight:800!important;
  color:#64748b!important;
}
.right-widgets.header-context-widgets > .exchange-widget.exchange-tcmb strong,
body[data-theme-preset="premium_v2"] .right-widgets.header-context-widgets > .exchange-widget.exchange-tcmb strong{color:#0f766e!important;}
.right-widgets.header-context-widgets > .exchange-widget.exchange-tcmb small,
body[data-theme-preset="premium_v2"] .right-widgets.header-context-widgets > .exchange-widget.exchange-tcmb small{color:#0f766e!important;}
.right-widgets.header-context-widgets > .exchange-widget.exchange-stale strong{color:#b45309!important;}
.right-widgets.header-context-widgets > .exchange-widget.exchange-error strong{color:#991b1b!important;}
.right-widgets.header-context-widgets > .exchange-widget::before,
.right-widgets.header-context-widgets > .cart-widget::before,
.right-widgets.header-context-widgets > .customer-context-widget::before,
.right-widgets.header-context-widgets > .header-representative-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg,var(--brand-primary,#2563eb),var(--brand-accent,#38bdf8));
  opacity:.85;
}
.right-widgets.header-context-widgets > .exchange-widget,
.right-widgets.header-context-widgets > .cart-widget,
.right-widgets.header-context-widgets > .customer-context-widget,
.right-widgets.header-context-widgets > .header-representative-card{position:relative!important;}

@media(max-width:1320px){
  .right-widgets.header-context-widgets{
    justify-self:stretch!important;
    width:100%!important;
    grid-template-columns:minmax(118px,150px) minmax(230px,1fr) minmax(168px,210px) minmax(142px,184px)!important;
  }
}
@media(max-height:820px) and (min-width:901px){
  .right-widgets.header-context-widgets{
    width:min(100%,1060px)!important;
    grid-template-columns:minmax(112px,140px) minmax(220px,1fr) minmax(150px,186px) minmax(132px,172px)!important;
    gap:8px!important;
  }
  .right-widgets.header-context-widgets > .exchange-widget,
  .right-widgets.header-context-widgets > .cart-widget,
  .right-widgets.header-context-widgets > .customer-context-widget,
  .right-widgets.header-context-widgets > .header-representative-card{
    height:54px!important;min-height:54px!important;max-height:54px!important;padding:6px 9px!important;border-radius:13px!important;
  }
  .right-widgets.header-context-widgets > .exchange-widget strong{font-size:10px!important;}
  .right-widgets.header-context-widgets > .exchange-widget > span,
  .right-widgets.header-context-widgets > .exchange-widget small{font-size:9px!important;}
}
@media(min-width:1321px) and (max-width:1440px){
  .right-widgets.header-context-widgets{
    width:min(100%,960px)!important;
    grid-template-columns:minmax(116px,142px) minmax(214px,1fr) minmax(160px,196px) minmax(136px,176px)!important;
  }
}
@media(max-width:1024px){
  .right-widgets.header-context-widgets{
    grid-template-columns:1fr 1.2fr!important;
    width:100%!important;
  }
  .right-widgets.header-context-widgets > .customer-context-widget,
  .right-widgets.header-context-widgets > .header-representative-card{
    grid-column:auto!important;
  }
}
@media(max-width:640px){
  .right-widgets.header-context-widgets{grid-template-columns:1fr!important;}
  .right-widgets.header-context-widgets > .exchange-widget,
  .right-widgets.header-context-widgets > .cart-widget,
  .right-widgets.header-context-widgets > .customer-context-widget,
  .right-widgets.header-context-widgets > .header-representative-card{
    height:auto!important;min-height:56px!important;max-height:none!important;
  }
}

/* MVP31L3: Arama/kampanya/öne çıkan satırlarında çift tık ile İncele */
.product-table tbody tr.product-row-open,
.product-card.product-card-open,
.home-product-card[data-code]{
  cursor:pointer;
}
.product-table tbody tr.product-row-open:hover{
  filter:brightness(.985);
}
.product-table tbody tr.product-row-open:active,
.product-card.product-card-open:active,
.home-product-card[data-code]:active{
  transform:scale(.998);
}
.login-logo.has-logo-image{
  background-color:#fff!important;
  background-size:contain!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}

/* MVP31L3 FIX: Login başlık logo kutusu firma logosunu kullansın */
.login-logo.has-logo-image,
.logo-mark.has-logo-image{
  background-color:#fff!important;
  background-size:contain!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  color:transparent!important;
  overflow:hidden;
}
.login-logo.has-logo-image::before,
.logo-mark.has-logo-image::before{
  content:none!important;
}

/* MVP31L3 FIX2: Login başlık logo kutusu gerçek img ile firma logosunu gösterir */
.login-logo.has-logo-image,
.logo-mark.has-logo-image{
  background-color:#fff!important;
  background-size:contain!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  color:transparent!important;
  overflow:hidden!important;
}
.login-logo.has-logo-image::before,
.logo-mark.has-logo-image::before{
  content:none!important;
}
.login-logo img.login-logo-img,
.logo-mark img.logo-mark-img{
  display:block!important;
  max-width:86%!important;
  max-height:86%!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}

/* MVP31L3 FIX3: Login logosu kutu içinde değil, direkt görsel olarak görünsün */
.login-logo.logo-direct-image,
.logo-mark.logo-direct-image,
.login-logo.has-logo-image,
.logo-mark.has-logo-image{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  color:transparent!important;
  overflow:visible!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.login-logo.logo-direct-image,
.login-logo.has-logo-image{
  width:72px!important;
  min-width:72px!important;
  height:42px!important;
  border-radius:0!important;
  padding:0!important;
}

.logo-mark.logo-direct-image,
.logo-mark.has-logo-image{
  width:96px!important;
  min-width:96px!important;
  height:64px!important;
  border-radius:0!important;
  padding:0!important;
}

.login-logo.logo-direct-image::before,
.logo-mark.logo-direct-image::before,
.login-logo.has-logo-image::before,
.logo-mark.has-logo-image::before{
  content:none!important;
  display:none!important;
}

.login-logo img.login-logo-img,
.logo-mark img.logo-mark-img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* MVP31L3 HERO_ADMIN_FAVICON: Hero ve marquee renkleri admin parametrelerinden gelir */
.home-hero-panel{
  color:var(--home-hero-text-color,#fff);
}
body:not([data-theme-preset]) .home-hero-panel,
.home-hero-panel:not([style*="background-image"]){
  background:linear-gradient(135deg,var(--home-hero-bg-start,var(--brand-nav)),var(--home-hero-bg-end,var(--brand-primary)) 64%,var(--brand-accent));
}
.home-hero-panel .home-kicker,
.home-hero-panel h1,
.home-hero-panel p,
.home-hero-panel .home-hero-statline span,
.home-hero-panel .home-hero-statline b,
.home-hero-panel .home-hero-statline small{
  color:var(--home-hero-text-color,#fff);
}
.home-hero-panel .home-search-box{
  background:var(--home-hero-search-bg,rgba(255,255,255,.94));
}
.home-hero-panel .home-search-box input{
  color:var(--home-hero-search-text,#0f172a);
}
.brand-marquee{
  background:var(--home-marquee-bg,rgba(255,255,255,.12));
  border-color:var(--home-marquee-border,rgba(255,255,255,.24));
}
.brand-marquee-item{
  background:var(--home-marquee-card-bg,rgba(255,255,255,.94));
  color:var(--home-marquee-text,#0f172a);
}
.brand-marquee-item b{color:var(--home-marquee-text,#334155)}
.login-feature-grid.hidden,
.home-hero-statline.hidden{display:none!important}


/* ============================================================
   MVP31L3 HEADER CARI STABLE V8
   Cari kartı müşteri adı / cari kodu / cari değiştir butonlarının üst üste binmesini engeller.
   Sepet kartını daraltır, cari kartına daha fazla alan verir.
   ============================================================ */
body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets,
#appRoot .identity-header .right-widgets.header-context-widgets{
  grid-template-columns:116px 150px minmax(560px,1fr) 150px!important;
  max-width:1120px!important;
  width:min(100%,1120px)!important;
  gap:8px!important;
}

body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets > .cart-widget,
#appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget{
  min-width:0!important;
  max-width:150px!important;
  padding:7px 8px!important;
}

body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
#appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget{
  min-width:0!important;
  max-width:none!important;
  padding:7px 122px 7px 14px!important;
  overflow:hidden!important;
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  text-align:left!important;
}

body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets > .customer-context-widget span,
body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets > .customer-context-widget strong,
body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets > .customer-context-widget small,
#appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget span,
#appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget strong,
#appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget small{
  width:100%!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:left!important;
  line-height:1.12!important;
}

body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets > .customer-context-widget strong,
#appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget strong{
  font-size:12px!important;
  letter-spacing:.01em!important;
}

body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets > .customer-context-widget .customer-card-actions,
#appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget .customer-card-actions{
  position:absolute!important;
  right:8px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:106px!important;
  min-width:106px!important;
  max-width:106px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  z-index:3!important;
}

body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets > .customer-context-widget .customer-switch-hint,
body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets > .customer-context-widget .customer-password-link,
#appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget .customer-switch-hint,
#appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget .customer-password-link{
  width:106px!important;
  max-width:106px!important;
  min-width:0!important;
  height:18px!important;
  line-height:18px!important;
  padding:0 5px!important;
  font-size:8px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

@media (min-width:1025px) and (max-width:1360px){
  body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets,
  #appRoot .identity-header .right-widgets.header-context-widgets{
    grid-template-columns:108px 135px minmax(430px,1fr) 136px!important;
    max-width:none!important;
    width:100%!important;
  }
  body[data-theme-preset="premium_v2"] .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget{
    padding-right:112px!important;
  }
}

/* ==========================================================
   MVP31L12_THEME_APPLY_FULL_V1
   Admin > Tema renklerinin B2B görünür alanlarına tam uygulanması.
   Bu blok özellikle eski sabit DEM/lacivert/yeşil tonlarını CSS değişkenlerine bağlar.
   ========================================================== */
:root {
  --theme-text-strong: #0f172a;
  --theme-text-muted: #64748b;
  --theme-line: #e2e8f0;
  --theme-card-bg: #ffffff;
  --theme-page-bg: var(--surface-tint, #f1f5f9);
  --theme-primary-soft: rgba(var(--brand-primary-rgb,37,99,235), .10);
  --theme-primary-border: rgba(var(--brand-primary-rgb,37,99,235), .28);
  --theme-accent-soft: rgba(var(--brand-accent-rgb,56,189,248), .14);
  --theme-nav-soft: rgba(var(--brand-nav-rgb,15,23,42), .08);
  --theme-nav-gradient: linear-gradient(180deg, var(--brand-nav,#0f172a), var(--brand-primary,#2563eb));
  --theme-button-gradient: linear-gradient(135deg, var(--brand-primary,#2563eb), var(--brand-nav,#0f172a));
  --theme-button-gradient-rev: linear-gradient(135deg, var(--brand-nav,#0f172a), var(--brand-primary,#2563eb));
  --theme-grid-header-gradient: linear-gradient(180deg, var(--brand-nav,#0f172a), var(--brand-primary,#2563eb));
}

html body {
  background: radial-gradient(circle at 14% -12%, rgba(var(--brand-primary-rgb,37,99,235), .07), transparent 34%), var(--theme-page-bg) !important;
}

.identity-header,
.login-card,
.search-board,
.summary-strip,
.grid-panel,
.product-grid,
.home-announcements-panel,
.external-menu-card {
  border-color: rgba(var(--brand-primary-rgb,37,99,235), .12) !important;
}

.logo-mark,
.login-logo {
  background: linear-gradient(135deg, var(--brand-accent,#38bdf8), var(--brand-primary,#2563eb) 58%, var(--brand-nav,#0f172a)) !important;
  box-shadow: 0 14px 30px rgba(var(--brand-primary-rgb,37,99,235), .22) !important;
}
.logo-title,
.login-brand h1,
.detail-code,
.code-text,
.operation-buttons button,
.detail-btn,
.action-btn,
.external-menu-head span {
  color: var(--brand-primary,#2563eb) !important;
}
.customer-identity span,
.login-submit,
.home-quick-search button,
#btnHomeRefresh,
.general-search button,
.stock-action-btn.primary,
.external-menu-actions a,
.external-menu-actions button:not(.secondary),
.pwa-install-btn {
  background: var(--theme-button-gradient) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 12px 26px rgba(var(--brand-primary-rgb,37,99,235), .22) !important;
}

.tile-menu {
  background: var(--theme-nav-gradient) !important;
  border-bottom-color: rgba(var(--brand-nav-rgb,15,23,42), .75) !important;
  box-shadow: 0 14px 32px rgba(var(--brand-nav-rgb,15,23,42), .18) !important;
}
.tile {
  background: transparent !important;
}
.tile.active,
.tile.active2,
.tile.campaign-tile,
.tile:hover {
  background: rgba(255,255,255,.10) !important;
}
.tile.active::after,
.tile.active2::after {
  background: var(--brand-accent,#38bdf8) !important;
}
.logout-tile:hover { background: rgba(255,255,255,.16) !important; }

.rep-widget.header-representative-card,
.representative-widget.header-representative-card,
#headerRepresentativeWidget {
  background: var(--theme-button-gradient-rev) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.10) !important;
}
.rep-widget.header-representative-card span,
.rep-widget.header-representative-card strong,
.rep-widget.header-representative-card small,
.representative-widget.header-representative-card span,
.representative-widget.header-representative-card strong,
.representative-widget.header-representative-card small,
#headerRepresentativeWidget span,
#headerRepresentativeWidget strong,
#headerRepresentativeWidget small {
  color: #fff !important;
}
.cart-widget.has-items {
  background: linear-gradient(180deg, rgba(var(--brand-accent-rgb,56,189,248), .12), #fff) !important;
  border-color: rgba(var(--brand-accent-rgb,56,189,248), .32) !important;
}
.exchange-widget.has-rates strong,
.exchange-widget.exchange-tcmb strong,
.exchange-widget.exchange-tcmb small,
.balance-line {
  color: var(--brand-primary,#2563eb) !important;
}

.general-search input:focus,
.home-quick-search input:focus,
.login-field input:focus,
.filter-row select:focus,
.catalog-sort-select:focus,
.search-history-select:focus,
.qty-input:focus {
  border-color: var(--brand-primary,#2563eb) !important;
  box-shadow: 0 0 0 4px var(--theme-focus-ring, rgba(37,99,235,.14)) !important;
}
.flag input,
.remember-line input,
.filter-row input,
input[type="checkbox"] {
  accent-color: var(--brand-primary,#2563eb) !important;
}

.flag.campaign,
.sales-grid tbody tr.campaign-row,
.sales-grid tbody tr.campaign-row td,
.badge.campaign {
  background: var(--theme-row-campaign,#fff8db) !important;
}
.flag.new {
  background: linear-gradient(180deg, rgba(var(--brand-accent-rgb,56,189,248), .13), #fff) !important;
  border-color: rgba(var(--brand-accent-rgb,56,189,248), .28) !important;
  color: var(--brand-nav,#0f172a) !important;
}
.flag.stock,
.sales-grid tbody tr.stock-var:not(.zero-price):not(.campaign-row),
.sales-grid tbody tr.stock-var:not(.zero-price):not(.campaign-row) td {
  background: var(--theme-row-stock-ok,#eefbdc) !important;
  color: var(--brand-nav,#0f172a) !important;
}
.flag.super,
.previous-purchase-row,
.sales-grid tbody tr.previous-purchase-row td {
  background: var(--theme-row-previous,#f5f3ff) !important;
}
.sales-grid tbody tr.stock-sinirli:not(.zero-price):not(.campaign-row),
.sales-grid tbody tr.stock-sinirli:not(.zero-price):not(.campaign-row) td,
.stock-status-pill.stock-low {
  background: var(--theme-row-stock-low,#fff7ed) !important;
}
.sales-grid tbody tr.stock-tedarik:not(.zero-price):not(.campaign-row),
.sales-grid tbody tr.stock-egt:not(.zero-price):not(.campaign-row),
.sales-grid tbody tr.stock-tedarik:not(.zero-price):not(.campaign-row) td,
.sales-grid tbody tr.stock-egt:not(.zero-price):not(.campaign-row) td,
.stock-status-pill.stock-supply {
  background: var(--theme-row-stock-supply,#eff6ff) !important;
}
.sales-grid tbody tr.stock-yok:not(.campaign-row),
.sales-grid tbody tr.stock-yok:not(.campaign-row) td,
.sales-grid tbody tr.zero-price,
.sales-grid tbody tr.zero-price td,
.stock-status-pill.stock-none {
  background: var(--theme-row-stock-none,#fef2f2) !important;
}

.filter-row label {
  color: var(--brand-nav,#0f172a) !important;
}
.operation-buttons button:hover,
.detail-btn:hover,
.action-btn:hover,
.btn-cart-add:not(:disabled):hover {
  background: var(--theme-primary-soft) !important;
}
.catalog-status span,
.catalog-status strong {
  color: var(--brand-primary,#2563eb) !important;
}

.sales-grid th,
.account-table th,
.orders-table th,
.requests-table th,
.compass-table th {
  background: var(--theme-grid-header-gradient) !important;
  color: #fff !important;
  border-right-color: rgba(255,255,255,.12) !important;
}
.sales-grid tbody tr:hover,
.sales-grid tbody tr:hover td {
  background: rgba(var(--brand-primary-rgb,37,99,235), .08) !important;
}
.discount-pill,
.discount-pill:not(.empty),
.info-dot,
.badge.featured,
.btn-cart-add:not(:disabled),
.home-hero-cta,
.announcement-link {
  background: var(--brand-primary,#2563eb) !important;
  color: #fff !important;
}
.info-dot,
.badge.campaign {
  background: var(--brand-accent,#38bdf8) !important;
  color: #fff !important;
}
.stock-status-pill.stock-ok,
.badge.stock-ok {
  background: var(--theme-row-stock-ok,#eefbdc) !important;
  border-color: rgba(var(--brand-primary-rgb,37,99,235), .18) !important;
  color: var(--brand-primary,#2563eb) !important;
}

.home-hero-panel {
  background: radial-gradient(circle at 92% 0%, rgba(var(--brand-accent-rgb,56,189,248), .36), transparent 36%), linear-gradient(135deg, var(--brand-nav,#0f172a), var(--brand-primary,#2563eb) 64%, var(--brand-accent,#38bdf8)) !important;
}
.home-kicker,
.announcement-text span,
.announcement-badge {
  background: var(--theme-primary-soft) !important;
  color: var(--brand-primary,#2563eb) !important;
}
.home-section-head button,
.external-menu-actions button {
  color: var(--brand-primary,#2563eb) !important;
}

@media (max-width: 760px) {
  .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  .right-widgets.header-context-widgets > .header-representative-card,
  .right-widgets.header-context-widgets > .representative-widget {
    background: var(--theme-button-gradient-rev) !important;
    color: #fff !important;
  }
  .right-widgets.header-context-widgets > #headerRepresentativeWidget > span,
  .right-widgets.header-context-widgets > .header-representative-card > span,
  .right-widgets.header-context-widgets > .representative-widget > span {
    background: rgba(255,255,255,.16) !important;
    color: rgba(255,255,255,.94) !important;
  }
}


/* ==========================================================
   V15J_MOBILE_V3_PREMIUM_PHASE1
   Rollback: replace this file with V15I version or upload V15I changed package.
   Scope: mobile layout polish only; no API / SQL / business logic change.
   Goals: compact corporate header, 2x2 info cards, safer horizontal nav,
          compact home hero/search, no right clipping on mobile.
   ========================================================== */
@media (max-width: 760px) {
  html, body, #appRoot, .page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    background: linear-gradient(180deg, #f8fbff 0%, var(--surface-tint, #eef4fb) 52%, #f6f9fc 100%) !important;
  }

  #appRoot .identity-header,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 14px 12px 12px !important;
    border: 0 !important;
    border-radius: 0 0 28px 28px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)) !important;
    box-shadow: 0 14px 42px rgba(var(--brand-nav-rgb, 15,23,42), .10) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  #appRoot .identity-header .logo-area,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-area {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 78px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 4px !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  #appRoot .identity-header .brand-logo-image,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .brand-logo-image {
    display: block !important;
    width: auto !important;
    max-width: min(300px, 82vw) !important;
    max-height: 82px !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
  }

  #appRoot .identity-header .logo-mark:not(.hidden),
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-mark:not(.hidden) {
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
  }

  #appRoot .identity-header .logo-title,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-title {
    max-width: 72vw !important;
    font-size: 22px !important;
    line-height: 1.04 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #appRoot .identity-header .logo-subtitle,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-subtitle {
    max-width: 72vw !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets > *,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > * {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 82px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 11px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    border: 1px solid rgba(148, 163, 184, .22) !important;
    background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
    box-shadow: 0 12px 30px rgba(var(--brand-nav-rgb, 15,23,42), .07) !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget {
    align-items: center !important;
    text-align: center !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget {
    padding-right: 10px !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card {
    background: linear-gradient(135deg, var(--brand-primary, #2563eb), var(--brand-nav, #0f172a)) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.16) !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets span,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets span {
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 0 5px !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    background: rgba(var(--brand-primary-rgb,37,99,235), .08) !important;
    color: #64748b !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
    text-transform: none !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets #headerRepresentativeWidget span,
  #appRoot .identity-header .right-widgets.header-context-widgets .header-representative-card span,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets #headerRepresentativeWidget span,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets .header-representative-card span {
    background: rgba(255,255,255,.17) !important;
    color: rgba(255,255,255,.92) !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets strong {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 16px !important;
    line-height: 1.13 !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets small,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets small {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 3px !important;
    color: #64748b !important;
    font-size: 11.5px !important;
    line-height: 1.22 !important;
    font-weight: 850 !important;
    white-space: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  #appRoot #activeCustomerBalanceText,
  body[data-theme-preset="premium_v2"] #appRoot #activeCustomerBalanceText {
    -webkit-line-clamp: 1 !important;
    color: #047857 !important;
    font-size: 11.5px !important;
  }

  #appRoot #headerRepresentativeWidget strong,
  #appRoot #headerRepresentativeWidget small,
  body[data-theme-preset="premium_v2"] #appRoot #headerRepresentativeWidget strong,
  body[data-theme-preset="premium_v2"] #appRoot #headerRepresentativeWidget small {
    color: #fff !important;
  }

  #appRoot .tile-menu,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    min-width: 0 !important;
    height: 72px !important;
    margin: 12px 12px 0 !important;
    padding: 0 !important;
    border-radius: 24px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    scroll-snap-type: x proximity !important;
    background: linear-gradient(90deg, var(--brand-nav, #0f172a), var(--brand-primary, #2563eb)) !important;
    box-shadow: 0 16px 36px rgba(var(--brand-nav-rgb,15,23,42), .18) !important;
    box-sizing: border-box !important;
  }
  #appRoot .tile-menu::-webkit-scrollbar{display:none!important;}

  #appRoot .tile-menu .tile,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile {
    flex: 0 0 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    width: 104px !important;
    height: 72px !important;
    border: 0 !important;
    border-right: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255,255,255,.88) !important;
    scroll-snap-align: start !important;
  }

  #appRoot .tile-menu .tile span,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile span {
    font-size: 22px !important;
    line-height: 1 !important;
  }
  #appRoot .tile-menu .tile b,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile b {
    font-size: 12px !important;
    line-height: 1.1 !important;
  }
  #appRoot .tile-menu .tile.active,
  #appRoot .tile-menu .tile.active2,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile.active,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile.active2 {
    background: rgba(255,255,255,.13) !important;
    box-shadow: inset 0 -4px 0 var(--brand-accent, #38bdf8) !important;
    color: #fff !important;
  }

  #appRoot .content-wrap,
  body[data-theme-preset="premium_v2"] #appRoot .content-wrap {
    padding: 12px 10px 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.route-home #appRoot .home-hero-panel,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-hero-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 18px !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    box-shadow: 0 22px 48px rgba(var(--brand-nav-rgb,15,23,42), .20) !important;
  }

  body.route-home #appRoot .home-kicker,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-kicker {
    padding: 5px 10px !important;
    font-size: 11px !important;
    border-radius: 999px !important;
  }
  body.route-home #appRoot .home-hero-panel h2,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-hero-panel h2 {
    margin: 12px 0 6px !important;
    font-size: clamp(28px, 9vw, 38px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.055em !important;
  }
  body.route-home #appRoot .home-hero-panel p,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-hero-panel p {
    font-size: 14px !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
  }

  body.route-home #appRoot .home-quick-search,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-quick-search {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.16) !important;
    border: 1px solid rgba(255,255,255,.24) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.20) !important;
  }
  body.route-home #appRoot .home-quick-search input,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-quick-search input {
    height: 54px !important;
    border-radius: 18px !important;
    padding: 0 16px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
  }
  body.route-home #appRoot .home-quick-search button,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-quick-search button {
    height: 52px !important;
    border-radius: 18px !important;
    font-size: 16px !important;
  }

  body.route-home #appRoot .home-hero-statline,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-hero-statline {
    display: none !important;
  }

  body.route-home #appRoot .home-hero-dynamic,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-hero-dynamic {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.route-home #appRoot .brand-marquee,
  body[data-theme-preset="premium_v2"].route-home #appRoot .brand-marquee {
    height: auto !important;
    min-height: 116px !important;
    padding: 10px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }
  body.route-home #appRoot .brand-marquee-track,
  body[data-theme-preset="premium_v2"].route-home #appRoot .brand-marquee-track {
    width: 100% !important;
    min-width: 0 !important;
    gap: 10px !important;
    animation: none !important;
    transform: none !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }
  body.route-home #appRoot .brand-marquee-track::-webkit-scrollbar{display:none!important;}
  body.route-home #appRoot .brand-marquee-item,
  body[data-theme-preset="premium_v2"].route-home #appRoot .brand-marquee-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    height: 94px !important;
    border-radius: 18px !important;
  }
  body.route-home #appRoot .brand-marquee-item img,
  body[data-theme-preset="premium_v2"].route-home #appRoot .brand-marquee-item img {
    max-width: 92% !important;
    max-height: 72px !important;
    object-fit: contain !important;
  }
  body.route-home #appRoot .brand-marquee-item b,
  body[data-theme-preset="premium_v2"].route-home #appRoot .brand-marquee-item b {
    display: none !important;
  }

  body.route-home #appRoot .home-featured-zone,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone {
    gap: 12px !important;
    margin-top: 12px !important;
  }
  body.route-home #appRoot .home-featured-panel,
  body.route-home #appRoot .home-announcements-panel,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-panel,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-announcements-panel {
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  body.route-home #appRoot .home-featured-grid,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 12px !important;
  }
}

@media (max-width: 380px) {
  #appRoot .identity-header .right-widgets.header-context-widgets,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets {
    gap: 8px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > *,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > * {
    padding: 9px 8px !important;
    border-radius: 18px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets strong {
    font-size: 14.5px !important;
  }
  #appRoot .tile-menu .tile,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile {
    flex-basis: 98px !important;
    min-width: 98px !important;
    max-width: 98px !important;
    width: 98px !important;
  }
}

/* ==========================================================
   V15K_MOBILE_V3_HEADER_COMPACT
   Rollback: replace this file with V15J version or upload V15J changed package.
   Scope: mobile header density only; no API / SQL / business logic change.
   Goals: shorter logo/header, true 2x2 info cards, compact nav and hero.
   ========================================================== */
@media (max-width: 760px) {
  #appRoot .identity-header,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header {
    gap: 7px !important;
    padding: 8px 10px 9px !important;
    border-radius: 0 0 22px 22px !important;
    box-shadow: 0 10px 28px rgba(var(--brand-nav-rgb,15,23,42), .08) !important;
  }

  #appRoot .identity-header .logo-area,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-area {
    min-height: 46px !important;
    height: 48px !important;
    max-height: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #appRoot .identity-header .brand-logo-image,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .brand-logo-image {
    max-height: 48px !important;
    max-width: min(190px, 58vw) !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  #appRoot .identity-header .logo-mark:not(.hidden),
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-mark:not(.hidden) {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
  }

  #appRoot .identity-header .logo-title,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-title {
    font-size: 18px !important;
    line-height: 1 !important;
  }
  #appRoot .identity-header .logo-subtitle,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-subtitle {
    font-size: 10px !important;
    line-height: 1.05 !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget { order: 1 !important; }
  #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget { order: 2 !important; }
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget { order: 3 !important; }
  #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card { order: 4 !important; }

  #appRoot .identity-header .right-widgets.header-context-widgets > *,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > * {
    grid-column: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 62px !important;
    height: 62px !important;
    padding: 7px 8px !important;
    border-radius: 17px !important;
    box-shadow: 0 8px 20px rgba(var(--brand-nav-rgb,15,23,42), .055) !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget {
    grid-column: auto !important;
    padding: 7px 8px !important;
    min-height: 66px !important;
    height: 66px !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card {
    grid-column: auto !important;
    align-items: flex-start !important;
    text-align: left !important;
    min-height: 66px !important;
    height: 66px !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets span,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets span {
    margin: 0 0 4px !important;
    padding: 2px 7px !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets strong {
    font-size: 15px !important;
    line-height: 1.08 !important;
    letter-spacing: -.015em !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets small,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets small {
    margin-top: 2px !important;
    font-size: 10.5px !important;
    line-height: 1.12 !important;
    -webkit-line-clamp: 1 !important;
  }

  #appRoot #activeCustomerNameText,
  body[data-theme-preset="premium_v2"] #appRoot #activeCustomerNameText,
  #appRoot #activeCustomerBalanceText,
  body[data-theme-preset="premium_v2"] #appRoot #activeCustomerBalanceText {
    -webkit-line-clamp: 1 !important;
  }

  #appRoot .customer-context-widget .customer-card-actions,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-card-actions {
    position: absolute !important;
    right: 7px !important;
    top: 7px !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 26px !important;
    height: 22px !important;
    overflow: hidden !important;
    opacity: .96 !important;
  }

  #appRoot .customer-context-widget .customer-password-link,
  #appRoot .customer-context-widget .customer-switch-hint,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-password-link,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-switch-hint {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    text-indent: -999px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  #appRoot .customer-context-widget .customer-password-link::before,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-password-link::before {
    content: "🔑" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    text-indent: 0 !important;
    font-size: 13px !important;
  }

  #appRoot .tile-menu,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    height: 58px !important;
    margin: 8px 10px 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 28px rgba(var(--brand-nav-rgb,15,23,42), .16) !important;
  }

  #appRoot .tile-menu .tile,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile {
    flex-basis: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    width: 88px !important;
    height: 58px !important;
    gap: 4px !important;
  }
  #appRoot .tile-menu .tile span,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile span {
    font-size: 18px !important;
  }
  #appRoot .tile-menu .tile b,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile b {
    font-size: 10.5px !important;
    line-height: 1.05 !important;
  }
  #appRoot .tile-menu .tile.active,
  #appRoot .tile-menu .tile.active2,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile.active,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile.active2 {
    box-shadow: inset 0 -3px 0 var(--brand-accent, #38bdf8) !important;
  }

  #appRoot .content-wrap,
  body[data-theme-preset="premium_v2"] #appRoot .content-wrap {
    padding-top: 8px !important;
  }

  body.route-home #appRoot .home-hero-panel,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-hero-panel {
    padding: 14px !important;
    border-radius: 22px !important;
    gap: 10px !important;
  }
  body.route-home #appRoot .home-hero-panel h2,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-hero-panel h2 {
    margin: 8px 0 4px !important;
    font-size: clamp(26px, 8vw, 32px) !important;
  }
  body.route-home #appRoot .home-hero-panel p,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-hero-panel p {
    margin: 0 0 4px !important;
    font-size: 13px !important;
    line-height: 1.26 !important;
  }
  body.route-home #appRoot .home-quick-search,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-quick-search {
    gap: 8px !important;
    padding: 8px !important;
    border-radius: 20px !important;
  }
  body.route-home #appRoot .home-quick-search input,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-quick-search input {
    height: 48px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
  }
  body.route-home #appRoot .home-quick-search button,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-quick-search button {
    height: 46px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 380px) {
  #appRoot .identity-header .right-widgets.header-context-widgets > *,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > * {
    min-height: 58px !important;
    height: 58px !important;
    padding: 6px 7px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget {
    min-height: 62px !important;
    height: 62px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets strong {
    font-size: 13.5px !important;
  }
  #appRoot .tile-menu .tile,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile {
    flex-basis: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    width: 82px !important;
  }
}

/* ==========================================================
   V15L_MOBILE_V3_HEADER_READABILITY_DENSITY_FIX
   Rollback: replace this file with V15K version or upload V15K changed package.
   Scope: mobile header only; no API / SQL / business logic change.
   Goal: keep compact 2x2 header, but stop text clipping and use top area better.
   ========================================================== */
@media (max-width: 760px) {
  #appRoot .identity-header,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header {
    gap: 6px !important;
    padding: 6px 10px 8px !important;
    border-radius: 0 0 20px 20px !important;
  }

  #appRoot .identity-header .logo-area,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-area {
    min-height: 34px !important;
    height: 38px !important;
    max-height: 40px !important;
  }
  #appRoot .identity-header .brand-logo-image,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .brand-logo-image {
    max-height: 38px !important;
    max-width: min(150px, 46vw) !important;
  }
  #appRoot .identity-header .logo-mark:not(.hidden),
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-mark:not(.hidden) {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
  }
  #appRoot .identity-header .logo-title,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-title {
    font-size: 16px !important;
  }
  #appRoot .identity-header .logo-subtitle,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-subtitle {
    display: none !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets {
    gap: 7px !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets > *,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > * {
    min-height: 64px !important;
    height: 64px !important;
    padding: 7px 9px !important;
    border-radius: 16px !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  /* Kur kartı: tarih ve iki kur satırı kesilmeden sığsın */
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget {
    align-items: flex-start !important;
    gap: 1px !important;
    padding: 6px 8px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget > span,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget > span {
    margin: 0 0 3px !important;
    padding: 2px 7px !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget strong {
    gap: 0 !important;
    font-size: 9.8px !important;
    line-height: 1.02 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: flex !important;
    flex-direction: column !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line {
    gap: 4px !important;
    min-height: 10px !important;
    line-height: 1.02 !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget small,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget small {
    display: block !important;
    margin-top: 2px !important;
    font-size: 9.3px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Sepet kartı: ortalı ve daha net */
  #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget {
    align-items: center !important;
    text-align: center !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget strong {
    font-size: 16px !important;
    line-height: 1.05 !important;
    text-align: center !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget small,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget small {
    font-size: 10.5px !important;
    line-height: 1.05 !important;
    text-align: center !important;
    white-space: nowrap !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
  }

  /* Cari kartı: ana problem olan kesilme ve anahtar ikonunun metne binmesi giderildi */
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget {
    min-height: 72px !important;
    height: 72px !important;
    padding: 7px 32px 7px 9px !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget > span,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget > span {
    margin-bottom: 3px !important;
    padding: 2px 7px !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget strong {
    font-size: 12.6px !important;
    line-height: 1.02 !important;
    margin: 0 !important;
    letter-spacing: .01em !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget small,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget small {
    margin-top: 2px !important;
    font-size: 9.7px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
  }
  #appRoot #activeCustomerBalanceText,
  body[data-theme-preset="premium_v2"] #appRoot #activeCustomerBalanceText {
    font-size: 9.7px !important;
    line-height: 1.05 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
  }
  #appRoot .customer-context-widget .customer-card-actions,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-card-actions {
    right: 7px !important;
    top: 8px !important;
    max-width: 22px !important;
    width: 22px !important;
    height: 22px !important;
    z-index: 4 !important;
  }

  /* Temsilci kartı: okunur ama kısa */
  #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card {
    min-height: 72px !important;
    height: 72px !important;
    padding: 7px 9px !important;
  }
  #appRoot #headerRepresentativeWidget strong,
  body[data-theme-preset="premium_v2"] #appRoot #headerRepresentativeWidget strong {
    font-size: 13.5px !important;
    line-height: 1.05 !important;
  }
  #appRoot #headerRepresentativeWidget small,
  body[data-theme-preset="premium_v2"] #appRoot #headerRepresentativeWidget small {
    font-size: 10.5px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
  }

  /* Menü biraz daha kısa; kesilme hissi azalsın */
  #appRoot .tile-menu,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu {
    height: 54px !important;
    margin-top: 7px !important;
    border-radius: 18px !important;
  }
  #appRoot .tile-menu .tile,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile {
    height: 54px !important;
    flex-basis: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    width: 84px !important;
    gap: 3px !important;
  }
  #appRoot .tile-menu .tile span,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile span {
    font-size: 16px !important;
  }
  #appRoot .tile-menu .tile b,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile b {
    font-size: 10px !important;
  }

  #appRoot .content-wrap,
  body[data-theme-preset="premium_v2"] #appRoot .content-wrap {
    padding-top: 7px !important;
  }
}

@media (max-width: 380px) {
  #appRoot .identity-header,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets {
    gap: 6px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > *,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > * {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget {
    padding-right: 29px !important;
  }
  #appRoot .tile-menu .tile,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile {
    flex-basis: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    width: 80px !important;
  }
}

/* ==========================================================
   V15M_MOBILE_V3_HEADER_EFFICIENCY_FIX
   Rollback: replace this file with V15L version or upload V15L changed package.
   Scope: mobile header/nav CSS only; no API / SQL / business logic change.
   Goal: use top area more efficiently by removing separate logo row,
         keeping 2x2 info cards readable and fixing right-side menu clipping.
   ========================================================== */
@media (max-width: 760px) {
  #appRoot .identity-header,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: stretch !important;
    column-gap: 7px !important;
    row-gap: 0 !important;
    padding: 7px 8px 8px !important;
    border-radius: 0 0 18px 18px !important;
    overflow: visible !important;
  }

  /* Mobilde logo ayrı satır yemesin; sol tarafta küçük kurumsal rozet olsun. */
  #appRoot .identity-header .logo-area,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-area {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 17px !important;
    background: rgba(255,255,255,.68) !important;
    border: 1px solid rgba(148,163,184,.22) !important;
    box-shadow: 0 8px 20px rgba(var(--brand-nav-rgb,15,23,42),.055) !important;
    overflow: hidden !important;
  }
  #appRoot .identity-header .logo-area > div:not(.logo-mark),
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-area > div:not(.logo-mark) {
    display: none !important;
  }
  #appRoot .identity-header .brand-logo-image,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .brand-logo-image {
    max-width: 34px !important;
    max-height: 34px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
  }
  #appRoot .identity-header .logo-mark:not(.hidden),
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-mark:not(.hidden) {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    margin: 0 !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 7px !important;
    align-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets > *,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > * {
    min-height: 66px !important;
    height: 66px !important;
    padding: 7px 8px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  /* Kur kartı: başlık kesilmesin; iki kur satırı ve tarih okunur kalsın. */
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget {
    justify-content: center !important;
    gap: 1px !important;
    padding: 6px 7px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget > span,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget > span {
    max-width: 100% !important;
    margin: 0 0 3px !important;
    padding: 2px 6px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    overflow: visible !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget strong {
    font-size: 9.6px !important;
    line-height: 1.04 !important;
    overflow: visible !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line {
    gap: 3px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line b,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line b,
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line em,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line em {
    padding: 2px 6px !important;
    border-radius: 999px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget small,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget small {
    font-size: 9px !important;
    line-height: 1 !important;
    margin-top: 2px !important;
  }

  /* Cari/Temsilci: sıkışmadan okunur, kart yüksekliği aynı. */
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card {
    min-height: 68px !important;
    height: 68px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget {
    padding-right: 31px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget strong {
    font-size: 12.4px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget small,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget small,
  #appRoot #activeCustomerBalanceText,
  body[data-theme-preset="premium_v2"] #appRoot #activeCustomerBalanceText {
    font-size: 9.5px !important;
  }
  #appRoot #headerRepresentativeWidget strong,
  body[data-theme-preset="premium_v2"] #appRoot #headerRepresentativeWidget strong {
    font-size: 12.8px !important;
  }
  #appRoot #headerRepresentativeWidget small,
  body[data-theme-preset="premium_v2"] #appRoot #headerRepresentativeWidget small {
    font-size: 10px !important;
  }

  /* Menü: 4 item ekrana daha iyi sığsın, uzun yazı sağdan kesilmesin. */
  #appRoot .tile-menu,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    height: 52px !important;
    margin: 7px 8px 0 !important;
    border-radius: 17px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }
  #appRoot .tile-menu::-webkit-scrollbar,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu::-webkit-scrollbar {
    display: none !important;
  }
  #appRoot .tile-menu .tile,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile {
    flex-basis: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    width: 82px !important;
    height: 52px !important;
    padding: 5px 3px !important;
    gap: 2px !important;
  }
  #appRoot .tile-menu .tile span,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile span {
    font-size: 15px !important;
    line-height: 1 !important;
  }
  #appRoot .tile-menu .tile b,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile b {
    max-width: 100% !important;
    font-size: 9.4px !important;
    line-height: 1.04 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: center !important;
  }

  #appRoot .content-wrap,
  body[data-theme-preset="premium_v2"] #appRoot .content-wrap {
    padding-top: 6px !important;
  }
}

@media (max-width: 380px) {
  #appRoot .identity-header,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    column-gap: 6px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
  #appRoot .identity-header .logo-area,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-area {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
  }
  #appRoot .identity-header .brand-logo-image,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .brand-logo-image {
    max-width: 31px !important;
    max-height: 31px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets {
    gap: 6px !important;
  }
  #appRoot .tile-menu .tile,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile {
    flex-basis: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    width: 78px !important;
  }
}

/* ==========================================================
   V15N_MOBILE_STABLE_HEADER_LAYOUT
   Rollback: replace this file with V15M version or upload V15M changed package.
   Scope: mobile header/nav CSS only; no API / SQL / business logic change.
   Goal: stable, non-clipping mobile header. Kur+Sepet 2 columns; Cari and Temsilci full-width.
   ========================================================== */
@media (max-width: 760px) {
  #appRoot .identity-header,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    align-items: stretch !important;
    gap: 7px !important;
    padding: 6px 9px 9px !important;
    border-radius: 0 0 18px 18px !important;
    overflow: visible !important;
  }

  /* Logo yeniden kendi kısa satırında; üst alanı yemez ama grid sıkışması da oluşturmaz. */
  #appRoot .identity-header .logo-area,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-area {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 30px !important;
    height: 32px !important;
    max-height: 34px !important;
    align-self: center !important;
    justify-self: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  #appRoot .identity-header .logo-area > div:not(.logo-mark),
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-area > div:not(.logo-mark) {
    display: none !important;
  }
  #appRoot .identity-header .brand-logo-image,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .brand-logo-image {
    max-width: min(96px, 26vw) !important;
    max-height: 30px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
  }
  #appRoot .identity-header .logo-mark:not(.hidden),
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .logo-mark:not(.hidden) {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    margin: 0 !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets {
    grid-column: auto !important;
    grid-row: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 7px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    align-self: stretch !important;
    align-items: stretch !important;
  }

  #appRoot .identity-header .right-widgets.header-context-widgets > *,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 9px 10px !important;
    border-radius: 17px !important;
    overflow: hidden !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  /* Sadece kısa veri taşıyan kartlar iki kolonda kalır. */
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget {
    order: 1 !important;
    grid-column: span 1 !important;
    min-height: 82px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 3px !important;
    overflow: visible !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget {
    order: 2 !important;
    grid-column: span 1 !important;
    min-height: 82px !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Uzun ve değişken veri taşıyan kartlar tam genişlikte çalışır. */
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget {
    order: 3 !important;
    grid-column: 1 / -1 !important;
    min-height: 92px !important;
    padding: 10px 44px 10px 12px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    overflow: hidden !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > #headerRepresentativeWidget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .header-representative-card {
    order: 4 !important;
    grid-column: 1 / -1 !important;
    min-height: 70px !important;
    padding: 10px 12px !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
  }

  /* Başlık rozetleri akış içinde; yukarı taşmaz/kesilmez. */
  #appRoot .identity-header .right-widgets.header-context-widgets > * > span,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > * > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100% !important;
    width: auto !important;
    margin: 0 0 5px 0 !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    line-height: 1.05 !important;
    font-size: 10.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }

  /* Kur kartı stabil görünüm */
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget strong {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    width: 100% !important;
    font-size: 10.5px !important;
    line-height: 1.05 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    max-width: 100% !important;
    min-height: 18px !important;
    line-height: 1 !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line b,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line b,
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line em,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget .exchange-rate-line em {
    padding: 3px 8px !important;
    border-radius: 999px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget small,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget small {
    display: block !important;
    margin-top: 3px !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Sepet kartı stabil görünüm */
  #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget strong {
    display: block !important;
    font-size: 18px !important;
    line-height: 1.08 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget small,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget small {
    display: block !important;
    margin-top: 4px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    -webkit-line-clamp: unset !important;
  }

  /* Cari uzun ünvan için stabil: kod 1 satır, ünvan 2 satır, bakiye 1 satır. */
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget strong,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget strong {
    display: block !important;
    max-width: 100% !important;
    margin: 0 0 3px !important;
    font-size: 16px !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: .01em !important;
  }
  #appRoot #activeCustomerNameText,
  body[data-theme-preset="premium_v2"] #appRoot #activeCustomerNameText,
  #appRoot .customer-context-widget .customer-title-line,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-title-line {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    max-width: 100% !important;
    margin-top: 2px !important;
    font-size: 12.4px !important;
    line-height: 1.18 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  #appRoot #activeCustomerBalanceText,
  body[data-theme-preset="premium_v2"] #appRoot #activeCustomerBalanceText,
  #appRoot .customer-context-widget .balance-line,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .balance-line {
    display: block !important;
    max-width: 100% !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Mobilde aksiyonlar metne binmesin: ikon rozetleri sağ üstte dar alanda. */
  #appRoot .customer-context-widget .customer-card-actions,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-card-actions {
    position: absolute !important;
    right: 10px !important;
    top: 10px !important;
    transform: none !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    overflow: visible !important;
    z-index: 5 !important;
  }
  #appRoot .customer-context-widget .customer-card-actions .customer-switch-hint,
  #appRoot .customer-context-widget .customer-card-actions .customer-password-link,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-card-actions .customer-switch-hint,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-card-actions .customer-password-link {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
  #appRoot .customer-context-widget .customer-card-actions .customer-switch-hint::before,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-card-actions .customer-switch-hint::before {
    content: "↻" !important;
    font-size: 15px !important;
    line-height: 1 !important;
  }
  #appRoot .customer-context-widget .customer-card-actions .customer-password-link::before,
  body[data-theme-preset="premium_v2"] #appRoot .customer-context-widget .customer-card-actions .customer-password-link::before {
    content: "🔑" !important;
    font-size: 15px !important;
    line-height: 1 !important;
  }

  /* Temsilci tam genişlikte stabil ve daha kısa */
  #appRoot #headerRepresentativeWidget strong,
  body[data-theme-preset="premium_v2"] #appRoot #headerRepresentativeWidget strong {
    display: block !important;
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  #appRoot #headerRepresentativeWidget small,
  body[data-theme-preset="premium_v2"] #appRoot #headerRepresentativeWidget small {
    display: block !important;
    max-width: 100% !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #appRoot .tile-menu,
  body[data-theme-preset="premium_v2"] #appRoot .tile-menu {
    margin-top: 7px !important;
  }
}

@media (max-width: 380px) {
  #appRoot .identity-header,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header {
    grid-template-columns: none !important;
    gap: 6px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets {
    gap: 6px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget,
  #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .exchange-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .cart-widget {
    min-height: 78px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  body[data-theme-preset="premium_v2"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget {
    min-height: 96px !important;
  }
}

/* =========================================================
   V15O - Mobil temsilci kartını sayfa altına taşıma
   Amaç: üst alanı sadeleştirmek, kur/sepet/cari düzenini rahatlatmak.
   ========================================================= */
@media (max-width: 768px){
  #appRoot.mobile-rep-relocated .identity-header .right-widgets.header-context-widgets{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
  }

  #appRoot.mobile-rep-relocated .identity-header .right-widgets.header-context-widgets > .exchange-widget,
  #appRoot.mobile-rep-relocated .identity-header .right-widgets.header-context-widgets > .cart-widget{
    min-height:98px!important;
  }

  #appRoot.mobile-rep-relocated .identity-header .right-widgets.header-context-widgets > .customer-context-widget,
  body[data-theme-preset="premium_v2"] #appRoot.mobile-rep-relocated .identity-header .right-widgets.header-context-widgets > .customer-context-widget{
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:none!important;
    min-height:108px!important;
    padding:14px 16px!important;
  }

  #mobileRepresentativeDock{
    display:none;
    margin:14px 16px 4px!important;
  }

  #mobileRepresentativeDock .header-representative-card,
  #mobileRepresentativeDock .representative-widget{
    width:100%!important;
    min-height:unset!important;
    margin:0!important;
    padding:14px 16px!important;
    border-radius:22px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:6px!important;
    background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 36%,#0f172a 100%)!important;
    box-shadow:0 16px 34px rgba(15,23,42,.16)!important;
    border:1px solid rgba(255,255,255,.16)!important;
    position:relative!important;
    overflow:hidden!important;
  }

  #mobileRepresentativeDock .header-representative-card::after,
  #mobileRepresentativeDock .representative-widget::after{
    content:"";
    position:absolute;
    inset:auto -20% -55% auto;
    width:180px;
    height:180px;
    border-radius:999px;
    background:radial-gradient(circle,rgba(255,255,255,.14) 0%,rgba(255,255,255,0) 72%);
    pointer-events:none;
  }

  #mobileRepresentativeDock .header-representative-card > span,
  #mobileRepresentativeDock .representative-widget > span{
    align-self:center!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:28px!important;
    padding:4px 12px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.16)!important;
    color:rgba(255,255,255,.92)!important;
    font-size:12px!important;
    font-weight:800!important;
    letter-spacing:.02em!important;
  }

  #mobileRepresentativeDock .header-representative-card strong,
  #mobileRepresentativeDock .representative-widget strong{
    color:#fff!important;
    font-size:15px!important;
    line-height:1.25!important;
    font-weight:900!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }

  #mobileRepresentativeDock .header-representative-card small,
  #mobileRepresentativeDock .representative-widget small{
    color:rgba(255,255,255,.88)!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1.3!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }

  #appRoot.mobile-rep-relocated .footer-line{
    margin-top:14px!important;
  }
}

/* V15Q - Plasiyer Pusula V2 mobil-first sade takip ekranı */
.compass-page-v2{
  --compass-radius:22px;
  --compass-soft:rgba(var(--brand-primary-rgb,37,99,235),.08);
  --compass-line:rgba(var(--brand-primary-rgb,37,99,235),.14);
  gap:0!important;
  overflow:hidden;
}
.compass-page-v2 .compass-head{
  align-items:center;
  gap:14px;
}
.compass-page-v2 .compass-head small{
  max-width:680px;
  opacity:.88;
}
.compass-page-v2 .compass-actions{
  min-width:min(320px,100%);
}
.compass-page-v2 .compass-actions select{
  min-height:42px;
  border-radius:14px;
  font-weight:950;
}
.compass-page-v2 .compass-refresh-btn{
  min-height:42px;
  border-radius:14px;
}
.compass-page-v2 .compass-body{
  display:grid;
  gap:14px;
  padding:16px!important;
  background:linear-gradient(180deg,#f6f9fd 0%,#ffffff 70%);
}
.compass-period-note-v2{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:11px 13px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.82)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.045);
}
.compass-page-v2 .compass-quick-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.compass-page-v2 .compass-period-card{
  min-height:82px;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  border:1px solid var(--compass-line)!important;
  box-shadow:0 12px 28px rgba(15,23,42,.055)!important;
  padding:13px 14px!important;
}
.compass-page-v2 .compass-period-card strong{
  font-size:20px;
  letter-spacing:-.035em;
}
.compass-page-v2 .compass-period-card.active{
  transform:translateY(-1px);
  box-shadow:0 18px 36px rgba(var(--brand-primary-rgb,37,99,235),.18)!important;
}
.compass-kpi-grid-v2{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.compass-page-v2 .compass-kpi{
  min-height:92px;
  border-radius:20px!important;
  padding:15px 16px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  border:1px solid rgba(15,23,42,.075)!important;
  box-shadow:0 12px 28px rgba(15,23,42,.052)!important;
}
.compass-page-v2 .compass-kpi strong{
  font-size:24px;
  letter-spacing:-.04em;
}
.compass-action-strip-v2{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.compass-page-v2 .compass-action-card{
  min-height:86px;
  border-radius:20px!important;
  box-shadow:0 12px 26px rgba(15,23,42,.055)!important;
}
.compass-v2-layout{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  gap:14px;
  align-items:start;
}
.compass-v2-layout .compass-panel.wide{
  grid-column:auto;
  grid-row:span 4;
}
.compass-page-v2 .compass-panel{
  border-radius:22px!important;
  border:1px solid rgba(15,23,42,.08)!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(15,23,42,.062)!important;
  overflow:hidden;
}
.compass-page-v2 .compass-panel header{
  position:sticky;
  top:0;
  z-index:1;
  min-height:52px;
  background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
  border-bottom:1px solid rgba(15,23,42,.07)!important;
}
.compass-page-v2 .compass-panel header strong{
  font-size:14px;
  letter-spacing:-.015em;
}
.compass-page-v2 .compass-list{
  max-height:520px;
  overflow:auto;
}
.compass-page-v2 .compass-sales-panel .compass-list{
  max-height:720px;
}
.compass-page-v2 .compass-list-row{
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  min-height:64px;
  padding:12px 14px!important;
}
.compass-page-v2 .compass-list-row strong{
  font-size:13px;
  letter-spacing:-.01em;
}
.compass-page-v2 .compass-list-row span,
.compass-page-v2 .compass-list-row small{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
.compass-page-v2 .compass-sale-line-row strong{
  color:var(--brand-primary,#2563eb)!important;
}
.compass-page-v2 .compass-cart-preview{
  display:-webkit-box!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  white-space:normal!important;
  color:#475569!important;
  line-height:1.28!important;
}
.compass-page-v2 .compass-row-side{
  align-content:center;
}
.compass-page-v2 .compass-row-side b{
  font-size:13px!important;
  color:var(--brand-primary,#2563eb)!important;
}
.compass-page-v2 .compass-mini-btn,
.compass-page-v2 .compass-link-btn{
  border-radius:999px!important;
  min-height:31px;
  font-weight:950;
}
@media(max-width:1100px){
  .compass-page-v2 .compass-quick-grid,
  .compass-kpi-grid-v2,
  .compass-action-strip-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .compass-v2-layout{grid-template-columns:1fr;}
  .compass-v2-layout .compass-panel.wide{grid-row:auto;}
}
@media(max-width:760px){
  .compass-page-v2{border-radius:0!important;margin:-10px!important;}
  .compass-page-v2 .compass-head{padding:14px!important;align-items:stretch;}
  .compass-page-v2 .compass-head strong{font-size:22px!important;line-height:1.05;}
  .compass-page-v2 .compass-actions{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;min-width:0;}
  .compass-page-v2 .compass-body{padding:10px!important;gap:10px;}
  .compass-page-v2 .compass-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;}
  .compass-page-v2 .compass-period-card{min-height:74px;border-radius:16px!important;padding:11px!important;}
  .compass-page-v2 .compass-period-card strong{font-size:17px;}
  .compass-page-v2 .compass-period-card small{font-size:10px;}
  .compass-kpi-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;}
  .compass-page-v2 .compass-kpi{min-height:78px;border-radius:16px!important;padding:11px!important;}
  .compass-page-v2 .compass-kpi strong{font-size:18px;}
  .compass-action-strip-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;}
  .compass-page-v2 .compass-action-card{min-height:76px;border-radius:16px!important;padding:11px!important;}
  .compass-page-v2 .compass-action-card strong{font-size:18px!important;}
  .compass-v2-layout{gap:10px;}
  .compass-page-v2 .compass-panel{border-radius:18px!important;}
  .compass-page-v2 .compass-panel header{padding:10px 11px!important;min-height:48px;}
  .compass-page-v2 .compass-list{max-height:none;overflow:visible;}
  .compass-page-v2 .compass-list-row{grid-template-columns:1fr;gap:8px;min-height:0;padding:11px!important;}
  .compass-page-v2 .compass-row-side{justify-items:start;display:flex;align-items:center;justify-content:space-between;gap:8px;}
}
@media(max-width:420px){
  .compass-page-v2 .compass-actions{grid-template-columns:1fr!important;}
  .compass-page-v2 .compass-quick-grid,
  .compass-kpi-grid-v2,
  .compass-action-strip-v2{grid-template-columns:1fr!important;}
  .compass-period-note-v2{display:block;line-height:1.35;}
}


/* B2B V15R - Legacy Windows/Chrome Icon Fallback
   Eski Windows/Chrome kurulumlarında emoji glyph'leri kare görünmesin diye kritik menü/grid simgeleri
   yazı/CSS tabanlı, font bağımsız rozetlere çevrildi. */
.b2b-legacy-icon{
  font-family:Arial, Helvetica, sans-serif!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
  user-select:none!important;
  text-decoration:none!important;
  line-height:1!important;
  letter-spacing:-.02em!important;
}
.tile .b2b-legacy-icon,
body[data-theme-preset="premium_v2"] .tile .b2b-legacy-icon{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border-radius:12px!important;
  border:1px solid rgba(255,255,255,.30)!important;
  background:rgba(255,255,255,.13)!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:950!important;
  opacity:1!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18)!important;
}
body[data-theme-preset="premium_v2"] .tile.active .b2b-legacy-icon,
body[data-theme-preset="premium_v2"] .tile.active2 .b2b-legacy-icon,
body[data-theme-preset="premium_v2"] .tile.tile-current .b2b-legacy-icon{
  background:rgba(255,255,255,.22)!important;
  border-color:rgba(255,255,255,.48)!important;
}
.mini-cart .b2b-legacy-icon{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  border-radius:8px!important;
  border:1px solid rgba(255,255,255,.75)!important;
  color:#fff!important;
  background:rgba(255,255,255,.16)!important;
  font-size:16px!important;
  font-weight:950!important;
}
.purchase-history-badge .b2b-legacy-icon{
  width:auto!important;
  min-width:20px!important;
  height:18px!important;
  padding:0 3px!important;
  border-radius:7px!important;
  background:transparent!important;
  color:inherit!important;
  border:0!important;
  font-size:9px!important;
  font-weight:950!important;
}
.campaign-star-badge,
.badge.campaign{
  font-family:Arial, Helvetica, sans-serif!important;
  letter-spacing:-.02em!important;
  font-weight:950!important;
}
.campaign-star-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:28px!important;
  height:22px!important;
  padding:0 6px!important;
  border-radius:999px!important;
  font-size:10px!important;
  background:#fff6d8!important;
  border:1px solid #f3d36b!important;
  color:#8a5a00!important;
  vertical-align:middle!important;
}
.image-status{
  font-family:Arial, Helvetica, sans-serif!important;
  font-size:9px!important;
  letter-spacing:-.02em!important;
}
.image-status.has-image{font-size:9px!important;}
.image-status.no-image{font-size:8px!important;}
.b2b-stock-notice-icon{
  font-family:Arial, Helvetica, sans-serif!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
}
.search-required-note{font-family:inherit!important;}
body[data-theme-preset="premium_v2"] .right-widgets::after{content:"SEPET\A 0,00 TL"!important;}


/* ==========================================================
   B2B V15S - Visual SVG Icons Fix
   Eski Windows/Chrome tarafında emoji karelenmesin, ama kullanıcıya AN/AR/IMG/KMP gibi kodlar da görünmesin.
   Kritik simgeler font bağımsız SVG background olarak çizilir.
   ========================================================== */
.b2b-legacy-icon,
.section-icon.b2b-section-icon-text,
.image-status,
.campaign-star-badge,
.badge.campaign{
  font-size:0!important;
  letter-spacing:0!important;
  line-height:1!important;
  text-indent:-9999px!important;
  overflow:hidden!important;
  position:relative!important;
}
.b2b-legacy-icon::before,
.section-icon.b2b-section-icon-text::before,
.image-status::before,
.campaign-star-badge::before,
.badge.campaign::before{
  content:""!important;
  display:block!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  text-indent:0!important;
  opacity:1!important;
}
.b2b-legacy-icon::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%224%22%20y%3D%224%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221.4%22%2F%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%2214%22%20y%3D%224%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221.4%22%2F%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%224%22%20y%3D%2214%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221.4%22%2F%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%2214%22%20y%3D%2214%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221.4%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-home::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M3.5%2011.2%2012%204l8.5%207.2%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M5.5%2010.5v8.2c0%20.7.6%201.3%201.3%201.3h3.1v-5.7h4.2V20h3.1c.7%200%201.3-.6%201.3-1.3v-8.2%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-search::before,
.b2b-legacy-icon-menu-arama::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20cx%3D%2210.7%22%20cy%3D%2210.7%22%20r%3D%226.2%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m15.4%2015.4%205%205%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-cart::before,
.b2b-legacy-icon-menu-sepet::before,
.b2b-legacy-icon-cart::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M3.5%205h2l2.1%2010.2c.2.8.8%201.3%201.6%201.3h7.7c.8%200%201.5-.5%201.7-1.3l1.4-6.6H7%22%2F%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20cx%3D%229.5%22%20cy%3D%2220%22%20r%3D%221.2%22%2F%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20cx%3D%2217.2%22%20cy%3D%2220%22%20r%3D%221.2%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-compass::before,
.b2b-legacy-icon-menu-pusula::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.3%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m14.8%208.2-2%205.6-5.6%202%202-5.6%205.6-2z%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-requests::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2217%22%20rx%3D%222.2%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M9%208h6M9%2012h6M9%2016h4%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M9.2%203.5h5.6%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-orders::before,
.b2b-legacy-icon-menu-siparisler::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M6%203.8h10l2%202V20l-2-1.1-2%201.1-2-1.1-2%201.1-2-1.1L6%2020V3.8z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M9%208h6M9%2012h6M9%2016h4%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-account::before,
.b2b-legacy-icon-menu-cari::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20cx%3D%2212%22%20cy%3D%228.2%22%20r%3D%223.2%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M5.8%2020c.8-3.4%203-5.2%206.2-5.2s5.4%201.8%206.2%205.2%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-payment::before,
.b2b-legacy-icon-menu-odeme::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%223.8%22%20y%3D%225.8%22%20width%3D%2216.4%22%20height%3D%2212.4%22%20rx%3D%222.2%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4.5%2010h15M7.5%2015.2h4.8%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-other::before,
.b2b-legacy-icon-menu-diger::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M12%2010.8v5.5%22%2F%3E%3Ccircle%20fill%3D%22%23ffffff%22%20cx%3D%2212%22%20cy%3D%227.6%22%20r%3D%221.1%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-campaigns::before,
.b2b-legacy-icon-menu-kampanyalar::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4.2%2012.3%2012.5%204H20v7.5l-8.3%208.3a2%202%200%200%201-2.8%200l-4.7-4.7a2%202%200%200%201%200-2.8z%22%2F%3E%3Ccircle%20fill%3D%22%23ffffff%22%20cx%3D%2216.5%22%20cy%3D%227.5%22%20r%3D%221.3%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-logout::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M9%205H6.8A1.8%201.8%200%200%200%205%206.8v10.4A1.8%201.8%200%200%200%206.8%2019H9%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M13%208l4%204-4%204M17%2012H9%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-menu-spot::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M6%2018%2018%206%22%2F%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20cx%3D%227.5%22%20cy%3D%227.5%22%20r%3D%222%22%2F%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20cx%3D%2216.5%22%20cy%3D%2216.5%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E")!important;}
.b2b-legacy-icon-history-box::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4.5%208.2%2012%204.4l7.5%203.8v7.6L12%2019.6l-7.5-3.8V8.2z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4.8%208.4%2012%2012l7.2-3.6M12%2012v7.2%22%2F%3E%3C%2Fsvg%3E")!important;}
.tile .b2b-legacy-icon::before,
body[data-theme-preset="premium_v2"] .tile .b2b-legacy-icon::before{width:18px!important;height:18px!important;min-width:18px!important;}
.purchase-history-badge .b2b-legacy-icon::before{width:15px!important;height:15px!important;min-width:15px!important;}
.section-icon.b2b-section-icon-text::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4.5%208.2%2012%204.4l7.5%203.8v7.6L12%2019.6l-7.5-3.8V8.2z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4.8%208.4%2012%2012l7.2-3.6M12%2012v7.2%22%2F%3E%3C%2Fsvg%3E")!important;width:20px!important;height:20px!important;min-width:20px!important;}
.image-status::before{width:15px!important;height:15px!important;min-width:15px!important;}
.image-status.has-image::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%230b7d42%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%223.8%22%20y%3D%226.3%22%20width%3D%2216.4%22%20height%3D%2212.8%22%20rx%3D%222.2%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%230b7d42%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m7%2016%203.5-3.5%202.6%202.6%202-2%202.8%202.9%22%2F%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%230b7d42%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20cx%3D%2215.8%22%20cy%3D%2210%22%20r%3D%221.2%22%2F%3E%3C%2Fsvg%3E")!important;}
.image-status.no-image::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%2399a6ae%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%224%22%20y%3D%226.3%22%20width%3D%2216%22%20height%3D%2212.6%22%20rx%3D%222.2%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%2399a6ae%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4.5%204.5%2019.5%2019.5%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%2399a6ae%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m7.2%2016%202.8-2.8%22%2F%3E%3C%2Fsvg%3E")!important;}
.image-card-status::before,
.card-image .image-status::before{width:24px!important;height:24px!important;min-width:24px!important;}
.campaign-star-badge::before,
.badge.campaign::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%238a5a00%22%20d%3D%22M12%203.2%2014.7%208.7l6%20.9-4.4%204.2%201.1%206-5.4-2.9-5.4%202.9%201.1-6-4.4-4.2%206-.9L12%203.2z%22%2F%3E%3C%2Fsvg%3E")!important;width:15px!important;height:15px!important;min-width:15px!important;}
.campaign-star-badge,
.badge.campaign{
  min-width:24px!important;
  width:auto!important;
  padding-left:5px!important;
  padding-right:5px!important;
}
body[data-route="search"] .general-search:before,
body[data-route="campaigns"] .general-search:before,
body.route-search .general-search:before,
body.route-campaigns .general-search:before{
  content:""!important;
  width:23px!important;
  height:23px!important;
  left:18px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20cx%3D%2210.7%22%20cy%3D%2210.7%22%20r%3D%226.2%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m15.4%2015.4%205%205%22%2F%3E%3C%2Fsvg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  border:0!important;
  background-color:transparent!important;
  box-shadow:none!important;
  opacity:1!important;
}


/* B2B V15T - Gerçek sepet ikonu düzeltmesi */
.mini-cart .b2b-legacy-icon-cart::before{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  background-size:18px 18px!important;
}
.btn-cart-add .b2b-legacy-icon-cart{
  text-indent:-9999px!important;
}

/* ==========================================================
   V15U - Campaign menu should not look always selected
   ----------------------------------------------------------
   Eski paketlerde .campaign-tile özel vurgusu sürekli arka plan
   verdiği için kullanıcı aktif menü sanıyordu. Kampanyalar artık
   yalnızca aktifken veya hover/focus durumunda vurgulanır.
   ========================================================== */
html body #appRoot .tile-menu .tile.campaign-tile:not(.active):not(.active2):not(.tile-current):not(:hover):not(:focus-visible){
  background:transparent!important;
  box-shadow:none!important;
}
html body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile.campaign-tile:not(.active):not(.active2):not(.tile-current):not(:hover):not(:focus-visible){
  background:transparent!important;
  box-shadow:none!important;
}
html body #appRoot .tile-menu .tile.campaign-tile.active,
html body #appRoot .tile-menu .tile.campaign-tile.active2,
html body #appRoot .tile-menu .tile.campaign-tile.tile-current,
html body #appRoot .tile-menu .tile.campaign-tile:hover,
html body #appRoot .tile-menu .tile.campaign-tile:focus-visible{
  background:rgba(255,255,255,.10)!important;
}
html body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile.campaign-tile.active,
html body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile.campaign-tile.active2,
html body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile.campaign-tile.tile-current{
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06))!important;
  color:#fff!important;
  box-shadow:inset 0 -3px 0 rgba(255,255,255,.78)!important;
}

/* V15Z - Plasiyer Pusula V3 + mobil cari seçimi düzeltmeleri */
.compass-page-v2 .compass-kicker::after{content:' V4';}
.compass-period-note-v3{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 14px!important;border-radius:16px!important;background:#fff!important;
  border:1px solid rgba(15,23,42,.075)!important;box-shadow:0 10px 26px rgba(15,23,42,.045);
  color:#334155;font-weight:900;
}
.compass-kpi-grid-v3{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important;}
.compass-page-v2 .compass-kpi-v3{min-height:96px;border-radius:20px!important;padding:16px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;border:1px solid rgba(15,23,42,.075)!important;box-shadow:0 12px 28px rgba(15,23,42,.052)!important;}
.compass-page-v2 .compass-kpi-v3 strong{font-size:24px;letter-spacing:-.04em;line-height:1.05;}
.compass-page-v2 .compass-kpi-v3.sales{border-color:rgba(34,197,94,.22)!important;background:linear-gradient(180deg,#fff,#f3fff8)!important;}
.compass-page-v2 .compass-kpi-v3.collection{border-color:rgba(14,165,233,.22)!important;background:linear-gradient(180deg,#fff,#f2fbff)!important;}
.compass-page-v2 .compass-kpi-v3.cart,.compass-page-v2 .compass-kpi-v3.request{border-color:rgba(245,158,11,.24)!important;background:linear-gradient(180deg,#fff,#fffaf0)!important;}
.compass-v3-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start;}
.compass-page-v2 .compass-v3-panel{border-radius:22px!important;border:1px solid rgba(15,23,42,.08)!important;background:#fff!important;box-shadow:0 14px 34px rgba(15,23,42,.062)!important;overflow:hidden;}
.compass-page-v2 .compass-v3-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;background:linear-gradient(180deg,#fff,#f8fbff)!important;border-bottom:1px solid rgba(15,23,42,.07)!important;padding:12px 15px!important;}
.compass-page-v2 .compass-v3-panel header strong{font-size:15px;font-weight:950;color:#0f172a;}
.compass-page-v2 .compass-v3-panel header span{font-size:12px;font-weight:950;color:var(--brand-primary,#2563eb);background:rgba(var(--brand-primary-rgb,37,99,235),.09);border-radius:999px;padding:5px 9px;white-space:nowrap;}
.compass-page-v2 .compass-v3-panel .compass-list{max-height:540px;overflow:auto;}
.compass-page-v2 .compass-invoice-row strong{color:var(--brand-primary,#2563eb)!important;}
.compass-page-v2 .compass-detail-btn{background:linear-gradient(135deg,var(--brand-primary,#2563eb),var(--brand-primary-dark,#0f3b83))!important;color:#fff!important;border:0!important;box-shadow:0 8px 18px rgba(var(--brand-primary-rgb,37,99,235),.22)!important;}
.compass-foot-note{padding:8px 4px 2px;color:#64748b;font-weight:850;font-size:12px;text-align:center;}
.compass-detail-modal{position:fixed;inset:0;z-index:10020;display:grid;place-items:end center;padding:20px;}
.compass-detail-modal.hidden{display:none!important;}
.compass-detail-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(4px);}
.compass-detail-sheet{position:relative;z-index:1;width:min(820px,calc(100vw - 28px));max-height:min(78vh,760px);background:#fff;border:1px solid rgba(148,163,184,.35);border-radius:24px 24px 18px 18px;box-shadow:0 28px 90px rgba(15,23,42,.35);overflow:hidden;display:flex;flex-direction:column;}
.compass-detail-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;border-bottom:1px solid rgba(15,23,42,.08);background:linear-gradient(180deg,#fff,#f8fbff);}
.compass-detail-sheet header strong{display:block;font-size:18px;font-weight:950;color:#0f172a;}
.compass-detail-sheet header small{display:block;margin-top:3px;color:#64748b;font-weight:800;line-height:1.3;}
.compass-detail-sheet header button{width:38px;height:38px;border:1px solid #dbe7f0;background:#fff;border-radius:13px;font-size:24px;font-weight:900;color:#334155;}
.compass-detail-body{overflow:auto;padding:10px;}
.compass-detail-lines{display:grid;gap:8px;}
.compass-detail-lines article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid rgba(15,23,42,.075);border-radius:15px;background:#fff;padding:11px 12px;}
.compass-detail-lines article strong{display:block;color:#0f172a;font-weight:950;font-size:13px;}
.compass-detail-lines article span{display:block;margin-top:2px;color:#334155;font-weight:850;line-height:1.25;}
.compass-detail-lines article small{display:block;margin-top:3px;color:#64748b;font-weight:750;}
.compass-detail-lines article b{white-space:nowrap;color:var(--brand-primary,#2563eb);font-weight:950;}

/* Cari seçim modalı: mobil taşma ve nihai bakiye rozeti */
.sales-rep-modal{overflow:hidden!important;padding:16px!important;}
.sales-rep-modal-card{width:min(820px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;overflow:hidden!important;}
.sales-rep-customer-list{overflow-x:hidden!important;}
.sales-rep-customer-row{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:'main balance'!important;align-items:center;min-width:0;overflow:hidden;}
.sales-rep-customer-row .sales-rep-customer-main{grid-area:main!important;display:block!important;min-width:0!important;overflow:hidden;color:inherit!important;font-weight:inherit!important;}
.sales-rep-customer-row .sales-rep-customer-main strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.15;}
.sales-rep-customer-row .sales-rep-customer-main small{display:block;margin-top:5px;color:#64748b;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sales-rep-customer-row em{display:grid;gap:1px;justify-items:center;min-width:118px;max-width:210px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sales-rep-customer-row em small{display:block;font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.04em;color:#0f766e;font-weight:950;}
@media(max-width:760px){
  .compass-page-v2{border-radius:0!important;margin:-10px!important;}
  .compass-page-v2 .compass-head{padding:14px!important;align-items:stretch;}
  .compass-page-v2 .compass-head strong{font-size:24px!important;line-height:1.05;}
  .compass-page-v2 .compass-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;min-width:0;}
  .compass-page-v2 .compass-body{padding:10px!important;gap:10px;}
  .compass-kpi-grid-v3{grid-template-columns:1fr!important;gap:9px!important;}
  .compass-page-v2 .compass-kpi-v3{min-height:82px;border-radius:18px!important;padding:13px!important;}
  .compass-page-v2 .compass-kpi-v3 strong{font-size:22px;}
  .compass-v3-layout{gap:10px;}
  .compass-page-v2 .compass-v3-panel{border-radius:18px!important;}
  .compass-page-v2 .compass-v3-panel header{padding:11px 12px!important;min-height:48px;}
  .compass-page-v2 .compass-v3-panel .compass-list{max-height:none;overflow:visible;}
  .compass-page-v2 .compass-list-row{grid-template-columns:1fr!important;gap:8px;min-height:0;padding:12px!important;}
  .compass-page-v2 .compass-row-side{justify-items:start;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;}
  .compass-detail-modal{padding:0;place-items:end center;}
  .compass-detail-sheet{width:100vw;max-width:100vw;max-height:82vh;border-radius:24px 24px 0 0;border-left:0;border-right:0;border-bottom:0;}
  .compass-detail-lines article{grid-template-columns:1fr;gap:8px;}
  .compass-detail-lines article b{justify-self:start;}
  .sales-rep-modal{padding:10px!important;align-items:center!important;}
  .sales-rep-modal-card{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:88vh!important;border-radius:18px!important;}
  .sales-rep-modal-head{padding:14px 16px!important;}
  .sales-rep-modal-head strong{font-size:22px!important;}
  .sales-rep-modal-head span{font-size:13px!important;line-height:1.25;}
  .sales-rep-modal-search{grid-template-columns:1fr!important;padding:12px!important;}
  .sales-rep-modal-search input,.sales-rep-modal-search button{height:46px!important;min-width:0!important;}
  .sales-rep-customer-list{padding:10px!important;gap:9px!important;}
  .sales-rep-customer-row{grid-template-columns:1fr!important;grid-template-areas:'main' 'balance'!important;padding:12px!important;gap:10px!important;}
  .sales-rep-customer-row em{justify-self:start;min-width:0;max-width:100%;white-space:normal;padding:7px 11px!important;}
}

/* V15Z FIX1 - Mobil cari seçimi patlama düzeltmesi
   Amaç: Eski app.css içindeki absolute bakiye rozeti/padding kurallarını güvenle sıfırlamak.
   Cari kartı mobilde tek kolon, taşmasız, nihai bakiye alt rozet şeklinde görünür. */
#salesRepCustomerModal.sales-rep-modal{
  box-sizing:border-box!important;
  overflow:hidden!important;
}
#salesRepCustomerModal .sales-rep-modal-card{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#salesRepCustomerModal .sales-rep-customer-list{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
}
#salesRepCustomerModal .sales-rep-customer-row{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  grid-template-columns:none!important;
  grid-template-areas:none!important;
  gap:8px!important;
  position:relative!important;
  padding:12px 13px!important;
  padding-right:13px!important;
  overflow:hidden!important;
  text-align:left!important;
}
#salesRepCustomerModal .sales-rep-customer-main{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  grid-area:auto!important;
  overflow:hidden!important;
  color:inherit!important;
}
#salesRepCustomerModal .sales-rep-customer-main strong,
#salesRepCustomerModal .sales-rep-customer-row strong{
  display:-webkit-box!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:normal!important;
  line-height:1.18!important;
  grid-area:auto!important;
  color:#0f172a!important;
}
#salesRepCustomerModal .sales-rep-customer-main small,
#salesRepCustomerModal .sales-rep-customer-row span small{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  margin-top:5px!important;
  grid-area:auto!important;
  color:#64748b!important;
}
#salesRepCustomerModal .sales-rep-customer-row em{
  box-sizing:border-box!important;
  position:static!important;
  right:auto!important;
  top:auto!important;
  left:auto!important;
  bottom:auto!important;
  transform:none!important;
  grid-area:auto!important;
  align-self:flex-start!important;
  justify-self:start!important;
  display:inline-flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:2px!important;
  min-width:0!important;
  max-width:100%!important;
  width:auto!important;
  margin:0!important;
  padding:7px 11px!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:left!important;
  font-style:normal!important;
  color:#047857!important;
  background:#ecfdf5!important;
  border:1px solid #bbf7d0!important;
  border-radius:999px!important;
  font-weight:950!important;
}
#salesRepCustomerModal .sales-rep-customer-row em small{
  display:block!important;
  font-size:9px!important;
  line-height:1!important;
  text-transform:uppercase!important;
  letter-spacing:.045em!important;
  color:#0f766e!important;
  font-weight:950!important;
}
@media(max-width:760px){
  #salesRepCustomerModal.sales-rep-modal{
    padding:10px!important;
    align-items:center!important;
    justify-items:center!important;
    place-items:center!important;
  }
  #salesRepCustomerModal .sales-rep-modal-card{
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - 24px)!important;
    border-radius:20px!important;
  }
  #salesRepCustomerModal .sales-rep-modal-head{
    flex:0 0 auto!important;
    padding:16px 16px 14px!important;
  }
  #salesRepCustomerModal .sales-rep-modal-head strong{
    font-size:24px!important;
    line-height:1.05!important;
  }
  #salesRepCustomerModal .sales-rep-modal-head span{
    font-size:13px!important;
    line-height:1.28!important;
  }
  #salesRepCustomerModal .sales-rep-modal-search{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:12px!important;
  }
  #salesRepCustomerModal .sales-rep-modal-search input,
  #salesRepCustomerModal .sales-rep-modal-search button{
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    box-sizing:border-box!important;
  }
  #salesRepCustomerModal .sales-rep-customer-list{
    padding:10px!important;
    gap:9px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-row{
    border-radius:16px!important;
    padding:12px!important;
    padding-right:12px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-main strong,
  #salesRepCustomerModal .sales-rep-customer-row strong{
    font-size:15px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-row em{
    font-size:13px!important;
    border-radius:14px!important;
  }
}

/* V15Z FIX2 - Cari seçimi kart markup rebuild
   Eski span/em tabanlı kurallar bazı mobil Chrome sürümlerinde kart içeriğini kırpıyordu.
   Bu blok yeni info/balance sınıflarıyla kartı sıfırdan ve taşmasız çizer. */
#salesRepCustomerModal .sales-rep-customer-row.sales-rep-customer-select{
  appearance:none!important;
  -webkit-appearance:none!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:86px!important;
  max-height:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:"info balance"!important;
  align-items:center!important;
  gap:12px!important;
  padding:13px 14px!important;
  padding-right:14px!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid rgba(148,163,184,.28)!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#0f172a!important;
  line-height:1.18!important;
  text-align:left!important;
  box-shadow:0 5px 14px rgba(15,23,42,.055)!important;
}
#salesRepCustomerModal .sales-rep-customer-row.sales-rep-customer-select:hover,
#salesRepCustomerModal .sales-rep-customer-row.sales-rep-customer-select:focus{
  border-color:rgba(var(--brand-primary-rgb,37,99,235),.38)!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  outline:none!important;
}
#salesRepCustomerModal .sales-rep-customer-info{
  grid-area:info!important;
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
#salesRepCustomerModal .sales-rep-customer-title{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:normal!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important;
  font-size:15px!important;
  line-height:1.16!important;
  font-weight:950!important;
  letter-spacing:-.01em!important;
  color:#0f172a!important;
}
#salesRepCustomerModal .sales-rep-customer-meta{
  display:block!important;
  margin-top:5px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:850!important;
  color:#64748b!important;
}
#salesRepCustomerModal .sales-rep-customer-balance{
  grid-area:balance!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:3px!important;
  min-width:112px!important;
  max-width:190px!important;
  width:auto!important;
  height:auto!important;
  min-height:40px!important;
  padding:8px 11px!important;
  margin:0!important;
  border:1px solid #bbf7d0!important;
  border-radius:999px!important;
  background:#ecfdf5!important;
  color:#047857!important;
  text-align:right!important;
  overflow:hidden!important;
  white-space:normal!important;
}
#salesRepCustomerModal .sales-rep-customer-balance span{
  display:block!important;
  margin:0!important;
  padding:0!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  color:#0f766e!important;
  white-space:nowrap!important;
}
#salesRepCustomerModal .sales-rep-customer-balance strong{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:950!important;
  color:#047857!important;
  text-align:right!important;
}
#salesRepCustomerModal .sales-rep-customer-row .sales-rep-customer-main,
#salesRepCustomerModal .sales-rep-customer-row > em{
  display:none!important;
}
@media(max-width:760px){
  #salesRepCustomerModal .sales-rep-modal-card{
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - 22px)!important;
    overflow:hidden!important;
  }
  #salesRepCustomerModal .sales-rep-customer-list{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:10px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    max-height:none!important;
  }
  #salesRepCustomerModal .sales-rep-customer-row.sales-rep-customer-select{
    grid-template-columns:1fr!important;
    grid-template-areas:"info" "balance"!important;
    align-items:stretch!important;
    gap:9px!important;
    min-height:112px!important;
    padding:13px!important;
    border-radius:17px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-title{
    font-size:16px!important;
    line-height:1.14!important;
    -webkit-line-clamp:2!important;
  }
  #salesRepCustomerModal .sales-rep-customer-meta{
    font-size:12px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-balance{
    align-items:flex-start!important;
    text-align:left!important;
    justify-self:start!important;
    max-width:100%!important;
    min-width:0!important;
    border-radius:14px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-balance strong{
    text-align:left!important;
    white-space:normal!important;
  }
}


/* V15Z FIX3 - Mobile customer picker polish
   Kart yazıları artık kesilmez; uzun ünvanlar okunur, nihai bakiye daha kompakt rozet olarak kalır. */
#salesRepCustomerModal .sales-rep-customer-row.sales-rep-customer-select{
  min-height:104px!important;
  padding:15px 16px!important;
  gap:14px!important;
  border-radius:20px!important;
  box-shadow:0 7px 18px rgba(15,23,42,.06)!important;
}
#salesRepCustomerModal .sales-rep-customer-title{
  line-height:1.24!important;
  font-size:15px!important;
  letter-spacing:-.012em!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
#salesRepCustomerModal .sales-rep-customer-meta{
  margin-top:7px!important;
  line-height:1.28!important;
  font-size:12px!important;
  color:#6b7788!important;
}
#salesRepCustomerModal .sales-rep-customer-balance{
  min-width:118px!important;
  padding:8px 12px!important;
  border-radius:16px!important;
  align-self:center!important;
}
#salesRepCustomerModal .sales-rep-customer-balance span{
  font-size:8.5px!important;
  letter-spacing:.055em!important;
}
#salesRepCustomerModal .sales-rep-customer-balance strong{
  font-size:13px!important;
  line-height:1.2!important;
}
@media(max-width:760px){
  #salesRepCustomerModal .sales-rep-modal-card{
    border-radius:22px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-list{
    gap:12px!important;
    padding:12px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-row.sales-rep-customer-select{
    min-height:138px!important;
    padding:17px 16px!important;
    gap:12px!important;
    border-radius:18px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-info{
    overflow:visible!important;
  }
  #salesRepCustomerModal .sales-rep-customer-title{
    font-size:15px!important;
    line-height:1.28!important;
    -webkit-line-clamp:2!important;
    min-height:auto!important;
    padding-bottom:1px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-meta{
    display:block!important;
    margin-top:8px!important;
    font-size:12px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
  }
  #salesRepCustomerModal .sales-rep-customer-balance{
    width:auto!important;
    max-width:210px!important;
    padding:8px 13px!important;
    border-radius:16px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-balance strong{
    font-size:13.5px!important;
    line-height:1.2!important;
  }
}
@media(max-width:420px){
  #salesRepCustomerModal .sales-rep-modal-head{
    padding:22px 20px!important;
  }
  #salesRepCustomerModal .sales-rep-modal-head strong{
    font-size:26px!important;
    line-height:1.08!important;
  }
  #salesRepCustomerModal .sales-rep-modal-head span{
    font-size:14px!important;
    line-height:1.32!important;
  }
  #salesRepCustomerModal .sales-rep-modal-search{
    padding:16px 18px!important;
    gap:10px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-row.sales-rep-customer-select{
    min-height:134px!important;
    padding:16px 15px!important;
  }
  #salesRepCustomerModal .sales-rep-customer-title{
    font-size:14.5px!important;
    line-height:1.3!important;
  }
}


/* ==========================================================
   V16A - iPad Safari home/menu visual fix
   - Safari'de menü ikonlarında AN/AR/SP gibi fallback harfler görünmesin.
   - Tablet/iPad genişliklerinde duyurular/kampanyalar öne çıkan ürünlerin altına düşmesin.
   - Kampanyalar paneli grid satırı kadar gereksiz uzamasın.
   ========================================================== */
#appRoot .tile-menu .tile .b2b-legacy-icon,
body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile .b2b-legacy-icon,
#appRoot .tile .b2b-legacy-icon,
body[data-theme-preset="premium_v2"] #appRoot .tile .b2b-legacy-icon{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  font-size:0!important;
  line-height:0!important;
  letter-spacing:0!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
  text-indent:0!important;
  white-space:nowrap!important;
  opacity:.96!important;
  position:relative!important;
}
#appRoot .tile-menu .tile .b2b-legacy-icon::before,
body[data-theme-preset="premium_v2"] #appRoot .tile-menu .tile .b2b-legacy-icon::before,
#appRoot .tile .b2b-legacy-icon::before,
body[data-theme-preset="premium_v2"] #appRoot .tile .b2b-legacy-icon::before{
  content:""!important;
  display:block!important;
  width:20px!important;
  min-width:20px!important;
  height:20px!important;
  min-height:20px!important;
  margin:0!important;
  padding:0!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  text-indent:0!important;
  opacity:1!important;
  -webkit-text-fill-color:initial!important;
}

@media (min-width:768px) and (max-width:1180px){
  body.route-home #appRoot .home-featured-zone,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone{
    display:grid!important;
    grid-template-columns:minmax(0,1.18fr) minmax(250px,.82fr)!important;
    grid-auto-rows:auto!important;
    gap:14px!important;
    align-items:start!important;
    align-content:start!important;
    margin-top:14px!important;
  }
  body.route-home #appRoot .home-featured-zone .home-featured-panel,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone .home-featured-panel{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    align-self:start!important;
    min-width:0!important;
    height:auto!important;
  }
  body.route-home #appRoot .home-featured-zone .home-announcements-panel:not(.home-campaign-announcements-panel),
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone .home-announcements-panel:not(.home-campaign-announcements-panel){
    grid-column:2!important;
    grid-row:1!important;
    align-self:start!important;
    height:auto!important;
    min-height:0!important;
  }
  body.route-home #appRoot .home-featured-zone .home-campaign-announcements-panel,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone .home-campaign-announcements-panel{
    grid-column:2!important;
    grid-row:2!important;
    align-self:start!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  body.route-home #appRoot .home-featured-zone:not(.has-left-announcements) .home-campaign-announcements-panel,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone:not(.has-left-announcements) .home-campaign-announcements-panel{
    grid-row:1!important;
  }
  body.route-home #appRoot .home-featured-zone:not(.has-right-announcements) .home-announcements-panel:not(.home-campaign-announcements-panel),
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone:not(.has-right-announcements) .home-announcements-panel:not(.home-campaign-announcements-panel){
    grid-row:1!important;
  }
  body.route-home #appRoot .home-announcements-panel.home-announcements-side,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-announcements-panel.home-announcements-side{
    padding:12px!important;
    border-radius:20px!important;
    overflow:hidden!important;
  }
  body.route-home #appRoot .home-announcements-panel.home-announcements-side .home-announcements,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-announcements-panel.home-announcements-side .home-announcements{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    gap:9px!important;
  }
  body.route-home #appRoot .home-announcements-panel.home-announcements-side .home-announcement-card,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-announcements-panel.home-announcements-side .home-announcement-card{
    min-height:0!important;
    padding:10px!important;
    gap:10px!important;
    align-items:flex-start!important;
  }
  body.route-home #appRoot .home-announcements-panel.home-announcements-side .announcement-read,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-announcements-panel.home-announcements-side .announcement-read{
    padding:6px 9px!important;
    font-size:10.5px!important;
  }
  body.route-home #appRoot .home-featured-grid,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (min-width:768px) and (max-width:980px){
  body.route-home #appRoot .home-featured-zone,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.route-home #appRoot .home-featured-zone .home-featured-panel,
  body.route-home #appRoot .home-featured-zone .home-announcements-panel,
  body.route-home #appRoot .home-featured-zone .home-campaign-announcements-panel,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone .home-featured-panel,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone .home-announcements-panel,
  body[data-theme-preset="premium_v2"].route-home #appRoot .home-featured-zone .home-campaign-announcements-panel{
    grid-column:1!important;
    grid-row:auto!important;
  }
}

/* V16F_PUSULA_COMBO_REPORTS */
.compass-page-v4 .compass-kicker::after{content:' V4'!important;}
.compass-page-v4 .compass-actions-v4{grid-template-columns:minmax(150px,190px) minmax(240px,1fr) auto!important;align-items:end!important;gap:10px!important;}
.compass-page-v4 .compass-actions-v4 label{display:grid;gap:5px;min-width:0;}
.compass-page-v4 .compass-actions-v4 label>span{font-size:11px;font-weight:950;color:#64748b;letter-spacing:.01em;}
.compass-page-v4 .compass-actions-v4 select{width:100%!important;min-width:0!important;}
.compass-period-note-v4{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.compass-kpi-grid-v4{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.compass-page-v4 .compass-kpi-v3.purchase{border-color:rgba(168,85,247,.22)!important;background:linear-gradient(180deg,#fff,#faf5ff)!important;}
.compass-v4-layout{grid-template-columns:1fr!important;}
.compass-v4-report-panel .compass-list{max-height:620px!important;}
.compass-page-v4 .compass-collection-row strong{color:#0284c7!important;}
.compass-page-v4 .compass-invoice-row.purchase strong{color:#7c3aed!important;}
.compass-report-note{border-top:1px solid rgba(15,23,42,.06);padding:10px 14px;background:#f8fafc;color:#64748b;font-weight:800;line-height:1.35;}
.compass-report-note small{font-size:12px;}
@media (max-width: 900px){
  .compass-page-v4 .compass-actions-v4{grid-template-columns:1fr 1fr!important;}
  .compass-page-v4 .compass-actions-v4 .compass-refresh-btn{grid-column:1 / -1;}
  .compass-kpi-grid-v4{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width: 560px){
  .compass-page-v4 .compass-actions-v4{grid-template-columns:1fr!important;}
  .compass-kpi-grid-v4{grid-template-columns:1fr!important;}
  .compass-period-note-v4{display:block;line-height:1.35;}
  .compass-v4-report-panel .compass-list{max-height:none!important;overflow:visible!important;}
}


.account-kind.purchase{background:#eef7ff;color:#0c5c8f;}
.account-kind.purchase_return,.account-kind.sales_return{background:#fff0f0;color:#9a1e1e;}

/* PREMIUM DARK KITS - Dealer Console + Obsidian Touch */
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]){
  --dark-bg:#0d1117;--dark-bg-2:#111820;--dark-panel:#171d25;--dark-panel-2:#1c2530;
  --dark-line:rgba(203,213,225,.18);--dark-line-soft:rgba(203,213,225,.10);
  --dark-text:#f4f7fb;--dark-muted:#aeb9c7;--dark-head:#202c3b;--dark-radius:16px;
  --dark-shadow:0 18px 46px rgba(0,0,0,.28);--premium-bg:var(--dark-bg);
  --premium-surface:var(--dark-panel);--premium-border:var(--dark-line);
  --premium-border-soft:var(--dark-line-soft);--premium-text:var(--dark-text);--premium-muted:var(--dark-muted);
  background:linear-gradient(180deg,var(--dark-bg),#090c11 70%)!important;color:var(--dark-text)!important;color-scheme:dark;
}
body[data-theme-preset="dealer_console"]{--dark-bg:#151a20;--dark-bg-2:#181f27;--dark-panel:#1b2027;--dark-panel-2:#222a33;--dark-head:#26364a;--dark-radius:10px;--dark-shadow:0 10px 24px rgba(0,0,0,.24)}
body[data-theme-preset="obsidian_touch"]{--dark-radius:20px;background:radial-gradient(circle at 82% -8%,rgba(var(--brand-primary-rgb),.19),transparent 34%),radial-gradient(circle at 4% 36%,rgba(var(--brand-accent-rgb),.08),transparent 28%),linear-gradient(180deg,#0d1117,#080b10 72%)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) #appRoot.page{background:transparent!important;min-height:100vh}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) .identity-header{background:linear-gradient(180deg,#1c232c,#141a21)!important;border-color:var(--dark-line)!important;box-shadow:0 10px 28px rgba(0,0,0,.28)!important}
html body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) #appRoot .identity-header{background:linear-gradient(180deg,#1c232c,#141a21)!important;border-color:var(--dark-line)!important;box-shadow:0 10px 28px rgba(0,0,0,.28)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(.logo-title,.right-widgets strong,.customer-identity strong){color:var(--dark-text)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(.logo-subtitle,.right-widgets span,.customer-identity span){color:var(--dark-muted)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) .logo-mark{color:#fff!important;background:linear-gradient(145deg,var(--brand-secondary),var(--brand-nav))!important;box-shadow:0 12px 28px rgba(var(--brand-primary-rgb),.28)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(.exchange-widget,.cart-widget,.rep-widget,.representative-widget,.customer-identity){background:linear-gradient(180deg,var(--dark-panel-2),var(--dark-panel))!important;border-color:var(--dark-line)!important;color:var(--dark-text)!important;box-shadow:none!important}
body[data-theme-preset="dealer_console"] .tile-menu{background:linear-gradient(180deg,#0d4d82,#062f59)!important;border-color:rgba(103,190,238,.30)!important;border-radius:8px!important;box-shadow:0 10px 24px rgba(0,0,0,.32)!important}
html body[data-theme-preset="dealer_console"] #appRoot .tile-menu{background:linear-gradient(180deg,#0d4d82,#062f59)!important;border-color:rgba(103,190,238,.30)!important;border-radius:8px!important;box-shadow:0 10px 24px rgba(0,0,0,.32)!important}
body[data-theme-preset="dealer_console"] .tile{background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(0,0,0,.08))!important;border-color:rgba(255,255,255,.13)!important;color:#eaf7ff!important}
body[data-theme-preset="dealer_console"] .tile:is(.active,.active2){background:linear-gradient(180deg,#1979aa,#0b4a7f)!important;box-shadow:inset 0 0 0 2px rgba(86,199,232,.48)!important}
body[data-theme-preset="obsidian_touch"] .tile-menu{background:rgba(11,17,27,.92)!important;border:1px solid rgba(var(--brand-accent-rgb),.18)!important;border-radius:18px!important;box-shadow:0 18px 38px rgba(0,0,0,.34)!important;backdrop-filter:blur(18px)}
html body[data-theme-preset="obsidian_touch"] #appRoot .tile-menu{background:rgba(11,17,27,.92)!important;border:1px solid rgba(var(--brand-accent-rgb),.18)!important;border-radius:18px!important;box-shadow:0 18px 38px rgba(0,0,0,.34)!important;backdrop-filter:blur(18px)}
body[data-theme-preset="obsidian_touch"] .tile{color:#cdd8e6!important;border-color:rgba(255,255,255,.07)!important}
body[data-theme-preset="obsidian_touch"] .tile:is(.active,.active2){color:#fff!important;background:linear-gradient(145deg,rgba(var(--brand-primary-rgb),.92),rgba(var(--brand-secondary-rgb),.62))!important;box-shadow:0 10px 24px rgba(var(--brand-primary-rgb),.25),inset 0 0 0 1px rgba(255,255,255,.16)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(.search-board,.grid-panel,.home-hero-panel,.home-featured-panel,.home-announcements-panel,.home-product-card,.product-grid,.cart-page,.orders-page,.account-page,.payment-page,.other-info-page,.requests-page,.purchases-page-head,.purchases-filterbar){background:linear-gradient(180deg,var(--dark-panel-2),var(--dark-panel))!important;border-color:var(--dark-line)!important;border-radius:var(--dark-radius)!important;color:var(--dark-text)!important;box-shadow:var(--dark-shadow)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(.home-section-head,.board-title,.grid-title){color:var(--dark-text)!important;border-color:var(--dark-line-soft)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(input,select,textarea){background:#0f151c!important;border-color:var(--dark-line)!important;color:var(--dark-text)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(input,textarea)::placeholder{color:#7f8b99!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(label,small,em){color:var(--dark-muted)}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) table{background:var(--dark-panel)!important;color:var(--dark-text)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) thead th{background:linear-gradient(180deg,var(--dark-head),#172231)!important;color:#eaf6ff!important;border-color:var(--dark-line)!important;text-shadow:none!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) tbody td{background:var(--dark-panel)!important;color:var(--dark-text)!important;border-color:var(--dark-line)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) tbody tr:nth-child(even) td{background:var(--dark-bg-2)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) tbody tr:hover td{background:#203149!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(.table-wrap,.grid-scroll,.purchases-table-wrap){background:var(--dark-panel)!important;scrollbar-color:var(--brand-secondary) #090d12}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(.cart-item-row,.order-card,.request-card,.payment-card,.other-bank-card,.utility-card,.modal-card,.dialog-card){background:var(--dark-panel-2)!important;border-color:var(--dark-line)!important;color:var(--dark-text)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(.catalog-status,.empty-state){background:var(--dark-bg-2)!important;border-color:var(--dark-line)!important;color:var(--dark-muted)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) .login-screen{background:linear-gradient(145deg,#080c12,var(--dark-bg-2))!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) .login-card{background:rgba(20,27,36,.96)!important;border-color:var(--dark-line)!important;color:var(--dark-text)!important}
body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) .login-brand h1{color:#fff!important}
@media(max-width:900px){
  body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) .identity-header{padding:10px!important;gap:10px!important;background:linear-gradient(180deg,#222a34,#151b22)!important}
  html body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) #appRoot .identity-header{padding:10px!important;gap:10px!important;background:linear-gradient(180deg,#222a34,#151b22)!important}
  body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) .logo-area{justify-content:center!important;text-align:center!important;min-height:62px!important}
  body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) .right-widgets{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body[data-theme-preset="dealer_console"] .tile-menu{margin:0 8px!important;border-radius:8px!important}
  body[data-theme-preset="obsidian_touch"] .tile-menu{margin:8px!important;border-radius:16px!important;padding:6px!important}
  body[data-theme-preset="dealer_console"] .tile-menu .tile{flex-basis:88px!important;min-width:88px!important;max-width:88px!important;height:68px!important}
  body[data-theme-preset="obsidian_touch"] .tile-menu .tile{flex-basis:92px!important;min-width:92px!important;max-width:92px!important;height:66px!important;border-radius:13px!important}
  html body[data-theme-preset="dealer_console"] #appRoot .tile-menu .tile{flex:0 0 88px!important;min-width:88px!important;max-width:88px!important;width:88px!important;height:68px!important}
  html body[data-theme-preset="obsidian_touch"] #appRoot .tile-menu .tile{flex:0 0 92px!important;min-width:92px!important;max-width:92px!important;width:92px!important;height:66px!important;border-radius:13px!important}
  body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) .content-wrap{padding:10px 8px 86px!important}
  body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(input,select,button){min-height:44px}
  body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) :is(th,td){padding:12px 10px!important}
  body:is([data-theme-preset="dealer_console"],[data-theme-preset="obsidian_touch"]) .customer-identity{position:fixed!important;left:50%!important;bottom:8px!important;z-index:90!important;width:min(520px,calc(100vw - 24px))!important;transform:translateX(-50%)!important;border-radius:14px!important;box-shadow:0 12px 34px rgba(0,0,0,.42)!important}
}

/* DEM V17 - Daha Önce Aldıklarım */
.purchases-page{display:flex;flex-direction:column;gap:14px}
.purchases-page.hidden{display:none!important}
.purchases-page-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 20px;border:1px solid var(--line,#dbe3ef);border-radius:16px;background:var(--surface,#fff)}
.purchases-page-head>div{display:flex;flex-direction:column;gap:4px}.purchases-page-head strong{font-size:1.35rem}.purchases-page-head em{font-style:normal;color:var(--muted,#64748b)}
.purchases-filterbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:10px;align-items:end;padding:14px;border:1px solid var(--line,#dbe3ef);border-radius:14px;background:var(--surface,#fff)}
.purchases-filterbar label{display:flex;flex-direction:column;gap:6px}.purchases-filterbar label span{font-size:.78rem;font-weight:700;color:var(--muted,#64748b)}
.purchases-filterbar input{min-height:42px;border:1px solid var(--line,#cbd5e1);border-radius:10px;padding:0 12px}
.purchases-filterbar button{min-height:42px;border:0;border-radius:10px;padding:0 18px;font-weight:700;cursor:pointer}
.purchases-summary:empty{display:none}.purchases-table-wrap{max-height:62vh;overflow:auto}.purchases-table{min-width:1120px}
.purchases-table td strong,.purchases-table td small{display:block}.purchases-table td small{margin-top:3px;color:var(--muted,#64748b)}
.purchase-publish-badge{display:inline-flex;white-space:nowrap;padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:800}
.purchase-publish-badge.online{background:#dcfce7;color:#166534}.purchase-publish-badge.offline{background:#f1f5f9;color:#475569}
@media(max-width:720px){.purchases-page-head{align-items:flex-start}.purchases-page-head em{font-size:.8rem}.purchases-filterbar{grid-template-columns:1fr 1fr}.purchases-filterbar label{grid-column:1/-1}.purchases-table-wrap{max-height:none}.purchases-page{padding-bottom:12px}}
