/* PROCser Connect | Platform-wide Typography Standard | 17 Nov 2026
   Single source of truth for the public site, sign-up, company workspace,
   RFQ builder, management area, confirmation pages and legacy previews.
   Load LAST, after each screen's layout/theme CSS.
   Typography only: no background, logo, spacing or interaction changes. */
:root {
  --pc-font: Inter, "Segoe UI", Arial, sans-serif;
  --pc-type-hero: 32px;
  --pc-type-page: 24px;
  --pc-type-marketing-section: 22px;
  --pc-type-section: 18px;
  --pc-type-subsection: 16px;
  --pc-type-card: 16px;
  --pc-type-body: 15px;
  --pc-type-menu: 14px;
  --pc-type-button: 14px;
  --pc-type-label: 14px;
  --pc-type-input: 14px;
  --pc-type-detail: 13px;
  --pc-type-caption: 12px;
  --pc-type-eyebrow: 11px;
  --pc-type-metric: 30px;
  --pc-weight-body: 400;
  --pc-weight-menu: 400;
  --pc-weight-medium: 500;
  --pc-weight-section: 500;
  --pc-weight-heading: 700;
}
html {
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body {
  font-family:var(--pc-font);
  font-size:var(--pc-type-body);
  font-weight:var(--pc-weight-body);
  line-height:1.55;
}
button, input, select, textarea {font-family:var(--pc-font)}
/* Consistent heading levels. Bold is reserved for the main page heading.
   Secondary levels rely on size, white space and medium weight. */
h1,
.topbar h1,
.auth-card h1,
.reg-side h1,
main > .row h1,
#page-heading,
.drawer-top h1 {
  font-family:var(--pc-font);
  font-size:var(--pc-type-page);
  font-weight:var(--pc-weight-heading);
  line-height:1.22;
  letter-spacing:-.45px;
}
h2,
.panel h2,
.surface h2,
.section-head h2,
.panel-head h2,
.step-title h2,
.drawer-top h2,
#detail-title {
  font-family:var(--pc-font);
  font-size:var(--pc-type-section);
  font-weight:var(--pc-weight-section);
  line-height:1.36;
  letter-spacing:-.16px;
}
h3, h4,
.req-header h3,
.details-section h3,
.detail-section h3,
.review-head h3,
.benefits h3,
.steps h3,
.aud-card h3,
.detail-subheading {
  font-family:var(--pc-font);
  font-size:var(--pc-type-subsection);
  font-weight:var(--pc-weight-medium);
  line-height:1.4;
  letter-spacing:0;
}
h4 {font-size:var(--pc-type-label)}
p, li {font-weight:var(--pc-weight-body);line-height:1.55}
/* Informative labels are regular, while values inside boxes are smaller
   than their section headings. */
