/* Lunisc desktop typography only. Mobile and tablet sizes come from
   lunisc.css and each page's own responsive styles; do not set mobile
   font sizes or typography variables in this stylesheet. */
@media screen and (min-width: 1024px) {
/* Lunisc type system · public site
   One semantic scale for every viewport. Loaded AFTER component styles.
   Page titles, content headings, copy and controls are deliberately explicit:
   icons, illustration glyphs, counters and admin do not inherit text rules.
   Keep layout, spacing, colors and the motion stylesheet untouched.
 */
:root {
  --ln-type-page: 29px;
  --ln-type-section: 20px;
  --ln-type-panel: 18px;
  --ln-type-item: 16.5px;
  --ln-type-copy: 15.5px;
  --ln-type-lead: 15.5px;
  --ln-type-small: 14.5px;
  --ln-type-meta: 13.5px;
  --ln-type-control: 14.5px;
  --ln-type-label: 14px;
}

/* Page-level H1 (and the registration form's visual H1). The 'body .page'
   specificity is intentional: late, feature-specific legacy declarations
   otherwise win over an unscoped :is() selector on some pages. */
body .page :is(
  .page-title, .faculty-hero, .facinst-hero, .major-hero,
  .studybag-hero, .project-hero, .research-hero,
  .profile-id, .settings-head, .notifications-head,
  .studybag-editor-head, .project-editor-head, .research-editor-head,
  .lunisc-news-hero, .lunisc-circulars-hero,
  .lunisc-faq-heading, .lunisc-support-heading,
  .lunisc-about-heading, .lunisc-legal-heading,
  .lunisc-dorms-landing-heading, .lunisc-transport-heading,
  .registration-fees-heading
) h1 {
  font-size: var(--ln-type-page);
  line-height: 1.25;
}
.registration-page .registration-card .registration-head h2 {
  font-size: var(--ln-type-page);
  line-height: 1.25;
}
/* Profile name is a page title, but never allow long names to overflow. */
body .page .profile-id h1 { overflow-wrap:anywhere; }

/* All page introductions/descriptions use the same supporting text size.
   The kicker is excluded so it stays a small category label. */
body .page :is(
  .page-title, .settings-head, .notifications-head,
  .studybag-editor-head, .project-editor-head, .research-editor-head,
  .lunisc-faq-heading, .lunisc-support-heading, .lunisc-legal-heading,
  .registration-fees-heading, .lunisc-dorms-landing-heading,
  .lunisc-transport-heading
) p:not(.kicker) {
  font-size: var(--ln-type-lead);
  line-height: 1.65;
}

/* Section headings are distinct from card headings. */
body .page :is(
  .section-head, .panel-head, .facinst-card-heading,
  .major-section-head, .studybag-card-head, .project-card-head,
  .research-card-head, .studybag-section-head, .project-section-head,
  .research-section-head, .settings-section-head,
  .lunisc-faq-results-head, .lunisc-transport-card-head,
  .lunisc-transport-results-head, .lunisc-private-dorms-results-head,
  .lunisc-news-results-head, .lunisc-circulars-results-head,
  .lunisc-news-card, .lunisc-circulars-card,
  .pd-guide-heading, .pd-guide-section, .pd-contact-panel-header,
  .lunisc-about-panel, .lunisc-about-section, .lunisc-about-identity-copy,
  .lunisc-support-panel, .lunisc-support-side,
  .rf-section, .rf-section-heading, .lunisc-legal-section
) > h2,
body .page :is(
  .fac-card, .major-card, .studybag-card, .project-card,
  .research-card, .studybag-form-card, .project-form-card,
  .research-form-card
) > h2 {
  font-size: var(--ln-type-section);
  line-height: 1.4;
}

/* Compact card/panel headings, not whole document subsections. */
body .page :is(
  .info-card, .bio, .filter-box, .profile-card,
  .lunisc-support-side-card, .settings-upload-box
) h2,
body .page :is(
  .facinst-branch-dialog-head, .facinst-branch-card,
  .pd-guide-note, .rf-callout
) h3,
body .page :is(.major-rich, .fac-rich) h2 {
  font-size: var(--ln-type-panel);
  line-height: 1.45;
}

/* Directory/list names, card titles and resource titles. */
body .page :is(
  .shortcut h3, .resource-title, .home-update-card h3, .update h3,
  .work h3, .study-title h2,
  .facinst-card-copy strong, .facinst-major-row-copy>strong,
  .facinst-resource-copy>strong, .facinst-major-mini strong,
  .majors-row-topline strong, .major-course-main strong,
  .major-content-copy>strong, .studybag-row-title strong,
  .project-row-title strong, .research-row-title strong,
  .studybag-file strong, .project-file-copy strong,
  .research-file-copy strong, .lunisc-faq-item-title,
  .lunisc-news-card-title, .lunisc-circulars-item-copy strong,
  .lunisc-private-dorm-card-header h3, .lunisc-transport-operator h3,
  .pd-guide-feature h3, .rf-step h3, .rf-extra-top h3,
  .news-card-content h3, .news-related-row strong,
  .academic-student-details strong, .lunisc-cover-info>strong
) {
  font-size: var(--ln-type-item);
  line-height: 1.5;
}

/* Main prose on public and student pages. Limit to actual text regions;
   this doesn't increase icons, badges, large statistics or image labels. */
body .page :is(
  .bio p, .fac-card p, .major-rich, .fac-rich,
  .major-course-main p, .major-content-copy>p,
  .studybag-description, .project-description, .research-abstract,
  .studybag-row p, .project-row p, .research-row p,
  .majors-row-copy p, .facinst-card-copy>p, .facinst-major-row-copy>p,
  .facinst-resource-copy>p, .notification-content>p,
  .lunisc-news-article-body, .lunisc-news-lead,
  .news-article-content, .news-article-lead,
  .lunisc-circulars-description, .lunisc-faq-answer-text,
  .lunisc-about-panel p, .lunisc-about-founder-info p,
  .lunisc-about-identity-copy p, .lunisc-legal-section p,
  .lunisc-legal-section li, .rf-section p, .rf-step p,
  .lunisc-support-description, .lunisc-support-side p,
  .pd-guide-section-body, .pd-guide-intro,
  .lunisc-transport-route span, .lunisc-transport-detail,
  .lunisc-transport-item p, .lunisc-private-dorm-location
) {
  font-size: var(--ln-type-copy);
  line-height: 1.7;
}
/* Secondary descriptions: always smaller than main text. */
body .page :is(
  .shortcut p, .home-update-card p, .resource-meta,
  .home-highlights-intro p, .facinst-card-copy small,
  .facinst-branch span, .major-muted, .major-availability-note,
  .studybag-academic, .project-academic, .research-row-meta,
  .studybag-help, .project-help, .studybag-muted,
  .studybag-owner-note, .project-owner-note, .research-owner-note,
  .form-help, .settings-section-head p, .lunisc-faq-help>span,
  .lunisc-support-note, .lunisc-circulars-item-issuer,
  .lunisc-news-results-head strong, .lunisc-circulars-results-head strong,
  .news-card-content>p, .news-no-results p,
  .lunisc-private-dorms-results-head p, .lunisc-transport-results-head p,
  .lunisc-transport-operator span, .lunisc-private-dorm-card p
) {
  font-size: var(--ln-type-small);
  line-height: 1.6;
}

/* Small metadata is intentionally small on every page. */
body .page :is(
  .meta, .badge, .status, .kicker, .section-link,
  .home-update-meta, .home-update-meta time,
  .update time, .study-side time, .work-meta,
  .facinst-hero-meta span, .major-hero-meta span,
  .studybag-hero-meta span, .project-hero-meta span,
  .research-hero-meta span, .facinst-meta-line>span,
  .studybag-row-meta span, .studybag-status,
  .studybag-file small, .project-file-copy small,
  .research-file-copy small, .notification-meta time,
  .lunisc-faq-category, .rf-mini-note, .rf-fine-print,
  .lunisc-news-card-meta, .lunisc-news-card-meta time,
  .lunisc-transport-item time, .lunisc-private-dorm-card time,
  .lunisc-news-hero-meta span, .lunisc-circulars-hero-meta span,
  .lunisc-circulars-item-date, .lunisc-circulars-info dt,
  .lunisc-news-results-head>span, .lunisc-circulars-results-head>span,
  .lunisc-about-founder-role, .lunisc-about-founder-handle
) { font-size: var(--ln-type-meta); }

/* Controls, but never catch svg/img or numeric pills. */
body .page :is(
  .btn, .small-btn, .tab, .fac-tabs a, .major-tabs a,
  .studybags-view-tabs a, .projects-view-tabs a,
  .researches-view-tabs a, .notifications-tabs a,
  .registration-fees-tab, .rf-button, .lunisc-transport-button,
  .lunisc-private-dorms-submit, .lunisc-private-dorm-button,
  .lunisc-faq-search-btn, .lunisc-faq-clear-btn,
  .lunisc-support-send, .lunisc-filter-toggle,
  .lunisc-circulars-action, .facinst-page-link,
  .majors-page-link, .major-page-link
) { font-size: var(--ln-type-control); }
body .page :is(
  .form-label, .filter-group label, .studybag-fields label>span,
  .project-fields label>span, .research-fields label>span,
  .lunisc-support-form label>span, .lunisc-transport-field>span,
  .lunisc-private-dorms-field label
) { font-size: var(--ln-type-label); }
body .page :is(
  .form-control, .search-box input, .results-search input,
  .filter-group select, .facinst-search-field input,
  .facinst-filter-bar select, .facinst-content-filters select,
  .facinst-text-filter, .majors-search-field input,
  .majors-filter-bar select, .major-filter-bar input,
  .major-filter-bar select, .studybags-filter input,
  .studybags-filter select, .projects-filter input,
  .projects-filter select, .researches-filter input,
  .researches-filter select, .studybag-editor input:not([type=file]),
  .studybag-editor select, .studybag-editor textarea,
  .project-editor input:not([type=file]), .project-editor select,
  .project-editor textarea, .research-editor input:not([type=file]),
  .research-editor select, .research-editor textarea,
  .lunisc-faq-search-field input, .lunisc-faq-select-field select,
  .lunisc-news-filter input, .lunisc-news-filter select,
  .lunisc-circulars-filter input, .lunisc-circulars-filter select,
  .lunisc-support-form input:not([type=file]),
  .lunisc-support-form textarea, .lunisc-support-form select,
  .lunisc-transport-field select,
  .lunisc-private-dorms-field input, .lunisc-private-dorms-field select
) { font-size: var(--ln-type-control); line-height: 1.5; }

/* Rich editorial content needs a predictable hierarchy as well. */
body .page :is(.fac-rich, .major-rich,
  .news-article-content, .lunisc-news-article-body,
  .lunisc-circulars-description) :is(h1, h2) {
  font-size: var(--ln-type-section);
  line-height: 1.4;
}
body .page :is(.fac-rich, .major-rich,
  .news-article-content, .lunisc-news-article-body,
  .lunisc-circulars-description) h3 {
  font-size: var(--ln-type-panel);
  line-height: 1.45;
}

/* Registration screens use a different document structure (outside .page). */
.registration-page .registration-aside h1 { font-size:var(--ln-type-panel); line-height:1.3; }
.registration-page .registration-aside>p,
.registration-page .registration-head>p { font-size:var(--ln-type-lead); line-height:1.65; }
.registration-page .form-label { font-size:var(--ln-type-label); }
.registration-page .form-control:not(.code-input) { font-size:var(--ln-type-control); }
.registration-page .registration-step strong { font-size:var(--ln-type-label); }
.registration-page .registration-step span { font-size:var(--ln-type-meta); }

/* Homepage hero is NOT an oversized exception, particularly on phones.
   Keep stats and visual illustration dimensions independent of typography. */
body .home-refresh .home-hero--campus .hero-copy h1 {
  font-size:var(--ln-type-page);
  line-height:1.22;
}
body .home-refresh .home-hero--campus .hero-copy .hero-description {
  font-size:var(--ln-type-lead);
  line-height:1.65;
}
body .home-refresh .section-head h2,
body .home-refresh .home-grid .panel-head h2 {
  font-size:var(--ln-type-section);
}
body .home-refresh :is(.shortcut h3, .home-update-card h3, .resource-title) {
  font-size:var(--ln-type-item);
}
body .home-refresh :is(.shortcut p, .home-update-card p, .resource-meta) {
  font-size:var(--ln-type-small);
}
body .home-refresh .home-highlights-intro strong { font-size:var(--ln-type-item); }
body .home-refresh .home-highlights-intro p { font-size:var(--ln-type-small); }
/* Home uses one small category label, including Arabic, rather than a
   dramatically enlarged headline. */
[dir="rtl"] body .home-refresh .home-hero--campus .hero-copy h1 {letter-spacing:0;}

/* Profile and account details previously used 9–11px copy next to much larger
   titles. Bring actual text, but not academic icons or numerical statistics,
   into the same readable hierarchy as other pages. */
body .page .profile-id > span,
body .page .profile-id-meta > span,
body .page .chip { font-size: var(--ln-type-small); }
body .page .academic-info .ac-row strong { font-size: var(--ln-type-label); }
body .page .academic-info .ac-row > div > span {
  font-size: var(--ln-type-copy);
  line-height: 1.5;
}
body .page .work p { font-size: var(--ln-type-small); }
body .page .settings-nav a { font-size: var(--ln-type-control); }
body .page .settings-form .settings-textarea,
body .page .settings-readonly { font-size: var(--ln-type-control); }
body .page .settings-check strong { font-size: var(--ln-type-item); }
body .page .settings-check span span { font-size: var(--ln-type-small); }
/* Research editor's !important values are defined in lunisc.css;
   override them on DESKTOP ONLY to preserve desktop consistency. */
.research-editor-page .research-editor-head h1 {
  font-size: var(--ln-type-page, 30px) !important;
  line-height: 1.25;
}
.research-editor-page .research-editor-head p:last-child {
  font-size: var(--ln-type-lead, 14px) !important;
  line-height: 1.65 !important;
}
.research-editor-page .research-form-card h2 {
  font-size: var(--ln-type-section, 19px) !important;
  line-height: 1.4;
}
.research-editor-page .research-fields label > span {
  font-size: var(--ln-type-label, 12.5px) !important;
}
.research-editor-page .research-editor :is(input, select, textarea) {
  font-size: var(--ln-type-control, 13.5px) !important;
}


/* October desktop readability pass.
   Earlier screens used 8.7–11px body copy in certain sections. Preserve the
   size hierarchy while making real content legible; do not resize SVG icons,
   avatars, number counters, logo marks, or touch/mobile layouts. */

/* Baseline for page content, without changing the site header or navigation. */
body .page {
  font-size: var(--ln-type-copy);
}
body .page small {
  font-size: var(--ln-type-meta);
  line-height: 1.55;
}
body .page :is(.form-help, .settings-inline-note, .settings-pending,
  .settings-alert, .lunisc-cover-info > small, .lunisc-project-cover-picker > small,
  .lunisc-project-cover-editor > small) {
  font-size: var(--ln-type-small);
  line-height: 1.6;
}

/* Profile: social/contact details and published-work lists. */
body .page :is(
  .profile-contact-row, .profile-link, .profile-cert strong,
  .work h3, .study-title h2, .profile-empty,
  .info-card h2, .bio h2, .settings-upload-box h3
) {
  font-size: var(--ln-type-item);
  line-height: 1.5;
}
body .page :is(
  .profile-id > span, .profile-id-meta span,
  .ac-row > div > span, .profile-pending-note,
  .settings-upload-box p, .settings-check span span
) {
  font-size: var(--ln-type-small);
  line-height: 1.6;
}
body .page :is(
  .profile-cert span, .profile-cert time, .work-meta,
  .stat span, .profile-owner-badge,
  .study-side time, .result-count
) {
  font-size: var(--ln-type-meta);
  line-height: 1.5;
}
body .page .profile-owner-badge {font-size:var(--ln-type-meta) !important;}
body .page .academic-info .ac-row strong {font-size:var(--ln-type-label);}
body .page :is(.work p, .study-desc, .profile-contact-row a) {
  font-size: var(--ln-type-small);
  line-height: 1.6;
}

/* Student directory + personal publishing lists: legible row titles,
   descriptions, tab labels, filters, status labels and pagination. */
body .page :is(
  .studybags-view-tabs a, .projects-view-tabs a, .researches-view-tabs a,
  .fac-tabs a, .major-tabs a, .majors-page-link, .major-page-link,
  .studybags-pagination .page-link, .projects-pagination .page-link,
  .researches-pagination .page-link, .majors-page-link,
  .studybag-back, .project-back, .research-back, .major-faculty-link
) {font-size:var(--ln-type-control);}
body .page :is(
  .studybag-row-title strong, .project-row-title strong,
  .research-row-title strong, .major-course-main strong,
  .majors-row-topline strong, .major-content-copy > strong,
  .studybag-file strong, .project-file-copy strong,
  .research-file-copy strong, .studybag-link-list strong,
  .project-link-list strong, .research-link-list strong,
  .facinst-branch strong, .facinst-major-mini strong
) {
  font-size: var(--ln-type-item);
  line-height: 1.5;
}
body .page :is(
  .studybags-title-row .page-title p, .projects-title-row .page-title p,
  .researches-title-row .page-title p, .studybags-empty,
  .projects-empty, .researches-empty, .studybag-row p,
  .project-row p, .research-row p, .majors-row-copy p,
  .major-course-main p, .facinst-branch span,
  .studybag-academic, .project-academic, .research-academic,
  .studybag-description, .project-description, .research-abstract,
  .major-rich, .fac-rich
) {
  font-size: var(--ln-type-copy);
  line-height: 1.65;
}
body .page :is(
  .studybags-results-head strong, .projects-results-head strong,
  .researches-results-head strong, .facinst-results-head strong,
  .major-section-head p, .studybag-help, .studybag-muted,
  .project-help, .project-muted, .research-help,
  .research-muted, .major-muted, .major-availability-note,
  .studybag-owner-note, .project-owner-note, .research-owner-note,
  .studybag-file small, .project-file-copy small,
  .research-file-copy small, .studybag-link-list span,
  .project-owner-files span, .studybag-owner-files > div,
  .facinst-contact span, .facinst-contact a,
  .facinst-major-mini small, .facinst-album-item span
) {
  font-size: var(--ln-type-small);
  line-height: 1.6;
}
body .page :is(
  .studybags-results-head > span, .projects-results-head > span,
  .researches-results-head > span, .facinst-results-head > span,
  .studybag-row-meta span, .project-row-meta span,
  .research-row-meta span, .studybag-status, .project-status,
  .research-status, .studybag-hero-meta span,
  .project-hero-meta span, .research-hero-meta span,
  .major-hero-meta span, .facinst-hero-meta span,
  .studybag-context dt, .project-context dt, .research-context dt
) {
  font-size: var(--ln-type-meta);
  line-height: 1.5;
}
body .page :is(
  .studybag-context dd, .project-context dd, .research-context dd,
  .studybag-file b, .project-file b, .research-file b,
  .studybag-link-list a, .studybag-owner-files span,
  .majors-row-meta, .major-course-meta
) {font-size:var(--ln-type-small);}
body .page :is(
  .studybags-filter input, .studybags-filter select,
  .projects-filter input, .projects-filter select,
  .researches-filter input, .researches-filter select,
  .facinst-filter-bar select, .facinst-content-filters select,
  .facinst-text-filter, .major-filter-bar input,
  .major-filter-bar select, .majors-filter-bar select,
  .majors-search-field input, .facinst-search-field input,
  .studybag-editor input:not([type=file]), .studybag-editor select,
  .studybag-editor textarea, .project-editor input:not([type=file]),
  .project-editor select, .project-editor textarea,
  .research-editor input:not([type=file]), .research-editor select,
  .research-editor textarea
) {font-size:var(--ln-type-control);}
body .page :is(
  .studybag-fields label > span, .project-fields label > span,
  .research-fields label > span, .settings-form .form-label,
  .settings-upload-box label, .major-filter-bar label
) {font-size:var(--ln-type-label);}

/* Academic catalog: rich HTML paragraphs/list items were particularly tiny. */
body .page :is(.major-rich, .fac-rich) :is(p, li, ol, ul) {
  font-size: var(--ln-type-copy);
  line-height: 1.75;
}
body .page :is(.major-rich, .fac-rich) :is(h3, h4) {
  font-size: var(--ln-type-panel);
  line-height: 1.45;
}

/* Profile edit forms, prompts, file cards, cropper instructions. */
body .page :is(
  .settings-section-head h2, .settings-upload-box h3,
  .settings-check strong, .settings-form legend
) {font-size:var(--ln-type-item);}
body .page :is(
  .settings-section-head p, .settings-inline-note,
  .settings-upload-box p, .settings-upload-preview,
  .settings-pending, .settings-alert,
  .settings-check span span, .settings-file-input,
  .settings-row-remove, .settings-add-row
) {font-size:var(--ln-type-small); line-height:1.6;}
body .page :is(
  .settings-textarea, .settings-readonly,
  .settings-form input:not([type=file]), .settings-form select,
  .settings-nav a
) {font-size:var(--ln-type-control);}

/* Related information, notifications, news, dorms, transportation. */
body .page :is(
  .notification-content > p, .notifications-empty p,
  .lunisc-transport-detail, .lunisc-transport-notice,
  .lunisc-private-dorm-card p, .lunisc-community-cta p,
  .lunisc-terms-consent, .lunisc-transport-route span,
  .lunisc-news-lead, .lunisc-circulars-description,
  .lunisc-legal-section li
) {font-size:var(--ln-type-copy); line-height:1.65;}
body .page :is(
  .notification-view-link, .notification-actions-menu button,
  .lunisc-transport-contact-button, .lunisc-private-dorm-button,
  .lunisc-news-results-head > span,
  .lunisc-circulars-results-head > span,
  .lunisc-private-dorm-contact > span,
  .lunisc-private-dorms-verified
) {font-size:var(--ln-type-small);}
body .page :is(.notification-meta time, .notification-security-badge,
  .lunisc-circulars-item-date, .lunisc-news-card-meta) {
  font-size:var(--ln-type-meta);
}

}


