create-pmos 0.441.0 → 0.442.0

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 (60) hide show
  1. package/package.json +13 -13
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/state/discoveries.md +1 -1
  6. package/workspace/adler-seasons-art-test.js +106 -0
  7. package/workspace/adler-seasons-test.js +111 -0
  8. package/workspace/briefing-premium-board-test.js +19 -17
  9. package/workspace/briefing-premium-initiative-test.js +7 -4
  10. package/workspace/changelog.json +12 -0
  11. package/workspace/guide/adler.md +10 -0
  12. package/workspace/guide/home.md +2 -0
  13. package/workspace/ini-workflow-test.js +6 -2
  14. package/workspace/lib/settings-store.js +38 -0
  15. package/workspace/metric-drafts-ui-test.js +2 -2
  16. package/workspace/package-lock.json +2 -2
  17. package/workspace/package.json +1 -1
  18. package/workspace/premium-board-actions-test.js +2 -1
  19. package/workspace/premium-chat-attach-test.js +2 -0
  20. package/workspace/program-panel-test.js +1 -1
  21. package/workspace/public/pm/bd-ini-panel.js +2 -2
  22. package/workspace/public/pm/c3-ini-ui.js +1 -1
  23. package/workspace/public/pm/cozy-adler.css +21 -0
  24. package/workspace/public/pm/cozy-adler.js +415 -8
  25. package/workspace/public/pm/cozy-ev.css +16 -1
  26. package/workspace/public/pm/cozy-home.css +8 -0
  27. package/workspace/public/pm/cozy-news.js +1 -1
  28. package/workspace/public/pm/cozy-seasons.js +318 -0
  29. package/workspace/public/pm/cozy-settings.js +88 -5
  30. package/workspace/public/pm/cozy-viewer.js +8 -4
  31. package/workspace/public/pm/cozy.css +65 -0
  32. package/workspace/public/pm/dash-view.js +4 -2
  33. package/workspace/public/pm/home-app.js +8 -2
  34. package/workspace/public/pm/home-chat.js +1 -1
  35. package/workspace/public/pm/home-day.js +7 -4
  36. package/workspace/public/pm/home-ini.js +2 -2
  37. package/workspace/public/pm/home-mentions.js +1 -1
  38. package/workspace/public/pm/impact.js +1 -1
  39. package/workspace/public/pm/ini-groups.js +15 -10
  40. package/workspace/public/pm/ini-links.js +1 -1
  41. package/workspace/public/pm/ini-tasks.js +208 -44
  42. package/workspace/public/pm/ini-view-model.js +8 -2
  43. package/workspace/public/pm/ini-view.css +305 -1
  44. package/workspace/public/pm/ini-view.js +190 -80
  45. package/workspace/public/pm/mission.js +234 -0
  46. package/workspace/public/pm/premium-board.js +1 -1
  47. package/workspace/public/pm/premium-welcome.js +2 -2
  48. package/workspace/public/pm/split-merge.js +1 -1
  49. package/workspace/public/pm/stage-line.js +2 -2
  50. package/workspace/split-merge-ui-test.js +1 -1
  51. package/workspace/stage-card-test.js +48 -11
  52. package/workspace/task-links-test.js +2 -0
  53. package/workspace/task-milestones-test.js +5 -1
  54. package/workspace/task-plans-test.js +3 -3
  55. package/workspace/task-views-test.js +90 -37
  56. package/workspace/test-lists/adler-seasons-art.json +13 -0
  57. package/workspace/test-lists/batch18-adler-seasons.json +13 -0
  58. package/workspace/test-lists/mission.json +5 -0
  59. package/workspace/test-lists/viewer-tasks.json +5 -0
  60. package/workspace/tk-tasks-test.js +25 -30