label,
.field label,
.form label,
.form-grid label,
.auth-card label,
.form-panel label,
.action-form label,
.detail-grid label,
.component-common-fields label,
.component-row label,
.detail-card label {
  font-size:var(--pc-type-label);
  font-weight:var(--pc-weight-body);
  line-height:1.45;
}
input:not([type="checkbox"]):not([type="radio"]),
select, textarea,
.field input, .field select,
.form input:not([type="checkbox"]), .form select,
.filters input, .filters select {
  font-size:var(--pc-type-input);
  font-weight:var(--pc-weight-body);
  line-height:1.5;
}
input::placeholder,textarea::placeholder {font-size:var(--pc-type-input);font-weight:400}
/* Interactive controls have one coherent size in every application. */
button,
.btn, .btn-main, .btn-light, .btn-link, .btn-table, .text-button,
.primary, .secondary, .reg-button, .link-muted, .edit-link,
.req-actions button, .quick-actions button, .request-filters button,
.account-form-footer button, .header-cta span {
  font-size:var(--pc-type-button);
  font-weight:var(--pc-weight-medium);
  line-height:1.4;
}
.top nav a, .back,
.sidebar nav button,
.sidebar nav button span,
.side-nav .nav-link,
.nav-item {
  font-size:var(--pc-type-menu);
  font-weight:var(--pc-weight-menu);
  line-height:1.42;
}
/* These spans are actual navigation icons: preserve the icon-size rules. */
.app-shell .side-nav .nav-link span {font-size:19px;font-weight:400}
.sidebar .menu-label,
.sidebar .side-label,
.sidebar .side-caption,
.sidebar .sidebar-foot-label,
.sidebar .side-brand > small,
.side-brand > small,
.eyebrow, .auth-kicker, .brand-caption {
  font-size:var(--pc-type-eyebrow);
  font-weight:var(--pc-weight-medium);
  line-height:1.4;
  letter-spacing:1px;
}
.sidebar .sidebar-foot-label{font-size:var(--pc-type-eyebrow)}
.sidebar .sidebar-foot p,
.sidebar .sidebar-bottom a,
.sidebar .sidebar-safe {font-size:var(--pc-type-detail);line-height:1.5}
/* Cards, stats, profile/response summaries and tables. */
.metric span, .metric-link span:first-child, .delivery-stat span {
  font-size:var(--pc-type-label);
  font-weight:var(--pc-weight-body);
  line-height:1.4;
}
.metric strong, .delivery-stat strong {
  font-size:var(--pc-type-metric);
  font-weight:600;
  line-height:1.2;
  letter-spacing:-.55px;
}
.metric small, .metric em {font-size:var(--pc-type-caption);font-weight:400}
.req-header h3, .recent-name, .role-copy strong {
  font-size:var(--pc-type-subsection);
  font-weight:var(--pc-weight-medium);
}
.req-meta,.recent-sub,.subtle,.notice,.info-note,.role-copy small {
  font-size:var(--pc-type-detail);
  font-weight:var(--pc-weight-body);
  line-height:1.5;
}
table, td, .table-wrap td, .summary-row {font-size:var(--pc-type-label);line-height:1.5}
th, .table-wrap th {
  font-size:var(--pc-type-caption);
  font-weight:var(--pc-weight-medium);
  line-height:1.35;
  letter-spacing:.2px;
}
strong,b {font-weight:var(--pc-weight-medium)}
.tag, .pill,.badge,.count-pill,.step-chip,
.hint,.tip,.tiny,.detail-note,.doc-warning,
.form-note,.reg-security,.header-cta small,
#company-caption,.section-head p,.panel-head p,
.auth-foot,.form-error,.selected-role,
.small,.security-message {
  font-size:var(--pc-type-caption);
  font-weight:var(--pc-weight-body);
  line-height:1.5;
}
small {font-size:var(--pc-type-caption);font-weight:var(--pc-weight-body)}
.tag,.pill,.badge,.count-pill {font-weight:var(--pc-weight-medium)}
.topbar p, .auth-card p, .view > p, .panel > p {
  font-size:var(--pc-type-body);
  font-weight:var(--pc-weight-body);
  line-height:1.55;
}
/* RFQ form lives in an embedded page and must share the same scale. */
main > .row h1 {font-size:var(--pc-type-page);font-weight:var(--pc-weight-heading)}
main > .row p.muted {font-size:var(--pc-type-detail)}
details > summary {
  font-size:var(--pc-type-subsection);
  font-weight:var(--pc-weight-section);
  line-height:1.42;
}
.component-group > summary,
.item-detail > summary,
.detail-card-title,
.question-title,
.sample-shared-title {
  font-size:var(--pc-type-body);
  font-weight:var(--pc-weight-medium);
  line-height:1.42;
}
.choice, .choice-copy .choice-title,
.checkbox-label,.option-stack .choice,
.component-common-fields p,
.sample-address-preview {
  font-size:var(--pc-type-label);
  font-weight:var(--pc-weight-body);
  line-height:1.5;
}
.choice-copy small,.question-hint, .muted,
.doc-warning,.sample-address-status {
  font-size:var(--pc-type-detail);
  font-weight:var(--pc-weight-body);
  line-height:1.5;
}
.tiny, .detail-note, .doc-scope label {
  font-size:var(--pc-type-caption);
  font-weight:var(--pc-weight-body);
  line-height:1.45;
}
/* Landing and registration preserve intentionally larger editorial headings,
   but use the same typeface, weights and shared scale. */
