/*
 * Source: design-reference/design-system.html, NailTime design system v1.1.
 * Values read from the embedded boards: Foundations (01-05), Components
 * (07-10), Calendar / summary / confirmation (11-13).
 * The export viewer and loading-screen styles are not product tokens.
 *
 * Only custom properties are defined here. Manrope font files are not loaded
 * by this file; the family declaration alone does not install the font.
 *
 * Unresolved in the source:
 * - Display: sample 56/60 px, specification up to 72 px with line-height 1.05.
 * - Page H1: sample 44/46 px, specification up to 52 px with line-height 1.04.
 * - Responsive headings: mobile range 34-40 px; desktop limits differ by role.
 *   No exact clamp() expressions are supplied. The sample tokens below are
 *   literal specimen sizes, not a proposed responsive typography rule.
 * - Desktop gutters: breakpoint notes say 48-64 px; spacing scale explicitly
 *   assigns 64 px to desktop page gutters. No rule selecting 48 vs 64 exists.
 * - Demo avatar colors have no general semantic names, so they are omitted.
 * - A separate success hue does not exist: section 13 explicitly uses accent.
 */

:root {
  /* Colors: section 01, colorGroups / contrasts. */
  --color-text-primary: #1F2328;
  --color-text-secondary: #5F6670;
  --color-background: #FDFCFA;
  --color-surface: #FFFFFF;
  --color-surface-inset: #F2EFE9;
  --color-background-highlight: #F6F2EA;
  --color-border-highlight: #EBE5D9;
  --color-border: #E4E0D9;
  --color-divider: #EFEBE3;
  --color-input-border: #8F8A80;
  --color-action: #0E7A6E;
  --color-action-hover: #0A6359;
  --color-action-pressed: var(--color-action-hover);
  --color-action-background: #E3F3F0;
  --color-text-on-action: #FFFFFF;
  --color-text-on-action-background: #0A6359;
  --color-error: #B42318;
  --color-error-background: #FDECEA;
  --color-rating: #E0A526;

  /* Sections 07-08 / 10: disabled controls, placeholder, busy slot text. */
  --color-text-disabled: #6B727C;
  --color-input-placeholder: var(--color-text-disabled);
  --color-button-disabled-background: #E9E6E0;

  /* Explicit state roles: focus uses accent; success has no second hue. */
  --color-focus: var(--color-action);
  --color-success: var(--color-action);

  /* Font: section 02, font-family and documented available weights. */
  --font-family-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extra-bold: 800;

  /* Text sizes: literal size fields in section 02 typeScale. */
  --font-size-display-sample: 56px;
  --font-size-page-title-sample: 44px;
  --font-size-success-title: 40px;
  --font-size-section-title: 22px;
  --font-size-subheading: 20px;
  --font-size-item-title: 17px;
  --font-size-body: 16px;
  --font-size-body-small: 14px;
  --font-size-button: 16px;
  --font-size-caption: 12px;

  /* Explicit component sizes: sections 08, 10, 11 and 12. */
  --font-size-input: 16px;
  --font-size-slot: 18px;
  --font-size-calendar-day: 17px;
  --font-size-summary-value: 15px;
  --font-size-summary-label: 12px;

  /* Spacing: section 05 spacing array, with its documented uses. */
  --space-label-inset: 4px;
  --space-icon-gap: 8px;
  --space-card-row-gap: 12px;
  --space-screen-gutter-mobile: 16px;
  --space-card-padding: 16px;
  --space-panel-padding: 24px;
  --space-screen-block-gap: 32px;
  --space-section-gap-desktop: 48px;
  --space-screen-gutter-desktop-scale: 64px;
  /* Section 05 breakpoint note: tablet page gutters. */
  --space-screen-gutter-tablet: 32px;

  /* Radii: section 03 radii array, named by the documented use. */
  --radius-label: 8px;
  --radius-control: 12px;
  --radius-card: 16px;
  --radius-panel: 24px;
  --radius-hero: 32px;
  --radius-round: 999px;

  /* Foundations 05, breakpoint notes: maximum content width, excluding gutters. */
  --layout-content-max: 1120px;
  /* Booking board 13, Rules: full success screen has a card up to 720px. */
  --layout-success-max: 720px;
  /* Components 10: slot height and minimum width. */
  --size-slot-height: 60px;
  --size-slot-min-width: 112px;
  /* Booking board 13, full confirmation example: SVG width/height 80px. */
  --size-success-mark: 80px;
  /* Components 08, error example: decorative SVG 16x16, stroke-width="2". */
  --size-error-icon: 16px;
  --stroke-error-icon: 2;
  /* Foundations 02, typeScale: H2 and H3 both have a 28px line-height. */
  --line-height-section: 28px;
  /* Booking board 12, summary rows: label 12/16 and value 15/22. */
  --line-height-summary-label: 16px;
  --line-height-summary-value: 22px;
  /* Booking board 13, full confirmation example: exact panel box-shadow. */
  --shadow-success-panel: 0 28px 56px -28px rgba(31,35,40,0.20), 0 2px 6px rgba(31,35,40,0.04);
  /* Design system 10-12: slot/summary specimens; booking export: layout bases. */
  --space-booking-component-gap: 14px;
  --space-summary-padding: 20px;
  --space-calendar-padding: 28px;
  --size-summary-icon-background: 40px;
  --size-summary-icon: 20px;
  --stroke-summary-icon: 1.75;
  --size-compact-button: 44px;
  --size-calendar-day: 56px;
  --size-calendar-dot: 5px;
  --space-calendar-row-gap: 6px;
  --layout-summary-max: 440px;
  --layout-summary-basis: 340px;
  --layout-calendar-basis: 380px;
  --layout-calendar-max: 500px;
  --layout-times-basis: 280px;
  --shadow-summary-card: 0 1px 2px rgba(31,35,40,0.03), 0 14px 28px -20px rgba(31,35,40,0.18);
  --shadow-calendar-panel: 0 1px 2px rgba(31,35,40,0.04), 0 22px 44px -24px rgba(31,35,40,0.2);
}
