Khunndev Sisyphus commited on
Commit
58e400a
Β·
1 Parent(s): 4afeb0c

Establish a premium refined-light design system with IBM Plex typography and depth tokens.

Browse files

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

Files changed (2) hide show
  1. frontend/index.html +6 -0
  2. frontend/src/index.css +197 -48
frontend/index.html CHANGED
@@ -11,6 +11,12 @@
11
  <link rel="icon" type="image/png" sizes="16x16" href="/images/touch/favicon-16x16.png" />
12
  <link rel="shortcut icon" href="/images/touch/favicon.ico" />
13
  <link rel="apple-touch-icon" href="/images/touch/android-chrome-192x192.png" />
 
 
 
 
 
 
14
  <title>NPI Pipe Count</title>
15
  </head>
16
  <body>
 
11
  <link rel="icon" type="image/png" sizes="16x16" href="/images/touch/favicon-16x16.png" />
12
  <link rel="shortcut icon" href="/images/touch/favicon.ico" />
13
  <link rel="apple-touch-icon" href="/images/touch/android-chrome-192x192.png" />
14
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
15
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
16
+ <link
17
+ href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700&display=swap"
18
+ rel="stylesheet"
19
+ />
20
  <title>NPI Pipe Count</title>
21
  </head>
22
  <body>
frontend/src/index.css CHANGED
@@ -1,35 +1,112 @@
1
  @import 'tailwindcss';
2
 
3
- /* ──────────────────────────────────────────────────────────────
4
- CountThings-inspired light industrial theme
5
- ────────────────────────────────────────────────────────────── */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  :root {
7
- font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue',
8
- system-ui, 'Segoe UI', Roboto, sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
- /* canvas */
11
- --bg: #eef0f4;
12
  --header-bg: #ffffff;
13
  --surface: #ffffff;
14
- --surface-2: #f8f9fb;
15
- --surface-active: #e8f1f6;
16
- --hairline: #e2e8f0;
17
- --border: #d8dee8;
18
 
19
- /* text */
 
 
 
 
 
20
  --text: #1e293b;
21
- --text-dim: #64748b;
22
  --text-faint: #94a3b8;
23
  --text-inverse: #ffffff;
24
 
25
- /* brand β€” navy */
26
  --brand: #00314d;
27
  --brand-hover: #00263c;
28
  --brand-light: #e8f1f6;
29
  --brand-muted: #5a93b5;
30
  --brand-ring: rgba(0, 49, 77, 0.22);
31
 
32
- /* semantic */
33
  --success: #16a34a;
34
  --success-light: #dcfce7;
35
  --info: #2563eb;
@@ -41,23 +118,44 @@
41
 
42
  --ios-toggle: #00314d;
43
 
44
- /* shape & elevation */
45
  --r-sm: 0.625rem;
46
  --r-md: 0.875rem;
47
  --r-lg: 1rem;
48
  --r-xl: 1.25rem;
49
- --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
50
- --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
51
- --shadow-brand: 0 6px 20px rgba(0, 49, 77, 0.28);
 
 
 
 
 
 
 
52
 
53
- /* motion */
 
 
 
 
 
 
 
54
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
55
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
 
 
 
56
 
 
 
57
  color: var(--text);
58
  background: var(--bg);
59
  -webkit-tap-highlight-color: transparent;
60
  -webkit-text-size-adjust: 100%;
 
 
61
  }
62
 
