/* GENERATED FROM tokens.json — do not hand-edit.
   
   The Property Platform — the component map as CSS (kit D60).
   
   v1 of the signed component map (D34) as plain classes, for any web stack: load tokens/tokens.css first, then
   this file. Every value is a var(--tpp-*) read from standards/components.json; nothing here is a raw value, so
   both themes and every partner theme (data-brand on the root element) follow. Framework components wrap these
   classes; they never restyle them. The talk panel (v1.1, unsigned) is not included.
*/

/* ---- Button (entry 1, D27) ---- */

.tpp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--tpp-space-2);
  box-sizing: border-box;
  border-style: solid;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  text-transform: none;
  margin: 0;
  border-radius: var(--tpp-button-radius);
  padding-inline: var(--tpp-button-padding-x);
  border-width: var(--tpp-border-hairline);
  font-family: var(--tpp-font-sans);
  font-weight: var(--tpp-button-font-weight);
  letter-spacing: var(--tpp-letter-spacing-label);
  line-height: var(--tpp-line-height-base);
  min-height: var(--tpp-button-height-md);
  font-size: var(--tpp-font-size-sm);
  transition: background-color var(--tpp-duration-instant) var(--tpp-ease-standard), color var(--tpp-duration-instant) var(--tpp-ease-standard), border-color var(--tpp-duration-instant) var(--tpp-ease-standard);
}

.tpp-button--sm {
  min-height: var(--tpp-button-height-sm);
  font-size: var(--tpp-font-size-sm);
}

.tpp-button--lg {
  min-height: var(--tpp-button-height-lg);
  font-size: var(--tpp-font-size-base);
}

.tpp-button--primary {
  background-color: var(--tpp-brand-default);
  color: var(--tpp-text-on-brand);
  border-color: transparent;
}

.tpp-button--primary:hover:not(:disabled):not([aria-disabled="true"]) {
  background-color: var(--tpp-brand-hover);
}

.tpp-button--primary:active:not(:disabled):not([aria-disabled="true"]) {
  background-color: var(--tpp-brand-active);
}

.tpp-button--primary:disabled, .tpp-button--primary[aria-disabled="true"] {
  background-color: var(--tpp-surface-sunken);
  color: var(--tpp-text-muted);
  cursor: not-allowed;
}

.tpp-button--secondary {
  background-color: transparent;
  color: var(--tpp-brand-default);
  border-color: var(--tpp-border-interactive);
}

.tpp-button--secondary:hover:not(:disabled):not([aria-disabled="true"]) {
  color: var(--tpp-brand-hover);
  border-color: var(--tpp-border-strong);
  background-color: var(--tpp-surface-sunken);
}

.tpp-button--secondary:active:not(:disabled):not([aria-disabled="true"]) {
  color: var(--tpp-brand-active);
  border-color: var(--tpp-border-strong);
}

.tpp-button--secondary:disabled, .tpp-button--secondary[aria-disabled="true"] {
  color: var(--tpp-text-muted);
  border-color: var(--tpp-border-default);
  cursor: not-allowed;
}

.tpp-button--tertiary {
  background-color: transparent;
  color: var(--tpp-brand-default);
  border-color: transparent;
}

.tpp-button--tertiary:hover:not(:disabled):not([aria-disabled="true"]) {
  color: var(--tpp-brand-hover);
  background-color: var(--tpp-surface-sunken);
}

.tpp-button--tertiary:active:not(:disabled):not([aria-disabled="true"]) {
  color: var(--tpp-brand-active);
}

.tpp-button--tertiary:disabled, .tpp-button--tertiary[aria-disabled="true"] {
  color: var(--tpp-text-muted);
  cursor: not-allowed;
}

.tpp-button:focus-visible {
  outline: var(--tpp-focus-ring-width) solid var(--tpp-focus-ring);
  outline-offset: var(--tpp-focus-ring-offset);
  transition: none;
}

.tpp-button[aria-busy="true"] {
  cursor: progress;
}

