/* ==========================================================================
   Design tokens: Apple-style dark appearance. Component styles live in styles.css.
   The colours, numbers and browser scheme belong to a theme and live in themes/*.css (see THEMES in bundle.js);
   here are only the tokens that stay the same in every theme.
   ========================================================================== */

:root {
  /* Drawn inside the card, not around it: the outline takes nothing from the 10px gap between blocks */
  --ring-hairline: inset 0 0 0 0.5px var(--line-soft);
  /* A shadow built from several layers of growing blur and fading strength falls off smoothly, also around rounded corners */
  --shadow-medium:
    0 0 0 0.5px var(--line-soft),
    0 0 3px color-mix(in srgb, var(--shadow) calc(var(--shadow-strength) * 0.45), transparent),
    0 0 9px color-mix(in srgb, var(--shadow) calc(var(--shadow-strength) * 0.4), transparent),
    0 0 20px color-mix(in srgb, var(--shadow) calc(var(--shadow-strength) * 0.35), transparent),
    0 0 40px color-mix(in srgb, var(--shadow) calc(var(--shadow-strength) * 0.3), transparent);
  --shadow-large:
    0 0 0 0.5px var(--line-soft),
    0 0 3px color-mix(in srgb, var(--shadow) calc(var(--shadow-strength) * 0.45), transparent),
    0 0 10px color-mix(in srgb, var(--shadow) calc(var(--shadow-strength) * 0.4), transparent),
    0 0 26px color-mix(in srgb, var(--shadow) calc(var(--shadow-strength) * 0.35), transparent),
    0 0 56px color-mix(in srgb, var(--shadow) calc(var(--shadow-strength) * 0.3), transparent),
    0 0 100px color-mix(in srgb, var(--shadow) calc(var(--shadow-strength) * 0.25), transparent);

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  /* Typography and motion */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --ease-apple: cubic-bezier(0.32, 0.72, 0, 1);

  /* Layout */
  --capture-h: 46px;
  --capture-r: 10px;
  --tabbar-h: 62px;
  --priority-dot-size: 7px;
  --z: 1; /* phone interface scale, set in Settings (see styles.css) */
}