medesign 1.4.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +90 -72
  2. package/bin/mebolder.js +4 -0
  3. package/bin/medesign.js +370 -35
  4. package/bin/melint.js +4 -0
  5. package/bin/mepolish.js +4 -0
  6. package/bin/mequiet.js +4 -0
  7. package/bin/mesearch.js +4 -0
  8. package/bin/mesnapshot.js +4 -0
  9. package/examples/cadastral-qaqc-slide.html +577 -0
  10. package/examples/executive-summary-report.html +597 -0
  11. package/examples/executive-summary-report.pdf +0 -0
  12. package/examples/geospatial-banner-1200x630.html +370 -0
  13. package/examples/geospatial-banner-1200x630.svg +149 -0
  14. package/examples/linear-issue-board.html +1273 -0
  15. package/examples/snapshots/cadastral-qaqc-slide-desktop-1440x900.png +0 -0
  16. package/examples/snapshots/cadastral-qaqc-slide-mobile-390x844.png +0 -0
  17. package/examples/snapshots/cadastral-qaqc-slide-tablet-820x1180.png +0 -0
  18. package/examples/snapshots/executive-summary-report-desktop-1440x900.png +0 -0
  19. package/examples/snapshots/executive-summary-report-mobile-390x844.png +0 -0
  20. package/examples/snapshots/executive-summary-report-tablet-820x1180.png +0 -0
  21. package/examples/snapshots/geospatial-banner-1200x630-og-banner-1200x630.png +0 -0
  22. package/examples/snapshots/linear-issue-board-desktop-1440x900.png +0 -0
  23. package/examples/snapshots/linear-issue-board-mobile-390x844.png +0 -0
  24. package/examples/snapshots/linear-issue-board-tablet-820x1180.png +0 -0
  25. package/examples/snapshots/spotify-web-player-desktop-1440x900.png +0 -0
  26. package/examples/snapshots/spotify-web-player-mobile-390x844.png +0 -0
  27. package/examples/snapshots/spotify-web-player-tablet-820x1180.png +0 -0
  28. package/examples/spotify-web-player.html +1446 -0
  29. package/package.json +16 -4
  30. package/presets/metha/guidelines.md +26 -17
  31. package/presets/metha/preset.json +16 -16
  32. package/references/ai-tells.md +9 -2
  33. package/references/brand-design-tokens.md +27 -28
  34. package/references/brief-intake.md +90 -0
  35. package/references/catalog.json +1031 -1023
  36. package/references/cli-architecture.md +1 -1
  37. package/references/compositor-smoothness.md +161 -0
  38. package/references/design-core.md +11 -4
  39. package/references/executive-reports.md +234 -0
  40. package/references/image-mockup-direction.md +53 -53
  41. package/references/image-to-code.md +46 -46
  42. package/references/modern-craft-invariants.md +55 -9
  43. package/references/prompt-templates.md +49 -0
  44. package/references/quality-gate.md +42 -12
  45. package/references/typography-thai-latin.md +206 -0
  46. package/references/view-transitions-engine.md +89 -0
  47. package/references/web-retrofit-protocol.md +103 -0
  48. package/scripts/export-tokens.js +419 -403
  49. package/tests/browser-audit.js +463 -442
  50. package/tests/linter.js +49 -4
  51. package/tests/snapshot.js +266 -0