/* LUNISC DESKTOP TEXT STANDARD — 2026-10-23
   All pages share one hierarchy. Strictly desktop >=1024px; no mobile overrides.
   Page 29 / Section 20 / Card 17 / Body 15.5 / Supporting 14.5 /
   Metadata 13.5 / Form labels & controls 14.5 (pixels).
   Icon artwork, avatars and numeric counters keep their original sizes.
*/
@media screen and (min-width: 1024px) {
  :root {
    --ln-unified-page: 29px;
    --ln-unified-section: 20px;
    --ln-unified-item: 16.5px;
    --ln-unified-body: 15.5px;
    --ln-unified-secondary: 14.5px;
    --ln-unified-meta: 13.5px;
    --ln-unified-label: 14px;
    --ln-unified-control: 14.5px;
  }

  body .page, body .registration-page,
  body .admin-workspace, body .admin-auth-shell {
    font-size: var(--ln-unified-body);
    line-height: 1.6;
  }
  /* Structural defaults cover any future public page using standard markup. */
  body .page :is(h1), body .registration-page h1 {font-size:var(--ln-unified-page);line-height:1.28;}
  body .page :is(h2), body .registration-page h2 {font-size:var(--ln-unified-section);line-height:1.35;}
  body .page :is(h3), body .registration-page h3 {font-size:var(--ln-unified-item);line-height:1.4;}
  body .page :is(p,li), body .registration-page :is(p,li) {font-size:var(--ln-unified-body);line-height:1.65;}
  body .page :is(small,time), body .registration-page :is(small,time) {font-size:var(--ln-unified-meta);line-height:1.5;}
  body .page :is(label), body .registration-page label {font-size:var(--ln-unified-label);line-height:1.5;}
  body .page :is(input,textarea,select), body .registration-page :is(input,textarea,select) {font-size:var(--ln-unified-control);}
  /* Consistent navigation, footer and auth controls. */
  body :is(.main-nav > a,.nav-more > button,.more-menu a,.auth-link,.footer-inner,.registration-step strong) {
    font-size:var(--ln-unified-control);
  }
  body :is(.registration-head p,.registration-aside > p,.login-aside-point) {font-size:var(--ln-unified-body);}
  body :is(.registration-note,.form-help,.registration-step span,.login-remember-help) {
    font-size:var(--ln-unified-secondary);
  }
  body .page :is(.page-title,.lunisc-news-hero,.lunisc-circulars-hero,.studybag-hero,.project-hero,.research-hero,.settings-head,.major-hero) h1 {
    font-size:var(--ln-unified-page);line-height:1.26;
  }
  body .page :is(.major-rich,.fac-rich,.lunisc-legal-section,.news-article-content,.lunisc-news-article-body,.lunisc-faq-answer-text) :is(p,li) {
    font-size:var(--ln-unified-body);line-height:1.72;
  }
  body .page .settings-section-head h2 {font-size:var(--ln-unified-section)!important;}
  body .page .academic-info .ac-row strong {font-size:var(--ln-unified-label)!important;}
  body .page :is(.major-rich,.fac-rich,.lunisc-legal-section,.news-article-content,.lunisc-news-article-body) h3 {
    font-size:var(--ln-unified-item);line-height:1.45;
  }
  /* Icon-only controls are not given arbitrary text sizes. */
  body :is(.icon-btn,.lunisc-icon-btn) :is(svg,i) {font-size:inherit;}

body :is(
    .bio h2,
    .fac-card h2,
    .fac-rich h2,
    .filter-box h2,
    .info-card h2,
    .lunisc-circulars-card h2,
    .lunisc-news-article-body h2,
    .lunisc-news-card h2,
    .lunisc-transport-card-head h2,
    .major-card h2,
    .major-card.fac-card h2,
    .notification-title-line h2,
    .notifications-empty h2,
    .panel-head h2,
    .project-card h2,
    .project-form-card h2,
    .project-owner-panel h2,
    .project-owner-summary h2,
    .research-card h2,
    .research-editor-page .research-form-card h2
  ) { font-size: var(--ln-unified-section) !important; }

body :is(
    .research-form-card h2,
    .research-owner-panel h2,
    .study-title h2,
    .studybag-card h2,
    .studybag-form-card h2,
    .studybag-owner-panel h2,
    .studybag-owner-summary h2
  ) { font-size: var(--ln-unified-section) !important; }

body :is(
    .academic-student-details strong,
    .branch strong,
    .fac-rich h3,
    .facinst-branch strong,
    .facinst-card-copy strong,
    .facinst-card-heading>span,
    .facinst-dialog-contact strong,
    .facinst-major-mini strong,
    .facinst-major-row-copy>strong,
    .facinst-resource-copy>strong,
    .facinst-results-head strong,
    .header-notification-copy strong,
    .header-notification-head strong,
    .hero-note strong,
    .home-refresh .home-grid .resource-title,
    .login-aside-point strong,
    .login-restore h3,
    .lunisc-circulars-item-copy strong,
    .lunisc-circulars-results-head strong,
    .lunisc-cover-info>strong
  ) { font-size: var(--ln-unified-item) !important; }

body :is(
    .lunisc-faq-item-title,
    .lunisc-news-article-body h3,
    .lunisc-news-card-title,
    .lunisc-news-results-head strong,
    .lunisc-private-dorm-card-header h3,
    .lunisc-private-dorm-contact strong,
    .lunisc-transport-operator h3,
    .major-content-copy>strong,
    .major-course-main strong,
    .major-results-head strong,
    .majors-results-head strong,
    .majors-results-head.facinst-results-head strong,
    .majors-row .facinst-major-row-copy>strong,
    .majors-row .majors-row-topline strong,
    .majors-row-topline strong,
    .news-related-row strong,
    .pd-guide-feature h3,
    .pd-guide-note h3,
    .profile-cert strong,
    .project-file-copy strong
  ) { font-size: var(--ln-unified-item) !important; }

body :is(
    .project-link-list strong,
    .project-owner-edit-section h3,
    .project-review-note strong,
    .project-row-title strong,
    .project-user-suggestion strong,
    .projects-results-head strong,
    .registration-step strong,
    .research-file-copy strong,
    .research-owner-edit-section h3,
    .research-review-note strong,
    .research-row-title strong,
    .researches-results-head strong,
    .resource-title,
    .rf-callout h3,
    .rf-cat-body h3,
    .rf-extra h3,
    .rf-step h3,
    .settings-check strong,
    .settings-upload-box h3,
    .shortcut h3
  ) { font-size: var(--ln-unified-item) !important; }

body :is(
    .studybag-file b,
    .studybag-file strong,
    .studybag-link-list strong,
    .studybag-owner-edit-section h3,
    .studybag-review-note strong,
    .studybag-row-title strong,
    .studybags-results-head strong,
    .update h3,
    .work h3
  ) { font-size: var(--ln-unified-item) !important; }

body :is(
    .bio p,
    .empty,
    .fac-card p,
    .facinst-branch-dialog-head p,
    .facinst-contact-contribute p,
    .facinst-major-row-copy>p,
    .facinst-resource-copy>p,
    .faculty-hero p,
    .hero-copy p,
    .hero-note p,
    .home-refresh .home-highlights-intro p,
    .home-refresh .home-update-card p,
    .home-refresh .shortcut p,
    .image-cropper-head p,
    .login-restore p,
    .lunisc-about-founder-info p,
    .lunisc-about-identity-copy p,
    .lunisc-about-panel p,
    .lunisc-about-thanks-list li,
    .lunisc-circulars-title-row .page-title>p:last-child
  ) { font-size: var(--ln-unified-body) !important; }

body :is(
    .lunisc-community-cta p,
    .lunisc-dorms-landing-heading p:last-child,
    .lunisc-faq-empty p,
    .lunisc-legal-contact p,
    .lunisc-legal-section li,
    .lunisc-legal-section p,
    .lunisc-news-title-row .page-title>p:last-child,
    .lunisc-private-dorm-card-header p,
    .lunisc-private-dorms-results-head p,
    .lunisc-private-dorms-title .page-title p:last-child,
    .lunisc-support-side p,
    .lunisc-transport-heading p:last-child,
    .lunisc-transport-results-head p,
    .major-content-copy>p,
    .major-course-main p,
    .majors-row .facinst-major-row-copy>p,
    .majors-row .majors-row-copy>p,
    .majors-row-copy p,
    .news-card-content>p,
    .news-feature-content>p:not(.news-feature-label)
  ) { font-size: var(--ln-unified-body) !important; }

body :is(
    .news-no-results p,
    .news-section-head p,
    .notification-content>p,
    .notifications-empty p,
    .notifications-head p,
    .page-title p,
    .pd-guide-feature p,
    .pd-top .page-title p:last-child,
    .project-editor-head>p:last-child,
    .project-image-dialog p,
    .project-review-note p,
    .project-row p,
    .projects-title-row .page-title>p:last-child,
    .registration-aside>p,
    .registration-fees-heading p:last-of-type,
    .registration-head p,
    .research-editor-head>p:last-child,
    .research-editor-page .research-editor-head p:last-child,
    .research-review-note p,
    .research-row p
  ) { font-size: var(--ln-unified-body) !important; }

body :is(
    .researches-title-row .page-title>p:last-child,
    .rf-callout p,
    .rf-document-list li,
    .rf-document-list li:before,
    .rf-extra p,
    .rf-section p,
    .rf-step p,
    .settings-head p,
    .settings-section-head p,
    .settings-upload-box p,
    .shortcut p,
    .studybag-editor-head p:last-child,
    .studybag-review-note p,
    .studybag-row p,
    .studybags-title-row .page-title p,
    .update p,
    .work p
  ) { font-size: var(--ln-unified-body) !important; }

body :is(
    .ac-row span,
    .academic-students-empty,
    .academic-summary,
    .auth-progress-circle,
    .auth-secondary,
    .branch span,
    .chip,
    .development-code span,
    .fac-rich,
    .fac-rich h4,
    .facinst-album-item span,
    .facinst-branch span,
    .facinst-contact span,
    .facinst-dialog-kicker,
    .facinst-dialog-section h4,
    .facinst-empty,
    .facinst-page-ellipsis,
    .facinst-page-link,
    .facinst-pagination>span,
    .facinst-results-head span
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .facinst-text-filter,
    .form-help,
    .header-notification-copy>span,
    .header-notification-empty,
    .header-notification-head>span,
    .header-notification-view-all,
    .hero-stat span,
    .home-refresh .home-highlights .hero-stat span,
    .home-refresh .section-link,
    .lang,
    .login-aside-point,
    .login-check,
    .login-remember-help,
    .lunisc-about-closing,
    .lunisc-about-founder-handle,
    .lunisc-about-founder-role,
    .lunisc-circulars-action,
    .lunisc-circulars-description,
    .lunisc-circulars-empty,
    .lunisc-circulars-info dd
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .lunisc-circulars-item-date,
    .lunisc-circulars-item-issuer,
    .lunisc-circulars-pagination .ellipsis,
    .lunisc-circulars-pdf-chip,
    .lunisc-circulars-results-head>span,
    .lunisc-dorms-option-action,
    .lunisc-dorms-option-body>span:nth-child(2),
    .lunisc-faq-answer-text,
    .lunisc-faq-category,
    .lunisc-faq-clear-btn,
    .lunisc-faq-help>span,
    .lunisc-faq-page-caption,
    .lunisc-faq-pagination>span:not(.lunisc-faq-ellipsis),
    .lunisc-faq-results-head>span,
    .lunisc-faq-search-btn,
    .lunisc-filter-toggle,
    .lunisc-legal-contact-link,
    .lunisc-legal-description,
    .lunisc-legal-eyebrow,
    .lunisc-legal-number
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .lunisc-legal-toc-head,
    .lunisc-legal-toc-no,
    .lunisc-news-article-body,
    .lunisc-news-context dd,
    .lunisc-news-empty,
    .lunisc-news-lead,
    .lunisc-news-pagination .ellipsis,
    .lunisc-news-results-head>span,
    .lunisc-private-dorm-button,
    .lunisc-private-dorm-contact>span,
    .lunisc-private-dorm-location,
    .lunisc-private-dorm-verified,
    .lunisc-private-dorms-back,
    .lunisc-private-dorms-clear,
    .lunisc-private-dorms-empty,
    .lunisc-private-dorms-notice,
    .lunisc-private-dorms-pagination .ellipsis,
    .lunisc-private-dorms-submit,
    .lunisc-project-cover-picker>span,
    .lunisc-support-description
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .lunisc-support-error,
    .lunisc-support-note,
    .lunisc-support-privacy,
    .lunisc-support-send,
    .lunisc-support-success,
    .lunisc-terms-consent,
    .lunisc-toast-message,
    .lunisc-transport-button,
    .lunisc-transport-contact-button,
    .lunisc-transport-detail,
    .lunisc-transport-field>span,
    .lunisc-transport-message,
    .lunisc-transport-notice,
    .lunisc-transport-number,
    .lunisc-transport-operator span,
    .lunisc-transport-pagination .ellipsis,
    .lunisc-transport-reset,
    .lunisc-transport-route span,
    .major-availability-note,
    .major-branch-list span
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .major-card .major-rich,
    .major-course-code,
    .major-course-description,
    .major-empty,
    .major-faculty-link,
    .major-hero .major-faculty-link,
    .major-muted,
    .major-page-ellipsis,
    .major-page-link,
    .major-results-head span,
    .major-rich,
    .major-rich h4,
    .major-section-head>span,
    .major-summary dd,
    .majors-certificate,
    .majors-empty,
    .majors-faculty,
    .majors-page-ellipsis,
    .majors-page-link,
    .majors-results-head span
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .majors-results-head.facinst-results-head span,
    .majors-row .majors-faculty,
    .majors-row .majors-years,
    .majors-years,
    .news-back,
    .news-breadcrumbs,
    .news-category,
    .news-clear,
    .news-eyebrow,
    .news-filter-button,
    .news-intro,
    .news-pagination-current,
    .news-pagination-ellipsis,
    .news-read-link,
    .notification-security-badge,
    .notification-view-link,
    .notifications-count,
    .notifications-pagination span,
    .notifications-unread-count,
    .pd-all-blocks
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .pd-back,
    .pd-contact-value,
    .pd-contact-value.pd-empty,
    .pd-guide-application-link,
    .pd-guide-intro,
    .pd-guide-location-link,
    .pd-guide-section-body,
    .pd-map-hint,
    .pd-see-on-map,
    .pd-tab,
    .profile-cert span,
    .profile-contact-row,
    .profile-empty,
    .profile-id span,
    .profile-link,
    .profile-owner-badge,
    .profile-pending-note,
    .project-academic,
    .project-back,
    .project-card-head>span
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .project-chip-list span,
    .project-context dd,
    .project-description,
    .project-file-drop span,
    .project-help,
    .project-owner-file-picker span,
    .project-owner-files span,
    .project-owner-note,
    .project-people-list span,
    .project-team-duplicate,
    .project-user-suggestion span,
    .projects-empty,
    .projects-pagination .ellipsis,
    .projects-results-head span,
    .registration-alert,
    .registration-fees-tab,
    .registration-note,
    .registration-step span,
    .registration-step-number,
    .research-abstract
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .research-author-list,
    .research-back,
    .research-context dd,
    .research-date span,
    .research-editor-page .research-back,
    .research-editor-page .research-file-drop>span,
    .research-file-drop span,
    .research-file-selection-item span,
    .research-keyword-list span,
    .research-owner-note,
    .research-people-list>div,
    .researches-empty,
    .researches-pagination .ellipsis,
    .researches-results-head span,
    .resend-status,
    .result-count,
    .rf-button,
    .rf-fee-table,
    .rf-fee-table thead th,
    .rf-fine-print
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .rf-mini-note,
    .rf-step-no,
    .section-link,
    .select-box,
    .settings-alert,
    .settings-check span span,
    .settings-file-input,
    .settings-inline-note,
    .settings-pending,
    .settings-row-remove,
    .settings-upload-preview,
    .small-btn,
    .stat span,
    .study-desc,
    .studybag-academic,
    .studybag-back,
    .studybag-card-head>span,
    .studybag-context dd,
    .studybag-description,
    .studybag-file-drop>span
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .studybag-help,
    .studybag-link-list span,
    .studybag-muted,
    .studybag-owner-file-picker span,
    .studybag-owner-files>div,
    .studybag-owner-note,
    .studybag-status,
    .studybag-type-badge,
    .studybags-empty,
    .studybags-results-head span,
    .verification-email,
    input[type="file"]::file-selector-button,
    input[type="file"]:not([hidden])
  ) { font-size: var(--ln-unified-secondary) !important; }

body :is(
    .badge,
    .development-code small,
    .facinst-card-copy small,
    .facinst-dialog-contact small,
    .facinst-hero-meta span,
    .facinst-major-mini small,
    .facinst-meta-line>span,
    .header-notification-copy time,
    .home-refresh .home-grid .resource-meta,
    .home-refresh .home-hero--campus .kicker,
    .home-refresh .home-update-meta,
    .home-refresh .home-update-meta time,
    .kicker,
    .lunisc-circulars-hero .kicker,
    .lunisc-circulars-hero-meta span,
    .lunisc-cover-info>small,
    .lunisc-legal-meta,
    .lunisc-news-card-meta,
    .lunisc-news-card-meta time,
    .lunisc-news-hero .kicker
  ) { font-size: var(--ln-unified-meta) !important; }

body :is(
    .lunisc-news-hero-meta span,
    .lunisc-project-cover-editor>small,
    .lunisc-project-cover-picker>small,
    .major-content-meta>span,
    .major-course-meta span,
    .major-hero .facinst-hero-meta span,
    .major-hero-meta span,
    .meta,
    .news-meta,
    .news-related-row time,
    .notification-meta time,
    .pd-guide-cost small,
    .profile-cert time,
    .profile-id-meta span,
    .project-file-copy small,
    .project-file-drop small,
    .project-file-ext,
    .project-hero .kicker,
    .project-hero-meta span,
    .project-link-kind
  ) { font-size: var(--ln-unified-meta) !important; }

body :is(
    .project-owner-file-picker small,
    .project-people-list small,
    .research-editor-page .research-file-drop>small,
    .research-file-copy small,
    .research-file-drop small,
    .research-file-ext,
    .research-file-selection-item small,
    .research-hero-meta span,
    .research-row-meta,
    .resource-meta,
    .rf-cat-label small,
    .rf-extra-amount,
    .rf-extra-amount small,
    .rf-fee-table td small,
    .status,
    .study-side time,
    .studybag-file small,
    .studybag-file-drop small,
    .studybag-file-ext,
    .studybag-hero .kicker
  ) { font-size: var(--ln-unified-meta) !important; }

body :is(
    .studybag-hero-meta span,
    .studybag-owner-file-picker small,
    .studybag-row-meta span,
    .update time,
    .work-meta
  ) { font-size: var(--ln-unified-meta) !important; }

body :is(
    .ac-row strong,
    .auth-progress-label,
    .filter-group label,
    .form-label,
    .image-cropper-controls label span,
    .lunisc-circulars-info dt,
    .lunisc-news-context dt,
    .lunisc-project-cover-editor label,
    .lunisc-support-form label>span,
    .major-summary dt,
    .news-feature-label,
    .pd-contact-label,
    .pd-guide-cost-label,
    .project-context dt,
    .project-detail-page .lunisc-labeled-action,
    .project-editor-page .lunisc-labeled-action,
    .project-fields label>span,
    .project-owner-edit-grid label>span,
    .research-context dt,
    .research-detail-page .lunisc-labeled-action
  ) { font-size: var(--ln-unified-label) !important; }

body :is(
    .research-editor label>span,
    .research-editor-page .lunisc-labeled-action,
    .research-editor-page .research-fields label>span,
    .rf-cat-label strong,
    .studybag-context dt,
    .studybag-detail-page .lunisc-labeled-action,
    .studybag-editor-page .lunisc-labeled-action,
    .studybag-fields label>span,
    .studybag-owner-edit-grid label>span
  ) { font-size: var(--ln-unified-label) !important; }

body :is(
    .auth-link,
    .btn,
    .fac-tabs a,
    .facinst-contact a,
    .facinst-contact-contribute a,
    .facinst-content-filters select,
    .facinst-filter-bar select,
    .facinst-search-field input,
    .filter-group select,
    .footer-inner,
    .form-control,
    .lunisc-circulars-filter input,
    .lunisc-circulars-filter select,
    .lunisc-circulars-pagination .page-link,
    .lunisc-community-cta a,
    .lunisc-faq-help a,
    .lunisc-faq-pagination>a,
    .lunisc-faq-search-field input,
    .lunisc-faq-select-field select,
    .lunisc-legal-toc nav a
  ) { font-size: var(--ln-unified-control) !important; }

body :is(
    .lunisc-legal-toplinks a,
    .lunisc-news-filter input,
    .lunisc-news-filter select,
    .lunisc-news-pagination .page-link,
    .lunisc-private-dorms-field input,
    .lunisc-private-dorms-field select,
    .lunisc-private-dorms-pagination .page-link,
    .lunisc-support-form input,
    .lunisc-support-form select,
    .lunisc-support-form textarea,
    .lunisc-support-side-card a,
    .lunisc-transport-field select,
    .lunisc-transport-pagination .page-link,
    .main-nav>a,
    .major-filter-bar input,
    .major-filter-bar select,
    .major-search-field input,
    .major-tabs a,
    .major-tabs.fac-tabs a,
    .majors-filter-bar .majors-search-field input
  ) { font-size: var(--ln-unified-control) !important; }

body :is(
    .majors-filter-bar select,
    .majors-search-field input,
    .more-menu a,
    .nav-more>button,
    .news-article-footer,
    .news-filter-select select,
    .news-pagination a,
    .news-searchbox input,
    .notification-actions-menu button,
    .notifications-filter-form select,
    .notifications-tabs a,
    .profile-menu a,
    .profile-menu button,
    .project-editor input,
    .project-editor select,
    .project-editor textarea,
    .projects-filter input,
    .projects-filter select,
    .projects-pagination .page-link,
    .projects-view-tabs a
  ) { font-size: var(--ln-unified-control) !important; }

body :is(
    .research-editor input,
    .research-editor select,
    .research-editor textarea,
    .research-editor-page .research-editor input,
    .research-editor-page .research-editor select,
    .research-editor-page .research-editor textarea,
    .researches-filter input,
    .researches-filter select,
    .researches-pagination .page-link,
    .researches-view-tabs a,
    .results-search input,
    .search-box input,
    .search-mini input,
    .settings-nav a,
    .settings-readonly,
    .settings-textarea,
    .studybag-editor input,
    .studybag-editor select,
    .studybag-editor textarea,
    .studybags-filter input
  ) { font-size: var(--ln-unified-control) !important; }

body :is(
    .studybags-filter select,
    .studybags-page .studybags-view-tabs a,
    .studybags-pagination .page-link,
    .studybags-view-tabs a,
    .tab
  ) { font-size: var(--ln-unified-control) !important; }
}
