/* XAN v1.5.20 — Ortak Referans Arayüzü
 * Referans: Portföy Merkezi Genel Bakış + Portföy Yükle.
 * Amaç: beyaz çalışma zemini, petrol/lacivert hiyerarşi, kontrollü turuncu,
 * koyu zeminde beyaz metin, kompakt çalışma alanı ve responsive tutarlılık.
 */
:root{
  --xan-ref-petrol:#075970;
  --xan-ref-petrol-dark:#073b50;
  --xan-ref-navy:#071f36;
  --xan-ref-orange:#ff6b00;
  --xan-ref-orange-soft:#fff3e9;
  --xan-ref-bg:#f5f8fa;
  --xan-ref-white:#fff;
  --xan-ref-line:#d8e3e8;
  --xan-ref-line-strong:#c9d8df;
  --xan-ref-text:#263e55;
  --xan-ref-muted:#617789;
  --xan-ref-soft:#eef5f7;
  --xan-ref-success:#16875f;
  --xan-ref-success-soft:#eaf8f2;
  --xan-ref-shadow:0 6px 18px rgba(7,31,54,.045);
}

/* Tüm Site Yönetimi çalışma yüzeylerinde aynı tipografi / zemin temeli. */
.xan-account-body,
.xan-portal-body,
.xtr-body,
.xan-consultant-workspace-v126,
.xan-ai-body-v153,
.xan-pw-body{
  font-family:"Segoe UI Variable","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif!important;
  color:var(--xan-ref-navy)!important;
  background:#fff!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* Koyu yüzeylerde kontrastı tek kurala bağla. */
.xan-account-body :is(.xan-account-section-head-v1311,.xan-account-hero-v1311,.xan-account-hero-v1317),
.xan-portal-body :is(.xan-panel-head.is-dark,.xan-dark-panel,.xan-ops-head),
.xtr-body :is(.xtr-canvas-hero,.xtr-location-head.is-dark),
.xan-pw-body :is(.xan-pw-section-head,.xan-pw-dark-head){color:#fff!important}
.xan-account-body :is(.xan-account-section-head-v1311,.xan-account-hero-v1311,.xan-account-hero-v1317) :is(h1,h2,h3,strong,b,small,span,p,a),
.xan-portal-body :is(.xan-panel-head.is-dark,.xan-dark-panel,.xan-ops-head) :is(h1,h2,h3,strong,b,small,span,p,a),
.xtr-body .xtr-canvas-hero :is(h1,h2,h3,strong,b,small,span),
.xan-pw-body :is(.xan-pw-section-head,.xan-pw-dark-head) :is(h1,h2,h3,strong,b,small,span,p,a){color:#fff!important}
.xtr-body .xtr-canvas-hero p{color:rgba(255,255,255,.88)!important}

/* ------------------------------------------------------------------
 * HESABIM — ilk görünümde günlük iş yukarı gelsin.
 * ------------------------------------------------------------------ */
.xan-account-body .xan-account-content-v1311{background:#fff!important}
.xan-account-body .xan-account-kpis-v1311,
.xan-account-body .xan-account-kpis-v1317{gap:10px!important;margin-bottom:10px!important}
.xan-account-body .xan-account-kpis-v1311 article,
.xan-account-body .xan-account-kpis-v1317 article{
  min-height:86px!important;padding:11px 13px!important;border-radius:13px!important;
  border:1px solid var(--xan-ref-line)!important;box-shadow:var(--xan-ref-shadow)!important;background:#fff!important
}
.xan-account-body .xan-account-kpis-v1311 article>span,
.xan-account-body .xan-account-kpis-v1317 article>span{width:42px!important;height:42px!important;border-radius:11px!important}
.xan-account-body .xan-account-kpis-v1311 article strong,
.xan-account-body .xan-account-kpis-v1317 article strong{font-size:26px!important;line-height:1!important;color:var(--xan-ref-navy)!important}

.xan-account-body .xan-account-flow-v1323{
  display:grid!important;grid-template-columns:minmax(150px,.9fr) repeat(4,minmax(105px,1fr))!important;
  min-height:0!important;margin:0 0 8px!important;border:1px solid var(--xan-ref-line)!important;
  border-radius:12px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important
}
.xan-account-body .xan-account-flow-v1323>div,
.xan-account-body .xan-account-flow-v1323>span{
  min-height:58px!important;padding:9px 12px!important;display:flex!important;flex-direction:column!important;
  justify-content:center!important;gap:2px!important;border-color:var(--xan-ref-line)!important;background:#fff!important
}
.xan-account-body .xan-account-flow-v1323>div small{font-size:9px!important;letter-spacing:.07em!important;color:#6a7f8c!important}
.xan-account-body .xan-account-flow-v1323>div strong,
.xan-account-body .xan-account-flow-v1323>span b{font-size:12.5px!important;line-height:1.2!important;color:var(--xan-ref-navy)!important;font-weight:500!important}
.xan-account-body .xan-account-flow-v1323>span{font-size:12px!important;line-height:1.25!important;color:var(--xan-ref-text)!important}
.xan-account-body .xan-account-flow-v1323>span small{font-size:10.5px!important;color:var(--xan-ref-muted)!important;margin:0!important}

.xan-account-body .xan-account-scope-strip-v1327{
  display:grid!important;grid-template-columns:minmax(150px,.7fr) minmax(0,2.5fr) auto!important;
  align-items:center!important;gap:10px!important;margin:0 0 10px!important;padding:8px 12px!important;
  min-height:58px!important;border:1px solid var(--xan-ref-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important
}
.xan-account-body .xan-account-scope-strip-v1327>div:first-child small{font-size:9px!important;letter-spacing:.07em!important;color:#6a7f8c!important}
.xan-account-body .xan-account-scope-strip-v1327>div:first-child strong{font-size:12.5px!important;color:var(--xan-ref-navy)!important}
.xan-account-body .xan-account-scope-chips-v1327{gap:6px!important;display:flex!important;flex-wrap:wrap!important}
.xan-account-body .xan-account-scope-chips-v1327>span{
  min-height:40px!important;padding:6px 10px!important;border-radius:9px!important;border:1px solid #cfe0e6!important;background:#f8fbfc!important
}
.xan-account-body .xan-account-scope-chips-v1327>span b{font-size:12px!important;color:var(--xan-ref-navy)!important}
.xan-account-body .xan-account-scope-chips-v1327>span small{font-size:10.5px!important;color:var(--xan-ref-muted)!important}
.xan-account-body .xan-account-scope-strip-v1327>a{font-size:11.5px!important;font-weight:500!important;color:var(--xan-ref-petrol)!important;white-space:nowrap!important}
.xan-account-body .xan-account-focus-grid-v1317{gap:12px!important;margin-top:0!important}

/* ------------------------------------------------------------------
 * SITE YÖNETİMİ — Ofis/Danışman KPI, başlık ve filtre tutarlılığı.
 * ------------------------------------------------------------------ */
.xan-portal-body .xan-section-head{
  padding:13px 16px!important;margin-bottom:10px!important;border:1px solid var(--xan-ref-line)!important;
  border-radius:13px!important;background:#fff!important;box-shadow:var(--xan-ref-shadow)!important
}
.xan-portal-body .xan-section-head h1{font-size:24px!important;line-height:1.15!important;font-weight:500!important;color:var(--xan-ref-navy)!important;letter-spacing:-.025em!important}
.xan-portal-body .xan-section-head p{font-size:12.5px!important;line-height:1.4!important;color:var(--xan-ref-text)!important;margin-top:3px!important;max-width:760px!important}
.xan-portal-body .xan-metrics-row{gap:10px!important;margin:10px 0 12px!important}
.xan-portal-body .xan-metric{
  min-height:84px!important;padding:11px 12px!important;background:#fff!important;color:var(--xan-ref-navy)!important;
  border:1px solid var(--xan-ref-line)!important;border-left:3px solid #13809a!important;border-radius:13px!important;box-shadow:none!important
}
.xan-portal-body .xan-metric.is-accent{
  background:#fff!important;color:var(--xan-ref-navy)!important;border-color:var(--xan-ref-line)!important;border-left-color:var(--xan-ref-orange)!important
}
.xan-portal-body .xan-metric.is-accent :is(strong,.xan-metric-label,small,span,b){color:var(--xan-ref-navy)!important}
.xan-portal-body .xan-metric.is-accent .xan-metric-icon{background:var(--xan-ref-orange-soft)!important;color:#b94d00!important}
.xan-portal-body .xan-metric .xan-metric-top small,
.xan-portal-body .xan-metric.is-accent .xan-metric-top small{
  background:var(--xan-ref-success-soft)!important;border:1px solid #c9eadc!important;color:#117654!important;opacity:1!important
}
.xan-portal-body .xan-metric>strong{font-size:21px!important;font-weight:500!important;color:var(--xan-ref-navy)!important;margin-top:9px!important}
.xan-portal-body .xan-metric-label{font-size:11.5px!important;font-weight:500!important;color:var(--xan-ref-text)!important}

.xan-portal-body :is(.xan-office-filterbar-v139,.xan-consultant-filterbar-v140){
  gap:10px!important;padding:12px!important;border:1px solid var(--xan-ref-line)!important;border-radius:12px!important;background:#fff!important
}
.xan-portal-body :is(.xan-office-filterbar-v139,.xan-consultant-filterbar-v140) label>span{font-size:10.5px!important;font-weight:500!important;color:var(--xan-ref-text)!important}
.xan-portal-body :is(.xan-office-filterbar-v139,.xan-consultant-filterbar-v140) label.is-search>div{position:relative!important;display:flex!important;align-items:center!important}
.xan-portal-body :is(.xan-office-filterbar-v139,.xan-consultant-filterbar-v140) label.is-search svg{
  position:absolute!important;left:13px!important;top:50%!important;transform:translateY(-50%)!important;width:16px!important;height:16px!important;z-index:2!important;pointer-events:none!important;color:var(--xan-ref-petrol)!important
}
.xan-portal-body :is(.xan-office-filterbar-v139,.xan-consultant-filterbar-v140) input[type="search"]{
  min-height:44px!important;padding-left:40px!important;font-size:14px!important;color:var(--xan-ref-navy)!important;background:#fff!important;border-color:var(--xan-ref-line-strong)!important
}
.xan-portal-body :is(.xan-office-filterbar-v139,.xan-consultant-filterbar-v140) :is(select,input){font-family:inherit!important}
.xan-portal-body :is(.xan-office-list-head-v139,.xan-consultant-list-head-v140){margin-top:12px!important}

/* ------------------------------------------------------------------
 * TÜRKİYE MERKEZİ — araçlar içerikten ayrılır, tek ana kaydırma.
 * ------------------------------------------------------------------ */
.xtr-body{overflow-y:auto!important;overflow-x:hidden!important;background:#fff!important}
.xtr-body .xtr-site-header{min-height:72px!important;height:auto!important;background:#fff!important;border-bottom:1px solid var(--xan-ref-line)!important}
.xtr-body .xtr-titlebar{min-height:64px!important;padding-block:10px!important;background:#fff!important}
.xtr-body .xtr-titlebar h1{font-size:28px!important;line-height:1.1!important;font-weight:500!important;letter-spacing:-.025em!important;color:var(--xan-ref-navy)!important}
.xtr-body .xtr-titlebar p{font-size:12px!important;color:var(--xan-ref-muted)!important;margin-top:3px!important}
.xtr-body .xtr-workspace{
  display:grid!important;grid-template-columns:330px minmax(0,1fr)!important;align-items:start!important;gap:12px!important;
  min-height:0!important;padding:0 14px 18px!important;background:#fff!important
}
.xtr-body .xtr-results-panel{
  position:sticky!important;top:10px!important;height:auto!important;min-height:0!important;max-height:calc(100vh - 20px)!important;
  border:1px solid var(--xan-ref-line)!important;border-radius:14px!important;box-shadow:var(--xan-ref-shadow)!important;background:#fff!important;overflow:hidden!important
}
.xtr-body .xtr-results-body{
  height:auto!important;max-height:calc(100vh - 86px)!important;overflow:auto!important;
  overscroll-behavior:contain!important;scrollbar-width:thin!important;padding-bottom:8px!important
}
.xtr-body .xtr-canvas{
  display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;overflow:visible!important;
  border:1px solid var(--xan-ref-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--xan-ref-shadow)!important
}
.xtr-body .xtr-canvas-toolbar{
  position:static!important;inset:auto!important;order:0!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;
  gap:7px!important;flex-wrap:wrap!important;padding:10px 12px!important;border-bottom:1px solid var(--xan-ref-line)!important;background:#fff!important;z-index:auto!important
}
.xtr-body .xtr-canvas-toolbar :is(a,button){
  min-height:38px!important;padding:7px 11px!important;border-radius:9px!important;border:1px solid var(--xan-ref-line-strong)!important;
  background:#fff!important;color:var(--xan-ref-navy)!important;box-shadow:none!important;font-size:11.5px!important;font-weight:500!important
}
.xtr-body .xtr-canvas-toolbar :is(a,button):hover,
.xtr-body .xtr-canvas-toolbar :is(a,button):focus-visible{border-color:var(--xan-ref-petrol)!important;background:#eef8fa!important;color:var(--xan-ref-petrol-dark)!important}
.xtr-body .xtr-canvas-scroll{
  order:1!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:14px!important;scrollbar-width:auto!important
}
.xtr-body .xtr-canvas-hero{
  min-height:145px!important;padding:20px 24px!important;margin-bottom:12px!important;border-radius:13px!important;
  background:linear-gradient(135deg,#073b50 0%,#086076 78%,#0b7186 100%)!important;box-shadow:none!important
}
.xtr-body .xtr-canvas-hero h2{font-size:25px!important;line-height:1.12!important;color:#fff!important}
.xtr-body .xtr-canvas-hero>div:first-child>span{color:rgba(255,255,255,.76)!important}
.xtr-body .xtr-canvas-hero p{font-size:12.5px!important;line-height:1.45!important;color:rgba(255,255,255,.9)!important;max-width:700px!important}
.xtr-body .xtr-hero-stats{background:#fff!important;color:var(--xan-ref-petrol-dark)!important}
.xtr-body .xtr-hero-stats b,.xtr-body .xtr-hero-stats span{color:var(--xan-ref-petrol-dark)!important}
.xtr-body .xtr-province-grid{gap:8px!important}
.xtr-body .xtr-province-grid>a,
.xtr-body .xtr-province-grid>button{min-height:78px!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important}

/* ------------------------------------------------------------------
 * PORTFÖY MERKEZİ — çalışma içeriği ilk ekrana yaklaşır.
 * ------------------------------------------------------------------ */
.xan-pw-body .xan-location-context-v1508{
  min-height:0!important;margin:0 0 9px!important;padding:8px 11px!important;border-radius:10px!important;
  border:1px solid var(--xan-ref-line)!important;border-left:3px solid var(--xan-ref-petrol)!important;background:#f8fbfc!important
}
.xan-pw-body .xan-location-context-v1508 span{font-size:9px!important;letter-spacing:.07em!important}
.xan-pw-body .xan-location-context-v1508 strong{font-size:13.5px!important;margin-top:1px!important}
.xan-pw-body .xan-location-context-v1508 small{font-size:11px!important;line-height:1.35!important;margin-top:1px!important}
.xan-pw-body .xan-location-context-v1508 a{min-height:34px!important;padding:6px 9px!important;font-size:11px!important}
.xan-pw-body .xan-pw-portfolio-ops-summary-v1453{
  margin:0 0 10px!important;padding:11px 12px!important;gap:8px!important;border-radius:12px!important;border-color:var(--xan-ref-line)!important;box-shadow:none!important
}
.xan-pw-body .xan-pw-portfolio-ops-summary-v1453>div small{font-size:9.5px!important;letter-spacing:.06em!important}
.xan-pw-body .xan-pw-portfolio-ops-summary-v1453>div b{font-size:14px!important;margin-top:2px!important}
.xan-pw-body .xan-pw-portfolio-ops-summary-v1453>div span{font-size:11px!important}
.xan-pw-body .xan-pw-portfolio-ops-summary-v1453 nav{gap:7px!important}
.xan-pw-body .xan-pw-portfolio-ops-summary-v1453 nav a{min-height:46px!important;padding:7px 9px!important;border-radius:9px!important}
.xan-pw-body .xan-pw-portfolio-ops-summary-v1453 nav small{font-size:10.5px!important}
.xan-pw-body .xan-pw-portfolio-ops-summary-v1453 nav strong{font-size:15px!important}
.xan-pw-body .xan-pw-portfolio-ops-summary-v1453>p{font-size:10.8px!important;line-height:1.35!important;color:var(--xan-ref-muted)!important}
.xan-pw-body .xan-pw-portfolio-ops-summary-v1453 nav a.is-active{border-color:var(--xan-ref-petrol)!important;background:#eef8fa!important;color:var(--xan-ref-petrol-dark)!important}

/* Açık yüzeylerde yardımcı metin gereğinden soluk olmasın. */
:is(.xan-account-body,.xan-portal-body,.xtr-body,.xan-pw-body) :is(p,small,.description,.xan-help-text){text-shadow:none!important}

@media(max-width:1180px){
  .xtr-body .xtr-workspace{grid-template-columns:290px minmax(0,1fr)!important}
  .xan-account-body .xan-account-flow-v1323{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .xan-account-body .xan-account-flow-v1323>div:first-child{grid-column:span 3!important}
}
@media(max-width:900px){
  .xtr-body .xtr-workspace{grid-template-columns:1fr!important;padding-inline:10px!important}
  .xtr-body .xtr-results-panel{position:static!important;max-height:none!important;overflow:visible!important}
  .xtr-body .xtr-results-body{max-height:none!important;overflow:visible!important;padding-bottom:0!important}
  .xtr-body .xtr-canvas-toolbar{justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important}
  .xtr-body .xtr-canvas-toolbar::-webkit-scrollbar{display:none!important}
  .xtr-body .xtr-canvas-toolbar :is(a,button){flex:0 0 auto!important}
  .xan-account-body .xan-account-scope-strip-v1327{grid-template-columns:1fr!important;gap:7px!important}
  .xan-account-body .xan-account-scope-strip-v1327>a{justify-self:start!important}
}
@media(max-width:700px){
  .xan-account-body .xan-account-flow-v1323{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .xan-account-body .xan-account-flow-v1323>div:first-child{grid-column:span 2!important}
  .xan-account-body .xan-account-flow-v1323>div,.xan-account-body .xan-account-flow-v1323>span{min-height:52px!important;padding:8px 10px!important}
  .xtr-body .xtr-titlebar h1{font-size:24px!important}
  .xtr-body .xtr-canvas-hero{min-height:130px!important;padding:17px!important}
  .xtr-body .xtr-canvas-hero h2{font-size:22px!important}
  .xan-pw-body .xan-pw-portfolio-ops-summary-v1453 nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
  .xan-account-body .xan-account-flow-v1323{grid-template-columns:1fr!important}
  .xan-account-body .xan-account-flow-v1323>div:first-child{grid-column:auto!important}
  .xan-portal-body .xan-metrics-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .xtr-body .xtr-canvas-scroll{padding:10px!important}
  .xan-pw-body .xan-location-context-v1508{align-items:flex-start!important}
}
/* Tam ekran modu, normal akış sadeleştirmesinden etkilenmez. */
.xtr-body .xtr-canvas:fullscreen{
  width:100vw!important;height:100vh!important;min-height:100vh!important;overflow:hidden!important;
  border-radius:0!important;border:0!important;background:#fff!important
}
.xtr-body .xtr-canvas:fullscreen .xtr-canvas-toolbar{flex:0 0 auto!important}
.xtr-body .xtr-canvas:fullscreen .xtr-canvas-scroll{flex:1 1 auto!important;height:auto!important;min-height:0!important;overflow:auto!important}

/* ==================================================================
 * v1.5.21 — KPI kartı kesin düzeltmesi
 * Kök neden: xan-site-shell-fix-v191 daha yüksek specificity ile
 * is-accent kartını yeniden koyu yapıyordu; grid item'lar da stretch
 * zincirinde gereksiz yüksek kalabiliyordu.
 * ================================================================== */
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:auto!important;
  grid-auto-rows:max-content!important;
  align-items:start!important;
  align-content:start!important;
  justify-items:stretch!important;
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  block-size:auto!important;
  min-block-size:0!important;
  overflow:visible!important;
  gap:10px!important;
  margin:10px 0 12px!important;
}
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric{
  box-sizing:border-box!important;
  display:block!important;
  align-self:start!important;
  justify-self:stretch!important;
  height:auto!important;
  min-height:92px!important;
  max-height:none!important;
  block-size:auto!important;
  min-block-size:92px!important;
  max-block-size:none!important;
  padding:11px 12px!important;
  overflow:hidden!important;
  transform:none!important;
  background:#fff!important;
  color:var(--xan-ref-navy)!important;
  border:1px solid var(--xan-ref-line)!important;
  border-left:3px solid #13809a!important;
  border-radius:13px!important;
  box-shadow:none!important;
}
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric:before{display:none!important}
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric:hover,
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric:active,
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric:focus-within{
  transform:none!important;
  background:#fff!important;
  border-color:#c9dbe2!important;
  border-left-color:#13809a!important;
  box-shadow:0 4px 12px rgba(7,31,54,.035)!important;
}

/* Eksik/uyarı kartı koyu blok olmaz; referans tasarımındaki gibi beyaz + turuncu vurgu. */
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent,
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent:hover,
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent:active,
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent:focus-within{
  background:#fff!important;
  color:var(--xan-ref-navy)!important;
  border:1px solid var(--xan-ref-line)!important;
  border-left:4px solid var(--xan-ref-orange)!important;
  box-shadow:none!important;
}
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent :where(h1,h2,h3,h4,p,strong,b,small,span,label,em,a),
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent:hover :where(h1,h2,h3,h4,p,strong,b,small,span,label,em,a),
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent:active :where(h1,h2,h3,h4,p,strong,b,small,span,label,em,a),
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent:focus-within :where(h1,h2,h3,h4,p,strong,b,small,span,label,em,a){
  color:var(--xan-ref-navy)!important;
  -webkit-text-fill-color:var(--xan-ref-navy)!important;
  opacity:1!important;
}
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent .xan-metric-icon{
  background:var(--xan-ref-orange-soft)!important;
  color:#b94d00!important;
}
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent .xan-metric-icon :where(svg,path){color:inherit!important;stroke:currentColor!important}
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric .xan-metric-top small,
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric.is-accent .xan-metric-top small{
  color:#117654!important;
  -webkit-text-fill-color:#117654!important;
  background:var(--xan-ref-success-soft)!important;
  border:1px solid #c9eadc!important;
}
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric>strong{
  color:var(--xan-ref-navy)!important;
  -webkit-text-fill-color:var(--xan-ref-navy)!important;
  font-size:21px!important;
  line-height:1!important;
  font-weight:500!important;
  margin-top:9px!important;
}
body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric .xan-metric-label{
  color:var(--xan-ref-text)!important;
  -webkit-text-fill-color:var(--xan-ref-text)!important;
  font-size:11.5px!important;
  line-height:1.25!important;
  font-weight:500!important;
  margin-top:4px!important;
}

/* Ofis/Danışman ekranında KPI satırından sonra gerçek çalışma alanı hemen gelsin. */
body.xan-portal-body.xan-site-shell-fix-v191 :is(.xan-office-metrics-v139,.xan-consultant-metrics-v140){
  margin-bottom:10px!important;
}
body.xan-portal-body.xan-site-shell-fix-v191 :is(.xan-office-center-v139,.xan-consultant-center-v140){
  margin-top:0!important;
  min-height:0!important;
  height:auto!important;
  align-self:start!important;
}

@media(max-width:1180px){
  body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row>.xan-metric{min-height:86px!important;min-block-size:86px!important;padding:10px!important}
}
@media(max-width:420px){
  body.xan-portal-body.xan-site-shell-fix-v191 .xan-metrics-row{grid-template-columns:1fr!important}
}


/* ==================================================================
 * v1.5.21 — büyük Bölge Bağlamı şeridi kaldırıldı.
 * Konum filtresi işlevsel kalır; filtre satırında kompakt chip görünür.
 * ================================================================== */
:is(.xan-portal-body,.xan-pw-body) .xan-location-context-v1508{display:none!important}
.xan-location-chip-v1521{
  display:inline-flex!important;align-items:center!important;gap:5px!important;align-self:center!important;
  min-height:34px!important;max-width:220px!important;padding:5px 7px 5px 9px!important;
  border:1px solid #c9dce3!important;border-radius:999px!important;background:#f3f8fa!important;
  color:#24495a!important;font-size:11px!important;line-height:1!important;white-space:nowrap!important;
  overflow:hidden!important;box-shadow:none!important;flex:0 1 auto!important
}
.xan-location-chip-v1521>span{color:#6a7f8c!important;font-size:10px!important;flex:0 0 auto!important}
.xan-location-chip-v1521>b{color:#073b50!important;font-size:11px!important;font-weight:500!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.xan-location-chip-v1521>a{
  display:grid!important;place-items:center!important;width:21px!important;height:21px!important;min-width:21px!important;padding:0!important;
  border:0!important;border-radius:50%!important;background:#fff!important;color:#075970!important;font-size:16px!important;line-height:1!important;text-decoration:none!important
}
.xan-location-chip-v1521>a:hover,.xan-location-chip-v1521>a:focus-visible{background:#075970!important;color:#fff!important}
.xan-portal-body :is(.xan-project-filter-actions-v138,.xan-office-filter-actions-v139,.xan-consultant-filter-actions-v140){display:flex!important;align-items:end!important;gap:7px!important;flex-wrap:wrap!important}
.xan-pw-body :is(.xan-pw-portfolio-toolbar,.xan-pw-pool-toolbar) .xan-location-chip-v1521{align-self:center!important}
@media(max-width:760px){.xan-location-chip-v1521{max-width:100%!important;order:10!important}}