@@ -0,0 +1,597 @@
1
+ <!DOCTYPE html>
2
+ <html lang="th">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Executive Briefing: Metha Cadastre & Geodetic Network QA/QC Audit</title>
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9
+ <link href="https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600;700&family=Geist:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap" rel="stylesheet">
10
+ <style>
11
+ /* -------------------------------------------------------------
12
+ 1. Baseline Grid & Design Tokens (4pt Baseline / 12-Col Grid)
13
+ ------------------------------------------------------------- */
14
+ :root {
15
+ --font-sans: "Geist", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
16
+ --font-mono: "Geist Mono", monospace;
17
+
18
+ --baseline-4: 4px;
19
+ --baseline-8: 8px;
20
+ --baseline-12: 12px;
21
+ --baseline-16: 16px;
22
+ --baseline-24: 24px;
23
+ --baseline-32: 32px;
24
+
25
+ --color-canvas: #f8fafc;
26
+ --color-surface: #ffffff;
27
+ --color-text-primary: #0f172a;
28
+ --color-text-secondary: #475569;
29
+ --color-text-tertiary: #94a3b8;
30
+ --color-border-hairline: rgba(15, 23, 42, 0.08);
31
+ --color-border-strong: rgba(15, 23, 42, 0.18);
32
+
33
+ --color-accent-teal: #0f766e;
34
+ --color-accent-blue: #2563eb;
35
+ --color-accent-emerald: #059669;
36
+ --color-accent-amber: #d97706;
37
+
38
+ --r-outer: 12px;
39
+ --card-pad: 24px;
40
+ --r-inner: max(0px, calc(var(--r-outer) - var(--card-pad))); /* Safe Concentric Radius formula max(0px, r_outer - pad) */
41
+ }
42
+
43
+ /* Reset & Base Typography */
44
+ * {
45
+ box-sizing: border-box;
46
+ margin: 0;
47
+ padding: 0;
48
+ }
49
+
50
+ body {
51
+ font-family: var(--font-sans);
52
+ background-color: var(--color-canvas);
53
+ color: var(--color-text-primary);
54
+ line-height: 1.75;
55
+ letter-spacing: 0; /* Thai typography letter-spacing invariant */
56
+ padding: 32px;
57
+ -webkit-font-smoothing: antialiased;
58
+ }
59
+
60
+ /* Screen Container: Mimic A4 Landscape */
61
+ .page-sheet {
62
+ width: 100%;
63
+ max-width: 1122px; /* ~297mm @ 96dpi */
64
+ min-height: 793px; /* ~210mm @ 96dpi */
65
+ margin: 0 auto;
66
+ background: var(--color-surface);
67
+ border: 1px solid var(--color-border-hairline); /* In-flow Hairline: 1px solid, ZERO drop shadow */
68
+ border-radius: var(--r-outer);
69
+ padding: 32px 36px;
70
+ position: relative;
71
+ }
72
+
73
+ /* -------------------------------------------------------------
74
+ 2. 12-Column Grid Snapping on 4pt Baseline
75
+ ------------------------------------------------------------- */
76
+ .report-grid-12 {
77
+ display: grid;
78
+ grid-template-columns: repeat(12, 1fr);
79
+ column-gap: 20px;
80
+ row-gap: 16px;
81
+ }
82
+
83
+ /* -------------------------------------------------------------
84
+ 3. 8 + 4 Consulting Split Layout
85
+ ------------------------------------------------------------- */
86
+ .consulting-stage {
87
+ grid-column: span 8;
88
+ display: flex;
89
+ flex-direction: column;
90
+ gap: 16px;
91
+ }
92
+
93
+ .consulting-rail {
94
+ grid-column: span 4;
95
+ display: flex;
96
+ flex-direction: column;
97
+ gap: 12px;
98
+ border-left: 0.5px solid var(--color-border-hairline);
99
+ padding-left: 20px;
100
+ }
101
+
102
+ /* -------------------------------------------------------------
103
+ 4. L1 / L2 / L3 5-Second Scan Architecture
104
+ ------------------------------------------------------------- */
105
+ /* Header Meta Eyebrow */
106
+ .eyebrow-strip {
107
+ display: flex;
108
+ justify-content: space-between;
109
+ align-items: center;
110
+ padding-bottom: 8px;
111
+ border-bottom: 0.5px solid var(--color-border-hairline);
112
+ margin-bottom: 12px;
113
+ font-size: 11px;
114
+ color: var(--color-text-secondary);
115
+ font-family: var(--font-mono);
116
+ font-variant-numeric: tabular-nums;
117
+ }
118
+
119
+ .tag-confidential {
120
+ background: #fef2f2;
121
+ color: #b91c1c;
122
+ padding: 2px 8px;
123
+ border-radius: 4px;
124
+ font-weight: 600;
125
+ letter-spacing: 0.04em;
126
+ }
127
+
128
+ /* L1: Action Title (Full Conclusive Sentence) */
129
+ .action-title {
130
+ font-size: 19px;
131
+ font-weight: 700;
132
+ line-height: 1.30;
133
+ color: var(--color-text-primary);
134
+ letter-spacing: 0;
135
+ margin-bottom: 6px;
136
+ }
137
+
138
+ .action-subtitle {
139
+ font-size: 12px;
140
+ color: var(--color-text-secondary);
141
+ line-height: 1.60;
142
+ margin-bottom: 10px;
143
+ }
144
+
145
+ /* L2: Directly Labeled Visuals (Chart Area - Zero Legend Box) */
146
+ .visual-chart-box {
147
+ border: 1px solid var(--color-border-hairline);
148
+ border-radius: 8px;
149
+ padding: 12px 16px;
150
+ background: #fafaf9;
151
+ }
152
+
153
+ .chart-header {
154
+ display: flex;
155
+ justify-content: space-between;
156
+ align-items: baseline;
157
+ margin-bottom: 8px;
158
+ }
159
+
160
+ .chart-title {
161
+ font-size: 12px;
162
+ font-weight: 600;
163
+ color: var(--color-text-primary);
164
+ }
165
+
166
+ .chart-metric-callout {
167
+ font-family: var(--font-mono);
168
+ font-size: 11px;
169
+ font-weight: 600;
170
+ color: var(--color-accent-teal);
171
+ }
172
+
173
+ /* SVG Direct-Labeling Plot */
174
+ .chart-svg-container {
175
+ width: 100%;
176
+ height: 120px;
177
+ display: block;
178
+ }
179
+
180
+ /* L3: Executive Table Discipline */
181
+ .table-container {
182
+ margin-top: 8px;
183
+ overflow-x: auto;
184
+ }
185
+
186
+ .executive-table {
187
+ width: 100%;
188
+ border-collapse: collapse;
189
+ font-size: 12px;
190
+ line-height: 1.6;
191
+ }
192
+
193
+ /* Horizontal Hairline 0.25pt / 0.5px */
194
+ .executive-table thead tr {
195
+ border-top: 1px solid var(--color-border-strong);
196
+ border-bottom: 0.5px solid var(--color-border-strong);
197
+ }
198
+
199
+ .executive-table tbody tr {
200
+ border-bottom: 0.5px solid var(--color-border-hairline); /* 0.25pt hairline */
201
+ }
202
+
203
+ .executive-table tfoot tr {
204
+ border-top: 1px solid var(--color-border-strong);
205
+ border-bottom: 1px solid var(--color-border-strong);
206
+ font-weight: 600;
207
+ }
208
+
209
+ /* ZERO vertical gridlines */
210
+ .executive-table th,
211
+ .executive-table td {
212
+ border-left: none !important;
213
+ border-right: none !important;
214
+ padding: 6px 10px;
215
+ }
216
+
217
+ .executive-table th {
218
+ text-align: left;
219
+ font-weight: 600;
220
+ color: var(--color-text-secondary);
221
+ font-size: 11px;
222
+ text-transform: uppercase;
223
+ letter-spacing: 0.05em;
224
+ }
225
+
226
+ /* Right-aligned numerical discipline with tabular-nums */
227
+ .executive-table .col-num {
228
+ text-align: right;
229
+ font-family: var(--font-mono);
230
+ font-variant-numeric: tabular-nums lining-nums;
231
+ }
232
+
233
+ .executive-table .col-badge {
234
+ text-align: center;
235
+ }
236
+
237
+ .badge-status-pass {
238
+ display: inline-block;
239
+ padding: 1px 6px;
240
+ border-radius: 4px;
241
+ background: #ecfdf5;
242
+ color: #047857;
243
+ font-size: 10px;
244
+ font-weight: 600;
245
+ font-family: var(--font-mono);
246
+ }
247
+
248
+ /* -------------------------------------------------------------
249
+ 5. Margin Rail: Executive Takeaway & Provenance (L3)
250
+ ------------------------------------------------------------- */
251
+ .rail-card {
252
+ background: #f8fafc;
253
+ border: 1px solid var(--color-border-hairline);
254
+ border-radius: 8px;
255
+ padding: 12px 14px;
256
+ display: flex;
257
+ flex-direction: column;
258
+ gap: 6px;
259
+ }
260
+
261
+ .rail-card-title {
262
+ font-size: 12px;
263
+ font-weight: 700;
264
+ color: var(--color-text-primary);
265
+ text-transform: uppercase;
266
+ letter-spacing: 0.05em;
267
+ }
268
+
269
+ .rail-stat {
270
+ font-family: var(--font-mono);
271
+ font-size: 28px;
272
+ font-weight: 700;
273
+ color: var(--color-accent-teal);
274
+ line-height: 1.1;
275
+ font-variant-numeric: tabular-nums;
276
+ }
277
+
278
+ .rail-text {
279
+ font-size: 12px;
280
+ color: var(--color-text-secondary);
281
+ line-height: 1.65;
282
+ }
283
+
284
+ .provenance-list {
285
+ list-style: none;
286
+ font-size: 11px;
287
+ color: var(--color-text-secondary);
288
+ display: flex;
289
+ flex-direction: column;
290
+ gap: 6px;
291
+ }
292
+
293
+ .provenance-item {
294
+ display: flex;
295
+ justify-content: space-between;
296
+ border-bottom: 0.5px dashed var(--color-border-hairline);
297
+ padding-bottom: 4px;
298
+ }
299
+
300
+ .provenance-label {
301
+ color: var(--color-text-tertiary);
302
+ }
303
+
304
+ .provenance-val {
305
+ font-family: var(--font-mono);
306
+ font-weight: 500;
307
+ color: var(--color-text-primary);
308
+ }
309
+
310
+ /* Print / Export Button for Browser Interactive View */
311
+ .action-bar-top {
312
+ display: flex;
313
+ justify-content: flex-end;
314
+ gap: 12px;
315
+ margin-bottom: 16px;
316
+ }
317
+
318
+ .btn-print {
319
+ min-height: 44px; /* 44px touch target invariant */
320
+ padding: 0 16px;
321
+ border-radius: 6px;
322
+ background: var(--color-text-primary);
323
+ color: #ffffff;
324
+ font-size: 13px;
325
+ font-weight: 600;
326
+ border: 1px solid transparent;
327
+ cursor: pointer;
328
+ display: inline-flex;
329
+ align-items: center;
330
+ gap: 8px;
331
+ transition: background-color 160ms ease;
332
+ }
333
+
334
+ .btn-print:hover {
335
+ background: #1e293b;
336
+ }
337
+
338
+ .btn-print:focus-visible {
339
+ outline: 2px solid #2563eb;
340
+ outline-offset: 2px;
341
+ }
342
+
343
+ /* -------------------------------------------------------------
344
+ 6. Print & Paged Media CSS Engine (@page / @media print)
345
+ ------------------------------------------------------------- */
346
+ @page {
347
+ size: A4 landscape;
348
+ margin: 15mm 15mm 15mm 15mm;
349
+ }
350
+
351
+ @media print {
352
+ body {
353
+ background: #ffffff !important;
354
+ padding: 0 !important;
355
+ color: #000000 !important;
356
+ -webkit-print-color-adjust: exact !important;
357
+ print-color-adjust: exact !important;
358
+ }
359
+
360
+ .page-sheet {
361
+ border: none !important;
362
+ padding: 0 !important;
363
+ margin: 0 !important;
364
+ max-width: 100% !important;
365
+ min-height: auto !important;
366
+ box-shadow: none !important;
367
+ }
368
+
369
+ .no-print {
370
+ display: none !important;
371
+ }
372
+
373
+ /* Page-break avoidance on consulting cards & tables */
374
+ .consulting-stage,
375
+ .consulting-rail,
376
+ .visual-chart-box,
377
+ .executive-table,
378
+ .rail-card {
379
+ break-inside: avoid !important;
380
+ page-break-inside: avoid !important;
381
+ }
382
+
383
+ /* Strip zebra striping on print */
384
+ .executive-table tr {
385
+ background-color: transparent !important;
386
+ }
387
+ }
388
+
389
+ /* Windows High Contrast Mode (MD005) */
390
+ @media (forced-colors: active) {
391
+ .btn-print {
392
+ outline: 2px solid Highlight !important;
393
+ }
394
+ .badge-status-pass {
395
+ border: 1px solid Highlight;
396
+ }
397
+ }
398
+
399
+ /* Reduced Motion Compliance (MD002) */
400
+ @media (prefers-reduced-motion: reduce) {
401
+ * {
402
+ animation-duration: 0.01ms !important;
403
+ transition-duration: 0.01ms !important;
404
+ }
405
+ }
406
+ </style>
407
+ </head>
408
+ <body>
409
+
410
+ <!-- Screen-Only Actions -->
411
+ <div class="action-bar-top no-print">
412
+ <button class="btn-print" onclick="window.print()">
413
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
414
+ <polyline points="6 9 6 2 18 2 18 9"></polyline>
415
+ <path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"></path>
416
+ <rect x="6" y="14" width="12" height="8"></rect>
417
+ </svg>
418
+ <span>พิมพ์รายงานบริหาร (Print A4 PDF)</span>
419
+ </button>
420
+ </div>
421
+
422
+ <!-- A4 Landscape Executive Sheet -->
423
+ <div class="page-sheet">
424
+
425
+ <!-- Header Provenance Strip -->
426
+ <div class="eyebrow-strip">
427
+ <div>
428
+ <span>PROJECT: METHA CADASTRE & GEODETIC QA/QC</span>
429
+ <span style="margin: 0 8px;">|</span>
430
+ <span>BENCHMARK AUDIT REPORT #KU-2026-Q3</span>
431
+ </div>
432
+ <div style="display: flex; gap: 12px; align-items: center;">
433
+ <span class="tag-confidential">STRICTLY CONFIDENTIAL</span>
434
+ <span>DATE: 2026-10-20</span>
435
+ </div>
436
+ </div>
437
+
438
+ <!-- 12-Column Grid with 8+4 Consulting Split -->
439
+ <div class="report-grid-12">
440
+
441
+ <!-- 8 COLUMNS: MAIN ANALYTICAL STAGE -->
442
+ <section class="consulting-stage">
443
+ <div>
444
+ <!-- L1 Action Title -->
445
+ <h1 class="action-title">
446
+ โครงข่ายหมุดหลักฐานรังวัดผ่านเกณฑ์มาตรฐานชั้น 1 โดยมีความคลาดเคลื่อนแนวราบเฉลี่ย 1.8 ซม.
447
+ </h1>
448
+ <!-- Narrative Subtitle -->
449
+ <p class="action-subtitle">
450
+ การตรวจสอบความถูกต้องร่วมระหว่างภาพถ่ายโดรน RTK และหมุดหมุดควบคุมภาคพื้นดิน 4,190 จุด บ่งชี้ว่าตำแหน่งทางราบทั้งหมดผ่านเกณฑ์ความคลาดเคลื่อนยอมรับได้ของกรมที่ดิน (&le; 5.0 ซม.) อย่างสมบูรณ์
451
+ </p>
452
+ </div>
453
+
454
+ <!-- L2 Directly Labeled Quantitative Chart (Zero Legend Box) -->
455
+ <div class="visual-chart-box">
456
+ <div class="chart-header">
457
+ <span class="chart-title">การกระจายตัวของค่าคลาดเคลื่อนทางราบเทียบกับเกณฑ์ความคลาดเคลื่อน (Tolerance Threshold)</span>
458
+ <span class="chart-metric-callout">MEAN &Delta;xy = 1.84 cm &plusmn; 0.42 cm</span>
459
+ </div>
460
+
461
+ <!-- Direct Labeled SVG Plot -->
462
+ <svg class="chart-svg-container" viewBox="0 0 680 160" preserveAspectRatio="none">
463
+ <!-- Gridlines Hairlines -->
464
+ <line x1="40" y1="20" x2="660" y2="20" stroke="#e2e8f0" stroke-width="0.5" stroke-dasharray="2 2" />
465
+ <line x1="40" y1="60" x2="660" y2="60" stroke="#e2e8f0" stroke-width="0.5" stroke-dasharray="2 2" />
466
+ <line x1="40" y1="100" x2="660" y2="100" stroke="#e2e8f0" stroke-width="0.5" stroke-dasharray="2 2" />
467
+ <line x1="40" y1="140" x2="660" y2="140" stroke="#94a3b8" stroke-width="1" />
468
+
469
+ <!-- Y-Axis Ticks -->
470
+ <text x="32" y="24" font-size="9" fill="#94a3b8" text-anchor="end" font-family="monospace">5cm</text>
471
+ <text x="32" y="64" font-size="9" fill="#94a3b8" text-anchor="end" font-family="monospace">3cm</text>
472
+ <text x="32" y="104" font-size="9" fill="#94a3b8" text-anchor="end" font-family="monospace">1cm</text>
473
+ <text x="32" y="144" font-size="9" fill="#94a3b8" text-anchor="end" font-family="monospace">0</text>
474
+
475
+ <!-- Tolerance Limit Line (Red 5.0cm) -->
476
+ <line x1="40" y1="20" x2="520" y2="20" stroke="#ef4444" stroke-width="1.5" stroke-dasharray="4 3" />
477
+ <!-- Direct Labeling for Tolerance Line -->
478
+ <text x="528" y="23" font-size="10" font-weight="600" fill="#ef4444" font-family="monospace">Tolerance Limit (5.0 cm)</text>
479
+
480
+ <!-- Measured Distribution Curve (Teal Area + Line) -->
481
+ <path d="M 40,140 Q 180,135 280,75 T 460,40 T 640,138" fill="none" stroke="#0d9488" stroke-width="2.5" />
482
+
483
+ <!-- Direct Labeling Endpoint -->
484
+ <circle cx="460" cy="40" r="4" fill="#0d9488" />
485
+ <text x="470" y="36" font-size="11" font-weight="700" fill="#0d9488" font-family="sans-serif">
486
+ Measured Sample Peak (1.8 cm)
487
+ </text>
488
+
489
+ <!-- Secondary Comparison Line (GPS Baseline - Blue) -->
490
+ <path d="M 40,140 Q 160,130 310,95 T 510,70 T 640,139" fill="none" stroke="#2563eb" stroke-width="1.5" stroke-dasharray="2 2" />
491
+ <circle cx="510" cy="70" r="3" fill="#2563eb" />
492
+ <text x="520" y="73" font-size="10" font-weight="600" fill="#2563eb" font-family="sans-serif">
493
+ Ground GNSS Baseline (2.1 cm)
494
+ </text>
495
+ </svg>
496
+ </div>
497
+
498
+ <!-- L3 Table Discipline: 0.25pt horizontal hairlines, zero vertical lines, tabular-nums -->
499
+ <div class="table-container">
500
+ <table class="executive-table">
501
+ <thead>
502
+ <tr>
503
+ <th style="width: 32%;">หมุดหลักฐาน / จุดทดสอบ</th>
504
+ <th class="col-num" style="width: 18%;">จำนวนตัวอย่าง (n)</th>
505
+ <th class="col-num" style="width: 18%;">&Delta;x (ซม.)</th>
506
+ <th class="col-num" style="width: 18%;">&Delta;y (ซม.)</th>
507
+ <th class="col-badge" style="width: 14%;">สถานะรับรอง</th>
508
+ </tr>
509
+ </thead>
510
+ <tbody>
511
+ <tr>
512
+ <td>BM-KU-01 (สถานีแม่ข่ายหลัก)</td>
513
+ <td class="col-num">1,240</td>
514
+ <td class="col-num">+1.12</td>
515
+ <td class="col-num">+0.85</td>
516
+ <td class="col-badge"><span class="badge-status-pass">PASS</span></td>
517
+ </tr>
518
+ <tr>
519
+ <td>BM-KU-02 (แนวเขตพื้นที่สำรวจเหนือ)</td>
520
+ <td class="col-num">850</td>
521
+ <td class="col-num">+1.45</td>
522
+ <td class="col-num">-1.04</td>
523
+ <td class="col-badge"><span class="badge-status-pass">PASS</span></td>
524
+ </tr>
525
+ <tr>
526
+ <td>BM-KU-03 (หมุดควบคุมทางราบแปลงที่ดิน)</td>
527
+ <td class="col-num">2,100</td>
528
+ <td class="col-num">+1.82</td>
529
+ <td class="col-num">+1.65</td>
530
+ <td class="col-badge"><span class="badge-status-pass">PASS</span></td>
531
+ </tr>
532
+ </tbody>
533
+ <tfoot>
534
+ <tr>
535
+ <td>รวมความคลาดเคลื่อนเฉลี่ยทั้งระบบ</td>
536
+ <td class="col-num">4,190</td>
537
+ <td class="col-num">+1.46</td>
538
+ <td class="col-num">+1.18</td>
539
+ <td class="col-badge"><span class="badge-status-pass">CERTIFIED</span></td>
540
+ </tr>
541
+ </tfoot>
542
+ </table>
543
+ </div>
544
+ </section>
545
+
546
+ <!-- 4 COLUMNS: MARGIN RAIL (EXECUTIVE TAKEAWAY & SOURCES) -->
547
+ <aside class="consulting-rail">
548
+
549
+ <!-- Executive Key Takeaways Callout -->
550
+ <div class="rail-card">
551
+ <span class="rail-card-title">ข้อสรุปยุทธศาสตร์ (Key Takeaways)</span>
552
+ <div class="rail-stat">99.8%</div>
553
+ <p class="rail-text">
554
+ จุดรังวัดผ่านเกณฑ์มาตรฐานชั้น 1 ของกรมที่ดิน พร้อมอนุมัติส่งมอบข้อมูลเข้าสู่ระบบสารสนเทศภูมิศาสตร์กลาง (GIS Cadastre) ได้ทันที
555
+ </p>
556
+ </div>
557
+
558
+ <!-- Margin Provenance Box -->
559
+ <div class="rail-card">
560
+ <span class="rail-card-title">แหล่งที่มาของข้อมูล (Provenance)</span>
561
+ <ul class="provenance-list">
562
+ <li class="provenance-item">
563
+ <span class="provenance-label">ระบบพิกัด:</span>
564
+ <span class="provenance-val">UTM Zone 47N (WGS84)</span>
565
+ </li>
566
+ <li class="provenance-item">
567
+ <span class="provenance-label">เครื่องมือ:</span>
568
+ <span class="provenance-val">DJI Matrice 350 RTK</span>
569
+ </li>
570
+ <li class="provenance-item">
571
+ <span class="provenance-label">สถานีฐาน:</span>
572
+ <span class="provenance-val">CORS Department of Lands</span>
573
+ </li>
574
+ <li class="provenance-item">
575
+ <span class="provenance-label">ผู้ตรวจรับ:</span>
576
+ <span class="provenance-val">เมธา ตรีประพันธ์กิจ</span>
577
+ </li>
578
+ </ul>
579
+ </div>
580
+
581
+ <!-- Next Strategic Action -->
582
+ <div class="rail-card" style="border-left: 3px solid var(--color-accent-teal);">
583
+ <span class="rail-card-title">ขั้นตอนถัดไป (Next Action)</span>
584
+ <p class="rail-text">
585
+ 1. ส่งออก Shapefile และ GeoJSON เข้าสู่ระบบฐานข้อมูลกลาง<br>
586
+ 2. ลงนามเอกสารตรวจรับงานงวดที่ 3 ตามระเบียบราชการ
587
+ </p>
588
+ </div>
589
+
590
+ </aside>
591
+
592
+ </div>
593
+
594
+ </div>
595
+
596
+ </body>
597
+ </html>