/* MXonnowell Platform v0.6.16 — Tüm Platform Tipografi Netliği
 * Ön yüz platform bileşenleri + MXonnowell yönetim ekranları için final okunabilirlik katmanı.
 */
:root{
  --mx616-font:"Segoe UI",Arial,Helvetica,sans-serif;
  --mx616-ink:#102f40;
  --mx616-ink-2:#234657;
  --mx616-muted:#456373;
  --mx616-muted-2:#587482;
  --mx616-line:#d3e1e7;
}

/* Platform bileşenleri */
:where(.mx523-help-root,.mx565-assistant-page,.mxon-help-shell,.mxon-card,[class^="mxon"],[class*=" mxon"],[class^="mx3"],[class^="mx4"],[class^="mx5"],[class^="mx6"]){
  font-synthesis:none!important;
  font-kerning:normal!important;
  text-rendering:optimizeLegibility!important;
  -webkit-font-smoothing:auto!important;
  -moz-osx-font-smoothing:auto!important;
}
:where(.mx523-help-root,.mx565-assistant-page,.mxon-help-shell,.mxon-card,[class^="mxon"],[class*=" mxon"])
 :where(h1,h2,h3,h4,h5,h6,p,li,td,th,label,small,strong,b,span,a,button,input,textarea,select,summary){
  text-shadow:none!important;
  font-synthesis:none!important;
}

/* Yardım Asistanları */
.mx565-assistant-page,
.mx523-help-panel{font-family:var(--mx616-font)!important;color:var(--mx616-ink)!important}
.mx565-assistant-page :where(p,li,td,label),
.mx523-help-panel :where(p,li,td,label){font-weight:400!important}
.mx565-assistant-page :where(small,[class*="meta"],[class*="note"]),
.mx523-help-panel :where(small,[class*="meta"],[class*="note"]){font-weight:500!important;opacity:1!important}
.mx565-assistant-page :where(button,a,summary),
.mx523-help-panel :where(button,a,summary){font-weight:600!important}
.mx565-assistant-page :where(h1,h2,h3,h4,h5,h6,strong,b),
.mx523-help-panel :where(h1,h2,h3,h4,h5,h6,strong,b){font-weight:700!important}
.mx565-assistant-page :where(input,textarea,select),
.mx523-help-panel :where(input,textarea,select){font-family:var(--mx616-font)!important;color:var(--mx616-ink)!important}
.mx565-assistant-page :where(input,textarea)::placeholder,
.mx523-help-panel :where(input,textarea)::placeholder{color:#637d8a!important;opacity:1!important}

/* Bilgi / yardımcı metinler. */
.mx565-assistant-page :where(.mx565-composer-meta,.mx607-section-context__copy span,.mx565-chat-head small,.mx569-history-note),
.mx523-help-panel :where(.mx523-help-welcome p,.mx545-help-guide__head span,.mx523-help-quick span,.mx523-help-channels small,.mx523-help-privacy){
  color:var(--mx616-muted)!important;
  opacity:1!important;
}

/* WP yönetim: bu dosya yalnız MXonnowell yönetim sayfalarında yüklenir. */
body.wp-admin{
  font-family:var(--mx616-font)!important;
  color:#173747!important;
  -webkit-font-smoothing:auto!important;
  text-rendering:optimizeLegibility!important;
}
body.wp-admin :where(#wpcontent,#wpbody-content,.wrap,.mxon-wpadmin-dashboard,.mxon-card,[class*="mxon-"],[class^="mx4"],[class^="mx5"])
 :where(h1,h2,h3,h4,h5,h6,p,li,td,th,label,small,strong,b,span,a,button,input,textarea,select,summary){
  text-shadow:none!important;
  font-synthesis:none!important;
}
body.wp-admin :where(.wrap,.mxon-wpadmin-dashboard,.mxon-card,[class*="mxon-"])
 :where(p,li,td,label){color:#294b5d;opacity:1!important;font-weight:400!important}
body.wp-admin :where(.wrap,.mxon-wpadmin-dashboard,.mxon-card,[class*="mxon-"])
 :where(small,.description,[class*="meta"],[class*="note"],[class*="hint"]){color:#516e7d!important;opacity:1!important;font-weight:500!important}
body.wp-admin :where(.wrap,.mxon-wpadmin-dashboard,.mxon-card,[class*="mxon-"])
 :where(h1,h2,h3,h4,h5,h6,strong,b,th){color:#102f40;font-weight:700!important}
body.wp-admin :where(.button,button,input[type="submit"],input[type="button"],select){font-family:var(--mx616-font)!important;font-weight:600!important}
body.wp-admin :where(input,textarea,select){color:#173747!important}
body.wp-admin :where(input,textarea)::placeholder{color:#647f8c!important;opacity:1!important}
body.wp-admin .widefat :where(td,th){line-height:1.45}

/* Tabular değerlerde sayı netliği. */
:where(.mx565-assistant-page,.mx523-help-panel,.mxon-card,body.wp-admin) table{font-variant-numeric:tabular-nums lining-nums}

/* Metin barındıran yüzeylerde blur kaynaklı solukluğu azalt. */
.mx523-help-panel :where(.mx523-help-welcome,.mx545-help-guide,.mx523-help-quick button,.mx523-help-channels button,.mx556-open-library,.mx523-help-msg,.mx523-help-composer textarea),
.mx565-assistant-page :where(.mx565-toolbar,.mx565-chat,.mx606-report-shell,.mx565-composer-wrap,.mx607-section-context){
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

@media(max-width:760px){
  .mx565-assistant-page :where(input,textarea,select),.mx523-help-panel :where(input,textarea,select){font-size:16px!important}
}