/* ---- Form field (entry 2, D30) ---- */

.tpp-field {
  display: grid;
  gap: var(--tpp-space-1);
  align-content: start;
}

.tpp-field + .tpp-field {
  margin-top: var(--tpp-space-6);
}

.tpp-field__label {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-sm);
  font-weight: var(--tpp-font-weight-medium);
  letter-spacing: var(--tpp-letter-spacing-label);
  line-height: var(--tpp-line-height-base);
  color: var(--tpp-text-primary);
}

.tpp-field__marker {
  color: var(--tpp-text-secondary);
}

.tpp-field__control {
  box-sizing: border-box;
  width: 100%;
  border-style: solid;
  margin: 0;
  appearance: none;
  min-height: var(--tpp-input-height);
  border-radius: var(--tpp-input-radius);
  border-width: var(--tpp-border-hairline);
  border-color: var(--tpp-input-border-color);
  background-color: var(--tpp-surface-page);
  padding-inline: var(--tpp-space-4);
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-sm);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-base);
  color: var(--tpp-text-primary);
  caret-color: var(--tpp-brand-default);
}

textarea.tpp-field__control {
  padding-block: var(--tpp-space-3);
  resize: vertical;
}

.tpp-field__control::placeholder {
  color: var(--tpp-text-muted);
  opacity: 1;
}

.tpp-field__help {
  font-size: var(--tpp-font-size-xs);
  line-height: var(--tpp-line-height-base);
  color: var(--tpp-text-secondary);
}

.tpp-field__message {
  font-size: var(--tpp-font-size-xs);
  line-height: var(--tpp-line-height-base);
  color: var(--tpp-status-danger);
}

.tpp-field__control:hover:not(:disabled) {
  border-color: var(--tpp-border-strong);
}

.tpp-field__control:focus-visible, .tpp-field__control:focus {
  outline: var(--tpp-focus-ring-width) solid var(--tpp-focus-ring);
  outline-offset: var(--tpp-focus-ring-offset);
  border-color: var(--tpp-input-border-color);
  transition: none;
}

.tpp-field__control:disabled {
  background-color: var(--tpp-surface-sunken);
  color: var(--tpp-text-muted);
  border-color: var(--tpp-border-default);
  cursor: not-allowed;
}

.tpp-field--error .tpp-field__control, .tpp-field__control[aria-invalid="true"] {
  border-color: var(--tpp-status-danger);
}

.tpp-field--error .tpp-field__message {
  color: var(--tpp-status-danger);
}

@media (pointer: coarse) {
  .tpp-field__control { font-size: var(--tpp-font-size-base); }
}

.tpp-field__choice {
  display: inline-flex;
  align-items: center;
  gap: var(--tpp-space-2);
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-sm);
  line-height: var(--tpp-line-height-base);
  color: var(--tpp-text-primary);
}

.tpp-field__choice input {
  accent-color: var(--tpp-brand-default);
  width: var(--tpp-space-5);
  height: var(--tpp-space-5);
  margin: 0;
}

.tpp-field__choice input:focus-visible {
  outline: var(--tpp-focus-ring-width) solid var(--tpp-focus-ring);
  outline-offset: var(--tpp-focus-ring-offset);
}

/* ---- Navigation bar (entry 3, D31) ---- */

.tpp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tpp-nav-gap);
  box-sizing: border-box;
  min-height: var(--tpp-nav-height-product);
  background-color: var(--tpp-surface-page);
  color: var(--tpp-text-primary);
  border-bottom: var(--tpp-border-hairline) solid transparent;
}

.tpp-nav--marketing {
  min-height: var(--tpp-nav-height-marketing);
  border-bottom-color: transparent;
}

.tpp-nav--product {
  min-height: var(--tpp-nav-height-product);
  border-bottom-color: var(--tpp-border-subtle);
}

.tpp-nav.is-scrolled, .tpp-nav.is-open {
  border-bottom-color: var(--tpp-border-subtle);
}

