/**
 * هوش اوستا — the shared look: the bundled Persian font and the brand colours
 * every screen of the plugin uses (dashboard page, the assistant popup, the
 * chat page and the voice player).
 */

@font-face {
	font-family: 'IRANYekanXFaNum';
	src: url( '../fonts/IRANYekanXFaNumRegular.woff2' ) format( 'woff2' );
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'IRANYekanXFaNum';
	src: url( '../fonts/IRANYekanXFaNumMedium.woff2' ) format( 'woff2' );
	font-weight: 500 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'IRANYekanXFaNum';
	src: url( '../fonts/IRANYekanXFaNumBold.woff2' ) format( 'woff2' );
	font-weight: 700 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--av-font: 'IRANYekanXFaNum', 'IRANYekanX', 'IRANYekan', Vazirmatn, -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
	--av-ink: #183661;
	--av-ink-2: #24508f;
	--av-accent: #f7941d;
	--av-bg: #f6f8fb;
	--av-line: #e4e8ef;
	--av-muted: #6b7c96;
	--av-soft: #eef2f8;
	--av-radius: 16px;
	--av-shadow: 0 18px 48px rgba(15, 27, 48, .16);
	--roghan-ink: #183661;
	--rs-font: var( --av-font );
}

/* One font for the plugin's own screens, on the dashboard and on the site. */
.roghan-wrap,
.roghan-wrap h1,
.roghan-wrap h2,
.roghan-wrap h3,
.roghan-wrap h4,
.roghan-wrap h5,
.roghan-wrap p,
.roghan-wrap span,
.roghan-wrap label,
.roghan-wrap a,
.roghan-wrap button,
.roghan-wrap input,
.roghan-wrap select,
.roghan-wrap textarea,
.roghan-wrap table,
.roghan-wrap th,
.roghan-wrap td,
.fm-fab,
.fm-modal,
.fm-modal *,
.roghan-avesta,
.roghan-avesta *,
.vp,
.vp * {
	font-family: var(--av-font);
}

/* Numbers stay Latin inside Persian text; no synthetic italics on a Persian face. */
.roghan-wrap em,
.fm-modal em,
.roghan-avesta em {
	font-style: normal;
}
