/* Public trust center composition (mockups/7-combined-1+2+probo.html). Everything here is either a PatternFly token
   repointed, or a tc-* class that sets a PF component's OWN variable. No pf-* class is given behaviour it does not have.
   The FlyerFT palette itself comes from core/portal-themes.css via data-portal-theme="flyerft" on <html>. */
.tc-band { color: #f5f2ea; }
.tc-band a, .tc-band .pf-v6-c-content, .tc-band .pf-v6-c-title { color: inherit; }
.tc-band .pf-v6-c-content p { max-width: 62ch; }
.tc-band .pf-v6-c-description-list { --pf-v6-c-description-list__term--Color: inherit; --pf-v6-c-description-list__text--Color: inherit; color: inherit; }
.tc-band .pf-v6-c-description-list__text { opacity: .92; }
.tc-band .pf-v6-c-title { text-wrap: balance; }
.tc-eyebrow { font-size: var(--pf-t--global--font--size--body--sm); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--pf-t--global--color--brand--default); }
.tc-band .tc-eyebrow { color: inherit; opacity: .8; }
.tc-section-gap { --pf-v6-l-stack--m-gutter--Gap: var(--pf-t--global--spacer--2xl); }
.tc-tiles { --pf-v6-l-gallery--GridTemplateColumns--min: 16rem; }
.tc-controls-gallery { --pf-v6-l-gallery--GridTemplateColumns--min: 18rem; }
.tc-rail-card { --pf-v6-c-card--BackgroundColor: var(--pf-t--global--background--color--secondary--default); }
.tc-badge { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; font: 600 .7rem/1 var(--pf-t--global--font--family--heading); letter-spacing: .02em; background: var(--pf-t--global--color--brand--default); color: #fff; flex: none; }
.pf-v6-theme-dark .tc-badge { color: #1e1b15; }
.tc-logo { width: 2rem; height: 2rem; border-radius: var(--pf-t--global--border--radius--small); display: grid; place-items: center; font: 600 .8rem/1 var(--pf-t--global--font--family--heading); background: var(--pf-t--global--background--color--tertiary--default); color: var(--pf-t--global--text--color--regular); flex: none; }
.tc-wordmark { font-family: var(--pf-t--global--font--family--heading); font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; color: var(--pf-t--global--text--color--regular); text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; }
.tc-wordmark .tc-mark { width: 1.75rem; height: 1.75rem; border-radius: var(--pf-t--global--border--radius--small); background: var(--pf-t--global--color--brand--default); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.pf-v6-theme-dark .tc-wordmark .tc-mark { color: #1e1b15; }
.tc-wordmark .tc-sub { font-weight: 500; }
.tc-wordmark .tc-sep { opacity: .35; font-weight: 400; }
.tc-footer { text-align: center; color: var(--pf-t--global--text--color--subtle); font-size: var(--pf-t--global--font--size--body--sm); }
.tc-footer a { color: inherit; }
.tc-placeholder { border: 1px dashed var(--pf-t--global--border--color--default); border-radius: var(--pf-t--global--border--radius--medium); padding: var(--pf-t--global--spacer--lg); color: var(--pf-t--global--text--color--subtle); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* S2: branding tokens from TrustCenterSettings (public/base.html sets --tc-band-bg). */
.tc-band { --pf-v6-c-page__main-section--BackgroundColor: var(--tc-band-bg, #0a3868); }
.tc-band .pf-v6-c-breadcrumb { --pf-v6-c-breadcrumb__link--Color: inherit; --pf-v6-c-breadcrumb__link--m-current--Color: inherit; --pf-v6-c-breadcrumb__item-divider--Color: inherit; color: inherit; }
.tc-band .pf-v6-c-breadcrumb__link { opacity: .85; }
.tc-logo-img { height: 1.75rem; width: auto; }
.tc-badge-img { object-fit: contain; background: transparent; }
/* Framework tile: badge above its name and summary, both centred under it. PatternFly ships no text-align-center
   utility (only pf-m-text-align-left, on tables), so the centring is a tc- class rather than a pf- one. */
.tc-framework { text-align: center; }
/* Policies leads the overview for a signed-in employee and is the one tinted card on the public face, so it reads as
   "this one is yours" against the plain cards around it. Both values are the Card's OWN variables repointed at the
   brand token - no new component, and no colour hung on a pf- class. color-mix keeps the tint honest in either theme
   because it blends the brand against whatever the current surface is, rather than a hard-coded wash. */
/* The tint now carries the employee's own state rather than the house colour (owner, 2026-09-19:
   "should be a different color ... red, yellow, or green"). Same technique, same 7% / 38% blend -
   only the hue changes, and it changes for a reason: amber while policies are waiting to be read,
   green once none are. Both are PatternFly STATUS tokens, so they stay right in either theme and
   match the amber and green labels on the rows the card leads to. */
.tc-policy-card {
  --tc-policy-card--Hue: var(--pf-t--global--color--status--warning--default);
  --pf-v6-c-card--BackgroundColor: color-mix(in srgb, var(--tc-policy-card--Hue) 7%, var(--pf-t--global--background--color--primary--default));
  --pf-v6-c-card--BorderColor: color-mix(in srgb, var(--tc-policy-card--Hue) 38%, transparent);
}
.tc-policy-card--todo { --tc-policy-card--Hue: var(--pf-t--global--color--status--warning--default); }
.tc-policy-card--done { --tc-policy-card--Hue: var(--pf-t--global--color--status--success--default); }
img.tc-logo { object-fit: contain; }
.tc-search-form { margin: 0; min-width: 16rem; }
.tc-prose { max-width: 72ch; }
/* The public masthead is WHITE on parchment (PROPOSAL §3.2a: the band is the single bold element), not the console's
   always-navy bar. portal-themes.css paints every FlyerFT masthead navy with light text tokens; this repoints the same
   component and semantic tokens back to the theme's own ink-on-white (light) and parchment-on-card (dark) values.
   Selector specificity is one class above the theme rule so it wins in both modes. */
html[data-portal-theme] .pf-v6-c-masthead.tc-masthead {
  color: #26231c;
  --pf-v6-c-masthead--BackgroundColor: #ffffff;
  --pf-v6-c-masthead--BorderColor: #ece3cd;
  --pf-t--global--text--color--regular: #26231c;
  --pf-t--global--text--color--subtle: #6e6656;
  --pf-t--global--icon--color--regular: #26231c;
  --pf-t--global--icon--color--subtle: #6e6656;
  --pf-t--global--border--color--default: #dcc9a0;
  --pf-t--global--background--color--control--default: #ffffff;
}
html[data-portal-theme].pf-v6-theme-dark .pf-v6-c-masthead.tc-masthead {
  color: #f2ecdd;
  --pf-v6-c-masthead--BackgroundColor: #2a251e;
  --pf-v6-c-masthead--BorderColor: #3a342a;
  --pf-t--global--text--color--regular: #f2ecdd;
  --pf-t--global--text--color--subtle: #b4aa93;
  --pf-t--global--icon--color--regular: #f2ecdd;
  --pf-t--global--icon--color--subtle: #b4aa93;
  --pf-t--global--border--color--default: #4a4234;
  --pf-t--global--background--color--control--default: #332d25;
}
/* S3: the lifecycle on the public face. */
/* The agreement text. Full width of the card - `tc-prose`'s 72ch measure is for articles, and on a
   contract it wrapped the text at half the card while the scrollbar sat out at the card's edge
   (owner, 2026-09-19). The inline padding keeps the scrollbar off the last word. */
.tc-nda-text { max-height: 30rem; overflow-y: auto; padding-inline-end: var(--pf-t--global--spacer--md); }
.tc-nda-text > :first-child { margin-block-start: 0; }
.tc-band .pf-v6-c-title + div { opacity: .9; }
/* A jump-link target lands flush against the top of the scroll container, so the heading sits on the very edge with
   nothing above it. One spacer of scroll-margin gives it the same breathing room it has when scrolled to normally. */
.tc-anchor { scroll-margin-block-start: var(--pf-t--global--spacer--lg); }
/* S8 staff policy reader: pages drawn by pdf.js inside the modal body, which scrolls; the body keeps a floor so a short document still has an end to reach. */
.tc-policy-body { min-height: 40vh; }
.tc-policy-page { display: block; margin-inline: auto; max-width: 100%; box-shadow: var(--pf-t--global--box-shadow--sm); background: #fff; }
/* S12 the policy assistant: the same reader modal geometry, so the two dialogs feel like one
   thing. The body scrolls and keeps a floor; the footer holds the question box, which is why
   it is a column rather than PatternFly's default row of actions. Nothing here gives
   behaviour to a pf-* class - these are all tc- names on our own wrappers. */
.tc-ask-body { min-height: 40vh; max-height: 60vh; overflow-y: auto; }
.tc-ask-turn .pf-v6-c-card__title { padding-block-end: var(--pf-t--global--spacer--xs); }
.tc-ask-answer > :first-child { margin-block-start: 0; }
/* The answer as it streams in. Plain text in the same face and size as the rendered answer that
   replaces it, so the swap at the end does not move the page under the reader's eye. Markdown is
   still showing as its own characters here - that is honest: this is the model's output, and the
   rendered version is what arrives a moment later. */
.tc-ask-preview { white-space: pre-wrap; }
.tc-ask-preview:empty, .tc-ask-trail:empty, .tc-ask-answer:empty { display: none; }
.tc-ask-trail > div + div { margin-block-start: var(--pf-t--global--spacer--xs); }
.tc-ask-trail:not(:empty) { margin-block-end: var(--pf-t--global--spacer--sm); }
/* A quote is the POLICY speaking, not the assistant, and it has to look like it (owner,
   2026-09-20). A left rule alone reads as emphasis - the same thing any other paragraph might
   wear - and the one distinction this feature depends on is exactly this one: the quote is the
   control, the sentence around it is not. So it is an excerpt panel with its own ground, its own
   label, and its own measure. */
.tc-quote {
  margin: var(--pf-t--global--spacer--md) 0;
  border-inline-start: var(--pf-t--global--border--width--strong) solid var(--pf-t--global--border--color--brand--default);
  border-radius: 0 var(--pf-t--global--border--radius--small) var(--pf-t--global--border--radius--small) 0;
  background: color-mix(in srgb, var(--pf-t--global--color--brand--default) 5%, var(--pf-t--global--background--color--secondary--default));
  padding: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--md);
}
.tc-quote__label {
  font-size: var(--pf-t--global--font--size--body--sm);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: var(--pf-t--global--font--weight--body--bold);
  color: var(--pf-t--global--color--brand--default);
  margin-block-end: var(--pf-t--global--spacer--xs);
}
.tc-quote__text {
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--pf-t--global--text--color--regular);
}
.tc-quote__text > :first-child { margin-block-start: 0; }
.tc-quote__text > :last-child { margin-block-end: 0; }
/* Overview's "On this page" sidebar (S1) splits into columns at PatternFly's own default breakpoint, 48rem/768px -
   exactly this product's own mobile test width (iPad portrait, and CLAUDE.md's third ui_sweep viewport) and well
   short of the "What we commit to" content's real width, so the content column ran off the right edge, clipped
   (owner's alignment sweep, 2026-09-15). The hero band right above this same sidebar already reflows at lg/992px
   (pf-m-8-col-on-lg); matching that instead of PF's own md/768px default gives the page one reflow point, not two.
   Below lg the panel and content stack in one column (pf-v6-c-sidebar__main), so pf-m-sticky - correct only when the
   short nav panel sits beside a separately scrolling content column - has nothing of its own to stick within and
   pins over the content instead as the page scrolls; the same overlap was already there below 768px (a real phone,
   checked live) before this rule existed. pf-m-static below lg turns it off the same way PF's own alternative
   modifier does, verified with a screenshot at 400px and 768px. */
@media (max-width: 61.99rem) {
  .pf-v6-c-sidebar__main {
    --pf-v6-c-sidebar__main--FlexDirection: column;
    --pf-v6-c-sidebar__main--AlignItems: stretch;
    --pf-v6-c-sidebar__main--m-border--before--Display: none;
  }
  .pf-v6-c-sidebar__panel.pf-m-sticky {
    --pf-v6-c-sidebar__panel--Position: static;
    --pf-v6-c-sidebar__panel--InsetBlockStart: auto;
  }
}

/* "Your contact" (S7 7c): the menu floats over the form instead of pushing it.
   PatternFly's select positions its menu with a popper at runtime in React; core CSS does
   not position menus at all, so placing it is the consumer's job. It is done here on our
   OWN class, never on .pf-v6-c-menu - a PF class in the markup must keep PF's behaviour
   (CLAUDE.md rule 1a).

   Why it matters: the menu used to be a sibling in normal flow, so a result appearing
   pushed the helper text, the access-level radios and the modal footer down, the whole
   dialog grew, and picking the name shrank it again - the form moved under the cursor
   between reading a name and clicking it (owner, 2026-09-19). */
.tc-typeahead { position: relative; }
.tc-typeahead__menu {
  position: absolute;
  inset-inline: 0;
  inset-block-start: calc(100% + var(--pf-t--global--spacer--xs));
  z-index: var(--pf-t--global--z-index--sm);
  box-shadow: var(--pf-t--global--box-shadow--md);
}

/* The policy name is the way into the policy (owner, 2026-09-19), so it is a real button - but it
   has to keep reading as the row's title rather than turning into a control. PatternFly's inline
   link button already drops the padding and the background; these two lines hand back the row's own
   type, which the button component otherwise sets for itself. Our class, not a pf- one. */
.tc-policy-name { font-size: inherit; text-align: start; }
.tc-policy-name .pf-v6-c-button__text { white-space: normal; }

/* The document checkboxes are a Stack so each description belongs to the label above it rather
   than floating between two rows. PatternFly's md gutter is the right rhythm between form GROUPS
   and too loose between the items of one list, so the Stack's OWN gap variable is repointed at
   the small spacer - a documented PF variable on our own element, not a rule hung on a pf- class. */
.tc-check-list { --pf-v6-l-stack--m-gutter--Gap: var(--pf-t--global--spacer--sm); }

/* A placeholder in the agreement that the signer fills in themselves (access.nda_text). Marked while
   it is still empty so the eye lands on it - and still COLOURED once filled, so somebody scrolling
   back up can find the one clause that holds their own answer in nine thousand words of contract
   (owner, 2026-09-23). Colour only: the party names are bold, and a third bold run would flatten
   the distinction between "who is agreeing" and "what you typed". */
.tc-nda-live { color: var(--pf-t--global--text--color--brand--default); }
.tc-nda-live--empty {
  color: inherit;
  background: color-mix(in srgb, var(--pf-t--global--color--status--warning--default) 22%, transparent);
  border-radius: var(--pf-t--global--border--radius--small);
  padding-inline: 2px;
}
