File size: 7,724 Bytes
cf69c6a
 
 
 
 
 
 
 
 
 
 
 
 
efb572d
 
cf69c6a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
811afbe
 
 
 
cf69c6a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!doctype html>
<html lang="th">
<head>
  <meta charset="utf-8">
  <script src="/static-api.js"></script>
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
  <meta name="theme-color" content="#0f5132">
  <title>EatBack &#183; &#3627;&#3609;&#3657;&#3634;&#3588;&#3619;&#3633;&#3623;</title>
  <link rel="icon" href="/favicon.svg" type="image/svg+xml">
  <link rel="stylesheet" href="/css/app.css">
  <style>
    body { background: var(--bg); }
    .k { max-width: 560px; margin: 0 auto; padding: 14px 16px calc(40px + env(safe-area-inset-bottom)); }
    .k-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 2px 0 14px; }
    .k-top > .who { display: flex; align-items: center; gap: 8px; margin-left: auto; }
    .k-top h1 { font-size: 19px; }
    .k-top .brand-mark { width: 40px; height: 40px; }
    .k-title { font-weight: 600; color: var(--ink-2); font-size: 16px; margin-left: 4px; }
    .mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
    .mode button { min-height: 52px; border: 0; border-radius: 10px; background: transparent; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--ink-2); }
    .mode button small { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
    .mode button[aria-checked="true"] { background: var(--brand-ink); color: #fff; }
    .grades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
    .grades button { min-height: 58px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; color: var(--ink); }
    .grades button b { display: block; font-size: 18px; }
    .grades button small { display: block; font-size: 12px; color: var(--muted); }
    .grades button.done { background: var(--good-wash); border-color: transparent; }
    .grades button.done small { color: var(--good-ink); }
    .grades button[aria-checked="true"] { border: 2px solid var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
    .big-input { margin-top: 14px; }
    .unit-wrap { display: flex; align-items: center; gap: 8px; }
    .unit-wrap input { flex: 1; min-width: 0; min-height: 50px; font-size: 17px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
    .big-input .unit-wrap input { min-height: 64px; font-size: 30px; font-family: var(--mono); font-weight: 600; }
    .unit-wrap span { color: var(--ink-2); font-weight: 600; }
    .two label.field { margin-top: 0; }
    .seg.three { grid-template-columns: repeat(3, 1fr); }
    .k-top .school { font-size: 12px; color: var(--muted); }
    .scale-card { position: sticky; top: 8px; z-index: 5; background: var(--ink); color: #fff; border-radius: 20px; padding: 14px 18px 16px; box-shadow: 0 10px 28px rgba(20, 32, 26, .22); }
    .scale-card .lbl { font-size: 13px; opacity: .8; display: flex; align-items: center; gap: 8px; }
    .scale-card .w { font-family: var(--mono); font-size: clamp(40px, 13vw, 58px); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
    .scale-card .w small { font-family: var(--font); font-size: 20px; opacity: .75; margin-left: 6px; }
    .scale-card .st { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: .9; flex-wrap: wrap; }
    .scale-card .btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
    .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-top: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
    .seg button { min-height: 50px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--ink-2); }
    .seg button.on { background: var(--brand-wash); color: var(--brand-ink); }
    .seg button small { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
    .kc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-top: 12px; box-shadow: var(--shadow); }
    .kc h2 { font-size: 18px; margin-bottom: 4px; }
    .kc .sub { color: var(--ink-2); font-size: 14px; }
    .kc label.field { margin-top: 14px; font-size: 14px; color: var(--ink); }
    .kc input[type=number], .kc select { width: 100%; min-height: 50px; font-size: 17px; }
    .big-btn { width: 100%; min-height: 60px; font-size: 18px; border-radius: 16px; margin-top: 14px; }
    .hint { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; margin-top: 12px; }
    .hint.good { background: var(--good-wash); color: var(--good-ink); }
    .hint.warn { background: var(--warn-wash); color: var(--warn-ink); }
    .hint.crit { background: var(--crit-wash); color: var(--crit-ink); }
    .menu-pick { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface-2); margin-top: 12px; }
    .menu-pick b { display: block; font-size: 17px; line-height: 1.3; }
    .check-line { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; }
    .check-line input { width: 22px; height: 22px; accent-color: var(--brand); }
    fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px 10px; margin: 14px 0 0; }
    legend { font-size: 14px; font-weight: 600; padding: 0 4px; }
    .pot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .pot:last-child { border-bottom: 0; }
    .pot small { display: block; color: var(--muted); font-size: 12px; }
    .pot b { font-family: var(--mono); white-space: nowrap; }
    .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
    .two > div { background: var(--surface-2); border-radius: 14px; padding: 12px; }
    .two .v { font-family: var(--mono); font-size: 22px; font-weight: 600; }
    .two small { display: block; color: var(--ink-2); font-size: 13px; }
    .bins5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
    .bins5 > div { background: var(--surface-2); border-radius: 14px; padding: 10px; }
    .bins5 .v { font-family: var(--mono); font-size: 19px; font-weight: 600; }
    .bins5 small { display: block; color: var(--ink-2); font-size: 12px; white-space: nowrap; }
    .ladle { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--line); }
    .ladle:last-of-type { border-bottom: 0; }
    .ladle .name { grid-column: 1 / -1; font-weight: 600; display: flex; gap: 8px; align-items: center; }
    .ladle input { width: 100%; min-height: 46px; font-size: 16px; }
    .ladle label.field { margin-top: 0; font-size: 12px; color: var(--ink-2); }
    .ladle .btn { min-height: 46px; }
    .audit-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
    .audit-row .btn { min-height: 50px; }
    .voice { border-color: #f3c5c1; background: #fff8f7; }
    .step { display: flex; gap: 12px; align-items: flex-start; }
    .step .n { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand-ink); font-weight: 700; flex: none; }
  </style>
</head>
<body>
  <main class="k" id="app"><div class="empty">&#3585;&#3635;&#3621;&#3633;&#3591;&#3650;&#3627;&#3621;&#3604;&#8230;</div></main>
  <script type="module" src="/js/kitchen.js"></script>
</body>
</html>