.hero h1 {
  font-size:var(--pc-type-hero);
  font-weight:var(--pc-weight-heading);
  line-height:1.16;
  letter-spacing:-.6px;
}
.hero p, .reg-side > p {font-size:var(--pc-type-body);font-weight:400;line-height:1.55}
.audience h2,.how h2,.detail h2 {
  font-size:var(--pc-type-marketing-section);
  font-weight:var(--pc-weight-section);
  line-height:1.32;
}
.aud-card h3,.benefits h3,.steps h3 {
  font-size:var(--pc-type-card);
  font-weight:var(--pc-weight-medium);
}
.benefits p,.steps p {font-size:var(--pc-type-detail);line-height:1.55}
.hybrid-banner strong {font-size:var(--pc-type-section);font-weight:var(--pc-weight-medium)}
.reg-side h1 {font-size:var(--pc-type-page)}
.side-feature strong {font-size:var(--pc-type-body);font-weight:var(--pc-weight-medium)}
.side-feature small {font-size:var(--pc-type-detail)}
.step-title h2 {font-size:var(--pc-type-section);font-weight:var(--pc-weight-section)}
.reg-brand,.role-copy strong,.detail-list strong{font-weight:var(--pc-weight-medium)}
/* Optional/old dashboard screens follow the same headings and table sizes. */
.crumb, .user, .history, .history-item, .notice {font-size:var(--pc-type-detail)}
.drawer-top h2 {font-size:var(--pc-type-section)}
.search-label span {font-size:23px} /* search icon, not text */
.side-nav .nav-link b {font-size:var(--pc-type-caption)}
/* Legal text is read as body copy, not as a dashboard form. */
body:has(>h1) {font-size:var(--pc-type-body)}
body:has(>h1) > h1 {font-size:var(--pc-type-page)}
body:has(>h1) > h2 {font-size:var(--pc-type-section)}
@media (max-width:720px) {
  :root {
    --pc-type-hero:28px;
    --pc-type-page:22px;
    --pc-type-marketing-section:20px;
    --pc-type-section:17px;
    --pc-type-metric:28px;
  }
  .top nav a,.sidebar nav button span,.side-nav .nav-link {font-size:var(--pc-type-menu)}
  .hero h1,.reg-side h1 {letter-spacing:-.25px}
}

/* Context-specific text formerly displayed with inconsistent heavy weights. */
.pilot-tag,
.demo-pill,
.badge-status,
.account-status,
.rfq-email-state {
  font-size:var(--pc-type-caption);
  font-weight:var(--pc-weight-medium);
  line-height:1.45;
}
.field-label,
.profile-edit-grid label,
.admin-company-logo label,
.profile-logo-actions .profile-logo-file-label {
  font-size:var(--pc-type-label);
  font-weight:var(--pc-weight-body);
  line-height:1.45;
}
.details-section dt,
.preview-subject,
.account-exact-name,
.account-summary-link,
.profile-editor summary,
.profile-editor summary span {
  font-size:var(--pc-type-body);
  font-weight:var(--pc-weight-medium);
  line-height:1.45;
}
.global-status,.recent-row button,
.account-action-buttons button,
.sidebar-foot #sidebar-firm,
.request-file-link {
  font-size:var(--pc-type-label);
  font-weight:var(--pc-weight-medium);
  line-height:1.45;
}
.account-avatar,.metric-filter .metric-go {font-weight:var(--pc-weight-medium)}
.floating div,
.detail-list p,
.number,.reg-brand,.brand,
.brand-wordmark strong {font-weight:var(--pc-weight-medium)}


/* Procser Connect: compact single-line field dimensions (global) */
:root {
  /* Uniform height for text, numeric, date and dropdown fields on every screen. */
  --pc-field-height:40px;
  --pc-field-padding-y:8px;
}
/* Match standalone form fields as well as controls within registration,
   portal, administration, RFQ and legacy layouts. Exclude multi-line text,
   file pickers, checkboxes, radio buttons, sliders and multi-select lists.
   Do not change horizontal padding, so text and native calendar arrows fit. */
:is(body, .field, .form, .filters, .detail-grid, .form-grid)
:is(
  input:not([type="checkbox"],[type="radio"],[type="range"],[type="file"],[type="hidden"],[type="color"],[type="button"],[type="submit"],[type="reset"],[type="image"]),
  select:not([multiple]):not([size])
) {
  box-sizing:border-box;
  height:var(--pc-field-height);
  min-height:var(--pc-field-height);
  padding-top:var(--pc-field-padding-y);
  padding-bottom:var(--pc-field-padding-y);
  line-height:1.4;
  vertical-align:middle;
}
/* Other controls are deliberately excluded instead of having their original dimensions overwritten. */

/* Platform-wide parenthetical notes: nearly body-sized, subtly lighter, italic.
   Keep the note close to its label. Inherit the foreground for accessible
   contrast, then blend it slightly towards white on light surfaces; white
   lettering on blue backgrounds remains white. Dynamic text is decorated by
   parenthetical-text.js, and explicit RFQ note spans use the same class. */