@@ -76,6 +76,24 @@ const DEFS = Object.freeze({
76
76
  'adler.motion': one('adler', 'computer', ['system', 'still'], 'system'),
77
77
  'adler.celebrate': one('adler', 'computer', ['real', 'never'], 'real'),
78
78
  'adler.quiet': one('adler', 'computer', ['22', 'never'], '22'),
79
+ // Settings > Adler > Dress for the day (feedback batch 18 item 8, canvas AsSet1): the calendar that dresses him (pm/cozy-seasons.js keeps
80
+ // the same defaults in DRESS_DEFAULTS). place '' and climate auto read the computer. days: one switch per day of "More festivals",
81
+ // skip: "Not this one" (a day's key to the year it stays off), wear: Movie night or Music for one day, until midnight.
82
+ 'adler.dress.on': bool('adler', 'computer', true),
83
+ 'adler.dress.place': { section: 'adler', scope: 'computer', type: 'country', def: '' },
84
+ 'adler.dress.climate': one('adler', 'computer', ['auto', 'tropics', 'north', 'south'], 'auto'),
85
+ 'adler.dress.holidays': bool('adler', 'computer', true),
86
+ 'adler.dress.seasons': bool('adler', 'computer', true),
87
+ 'adler.dress.science': bool('adler', 'computer', true),
88
+ 'adler.dress.school': bool('adler', 'computer', true),
89
+ 'adler.dress.sports': bool('adler', 'computer', false),
90
+ 'adler.dress.colors': { section: 'adler', scope: 'computer', type: 'colors', def: ['blue', 'green'] },
91
+ 'adler.dress.exam': bool('adler', 'computer', false),
92
+ 'adler.dress.pmosday': bool('adler', 'computer', true),
93
+ 'adler.dress.birthday': { section: 'adler', scope: 'computer', type: 'monthday', def: '' },
94
+ 'adler.dress.days': { section: 'adler', scope: 'computer', type: 'dayswitches', def: {} },
95
+ 'adler.dress.skip': { section: 'adler', scope: 'computer', type: 'dayyears', def: {} },
96
+ 'adler.dress.wear': { section: 'adler', scope: 'computer', type: 'wear', def: null },
79
97
  // Settings > General > Your impact (feedback batch 16 item 7, canvas GmP1Switch): the one switch. Off hides every impact surface, Adler's
80
98
  // leaf included, and stops the daily impact run (lib/routes-impact.js, lib/impact-runs.js).
81
99
  'impact.on': bool('general', 'computer', true),
@@ -93,6 +111,8 @@ const ENV = Object.freeze([
93
111
  ]);
94
112
 
95
113
  const WS_ID = /^[A-Za-z0-9_-]{1,80}$/;
114
+ const DRESS_COLORS = Object.freeze(['blue', 'red', 'white', 'gold', 'green', 'ink']);
115
+ const DAY_KEY = /^[a-z]{2,16}$/;
96
116
  const clone = (v) => (v && typeof v === 'object' ? JSON.parse(JSON.stringify(v)) : v);
97
117
  const fileOf = (stateDir, ws) => (ws ? path.join(stateDir, 'settings-ws', ws + '.json') : path.join(stateDir, 'settings.json'));
98
118
 
@@ -138,6 +158,24 @@ function validate(key, value) {
138
158
  }
139
159
  // ['*'] alone is every workspace (the product picker's All, lib/briefing-premium-products.js)
140
160
  case 'ids': return value === null || Array.isArray(value) && (value.length === 1 && value[0] === '*' || value.length <= d.max && value.every((x) => typeof x === 'string' && WS_ID.test(x)) && new Set(value).size === value.length) ? null : `${key} must list at most ${d.max} workspace ids, each once, or ['*'] for every one`;
161
+ // Dress for the day (pm/cozy-seasons.js): a day's key is its charm key, as in DAYS there
162
+ case 'country': return value === '' || typeof value === 'string' && /^[A-Z]{2}$/.test(value) ? null : `${key} must be a two-letter country code, or empty for this computer's`;
163
+ case 'colors': return Array.isArray(value) && value.length === 2 && value.every((c) => DRESS_COLORS.includes(c)) ? null : `${key} must be two of ${DRESS_COLORS.join(', ')}`;
164
+ case 'monthday': {
165
+ if (value === '') return null;
166
+ const m = typeof value === 'string' && /^(\d{2})-(\d{2})$/.exec(value);
167
+ return m && +m[1] >= 1 && +m[1] <= 12 && +m[2] >= 1 && +m[2] <= [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][+m[1] - 1] ? null : `${key} must be a month and day such as 03-14, or empty`;
168
+ }
169
+ case 'dayswitches': case 'dayyears': {
170
+ if (!value || typeof value !== 'object' || Array.isArray(value)) return `${key} must map a day to ${d.type === 'dayswitches' ? 'true or false' : 'a year'}`;
171
+ const es = Object.entries(value);
172
+ const good = (v) => (d.type === 'dayswitches' ? typeof v === 'boolean' : Number.isInteger(v) && v >= 2000 && v <= 2200);
173
+ return es.length <= 60 && es.every(([k, v]) => DAY_KEY.test(k) && good(v)) ? null : `${key} must map at most 60 days to ${d.type === 'dayswitches' ? 'true or false' : 'a year'}`;
174
+ }
175
+ case 'wear': {
176
+ if (value === null) return null;
177
+ return value && typeof value === 'object' && ['movie', 'music'].includes(value.key) && typeof value.day === 'string' && /^\d{4}-\d{2}-\d{2}$/.test(value.day) && Object.keys(value).length === 2 ? null : `${key} must be null or { key: movie or music, day: YYYY-MM-DD }`;
178
+ }
141
179
  case 'order': {
142
180
  // pm/order-model.js keeps a layout this small (trim)
143
181
  const SORTS = ['mine', 'turn', 'date', 'stage', 'name'];
@@ -151,10 +151,10 @@ const INITIATIVE = () => ({
151
151
  await until(() => p.evaluate(() => { const b = document.querySelector('#czViewer [data-czs-fold="tree"]'); if (b && b.getAttribute('aria-expanded') !== 'true') b.click(); return !!document.querySelector('#czViewer button.pp-open[data-ini="descope-parity"]'); }));
152
152
  await p.click('#czViewer button.pp-open[data-ini="descope-parity"]');
153
153
  const ic = await until(() => p.evaluate(() => { const c = document.querySelector('#czViewer .iv .md-card'); if (!c) return null;
154
- return { after: !!(c.previousElementSibling && c.previousElementSibling.classList.contains('iv-sc')), hd: c.querySelector('.md-hd b').textContent, src: c.querySelector('.md-src').textContent,
154
+ return { after: !!c.closest('.iv-cl') && !!(c.previousElementSibling && c.previousElementSibling.classList.contains('iv-card')), hd: c.querySelector('.md-hd b').textContent, src: c.querySelector('.md-src').textContent,
155
155
  rows: [...c.querySelectorAll('.md-mr')].map((r) => [r.querySelector('.md-role').textContent, r.querySelector('.md-nm b').textContent, (r.querySelector('small') || {}).textContent || '', r.querySelector('.md-now').textContent, r.querySelector('.md-to').textContent].join(' | ')),
156
156
  why: c.querySelector('.md-why').textContent, presses: [...c.querySelectorAll('.md-ft .md-ib')].map((b) => ({ label: b.getAttribute('aria-label'), title: b.getAttribute('title'), text: b.textContent.trim(), solid: b.classList.contains('solid'), href: b.getAttribute('href') || '' })) }; }));
157
- ok('I the proposed success measure sits under the stage card, with where it came from', !!ic && ic.after && ic.hd === 'Proposed success measure' && ic.src === 'from the PRD and the desktop launch', JSON.stringify(ic));
157
+ ok('I the proposed success measure sits under the card, with where it came from', !!ic && ic.after && ic.hd === 'Proposed success measure' && ic.src === 'from the PRD and the desktop launch', JSON.stringify(ic));
158
158
  ok('I three groups in order, each Now → Target', !!ic && ic.rows.join(' / ') === 'Proves it worked · 4 weeks after release | Mobile checkout login drop-off | Moves your key result “drop-off under 15%” | 27% | 19% / Early signal · shows in days | Inline form completion | Ticket ESHOP-981 drafted | — | 80% week 1 / Guardrail | Checkout conversion | A faster login must not cost orders | 3.1% | ≥ 3.1%', ic && ic.rows.join(' / '));
159
159
  ok('I one line of why', !!ic && /^Desktop fell 7 points/.test(ic.why));
160
160
  ok('I Edit (in place, batch 16) and a solid ✓ Keep this success measure: icon-only, each with a label and a title', !!ic && ic.presses.map((x) => x.label).join() === 'Edit the proposed success measure,Keep this success measure'
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.441.0",
3
+ "version": "0.442.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.441.0",
9
+ "version": "0.442.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@xterm/addon-fit": "^0.11.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.441.0",
3
+ "version": "0.442.0",
4
4
  "private": true,
5
5
  "description": "PMOS Terminal Workspace — local companion hosting real PTYs beside the library and gates (D62)",
6
6
  "license": "MIT",
@@ -239,7 +239,8 @@ const ALLOWED = /^\/api\/(?:boards\/(?:asks\/(?:add|accept|decline)|move|archive
239
239
  await ip.click('#czViewer [data-cz-vw="back"]'); // ← from Stage: the initiative's page again (canvas HbCDrill)
240
240
  // the card (stage card D): its last node, the next stage, opens the move popover with Move now and Back; Back always asks for a reason,
241
241
  // and the move line carries it (InStage)
242
- const openNext = async () => { await until(() => ip.evaluate(() => !!document.querySelector('.iv-sc [data-iv-next]')), 30000); await ip.click('.iv-sc [data-iv-next]'); return until(() => ip.evaluate(() => !!document.querySelector('.hi-pop [data-hi-goback]'))); };
242
+ const openNext = async () => { if (!(await ip.evaluate(() => !!document.querySelector('.iv-sc [data-iv-next]')))) await ip.click('.iv-sc [data-iv-mi]'); // the next stage sits under the picture until it is the main step (XvpE2Stages)
243
+ await until(() => ip.evaluate(() => !!document.querySelector('.iv-sc [data-iv-next]')), 30000); await ip.click('.iv-sc [data-iv-next]'); return until(() => ip.evaluate(() => !!document.querySelector('.hi-pop [data-hi-goback]'))); };
243
244
  const back = await openNext();
244
245
  ok('I4 the card\'s next stage opens Move to the next stage now and Back', back && await ip.evaluate(() => /^Move to .+ now$/.test(((document.querySelector('.hi-pop [data-hi-go]') || {}).textContent || '').trim())));
245
246
  if (back) {
@@ -100,6 +100,8 @@ const filesIn = () => { const d = path.join(T.STATE_DIR, 'chat-files'); const ou
100
100
  const bub = await until(async () => page.evaluate(() => { const u = [...document.querySelectorAll('#hmLog .hm-u')].pop(); return u && u.querySelectorAll('.atc[data-att]').length === 3 ? u.textContent : null; }), 12000);
101
101
  ok('B7 the PM\'s bubble shows the files as chips and the words, not the line', !!bub && /Where is this on PMOS\?/.test(bub) && !/Attached files/.test(bub), String(bub));
102
102
  await shot(page, 'bubble-1280-light');
103
+ // batch 18 item 13: a sent picture is a 36 px thumbnail in its chip, never the picture at its own size (a screenshot spilled out of the bubble)
104
+ ok('B7 a sent photo shows as a 36 px thumbnail in its chip', await page.evaluate(() => { const i = document.querySelector('#hmLog .hm-u .atc img.ath'); if (!i) return false; const r = i.getBoundingClientRect(); return Math.round(r.width) === 36 && Math.round(r.height) === 36; }));
103
105
  await page.click('#hmLog .hm-u .atc[data-att$=".png"]');
104
106
  ok('B7 a photo chip opens the picture in the Viewer', !!(await until(async () => page.evaluate(() => { const i = document.querySelector('#czViewer:not([hidden]) img.atview'); return !!i && i.complete && i.naturalWidth === 2; }))));
105
107
  await shot(page, 'viewer-1280-light');
@@ -119,7 +119,7 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
119
119
  await fold(p, 'tree');
120
120
  await until(() => p.evaluate(() => !!document.querySelector('#czViewer button.pp-open[data-ini="descope-parity"]')));
121
121
  await p.click('#czViewer button.pp-open[data-ini="descope-parity"]');
122
- const ip = await until(() => p.evaluate(() => { const v = document.querySelector('#czViewer'); if (!v || v.hidden || !/Initiative/.test(v.getAttribute('aria-label') || '')) return null; return { t: v.querySelector('.cz-vw-title').textContent, peek: !document.querySelector('#peek'), stg: new Set([...v.querySelectorAll('.iv-tl .iv-tlp')].map((x) => x.dataset.ivStage)).size + v.querySelectorAll('.iv-tl .iv-tl-sk').length }; }));
122
+ const ip = await until(() => p.evaluate(() => { const v = document.querySelector('#czViewer'); if (!v || v.hidden || !/Initiative/.test(v.getAttribute('aria-label') || '')) return null; return { t: v.querySelector('.cz-vw-title').textContent, peek: !document.querySelector('#peek'), stg: v.querySelectorAll('.mi-svg :is(.mi-st, .mi-dsh)').length }; }));
123
123
  ok('O an initiative in the tree opens the Board\'s initiative in the same shell, with its eight steps (XvABoard)', !!ip && ip.t === 'Descope feature parity' && ip.peek && ip.stg === 8, JSON.stringify(ip));
124
124
  await p.keyboard.press('Escape');
125
125
  await until(() => p.evaluate(() => document.querySelector('#czViewer').hidden));
@@ -166,7 +166,7 @@ function dashFor(r) {
166
166
  if (!r || !r.id) return null;
167
167
  if (!DASH.has(r.key)) {
168
168
  const M = O.M() || {}, B = M.board || {}, vid = vidOf(r);
169
- DASH.set(r.key, DB.dashHost({ page: 'initiative:' + r.id, scope: 'initiative:' + r.id, ws: r.ws || B.ws || '', board: r.boardId || B.id || '', vid, VW,
169
+ DASH.set(r.key, DB.dashHost({ page: 'initiative:' + r.id, menu: true, scope: 'initiative:' + r.id, ws: r.ws || B.ws || '', board: r.boardId || B.id || '', vid, VW,
170
170
  redraw: () => refresh(true), toast: (t) => (O.toast ? O.toast(t) : null),
171
171
  openReport: async (row) => { if (!row.path) return; VW.drill(); (await import('./premium-report-read.js')).openReportView(row.path, { ws: r.ws || B.ws || '', name: row.name, cuts: true }); } }));
172
172
  }
@@ -242,7 +242,7 @@ export function openIni(r, from, o = {}) {
242
242
  readLay(r); // Moves on by itself shows once the layout record is read
243
243
  { const h = dashFor(r); if (h) h.read(o.via || 'act'); } // a Board row is a press to act (PbH1Header); a link to read passes via 'read'
244
244
  // the same tile as Home's initiative page; no "Open in full": the header's expand already opens it wide (batch 14 item 5)
245
- VW.open({ kind: 'Initiative', title: r.title, icon: 'goal', id: vidOf(r),
245
+ VW.open({ kind: 'Initiative', title: r.title, icon: 'goal', wrap: true, id: vidOf(r),
246
246
  discuss: r.id ? true : () => location.assign(O.askHref(r, '')), more: () => iniMore(O.rowOf(r.key) || r), rename: O.rename ? O.rename(r) : null,
247
247
  presses: dashFor(r) ? dashFor(r).presses() : null, onPress: (a) => { const h = dashFor(O.rowOf(r.key) || r); if (a === 'dash' && h) h.toggle(); },
248
248
  render: (body) => { const x = O.rowOf(r.key) || r; cur = { key: x.key, tk: null }; O.onShow(x.key, from); body.innerHTML = iniBody(x); wire(body, x.key); { const h = dashFor(x); if (h) h.wire(body); } if (adding === x.key) { const f = body.querySelector('#ivAddTask'); if (f && document.activeElement !== f) f.focus(); } },
@@ -42,7 +42,7 @@ export function svgIcon(paths, cls) {
42
42
  export const GEAR = ['M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z', 'M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'];
43
43
  export const GRIP = ['M9 5h.01M9 12h.01M9 19h.01M15 5h.01M15 12h.01M15 19h.01'];
44
44
  export const PAUSE = ['M8 5v14M16 5v14'];
45
- export const JIRA = ['M12 3l9 9-9 9-9-9z', 'M12 8l4 4-4 4-4-4z'];
45
+ export const JIRA = ['M4 7h16v3a2 2 0 0 0 0 4v3H4v-3a2 2 0 0 0 0-4z', 'M14 7v10']; // a ticket, never ◇: ◇ is a milestone (batch 18 item 12)
46
46
  /** An icon by name: the sprite's, or one of the three drawn here. */
47
47
  export function icon(name, cls) {
48
48
  if (name === 'settings') return svgIcon(GEAR, cls);
@@ -91,3 +91,24 @@ html.ad-still .ad-svg .ad-gw { animation: none; }
91
91
  .cz-pull-ad { display: inline-flex; transform: translateY(max(0px, calc(44px - var(--cz-pull, 0px)))); }
92
92
  .cz-pull-t { font-size: var(--fs-2); font-weight: 700; color: var(--cz-ink3); padding-bottom: 8px; }
93
93
  .cz-pull-t:empty { display: none; }
94
+
95
+ /* Adler dressed for the season (batch 18 item 8-B): adk- a charm's fill, adks- its stroke, adg-<key>0/1 its sky, adf-<key>g its ground */
96
+ .adk-amber1{fill:var(--ad-k-amber1)} .adk-amber10{fill:var(--ad-k-amber10)} .adk-amber2{fill:var(--ad-k-amber2)} .adk-amber3{fill:var(--ad-k-amber3)} .adk-amber4{fill:var(--ad-k-amber4)} .adk-amber5{fill:var(--ad-k-amber5)} .adk-amber6{fill:var(--ad-k-amber6)} .adk-amber7{fill:var(--ad-k-amber7)} .adk-amber8{fill:var(--ad-k-amber8)} .adk-amber9{fill:var(--ad-k-amber9)} .adk-blue1{fill:var(--ad-k-blue1)} .adk-blue10{fill:var(--ad-k-blue10)} .adk-blue11{fill:var(--ad-k-blue11)} .adk-blue12{fill:var(--ad-k-blue12)} .adk-blue13{fill:var(--ad-k-blue13)} .adk-blue2{fill:var(--ad-k-blue2)} .adk-blue3{fill:var(--ad-k-blue3)} .adk-blue4{fill:var(--ad-k-blue4)} .adk-blue5{fill:var(--ad-k-blue5)} .adk-blue6{fill:var(--ad-k-blue6)} .adk-blue7{fill:var(--ad-k-blue7)} .adk-blue8{fill:var(--ad-k-blue8)} .adk-blue9{fill:var(--ad-k-blue9)} .adk-brown1{fill:var(--ad-k-brown1)} .adk-brown2{fill:var(--ad-k-brown2)} .adk-brown3{fill:var(--ad-k-brown3)} .adk-brown4{fill:var(--ad-k-brown4)} .adk-gold1{fill:var(--ad-k-gold1)} .adk-gold10{fill:var(--ad-k-gold10)} .adk-gold11{fill:var(--ad-k-gold11)} .adk-gold12{fill:var(--ad-k-gold12)} .adk-gold13{fill:var(--ad-k-gold13)} .adk-gold14{fill:var(--ad-k-gold14)} .adk-gold15{fill:var(--ad-k-gold15)} .adk-gold16{fill:var(--ad-k-gold16)} .adk-gold17{fill:var(--ad-k-gold17)} .adk-gold18{fill:var(--ad-k-gold18)} .adk-gold2{fill:var(--ad-k-gold2)} .adk-gold3{fill:var(--ad-k-gold3)} .adk-gold4{fill:var(--ad-k-gold4)} .adk-gold5{fill:var(--ad-k-gold5)} .adk-gold6{fill:var(--ad-k-gold6)} .adk-gold7{fill:var(--ad-k-gold7)} .adk-gold9{fill:var(--ad-k-gold9)} .adk-green1{fill:var(--ad-k-green1)} .adk-green2{fill:var(--ad-k-green2)} .adk-green3{fill:var(--ad-k-green3)} .adk-green4{fill:var(--ad-k-green4)} .adk-green6{fill:var(--ad-k-green6)} .adk-green7{fill:var(--ad-k-green7)} .adk-green8{fill:var(--ad-k-green8)} .adk-grey1{fill:var(--ad-k-grey1)} .adk-grey2{fill:var(--ad-k-grey2)} .adk-grey3{fill:var(--ad-k-grey3)} .adk-grey4{fill:var(--ad-k-grey4)} .adk-grey5{fill:var(--ad-k-grey5)} .adk-ink1{fill:var(--ad-k-ink1)} .adk-ink2{fill:var(--ad-k-ink2)} .adk-ink3{fill:var(--ad-k-ink3)} .adk-orange1{fill:var(--ad-k-orange1)} .adk-orange2{fill:var(--ad-k-orange2)} .adk-orange3{fill:var(--ad-k-orange3)} .adk-orange4{fill:var(--ad-k-orange4)} .adk-orange5{fill:var(--ad-k-orange5)} .adk-orange6{fill:var(--ad-k-orange6)} .adk-paper1{fill:var(--ad-k-paper1)} .adk-paper10{fill:var(--ad-k-paper10)} .adk-paper11{fill:var(--ad-k-paper11)} .adk-paper12{fill:var(--ad-k-paper12)} .adk-paper2{fill:var(--ad-k-paper2)} .adk-paper3{fill:var(--ad-k-paper3)} .adk-paper4{fill:var(--ad-k-paper4)} .adk-paper6{fill:var(--ad-k-paper6)} .adk-paper7{fill:var(--ad-k-paper7)} .adk-paper8{fill:var(--ad-k-paper8)} .adk-paper9{fill:var(--ad-k-paper9)} .adk-red1{fill:var(--ad-k-red1)} .adk-red10{fill:var(--ad-k-red10)} .adk-red11{fill:var(--ad-k-red11)} .adk-red2{fill:var(--ad-k-red2)} .adk-red3{fill:var(--ad-k-red3)} .adk-red4{fill:var(--ad-k-red4)} .adk-red5{fill:var(--ad-k-red5)} .adk-red6{fill:var(--ad-k-red6)} .adk-red7{fill:var(--ad-k-red7)} .adk-red8{fill:var(--ad-k-red8)} .adk-red9{fill:var(--ad-k-red9)} .adk-teal1{fill:var(--ad-k-teal1)} .adk-violet1{fill:var(--ad-k-violet1)} .adk-white{fill:var(--ad-white)}
97
+ .adks-amber1{stroke:var(--ad-k-amber1)} .adks-amber10{stroke:var(--ad-k-amber10)} .adks-amber2{stroke:var(--ad-k-amber2)} .adks-amber3{stroke:var(--ad-k-amber3)} .adks-amber4{stroke:var(--ad-k-amber4)} .adks-amber5{stroke:var(--ad-k-amber5)} .adks-amber6{stroke:var(--ad-k-amber6)} .adks-amber7{stroke:var(--ad-k-amber7)} .adks-amber8{stroke:var(--ad-k-amber8)} .adks-amber9{stroke:var(--ad-k-amber9)} .adks-blue1{stroke:var(--ad-k-blue1)} .adks-blue10{stroke:var(--ad-k-blue10)} .adks-blue11{stroke:var(--ad-k-blue11)} .adks-blue12{stroke:var(--ad-k-blue12)} .adks-blue13{stroke:var(--ad-k-blue13)} .adks-blue2{stroke:var(--ad-k-blue2)} .adks-blue3{stroke:var(--ad-k-blue3)} .adks-blue4{stroke:var(--ad-k-blue4)} .adks-blue5{stroke:var(--ad-k-blue5)} .adks-blue6{stroke:var(--ad-k-blue6)} .adks-blue7{stroke:var(--ad-k-blue7)} .adks-blue8{stroke:var(--ad-k-blue8)} .adks-blue9{stroke:var(--ad-k-blue9)} .adks-brown1{stroke:var(--ad-k-brown1)} .adks-brown2{stroke:var(--ad-k-brown2)} .adks-brown3{stroke:var(--ad-k-brown3)} .adks-brown4{stroke:var(--ad-k-brown4)} .adks-gold1{stroke:var(--ad-k-gold1)} .adks-gold10{stroke:var(--ad-k-gold10)} .adks-gold11{stroke:var(--ad-k-gold11)} .adks-gold12{stroke:var(--ad-k-gold12)} .adks-gold13{stroke:var(--ad-k-gold13)} .adks-gold14{stroke:var(--ad-k-gold14)} .adks-gold15{stroke:var(--ad-k-gold15)} .adks-gold16{stroke:var(--ad-k-gold16)} .adks-gold17{stroke:var(--ad-k-gold17)} .adks-gold18{stroke:var(--ad-k-gold18)} .adks-gold2{stroke:var(--ad-k-gold2)} .adks-gold3{stroke:var(--ad-k-gold3)} .adks-gold4{stroke:var(--ad-k-gold4)} .adks-gold5{stroke:var(--ad-k-gold5)} .adks-gold6{stroke:var(--ad-k-gold6)} .adks-gold7{stroke:var(--ad-k-gold7)} .adks-gold9{stroke:var(--ad-k-gold9)} .adks-green1{stroke:var(--ad-k-green1)} .adks-green2{stroke:var(--ad-k-green2)} .adks-green3{stroke:var(--ad-k-green3)} .adks-green4{stroke:var(--ad-k-green4)} .adks-green6{stroke:var(--ad-k-green6)} .adks-green7{stroke:var(--ad-k-green7)} .adks-green8{stroke:var(--ad-k-green8)} .adks-grey1{stroke:var(--ad-k-grey1)} .adks-grey2{stroke:var(--ad-k-grey2)} .adks-grey3{stroke:var(--ad-k-grey3)} .adks-grey4{stroke:var(--ad-k-grey4)} .adks-grey5{stroke:var(--ad-k-grey5)} .adks-ink1{stroke:var(--ad-k-ink1)} .adks-ink2{stroke:var(--ad-k-ink2)} .adks-ink3{stroke:var(--ad-k-ink3)} .adks-orange1{stroke:var(--ad-k-orange1)} .adks-orange2{stroke:var(--ad-k-orange2)} .adks-orange3{stroke:var(--ad-k-orange3)} .adks-orange4{stroke:var(--ad-k-orange4)} .adks-orange5{stroke:var(--ad-k-orange5)} .adks-orange6{stroke:var(--ad-k-orange6)} .adks-paper1{stroke:var(--ad-k-paper1)} .adks-paper10{stroke:var(--ad-k-paper10)} .adks-paper11{stroke:var(--ad-k-paper11)} .adks-paper12{stroke:var(--ad-k-paper12)} .adks-paper2{stroke:var(--ad-k-paper2)} .adks-paper3{stroke:var(--ad-k-paper3)} .adks-paper4{stroke:var(--ad-k-paper4)} .adks-paper6{stroke:var(--ad-k-paper6)} .adks-paper7{stroke:var(--ad-k-paper7)} .adks-paper8{stroke:var(--ad-k-paper8)} .adks-paper9{stroke:var(--ad-k-paper9)} .adks-red1{stroke:var(--ad-k-red1)} .adks-red10{stroke:var(--ad-k-red10)} .adks-red11{stroke:var(--ad-k-red11)} .adks-red2{stroke:var(--ad-k-red2)} .adks-red3{stroke:var(--ad-k-red3)} .adks-red4{stroke:var(--ad-k-red4)} .adks-red5{stroke:var(--ad-k-red5)} .adks-red6{stroke:var(--ad-k-red6)} .adks-red7{stroke:var(--ad-k-red7)} .adks-red8{stroke:var(--ad-k-red8)} .adks-red9{stroke:var(--ad-k-red9)} .adks-teal1{stroke:var(--ad-k-teal1)} .adks-violet1{stroke:var(--ad-k-violet1)} .adks-white{stroke:var(--ad-white)}
98
+ .adg-newyear0{stop-color:var(--ad-newyear0)} .adg-newyear1{stop-color:var(--ad-newyear1)} .adf-newyearg{fill:var(--ad-newyearg)} .adg-cny0{stop-color:var(--ad-cny0)} .adg-cny1{stop-color:var(--ad-cny1)} .adf-cnyg{fill:var(--ad-cnyg)} .adg-lantern0{stop-color:var(--ad-lantern0)} .adg-lantern1{stop-color:var(--ad-lantern1)} .adf-lanterng{fill:var(--ad-lanterng)} .adg-valentine0{stop-color:var(--ad-valentine0)} .adg-valentine1{stop-color:var(--ad-valentine1)} .adf-valentineg{fill:var(--ad-valentineg)} .adg-ramadan0{stop-color:var(--ad-ramadan0)} .adg-ramadan1{stop-color:var(--ad-ramadan1)} .adf-ramadang{fill:var(--ad-ramadang)} .adg-raya0{stop-color:var(--ad-raya0)} .adg-raya1{stop-color:var(--ad-raya1)} .adf-rayag{fill:var(--ad-rayag)} .adg-haji0{stop-color:var(--ad-haji0)} .adg-haji1{stop-color:var(--ad-haji1)} .adf-hajig{fill:var(--ad-hajig)} .adg-iwd0{stop-color:var(--ad-iwd0)} .adg-iwd1{stop-color:var(--ad-iwd1)} .adf-iwdg{fill:var(--ad-iwdg)} .adg-pi0{stop-color:var(--ad-pi0)} .adg-pi1{stop-color:var(--ad-pi1)} .adf-pig{fill:var(--ad-pig)} .adg-easter0{stop-color:var(--ad-easter0)} .adg-easter1{stop-color:var(--ad-easter1)} .adf-easterg{fill:var(--ad-easterg)} .adg-earth0{stop-color:var(--ad-earth0)} .adg-earth1{stop-color:var(--ad-earth1)} .adf-earthg{fill:var(--ad-earthg)} .adg-labour0{stop-color:var(--ad-labour0)} .adg-labour1{stop-color:var(--ad-labour1)} .adf-labourg{fill:var(--ad-labourg)} .adg-vesak0{stop-color:var(--ad-vesak0)} .adg-vesak1{stop-color:var(--ad-vesak1)} .adf-vesakg{fill:var(--ad-vesakg)} .adg-dragonboat0{stop-color:var(--ad-dragonboat0)} .adg-dragonboat1{stop-color:var(--ad-dragonboat1)} .adf-dragonboatg{fill:var(--ad-dragonboatg)} .adg-natday0{stop-color:var(--ad-natday0)} .adg-natday1{stop-color:var(--ad-natday1)} .adf-natdayg{fill:var(--ad-natdayg)} .adg-moon0{stop-color:var(--ad-moon0)} .adg-moon1{stop-color:var(--ad-moon1)} .adf-moong{fill:var(--ad-moong)} .adg-ndp0{stop-color:var(--ad-ndp0)} .adg-ndp1{stop-color:var(--ad-ndp1)} .adf-ndpg{fill:var(--ad-ndpg)} .adg-teachers0{stop-color:var(--ad-teachers0)} .adg-teachers1{stop-color:var(--ad-teachers1)} .adf-teachersg{fill:var(--ad-teachersg)} .adg-midautumn0{stop-color:var(--ad-midautumn0)} .adg-midautumn1{stop-color:var(--ad-midautumn1)} .adf-midautumng{fill:var(--ad-midautumng)} .adg-exam0{stop-color:var(--ad-exam0)} .adg-exam1{stop-color:var(--ad-exam1)} .adf-examg{fill:var(--ad-examg)} .adg-children0{stop-color:var(--ad-children0)} .adg-children1{stop-color:var(--ad-children1)} .adf-childreng{fill:var(--ad-childreng)} .adg-nightrace0{stop-color:var(--ad-nightrace0)} .adg-nightrace1{stop-color:var(--ad-nightrace1)} .adf-nightraceg{fill:var(--ad-nightraceg)} .adg-halloween0{stop-color:var(--ad-halloween0)} .adg-halloween1{stop-color:var(--ad-halloween1)} .adf-halloweeng{fill:var(--ad-halloweeng)} .adg-deepavali0{stop-color:var(--ad-deepavali0)} .adg-deepavali1{stop-color:var(--ad-deepavali1)} .adf-deepavalig{fill:var(--ad-deepavalig)} .adg-thanks0{stop-color:var(--ad-thanks0)} .adg-thanks1{stop-color:var(--ad-thanks1)} .adf-thanksg{fill:var(--ad-thanksg)} .adg-hanukkah0{stop-color:var(--ad-hanukkah0)} .adg-hanukkah1{stop-color:var(--ad-hanukkah1)} .adf-hanukkahg{fill:var(--ad-hanukkahg)} .adg-christmas0{stop-color:var(--ad-christmas0)} .adg-christmas1{stop-color:var(--ad-christmas1)} .adf-christmasg{fill:var(--ad-christmasg)} .adg-dongzhi0{stop-color:var(--ad-dongzhi0)} .adg-dongzhi1{stop-color:var(--ad-dongzhi1)} .adf-dongzhig{fill:var(--ad-dongzhig)} .adg-pongal0{stop-color:var(--ad-pongal0)} .adg-pongal1{stop-color:var(--ad-pongal1)} .adf-pongalg{fill:var(--ad-pongalg)} .adg-football0{stop-color:var(--ad-football0)} .adg-football1{stop-color:var(--ad-football1)} .adf-footballg{fill:var(--ad-footballg)} .adg-games0{stop-color:var(--ad-games0)} .adg-games1{stop-color:var(--ad-games1)} .adf-gamesg{fill:var(--ad-gamesg)} .adg-movie0{stop-color:var(--ad-movie0)} .adg-movie1{stop-color:var(--ad-movie1)} .adf-movieg{fill:var(--ad-movieg)} .adg-music0{stop-color:var(--ad-music0)} .adg-music1{stop-color:var(--ad-music1)} .adf-musicg{fill:var(--ad-musicg)} .adg-spring0{stop-color:var(--ad-spring0)} .adg-spring1{stop-color:var(--ad-spring1)} .adf-springg{fill:var(--ad-springg)} .adg-summer0{stop-color:var(--ad-summer0)} .adg-summer1{stop-color:var(--ad-summer1)} .adf-summerg{fill:var(--ad-summerg)} .adg-autumn0{stop-color:var(--ad-autumn0)} .adg-autumn1{stop-color:var(--ad-autumn1)} .adf-autumng{fill:var(--ad-autumng)} .adg-winter0{stop-color:var(--ad-winter0)} .adg-winter1{stop-color:var(--ad-winter1)} .adf-winterg{fill:var(--ad-winterg)} .adg-monsoon0{stop-color:var(--ad-monsoon0)} .adg-monsoon1{stop-color:var(--ad-monsoon1)} .adf-monsoong{fill:var(--ad-monsoong)} .adg-pmosday0{stop-color:var(--ad-pmosday0)} .adg-pmosday1{stop-color:var(--ad-pmosday1)} .adf-pmosdayg{fill:var(--ad-pmosdayg)} .adg-birthday0{stop-color:var(--ad-birthday0)} .adg-birthday1{stop-color:var(--ad-birthday1)} .adf-birthdayg{fill:var(--ad-birthdayg)}
99
+ /* the season scenes' own motion: a hanging lantern sways, snow drifts down in winter. Rain never falls in a season scene (rain means a source
100
+ * failed) and leaves never fall (falling leaves mean a real win). Both stop under reduced motion and under Motion: Still. */
101
+ .env-hang { animation: enHg 5.5s ease-in-out infinite; transform-box: fill-box; transform-origin: top center; }
102
+ @keyframes enHg { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
103
+ .env-snow { animation: enSn 9s linear infinite; opacity: 0; }
104
+ .env-snow.d2 { animation-delay: 3s; } .env-snow.d3 { animation-delay: 6s; }
105
+ @keyframes enSn { 0% { opacity: 0; transform: translate(0, 0); } 10% { opacity: .9; } 90% { opacity: .9; } 100% { opacity: 0; transform: translate(12px, 200px); } }
106
+ html.ad-still .env-hang, html.ad-still .env-snow { animation: none !important; opacity: 1; }
107
+ @media (prefers-reduced-motion: reduce) { .env-hang, .env-snow { animation: none !important; opacity: 1; } }
108
+ /* a dressed Adler is a button that says why (AsSet2Tap): the small dark popover, one icon to turn this day off, one to open the settings */
109
+ [data-ad-dress] { cursor: pointer; }
110
+ .ad-tip { display: flex; align-items: center; gap: 4px; margin: 8px 12px 0; padding: 6px 6px 6px 16px; border-radius: 8px; background: var(--cz-ink); color: var(--cz-card); box-shadow: 0 8px 24px rgba(20,24,40,.22); }
111
+ .ad-tip-t { flex: 1; font-size: var(--fs-3); line-height: 1.4; }
112
+ .ad-tip-b { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
113
+ .ad-tip-b:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
114
+ @media (hover: hover) { .ad-tip-b:hover { background: rgba(255,255,255,.12); } }