.tpp-nav__lockup {
  display: block;
  width: var(--tpp-nav-lockup-width-compact);
  height: auto;
}

.tpp-nav--marketing .tpp-nav__lockup {
  width: var(--tpp-nav-lockup-width);
}

.tpp-nav__links {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: var(--tpp-nav-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpp-nav__link {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  text-decoration: none;
  border-bottom: var(--tpp-border-thick) solid transparent;
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-sm);
  font-weight: var(--tpp-font-weight-regular);
  letter-spacing: var(--tpp-letter-spacing-body-sm);
  line-height: var(--tpp-line-height-base);
  color: var(--tpp-text-primary);
  min-height: var(--tpp-input-height);
}

.tpp-nav__link:hover {
  color: var(--tpp-brand-default);
}

.tpp-nav__link:active {
  color: var(--tpp-brand-active);
}

.tpp-nav__link[aria-current="page"] {
  color: var(--tpp-text-primary);
  border-bottom-color: var(--tpp-text-primary);
}

.tpp-nav__action {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--tpp-brand-default);
  min-height: var(--tpp-input-height);
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-sm);
  line-height: var(--tpp-line-height-base);
}

.tpp-nav__action:hover {
  color: var(--tpp-brand-hover);
}

.tpp-nav__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--tpp-text-primary);
  min-height: var(--tpp-input-height);
  min-width: var(--tpp-input-height);
}

.tpp-nav__panel {
  display: grid;
  background-color: var(--tpp-surface-page);
  gap: var(--tpp-space-6);
  color: var(--tpp-text-primary);
}

.tpp-nav__link:focus-visible, .tpp-nav__action:focus-visible, .tpp-nav__menu:focus-visible {
  outline: var(--tpp-focus-ring-width) solid var(--tpp-focus-ring);
  outline-offset: var(--tpp-focus-ring-offset);
}

/* ---- Text styles (entry 4, D32) ---- */

/* display: marketing surfaces only, a short statement, never a sentence (D7) */
.tpp-text-display {
  font-family: var(--tpp-font-display);
  font-size: var(--tpp-font-size-5xl);
  font-weight: var(--tpp-font-weight-display);
  line-height: var(--tpp-line-height-tight);
  letter-spacing: var(--tpp-letter-spacing-tighter);
  text-wrap: balance;
  margin: 0;
}

/* headline */
.tpp-text-headline {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-fluid-headline);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-tight);
  letter-spacing: var(--tpp-letter-spacing-tight);
  text-wrap: balance;
  margin: 0;
}

/* heading-1 */
.tpp-text-heading-1 {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-4xl);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-snug);
  letter-spacing: var(--tpp-letter-spacing-normal);
  text-wrap: balance;
  margin: 0;
}

/* heading-2 */
.tpp-text-heading-2 {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-3xl);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-snug);
  letter-spacing: var(--tpp-letter-spacing-normal);
  text-wrap: balance;
  margin: 0;
}

/* heading-3 */
.tpp-text-heading-3 {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-2xl);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-snug);
  letter-spacing: var(--tpp-letter-spacing-normal);
  text-wrap: balance;
  margin: 0;
}

/* heading-4 */
.tpp-text-heading-4 {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-xl);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-snug);
  letter-spacing: var(--tpp-letter-spacing-normal);
  text-wrap: balance;
  margin: 0;
}

/* body-lg */
.tpp-text-body-lg {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-lg);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-base);
  letter-spacing: var(--tpp-letter-spacing-body);
}

/* body */
.tpp-text-body {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-base);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-base);
  letter-spacing: var(--tpp-letter-spacing-body);
}

/* body-sm */
.tpp-text-body-sm {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-sm);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-base);
  letter-spacing: var(--tpp-letter-spacing-body-sm);
}

/* body-long */
.tpp-text-body-long {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-base);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-relaxed);
  letter-spacing: var(--tpp-letter-spacing-body);
}