.pc-parenthetical-note {
  font-size:.95em !important;
  font-style:italic !important;
  font-weight:400 !important;
  line-height:inherit;
  color:inherit;
  color:color-mix(in srgb, currentColor 78%, #ffffff 22%) !important;
  letter-spacing:normal;
  vertical-align:baseline;
  pointer-events:none;
}

/* Procser 2026 design system | Final cross-interface hierarchy */
/* One typography family, one scale. These rules intentionally load after
   each page stylesheet, including inline RFQ styles. Preserve icon glyphs,
   editable fields, and the existing color and layout systems. */
html, body,
button, input, select, textarea, option,
table, dialog, summary, label {
  font-family:var(--pc-font);
}
h1,
.topbar h1,
.auth-card h1,
.reg-side h1,
main > .row h1,
#page-heading,
.drawer-top h1,
.blocked-card h1,
.workspace h1,
.main > #page-title.standalone-page-title {
  font-size:var(--pc-type-page);
  font-weight:var(--pc-weight-heading);
  line-height:1.3;
  letter-spacing:-.28px;
}
.main > #page-title.standalone-page-title {
  margin-bottom:18px;
}
/* A site landing hero is intentionally editorial, not an application title. */
.hero h1 {
  font-size:var(--pc-type-hero);
  font-weight:var(--pc-weight-heading);
  line-height:1.2;
  letter-spacing:-.45px;
}
h2,
.panel h2,
.surface h2,
.section-head h2,
.panel-head h2,
.drawer-heading h2,
.drawer-top h2,
#detail-title,
.step-title h2,
.insight-detail-intro h2,
.insight-section-heading h2,
.overview-report-strip h2,
.preview-modal h2,
.workspace h2 {
  font-size:var(--pc-type-section);
  font-weight:var(--pc-weight-section);
  line-height:1.4;
  letter-spacing:-.1px;
}
.audience h2,.how h2,.detail h2 {
  font-size:var(--pc-type-marketing-section);
  font-weight:var(--pc-weight-section);
  line-height:1.35;
}
h3,.req-header h3,.details-section h3,.detail-section h3,
.review-head h3,.insight-detail-section>h3,
.workspace h3,.component-title,.component-head h3 {
  font-size:var(--pc-type-subsection);
  font-weight:var(--pc-weight-medium);
  line-height:1.4;
  letter-spacing:0;
}
h4,.insight-quote-group h4,.insight-sample-heading h4 {
  font-size:var(--pc-type-label);
  font-weight:var(--pc-weight-medium);
  line-height:1.4;
}
details > summary,
.section > summary,
.section>summary,
.component-group > summary,
.item-detail > summary {
  font-size:var(--pc-type-subsection);
  font-weight:var(--pc-weight-medium);
  line-height:1.45;
}
.component-row .detail-card-title,
.component-row .question-title,
.item-price-choice .detail-card-title,
.detail-card-title,
.sample-shared-title,
.insight-process-heading,
.insight-row-title,
.profile-address-title,
.recent-name {
  font-size:var(--pc-type-body);
  font-weight:var(--pc-weight-medium);
  line-height:1.45;
}
body, p, li, .readonly, .request-detail-body {
  font-size:var(--pc-type-body);
  font-weight:var(--pc-weight-body);
  line-height:1.55;
}
label,.field label,.form label,.form-grid label,.profile-edit-grid label,
.profile-address-form label,.insight-sample-form label,
.component-common-fields label,.detail-grid label,
.item-picker .detail-grid label,.workspace label,
.field-label {
  font-size:var(--pc-type-label);
  font-weight:var(--pc-weight-body);
  line-height:1.45;
}
button,.btn,.btn-main,.btn-light,.btn-link,.btn-table,.text-button,
.primary,.secondary,.reg-button,.link-muted,.edit-link,
.request-filters button,.profile-address-actions button,
.account-action-buttons button,.insight-tabs button,
.insight-period-tabs button,.insight-sample-form button,
.overview-tile>button,.overview-report-strip>button,
.workspace button {
  font-size:var(--pc-type-button);
  font-weight:var(--pc-weight-medium);
  line-height:1.4;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
select,textarea,.field input,.field select,.form input:not([type="checkbox"]),
.profile-edit-grid input,.profile-edit-grid select,.profile-edit-grid textarea,
.workspace input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  font-size:var(--pc-type-input);
  font-weight:var(--pc-weight-body);
  line-height:1.5;
}
input::placeholder,textarea::placeholder {
  font-size:var(--pc-type-input);
  font-weight:var(--pc-weight-body);
}
.sidebar nav button,.sidebar nav button span,
.side-nav .nav-link,.top nav a {
  font-size:var(--pc-type-menu);
  font-weight:var(--pc-weight-menu);
}
table,td,.table-wrap td,.summary-row,.details-section dd {
  font-size:var(--pc-type-label);
  font-weight:var(--pc-weight-body);
  line-height:1.5;
}
th,.table-wrap th,.details-section dt {
  font-size:var(--pc-type-caption);
  font-weight:var(--pc-weight-medium);
  line-height:1.4;
}
.tiny,.small,.hint,.tip,.question-hint,
.doc-warning,.insight-section-desc,.insight-subtle,
.form-note,.section-head p,.panel-head p,.req-meta,
.recent-sub,.help,.file-meta {
  font-size:var(--pc-type-detail);
  font-weight:var(--pc-weight-body);
  line-height:1.5;
}
.pill,.badge,.tag,.count-pill,.step-chip,
.component-tag,.status,
.insight-process-heading small,.metric small {
  font-size:var(--pc-type-caption);
  font-weight:var(--pc-weight-medium);
  line-height:1.4;
}
.metric strong,.delivery-stat strong,
#view-panel .metric-link strong,
.insight-summary-number strong,
#overview-report .insight-summary-number strong {
  font-size:var(--pc-type-metric);
  font-weight:600;
  line-height:1.16;
  letter-spacing:-.35px;
}
#view-panel .metric-link>span:first-child {
  font-size:var(--pc-type-subsection);
  font-weight:var(--pc-weight-body);
}
.auth-identity strong,.portal-company-info #header-company-name {
  font-size:var(--pc-type-section);
  font-weight:var(--pc-weight-medium);
}
/* Decorative icons retain their sizes; typography rules target text only. */
.app-shell .side-nav .nav-link span {font-size:19px}
@media(max-width:720px) {
  .main > #page-title.standalone-page-title {
    margin-bottom:16px;
    letter-spacing:-.2px;
  }
}

