lake-gate 0.1.0 → 0.2.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.
- package/README.md +63 -21
- package/action.yml +1 -1
- package/package.json +42 -10
- package/src/action.js +47 -1
- package/src/cli.js +34 -6
- package/src/config-core.js +38 -0
- package/src/config.js +2 -44
- package/src/estimate.js +33 -45
- package/src/github.js +81 -16
- package/src/hook.js +13 -5
- package/src/index.js +1 -0
- package/src/init.js +23 -3
- package/src/mcp.js +313 -0
- package/src/meter-core.js +535 -0
- package/src/models.js +193 -0
- package/src/plan.js +2 -2
- package/src/policy.js +12 -4
- package/src/review.js +319 -0
- package/src/sha256.js +37 -0
- package/src/store.js +1 -1
- package/src/sync.js +8 -4
- package/src/ui-server.js +81 -0
- package/src/workspace.js +104 -0
- package/templates/lake-gate.yml +1 -1
- package/ui/app.css +536 -0
- package/ui/app.js +836 -0
- package/ui/btn/approve.svg +5 -0
- package/ui/btn/changes.svg +5 -0
- package/ui/btn/open.svg +5 -0
- package/ui/data.js +95 -0
- package/ui/demo.js +262 -0
- package/ui/index.html +55 -0
- package/ui/inter.woff2 +0 -0
- package/ui/logo-mark.svg +1 -0
- package/ui/md.js +82 -0
package/ui/app.css
ADDED
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
@font-face{font-family:Inter;src:url(inter.woff2) format('woff2');font-weight:100 900;font-display:swap}
|
|
2
|
+
:root{
|
|
3
|
+
--ink:#073f4b;--ink2:#2c5560;--muted:#5b767c;--faint:#8aa3a6;
|
|
4
|
+
--teal:#0e7c7b;--teal-d:#0a6667;--aqua:#4cb7b1;--mint:#a7dbd3;--mist:#f1f7f6;--paper:#fbfcfa;--card:#fff;
|
|
5
|
+
--line:#e1ebe8;--line2:#eef4f2;
|
|
6
|
+
--ok:#19866f;--ok-bg:#e4f4ed;--bad:#b0434f;--bad-bg:#fcecee;--warn:#9a6512;--warn-bg:#fff3d9;--draft:#62767b;--draft-bg:#eef2f2;
|
|
7
|
+
--hl:#fff4cf;--hl-line:#e9ba63;
|
|
8
|
+
--r-card:18px;--r:12px;--sh:0 1px 2px rgba(7,63,75,.04),0 6px 24px rgba(7,63,75,.05);--sh-lift:0 18px 50px rgba(7,63,75,.14);
|
|
9
|
+
--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
|
|
10
|
+
--ease:cubic-bezier(.2,.8,.2,1);
|
|
11
|
+
font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--mist);
|
|
12
|
+
font-feature-settings:"cv11","ss01";-webkit-font-smoothing:antialiased
|
|
13
|
+
}
|
|
14
|
+
*{box-sizing:border-box}
|
|
15
|
+
html,body{margin:0}
|
|
16
|
+
body{font-size:14px;line-height:1.55;min-height:100vh}
|
|
17
|
+
a{color:inherit;text-decoration:none}
|
|
18
|
+
button,input,textarea,select{font:inherit;color:inherit}
|
|
19
|
+
button{cursor:pointer;border:0;background:none;padding:0}
|
|
20
|
+
h1,h2,h3,h4,p{margin:0}
|
|
21
|
+
.sprite{display:none}
|
|
22
|
+
svg.i{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
|
|
23
|
+
svg.i.s{width:15px;height:15px}svg.i.xs{width:13px;height:13px;stroke-width:2}
|
|
24
|
+
:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:8px}
|
|
25
|
+
.num{font-variant-numeric:tabular-nums}
|
|
26
|
+
.mono{font-family:var(--mono);font-size:.92em}
|
|
27
|
+
code{font-family:var(--mono);font-size:.86em;background:#ebf3f0;color:#0b5a5c;border-radius:6px;padding:1px 6px}
|
|
28
|
+
kbd{font-family:var(--mono);font-size:11px;background:#fff;border:1px solid var(--line);border-bottom-width:2px;border-radius:6px;padding:1px 6px;color:var(--ink2)}
|
|
29
|
+
|
|
30
|
+
/* ---------- shell ---------- */
|
|
31
|
+
.shell{display:grid;grid-template-columns:248px 1fr;min-height:100vh}
|
|
32
|
+
.rail{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:18px;padding:22px 16px 18px;background:linear-gradient(180deg,#f7fbfa,#f1f7f6);border-right:1px solid var(--line)}
|
|
33
|
+
.brand{display:flex;align-items:center;gap:9px;font-weight:650;font-size:22px;letter-spacing:-.045em;padding:2px 8px}
|
|
34
|
+
.brand img{width:28px;height:28px}.brand .dot{color:var(--aqua)}
|
|
35
|
+
.brand .tag{font-size:11px;letter-spacing:.01em;font-weight:600;color:var(--teal-d);background:#fff;border:1px solid #cfe5df;border-radius:999px;padding:2px 9px;margin-left:2px}
|
|
36
|
+
.repo{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);background:#fff;border-radius:14px;text-align:left;width:100%;transition:border-color .2s}
|
|
37
|
+
.repo:hover{border-color:#c9dfda}
|
|
38
|
+
.repo .sq{flex-shrink:0;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(150deg,#4cb7b1,#0e7c7b 70%,#073f4b);color:#fff;font-weight:650;font-size:13px}
|
|
39
|
+
.repo b{display:block;font-size:13px;font-weight:600;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}
|
|
40
|
+
.repo small{display:block;font-size:11.5px;color:var(--muted)}
|
|
41
|
+
.nav{display:flex;flex-direction:column;gap:2px}
|
|
42
|
+
.nav .lbl{font-size:11px;font-weight:600;letter-spacing:.08em;color:var(--faint);padding:8px 10px 6px;text-transform:uppercase}
|
|
43
|
+
.nav a{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:10px;color:var(--ink2);font-weight:500;transition:background .15s,color .15s}
|
|
44
|
+
.nav a:hover{background:#e8f2ef}
|
|
45
|
+
.nav a[aria-current=page]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(7,63,75,.06),inset 0 0 0 1px var(--line)}
|
|
46
|
+
.nav a .count{margin-left:auto;font-size:11.5px;font-weight:600;color:var(--muted);background:#e6efed;border-radius:999px;padding:0 7px;min-width:22px;text-align:center}
|
|
47
|
+
.nav a .count.hot{background:var(--teal);color:#fff}
|
|
48
|
+
.rail-foot{margin-top:auto;display:flex;flex-direction:column;gap:10px}
|
|
49
|
+
.note{border:1px solid #d7e8e3;background:#fff;border-radius:14px;padding:14px;font-size:12.5px;color:var(--ink2);position:relative;overflow:hidden}
|
|
50
|
+
.note b{display:block;color:var(--ink);font-size:13px;margin-bottom:3px}
|
|
51
|
+
.note .waves{position:absolute;right:-10px;top:-6px;width:110px;opacity:.5}
|
|
52
|
+
.me{display:flex;align-items:center;gap:10px;padding:8px 6px;font-size:12.5px}
|
|
53
|
+
.me b{display:block;font-size:13px;font-weight:600}.me small{color:var(--muted)}
|
|
54
|
+
.linkbtn{color:var(--teal-d);font-weight:600;font-size:12.5px;display:inline-flex;align-items:center;gap:6px}
|
|
55
|
+
.linkbtn:hover{text-decoration:underline}
|
|
56
|
+
.keys{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px;padding:0 6px}
|
|
57
|
+
.topbar{display:none}
|
|
58
|
+
|
|
59
|
+
main{min-width:0;padding:28px 36px 80px;max-width:1480px}
|
|
60
|
+
.demo-flag{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:550;color:#7a5410;background:var(--warn-bg);border:1px solid #f1ddb0;border-radius:999px;padding:3px 10px}
|
|
61
|
+
.demo-flag::before{content:"";width:6px;height:6px;border-radius:50%;background:#d39a2c}
|
|
62
|
+
|
|
63
|
+
/* ---------- buttons, chips, avatars ---------- */
|
|
64
|
+
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:12px;font-weight:600;font-size:13.5px;border:1px solid var(--line);background:#fff;color:var(--ink);transition:transform .12s var(--ease),background .15s,border-color .15s,box-shadow .2s;white-space:nowrap}
|
|
65
|
+
.btn:hover{background:#f6faf9;border-color:#cfe2dd}
|
|
66
|
+
.btn:active{transform:translateY(1px)}
|
|
67
|
+
.btn.primary{background:var(--teal);border-color:var(--teal);color:#fff;box-shadow:0 6px 16px rgba(14,124,123,.22)}
|
|
68
|
+
.btn.primary:hover{background:var(--teal-d)}
|
|
69
|
+
.btn.danger{color:var(--bad);border-color:#ecd0d3}
|
|
70
|
+
.btn.danger:hover{background:var(--bad-bg)}
|
|
71
|
+
.btn.ghost{border-color:transparent;background:transparent}.btn.ghost:hover{background:#e9f2f0}
|
|
72
|
+
.btn.sm{height:32px;padding:0 11px;font-size:12.5px;border-radius:10px}
|
|
73
|
+
.btn[disabled]{opacity:.5;cursor:not-allowed;box-shadow:none}
|
|
74
|
+
.btn .k{font-family:var(--mono);font-size:11px;opacity:.65;font-weight:500;margin-left:2px}
|
|
75
|
+
.btn.primary .k{opacity:.8}
|
|
76
|
+
.chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:550;white-space:nowrap;line-height:1}
|
|
77
|
+
.chip svg{width:13px;height:13px}
|
|
78
|
+
.st-in-review{background:var(--warn-bg);color:var(--warn)}
|
|
79
|
+
.st-changes-requested{background:var(--bad-bg);color:var(--bad)}
|
|
80
|
+
.st-approved,.st-auto-approved{background:var(--ok-bg);color:var(--ok)}
|
|
81
|
+
.st-draft{background:var(--draft-bg);color:var(--draft)}
|
|
82
|
+
.chip.soft{background:#edf4f2;color:var(--ink2)}
|
|
83
|
+
.chip.line{background:#fff;border:1px solid var(--line);color:var(--ink2)}
|
|
84
|
+
.av{--s:28px;width:var(--s);height:var(--s);border-radius:50%;display:inline-grid;place-items:center;font-size:calc(var(--s)*.4);font-weight:650;color:#fff;flex-shrink:0;position:relative;letter-spacing:-.02em;box-shadow:0 0 0 2px #fff}
|
|
85
|
+
.av.sm{--s:22px}.av.lg{--s:36px}.av.xl{--s:44px}
|
|
86
|
+
.av .badge{position:absolute;right:-3px;bottom:-3px;width:14px;height:14px;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 2px #fff}
|
|
87
|
+
.av .badge svg{width:9px;height:9px;stroke-width:3}
|
|
88
|
+
.badge.ok{background:var(--ok);color:#fff}.badge.bad{background:var(--bad);color:#fff}.badge.wait{background:#fff;color:var(--muted);box-shadow:0 0 0 2px #fff,inset 0 0 0 1.5px #c5d6d3}.badge.com{background:var(--aqua);color:#fff}
|
|
89
|
+
.stack{display:flex;align-items:center}.stack .av+.av{margin-left:-6px}
|
|
90
|
+
.who{display:inline-flex;align-items:center;gap:8px;font-weight:550}
|
|
91
|
+
|
|
92
|
+
/* ---------- dashboard ---------- */
|
|
93
|
+
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}
|
|
94
|
+
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--muted);display:flex;align-items:center;gap:10px;margin-bottom:8px}
|
|
95
|
+
.eyebrow .ln{width:22px;height:1px;background:#8fb8ae}
|
|
96
|
+
h1.title{font-size:34px;font-weight:620;letter-spacing:-.035em;line-height:1.12}
|
|
97
|
+
.sub{color:var(--muted);font-size:15px;margin-top:6px}
|
|
98
|
+
.spot{position:relative;display:grid;grid-template-columns:1.25fr 1fr;border-radius:24px;overflow:hidden;background:linear-gradient(120deg,#ffffff 0%,#f4faf8 46%,#e2f1ed 100%);border:1px solid var(--line);box-shadow:var(--sh);margin-bottom:22px;min-height:236px}
|
|
99
|
+
.spot .copy{padding:28px 30px;display:flex;flex-direction:column;gap:10px;position:relative;z-index:1}
|
|
100
|
+
.spot .k{font-size:11.5px;font-weight:650;letter-spacing:.1em;color:var(--teal-d);text-transform:uppercase}
|
|
101
|
+
.spot h2{font-size:25px;font-weight:620;letter-spacing:-.03em;line-height:1.2;max-width:480px}
|
|
102
|
+
.spot p{color:var(--ink2);max-width:470px}
|
|
103
|
+
.spot .row{display:flex;align-items:center;gap:14px;margin-top:8px;flex-wrap:wrap}
|
|
104
|
+
.spot .scene{position:relative}
|
|
105
|
+
.spot .scene svg{position:absolute;inset:0;width:100%;height:100%}
|
|
106
|
+
.spot .float{position:absolute;right:24px;bottom:22px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px;box-shadow:var(--sh-lift);font-size:12.5px;display:flex;gap:10px;align-items:center;max-width:260px;animation:floaty 6s ease-in-out infinite}
|
|
107
|
+
.spot .float b{display:block;font-size:13px}
|
|
108
|
+
@keyframes floaty{50%{transform:translateY(-4px)}}
|
|
109
|
+
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}
|
|
110
|
+
.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:2px;box-shadow:0 1px 2px rgba(7,63,75,.03)}
|
|
111
|
+
.stat .v{font-size:24px;font-weight:620;letter-spacing:-.03em}
|
|
112
|
+
.stat .l{font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:6px}
|
|
113
|
+
.stat .l i{width:7px;height:7px;border-radius:50%;display:inline-block}
|
|
114
|
+
.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}
|
|
115
|
+
.toolbar h3{font-size:17px;font-weight:620;letter-spacing:-.02em;margin-right:6px}
|
|
116
|
+
.seg{display:inline-flex;background:#e6f0ed;border-radius:12px;padding:3px;gap:2px}
|
|
117
|
+
.seg button{height:30px;padding:0 12px;border-radius:9px;font-size:12.5px;font-weight:550;color:var(--ink2);transition:background .15s,color .15s;display:inline-flex;align-items:center;gap:6px}
|
|
118
|
+
.seg button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(7,63,75,.1)}
|
|
119
|
+
.seg button .n{font-size:11px;color:var(--muted)}
|
|
120
|
+
.search{margin-left:auto;display:flex;align-items:center;gap:8px;height:36px;padding:0 12px;border-radius:11px;background:#fff;border:1px solid var(--line);min-width:220px;color:var(--muted)}
|
|
121
|
+
.search input{border:0;outline:0;background:transparent;width:100%;font-size:13px;color:var(--ink)}
|
|
122
|
+
.list{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--sh);overflow:hidden}
|
|
123
|
+
.list-head,.prow{display:grid;grid-template-columns:minmax(0,1fr) 150px 120px 70px 92px 22px;align-items:center;gap:16px;padding:0 20px}
|
|
124
|
+
.list-head{height:40px;font-size:11.5px;font-weight:600;letter-spacing:.06em;color:var(--faint);text-transform:uppercase;border-bottom:1px solid var(--line2)}
|
|
125
|
+
.prow{min-height:74px;border-bottom:1px solid var(--line2);transition:background .15s;position:relative}
|
|
126
|
+
.prow:last-child{border-bottom:0}
|
|
127
|
+
.prow:hover,.prow.sel{background:#f7fbfa}
|
|
128
|
+
.prow.sel::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:0 3px 3px 0;background:var(--teal)}
|
|
129
|
+
.prow .t{display:flex;align-items:center;gap:14px;min-width:0}
|
|
130
|
+
.prow .ic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}
|
|
131
|
+
.prow .ic.st-in-review{background:var(--warn-bg)}.prow .ic.st-changes-requested{background:var(--bad-bg)}.prow .ic.st-approved{background:var(--ok-bg)}.prow .ic.st-draft{background:var(--draft-bg)}
|
|
132
|
+
.prow .name{font-weight:600;font-size:14.5px;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
133
|
+
.prow .meta{font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:2px}
|
|
134
|
+
.prow .meta .sep{width:3px;height:3px;border-radius:50%;background:#b9cbc8}
|
|
135
|
+
.rounds{display:inline-flex;align-items:center;gap:3px}
|
|
136
|
+
.rounds i{width:16px;height:5px;border-radius:3px;background:#d8e5e2}
|
|
137
|
+
.rounds i.changes-requested{background:#e6a7ae}.rounds i.cur{background:var(--teal)}.rounds i.approved,.rounds i.auto-approved{background:var(--ok)}
|
|
138
|
+
.prow .cost{font-size:13px;font-weight:550}
|
|
139
|
+
.prow .thr{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--muted)}
|
|
140
|
+
.prow .thr.open{color:var(--ink);font-weight:600}
|
|
141
|
+
.prow .when{font-size:12.5px;color:var(--muted)}
|
|
142
|
+
.needs{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:650;color:var(--teal-d);background:#e3f3ef;border-radius:999px;padding:1px 8px}
|
|
143
|
+
.empty{padding:48px 24px;text-align:center;color:var(--muted)}
|
|
144
|
+
.empty b{display:block;color:var(--ink);font-size:16px;margin-bottom:4px}
|
|
145
|
+
.foot{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:12.5px;margin-top:18px;flex-wrap:wrap}
|
|
146
|
+
.foot .ok{display:inline-flex;gap:8px;align-items:center}
|
|
147
|
+
|
|
148
|
+
/* ---------- plan page ---------- */
|
|
149
|
+
.crumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-bottom:14px}
|
|
150
|
+
.crumbs a:hover{color:var(--teal-d)}
|
|
151
|
+
.crumbs svg{width:13px;height:13px}
|
|
152
|
+
.phead{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:16px}
|
|
153
|
+
.phead h1{font-size:30px;font-weight:620;letter-spacing:-.035em;line-height:1.15}
|
|
154
|
+
.phead .meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;color:var(--muted);font-size:13px}
|
|
155
|
+
.phead .meta a:hover{color:var(--teal-d)}
|
|
156
|
+
.acts{display:flex;gap:10px;flex-shrink:0;align-items:center}
|
|
157
|
+
.youdid{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:12px;background:var(--ok-bg);color:var(--ok);font-weight:600;font-size:13px}
|
|
158
|
+
.banner{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:14px;border:1px solid var(--line);background:#fff;margin-bottom:16px;font-size:13.5px}
|
|
159
|
+
.banner .ico{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;flex-shrink:0}
|
|
160
|
+
.banner.st-in-review .ico{background:var(--warn-bg);color:var(--warn)}
|
|
161
|
+
.banner.st-changes-requested .ico{background:var(--bad-bg);color:var(--bad)}
|
|
162
|
+
.banner.st-approved .ico,.banner.st-auto-approved .ico{background:var(--ok-bg);color:var(--ok)}
|
|
163
|
+
.banner.st-draft .ico{background:var(--draft-bg);color:var(--draft)}
|
|
164
|
+
.banner b{font-weight:620}
|
|
165
|
+
.banner .who-row{margin-left:auto;display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12.5px}
|
|
166
|
+
.banner.old{background:#fffaf0;border-color:#f0e1bd}
|
|
167
|
+
.tabs{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line);margin-bottom:22px;flex-wrap:wrap}
|
|
168
|
+
.tabs a{display:inline-flex;align-items:center;gap:7px;height:42px;font-weight:550;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;transition:color .15s,border-color .2s}
|
|
169
|
+
.tabs a:hover{color:var(--ink)}
|
|
170
|
+
.tabs a[aria-current=page]{color:var(--ink);border-color:var(--teal)}
|
|
171
|
+
.tabs .n{font-size:11.5px;background:#e6efed;border-radius:999px;padding:0 7px;color:var(--ink2)}
|
|
172
|
+
.roundbar{margin-left:auto;display:flex;align-items:center;gap:6px;padding-bottom:6px}
|
|
173
|
+
.rpill{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 11px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:12.5px;font-weight:550;color:var(--ink2);transition:all .15s}
|
|
174
|
+
.rpill:hover{border-color:#c6dcd7}
|
|
175
|
+
.rpill i{width:7px;height:7px;border-radius:50%;background:#c8d6d4}
|
|
176
|
+
.rpill i.changes-requested{background:var(--bad)}.rpill i.approved,.rpill i.auto-approved{background:var(--ok)}.rpill i.in-review,.rpill i.pending{background:#d39a2c}.rpill i.draft{background:var(--draft)}
|
|
177
|
+
.rpill[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
|
|
178
|
+
.rconn{width:10px;height:1px;background:var(--line)}
|
|
179
|
+
.grid3{display:grid;grid-template-columns:168px minmax(0,1fr) 320px;gap:24px;align-items:start}
|
|
180
|
+
.outline{position:sticky;top:20px;display:flex;flex-direction:column;gap:2px;font-size:13px}
|
|
181
|
+
.outline .h{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);padding:0 10px 8px}
|
|
182
|
+
.outline a{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:9px;color:var(--ink2);transition:background .15s}
|
|
183
|
+
.outline a:hover{background:#e7f1ee}
|
|
184
|
+
.outline a.l3{padding-left:20px;font-size:12.5px}
|
|
185
|
+
.outline a .c{margin-left:auto;display:inline-flex;align-items:center;gap:3px;font-size:11px;color:var(--teal-d);font-weight:600}
|
|
186
|
+
.outline .meta{margin-top:14px;padding:12px 10px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:6px}
|
|
187
|
+
.doc{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--sh);padding:30px 34px 40px 22px;min-width:0}
|
|
188
|
+
.doc-top{display:flex;align-items:center;gap:10px;padding:0 0 18px 30px;margin-bottom:8px;border-bottom:1px dashed var(--line);font-size:12.5px;color:var(--muted)}
|
|
189
|
+
.doc-top .grow{flex:1}.doc-top .path{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.doc-top>span:last-child{white-space:nowrap}
|
|
190
|
+
.blk{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);border-radius:10px;transition:background .2s}
|
|
191
|
+
.blk .gut{position:relative;display:flex;justify-content:flex-end;padding-right:8px;padding-top:.15em}
|
|
192
|
+
.blk .ln{font-family:var(--mono);font-size:10.5px;color:#b3c6c3;opacity:0;transition:opacity .15s;line-height:1.9}
|
|
193
|
+
.blk .add{position:absolute;right:4px;top:2px;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:var(--teal);color:#fff;opacity:0;transform:scale(.8);transition:opacity .15s,transform .15s var(--ease)}
|
|
194
|
+
.blk .add svg{width:13px;height:13px;stroke-width:2.4}
|
|
195
|
+
.blk:hover .add,.blk:focus-within .add{opacity:1;transform:none}
|
|
196
|
+
.blk:hover .ln{opacity:0}
|
|
197
|
+
.blk:hover{background:#f8fbfa}
|
|
198
|
+
.blk.has{background:linear-gradient(90deg,rgba(233,186,99,.0),rgba(233,186,99,0))}
|
|
199
|
+
.blk.has>.body{box-shadow:inset 3px 0 0 var(--hl-line);padding-left:14px;margin-left:-14px;border-radius:0}
|
|
200
|
+
.blk.focus{background:#fff9e8}
|
|
201
|
+
.blk.pick{background:#eef8f5}
|
|
202
|
+
.body{min-width:0;font-size:15px;line-height:1.7;color:#123f48;padding:2px 0}
|
|
203
|
+
.body p{margin:4px 0 10px}
|
|
204
|
+
.body h1{font-size:24px;font-weight:620;letter-spacing:-.025em;margin:4px 0 12px}
|
|
205
|
+
.body h2{font-size:18px;font-weight:620;letter-spacing:-.015em;margin:20px 0 6px;color:var(--ink)}
|
|
206
|
+
.body h3,.body h4{font-size:15.5px;font-weight:620;margin:14px 0 4px}
|
|
207
|
+
.body pre{background:#0d3a44;color:#d8efe9;border-radius:12px;padding:14px 16px;overflow:auto;font-size:12.5px;line-height:1.6;margin:6px 0 12px}
|
|
208
|
+
.body pre code{background:none;color:inherit;padding:0}
|
|
209
|
+
.body blockquote{margin:6px 0 10px;border-left:3px solid var(--mint);padding:2px 0 2px 14px;color:var(--ink2)}
|
|
210
|
+
.body hr{border:0;border-top:1px solid var(--line);margin:16px 0}
|
|
211
|
+
.tbl{overflow:auto;margin:6px 0 12px}
|
|
212
|
+
.body table{border-collapse:collapse;font-size:13px;width:100%}
|
|
213
|
+
.body th,.body td{border-bottom:1px solid var(--line2);padding:7px 10px;text-align:left}
|
|
214
|
+
.body th{font-weight:600;color:var(--muted);font-size:12px}
|
|
215
|
+
.li{display:grid;grid-template-columns:34px 26px minmax(0,1fr);position:relative;border-radius:10px;transition:background .2s}
|
|
216
|
+
.li .gut{position:relative}
|
|
217
|
+
.li .add{position:absolute;right:4px;top:4px;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:var(--teal);color:#fff;opacity:0;transform:scale(.8);transition:opacity .15s,transform .15s var(--ease)}
|
|
218
|
+
.li .add svg{width:13px;height:13px;stroke-width:2.4}
|
|
219
|
+
.li:hover{background:#f8fbfa}.li:hover .add,.li:focus-within .add{opacity:1;transform:none}
|
|
220
|
+
.li .mk{font-size:13px;font-weight:650;color:var(--teal-d);padding-top:.32em;font-variant-numeric:tabular-nums}
|
|
221
|
+
.li .mk.b::before{content:"";display:block;width:6px;height:6px;border-radius:50%;background:var(--aqua);margin:.55em 0 0 4px}
|
|
222
|
+
.li .tx{font-size:15px;line-height:1.7;padding:2px 0 6px;color:#123f48}
|
|
223
|
+
.li .tx ul{margin:2px 0 0;padding-left:18px;color:var(--ink2);font-size:14px}
|
|
224
|
+
.li.has .tx{box-shadow:inset 3px 0 0 var(--hl-line);padding-left:12px;margin-left:-12px}
|
|
225
|
+
.li.focus{background:#fff9e8}
|
|
226
|
+
.li .cost{display:inline-flex;gap:6px;align-items:center;margin-left:8px;vertical-align:1px}
|
|
227
|
+
.mchip{font-size:11px;font-weight:600;border-radius:6px;padding:1px 6px;letter-spacing:.01em}
|
|
228
|
+
.mchip.low{background:#e6f4ef;color:#1f7a63}.mchip.medium{background:#e7f1f7;color:#2c6585}.mchip.high{background:#fbeedd;color:#93601a}
|
|
229
|
+
mark.q{background:var(--hl);color:inherit;border-radius:3px;padding:0 1px}
|
|
230
|
+
|
|
231
|
+
/* threads */
|
|
232
|
+
.threads{grid-column:2/-1;display:flex;flex-direction:column;gap:10px;margin:6px 0 14px}
|
|
233
|
+
.li+.threads,.li~.threads{grid-column:auto}
|
|
234
|
+
.thread{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 4px 18px rgba(7,63,75,.06);overflow:hidden;animation:rise .28s var(--ease) both;max-width:640px}
|
|
235
|
+
.thread.res{box-shadow:none;background:#fbfcfc}
|
|
236
|
+
.thread .th{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line2);font-size:12px;color:var(--muted);background:#fbfdfc}
|
|
237
|
+
.thread .th .grow{flex:1}
|
|
238
|
+
.thread .quote{margin:12px 14px 0;padding:8px 12px;border-radius:10px;background:#fbf6e8;font-size:12.5px;color:#5f5130;border-left:3px solid var(--hl-line);white-space:pre-wrap}
|
|
239
|
+
.cmt{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:12px 14px 0}
|
|
240
|
+
.cmt .hd{display:flex;align-items:baseline;gap:8px;font-size:12.5px}
|
|
241
|
+
.cmt .hd b{font-weight:620;color:var(--ink);font-size:13px}
|
|
242
|
+
.cmt .hd span{color:var(--muted)}
|
|
243
|
+
.cmt .txt{font-size:13.5px;color:#1d4952;margin-top:2px;white-space:pre-wrap;word-wrap:break-word}
|
|
244
|
+
.thread .tf{display:flex;align-items:center;gap:8px;padding:12px 14px}
|
|
245
|
+
.thread .tf input{flex:1;height:34px;border-radius:10px;border:1px solid var(--line);padding:0 12px;font-size:13px;background:#fbfdfc;outline:0;transition:border-color .15s,box-shadow .15s}
|
|
246
|
+
.thread .tf input:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(14,124,123,.12);background:#fff}
|
|
247
|
+
.thread .collapsed{display:flex;align-items:center;gap:10px;padding:10px 14px;font-size:12.5px;color:var(--muted);width:100%;text-align:left}
|
|
248
|
+
.thread .collapsed:hover{background:#f5f9f8}
|
|
249
|
+
.composer{border:1px solid var(--teal);border-radius:16px;background:#fff;box-shadow:0 0 0 4px rgba(14,124,123,.08),var(--sh-lift);padding:12px;animation:rise .22s var(--ease) both;max-width:640px}
|
|
250
|
+
.composer .lab{font-size:12px;color:var(--muted);margin-bottom:8px;display:flex;gap:8px;align-items:center}
|
|
251
|
+
.composer textarea,.sheet textarea{width:100%;min-height:84px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:14px;resize:vertical;outline:0;background:#fbfdfc;line-height:1.5}
|
|
252
|
+
.composer textarea:focus,.sheet textarea:focus{border-color:var(--teal);background:#fff;box-shadow:0 0 0 3px rgba(14,124,123,.1)}
|
|
253
|
+
.composer .row{display:flex;justify-content:flex-end;gap:8px;margin-top:10px;align-items:center}
|
|
254
|
+
.composer .row .hint{margin-right:auto;font-size:12px;color:var(--faint)}
|
|
255
|
+
.selbtn{position:absolute;z-index:30;transform:translate(-50%,-100%);animation:pop .16s var(--ease) both}
|
|
256
|
+
@keyframes pop{from{opacity:0;transform:translate(-50%,-90%) scale(.92)}}
|
|
257
|
+
@keyframes rise{from{opacity:0;transform:translateY(6px)}}
|
|
258
|
+
|
|
259
|
+
/* side */
|
|
260
|
+
.side{display:flex;flex-direction:column;gap:16px;position:sticky;top:20px}
|
|
261
|
+
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--sh);padding:18px}
|
|
262
|
+
.card h4{font-size:14.5px;font-weight:620;letter-spacing:-.01em;display:flex;align-items:center;gap:8px;margin-bottom:12px}
|
|
263
|
+
.card h4 .r{margin-left:auto;font-size:12px;font-weight:500;color:var(--muted)}
|
|
264
|
+
.rv{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid var(--line2)}
|
|
265
|
+
.rv:first-of-type{border-top:0;padding-top:0}
|
|
266
|
+
.rv .n{font-weight:600;font-size:13px;line-height:1.3}
|
|
267
|
+
.rv .d{font-size:12px;color:var(--muted);line-height:1.35}
|
|
268
|
+
.rv .note2{grid-column:2/-1;font-size:12.5px;color:var(--ink2);background:#f6faf9;border-radius:10px;padding:7px 10px;margin-top:-2px}
|
|
269
|
+
.meter{height:8px;border-radius:5px;background:#e6efed;overflow:hidden;display:flex;margin:4px 0 10px}
|
|
270
|
+
.meter span{display:block;height:100%}
|
|
271
|
+
.need{font-size:12.5px;color:var(--muted);margin-bottom:12px;display:flex;justify-content:space-between}
|
|
272
|
+
.est-total{font-size:22px;font-weight:620;letter-spacing:-.03em}
|
|
273
|
+
.est-sub{font-size:12px;color:var(--muted);margin-bottom:10px}
|
|
274
|
+
.step{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;font-size:12.5px;padding:5px 0}
|
|
275
|
+
.step .sn{color:var(--faint);font-variant-numeric:tabular-nums;font-size:11.5px}
|
|
276
|
+
.step .st{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink2)}
|
|
277
|
+
.step .bar{grid-column:2/-1;height:4px;border-radius:3px;background:#edf3f1;overflow:hidden;margin-top:-1px}
|
|
278
|
+
.step .bar i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,var(--mint),var(--aqua))}
|
|
279
|
+
.step .bar i.high{background:linear-gradient(90deg,#f1d7a6,#d9a24a)}
|
|
280
|
+
.fine{font-size:11.5px;color:var(--faint);margin-top:10px;line-height:1.45}
|
|
281
|
+
.tlist{display:flex;flex-direction:column;gap:2px}
|
|
282
|
+
.tl{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;padding:8px;border-radius:10px;text-align:left;font-size:12.5px;width:100%;transition:background .15s}
|
|
283
|
+
.tl:hover{background:#f3f8f7}
|
|
284
|
+
.tl .q{color:var(--ink2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
285
|
+
.tl .m{color:var(--muted);font-size:11.5px}
|
|
286
|
+
.tl.res .q{text-decoration:line-through;text-decoration-color:#b9cbc8;color:var(--muted)}
|
|
287
|
+
.tabs-mini{display:flex;gap:4px;margin-bottom:8px}
|
|
288
|
+
.tabs-mini button{font-size:12px;font-weight:550;color:var(--muted);padding:3px 9px;border-radius:8px}
|
|
289
|
+
.tabs-mini button[aria-pressed=true]{background:#e9f2f0;color:var(--ink)}
|
|
290
|
+
.how{font-size:12.5px;color:var(--ink2);display:flex;flex-direction:column;gap:8px}
|
|
291
|
+
.how div{display:flex;gap:9px;align-items:flex-start}
|
|
292
|
+
.how svg{color:var(--teal);margin-top:2px}
|
|
293
|
+
|
|
294
|
+
/* rounds & diff */
|
|
295
|
+
.rgrid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}
|
|
296
|
+
.rtl{position:relative;display:flex;flex-direction:column;gap:16px}
|
|
297
|
+
.rtl::before{content:"";position:absolute;left:21px;top:20px;bottom:20px;width:2px;background:linear-gradient(var(--line),var(--mint))}
|
|
298
|
+
.rcard{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;animation:rise .3s var(--ease) both}
|
|
299
|
+
.rnum{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-weight:650;background:#fff;border:1px solid var(--line);z-index:1;font-size:15px}
|
|
300
|
+
.rnum.changes-requested{background:var(--bad-bg);border-color:#efcdd2;color:var(--bad)}
|
|
301
|
+
.rnum.approved,.rnum.auto-approved{background:var(--ok-bg);border-color:#c7e6d8;color:var(--ok)}
|
|
302
|
+
.rnum.cur{background:var(--ink);color:#fff;border-color:var(--ink)}
|
|
303
|
+
.rbody{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--sh);padding:16px 18px}
|
|
304
|
+
.rbody .top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
|
|
305
|
+
.rbody .top b{font-size:15px;font-weight:620;letter-spacing:-.01em}
|
|
306
|
+
.rbody .top .grow{flex:1}
|
|
307
|
+
.rbody .rmeta{font-size:12.5px;color:var(--muted);margin-top:4px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}
|
|
308
|
+
.plus{color:var(--ok);font-weight:600}.minus{color:var(--bad);font-weight:600}
|
|
309
|
+
.vd{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line2)}
|
|
310
|
+
.vd .hd{font-size:12.5px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
|
|
311
|
+
.vd .hd b{font-size:13px}
|
|
312
|
+
.vd .txt{font-size:13.5px;color:#1d4952;margin-top:3px}
|
|
313
|
+
.via{font-size:11px;color:var(--muted);background:#f0f5f4;border-radius:6px;padding:1px 7px;display:inline-flex;align-items:center;gap:4px}
|
|
314
|
+
.diff{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--sh);overflow:hidden}
|
|
315
|
+
.diff-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line2);flex-wrap:wrap}
|
|
316
|
+
.diff-head b{font-weight:620}
|
|
317
|
+
.diff-head select{height:32px;border-radius:9px;border:1px solid var(--line);padding:0 8px;background:#fff;font-size:12.5px}
|
|
318
|
+
.dl{display:grid;grid-template-columns:44px 44px 18px minmax(0,1fr);font-family:var(--mono);font-size:12.5px;line-height:1.75}
|
|
319
|
+
.dl .n{color:#a9bdba;text-align:right;padding-right:10px;user-select:none}
|
|
320
|
+
.dl .s{color:#a9bdba;user-select:none}
|
|
321
|
+
.dl .c{white-space:pre-wrap;word-break:break-word;padding-right:16px}
|
|
322
|
+
.dl.add{background:#effaf4}.dl.add .s,.dl.add .c{color:#1d6b52}
|
|
323
|
+
.dl.del{background:#fdf1f2}.dl.del .s,.dl.del .c{color:#9a3a46}
|
|
324
|
+
.dl ins{background:#c9eedb;text-decoration:none;border-radius:3px}
|
|
325
|
+
.dl del{background:#f8cdd2;text-decoration:none;border-radius:3px}
|
|
326
|
+
.dl.gap{background:#f6faf9;color:var(--faint);font-family:Inter,sans-serif;font-size:12px}
|
|
327
|
+
.dl.gap .c{padding:4px 0}
|
|
328
|
+
.cdelta{display:flex;align-items:center;gap:10px;font-size:13px}
|
|
329
|
+
|
|
330
|
+
/* activity */
|
|
331
|
+
.feed{max-width:760px}
|
|
332
|
+
.day{font-size:11.5px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin:20px 0 8px 52px}
|
|
333
|
+
.ev{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:16px;padding:10px 0;position:relative;animation:rise .3s var(--ease) both}
|
|
334
|
+
.ev::before{content:"";position:absolute;left:17px;top:44px;bottom:-10px;width:2px;background:var(--line2)}
|
|
335
|
+
.ev:last-child::before{display:none}
|
|
336
|
+
.ev .dotc{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);color:var(--ink2);z-index:1}
|
|
337
|
+
.ev .dotc.approve{background:var(--ok-bg);border-color:#c7e6d8;color:var(--ok)}
|
|
338
|
+
.ev .dotc.reject{background:var(--bad-bg);border-color:#efcdd2;color:var(--bad)}
|
|
339
|
+
.ev .dotc.version{background:var(--ink);border-color:var(--ink);color:#fff}
|
|
340
|
+
.ev .dotc.resolve{background:#e9f6f3;color:var(--teal)}
|
|
341
|
+
.ev .line1{font-size:13.5px;padding-top:7px}
|
|
342
|
+
.ev .line1 b{font-weight:620}
|
|
343
|
+
.ev .txt{font-size:13px;color:var(--ink2);margin-top:4px;background:#fff;border:1px solid var(--line2);border-radius:12px;padding:8px 12px;max-width:600px}
|
|
344
|
+
.ev .tm{font-size:12px;color:var(--muted);padding-top:9px;white-space:nowrap}
|
|
345
|
+
|
|
346
|
+
/* sheet / modal */
|
|
347
|
+
.scrim{position:fixed;inset:0;background:rgba(7,40,48,.28);backdrop-filter:blur(3px);z-index:50;display:grid;place-items:center;animation:fade .2s both;padding:20px}
|
|
348
|
+
@keyframes fade{from{opacity:0}}
|
|
349
|
+
.sheet{width:min(520px,100%);background:#fff;border-radius:24px;box-shadow:0 30px 90px rgba(7,40,48,.3);padding:24px;animation:sheet .3s var(--ease) both;position:relative;overflow:hidden}
|
|
350
|
+
@keyframes sheet{from{opacity:0;transform:translateY(16px) scale(.98)}}
|
|
351
|
+
.sheet h3{font-size:20px;font-weight:620;letter-spacing:-.025em}
|
|
352
|
+
.sheet .lead{color:var(--muted);font-size:13.5px;margin:6px 0 16px}
|
|
353
|
+
.sheet .bind{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:var(--mist);font-size:12.5px;color:var(--ink2);margin-bottom:14px}
|
|
354
|
+
.sheet .warn{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:var(--warn-bg);color:#6c4a0e;font-size:12.5px;margin-bottom:14px}
|
|
355
|
+
.sheet .row{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;align-items:center}
|
|
356
|
+
.sheet .row .hint{margin-right:auto;font-size:12px;color:var(--faint)}
|
|
357
|
+
.sheet .x{position:absolute;right:14px;top:14px;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:var(--muted)}
|
|
358
|
+
.sheet .x:hover{background:var(--mist)}
|
|
359
|
+
.sheet label.chk{display:flex;gap:9px;align-items:center;font-size:13px;margin-top:10px;color:var(--ink2)}
|
|
360
|
+
.sheet .done{display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 0 6px;gap:8px}
|
|
361
|
+
.ripple{position:relative;width:96px;height:96px;display:grid;place-items:center;margin-bottom:6px}
|
|
362
|
+
.ripple span{position:absolute;inset:0;border-radius:50%;border:2px solid var(--aqua);opacity:0;animation:ring 1.6s var(--ease) forwards}
|
|
363
|
+
.ripple span:nth-child(2){animation-delay:.18s}.ripple span:nth-child(3){animation-delay:.36s}
|
|
364
|
+
.ripple .stone{width:54px;height:54px;border-radius:50%;background:var(--teal);color:#fff;display:grid;place-items:center;animation:drop .5s var(--ease) both;box-shadow:0 10px 24px rgba(14,124,123,.35)}
|
|
365
|
+
.ripple .stone.bad{background:var(--bad);box-shadow:0 10px 24px rgba(176,67,79,.3)}
|
|
366
|
+
.ripple .stone svg{width:26px;height:26px;stroke-width:2.4}
|
|
367
|
+
@keyframes ring{0%{transform:scale(.5);opacity:.9}100%{transform:scale(1.5);opacity:0}}
|
|
368
|
+
@keyframes drop{from{transform:translateY(-20px) scale(.6);opacity:0}}
|
|
369
|
+
.posted{width:100%;text-align:left;margin-top:8px}
|
|
370
|
+
.posted summary{font-size:12.5px;color:var(--teal-d);font-weight:600;cursor:pointer}
|
|
371
|
+
.posted pre{background:#0d3a44;color:#d8efe9;border-radius:12px;padding:12px;font-size:11.5px;white-space:pre-wrap;word-break:break-word;max-height:200px;overflow:auto}
|
|
372
|
+
.help{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;font-size:13px;margin-top:10px}
|
|
373
|
+
.help div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--line2)}
|
|
374
|
+
|
|
375
|
+
#toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:60;pointer-events:none}
|
|
376
|
+
#toast .t{pointer-events:auto;display:flex;align-items:center;gap:10px;background:var(--ink);color:#fff;border-radius:14px;padding:11px 16px;font-size:13px;box-shadow:var(--sh-lift);animation:sheet .25s var(--ease) both}
|
|
377
|
+
#toast .t svg{color:var(--mint)}
|
|
378
|
+
|
|
379
|
+
/* connect */
|
|
380
|
+
.connect{max-width:980px;margin:6vh auto 0;display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:stretch}
|
|
381
|
+
.connect .card{padding:28px}
|
|
382
|
+
.connect h1{font-size:32px;font-weight:620;letter-spacing:-.035em;line-height:1.15;margin-bottom:10px}
|
|
383
|
+
.field{display:flex;flex-direction:column;gap:6px;margin-top:14px}
|
|
384
|
+
.field label{font-size:12.5px;font-weight:600;color:var(--ink2)}
|
|
385
|
+
.field input{height:42px;border-radius:12px;border:1px solid var(--line);padding:0 12px;background:#fbfdfc;outline:0;font-size:14px}
|
|
386
|
+
.field input:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(14,124,123,.1);background:#fff}
|
|
387
|
+
.field small{font-size:12px;color:var(--muted)}
|
|
388
|
+
.err{color:var(--bad);font-size:13px;margin-top:10px}
|
|
389
|
+
.scene-card{border-radius:24px;overflow:hidden;position:relative;border:1px solid var(--line);min-height:380px;background:#e8f3f0}
|
|
390
|
+
.scene-card svg{position:absolute;inset:0;width:100%;height:100%}
|
|
391
|
+
.scene-card .cap{position:absolute;left:24px;right:24px;bottom:24px;background:#fff;border-radius:16px;padding:14px 16px;box-shadow:var(--sh-lift);font-size:13px}
|
|
392
|
+
.loading{display:grid;place-items:center;min-height:60vh;color:var(--muted);gap:14px}
|
|
393
|
+
.loader{width:56px;height:56px;position:relative}
|
|
394
|
+
.loader span{position:absolute;inset:0;border-radius:50%;border:2px solid var(--aqua);animation:ring 1.6s ease-out infinite;opacity:0}
|
|
395
|
+
.loader span:nth-child(2){animation-delay:.5s}.loader span:nth-child(3){animation-delay:1s}
|
|
396
|
+
.skel{background:linear-gradient(90deg,#eef4f2,#f7faf9,#eef4f2);background-size:200% 100%;animation:sk 1.2s linear infinite;border-radius:10px}
|
|
397
|
+
@keyframes sk{to{background-position:-200% 0}}
|
|
398
|
+
.stagger>*{animation:rise .32s var(--ease) both}
|
|
399
|
+
.stagger>*:nth-child(2){animation-delay:.03s}.stagger>*:nth-child(3){animation-delay:.06s}.stagger>*:nth-child(4){animation-delay:.09s}.stagger>*:nth-child(5){animation-delay:.12s}.stagger>*:nth-child(6){animation-delay:.15s}.stagger>*:nth-child(n+7){animation-delay:.18s}
|
|
400
|
+
|
|
401
|
+
.mbar{display:none}
|
|
402
|
+
@media (max-width:1280px){.grid3{grid-template-columns:minmax(0,1fr) 320px}.outline{display:none}}
|
|
403
|
+
@media (max-width:1020px){
|
|
404
|
+
.shell{grid-template-columns:1fr}.rail{display:none}
|
|
405
|
+
.topbar{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:20;background:rgba(241,247,246,.9);backdrop-filter:blur(10px);padding:10px 16px;border-bottom:1px solid var(--line)}
|
|
406
|
+
.topbar .brand{font-size:19px;padding:0}.topbar .brand img{width:24px;height:24px}
|
|
407
|
+
.topbar nav{margin-left:auto;display:flex;gap:4px}
|
|
408
|
+
.topbar nav a{font-size:13px;font-weight:550;color:var(--ink2);padding:6px 10px;border-radius:9px}
|
|
409
|
+
.topbar nav a[aria-current=page]{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
|
|
410
|
+
main{padding:20px 16px 110px}
|
|
411
|
+
.grid3,.rgrid{grid-template-columns:1fr}
|
|
412
|
+
.side{position:static}
|
|
413
|
+
.spot{grid-template-columns:1fr}.spot .scene{min-height:150px}
|
|
414
|
+
.stats{grid-template-columns:repeat(2,1fr)}
|
|
415
|
+
.connect{grid-template-columns:1fr}
|
|
416
|
+
}
|
|
417
|
+
@media (max-width:720px){
|
|
418
|
+
h1.title{font-size:27px}.phead h1{font-size:24px}
|
|
419
|
+
.phead{flex-direction:column}.phead .acts{display:none}
|
|
420
|
+
.mbar{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-top:1px solid var(--line);box-shadow:0 -6px 24px rgba(7,63,75,.06)}
|
|
421
|
+
.mbar .btn{flex:1;height:46px}
|
|
422
|
+
.mbar .youdid{flex:1;justify-content:center;height:46px}
|
|
423
|
+
.list-head{display:none}
|
|
424
|
+
.prow{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"t t" "rv when";padding:14px 16px;gap:10px;min-height:0}
|
|
425
|
+
.prow .t{grid-area:t}.prow .rvw{grid-area:rv}.prow .when{grid-area:when;text-align:right}
|
|
426
|
+
.prow .cost,.prow .thr,.prow>.chev{display:none}
|
|
427
|
+
.toolbar .search{min-width:0;width:100%;order:3}
|
|
428
|
+
.seg{overflow-x:auto;max-width:100%}
|
|
429
|
+
.doc{padding:18px 14px 26px 4px;border-radius:18px}
|
|
430
|
+
.doc-top{padding-left:26px}
|
|
431
|
+
.blk{grid-template-columns:26px minmax(0,1fr)}.li{grid-template-columns:26px 22px minmax(0,1fr)}
|
|
432
|
+
.body,.li .tx{font-size:14.5px}
|
|
433
|
+
.roundbar{margin-left:0;width:100%;overflow-x:auto}
|
|
434
|
+
.tabs{gap:12px}
|
|
435
|
+
.banner .who-row{display:none}
|
|
436
|
+
.help{grid-template-columns:1fr}
|
|
437
|
+
.sheet{align-self:end;border-radius:24px 24px 0 0;margin:0 -20px -20px;width:calc(100% + 40px)}
|
|
438
|
+
.scrim{place-items:end center}
|
|
439
|
+
.dl{grid-template-columns:30px 30px 14px minmax(0,1fr);font-size:11.5px}
|
|
440
|
+
.spot .copy{padding:22px}
|
|
441
|
+
.spot h2{font-size:21px}
|
|
442
|
+
}
|
|
443
|
+
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
|
|
444
|
+
@media (max-width:720px){
|
|
445
|
+
.topbar{gap:8px;padding:10px 12px}
|
|
446
|
+
.topbar nav a{white-space:nowrap;padding:6px 8px;font-size:12.5px}
|
|
447
|
+
.topbar .demo-flag{display:none}
|
|
448
|
+
.page-head .eyebrow{flex-wrap:wrap}
|
|
449
|
+
.page-head{flex-direction:column;align-items:flex-start;gap:12px}
|
|
450
|
+
.toolbar{gap:10px}
|
|
451
|
+
.toolbar .seg{flex:1 1 100%;min-width:0;overflow-x:auto;scrollbar-width:none}
|
|
452
|
+
.seg button{flex-shrink:0;white-space:nowrap}
|
|
453
|
+
.spot .float{display:none}
|
|
454
|
+
.spot .scene{min-height:110px}
|
|
455
|
+
.tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
|
|
456
|
+
.tabs a{flex-shrink:0;white-space:nowrap}
|
|
457
|
+
.tabs .roundbar{display:none}
|
|
458
|
+
.mrounds{display:flex!important}
|
|
459
|
+
.doc-top>span:last-child{display:none}
|
|
460
|
+
.doc-top .path{display:none}
|
|
461
|
+
.prow .meta .rounds,.prow .meta .rounds+span{display:none}
|
|
462
|
+
.stat .v{font-size:20px}
|
|
463
|
+
.phead .meta{gap:8px}
|
|
464
|
+
}
|
|
465
|
+
.mrounds{display:none;gap:6px;overflow-x:auto;margin:-10px 0 14px;scrollbar-width:none}
|
|
466
|
+
.mrounds .rpill{flex-shrink:0}
|
|
467
|
+
@media (min-width:1021px){.shell{background:linear-gradient(90deg,#f4f9f8 0,#f4f9f8 247px,var(--line) 247px,var(--line) 248px,transparent 248px)}}
|
|
468
|
+
@media (max-width:720px){.sheet .row .hint{display:none}.sheet .row .btn{flex:1}}
|
|
469
|
+
@media (hover:none){.blk .add,.li .add{opacity:0;transform:none}.blk:focus-within .add,.li:focus-within .add,.blk:active .add,.li:active .add{opacity:1}.blk .ln{display:none}}
|
|
470
|
+
|
|
471
|
+
/* ---------- model & cost, suggestions, budget ---------- */
|
|
472
|
+
.st-needs-budget{background:#eef3fb;color:#3a5f9a}
|
|
473
|
+
.prow .ic.st-needs-budget{background:#eef3fb}
|
|
474
|
+
.banner.st-needs-budget .ico{background:#eef3fb;color:#3a5f9a}
|
|
475
|
+
.card.cost .est-sub b{font-weight:600;color:var(--ink2)}
|
|
476
|
+
.mchip.risky{background:var(--bad-bg);color:var(--bad)}
|
|
477
|
+
.mchip.overkill{box-shadow:inset 0 0 0 1px #e9ba63}
|
|
478
|
+
.budget{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;line-height:1.45;color:#2f4f86;background:linear-gradient(180deg,#f3f7fd,#eef3fb);border:1px solid #dce6f5;border-radius:12px;padding:9px 11px;margin:0 0 10px}
|
|
479
|
+
.budget svg{margin-top:1px}.budget.ok{color:var(--ok);background:var(--ok-bg);border-color:#cfe9dd}
|
|
480
|
+
.budget b{font-weight:620}
|
|
481
|
+
.budget-tag{color:#3a5f9a!important;background:#eef3fb!important}
|
|
482
|
+
.save{margin-top:12px;border-radius:14px;background:linear-gradient(160deg,#f3fbf8 0%,#ffffff 70%);border:1px solid #d6ece5;padding:10px 10px 6px;animation:rise .35s var(--ease)}
|
|
483
|
+
.save-h{display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--teal-d);margin:0 2px 6px}
|
|
484
|
+
.save-h b{font-weight:650}
|
|
485
|
+
.sg{display:flex;align-items:center;gap:10px;padding:7px 4px;border-top:1px dashed #d9ebe5;font-size:12.5px}
|
|
486
|
+
.sg:first-of-type{border-top:0}
|
|
487
|
+
.sg .grow{min-width:0;flex:1;display:flex;flex-direction:column}
|
|
488
|
+
.sg .grow b{font-weight:560;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
489
|
+
.sg .grow span{color:var(--ok);font-size:12px;font-weight:600}
|
|
490
|
+
.models{margin-top:10px;border-top:1px solid var(--line2);padding-top:6px}
|
|
491
|
+
.models summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:560;color:var(--ink2);padding:6px 2px;border-radius:8px}
|
|
492
|
+
.models summary::-webkit-details-marker{display:none}
|
|
493
|
+
.models summary svg:last-child{margin-left:auto;transition:transform .25s var(--ease)}
|
|
494
|
+
.models[open] summary svg:last-child{transform:rotate(180deg)}
|
|
495
|
+
.models[open] .mo{animation:rise .3s var(--ease) both}
|
|
496
|
+
.models[open] .mo:nth-child(3){animation-delay:30ms}.models[open] .mo:nth-child(4){animation-delay:60ms}.models[open] .mo:nth-child(5){animation-delay:90ms}.models[open] .mo:nth-child(6){animation-delay:120ms}
|
|
497
|
+
.mo{display:flex;align-items:center;gap:10px;padding:8px 8px;border-radius:10px;font-size:12.5px;transition:background .15s}
|
|
498
|
+
.mo:hover{background:#f5faf8}
|
|
499
|
+
.mo.cur{background:#eef7f4;box-shadow:inset 0 0 0 1px #cfe5df}
|
|
500
|
+
.mo .grow{flex:1;min-width:0;display:flex;flex-direction:column}
|
|
501
|
+
.mo .nm{font-weight:600;display:flex;gap:6px;align-items:center}
|
|
502
|
+
.mo .nm i{font-style:normal;font-size:10.5px;font-weight:600;color:var(--teal-d);background:#e3f3ef;border-radius:999px;padding:1px 7px}
|
|
503
|
+
.mo .nm i.c{color:var(--ink2);background:#fff;border:1px solid var(--line)}
|
|
504
|
+
.mo .nt{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
505
|
+
.mo.risky .nt{color:var(--bad)}
|
|
506
|
+
.mo .pr{font-size:12px;color:var(--ink2);white-space:nowrap}
|
|
507
|
+
.mo .btn.sm{height:28px;padding:0 10px}
|
|
508
|
+
.sugg{display:flex;align-items:center;gap:11px;margin:4px 14px 6px;padding:10px 12px;border-radius:12px;background:linear-gradient(160deg,#f2fbf8,#fff);border:1px solid #d3ebe3}
|
|
509
|
+
.sugg .ic{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#dff2ec;color:var(--teal-d);flex-shrink:0}
|
|
510
|
+
.sugg .grow{flex:1;min-width:0;display:flex;flex-direction:column;font-size:13px}
|
|
511
|
+
.sugg .grow b{font-weight:600}
|
|
512
|
+
.sugg .grow span{font-size:12px;color:var(--muted)}.sugg .grow span b{color:var(--ok)}
|
|
513
|
+
.sugg.done{background:var(--ok-bg);border-color:#cfe9dd}.sugg.done .ic{background:#fff;color:var(--ok)}
|
|
514
|
+
/* delights */
|
|
515
|
+
.drops{position:fixed;left:50%;top:38%;width:220px;height:140px;transform:translateX(-50%);pointer-events:none;z-index:90}
|
|
516
|
+
.drops i{position:absolute;top:0;width:8px;height:11px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;background:linear-gradient(180deg,#a7dbd3,#0e7c7b);animation:fall 1.1s cubic-bezier(.4,0,.6,1) both}
|
|
517
|
+
.drops b{position:absolute;left:50%;top:44%;transform:translateX(-50%);font-size:28px;font-weight:700;letter-spacing:-.03em;color:var(--teal);animation:saved 1.6s var(--ease) both;text-shadow:0 6px 24px rgba(14,124,123,.25)}
|
|
518
|
+
@keyframes fall{0%{transform:translateY(-30px);opacity:0}20%{opacity:1}100%{transform:translateY(110px) scaleY(.4);opacity:0}}
|
|
519
|
+
@keyframes saved{0%{opacity:0;transform:translate(-50%,10px) scale(.9)}25%{opacity:1;transform:translate(-50%,0) scale(1)}80%{opacity:1}100%{opacity:0;transform:translate(-50%,-14px)}}
|
|
520
|
+
.boat{position:fixed;bottom:18px;left:-90px;z-index:80;pointer-events:none;animation:sail 9s linear forwards}
|
|
521
|
+
.boat svg{width:64px;height:40px;animation:bob 1.6s ease-in-out infinite}
|
|
522
|
+
.boat span{position:absolute;left:-30px;right:10px;bottom:2px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,#a7dbd3)}
|
|
523
|
+
@keyframes sail{to{transform:translateX(calc(100vw + 180px))}}
|
|
524
|
+
@keyframes bob{50%{transform:translateY(-3px) rotate(-3deg)}}
|
|
525
|
+
body.stillwater main{animation:still 2.4s var(--ease)}
|
|
526
|
+
body.stillwater::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:70;background:radial-gradient(circle at 50% 45%,rgba(76,183,177,.16),transparent 55%);animation:fade 2.4s reverse both}
|
|
527
|
+
@keyframes still{0%{filter:none}30%{filter:saturate(.7) blur(.4px);transform:scale(.995)}100%{filter:none;transform:none}}
|
|
528
|
+
@media (prefers-reduced-motion:reduce){.boat{animation:none;left:16px}.drops{display:none}}
|
|
529
|
+
|
|
530
|
+
.declare{display:inline-flex;align-items:center;gap:8px;margin:2px 0;padding:6px 12px 6px 10px;border-radius:999px;background:#f1f7f6;border:1px solid var(--line);font-size:13px;color:var(--muted)}
|
|
531
|
+
.declare b{font-weight:620;color:var(--ink)}.declare svg{color:var(--teal)}
|
|
532
|
+
.mdemo{display:none}
|
|
533
|
+
@media (max-width:1020px){.mdemo{display:flex;align-items:center;gap:8px;padding:7px 16px;font-size:12px;color:var(--teal-d);background:#e9f5f2;border-bottom:1px solid #d6ece5}.mdemo .linkbtn{margin-left:auto;font-weight:600}
|
|
534
|
+
.tabs{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}}
|
|
535
|
+
.sheet .row .hint{white-space:nowrap}
|
|
536
|
+
.connect .topbar,.topbar[style]{padding:20px 28px}
|