/* =============================================================================
   BRAND: malaga, laptop
   Every value of the Málaga brand on a laptop: colour, type, radius. Composed
   from brand/malaga/ by scripts/composer.mjs: change the definition, not
   this file. Linked last, after grid/css/laptop.css and
   design/css/laptop.css.

   Switch: data-theme="name" on <html>, or on any element.
   ========================================================================== */

@font-face {
  font-family: "Inter Tight";
  src: url("../font/InterTight-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@layer grid.initialization {
  /* ---- tokens: what the grid and the design system read ---- */

  :where(:root, .presentation) {
    --font: "Inter Tight", system-ui, sans-serif;
    --leading: 1.7;
    --weight-body: 300;
    --weight-heading: 600;
    --weight-strong: 600;
    --weight-figure: 600;
    --weight-label: 500;
    --weight-action: 500;
    --radius-soft: 0.5rem;
    --radius-round: 1rem;
    --radius-full: 999rem;
    --scrim: rgb(1 2 5 / 0.5);
    --gutter: clamp(2.5rem, 3.6111cqi, 3.25rem);
    --control: 2.75rem;
    --action-size: 2.75rem;
    --action-size-large: 3.25rem;
    --action-room: 1.25rem;
    --action-room-large: 1.5rem;
    --action-radius: 0.5rem;
    --action-type: 0.875rem;
    --action-type-large: 1rem;
    --field-radius: 0.25rem;
    --field-ground: var(--surface-raised);
    --field-type: 0.9375rem;
    --choice-size: 1.125rem;
    --tag-radius: 0.25rem;
    --tag-type: 0.75rem;
    --caps-type: 0.75rem;
    --caps-tracking: 0.06em;
    --menu-line: 1.4;
    --type-display: clamp(2.25rem, 0.9736rem + 4.0845cqi, 4.25rem);
    --type-display-line: 1.06;
    --type-title: clamp(1.625rem, 1.0968rem + 1.6901cqi, 2.625rem);
    --type-title-line: 1.2;
    --type-heading: clamp(1.5rem, 1.1rem + 1.2cqi, 2.0625rem);
    --type-heading-line: 1.2;
    --type-subheading: clamp(1.125rem, 1.037rem + 0.2817cqi, 1.375rem);
    --type-subheading-line: 1.3;
    --type-lead: 1.375rem;
    --type-lead-line: 1.5;
    --type-large: clamp(1.125rem, 1.081rem + 0.1408cqi, 1.25rem);
    --type-large-line: 1.5;
    --type-body: 0.9375rem;
    --type-body-line: 1.7;
    --type-small: 0.8125rem;
    --type-small-line: 1.6;
    --type-note: 0.6875rem;
    --type-note-line: calc(1em + 0.3125rem);
    --type-figure: 4.25rem;
    --type-figure-line: 1;
  }

  /* ---- malaga: brand/malaga/theme/malaga.css ---- */

  :where(:root),
  [data-theme="light"],
  [data-theme="dark"] {
    --ink-900: #222222;
    --ink-800: #383838;
    --ink-700: #4a4a4a;
    --night-900: #010205;
    --night-800: #111316;
    --night-700: #1c1e22;
    --paper-0: #ffffff;
    --paper-50: #f8f8f8;
    --paper-100: #ededed;
    --paper-200: #dedede;
    --paper-300: #a7a7a7;
    --red-400: #ff6b81;
    --red-500: #e01a3b;
    --red-600: #c8102e;
    --red-700: #a90d27;
    --red-800: #8f0b21;
    --orange-300: #ff8a61;
    --orange-500: #fa5d29;
    --orange-700: #c2410c;
    --sand-100: #efe8de;
    --blue-400: #49b3fc;
    --yellow-200: #fff083;
  }

  :where(:root) {
    --surface: light-dark(var(--paper-50), var(--night-900));
    --surface-raised: light-dark(var(--paper-0), var(--ink-900));
    --surface-hover: light-dark(var(--paper-100), var(--night-700));
    --surface-selected: transparent;
    --ink: light-dark(var(--ink-900), var(--paper-0));
    --ink-muted: light-dark(rgba(34, 34, 34, 0.65), rgba(255, 255, 255, 0.65));
    --link: currentColor;
    --brand: light-dark(var(--ink-900), var(--paper-0));
    --brand-hover: light-dark(var(--ink-800), var(--paper-100));
    --brand-pressed: light-dark(var(--ink-700), var(--paper-200));
    --on-brand: light-dark(var(--paper-0), var(--ink-900));
    --accent: var(--red-600);
    --accent-hover: light-dark(var(--red-700), var(--red-500));
    --accent-pressed: light-dark(var(--red-800), var(--red-700));
    --on-accent: var(--paper-0);
    --accent-ink: light-dark(var(--red-600), var(--red-400));
    --hairline: light-dark(var(--paper-200), rgba(255, 255, 255, 0.2));
    --border: light-dark(var(--ink-900), var(--paper-0));
    --focus: light-dark(var(--ink-900), var(--paper-0));
    --disabled: light-dark(var(--paper-100), var(--night-700));
    --on-disabled: light-dark(rgba(34, 34, 34, 0.65), rgba(255, 255, 255, 0.5));
    --danger: light-dark(var(--orange-700), var(--orange-500));
    --on-danger: light-dark(var(--paper-0), var(--night-900));
    --danger-ink: light-dark(var(--orange-700), var(--orange-300));
    --surface-card: light-dark(var(--paper-0), var(--night-800));
    --media: light-dark(var(--paper-100), var(--night-700));
    --on-media: light-dark(rgba(34, 34, 34, 0.65), rgba(255, 255, 255, 0.65));
    --scheme-inverse: dark;
  }

  [data-theme="light"] {
    color-scheme: light;
    --scheme-inverse: dark;
    --surface: light-dark(var(--paper-50), var(--night-900));
    --surface-raised: light-dark(var(--paper-0), var(--ink-900));
    --surface-hover: light-dark(var(--paper-100), var(--night-700));
    --surface-selected: transparent;
    --ink: light-dark(var(--ink-900), var(--paper-0));
    --ink-muted: light-dark(rgba(34, 34, 34, 0.65), rgba(255, 255, 255, 0.65));
    --link: currentColor;
    --brand: light-dark(var(--ink-900), var(--paper-0));
    --brand-hover: light-dark(var(--ink-800), var(--paper-100));
    --brand-pressed: light-dark(var(--ink-700), var(--paper-200));
    --on-brand: light-dark(var(--paper-0), var(--ink-900));
    --accent: var(--red-600);
    --accent-hover: light-dark(var(--red-700), var(--red-500));
    --accent-pressed: light-dark(var(--red-800), var(--red-700));
    --on-accent: var(--paper-0);
    --accent-ink: light-dark(var(--red-600), var(--red-400));
    --hairline: light-dark(var(--paper-200), rgba(255, 255, 255, 0.2));
    --border: light-dark(var(--ink-900), var(--paper-0));
    --focus: light-dark(var(--ink-900), var(--paper-0));
    --disabled: light-dark(var(--paper-100), var(--night-700));
    --on-disabled: light-dark(rgba(34, 34, 34, 0.65), rgba(255, 255, 255, 0.5));
    --danger: light-dark(var(--orange-700), var(--orange-500));
    --on-danger: light-dark(var(--paper-0), var(--night-900));
    --danger-ink: light-dark(var(--orange-700), var(--orange-300));
    --surface-card: light-dark(var(--paper-0), var(--night-800));
    --media: light-dark(var(--paper-100), var(--night-700));
    --on-media: light-dark(rgba(34, 34, 34, 0.65), rgba(255, 255, 255, 0.65));
  }

  @media (prefers-color-scheme: dark) {
    :where(:root) {
      --scheme-inverse: light;
    }
  }

  [data-theme="dark"] {
    color-scheme: dark;
    --scheme-inverse: light;
    --surface: light-dark(var(--paper-50), var(--night-900));
    --surface-raised: light-dark(var(--paper-0), var(--ink-900));
    --surface-hover: light-dark(var(--paper-100), var(--night-700));
    --surface-selected: transparent;
    --ink: light-dark(var(--ink-900), var(--paper-0));
    --ink-muted: light-dark(rgba(34, 34, 34, 0.65), rgba(255, 255, 255, 0.65));
    --link: currentColor;
    --brand: light-dark(var(--ink-900), var(--paper-0));
    --brand-hover: light-dark(var(--ink-800), var(--paper-100));
    --brand-pressed: light-dark(var(--ink-700), var(--paper-200));
    --on-brand: light-dark(var(--paper-0), var(--ink-900));
    --accent: var(--red-600);
    --accent-hover: light-dark(var(--red-700), var(--red-500));
    --accent-pressed: light-dark(var(--red-800), var(--red-700));
    --on-accent: var(--paper-0);
    --accent-ink: light-dark(var(--red-600), var(--red-400));
    --hairline: light-dark(var(--paper-200), rgba(255, 255, 255, 0.2));
    --border: light-dark(var(--ink-900), var(--paper-0));
    --focus: light-dark(var(--ink-900), var(--paper-0));
    --disabled: light-dark(var(--paper-100), var(--night-700));
    --on-disabled: light-dark(rgba(34, 34, 34, 0.65), rgba(255, 255, 255, 0.5));
    --danger: light-dark(var(--orange-700), var(--orange-500));
    --on-danger: light-dark(var(--paper-0), var(--night-900));
    --danger-ink: light-dark(var(--orange-700), var(--orange-300));
    --surface-card: light-dark(var(--paper-0), var(--night-800));
    --media: light-dark(var(--paper-100), var(--night-700));
    --on-media: light-dark(rgba(34, 34, 34, 0.65), rgba(255, 255, 255, 0.65));
  }

  /* What is here, for the switcher. */
  :where(:root) {
    --themes: '[{"template":"malaga","label":"Malaga","themes":[{"name":"light","label":"Light","scheme":"light"},{"name":"dark","label":"Dark","scheme":"dark"}]}]';
  }

  /* ---- icons: the picture each name shows, drawn in the colour of its text ---- */

  [data-icon="arrow"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14%22%2F%3E%3Cpath%20d%3D%22M13%206l6%206-6%206%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="book"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204.5A1.5%201.5%200%200%201%205.5%203H20v15H5.5A1.5%201.5%200%200%200%204%2019.5v-15z%22%2F%3E%3Cpath%20d%3D%22M4%2019.5A1.5%201.5%200%200%200%205.5%2021H20%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="chat"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011.5a8.5%208.5%200%200%201-12.6%207.4L3%2020l1.3-4.9A8.5%208.5%200%201%201%2021%2011.5z%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="check"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012.5l4.5%204.5L19%207.5%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="clock"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="close"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%206l12%2012%22%2F%3E%3Cpath%20d%3D%22M18%206L6%2018%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="compare"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204v16%22%2F%3E%3Cpath%20d%3D%22M7%2020h10%22%2F%3E%3Cpath%20d%3D%22M5%207h14%22%2F%3E%3Cpath%20d%3D%22M5%207l-2.5%206a2.5%202.5%200%200%200%205%200L5%207z%22%2F%3E%3Cpath%20d%3D%22M19%207l-2.5%206a2.5%202.5%200%200%200%205%200L19%207z%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="eye"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s3.6-7%2010-7%2010%207%2010%207-3.6%207-10%207-10-7-10-7z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="flag"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2021V4%22%2F%3E%3Cpath%20d%3D%22M5%204h13l-2.5%204%202.5%204H5%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="globe"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18%22%2F%3E%3Cpath%20d%3D%22M12%203c2.5%202.6%203.8%205.6%203.8%209s-1.3%206.4-3.8%209c-2.5-2.6-3.8-5.6-3.8-9s1.3-6.4%203.8-9z%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="layout"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%209h18%22%2F%3E%3Cpath%20d%3D%22M9%209v11%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="lock"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%2211%22%20width%3D%2216%22%20height%3D%2210%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2011V7a4%204%200%200%201%208%200v4%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="mail"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%207l9%206%209-6%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="menu"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h16%22%2F%3E%3Cpath%20d%3D%22M4%2012h16%22%2F%3E%3Cpath%20d%3D%22M4%2017h16%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="person"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021a8%208%200%200%201%2016%200%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="pin"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021s-7-6.2-7-11a7%207%200%200%201%2014%200c0%204.8-7%2011-7%2011z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="plug"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%203v5%22%2F%3E%3Cpath%20d%3D%22M15%203v5%22%2F%3E%3Cpath%20d%3D%22M6%208h12v3a6%206%200%200%201-12%200V8z%22%2F%3E%3Cpath%20d%3D%22M12%2017v4%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="question"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9.5%209.5a2.5%202.5%200%201%201%203.6%202.2c-.7.4-1.1.9-1.1%201.8%22%2F%3E%3Cpath%20d%3D%22M12%2017h.01%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="shield"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l8%203v6c0%204.5-3.4%208-8%209-4.6-1-8-4.5-8-9V6l8-3z%22%2F%3E%3Cpath%20d%3D%22M9%2012l2%202%204-4%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="sync"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2011a8%208%200%200%200-14.3-4L4%209%22%2F%3E%3Cpath%20d%3D%22M4%204v5h5%22%2F%3E%3Cpath%20d%3D%22M4%2013a8%208%200%200%200%2014.3%204L20%2015%22%2F%3E%3Cpath%20d%3D%22M20%2020v-5h-5%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="tag"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012V4a1%201%200%200%201%201-1h8l9%209-9%209-9-9z%22%2F%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%227.5%22%20r%3D%221.5%22%2F%3E%3C%2Fsvg%3E");
  }
  [data-icon="unlock"] {
    --icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%2211%22%20width%3D%2216%22%20height%3D%2210%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2011V7a4%204%200%200%201%207.6-1.8%22%2F%3E%3C%2Fsvg%3E");
  }
}

/* ---- brand/malaga/representation/shared.css ---- */

/* What this brand draws its own way, on every device. Values go in
   brand.json and theme/; only what a value cannot say is written here. */

@layer grid.representation {
  /* Text is drawn smooth, as the template draws it. */
  .viewport {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  /* ---- Lines ---------------------------------------------------------------
     A line breaks where it reads well: no last word stands alone, in small
     print too. The design system sets text as it comes and leaves this to
     a brand. */
  .presentation,
  .presentation :where(h1, h2, h3, h4, h5, h6, p, li, dd, blockquote, figcaption),
  [data-representation~="display"],
  [data-representation~="title"] {
    text-wrap: pretty;
  }

  /* A run of links set apart by a sign (·) breaks as it comes: a sign
     carried to the next line would start it. */
  .presentation :where(h1, h2, h3, h4, h5, h6, p, li, dd, blockquote, figcaption):has(> a + a) {
    text-wrap: wrap;
  }

  /* ---- Fields --------------------------------------------------------------
     A field has no box: a white ground and one line under it. */
  .presentation :where(input:not([type="checkbox"], [type="radio"], [type="file"], [type="hidden"], [type="range"], [type="color"]), select, textarea),
  .field:not([data-representation~="dashed"]) {
    border-color: transparent;
    border-block-end-color: var(--hairline);
  }

  .presentation :where(input, select, textarea)::placeholder {
    color: var(--ink-muted);
    font-weight: var(--weight-body);
  }

  /* A field in a row beside a large action is as tall as the action. */
  form[data-arrangement~="row"]:has(> .action[data-sizing~="large"]) {
    --control: var(--action-size-large);
  }

  /* A choice is as large as the words beside it (--choice-size). One kept
     for the ear alone stays out of sight. */
  .presentation :where(input[type="radio"], input[type="checkbox"]):not([data-accessibility~="spoken"]) {
    inline-size: var(--choice-size);
    block-size: var(--choice-size);
  }

  /* ---- Capitals ------------------------------------------------------------
     The words over a field: small capitals (--caps-type), quiet, as strong
     as a label. A label that names a role of text of its own is read in
     that role, as it is written. What is typed is not in capitals. */
  :where(.presentation) :where(label:not([data-representation]):has(> :is(input:not([type="checkbox"], [type="radio"], [type="file"]), select, textarea))) {
    color: var(--ink-muted);
    font-size: var(--caps-type);
    font-weight: var(--weight-label);
    line-height: var(--type-small-line);
    text-transform: uppercase;
  }

  :where(.presentation) :where(label) :where(input, select, textarea) {
    font-weight: var(--weight-body);
    letter-spacing: normal;
    text-transform: none;
  }

  /* A caption is set in capitals too, at the same size. */
  [data-representation~="caption"] {
    font-size: var(--caps-type);
  }

  /* Capitals stand a little apart (--caps-tracking). Only in a script that
     has capitals; the others keep the spacing the design system's
     localization gives them. */
  :is([data-representation~="caption"], .presentation label:not([data-representation]):has(> :is(input:not([type="checkbox"], [type="radio"], [type="file"]), select, textarea))):not(:lang(ar), :lang(fa), :lang(ur), :lang(he), :lang(hi), :lang(bn), :lang(th), :lang(km), :lang(my), :lang(ta), :lang(ja), :lang(zh), :lang(ko)) {
    letter-spacing: var(--caps-tracking);
  }

  /* ---- Actions -------------------------------------------------------------
     An action that shows only an icon, and is named for the ear alone, is
     square: as wide as it is tall. */
  .action[aria-label]:has(> .icon:only-child) {
    padding-inline: calc((var(--action-size, var(--target)) - var(--icon-size, 1.25rem)) / 2 - var(--line));
  }

  /* A route in a row that scrolls keeps its words on one line, as the
     actions beside it do: the row scrolls further rather than squeeze it. */
  [data-rendering~="scroll-inline"] > .route {
    min-inline-size: max-content;
  }

  /* ---- Cards ---------------------------------------------------------------
     The tags of a card stand at its foot, over its actions: when the words
     above them take more lines in one card than in the card beside it, the
     tags of the two still line up. */
  .surface > [data-arrangement~="row"]:has(> .tag):not(:has(> :not(.tag))) {
    align-content: end;
    align-items: end;
  }

  /* ---- Menus ---------------------------------------------------------------
     The words of a menu are set close (--menu-line): a name, or an item,
     of two lines reads as one. In a panel, the menu of a finger, its
     routes are. */
  .menu:has(> [data-placement]),
  .panel .route {
    line-height: var(--menu-line);
  }

  :is(.menu, .panel) .route > b {
    text-wrap: balance;
  }

  :is(.menu, .panel) .route > span:not([class]) {
    text-wrap: pretty;
  }

  /* A route that is a name alone keeps a line of room under its name,
     however many lines the name takes: a name that runs to two lines does
     not crowd the next one. */
  :is(.menu, .panel) .route:not(:has(> span:not([class]), > .frame)) {
    min-block-size: 0;
    padding-block-end: calc(var(--target) - 1lh);
  }

  /* The lists of the footer leave a little room between their links. */
  .region[data-placement="footer"] :is(nav > ul, address) {
    --gap: var(--space-near);
  }
}