/* Save and update feedback: adjacent to the successful button, green for exactly 2 s. */
.pc-save-feedback{display:inline-flex;align-items:center;vertical-align:middle;max-width:100%;margin-inline-start:10px;font-family:var(--pc-font,Inter,"Segoe UI",Arial,sans-serif);font-size:var(--pc-type-detail,13px);font-weight:500;line-height:1.4;color:#187044;white-space:normal}
.pc-save-feedback[hidden]{display:none!important}
@media(max-width:540px){.pc-save-feedback{margin-inline-start:6px;font-size:12px}}

/* Viewport-fixed save/update feedback: readable without scrolling even in
   long forms or management drawers. It never moves the user's scroll position. */
.pc-viewport-feedback{
  position:fixed;z-index:2147483000;
  top:max(16px,env(safe-area-inset-top,0px));right:max(16px,env(safe-area-inset-right,0px));
  box-sizing:border-box;display:flex;align-items:center;gap:12px;
  width:max-content;max-width:min(440px,calc(100vw - 32px));min-height:48px;
  padding:12px 14px;border:1px solid #96d1ac;border-radius:11px;
  background:#eaf8ef;color:#17603b;box-shadow:0 7px 26px #102b4230;
  font-family:var(--pc-font,Inter,"Segoe UI",Arial,sans-serif);
  font-size:14px;font-weight:500;line-height:1.5;text-align:left;
  overflow-wrap:anywhere;pointer-events:auto;
}
.pc-viewport-feedback[hidden]{display:none!important}
.pc-viewport-feedback-text{flex:1;min-width:0}
.pc-viewport-feedback-error{border-color:#dfabb4;background:#fff0f2;color:#8c2438}
.pc-viewport-feedback-close{
  all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;width:24px;height:24px;border-radius:6px;
  font-family:inherit;font-size:21px;line-height:1;cursor:pointer;color:inherit;
}
.pc-viewport-feedback-close:hover{background:#0000000a}
.pc-viewport-feedback-close:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:600px){
  .pc-viewport-feedback{
    top:max(10px,env(safe-area-inset-top,0px));
    left:12px;right:12px;width:auto;max-width:none;
    font-size:13px;
  }
}
