/* Shared light theme and full, self-hosted Vazirmatn 33.003 typography (SIL OFL). */
@font-face{font-family:'Vazirmatn';src:url('/assets/visual_workflow_inbox/fonts/Vazirmatn-33.003.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--ui-brand:#385dcb;--ui-brand-hover:#294aa9;--ui-ink:#252d3a;--ui-muted:#586477;--ui-canvas:#faf9f6;--ui-surface:#fff;--ui-soft:#edf2fc;--ui-hover:#e2eafd;--ui-line:#dce1e9;--ui-control-line:#aab6c8;--ui-font:'Vazirmatn',Tahoma,Arial,sans-serif}
html:not([data-theme=dark]){--primary:var(--ui-brand);--btn-primary:var(--ui-brand);--primary-color:var(--ui-brand);--text-on-blue:#fff;--bg-blue:var(--ui-soft);--text-color:var(--ui-ink);--heading-color:var(--ui-ink);--text-muted:var(--ui-muted);--bg-color:var(--ui-canvas);--fg-color:var(--ui-surface);--control-bg:#f5f7fb;--border-color:var(--ui-line)}
body{font-family:var(--ui-font);font-variant-numeric:tabular-nums lining-nums}
html:not([data-theme=dark]) body{background:var(--ui-canvas);color:var(--ui-ink)}
html:not([data-theme=dark]) .btn-primary{background:var(--ui-brand);border-color:var(--ui-brand);color:#fff}
html:not([data-theme=dark]) .btn-primary:hover{background:var(--ui-brand-hover);border-color:var(--ui-brand-hover)}
html:not([data-theme=dark]) .btn-default,html:not([data-theme=dark]) .btn-secondary{background:var(--ui-soft);color:var(--ui-brand);border-color:var(--ui-line)}
html:not([data-theme=dark]) .navbar{background:var(--ui-surface);border-color:var(--ui-line)}
html:not([data-theme=dark]) .desk-sidebar-item.selected,html:not([data-theme=dark]) .list-row:hover{background:var(--ui-soft)}
.form-control,.control-input input,.control-input select,.control-input textarea,.btn,.modal-title{font-family:inherit}
input[type=number],.currency,.number,.text-right,.dt-cell__content{font-variant-numeric:tabular-nums lining-nums}
html:not([data-theme=dark]) .form-control:focus{border-color:var(--ui-brand);box-shadow:0 0 0 2px #385dcb22}
html:not([data-theme=dark]) a:not(.btn):not(.dropdown-item):not(.indicator-pill):not(.pb-button){color:var(--ui-brand)}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--ui-brand);outline-offset:3px}
/* Native forms keep their field grouping, permission controls and semantic statuses. */
/* Raven uses a standalone Radix shell, not the ERP website template. */
.radix-themes{--default-font-family:var(--ui-font);--heading-font-family:var(--ui-font);--code-font-family:monospace}
.radix-themes:not(.dark):not(.dark-theme){--accent-9:var(--ui-brand);--accent-10:var(--ui-brand-hover);--accent-11:var(--ui-brand);--accent-12:#253969;--accent-3:var(--ui-soft);--accent-4:var(--ui-hover);--accent-contrast:#fff;--color-background:var(--ui-canvas)}
#agent-send{background:var(--ui-brand);color:#fff}
#agent-send:hover{background:var(--ui-brand-hover)}

/* A calmer Persian hierarchy; numbers keep their original glyphs and amount weight. */
h1,h2,h3,h4,.modal-title{font-weight:600;letter-spacing:normal}
.pb-header h1,.pb-shell h2,.pb-shell h3,.pb-shell legend,.pb-shell summary{font-weight:600}
body{font-synthesis:none}
.radix-themes{--font-weight-bold:600}
