File size: 17,379 Bytes
811afbe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
@import url("../fonts/fonts.css");

:root {
  color-scheme: light;
  --paper: #f8f7f0;
  --surface: #fffef9;
  --ink: #183e2b;
  --muted: #52624d;
  --line: #dce2d2;
  --green: #226943;
  --green-dark: #123c29;
  --green-soft: #e8efdf;
  --orange: #8b591a;
  --orange-soft: #faf0d6;
  --accent: #edb84c;
  --stage: #edf1e7;
  --font: "IBM Plex Sans Thai", "Leelawadee UI", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 20px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a { color: var(--green-dark); }
code { padding: 1px 5px; border-radius: 5px; background: #eef1e6; font: 500 .86em var(--mono); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--green-dark); color: white; }
.skip:focus { top: 12px; }

.shell { width: min(100%, 1560px); margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px) 48px; }

/* ---------------------------------------------------------------- header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; color: var(--green-dark); text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.wordmark { display: block; font-size: 25px; font-weight: 700; line-height: 1.1; letter-spacing: -.045em; }
.wordmark > span:last-child { color: #dc951d; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.top-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.top-nav a:hover { background: #eeeee3; color: var(--green-dark); }
.top-nav .nav-cta { margin-left: 6px; background: var(--green-dark); color: white; font-weight: 600; }
.top-nav .nav-cta:hover { background: #245b3b; color: white; }

/* ---------------------------------------------------------------- shared heads */
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--green); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.section-head { margin: 0 0 24px; }
.section-head h2 { margin: 0; font-size: clamp(26px, 2.5vw, 38px); font-weight: 600; line-height: 1.42; letter-spacing: -.025em; }
.section-head h2 span { color: var(--green); }
main > section + section { margin-top: 72px; }

