/* UI-01 — values read from the approved Figma file; legacy tokens are not redefined. */
@font-face {
    font-family: 'Noto Sans Arabic';
    src: url('../fonts/stn/NotoSansArabic-Variable.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/stn/Inter-Variable.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
:root {
    --stn-bg-canvas: #f5f7fa;
    --stn-bg-surface: #fff;
    --stn-bg-brand: #142b45;
    --stn-action-primary: #086c60;
    --stn-action-hover: #07594f;
    --stn-action-soft: #e6f3ef;
    --stn-text-primary: #172b42;
    --stn-text-muted: #526276;
    --stn-text-inverse: #fff;
    --stn-border-default: #d5dde5;
    --stn-border-control: #718297;
    --stn-focus-ring: #175cd3;
    --stn-status-success: #086c60;
    --stn-status-success-bg: #e6f3ef;
    --stn-status-warning: #835500;
    --stn-status-warning-bg: #fff4d8;
    --stn-status-danger: #b42318;
    --stn-status-danger-bg: #fff0ee;
    --stn-status-info: #175cd3;
    --stn-status-info-bg: #edf4ff;
    --stn-space-4: 4px;
    --stn-space-8: 8px;
    --stn-space-12: 12px;
    --stn-space-16: 16px;
    --stn-space-24: 24px;
    --stn-space-32: 32px;
    --stn-space-48: 48px;
    --stn-space-64: 64px;
    --stn-radius-8: 8px;
    --stn-radius-12: 12px;
    --stn-radius-16: 16px;
    --stn-font-arabic: 'Noto Sans Arabic', system-ui, sans-serif;
    --stn-font-latin: 'Inter', system-ui, sans-serif;
    --stn-type-display: 48px;
    --stn-line-display: 72px;
    --stn-type-mobile-display: 32px;
    --stn-line-mobile-display: 48px;
    --stn-type-heading: 28px;
    --stn-line-heading: 44px;
    --stn-type-section: 20px;
    --stn-line-section: 32px;
    --stn-type-body: 16px;
    --stn-line-body: 28px;
    --stn-type-label: 14px;
    --stn-line-label: 24px;
    --stn-type-caption: 12px;
    --stn-line-caption: 20px;
    --stn-sidebar-width: 256px;
    --stn-sidebar-rail: 80px;
}
/* This isolated component is also safe in the existing student portal template. */
.stn-product-brand { display: inline-flex; align-items: center; gap: var(--stn-space-12); color: var(--stn-text-primary); text-decoration: none; max-inline-size: 100%; }
.stn-product-brand:hover { color: var(--stn-text-primary); }
.stn-product-mark { display: block; inline-size: 40px; block-size: 40px; flex: 0 0 40px; background: var(--stn-bg-brand); border-radius: 9px; overflow: hidden; }
.stn-product-mark img { display: block; max-inline-size: none; }
.stn-product-wordmark { display: flex; flex-direction: column; align-items: flex-start; min-inline-size: 0; text-align: start; }
.stn-product-name { color: var(--stn-text-primary); font: 700 20px/26px var(--stn-font-latin); }
.stn-product-descriptor { font: 400 var(--stn-type-caption)/var(--stn-line-caption) var(--stn-font-arabic); color: var(--stn-text-muted); }
.stn-product-brand:focus-visible { outline: 2px solid var(--stn-focus-ring); outline-offset: 4px; border-radius: var(--stn-radius-8); }
body.student-portal { font-family: var(--stn-font-arabic); }