63
  html {
@@ -67,7 +165,14 @@ html {
67
  body {
68
  margin: 0;
69
  min-height: 100dvh;
70
- background: var(--bg);
 
 
 
 
 
 
 
71
  -webkit-user-select: none;
72
  user-select: none;
73
  }
@@ -110,11 +215,31 @@ input[type='number']::-webkit-inner-spin-button {
110
  display: none;
111
  }
112
 
113
- /* ── Reusable UI primitives ─────────────────────────────────── */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  .ct-header {
115
  background: var(--header-bg);
116
  border-bottom: 1px solid var(--hairline);
117
- box-shadow: var(--shadow-sm);
118
  }
119
 
120
  .ct-card {
@@ -125,9 +250,10 @@ input[type='number']::-webkit-inner-spin-button {
125
  }
126
 
127
  .ct-section-label {
128
- font-size: 0.6875rem;
129
- font-weight: 600;
130
- letter-spacing: 0.08em;
 
131
  text-transform: uppercase;
132
  color: var(--text-faint);
133
  }
@@ -140,16 +266,24 @@ input[type='number']::-webkit-inner-spin-button {
140
  min-height: 3.5rem;
141
  width: 100%;
142
  border-radius: var(--r-lg);
143
- background: var(--brand);
 
 
 
144
  color: var(--text-inverse);
145
- font-size: 1rem;
146
- font-weight: 700;
147
- box-shadow: var(--shadow-brand);
148
- transition: transform 0.15s, background 0.15s;
 
 
149
  }
150
  .ct-btn-primary:active:not(:disabled) {
151
  transform: scale(0.98);
152
- background: var(--brand-hover);
 
 
 
153
  }
154
 
155
  .ct-btn-secondary {
@@ -163,14 +297,17 @@ input[type='number']::-webkit-inner-spin-button {
163
  border: 1px solid var(--border);
164
  background: var(--surface);
165
  color: var(--text);
166
- font-size: 1rem;
167
- font-weight: 600;
168
- box-shadow: var(--shadow-sm);
169
- transition: transform 0.15s, background 0.15s;
 
 
170
  }
171
  .ct-btn-secondary:active:not(:disabled) {
172
  transform: scale(0.98);
173
  background: var(--surface-2);
 
174
  }
175
 
176
  .ct-btn-ghost {
@@ -181,8 +318,9 @@ input[type='number']::-webkit-inner-spin-button {
181
  background: var(--surface-2);
182
  border: 1px solid var(--hairline);
183
  color: var(--text-dim);
184
- font-weight: 600;
185
- transition: background 0.15s, transform 0.15s;
 
186
  }
187
  .ct-btn-ghost:active {
188
  transform: scale(0.96);
@@ -193,10 +331,11 @@ input[type='number']::-webkit-inner-spin-button {
193
  display: inline-flex;
194
  align-items: center;
195
  gap: 0.375rem;
196
- border-radius: 9999px;
197
  padding: 0.25rem 0.75rem;
198
- font-size: 0.75rem;
199
- font-weight: 600;
 
200
  }
201
  .ct-badge--brand { background: var(--brand-light); color: var(--brand); }
202
  .ct-badge--success { background: var(--success-light); color: var(--success); }
@@ -204,7 +343,17 @@ input[type='number']::-webkit-inner-spin-button {
204
  .ct-badge--warning { background: var(--warning-light); color: var(--warning); }
205
  .ct-badge--danger { background: var(--danger-light); color: var(--danger); }
206
 
207
- /* ── Navigation transitions ─────────────────────────────────── */
 
 
 
 
 
 
 
 
 
 
208
  @keyframes nav-push {
209
  from { opacity: 0; transform: translateX(28px); }
210
  to { opacity: 1; transform: translateX(0); }
@@ -213,14 +362,14 @@ input[type='number']::-webkit-inner-spin-button {
213
  from { opacity: 0; transform: translateX(-28px); }
214
  to { opacity: 1; transform: translateX(0); }
215
  }
216
- .nav-push { animation: nav-push 0.36s var(--ease-ios) both; }
217
- .nav-pop { animation: nav-pop 0.36s var(--ease-ios) both; }
218
 
219
  @keyframes drawer-in {
220
  from { transform: translateX(100%); }
221
  to { transform: translateX(0); }
222
  }
223
- .drawer-enter { animation: drawer-in 0.38s var(--ease-ios) both; }
224
 
225
  @keyframes sheet-up {
226
  from { transform: translateY(100%); }
@@ -230,14 +379,14 @@ input[type='number']::-webkit-inner-spin-button {
230
  from { opacity: 0; }
231
  to { opacity: 1; }
232
  }
233
- .sheet-enter { animation: sheet-up 0.42s var(--ease-ios) both; }
234
- .overlay-enter { animation: fade-in 0.22s ease-out both; }
235
 
236
  @keyframes rise {
237
  from { opacity: 0; transform: translateY(16px); }
238
  to { opacity: 1; transform: translateY(0); }
239
  }
240
- .rise-enter { animation: rise 0.34s var(--ease-out) both; }
241
 
242
  @keyframes breathe {
243
  0%, 100% { transform: scale(1); }
 
1
  @import 'tailwindcss';
2
 
3
+ /* ════════════════════════════════════════════════════════════════════
4
+ NPI PIPE COUNT β€” Refined-light precision-instrument design system
5
+ ───────────────────────────────────────────────────────────────────
6
+ Aesthetic: Linear / Stripe / Vercel-grade light SaaS. Confident,
7
+ precise, quietly luxurious. The COUNT NUMBER is the product hero β†’
8
+ it gets a confident display/mono treatment (IBM Plex Mono).
9
+
10
+ Typography:
11
+ β€’ IBM Plex Sans Thai β€” display + body (full Thai script support,
12
+ bilingual Thai/EN UI). Refined-technical IBM design language.
13
+ β€’ IBM Plex Mono β€” numeric/technical accents: count figures,
14
+ tabular data, dimension readouts.
15
+
16
+ This file is the SINGLE source of truth for theme tokens. Every
17
+ component reads var(--*). Phase 2 applies this system to screens.
18
+ Token names are the contract β€” never rename/remove, only extend.
19
+ ════════════════════════════════════════════════════════════════════ */
20
  :root {
21
+ /* ── Type families ────────────────────────────────────────────────
22
+ Fallback chain keeps Thai glyphs readable before webfonts load and
23
+ on offline first-load (offline-first PWA): Leelawadee UI (Win),
24
+ Thonburi (macOS), Garuda (Linux) all ship Thai. */
25
+ --font-sans: 'IBM Plex Sans Thai', -apple-system, BlinkMacSystemFont,
26
+ 'SF Pro Text', 'Segoe UI', system-ui, 'Leelawadee UI', 'Thonburi',
27
+ 'Garuda', sans-serif;
28
+ --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', 'Cascadia Code',
29
+ 'Roboto Mono', 'DejaVu Sans Mono', 'Leelawadee UI', monospace;
30
+
31
+ /* ── Type scale (font sizes) ────────────────────────────────────── */
32
+ --text-2xs: 0.625rem; /* 10px β€” micro / fine print */
33
+ --text-xs: 0.6875rem; /* 11px β€” eyebrows, table meta */
34
+ --text-sm: 0.8125rem; /* 13px β€” captions, secondary text */
35
+ --text-base: 0.9375rem; /* 15px β€” body */
36
+ --text-md: 1rem; /* 16px β€” emphasized body, button labels */
37
+ --text-lg: 1.125rem; /* 18px β€” card titles */
38
+ --text-xl: 1.375rem; /* 22px β€” section heads */
39
+ --text-2xl: 1.75rem; /* 28px β€” page heads */
40
+ --text-display: clamp(2.75rem, 16vw, 4.25rem); /* hero COUNT number */
41
+
42
+ /* ── Line heights ───────────────────────────────────────────────── */
43
+ --leading-none: 1;
44
+ --leading-tight: 1.15;
45
+ --leading-snug: 1.35;
46
+ --leading-normal: 1.5;
47
+ --leading-relaxed: 1.625;
48
+
49
+ /* ── Letter spacing ─────────────────────────────────────────────── */
50
+ --tracking-tight: -0.02em;
51
+ --tracking-snug: -0.01em;
52
+ --tracking-normal: 0;
53
+ --tracking-wide: 0.04em;
54
+ --tracking-wider: 0.08em;
55
+
56
+ /* ── Font weights ───────────────────────────────────────────────── */
57
+ --weight-light: 300;
58
+ --weight-regular: 400;
59
+ --weight-medium: 500;
60
+ --weight-semibold: 600;
61
+ --weight-bold: 700;
62
+
63
+ /* ── Type presets (one-line `font:` recipes; family baked in so the
64
+ shorthand never resets it). Apply: `font: var(--type-h2);`
65
+ Add letter-spacing / text-transform / font-variant-numeric
66
+ separately where needed. ────────────────────────────────────── */
67
+ --type-display: 700 var(--text-display) / 1 var(--font-mono);
68
+ --type-h1: 700 var(--text-2xl) / var(--leading-tight) var(--font-sans);
69
+ --type-h2: 600 var(--text-xl) / var(--leading-snug) var(--font-sans);
70
+ --type-h3: 600 var(--text-lg) / var(--leading-snug) var(--font-sans);
71
+ --type-body: 400 var(--text-base) / var(--leading-normal) var(--font-sans);
72
+ --type-body-em: 500 var(--text-md) / var(--leading-normal) var(--font-sans);
73
+ --type-label: 600 var(--text-xs) / var(--leading-none) var(--font-sans);
74
+ --type-count: 700 var(--text-display) / 1 var(--font-mono);
75
+
76
+ /* ══ Canvas / atmosphere ══════════════════════════════════════════
77
+ Cool near-white with a faint navy tint + soft gradient mesh on the
78
+ body (see body rule) for premium depth β€” never flat #eef0f4. */
79
+ --bg: #f4f6fa;
80
+ --bg-gradient:
81
+ radial-gradient(115% 72% at 50% -8%, rgba(0, 49, 77, 0.06), transparent 58%),
82
+ radial-gradient(82% 56% at 100% 102%, rgba(90, 147, 181, 0.055), transparent 52%),
83
+ radial-gradient(70% 50% at 0% 100%, rgba(37, 99, 235, 0.03), transparent 50%);
84
 
 
 
85
  --header-bg: #ffffff;
86
  --surface: #ffffff;
87
+ --surface-2: #f7f9fc;
88
+ --surface-active: #eef3f8;
89
+ --surface-sunken: #eef1f6; /* NEW β€” recessed/inset panels */
 
90
 
91
+ /* Hairlines & borders β€” refined cooler */
92
+ --hairline: #e6eaf1;
93
+ --hairline-strong: #d4dbe6; /* NEW */
94
+ --border: #d4dbe6;
95
+
96
+ /* ── Text ───────────────────────────────────────────────────────── */
97
  --text: #1e293b;
98
+ --text-dim: #5b6678;
99
  --text-faint: #94a3b8;
100
  --text-inverse: #ffffff;
101
 
102
+ /* ── Brand β€” navy (refined-light, NOT a recolor) ────────────────── */
103
  --brand: #00314d;
104
  --brand-hover: #00263c;
105
  --brand-light: #e8f1f6;
106
  --brand-muted: #5a93b5;
107
  --brand-ring: rgba(0, 49, 77, 0.22);
108
 
109
+ /* ── Semantic ───────────────────────────────────────────────────── */
110
  --success: #16a34a;
111
  --success-light: #dcfce7;
112
  --info: #2563eb;
 
118
 
119
  --ios-toggle: #00314d;
120
 
121
+ /* ── Shape ──────────────────────────────────────────────────────── */
122
  --r-sm: 0.625rem;
123
  --r-md: 0.875rem;
124
  --r-lg: 1rem;
125
  --r-xl: 1.25rem;
126
+ --r-pill: 9999px; /* NEW */
127
+
128
+ /* ── Elevation β€” premium multi-layer shadows (soft + tight pairs) ─ */
129
+ --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
130
+ --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
131
+ --shadow-md: 0 2px 4px rgba(15, 23, 42, 0.04), 0 6px 14px rgba(15, 23, 42, 0.08);
132
+ --shadow-lg: 0 4px 8px rgba(15, 23, 42, 0.05), 0 14px 32px rgba(15, 23, 42, 0.10);
133
+ --shadow-xl: 0 8px 16px rgba(15, 23, 42, 0.06), 0 26px 52px rgba(15, 23, 42, 0.14);
134
+ --shadow-brand: 0 2px 6px rgba(0, 49, 77, 0.18), 0 10px 26px rgba(0, 49, 77, 0.30);
135
+ --shadow-inset: inset 0 1px 2px rgba(15, 23, 42, 0.06); /* NEW β€” sunken */
136
 
137
+ /* ── Grain / noise texture (premium tell; use sparingly) ──────────
138
+ Tiny inline fractal-noise SVG. Apply via `.grain` utility class on
139
+ a positioned parent β€” keeps text crisp (don't blanket the app). */
140
+ --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
141
+
142
+ /* ── Motion ───────────────────────────────────────────────────────
143
+ Refined, snappier, spring-like easings for a precise-instrument
144
+ feel. Legacy names preserved; new ones added. */
145
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
146
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
147
+ --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1); /* NEW β€” material standard */
148
+ --ease-snap: cubic-bezier(0.2, 0.9, 0.3, 1); /* NEW β€” snappy press */
149
+ --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* NEW β€” overshoot */
150
 
151
+ /* root surface defaults */
152
+ font-family: var(--font-sans);
153
  color: var(--text);
154
  background: var(--bg);
155
  -webkit-tap-highlight-color: transparent;
156
  -webkit-text-size-adjust: 100%;
157
+ text-size-adjust: 100%;
158
+ font-optical-sizing: auto;
159
  }
160
 
161
  html {
 
165
  body {
166
  margin: 0;
167
  min-height: 100dvh;
168
+ color: var(--text);
169
+ /* Cool near-white base + subtle gradient mesh = premium depth tell */
170
+ background-color: var(--bg);
171
+ background-image: var(--bg-gradient);
172
+ background-repeat: no-repeat;
173
+ -webkit-font-smoothing: antialiased;
174
+ -moz-osx-font-smoothing: grayscale;
175
+ text-rendering: optimizeLegibility;
176
  -webkit-user-select: none;
177
  user-select: none;
178
  }
 
215
  display: none;
216
  }
217
 
218
+ /* ── Grain overlay utility ──────────────────────────────────────────
219
+ Apply `.grain` to a positioned (relative/absolute) container to lay
220
+ a whisper of fractal noise over it. pointer-events:none keeps it
221
+ non-interactive; z-index keeps it behind content if needed. */
222
+ .grain::after {
223
+ content: '';
224
+ position: absolute;
225
+ inset: 0;
226
+ border-radius: inherit;
227
+ background-image: var(--grain);
228
+ background-size: 160px 160px;
229
+ background-repeat: repeat;
230
+ opacity: 0.035;
231
+ mix-blend-mode: multiply;
232
+ pointer-events: none;
233
+ z-index: 0;
234
+ }
235
+
236
+ /* ════════════════════════════════════════════════════════════════════
237
+ Reusable UI primitives β€” refined with premium depth
238
+ ════════════════════════════════════════════════════════════════════ */
239
  .ct-header {
240
  background: var(--header-bg);
241
  border-bottom: 1px solid var(--hairline);
242
+ box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02), var(--shadow-sm);
243
  }
244
 
245
  .ct-card {
 
250
  }
251
 
252
  .ct-section-label {
253
+ font-size: var(--text-xs);
254
+ line-height: var(--leading-none);
255
+ font-weight: var(--weight-semibold);
256
+ letter-spacing: var(--tracking-wider);
257
  text-transform: uppercase;
258
  color: var(--text-faint);
259
  }
 
266
  min-height: 3.5rem;
267
  width: 100%;
268
  border-radius: var(--r-lg);
269
+ /* Subtle top-lit navy gradient β†’ pressable, quietly luxurious */
270
+ background:
271
+ linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 55%),
272
+ var(--brand);
273
  color: var(--text-inverse);
274
+ font-size: var(--text-md);
275
+ font-weight: var(--weight-bold);
276
+ letter-spacing: var(--tracking-snug);
277
+ box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255, 255, 255, 0.16);
278
+ transition: transform 0.2s var(--ease-snap), box-shadow 0.2s var(--ease-out),
279
+ background 0.2s var(--ease-out);
280
  }
281
  .ct-btn-primary:active:not(:disabled) {
282
  transform: scale(0.98);
283
+ background:
284
+ linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 55%),
285
+ var(--brand-hover);
286
+ box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.12);
287
  }
288
 
289
  .ct-btn-secondary {
 
297
  border: 1px solid var(--border);
298
  background: var(--surface);
299
  color: var(--text);
300
+ font-size: var(--text-md);
301
+ font-weight: var(--weight-semibold);
302
+ letter-spacing: var(--tracking-snug);
303
+ box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.8);
304
+ transition: transform 0.2s var(--ease-snap), background 0.2s var(--ease-out),
305
+ box-shadow 0.2s var(--ease-out);
306
  }
307
  .ct-btn-secondary:active:not(:disabled) {
308
  transform: scale(0.98);
309
  background: var(--surface-2);
310
+ box-shadow: var(--shadow-xs);
311
  }
312
 
313
  .ct-btn-ghost {
 
318
  background: var(--surface-2);
319
  border: 1px solid var(--hairline);
320
  color: var(--text-dim);
321
+ font-weight: var(--weight-semibold);
322
+ transition: background 0.18s var(--ease-out), transform 0.18s var(--ease-snap),
323
+ color 0.18s var(--ease-out);
324
  }
325
  .ct-btn-ghost:active {
326
  transform: scale(0.96);
 
331
  display: inline-flex;
332
  align-items: center;
333
  gap: 0.375rem;
334
+ border-radius: var(--r-pill);
335
  padding: 0.25rem 0.75rem;
336
+ font-size: var(--text-sm);
337
+ font-weight: var(--weight-semibold);
338
+ letter-spacing: var(--tracking-snug);
339
  }
340
  .ct-badge--brand { background: var(--brand-light); color: var(--brand); }
341
  .ct-badge--success { background: var(--success-light); color: var(--success); }
 
343
  .ct-badge--warning { background: var(--warning-light); color: var(--warning); }
344
  .ct-badge--danger { background: var(--danger-light); color: var(--danger); }
345
 
346
+ /* ── Count display β€” the product hero ───────────────────────────────
347
+ Ready path for the big count figure: confident display mono with
348
+ tabular figures so digits don't jitter as the number animates. */
349
+ .ct-count {
350
+ font: var(--type-count);
351
+ font-variant-numeric: tabular-nums;
352
+ letter-spacing: var(--tracking-tight);
353
+ color: var(--brand);
354
+ }
355
+
356
+ /* ── Navigation transitions ───────────────────────────────────────── */
357
  @keyframes nav-push {
358
  from { opacity: 0; transform: translateX(28px); }
359
  to { opacity: 1; transform: translateX(0); }
 
362
  from { opacity: 0; transform: translateX(-28px); }
363
  to { opacity: 1; transform: translateX(0); }
364
  }
365
+ .nav-push { animation: nav-push 0.34s var(--ease-ios) both; }
366
+ .nav-pop { animation: nav-pop 0.30s var(--ease-ios) both; }
367
 
368
  @keyframes drawer-in {
369
  from { transform: translateX(100%); }
370
  to { transform: translateX(0); }
371
  }
372
+ .drawer-enter { animation: drawer-in 0.36s var(--ease-ios) both; }
373
 
374
  @keyframes sheet-up {
375
  from { transform: translateY(100%); }
 
379
  from { opacity: 0; }
380
  to { opacity: 1; }
381
  }
382
+ .sheet-enter { animation: sheet-up 0.40s var(--ease-ios) both; }
383
+ .overlay-enter { animation: fade-in 0.22s var(--ease-smooth) both; }
384
 
385
  @keyframes rise {
386
  from { opacity: 0; transform: translateY(16px); }
387
  to { opacity: 1; transform: translateY(0); }
388
  }
389
+ .rise-enter { animation: rise 0.32s var(--ease-out) both; }
390
 
391
  @keyframes breathe {
392
  0%, 100% { transform: scale(1); }