.intro { max-width: 980px; padding: 44px 0 26px; }
.intro h1 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 58px); font-weight: 600; line-height: 1.28; letter-spacing: -.035em; }
.intro h1 span { display: block; color: var(--green); font-size: .62em; letter-spacing: -.02em; }
.lede { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.lede b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- studio */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); align-items: start; gap: 20px; margin-top: 8px; }
.viewer { position: relative; min-width: 0; overflow: hidden; border: 1px solid #d6deca; border-radius: 24px; background: var(--surface); box-shadow: 0 18px 44px rgb(30 59 30 / 8%); }
.viewer-toolbar { display: flex; align-items: center; gap: 12px; padding: 12px; }
.model-switch { display: flex; gap: 4px; max-width: 100%; padding: 4px; overflow-x: auto; border-radius: 14px; background: #eef1e6; scrollbar-width: none; }
.model-switch::-webkit-scrollbar { display: none; }
.model-switch button { flex: none; min-height: 42px; padding: 8px 15px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.model-switch button:hover { color: var(--green-dark); }
.model-switch button[aria-pressed="true"] { background: var(--surface); color: var(--green-dark); box-shadow: 0 1px 4px rgb(20 50 20 / 12%); }

.scene-viewport { position: relative; isolation: isolate; height: clamp(440px, 64vh, 700px); overflow: hidden; background: var(--stage); }
.scene-viewport canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.scene-viewport canvas:active { cursor: grabbing; }
.scene-viewport canvas:focus-visible { outline-offset: -4px; }
.scene-labels { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }

.part-dot { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; height: 28px; padding: 0; border: 2px solid #fffef9; border-radius: 999px; background: var(--green-dark); color: white; font-size: 13px; font-weight: 600; line-height: 1; box-shadow: 0 3px 9px rgb(18 60 41 / 28%); pointer-events: auto; will-change: transform; transition: background-color .15s, color .15s; }
.part-dot b { display: inline-grid; place-items: center; width: 24px; height: 24px; font-weight: 700; }
.part-dot span { display: none; padding-right: 11px; white-space: nowrap; }
.part-dot[data-model="manual"] { background: #8b591a; }
.part-dot:hover span, .part-dot:focus-visible span, .part-dot[data-active="true"] span { display: inline; }
.part-dot:hover, .part-dot:focus-visible { z-index: 3; }
.part-dot[data-active="true"] { z-index: 4; background: #f4c463; color: var(--green-dark); }
.dim-label { position: absolute; top: 0; left: 0; padding: 3px 9px; border-radius: 7px; background: rgb(255 254 249 / 94%); color: var(--green); font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 6px rgb(20 50 20 / 10%); pointer-events: none; }

.readouts { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 5; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; }
.readout { display: grid; min-width: 0; max-width: min(300px, 48%); padding: 10px 14px 11px; border-radius: 14px; background: var(--green-dark); color: white; box-shadow: 0 10px 26px rgb(18 60 41 / 24%); }
.readout[data-model="manual"] { background: #4d3511; }
.readout:only-child[data-model="return"], .readout:only-child[data-model="kitchen"], .readout:only-child[data-model="manual"] { max-width: min(340px, 100%); }
.readout .kicker { overflow: hidden; color: #bcd3b2; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.readout[data-model="manual"] .kicker { color: #e6cf9f; }
.readout strong { font-size: 22px; font-weight: 700; line-height: 1.35; font-variant-numeric: tabular-nums; white-space: nowrap; }
.readout small { color: #f4d27f; font-size: 12.5px; font-weight: 500; line-height: 1.5; }
.readout[data-done="true"] small::before { content: "✓ "; }

.viewer-actions { position: absolute; right: 14px; bottom: 14px; z-index: 6; display: flex; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d3dccb; border-radius: 12px; background: rgb(255 254 249 / 94%); color: var(--green-dark); font-size: 19px; box-shadow: 0 3px 10px rgb(20 50 20 / 9%); }
.icon-btn:hover { background: white; border-color: #9fb48d; }
.scene-hint { position: absolute; left: 16px; bottom: 18px; z-index: 5; max-width: calc(100% - 140px); margin: 0; padding: 5px 10px; border-radius: 8px; background: rgb(248 249 238 / 90%); color: #4e6745; font-size: 12px; pointer-events: none; }
.scene-loading { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--stage); color: var(--green-dark); font-size: 15px; }
.spinner { width: 34px; height: 34px; border: 3px solid #cbd8c0; border-top-color: var(--green); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scene-fallback { position: absolute; inset: 20px; z-index: 11; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; border-radius: 18px; background: var(--surface); text-align: center; }
.scene-fallback p { max-width: 560px; margin: 0; color: var(--muted); font-size: 14px; }

.viewer-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.play-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--green-dark); border-radius: 12px; background: var(--green-dark); color: white; font-size: 15px; font-weight: 600; box-shadow: 0 6px 16px rgb(18 60 41 / 18%); }
.play-btn:hover { background: #245b3b; }
.pill-btn { min-height: 46px; padding: 9px 15px; border: 1px solid #ccd7c1; border-radius: 12px; background: var(--surface); color: var(--green-dark); font-size: 14px; font-weight: 600; }
.pill-btn:hover { border-color: #92aa7e; background: #f3f5ec; }
.pill-btn[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.pill-btn[aria-pressed="true"]::before { content: "✓ "; }
.bar-note { margin: 0 0 0 auto; color: var(--muted); font-size: 12px; }

.viewer:fullscreen { display: flex; flex-direction: column; width: 100%; height: 100%; border: 0; border-radius: 0; }
.viewer:fullscreen .scene-viewport { flex: 1; height: auto; }

/* ---------------------------------------------------------------- panel */
.panel { position: sticky; top: 16px; padding: 22px 22px 18px; border: 1px solid #d6deca; border-radius: 24px; background: var(--surface); box-shadow: 0 18px 44px rgb(30 59 30 / 6%); }
.panel-kicker { margin: 0; color: var(--green); font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.panel h2 { margin: 4px 0 8px; font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.panel-summary { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.facts li { padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: #2c5a37; font-size: 12.5px; font-weight: 500; }

.part-card { margin: 18px 0 0; padding: 15px 16px; border: 1px solid #e3d6b2; border-radius: 16px; background: #fffaf0; }
.part-card.empty { border-style: dashed; border-color: #cfd9c4; background: transparent; color: var(--muted); font-size: 13.5px; }
.part-card-head { display: flex; align-items: flex-start; gap: 10px; }
.part-card-num { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-dark); color: white; font-size: 14px; font-weight: 700; }
.part-card-num[data-model="manual"] { background: #8b591a; }
.part-card-head div { flex: 1; min-width: 0; }
.part-card-model { margin: 0; color: var(--muted); font-size: 12px; }
.part-card h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.45; }
.part-card-close { flex: none; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 18px; }
.part-card-close:hover { background: #f1ead6; }
.part-card p { margin: 10px 0 0; font-size: 14px; line-height: 1.75; }
.part-card dl { display: grid; gap: 6px; margin: 12px 0 0; }
.part-card dl div { display: grid; grid-template-columns: minmax(92px, 34%) 1fr; gap: 10px; padding-top: 6px; border-top: 1px solid #eee2c3; font-size: 13px; }
.part-card dt { color: var(--muted); }
.part-card dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; vertical-align: 1px; }
.tag-bom { background: #e0f0e3; color: #1f6a3a; }
.tag-proposal { background: #fbe6c8; color: #8a4f0f; }
.tag-generic { background: #ebe7dc; color: #5d5240; }
.tag-system { background: #e3ebf4; color: #2d5476; }
.part-card .tag { margin-top: 8px; }

.part-group { margin-top: 18px; }
.part-group h3 { margin: 0 0 6px; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.part-group ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.part-group button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 8px; border: 0; border-radius: 10px; background: transparent; font-size: 14px; text-align: left; }
.part-group button:hover { background: #f1f3ea; }
.part-group button[aria-current="true"] { background: #fdf1cf; }
.part-group button > b { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green-dark); color: white; font-size: 12px; }
.part-group[data-model="manual"] button > b { background: #8b591a; }
.part-group button > span { flex: 1; min-width: 0; }
.part-group button > .tag { flex: none; }
.legend { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 2; }

/* ---------------------------------------------------------------- compare table */
.table-wrap { overflow: hidden; border: 1px solid #d6deca; border-radius: 20px; background: var(--surface); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 14px 18px; border-bottom: 1px solid #e6ebdd; text-align: left; vertical-align: top; line-height: 1.7; }
.compare-table tr:last-child > * { border-bottom: 0; }
.compare-table thead th { background: #f1f4ea; font-size: 15px; font-weight: 600; }
.compare-table tbody th { width: 21%; color: var(--green-dark); font-weight: 600; }
.compare-table td { width: 39.5%; }
.compare-table td + td { background: #fbfdf7; }
.col-tag { display: inline-block; margin-right: 6px; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; vertical-align: 1px; }
.col-tag.manual { background: var(--orange-soft); color: var(--orange); }
.col-tag.iot { background: var(--green-soft); color: var(--green); }

/* ---------------------------------------------------------------- status */
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.status-table { margin-top: 14px; }
.compare-table.status tbody th { width: 22%; }
.compare-table.status td { width: auto; }
.compare-table.status td + td { background: none; }
.compare-table caption { padding: 12px 18px; caption-side: top; color: var(--muted); font-size: 13px; text-align: left; }
.status-grid article { padding: 18px 18px 16px; border: 1px solid #d6deca; border-radius: 18px; background: var(--surface); }
.status-grid h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.status-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.fine { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .studio { grid-template-columns: 1fr; }
  .panel { position: static; }
  .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 8px; padding: 12px 0; }
  .top-nav { justify-content: flex-start; margin: 0 -10px; }
  .top-nav a { padding: 8px 10px; }
  .top-nav a:not(.nav-cta):nth-child(n+3) { display: none; }
  .intro { padding-top: 28px; }
  .lede { font-size: 15.5px; }
  .viewer { border-radius: 18px; }
  .scene-viewport { height: min(74vh, 560px); }
  .readouts { top: 10px; left: 10px; right: 10px; gap: 8px; }
  .readout { max-width: 50%; padding: 8px 10px; }
  .readout strong { font-size: 17px; }
  .readout small { font-size: 11.5px; }
  .scene-hint { display: none; }
  .bar-note { width: 100%; margin: 4px 0 0; }
  .play-btn, .pill-btn { flex: 1 1 auto; justify-content: center; }
  .panel { padding: 18px 16px; border-radius: 18px; }
  .status-grid { grid-template-columns: 1fr; }
  .table-wrap { border: 0; background: transparent; }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: auto; }
  .compare-table tr { margin-bottom: 12px; overflow: hidden; border: 1px solid #d6deca; border-radius: 16px; background: var(--surface); }
  .compare-table tbody th { padding: 12px 16px 6px; border: 0; }
  .compare-table td { padding: 6px 16px 10px; border: 0; }
  .compare-table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
  .compare-table td + td { background: #f6faf0; }
}
@media (pointer: coarse) {
  .part-dot { height: 34px; }
  .part-dot b { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation: none; }
}