/* title-md */
.tpp-text-title-md {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-base);
  font-weight: var(--tpp-font-weight-medium);
  line-height: var(--tpp-line-height-base);
  letter-spacing: var(--tpp-letter-spacing-title);
}

/* title-sm */
.tpp-text-title-sm {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-sm);
  font-weight: var(--tpp-font-weight-medium);
  line-height: var(--tpp-line-height-base);
  letter-spacing: var(--tpp-letter-spacing-label);
}

/* label */
.tpp-text-label {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-sm);
  font-weight: var(--tpp-font-weight-medium);
  line-height: var(--tpp-line-height-base);
  letter-spacing: var(--tpp-letter-spacing-label);
}

/* label-caps: product column heads and status text only (D8) */
.tpp-text-label-caps {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-xs);
  font-weight: var(--tpp-font-weight-medium);
  line-height: var(--tpp-line-height-base);
  letter-spacing: var(--tpp-letter-spacing-wide);
  text-transform: uppercase;
}

/* caption */
.tpp-text-caption {
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-xs);
  font-weight: var(--tpp-font-weight-regular);
  line-height: var(--tpp-line-height-base);
  letter-spacing: var(--tpp-letter-spacing-caption);
}

/* ---- Card and stage (entry 5, D33) ---- */

.tpp-card {
  display: grid;
  align-content: start;
  gap: var(--tpp-space-4);
  box-sizing: border-box;
  border-style: solid;
  color: inherit;
  background-color: var(--tpp-surface-raised);
  border-width: var(--tpp-border-hairline);
  border-color: var(--tpp-card-border-color);
  border-radius: var(--tpp-card-radius);
  box-shadow: var(--tpp-card-elevation);
  padding: var(--tpp-card-padding);
}

.tpp-card--sm {
  padding: var(--tpp-card-padding-compact);
}

.tpp-card--layered {
  box-shadow: var(--tpp-card-elevation-layered);
}

.tpp-card--link {
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--tpp-duration-instant) var(--tpp-ease-standard), border-color var(--tpp-duration-instant) var(--tpp-ease-standard);
}

.tpp-card--link:hover, .tpp-card--link:active {
  background-image: linear-gradient(var(--tpp-card-hover-overlay), var(--tpp-card-hover-overlay));
  border-color: var(--tpp-border-default);
}

.tpp-card--link:focus-visible {
  outline: var(--tpp-focus-ring-width) solid var(--tpp-focus-ring);
  outline-offset: var(--tpp-focus-ring-offset);
  transition: none;
}

.tpp-card__head {
  display: grid;
  margin: 0;
  font-family: var(--tpp-font-sans);
  font-size: var(--tpp-font-size-base);
  font-weight: var(--tpp-font-weight-medium);
  line-height: var(--tpp-line-height-base);
  letter-spacing: var(--tpp-letter-spacing-title);
  color: var(--tpp-text-primary);
  gap: var(--tpp-space-3);
}

.tpp-card__rule {
  border: 0;
  margin: 0;
  border-top: var(--tpp-border-hairline) solid var(--tpp-border-subtle);
}

.tpp-card__body {
  display: grid;
  color: var(--tpp-text-primary);
  gap: var(--tpp-space-4);
}

.tpp-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tpp-space-3);
  color: var(--tpp-brand-default);
}

.tpp-card__media {
  display: block;
  max-width: 100%;
  border-style: solid;
  border-radius: var(--tpp-card-radius);
  border-width: var(--tpp-border-hairline);
  border-color: var(--tpp-border-subtle);
}

.tpp-stage {
  display: grid;
  box-sizing: border-box;
  background-color: var(--tpp-stage-fill);
  border-radius: var(--tpp-stage-radius);
  padding: var(--tpp-stage-padding);
  box-shadow: var(--tpp-elevation-0);
}

.tpp-stage--wide {
  padding: var(--tpp-stage-padding-wide);
}

@media (prefers-reduced-motion: reduce) {
  .tpp-button, .tpp-card--link { transition: none; }
}
