@gemboss/ui 0.74.0 → 0.75.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.
package/gemboss-ui.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * GemBoss admin design system — GENERATED — do not edit; regenerate from gemboss:
3
3
  * node apps/admin/scripts/export-ui-css.mjs --out <path> (npm run export:ui-css)
4
- * gemboss commit: fb8dd6c28a1528773f1bcce03e8994088a129dfe
4
+ * gemboss commit: 459cbe3d21bb17646fdf49a5ca9a966c872dd190
5
5
  * sources sha256: f2c51f5bf04abc797f2bbc7b7ea56f4ff4fc732d01c0e03341674b619847d2aa
6
6
  * contents: 1 allow-listed rule from apps/admin/src/app/globals.css + packages/ui/src/gemboss-tokens.css
7
7
  * (verbatim) + packages/ui/src/ui.css (verbatim) + packages/ui/src/gemboss-field.css (verbatim)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gemboss/ui",
3
- "version": "0.74.0",
3
+ "version": "0.75.0",
4
4
  "description": "GemBoss design system for every surface in the fleet: the admin shell (topbar + rail + drawer) as React components, and the admin stylesheet exported as one CSS file.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -34,6 +34,7 @@
34
34
  "./gemboss-field.css": "./src/gemboss-field.css",
35
35
  "./gemboss-field-drawn.css": "./src/gemboss-field-drawn.css",
36
36
  "./chips-drawn.css": "./src/chips-drawn.css",
37
+ "./select-drawn.css": "./src/select-drawn.css",
37
38
  "./app-shell.css": "./src/app-shell.css",
38
39
  "./shell.css": "./parts/shell.css",
39
40
  "./shell-source.css": "./src/shell.css",
@@ -1,5 +1,5 @@
1
1
  /*
2
2
  * @gemboss/ui components.css — GENERATED by packages/ui/scripts/build-css.mjs from export:ui + export:field + src/menu.css + src/pager.css + src/report-charts.css + src/media-card.css + src/kit-plain.css; do not edit
3
- * gemboss commit: fb8dd6c28a1528773f1bcce03e8994088a129dfe
3
+ * gemboss commit: 459cbe3d21bb17646fdf49a5ca9a966c872dd190
4
4
  */
5
5
  :root{--ui-surface: #ffffff;--ui-surface: var(--gemboss-surface, #ffffff);--ui-surface-2: var(--gemboss-hover, #eceef2);--ui-text: var(--gemboss-text, #1b1c1e);--ui-text-muted: var(--gemboss-text-muted, #686b71);--ui-border: var(--gemboss-divider, #e5e7ea);--ui-accent: var(--gemboss-primary, #1b1c1e);--ui-accent-hover: var(--gemboss-primary-dark, #000000);--ui-accent-fg: #ffffff;--ui-accent-soft: var(--gemboss-active-bg, #f0f1f4);--ui-accent-strong: var(--gemboss-active-fg, #1b1c1e);--ui-text-strong: var(--gemboss-text-strong, #1b1c1e);--ui-success-fg: var(--gemboss-success);--ui-warning-fg: var(--gemboss-primary-dark);--ui-danger-fg: var(--gemboss-danger-strong);--ui-focus: var(--gemboss-accent, #5661f5);--ui-radius-sm: 6px;--ui-radius-md: 8px;--ui-radius-lg: 12px;--ui-space-1: 4px;--ui-space-2: 8px;--ui-space-3: 12px;--ui-space-4: 16px;--ui-control-h: 32px;--ui-btn-h: 28px;--ui-card-shadow: 0 1px 0 rgba(26,26,26,.07);--ui-fs-body: 13px;--ui-fs-caption: 12px;--ui-content-max: 900px}.gemboss-admin-shell{--ui-surface: var(--adm-surface);--ui-surface-2: var(--adm-surface-2);--ui-text: var(--adm-text);--ui-text-muted: var(--adm-muted);--ui-border: var(--adm-divider);--ui-accent: var(--adm-accent);--ui-accent-hover: var(--gemboss-primary-dark, #000000);--ui-accent-fg: #ffffff;--ui-accent-soft: var(--adm-accent-soft);--ui-accent-strong: var(--adm-accent-fg);--ui-text-strong: var(--adm-text-strong);--ui-success-fg: color-mix(in srgb, var(--gemboss-success) 70%, #ffffff);--ui-warning-fg: color-mix(in srgb, #c99a2e 70%, #ffffff);--ui-danger-fg: color-mix(in srgb, var(--gemboss-danger-strong) 70%, #ffffff);--ui-focus: var(--adm-accent);--ui-card-shadow: none}.ui-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--ui-space-2);height:var(--ui-btn-h);padding:0 var(--ui-space-3);box-sizing:border-box;line-height:1;white-space:nowrap;vertical-align:middle;border-radius:var(--ui-radius-md);font-family:inherit;font-size:var(--ui-fs-caption);font-weight:550;cursor:pointer;text-decoration:none;user-select:none;border:1px solid var(--ui-border);background:transparent;color:var(--ui-text);transition:background .12s ease,border-color .12s ease}@media (hover: hover){.ui-btn:hover{background:var(--ui-surface-2);text-decoration:none}}.ui-btn:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}.ui-btn[disabled],.ui-btn[aria-disabled=true]{opacity:.5;cursor:not-allowed}.ui-btn--primary{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-accent-fg)}@media (hover: hover){.ui-btn--primary:hover{background:var(--ui-accent-hover);border-color:var(--ui-accent-hover)}}.ui-btn--ghost{border-color:transparent;background:transparent;color:var(--ui-text-muted)}@media (hover: hover){.ui-btn--ghost:hover{background:var(--ui-surface-2);color:var(--ui-text)}}.ui-btn--critical{color:var(--gemboss-danger-strong)}@media (hover: hover){.ui-btn--critical:hover{background:var(--gemboss-danger-soft)}}.ui-btn--primary.ui-btn--critical{background:var(--gemboss-danger);border-color:var(--gemboss-danger);color:var(--gemboss-on-primary)}@media (hover: hover){.ui-btn--primary.ui-btn--critical:hover{background:var(--gemboss-danger-strong);border-color:var(--gemboss-danger-strong)}}.ui-btn--on{background:var(--ui-accent-soft);border-color:var(--ui-accent);color:var(--ui-accent-strong)}@media (hover: hover){.ui-btn--on:hover{background:var(--ui-accent-soft);border-color:var(--ui-accent);color:var(--ui-accent-strong)}}.ui-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);box-shadow:var(--ui-card-shadow);padding:var(--ui-space-4);color:var(--ui-text)}.ui-card__title{font-size:14px;line-height:20px;font-weight:650;margin:0 0 var(--ui-space-2)}.ui-card__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--ui-space-2);margin-bottom:var(--ui-space-2)}.ui-card__head>.ui-card__title{margin:0}.ui-card__head>:last-child:not(.ui-card__title){display:flex;flex-wrap:wrap;gap:var(--ui-space-2)}.ui-select{height:var(--ui-control-h);padding:0 32px 0 12px;max-width:100%;background:var(--gemboss-field-bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'><path fill='%239a9aa4' d='M5 7l5 5 5-5z'/></svg>") no-repeat right 10px center;border:1px solid var(--gemboss-field-line);border-radius:var(--ui-radius-md);color:var(--gemboss-field-ink);font-family:inherit;font-size:var(--ui-fs-body);font-weight:450;appearance:none;-webkit-appearance:none;cursor:pointer}@media (hover: hover){.ui-select:hover:not(:disabled){border-color:var(--gemboss-field-line-hover);background-color:var(--gemboss-field-bg-hover)}}.ui-select:focus{outline:none}.ui-select:focus-visible:not(:disabled){outline:2px solid var(--ui-focus);outline-offset:1px;border-color:var(--gemboss-field-line-active)}.ui-select:disabled{opacity:.5;cursor:not-allowed}.ui-select--slim{height:30px;font-size:var(--ui-fs-caption)}.ui-tag{display:inline-flex;align-items:center;gap:6px;font-size:var(--ui-fs-caption);line-height:20px;font-weight:450;padding:0 6px;border-radius:var(--ui-radius-md);background:var(--ui-surface-2);color:var(--ui-text-muted)}.ui-tag--accent{background:var(--adm-accent-soft, rgba(20,22,26,.05));color:var(--adm-accent-fg, var(--ui-accent))}.ui-tag--chip{text-transform:none;letter-spacing:0;font-size:11px;font-weight:500;padding:2px 8px;background:transparent;border:1px solid var(--ui-border);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.ui-tag--chip.ui-tag--accent{color:var(--adm-accent-fg, var(--ui-accent));border-color:var(--ui-accent);background:transparent}.ui-chips{display:flex;flex-wrap:wrap;gap:var(--ui-space-2, 8px);margin:0;padding:0;list-style:none}.ui-chips>a.ui-tag--chip{min-height:28px;padding:4px 12px;border-radius:var(--ui-radius-md, 8px);font-family:inherit;font-size:var(--gemboss-fs-caption, 12px);color:var(--ui-text);text-decoration:none}@media (hover: hover){.ui-chips>a.ui-tag--chip:hover{background:var(--ui-surface-2);border-color:var(--ui-text-muted)}}.ui-chips>a.ui-tag--chip:focus-visible{outline:2px solid var(--ui-focus);outline-offset:1px}.ui-chips>a.ui-tag--chip[aria-current=page]{background:var(--ui-accent-soft);border-color:var(--ui-accent);color:var(--ui-accent-strong);font-weight:600}.ui-tag--success{background:var(--gemboss-success-soft);color:var(--gemboss-success-strong, var(--gemboss-success))}.ui-tag--warning{background:var(--gemboss-warning-soft);color:var(--gemboss-warning)}.ui-tag--danger{background:var(--gemboss-danger-soft);color:var(--gemboss-danger-strong, var(--gemboss-danger))}.ui-muted{color:var(--ui-text-muted);font-size:var(--ui-fs-caption)}.ui-page-head{margin-bottom:20px}.ui-page-head h1{color:var(--ui-text-strong);font-size:20px;line-height:24px;font-weight:700;letter-spacing:-.01em}.ui-page-head p{color:var(--ui-text-muted);font-size:var(--ui-fs-body);margin-top:4px}.ui-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px}.ui-metrics{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0}.ui-metric{display:flex;flex-direction:column;gap:1px;min-width:78px;padding:8px 12px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:12px}a.ui-metric{text-decoration:none;color:inherit}@media (hover: hover){a.ui-metric:hover{border-color:var(--ui-text-muted)}}a.ui-metric:focus-visible{outline:2px solid var(--ui-focus);outline-offset:1px}.ui-metric__val{font-size:17px;font-weight:700;color:var(--ui-text);font-variant-numeric:tabular-nums;line-height:1.15}.ui-metric__lbl{font-size:var(--ui-fs-caption);font-weight:500;color:var(--ui-text-muted)}.ui-metric--success{border-color:color-mix(in srgb,var(--gemboss-success) 40%,transparent)}.ui-metric--success .ui-metric__val{color:var(--ui-success-fg)}.ui-metric--warning{border-color:color-mix(in srgb,#c99a2e 40%,transparent)}.ui-metric--warning .ui-metric__val{color:var(--ui-warning-fg)}.ui-metric--danger{border-color:color-mix(in srgb,var(--gemboss-danger-strong) 40%,transparent)}.ui-metric--danger .ui-metric__val{color:var(--ui-danger-fg)}.ui-dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px 16px;margin:0}.ui-dl>div{min-width:0}.ui-dl dt{font-size:var(--ui-fs-caption);color:var(--ui-text-muted)}.ui-dl dd{margin:4px 0 0;font-weight:600;color:var(--ui-text);overflow-wrap:anywhere}.ui-notice{padding:12px 16px;border-radius:var(--ui-radius-md);border:1px solid var(--ui-border);background:var(--ui-surface-2);color:var(--ui-text);font-size:var(--ui-fs-body);overflow-wrap:anywhere}.ui-notice--warning{background:var(--gemboss-warning-soft);border-color:var(--gemboss-warning-border);color:var(--gemboss-warning)}.ui-notice--danger{background:var(--gemboss-danger-soft);border-color:var(--gemboss-danger-border);color:var(--gemboss-danger-strong)}.ui-notice--success{background:var(--gemboss-success-soft);border-color:var(--gemboss-success-border);color:var(--gemboss-success-strong)}.ui-pager{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0}.ui-pager>a{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);color:var(--ui-text);text-decoration:none;font-size:var(--ui-fs-body)}@media (hover: hover){.ui-pager>a:hover{background:var(--ui-surface-2)}}.ui-pager>a:focus-visible{outline:2px solid var(--ui-focus);outline-offset:1px}.ui-pager>[aria-current=page]{color:var(--ui-text-muted);font-size:var(--ui-fs-caption)}.ui-badge{display:inline-flex;align-items:center;gap:4px;font-size:var(--ui-fs-caption);line-height:16px;font-weight:450;white-space:nowrap;padding:2px 8px;border-radius:var(--ui-radius-md);background:color-mix(in srgb,var(--ui-text) 8%,transparent);color:var(--ui-text-muted)}.ui-overlay{position:fixed;inset:0;z-index:500;background:#1f1e1d38;-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);display:grid;place-items:center;padding:20px}.ui-modal{width:min(460px,100%);background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:16px;box-shadow:var(--gemboss-shadow-overlay, 0 20px 60px rgba(0, 0, 0, .4));overflow:hidden}.ui-modal--wide{width:min(620px,100%)}.ui-modal:focus{outline:none}.ui-modal__head{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--ui-border);font-size:14px;line-height:20px;font-weight:650;color:var(--ui-text)}.ui-modal__title{min-width:0;flex:1 1 auto}.ui-modal__subtitle{display:block;margin-top:2px;font-size:var(--ui-fs-caption);line-height:16px;font-weight:450;color:var(--ui-text-muted);overflow-wrap:anywhere}.ui-modal__actions{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2)}.ui-modal__close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:var(--ui-radius-md, 8px);background:transparent;color:var(--ui-text-muted);cursor:pointer}.ui-modal__close svg{width:20px;height:20px}@media (hover: hover){.ui-modal__close:hover{background:var(--ui-surface-2);color:var(--ui-text)}}.ui-modal__close:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}.ui-modal__body{padding:16px}.ui-modal__foot{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;padding:12px 16px;border-top:1px solid var(--ui-border)}@media (pointer: coarse),(max-width: 47.9975em){.ui-modal__close{width:44px;height:44px;margin:-8px -8px -8px 0}:is(.ui-modal__head,.ui-modal__foot) .ui-btn{min-height:44px}}.ui-modal--lg{position:relative}.ui-textarea{width:100%;min-height:96px;resize:vertical;box-sizing:border-box;background:var(--gemboss-field-bg);border:1px solid var(--gemboss-field-line);border-radius:var(--ui-radius-md);padding:12px;color:var(--gemboss-field-ink);font-size:var(--ui-fs-body);line-height:1.5;font-family:inherit}.ui-textarea::placeholder{color:var(--gemboss-field-placeholder)}@media (hover: hover){.ui-textarea:hover:not(:disabled){border-color:var(--gemboss-field-line-hover);background-color:var(--gemboss-field-bg-hover)}}.ui-textarea:focus{outline:none}.ui-textarea:focus-visible:not(:disabled){outline:2px solid var(--ui-focus);outline-offset:1px;border-color:var(--gemboss-field-line-active)}.ui-textarea:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 47.9975em){.ui-select.ui-select,.ui-textarea{font-size:16px}.ui-select:not(.ui-select--slim){min-height:44px}}.ui-seg{display:inline-flex;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);overflow:hidden;overflow:clip;min-width:0}.ui-seg :is(button,a){display:inline-grid;place-items:center;width:calc(var(--ui-btn-h) - 2px);height:calc(var(--ui-btn-h) - 2px);border:0;background:transparent;color:var(--ui-text-muted);cursor:pointer;font-family:inherit}.ui-seg :is(button,a).is-text{width:auto;padding:0 12px;font-size:var(--ui-fs-caption);font-weight:550;grid-auto-flow:column;column-gap:2px}.ui-seg :is(button,a)+:is(button,a){border-left:1px solid var(--ui-border)}@media (hover: hover){.ui-seg :is(button,a):hover{background:var(--ui-surface-2);color:var(--ui-text)}}.ui-seg :is(.active,[aria-pressed=true],[aria-current=page]){background:var(--ui-accent-soft);color:var(--ui-accent-strong);outline:1px solid;outline-offset:-1px;border-radius:calc(var(--ui-radius-md) - 1px)}.ui-seg :is(button,a):focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}.ui-seg a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:var(--ui-text-muted)}.ui-seg svg{width:16px;height:16px;fill:currentColor}.ui-seg svg[fill=none]{fill:none}.ui-seg :is(button,a):is(:disabled,[aria-disabled=true]){opacity:.45;cursor:not-allowed}@media (hover: hover){.ui-seg :is(button,a):is(:disabled,[aria-disabled=true]):not(.active,[aria-pressed=true],[aria-current=page]):hover{background:transparent;color:var(--ui-text-muted)}}.ui-seg--fill{display:flex;width:100%}.ui-seg.ui-seg--fill>:is(button,a).is-text{flex:1 1 0;min-width:0}.ui-seg-n{margin-left:6px;font-variant-numeric:tabular-nums;color:var(--ui-text-muted);font-weight:450}.ui-stats{display:flex;flex-wrap:wrap;gap:var(--ui-space-2);margin-bottom:24px}.ui-stat{display:inline-flex;align-items:center;gap:var(--ui-space-2);padding:6px 12px;border-radius:999px;font-family:inherit;background:var(--ui-surface);border:1px solid var(--ui-border);font-size:var(--ui-fs-caption);color:var(--ui-text-muted)}.ui-stat b{color:var(--ui-text-strong);font-weight:650}.ui-stat.is-clickable{cursor:pointer;transition:border-color .14s ease,background-color .14s ease}@media (hover: hover){.ui-stat.is-clickable:hover{border-color:var(--ui-text-muted);background:var(--ui-surface-2)}}.ui-stat.is-clickable.active{border-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-accent-strong)}.ui-stat.is-clickable.active b{color:var(--ui-accent-strong)}.gemboss-toast-viewport{position:fixed;left:50%;bottom:24px;transform:translate(-50%);z-index:2147483000;display:flex;flex-direction:column;align-items:center;gap:12px;width:max-content;max-width:min(560px,calc(100vw - 32px));pointer-events:none}.gemboss-toast{pointer-events:auto;display:flex;align-items:center;gap:12px;min-width:220px;max-width:100%;padding:12px 12px 12px 16px;background:var(--ui-text-strong, #1a1917);color:var(--gemboss-on-primary, #fff);border-radius:12px;font-size:var(--ui-fs-body, 13px);line-height:1.4;font-weight:500;box-shadow:var(--gemboss-shadow-overlay, 0 8px 28px rgba(0, 0, 0, .24));animation:gemboss-toast-in .24s cubic-bezier(.16,1,.3,1)}.gemboss-toast.is-error{background:var(--gemboss-danger, #d72c0d)}.gemboss-toast-text{flex:1 1 auto;min-width:0}.gemboss-toast-action{flex:0 0 auto;border:0;background:transparent;color:var(--gemboss-on-primary, #fff);cursor:pointer;min-height:44px;margin-block:-8px;padding:4px 8px;border-radius:8px;font:inherit;font-weight:650;text-decoration:underline;text-underline-offset:2px;transition:background .14s ease}@media (hover: hover){.gemboss-toast-action:hover{background:#ffffff29}}.gemboss-toast-dismiss{flex:0 0 auto;display:inline-grid;place-items:center;width:48px;height:48px;padding:12px;margin:-12px;border:0;border-radius:20px;cursor:pointer;background:#ffffff1f content-box;color:var(--gemboss-on-primary, #fff);transition:background .14s ease}@media (hover: hover){.gemboss-toast-dismiss:hover{background-color:#ffffff42}}.gemboss-toast-action:focus-visible,.gemboss-toast-dismiss:focus-visible{outline:2px solid var(--gemboss-on-primary, #fff);outline-offset:2px}@keyframes gemboss-toast-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion: reduce){.gemboss-toast{animation:none}}@media (max-width: 47.9975em){.ui-btn:not(.ui-btn--sm),.ui-seg :is(button,a){min-height:44px}.ui-seg :is(button,a):not(.is-text){min-width:44px}}@media (pointer: coarse){.ui-btn:not(.ui-btn--sm),.ui-stat.is-clickable,.ui-chips>a.ui-tag--chip,.ui-pager>a,.ui-seg :is(button,a){min-height:44px}.ui-stat.is-clickable{min-width:44px;justify-content:center}.ui-chips>a.ui-tag--chip{min-width:44px;justify-content:center}.ui-select.ui-select,.ui-select--slim.ui-select--slim{min-height:44px}.ui-seg :is(button,a){min-width:44px}}@media (pointer: coarse),(max-width: 47.9975em){.ui-seg{position:relative;isolation:isolate;overflow:visible;border-image:linear-gradient(#0000,#0000)}.ui-seg:before{content:"";position:absolute;inset-inline:-1px;top:0;bottom:0;margin-block:auto;height:var(--ui-btn-h);box-sizing:border-box;z-index:-1;pointer-events:none;border-width:inherit;border-style:inherit;border-color:inherit;border-image:none;border-radius:inherit}.ui-seg :is(button,a){position:relative;isolation:isolate;-webkit-background-clip:text!important;background-clip:text!important;border-image:linear-gradient(#0000,#0000)!important}.ui-seg :is(button,a):before{content:"";position:absolute;inset-inline:0;top:0;bottom:0;margin-block:auto;height:inherit;box-sizing:border-box;z-index:-1;pointer-events:none;background:inherit;background-clip:border-box;border-left-width:inherit;border-left-style:inherit;border-left-color:inherit;border-image:none;border-radius:inherit}.ui-seg :is(button,a)+:is(button,a):before{inset-inline-start:-1px}.ui-seg :is(.active,[aria-pressed=true],[aria-current=page]){outline-color:transparent}.ui-seg :is(.active,[aria-pressed=true],[aria-current=page]):before{outline:1px solid;outline-offset:-1px}}@media (pointer: coarse),(max-width: 47.9975em){:where(.ui-btn){position:relative;isolation:isolate}.ui-btn{-webkit-background-clip:text!important;background-clip:text!important;border-image:linear-gradient(#0000,#0000)!important}.ui-btn:before{content:"";position:absolute;inset:-1px;margin:auto;z-index:-1;box-sizing:border-box;width:inherit;height:inherit;max-width:calc(100% + 2px);max-height:calc(100% + 2px);background:inherit;background-clip:border-box;border-width:inherit;border-style:inherit;border-color:inherit;border-image:none;border-radius:inherit}}.ui-skeleton{display:flex;flex-direction:column;gap:var(--ui-space-2)}.ui-skeleton__line{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,var(--ui-surface-2) 25%,var(--ui-border) 37%,var(--ui-surface-2) 63%);background-size:400% 100%;animation:ui-skeleton-sheen 1.4s ease-in-out infinite}@keyframes ui-skeleton-sheen{0%{background-position:100% 50%}to{background-position:0 50%}}@media (prefers-reduced-motion: reduce){.ui-skeleton__line{animation:none;background:var(--ui-surface-2)}}.ui-sr-only{position:absolute;left:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.ui-resizer{cursor:col-resize;position:relative;touch-action:none;outline:none}.ui-resizer:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:4px;height:44px;border-radius:var(--gemboss-radius-full);background:var(--gemboss-primary);opacity:0;transition:opacity .14s ease,height .14s ease}.ui-resizer:hover:before,.ui-resizer:focus-visible:before,.ui-resizer.dragging:before,body.ui-resizing .ui-resizer:before{opacity:1;height:52px}@media (pointer: coarse){.ui-resizer:after{content:"";position:absolute;inset:0 -14px;touch-action:none;z-index:2}}body.ui-resizing,body.ui-resizing *{cursor:col-resize!important;user-select:none!important}body.ui-resizing:after{content:"";position:fixed;inset:0;z-index:9999;cursor:col-resize}.ui-tabs{display:flex;gap:var(--ui-space-2);border-bottom:1px solid var(--ui-border);overflow-x:auto;scrollbar-width:none}.ui-tabs>button,.ui-tabs>a{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:var(--ui-space-2);min-height:var(--ui-btn-h);padding:0 var(--ui-space-3);border:0;background:transparent;cursor:pointer;border-radius:var(--ui-radius-sm) var(--ui-radius-sm) 0 0;font-family:inherit;font-size:var(--ui-fs-caption);font-weight:550;white-space:nowrap;color:var(--ui-text-muted);transition:color var(--gemboss-transition-fast) ease,background-color var(--gemboss-transition-fast) ease}@media (hover: hover){.ui-tabs>button:hover,.ui-tabs>a:hover{color:var(--ui-text);background:var(--ui-surface-2)}}.ui-tabs>button:focus-visible,.ui-tabs>a:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}.ui-tabs>a{text-decoration:none}.ui-tabs>a[aria-current=page],.ui-tabs>button[aria-selected=true]{color:var(--ui-text-strong)}.ui-tabs>a[aria-current=page]:after,.ui-tabs>button[aria-selected=true]:after{content:"";position:absolute;left:var(--ui-space-3);right:var(--ui-space-3);bottom:0;height:2px;border-radius:var(--gemboss-radius-full);background:var(--ui-accent)}.ui-tabs>button:disabled{opacity:.5;cursor:not-allowed}@media (pointer: coarse),(max-width: 47.9975em){.ui-tabs>:is(button,a){min-height:44px}}.ui-table-wrap{overflow-x:auto;max-width:100%;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);box-shadow:var(--ui-card-shadow)}.ui-table{width:100%;border-collapse:collapse;font-size:var(--ui-fs-body);color:var(--ui-text)}.ui-table th,.ui-table td{padding:var(--ui-space-2) 6px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--ui-border)}.ui-table :is(th,td):where(:first-child){padding-left:var(--ui-space-3)}.ui-table :is(th,td):where(:last-child){padding-right:var(--ui-space-3)}.ui-table th{font-weight:450;color:var(--ui-text-muted);white-space:nowrap}.ui-table thead th{padding-block:var(--ui-space-3)}.ui-table tbody tr:last-child>:is(td,th){border-bottom:0}@media (hover: hover){.ui-table tbody tr:hover{background:var(--ui-surface-2)}}.ui-table .is-num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.ui-table td>a{display:inline-flex;align-items:center;min-height:24px}.ui-table .ui-sub{display:block;margin-top:2px;font-size:var(--ui-fs-caption);color:var(--ui-text-muted);font-weight:400}.ui-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ui-space-2);padding:var(--ui-space-4);padding-block:40px;text-align:center;color:var(--ui-text-muted);font-size:var(--ui-fs-body)}.ui-empty__title{margin:0;font-size:14px;line-height:20px;font-weight:650;color:var(--ui-text-strong)}.ui-empty__body{margin:0;max-width:48ch;line-height:1.5}.ui-empty>.ui-btn{margin-top:var(--ui-space-2)}.gemboss-field,.gemboss-control{box-sizing:border-box;height:32px;min-width:0;padding:0 12px;font:inherit;font-size:13px;line-height:20px;color:var(--gemboss-field-ink);background-color:var(--gemboss-field-bg);border:1px solid var(--gemboss-field-line);border-radius:8px}input[type=search]:is(.gemboss-field,.gemboss-field__bare){-webkit-appearance:none;appearance:none}.gemboss-field::placeholder{color:var(--gemboss-field-placeholder)}.gemboss-field--tall{min-height:44px}.gemboss-field--narrow{padding:0 6px;appearance:textfield;-moz-appearance:textfield}.gemboss-field--narrow::-webkit-outer-spin-button,.gemboss-field--narrow::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}@media (hover: hover){.gemboss-field:hover:not(:disabled):not(:has(.gemboss-field__bare:disabled)),.gemboss-control:hover:not(:disabled){border-color:var(--gemboss-field-line-hover);background-color:var(--gemboss-field-bg-hover)}}.gemboss-field:focus-visible,.gemboss-control:focus-visible{outline:2px solid var(--ui-focus, #5661f5);outline-offset:1px;border-color:var(--gemboss-field-line-active)}.gemboss-field:disabled,.gemboss-control:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 47.9975em){.gemboss-field,.gemboss-control{font-size:16px;min-height:44px}}textarea.gemboss-field{height:auto;padding:6px 12px;resize:vertical}.gemboss-field--group{display:flex;align-items:center;gap:6px;height:auto;min-height:32px;padding-right:0;overflow:hidden}@media (max-width: 47.9975em){.gemboss-field--group{min-height:44px}}.gemboss-field--group:focus-within{outline:2px solid var(--ui-focus, #5661f5);outline-offset:1px;border-color:var(--gemboss-field-line-active)}.gemboss-field--group input[type=color]{flex:none;align-self:stretch;width:44px;min-width:44px;height:auto;min-height:0;margin:-1px 0 -1px -12px;padding:0;border:0;border-right:1px solid var(--gemboss-field-line);border-radius:0;background:none;cursor:pointer}.gemboss-field--group input[type=color]::-webkit-color-swatch-wrapper{padding:0}.gemboss-field--group input[type=color]::-webkit-color-swatch{border:0;border-radius:0}.gemboss-field__bare{flex:1;min-width:0;align-self:stretch;margin-block:-1px;padding:0 12px 0 0;border:0;border-radius:0;outline:none;background:transparent;color:inherit;font:inherit}.gemboss-field__bare::placeholder{color:var(--gemboss-field-placeholder)}.gemboss-field__suffix{flex:none;padding-right:12px;color:var(--gemboss-field-placeholder)}.gemboss-field__bare:has(+.gemboss-field__suffix){padding-right:0}.gemboss-field--group:has(.gemboss-field__bare:disabled){opacity:.5;cursor:not-allowed}.gemboss-field__bare:disabled{cursor:not-allowed}@media (pointer: coarse){.gemboss-field,.gemboss-control{height:auto;min-height:44px}}.gemboss-control{cursor:pointer}.gemboss-control.gemboss-control--icon{width:32px;flex:0 0 auto;padding:0}@media (pointer: coarse){.gemboss-control.gemboss-control--icon{width:44px;min-width:44px}}.gemboss-field[aria-invalid=true],.gemboss-field--group:has([aria-invalid=true]){border-color:var(--gemboss-danger-strong);background-color:var(--gemboss-danger-soft)}.ui-btn--icon{flex:none;width:var(--ui-btn-h);padding:0}.ui-btn--icon svg{width:18px;height:18px}.ui-menu{position:relative;display:inline-block}.ui-menu>summary{list-style:none;cursor:pointer}.ui-menu>summary::-webkit-details-marker{display:none}.ui-menu__list{position:absolute;z-index:20;top:calc(100% + 4px);left:0;display:grid;padding:6px;box-sizing:border-box}.ui-menu--end .ui-menu__list{left:auto;right:0}.ui-menu__list[popover]{position:fixed;inset:auto;margin:0;overflow:auto}.ui-menu__list[popover]:not(:popover-open){display:none}:where(.ui-menu__list[popover]){border:0;background:none;color:inherit}:root[data-gb-menus=float] .ui-menu[open]>.ui-menu__list:not([popover]){visibility:hidden}.ui-menu__item:is([disabled],[aria-disabled=true]){opacity:.5;cursor:not-allowed;pointer-events:none}.ui-menu__hint{margin-left:auto;padding-left:var(--ui-space-4);color:var(--ui-text-muted);font-size:var(--ui-fs-caption)}.ui-menu__sep{height:1px;margin:var(--ui-space-1) 0;border:0;background:var(--ui-border)}@media (pointer: coarse){.ui-btn--icon:not(.ui-btn--sm){min-width:44px}}@media (max-width: 47.9975em){.ui-btn--icon:not(.ui-btn--sm){min-width:44px;min-height:44px}}.ui-pager>a,.ui-pager>[aria-disabled=true]{min-width:32px;justify-content:center;box-sizing:border-box;gap:4px}.ui-pager>a[aria-current=page]{background:var(--ui-text);border-color:var(--ui-text);color:var(--ui-surface);font-size:var(--ui-fs-body);font-weight:600}@media (hover: hover){.ui-pager>a[aria-current=page]:hover{background:var(--ui-text)}}.ui-pager>[aria-disabled=true]{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);color:var(--ui-text-muted);font-size:var(--ui-fs-body);opacity:.55;cursor:default}@media (hover: hover){.ui-pager>[aria-disabled=true]:hover{background:none}}.ui-pager__gap{min-width:16px;text-align:center;color:var(--ui-text-muted)}.ui-pager__range{margin-left:auto;color:var(--ui-text-muted);font-size:var(--ui-fs-body);font-variant-numeric:tabular-nums}@media (pointer: coarse),(max-width: 47.9975em){.ui-pager>a,.ui-pager>[aria-disabled=true]{min-width:44px;min-height:44px}}@media (max-width: 35.9975em){.ui-pager>a:not([rel]):not([aria-current]):not([aria-disabled]),.ui-pager__gap{display:none}}:root{--ui-series-1: var(--gemboss-accent, #5661f5);--ui-series-2: #0f9f8f;--ui-series-3: #d9822b;--ui-series-4: #c2417a;--ui-series-5: #6b7280}.ui-barlist{display:grid;gap:var(--ui-space-3);margin:0;padding:0;list-style:none;font-size:var(--ui-fs-body, 13px)}.ui-barlist>li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:4px var(--ui-space-3)}.ui-barlist__label{min-width:0;overflow-wrap:anywhere;color:var(--ui-text)}.ui-barlist__label a{color:inherit}.ui-barlist__val{font-weight:600;color:var(--ui-text);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.ui-barlist__share{margin-left:6px;font-weight:400;color:var(--ui-text-muted)}.ui-barlist__note{grid-column:1 / -1;margin-top:-2px;font-size:var(--gemboss-fs-caption);color:var(--ui-text-muted)}.ui-barlist__bar{grid-column:1 / -1;position:relative;height:6px;border-radius:999px;background:var(--ui-surface-2);overflow:hidden}.ui-barlist__bar:after{content:"";position:absolute;inset:0 auto 0 0;width:calc(var(--v, 0) * 100%);min-width:3px;border-radius:inherit;background:var(--c, var(--ui-series-1))}.ui-chart{margin:0}.ui-chart__plot{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:3px;height:180px;padding-top:18px;border-bottom:1px solid var(--ui-border);background:linear-gradient(to top,var(--ui-border) 1px,transparent 1px) 0 0 / 100% 25% repeat-y;background-origin:content-box;background-clip:content-box}.ui-chart__plot[data-max]:before{content:attr(data-max);position:absolute;top:0;left:0;font-size:var(--gemboss-fs-micro, 11px);line-height:1;color:var(--ui-text-muted);font-variant-numeric:tabular-nums}.ui-chart__col{position:relative;flex:1 1 0;min-width:0;max-width:48px;height:100%;display:flex;flex-direction:column-reverse}@media (hover: hover){.ui-chart__col:hover{background:color-mix(in srgb,var(--ui-text) 6%,transparent)}}.ui-chart__seg{display:block;flex:none;height:calc(var(--v, 0) * 100%);background:var(--c, var(--ui-series-1))}.ui-chart__dot{position:absolute;left:50%;bottom:calc(var(--v, 0) * 100%);width:8px;height:8px;margin:0 0 -4px -4px;box-sizing:border-box;border-radius:50%;background:var(--ui-surface);border:2px solid var(--c, var(--ui-text-strong, var(--ui-text)))}.ui-chart__axis{display:flex;justify-content:space-between;gap:var(--ui-space-2);margin-top:6px;font-size:var(--gemboss-fs-caption);color:var(--ui-text-muted);font-variant-numeric:tabular-nums}.ui-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:var(--ui-space-2) 0 0;font-size:var(--gemboss-fs-caption);color:var(--ui-text-muted)}.ui-legend__item{display:inline-flex;align-items:center;gap:6px}.ui-legend__item>i{display:inline-block;width:10px;height:10px;border-radius:2px;background:var(--c, var(--ui-series-1))}.ui-legend__item--dot>i{border-radius:50%;background:var(--ui-surface);border:2px solid var(--c, var(--ui-text-strong, var(--ui-text)));box-sizing:border-box}.ui-card--media{position:relative;padding:0;overflow:hidden;display:flex;flex-direction:column}.ui-card__link{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;color:var(--ui-text);font-size:var(--ui-fs-body);line-height:20px;font-weight:650;text-decoration:none;overflow-wrap:anywhere}.ui-card__link:after{content:"";position:absolute;inset:0;z-index:0}.ui-card__link:focus-visible{outline:none}.ui-card--media:has(.ui-card__link){cursor:pointer}@media (hover: hover){.ui-card--media:has(.ui-card__link:hover){border-color:var(--ui-text-muted)}}.ui-card--media:has(.ui-card__link:focus-visible){outline:2px solid var(--ui-focus);outline-offset:1px}.ui-card--media :is(.ui-card__foot button,.ui-card__foot a,.ui-card__body a:not(.ui-card__link),.ui-card__body button,select,input,summary){position:relative;z-index:1}.ui-card__menu{position:absolute;top:8px;right:8px;z-index:2}.ui-card--media:has(>.ui-card__menu){overflow:visible}.ui-card--media:has(>.ui-card__menu)>.ui-card__media{border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}.ui-card__meta{color:var(--ui-text-muted);font-size:var(--ui-fs-caption);line-height:16px}.ui-card--media[data-ratio="4/3"]>.ui-card__media{aspect-ratio:4 / 3}.ui-card--media[data-ratio="1/1"]>.ui-card__media{aspect-ratio:1 / 1}.ui-card__media{display:block;width:100%;aspect-ratio:16 / 10;margin:0;padding:0;border:0;border-bottom:1px solid var(--ui-border);background:var(--ui-surface-2);overflow:hidden;color:inherit}.ui-card__media>img{display:block;width:100%;height:100%;object-fit:cover}button.ui-card__media,a.ui-card__media{cursor:pointer}.ui-card__media:focus-visible{outline:2px solid var(--ui-focus, #5661f5);outline-offset:-2px}.ui-card__body{display:grid;justify-items:start;gap:var(--ui-space-2, 8px);padding:var(--ui-space-3, 12px) var(--ui-space-4, 16px);min-width:0}.ui-card__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--ui-space-2, 8px);margin-top:auto;padding:0 var(--ui-space-4, 16px) var(--ui-space-3, 12px);color:var(--ui-text-muted);font-size:var(--ui-fs-caption, 13px)}.ui-check{display:inline-flex;align-items:center;gap:var(--ui-space-2);min-height:44px;max-width:100%;overflow-wrap:break-word;cursor:pointer;font-size:var(--ui-fs-body);color:var(--ui-text)}.ui-check>input{flex:none;width:18px;height:18px;margin:0;accent-color:var(--ui-accent);cursor:inherit}.ui-check>input:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}.ui-check:has(>input:disabled){opacity:.5;cursor:not-allowed}.ui-check>:last-child:not(input){min-width:0}.ui-label{display:block;margin:0 0 var(--ui-space-1);font-size:var(--ui-fs-caption);font-weight:600;color:var(--ui-text-muted)}.ui-kv{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:var(--ui-space-2) var(--ui-space-4);margin:0;font-size:var(--ui-fs-body)}.ui-kv>dt{color:var(--ui-text-muted)}.ui-kv>dd{margin:0;min-width:0;overflow-wrap:anywhere;color:var(--ui-text)}.ui-link,.ui-prose :where(a:not([class])){color:var(--gemboss-accent-strong, #3a44de);text-decoration:underline;text-decoration-thickness:from-font;text-underline-offset:2px}.ui-link:visited,.ui-prose :where(a:not([class])):visited{color:var(--gemboss-accent-strong, #3a44de)}@media (hover: hover){.ui-link:hover,.ui-prose :where(a:not([class])):hover{color:var(--gemboss-accent, #5661f5);text-decoration-thickness:2px}}.ui-link:focus-visible,.ui-prose :where(a:not([class])):focus-visible{outline:2px solid var(--ui-focus, #5661f5);outline-offset:2px;border-radius:2px}.ui-overlay>.ui-modal{display:flex;flex-direction:column;max-height:calc(100dvh - 40px)}.ui-modal>.ui-modal__head,.ui-modal>.ui-modal__foot{flex:none}.ui-modal>.ui-modal__body{flex:1 1 auto;min-height:0;overflow:auto}.ui-delta{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:2px;font-size:var(--gemboss-fs-caption);font-weight:600;color:var(--ui-text-muted);font-variant-numeric:tabular-nums}.ui-delta--good{color:var(--ui-success-fg)}.ui-delta--bad{color:var(--ui-danger-fg)}.ui-metrics--grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:var(--ui-space-3);margin:0}.ui-metric--lg{gap:4px;padding:var(--ui-space-3) var(--ui-space-4)}.ui-metric--lg .ui-metric__val{font-size:24px;line-height:32px}.ui-metric--lg .ui-metric__lbl{order:-1;font-size:var(--ui-fs-body)}.ui-metric__foot{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:var(--gemboss-fs-caption);color:var(--ui-text-muted)}@media (max-width: 520px){.ui-metrics--grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.ui-funnel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:var(--ui-space-2);margin:0;padding:0;list-style:none}.ui-funnel>li{position:relative;display:flex;flex-direction:column;gap:2px;padding:var(--ui-space-3);border-radius:var(--ui-radius-md);background:var(--ui-surface-2);min-width:0}.ui-funnel__val{font-size:20px;font-weight:700;color:var(--ui-text);font-variant-numeric:tabular-nums;line-height:24px}.ui-funnel__lbl{font-size:var(--gemboss-fs-caption);color:var(--ui-text-muted);overflow-wrap:anywhere}.ui-funnel__rate{order:-1;font-size:var(--gemboss-fs-caption);font-weight:600;color:var(--ui-series-1);font-variant-numeric:tabular-nums}@media (max-width: 520px){.ui-funnel{grid-auto-flow:row}}.ui-grid{display:grid;gap:var(--ui-space-4);align-items:start}.ui-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width: 1100px){.ui-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 960px){.ui-grid--2{grid-template-columns:minmax(0,1fr)}}@media (max-width: 720px){.ui-grid--3{grid-template-columns:minmax(0,1fr)}}.ui-section-head{margin:var(--ui-space-4) 0 0}.ui-section-head>h2{margin:0;font-size:14px;line-height:20px;font-weight:650;color:var(--ui-text)}.ui-section-head>p{margin:2px 0 0;font-size:var(--gemboss-fs-caption);color:var(--ui-text-muted)}.ui-seg{max-width:100%;overflow-x:auto}.ui-seg :is(button,a).is-text{flex:none;white-space:nowrap}@media (max-width: 360px){.ui-seg :is(button,a).is-text{padding:0 9px}}.ui-btn--critical:focus-visible{outline-color:var(--gemboss-danger-strong)}@media (pointer: coarse),(max-width: 47.9975em){.ui-btn,.ui-btn.ui-btn--sm,.ui-select.ui-select{min-height:44px}.ui-btn--icon.ui-btn--sm{min-width:44px}.ui-seg :is(button,a){height:44px}}.ui-badge--success{background:var(--gemboss-success-soft);color:var(--gemboss-success-strong)}.ui-badge--warning{background:var(--gemboss-warning-soft);color:var(--gemboss-warning)}.ui-badge--critical{background:var(--gemboss-danger-soft);color:var(--gemboss-danger-strong)}.ui-badge--info{background:var(--gemboss-accent-soft);color:var(--gemboss-accent-strong)}.ui-badge--dot:before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:currentColor}.ui-banner{--ui-banner-bg: var(--ui-surface-2);--ui-banner-fg: var(--ui-text);border-radius:var(--ui-radius-lg);overflow:hidden;background:var(--ui-surface);color:var(--ui-text);box-shadow:0 0 0 1px var(--ui-border),0 3px 1px -1px #1a1a1a12;font-size:var(--ui-fs-body);line-height:20px}.ui-banner--success{--ui-banner-bg: var(--gemboss-success-soft);--ui-banner-fg: var(--gemboss-success-strong)}.ui-banner--warning{--ui-banner-bg: var(--gemboss-warning-soft);--ui-banner-fg: var(--gemboss-warning)}.ui-banner--critical{--ui-banner-bg: var(--gemboss-danger-soft);--ui-banner-fg: var(--gemboss-danger-strong)}.ui-banner--info{--ui-banner-bg: var(--gemboss-accent-soft);--ui-banner-fg: var(--gemboss-accent-strong)}.ui-banner__head{display:flex;align-items:center;gap:var(--ui-space-2);min-height:32px;padding:6px var(--ui-space-3);background:var(--ui-banner-bg);color:var(--ui-banner-fg)}.ui-banner__icon{flex:none;width:20px;height:20px;fill:currentColor}.ui-banner__title{flex:1 1 auto;min-width:0;margin:0;font-size:var(--ui-fs-body);font-weight:650;line-height:20px}.ui-banner__close{flex:none;display:inline-grid;place-items:center;width:32px;height:32px;margin:-6px -8px -6px 0;border:0;border-radius:var(--ui-radius-md);background:transparent;color:inherit;cursor:pointer}@media (hover: hover){.ui-banner__close:hover{background:color-mix(in srgb,currentColor 10%,transparent)}}.ui-banner__close:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}.ui-banner__close svg{width:16px;height:16px}.ui-banner__body{padding:var(--ui-space-3) var(--ui-space-4)}.ui-banner__body>:first-child{margin-top:0}.ui-banner__body>:last-child{margin-bottom:0}.ui-banner__actions{display:flex;flex-wrap:wrap;gap:var(--ui-space-2);margin-top:var(--ui-space-3)}@media (pointer: coarse),(max-width: 47.9975em){.ui-banner__close{width:44px;height:44px;margin:-12px -12px -12px 0}}.ui-help{margin:var(--ui-space-1) 0 0;font-size:var(--ui-fs-body);line-height:20px;color:var(--ui-text-muted)}.ui-error:empty{display:none}.ui-error{display:flex;gap:6px;margin:var(--ui-space-1) 0 0;font-size:var(--ui-fs-body);line-height:20px;color:var(--gemboss-danger-strong)}.ui-error:before{content:"";flex:none;width:16px;height:16px;margin-top:2px;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-.75 4h1.5v5.5h-1.5V6Zm.75 9a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z'/></svg>") center / contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-.75 4h1.5v5.5h-1.5V6Zm.75 9a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z'/></svg>") center / contain no-repeat}.ui-select[aria-invalid=true],.ui-textarea[aria-invalid=true]{border-color:var(--gemboss-danger-strong);background-color:var(--gemboss-danger-soft)}.ui-choices{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;padding:0;border:0;min-width:0}.ui-choices>legend{padding:0}.ui-switch>input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;width:32px;height:20px;margin:0;border-radius:var(--gemboss-radius-full);background:var(--gemboss-field-line);transition:background-color var(--gemboss-transition-fast) ease}.ui-switch>input[type=checkbox]:before{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--gemboss-surface);box-shadow:0 1px 2px #0003;transition:transform var(--gemboss-transition-fast) ease}.ui-switch>input[type=checkbox]:checked{background:var(--ui-accent)}.ui-switch>input[type=checkbox]:checked:before{transform:translate(12px)}@media (prefers-reduced-motion: reduce){.ui-switch>input[type=checkbox],.ui-switch>input[type=checkbox]:before{transition:none}}.ui-tooltip{position:relative;display:inline-flex}.ui-tooltip__bubble{position:absolute;z-index:30;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);width:max-content;max-width:240px;padding:4px 8px;border-radius:var(--ui-radius-md);background:var(--ui-surface);color:var(--ui-text);font-size:var(--ui-fs-body);line-height:20px;font-weight:450;box-shadow:0 8px 16px -4px #1a1a1a38,0 0 0 1px var(--ui-border);opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--gemboss-transition-fast) ease}.ui-tooltip--end .ui-tooltip__bubble{left:auto;right:0;transform:none}.ui-tooltip:hover>.ui-tooltip__bubble,.ui-tooltip:focus-within>.ui-tooltip__bubble{opacity:1;visibility:visible}.ui-spinner{display:inline-block;flex:none;width:20px;height:20px;box-sizing:border-box;border-radius:50%;border:2px solid color-mix(in srgb,var(--ui-text) 18%,transparent);border-top-color:var(--ui-text);animation:ui-spin .7s linear infinite;vertical-align:middle}.ui-spinner--lg{width:44px;height:44px;border-width:4px}@keyframes ui-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.ui-spinner{animation-duration:2s}}.ui-progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:8px;border:0;border-radius:var(--gemboss-radius-full);overflow:hidden;background:var(--gemboss-divider);color:var(--ui-accent)}.ui-progress::-webkit-progress-bar{background:var(--gemboss-divider);border-radius:inherit}.ui-progress::-webkit-progress-value{background:currentColor;border-radius:inherit}.ui-progress::-moz-progress-bar{background:currentColor;border-radius:inherit}.ui-progress--success{color:var(--gemboss-success)}.ui-progress--critical{color:var(--gemboss-danger)}dialog.ui-modal{padding:0;max-width:calc(100% - 40px);max-height:calc(100dvh - 40px);color:var(--ui-text)}dialog.ui-modal[open]{display:flex;flex-direction:column}dialog.ui-modal::backdrop{background:#1f1e1d38;-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4)}html:has(dialog.ui-modal:modal){overflow:hidden}@media (pointer: coarse),(max-width: 47.9975em){.ui-btn.ui-btn--sm{min-width:44px}}.ui-badge--wrap{white-space:normal;overflow-wrap:anywhere;line-height:16px}.ui-page-head--actions{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 16px}.ui-page-head--actions>:first-child{min-width:0}.ui-page-head__actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2)}.ui-chips>button.ui-tag--chip{min-height:28px;padding:4px 12px;border-radius:var(--ui-radius-md, 8px);cursor:pointer;font-family:inherit;font-size:var(--gemboss-fs-caption, 12px);color:var(--ui-text)}@media (hover: hover){.ui-chips>button.ui-tag--chip:hover{background:var(--ui-surface-2);border-color:var(--ui-text-muted)}}.ui-chips>button.ui-tag--chip:focus-visible{outline:2px solid var(--ui-focus, #5661f5);outline-offset:1px}.ui-chips>button.ui-tag--chip[aria-pressed=true]{background:var(--ui-accent-soft);border-color:var(--ui-accent);color:var(--ui-accent-strong);font-weight:600}@media (pointer: coarse),(max-width: 47.9975em){.ui-chips>button.ui-tag--chip{min-height:44px;min-width:44px;justify-content:center}}@media (max-width: 47.9975em){.gemboss-ec-input.gemboss-ec-input textarea{font-size:16px}}:is(.gemboss-field,.ui-textarea)[readonly][readonly]{background:var(--ui-surface-2);border-color:var(--ui-border);cursor:default}.ui-modal>form{display:contents}.ui-modal>form>.ui-modal__head,.ui-modal>form>.ui-modal__foot{flex:none}.ui-modal>form>.ui-modal__body{flex:1 1 auto;min-height:0;overflow:auto}button.ui-metric{font:inherit;text-align:left;color:inherit;cursor:pointer}@media (hover: hover){button.ui-metric:hover{border-color:var(--ui-text-muted)}}button.ui-metric:focus-visible{outline:2px solid var(--ui-focus);outline-offset:1px}.ui-metric.ui-metric:is([aria-pressed=true],[aria-current=page]){border-color:var(--gemboss-accent);box-shadow:inset 0 0 0 1px var(--gemboss-accent)}.ui-more{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;padding:16px 0;color:var(--ui-text-muted);font-size:var(--ui-fs-body);text-align:center}.ui-more[hidden]{display:none}.ui-chip{display:inline-flex;align-items:center;justify-content:center;gap:4px;box-sizing:border-box;height:var(--ui-btn-h, 28px);padding:0 12px;border:1px dashed var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface);color:var(--ui-text);font:inherit;font-size:var(--ui-fs-caption);font-weight:550;line-height:16px;white-space:nowrap;text-decoration:none;cursor:pointer}@media (hover: hover){.ui-chip:hover{border-style:solid;background:var(--ui-surface-2)}}.ui-chip:focus-visible{outline:2px solid var(--ui-focus);outline-offset:1px}.ui-chip:is([aria-pressed=true],[aria-current=page],[aria-current=true]){border-style:solid;border-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-accent-strong)}@media (pointer: coarse),(max-width: 47.9975em){.ui-chip{height:auto;min-height:44px;min-width:44px}}.ui-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ui-space-4)}.ui-stack--tight{gap:var(--ui-space-2)}
package/parts/core.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
2
  * @gemboss/ui core.css — GENERATED by packages/ui/scripts/build-css.mjs from export:globals + export:tokens; do not edit
3
- * gemboss commit: fb8dd6c28a1528773f1bcce03e8994088a129dfe
3
+ * gemboss commit: 459cbe3d21bb17646fdf49a5ca9a966c872dd190
4
4
  */
5
5
  *{box-sizing:border-box}:root{--gemboss-primary: #1b1c1e;--gemboss-primary-dark: #000000;--gemboss-primary-soft: #f2f3f5;--gemboss-accent: #5661f5;--gemboss-accent-strong: #3a44de;--gemboss-accent-soft: #eef0fe;--gemboss-accent-wash: #f7f8ff;--gemboss-accent-tint: #dfe2ff;--gemboss-accent-mid: #c9cffd;--gemboss-text-strong: #1b1c1e;--gemboss-text: #1b1c1e;--gemboss-text-muted: #686b71;--gemboss-surface: #ffffff;--gemboss-canvas: #ffffff;--gemboss-preview-canvas: #eceef1;--gemboss-rail-bg: #ffffff;--gemboss-panel-bg: #ffffff;--gemboss-divider: #e5e7ea;--gemboss-invite-h: 0px;--gemboss-divider-soft: #edeff2;--gemboss-hover: #eceef2;--gemboss-active-bg: #f0f1f4;--gemboss-active-fg: #1b1c1e;--gemboss-danger: #d72c0d;--gemboss-danger-strong: #b42318;--gemboss-danger-soft: #fff0e9;--gemboss-danger-border: #f5c9bc;--gemboss-success: #007f5f;--gemboss-success-strong: #0a6a4c;--gemboss-success-soft: #e3f1df;--gemboss-success-border: #b7dfcd;--gemboss-warning: #9a6700;--gemboss-warning-soft: #fff8e0;--gemboss-warning-border: #f5d569;--gemboss-radius-xs: 4px;--gemboss-radius-sm: 6px;--gemboss-radius-md: 8px;--gemboss-radius-lg: 12px;--gemboss-radius-xl: 16px;--gemboss-radius-2xl: 20px;--gemboss-radius-full: 999px;--gemboss-shadow-resting: 0 1px 2px rgba(31, 30, 29, .04), 0 2px 6px rgba(31, 30, 29, .06);--gemboss-shadow-raised: 0 4px 16px rgba(31, 30, 29, .1);--gemboss-shadow-overlay: 0 16px 48px rgba(31, 30, 29, .18);--gemboss-transition-fast: .12s;--gemboss-transition-base: .15s;--gemboss-fs-micro: 11px;--gemboss-fs-caption: 12px;--gemboss-fs-body: 14px;--gemboss-fs-body-lg: 16px;--gemboss-fs-h3: 16px;--gemboss-fs-h2: 20px;--gemboss-fs-h1: 24px;--gemboss-fs-display: 30px;--gemboss-dark-bg: #0a0a0c;--gemboss-dark-rail: #0e0e11;--gemboss-dark-surface: #16161a;--gemboss-dark-surface-2: #1e1e24;--gemboss-dark-divider: #2a2a31;--gemboss-dark-text: #ededf0;--gemboss-dark-muted: #9a9aa4;--gemboss-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--gemboss-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;--gemboss-field-bg: #fdfdfd;--gemboss-field-bg-hover: #fafafa;--gemboss-field-ink: #303030;--gemboss-field-placeholder: #616161;--gemboss-field-line: #8a8a8a;--gemboss-field-line-hover: #616161;--gemboss-field-line-active: #1a1a1a;--gemboss-chip-ink: #303633;--gemboss-chip-line: #cfd6ce;--gemboss-chip-line-hover: #aab4ad;--gemboss-chip-bg-hover: #f6f7f5;--gemboss-on-primary: #ffffff;--gemboss-topbar-bg: rgba(255, 255, 255, .98);--gemboss-nav-bg: var(--gemboss-surface);--gemboss-nav-hover: rgba(20, 19, 18, .045)}:root{--gemboss-primary: #1b1c1e;--gemboss-primary-dark: #000000;--gemboss-primary-soft: #f2f3f5;--gemboss-accent: #5661f5;--gemboss-accent-strong: #3a44de;--gemboss-accent-soft: #eef0fe;--gemboss-active-bg: #f0f1f4;--gemboss-active-fg: #1b1c1e;--gemboss-app-bg: #ffffff}
package/parts/shell.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
2
  * @gemboss/ui shell.css — GENERATED by packages/ui/scripts/build-css.mjs from export:shell + src/app-shell.css; do not edit
3
- * gemboss commit: fb8dd6c28a1528773f1bcce03e8994088a129dfe
3
+ * gemboss commit: 459cbe3d21bb17646fdf49a5ca9a966c872dd190
4
4
  */
5
5
  .gemboss-popover-surface{background:var(--gemboss-surface);background:color-mix(in srgb,var(--gemboss-surface) 93%,transparent);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);border:1px solid var(--gemboss-divider);border-radius:var(--gemboss-radius-lg);box-shadow:var(--gemboss-shadow-raised)}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.gemboss-popover-surface{background:var(--gemboss-surface)}}.icon-nav{position:fixed;top:56px;left:0;z-index:200;height:calc(100dvh - 56px);background:var(--gemboss-rail-bg);border-right:1px solid var(--gemboss-divider);display:flex;flex-direction:column;padding-top:8px;overflow:hidden}.gemboss-account-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:220px;z-index:320;overflow:hidden}.gemboss-account-menu-item,.ui-menu__item{box-sizing:border-box;width:100%;min-height:32px;padding:4px 16px;border:0;background:transparent;font:inherit;font-size:13px;color:var(--gemboss-text);text-align:left;text-decoration:none;cursor:pointer;transition:background var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease}.gemboss-account-menu-item{display:block}.ui-menu__item{display:flex;align-items:center;gap:8px;padding-inline:6px;white-space:nowrap;border-radius:var(--gemboss-radius-sm)}@media (pointer: coarse),(max-width: 47.9975em){.gemboss-account-menu-item,.ui-menu__item{min-height:44px;padding:12px 16px}}@media (hover: hover){.gemboss-account-menu-item:hover,.ui-menu__item:hover{background:var(--gemboss-hover)}}.gemboss-account-menu-item:focus-visible,.ui-menu__item:focus-visible{outline:2px solid var(--gemboss-primary);outline-offset:-2px;background:var(--gemboss-hover)}.gemboss-account-menu-item.danger,.ui-menu__item--danger{color:var(--gemboss-danger-strong)}.gemboss-account-chip{width:30px;height:30px;border:1px solid #cfd6ce;border-radius:var(--gemboss-radius-full);background:#f5f7f4;color:#303633;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:11px;font-weight:700;cursor:pointer}.gemboss-platform-main{box-sizing:border-box;min-height:100dvh;padding-top:56px;background:var(--gemboss-app-bg)}.icon-nav{top:56px;height:calc(100dvh - 56px);background:var(--gemboss-nav-bg);border-right-color:var(--gemboss-divider)}@media (max-width: 760px){.gemboss-platform-main{margin-left:0}}.gemboss-account-chip{width:32px;height:32px;border-radius:50%;background:var(--gemboss-primary);color:#fff;font-weight:600;font-size:12px;display:inline-flex;align-items:center;justify-content:center;border:none;cursor:pointer;transition:transform var(--gemboss-transition-base) ease}@media (hover: hover){.gemboss-account-chip:hover{transform:scale(1.05)}}.gemboss-account-chip:focus-visible{outline:2px solid var(--gemboss-primary);outline-offset:2px}.gemboss-platform-main{margin-top:56px;min-height:calc(100vh - 56px);padding:24px;background:#fafafb}@media (max-width: 768px){.gemboss-platform-main{margin-left:0;padding:16px}}.gemboss-platform-shell{display:block;min-height:100vh;background:var(--gemboss-app-bg)}.gemboss-platform-topbar{position:fixed;inset:0 0 auto;z-index:300;height:56px;border-bottom:1px solid var(--gemboss-divider);background:var(--gemboss-topbar-bg);display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,560px) minmax(max-content,1fr);align-items:center;gap:16px;padding:0 16px;box-shadow:var(--gemboss-shadow-resting)}:root:has(.gemboss-platform-topbar){scroll-padding-top:64px}.gemboss-account-chip{width:32px;height:32px;border:1px solid var(--gemboss-chip-line);border-radius:var(--gemboss-radius-full);background:var(--gemboss-surface);color:var(--gemboss-chip-ink);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:11px;font-weight:700;cursor:pointer;transition:border-color var(--gemboss-transition-base) ease,background-color var(--gemboss-transition-base) ease}@media (hover: hover){.gemboss-account-chip:hover{border-color:var(--gemboss-chip-line-hover);background:var(--gemboss-chip-bg-hover);transform:none}}.icon-nav{position:fixed;top:56px;left:0;z-index:200;height:calc(100dvh - 56px);border-right:1px solid var(--gemboss-divider);background:var(--gemboss-nav-bg);padding-top:12px}.gemboss-platform-main{min-height:calc(100vh - 56px);margin-top:56px;background:var(--gemboss-app-bg);padding:24px}@media (max-width: 1120px){.gemboss-platform-topbar{grid-template-columns:220px minmax(0,1fr) max-content;gap:12px}}@media (max-width: 760px){.gemboss-platform-topbar{height:auto;min-height:56px;grid-template-columns:minmax(0,1fr) auto;padding:12px}.gemboss-account-chip,.icon-nav{display:none}.gemboss-platform-main{margin-left:0;padding:16px}}.gnav-scroll{scrollbar-width:thin;scrollbar-color:rgba(31,30,29,.22) transparent}.gemboss-assistant-railfoot.is-button{width:100%;border:none;background:none;cursor:pointer;text-align:left;font:inherit;border-radius:8px;transition:background .12s ease,color .12s ease}@media (hover: hover){.gemboss-assistant-railfoot.is-button:hover{background:var(--gemboss-primary-soft);color:var(--gemboss-primary-dark)}}.gemboss-assistant-empty{padding:24px 20px;color:var(--gemboss-text-muted);font-size:13px}@media (max-width: 760px){.gemboss-platform-topbar{display:flex;align-items:center;gap:8px;height:56px;min-height:56px;padding:0 12px}.gemboss-account-chip{display:inline-flex}.gemboss-platform-main{padding-top:16px;padding-bottom:calc(56px + env(safe-area-inset-bottom))}}@media (pointer: coarse){.gemboss-account-chip{width:44px;height:44px}.gnav-item{min-height:44px}.gemboss-assistant-collapse,.gemboss-assistant-newchat{min-height:44px;min-width:44px}}.icon-nav{width:240px;padding:12px 0 0;overflow:hidden;background:var(--gemboss-nav-bg);display:flex;flex-direction:column}.gnav-scroll{flex:1;overflow-y:auto;overflow-x:hidden;padding-inline:12px}.gnav-bottom{padding:0 12px 12px}.gnav-item{display:flex;align-items:center;gap:12px;width:100%;padding:8px 12px;margin:1px 0;border:0;background:transparent;cursor:pointer;text-align:left;border-radius:var(--gemboss-radius-md);text-decoration:none;font-family:inherit;color:var(--gemboss-text);font-size:var(--gemboss-fs-body);font-weight:500;line-height:1.2;transition:background-color var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease}@media (hover: hover){.gnav-item:hover{background:var(--gemboss-nav-hover)}}.gnav-item:focus-visible{outline:2px solid var(--gemboss-accent);outline-offset:-2px}.gnav-item.active{color:var(--gemboss-active-fg);font-weight:600}.gnav-group:not(.has-active-child)>.gnav-item.active{background:var(--gemboss-active-bg)}@media (hover: hover){.gnav-group:not(.has-active-child)>.gnav-item.active:hover{background:var(--gemboss-active-bg)}}.gnav-count{margin-left:auto;flex:0 0 auto;min-width:20px;padding:0 6px;border-radius:var(--gemboss-radius-full);background:var(--gemboss-hover);color:var(--gemboss-text-muted);font-size:var(--gemboss-fs-micro);font-weight:700;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}.gnav-item.active .gnav-count{background:var(--gemboss-primary);color:var(--gemboss-on-primary)}@media (hover: hover){.gnav-group.has-active-child>.gnav-item.active:hover{background:var(--gemboss-nav-hover)}}.gnav-ico{flex:0 0 20px;width:20px;height:20px;display:grid;place-items:center}.gnav-ico svg{width:20px;height:20px;fill:currentColor}.gnav-label{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gnav-sub{list-style:none;margin:1px 0 6px;padding:0}.gnav-subitem{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px 6px 44px;margin:1px 0;border-radius:var(--gemboss-radius-sm);color:var(--gemboss-text-muted);font-size:13px;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background-color var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease}@media (pointer: coarse){.gnav-subitem{min-height:44px}}@media (hover: hover){.gnav-subitem:hover{background:var(--gemboss-nav-hover);color:var(--gemboss-text)}}.gnav-subitem.active{color:var(--gemboss-active-fg);font-weight:600;background:var(--gemboss-active-bg)}@media (hover: hover){.gnav-subitem.active:hover{background:var(--gemboss-active-bg);color:var(--gemboss-active-fg)}}.gnav-subitem.active:before{content:"";position:absolute;left:20px;top:50%;transform:translateY(-50%);width:3px;height:15px;border-radius:2px;background:var(--gemboss-primary)}.gnav-subitem.is-soon{opacity:.5;cursor:default}.gnav-subitem em{font-style:normal;font-size:var(--gemboss-fs-micro);font-weight:600;letter-spacing:.04em;text-transform:uppercase;border:1px solid var(--gemboss-divider);border-radius:var(--gemboss-radius-sm);padding:1px 6px}.gnav-sep{height:1px;background:var(--gemboss-divider);margin:8px 6px}.gnav-item.gnav-assistant{color:var(--gemboss-accent-strong);font-weight:600;background:var(--gemboss-accent-soft)}.gnav-item.gnav-assistant .gnav-ico svg{fill:var(--gemboss-accent)}@media (hover: hover){.gnav-item.gnav-assistant:hover{background:color-mix(in srgb,var(--gemboss-accent) 16%,var(--gemboss-surface))}}.gnav-item.gnav-assistant.active{background:var(--gemboss-active-bg);color:var(--gemboss-active-fg)}.gnav-item.gnav-assistant.active .gnav-ico svg{fill:var(--gemboss-active-fg)}.gemboss-platform-main{margin-left:240px}.gemboss-mobile-menu-btn,.gemboss-mobile-nav-backdrop{display:none}@media (max-width: 760px){.gemboss-platform-main{margin-left:0;padding-bottom:env(safe-area-inset-bottom)}.gemboss-mobile-menu-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:38px;height:38px;margin-left:-2px;border:0;border-radius:8px;background:transparent;cursor:pointer;color:var(--gemboss-text)}.gemboss-mobile-menu-btn:active{background:var(--gemboss-hover)}.icon-nav{display:flex;width:min(82vw,300px);transform:translate(-100%);transition:transform .26s cubic-bezier(.4,0,.2,1),box-shadow .26s cubic-bezier(.4,0,.2,1);z-index:1000;box-shadow:none}.gemboss-platform-shell.is-mobile-nav-open .icon-nav{transform:translate(0);box-shadow:2px 0 26px #1f1e1d33}.gemboss-mobile-nav-backdrop{display:block;position:fixed;inset:56px 0 0;width:100%;border:0;padding:0;background:#14131261;opacity:0;pointer-events:none;transition:opacity .22s ease;z-index:999}.gemboss-platform-shell.is-mobile-nav-open .gemboss-mobile-nav-backdrop{opacity:1;pointer-events:auto}}@media (max-width: 305.98px){.gemboss-platform-topbar{padding:0 8px}}@media (min-width: 306px) and (max-width: 460px){.gemboss-platform-topbar{padding:0 8px}.gemboss-mobile-menu-btn,.gemboss-account-chip{width:44px;height:44px}}@media (pointer: coarse),(min-width: 306px) and (max-width: 460px){.gemboss-account-chip{position:relative;isolation:isolate;-webkit-background-clip:text;background-clip:text;border-image:linear-gradient(#0000,#0000)}.gemboss-account-chip:before{content:"";position:absolute;inset:0;margin:auto;z-index:-1;box-sizing:border-box;width:32px;height:32px;background:inherit;background-clip:border-box;border-width:inherit;border-style:inherit;border-color:inherit;border-image:none;border-radius:inherit}}.gemboss-assistant-chatslot{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0}.gemboss-assistant-chatslot[hidden]{display:none}.gemboss-assistant-page>.gemboss-assistant-tabs{flex:0 0 auto;display:flex;align-items:center;gap:4px;padding:4px 8px 0;overflow-x:auto;scrollbar-width:none}.gemboss-assistant-tabs::-webkit-scrollbar{display:none}.gemboss-assistant-tab{display:flex;align-items:center;flex:0 1 auto;min-width:0;max-width:190px;border:1px solid var(--gemboss-divider);border-radius:var(--gemboss-radius-md);background:transparent}.gemboss-assistant-tab.active{background:var(--gemboss-active-bg);border-color:var(--gemboss-active-bg)}.gemboss-assistant-tab-main{display:flex;align-items:center;gap:6px;min-width:0;min-height:44px;padding:0 4px 0 8px;border:0;background:transparent;font:inherit;font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted);cursor:pointer}.gemboss-assistant-tab.active .gemboss-assistant-tab-main{color:var(--gemboss-text-strong)}.gemboss-assistant-tab-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gemboss-assistant-tab-dot{flex:0 0 auto;width:6px;height:6px;border-radius:var(--gemboss-radius-full);background:var(--gemboss-divider)}.gemboss-assistant-tab-dot.is-running{background:var(--gemboss-primary);animation:gemboss-assistant-pulse 1.4s ease-in-out infinite}.gemboss-assistant-tab-close{flex:0 0 auto;width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:var(--gemboss-text-muted);cursor:pointer;padding:0}@media (hover: hover){.gemboss-assistant-tab-close:hover{color:var(--gemboss-text-strong)}}.gemboss-assistant-tab-close svg{width:14px;height:14px}.gemboss-assistant-sronly{position:absolute;left:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.gemboss-assistant-thread-running{flex:0 0 auto;width:6px;height:6px;border-radius:var(--gemboss-radius-full);background:var(--gemboss-primary);animation:gemboss-assistant-pulse 1.4s ease-in-out infinite}@media (prefers-reduced-motion: reduce){.gemboss-assistant-tab-dot.is-running,.gemboss-assistant-thread-running{animation:none}}.gemboss-assistant-route-claim{display:block;height:100%}.gemboss-assistant-layout.is-dock{height:auto;min-height:0}.gemboss-assistant-layout.is-dock .gemboss-assistant-page{height:auto;max-width:none;padding:4px 0 8px}.gnav-item.gnav-assistant{position:relative}body.gemboss-assistant-busy .gnav-item.gnav-assistant:after,body.gemboss-assistant-unread .gnav-item.gnav-assistant:after{content:"";position:absolute;top:6px;left:26px;width:8px;height:8px;border-radius:50%;border:2px solid var(--gemboss-surface)}body.gemboss-assistant-busy .gnav-item.gnav-assistant:after{background:var(--gemboss-primary);animation:gemboss-assistant-pulse 1.4s ease-in-out infinite}body.gemboss-assistant-unread .gnav-item.gnav-assistant:after{background:var(--gemboss-success-strong)}@media (prefers-reduced-motion: reduce){body.gemboss-assistant-busy .gnav-item.gnav-assistant:after{animation:none}}.gemboss-assistant-layout{display:flex;height:calc(100dvh - 56px);width:100%;min-height:0}.gemboss-assistant-rail{flex:0 0 264px;width:264px;display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--gemboss-divider);background:transparent;padding:16px 12px 12px;gap:12px;transition:flex-basis .18s ease,width .18s ease}.gemboss-assistant-rail-top{display:flex;align-items:center;gap:6px}.gemboss-assistant-newchat{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0;padding:12px;border:1px solid var(--gemboss-divider);border-radius:12px;background:transparent;color:var(--gemboss-text);font-size:var(--gemboss-fs-body);font-weight:600;cursor:pointer;transition:background .12s ease,border-color .12s ease}@media (hover: hover){.gemboss-assistant-newchat:hover{background:#00000009;border-color:var(--gemboss-text-muted)}}.gemboss-assistant-newchat svg{width:17px;height:17px;fill:currentColor;flex:0 0 auto}.gemboss-assistant-newchat span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 auto}.gemboss-assistant-kbd{flex:0 0 auto;font-size:var(--gemboss-fs-micro);font-weight:600;line-height:1;padding:4px 6px;border:1px solid var(--gemboss-divider);border-radius:6px;background:transparent;color:var(--gemboss-text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.gemboss-assistant-search:focus-within .gemboss-assistant-kbd{display:none}.gemboss-assistant-collapse{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:var(--gemboss-text-muted);cursor:pointer;transition:background .12s ease,color .12s ease}@media (hover: hover){.gemboss-assistant-collapse:hover{background:#0000000d;color:var(--gemboss-text)}}.gemboss-assistant-collapse svg{width:16px;height:16px;fill:currentColor}.gemboss-assistant-search{gap:6px}.gemboss-assistant-search>svg{width:15px;height:15px;fill:var(--gemboss-text-muted);color:var(--gemboss-text-muted);flex:0 0 auto}.gemboss-assistant-search-clear{display:grid;place-items:center;width:20px;height:20px;border:0;border-radius:6px;background:transparent;color:var(--gemboss-text-muted);cursor:pointer}@media (hover: hover){.gemboss-assistant-search-clear:hover{background:#00000012;color:var(--gemboss-text)}}.gemboss-assistant-search-clear svg{width:13px;height:13px;fill:currentColor}@media (pointer: coarse),(max-width: 47.9975em){.gemboss-assistant-search.gemboss-field--group{min-height:44px}.gemboss-assistant-search-clear{align-self:stretch;width:44px;height:auto;min-height:44px;border-radius:0}}.gemboss-assistant-railfoot{flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:8px 12px 2px;border-top:1px solid var(--gemboss-divider);margin-top:4px;color:var(--gemboss-text-muted);font-size:var(--gemboss-fs-caption);line-height:1.35}.gemboss-assistant-railfoot svg{width:13px;height:13px;flex:0 0 auto;fill:currentColor;opacity:.8}.gemboss-assistant-threads{flex:1 1 auto;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:2px}.gemboss-assistant-threads-empty{padding:16px 8px;color:var(--gemboss-text-muted);font-size:var(--gemboss-fs-caption)}.gemboss-assistant-group{display:flex;flex-direction:column;gap:2px}.gemboss-assistant-group+.gemboss-assistant-group{margin-top:12px}.gemboss-assistant-group-label{padding:4px 12px;font-size:11px;font-weight:600;letter-spacing:.02em;color:var(--gemboss-text-muted);text-transform:uppercase}.gemboss-assistant-thread{position:relative;display:flex;align-items:center;border-radius:8px;transition:background .12s ease}@media (hover: hover){.gemboss-assistant-thread:hover{background:var(--gemboss-hover, rgba(0,0,0,.04))}}.gemboss-assistant-thread.active{background:#00000012}.gemboss-assistant-thread-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 12px;border:0;background:transparent;text-align:left;cursor:pointer}.gemboss-assistant-thread-titlerow{display:flex;align-items:center;gap:6px;width:100%;min-width:0}.gemboss-assistant-pin-dot{width:12px;height:12px;flex:0 0 auto;fill:var(--gemboss-text-muted)}.gemboss-assistant-thread-title{flex:1 1 auto;min-width:0;font-size:13px;font-weight:500;color:var(--gemboss-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gemboss-assistant-thread-meta{max-width:100%;font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gemboss-assistant-thread.menu-open{background:#00000012}.gemboss-assistant-thread.menu-open .gemboss-assistant-thread-actions{opacity:1}.gemboss-assistant-menu{z-index:60;width:184px;padding:6px;display:flex;flex-direction:column}.gemboss-assistant-menu-confirm{padding:8px 12px 6px;font-size:var(--gemboss-fs-caption);font-weight:600;color:var(--gemboss-text)}.gemboss-assistant-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:0;border-radius:8px;background:transparent;text-align:left;font-size:13px;color:var(--gemboss-text);cursor:pointer}@media (hover: hover){.gemboss-assistant-menu button:hover{background:var(--gemboss-hover, rgba(0,0,0,.05))}}.gemboss-assistant-menu button.danger{color:var(--gemboss-danger-strong)}.gemboss-assistant-menu button svg{width:15px;height:15px;fill:currentColor;flex:0 0 auto}.gemboss-assistant-thread-actions{position:absolute;right:6px;display:flex;gap:2px;opacity:0;transition:opacity .12s ease}.gemboss-assistant-thread:hover .gemboss-assistant-thread-actions,.gemboss-assistant-thread:focus-within .gemboss-assistant-thread-actions{opacity:1}.gemboss-assistant-thread-act{display:grid;place-items:center;width:26px;height:26px;border:0;border-radius:8px;background:transparent;color:var(--gemboss-text-muted);cursor:pointer;transition:background .12s ease,color .12s ease}@media (hover: hover){.gemboss-assistant-thread-act:hover{background:#00000012;color:var(--gemboss-text)}}@media (hover: hover){.gemboss-assistant-thread-act.danger:hover{color:var(--gemboss-danger-strong)}}.gemboss-assistant-thread-act svg{width:15px;height:15px;fill:currentColor}.gemboss-assistant-thread.editing{background:#00000012}.gemboss-assistant-thread-edit{display:flex;align-items:center;gap:2px;width:100%;padding:6px}.gemboss-assistant-thread-edit input{flex:1 1 auto;min-width:0}.gemboss-assistant-layout .gemboss-assistant-page{height:100%;max-width:820px;flex:1 1 auto;min-width:0;padding-top:16px}.gemboss-assistant-layout .gemboss-assistant-page.is-switching{opacity:.55;transition:opacity .12s ease;pointer-events:none}.gemboss-assistant-rail.is-collapsed{flex-basis:60px;width:60px;padding:16px 8px 12px}.gemboss-assistant-rail.is-collapsed .gemboss-assistant-rail-top{flex-direction:column;gap:8px}.gemboss-assistant-rail.is-collapsed .gemboss-assistant-newchat{justify-content:center;padding:8px;flex:0 0 auto}.gemboss-assistant-rail.is-collapsed .gemboss-assistant-newchat span,.gemboss-assistant-rail.is-collapsed .gemboss-assistant-search,.gemboss-assistant-rail.is-collapsed .gemboss-assistant-railfoot,.gemboss-assistant-rail.is-collapsed .gemboss-assistant-threads{display:none}@media (max-width: 760px){.gemboss-assistant-rail{flex-basis:60px;width:60px;padding:16px 8px 12px}.gemboss-assistant-rail .gemboss-assistant-rail-top{flex-direction:column;gap:8px}.gemboss-assistant-newchat{justify-content:center;padding:8px;flex:0 0 auto}.gemboss-assistant-newchat span,.gemboss-assistant-rail .gemboss-assistant-search,.gemboss-assistant-railfoot,.gemboss-assistant-threads,.gemboss-assistant-collapse{display:none}}.gemboss-assistant-page{height:calc(100dvh - 56px);width:100%;max-width:760px;margin:0 auto;padding:24px 0 16px;display:flex;flex-direction:column;min-height:0}.gemboss-assistant-page>*{flex:1 1 auto;min-height:0}.gemboss-assistant-empty{flex:1;display:grid;place-items:center;color:var(--gemboss-text-muted);font-size:14px}.gemboss-platform-shell{display:flow-root}.gemboss-platform-main{padding-bottom:calc(24px + var(--gemboss-invite-h, 0px))}.gb-account{position:relative}.gb-account>summary{list-style:none}.gb-account>summary::-webkit-details-marker{display:none}.gb-account-head{padding:12px 16px;border-bottom:1px solid var(--gemboss-divider)}.gb-account-name{font-size:13px;font-weight:600;color:var(--gemboss-text-strong)}.gb-account-email{font-size:12px;color:var(--gemboss-text-muted)}.gb-account-role{display:inline-block;margin-top:4px;padding:1px 6px;border-radius:4px;font-size:11px;font-weight:600;color:var(--gemboss-active-fg);background:var(--gemboss-active-bg)}.gb-account-form{margin:0}.gnav-scroll::-webkit-scrollbar{width:9px}.gnav-scroll::-webkit-scrollbar-track{background:transparent}.gnav-scroll::-webkit-scrollbar-thumb{background:#1f1e1d33;border-radius:6px;border:2px solid transparent;background-clip:content-box}@keyframes gemboss-assistant-pulse{0%,to{opacity:1}50%{opacity:.35}}:where(html,body,button){font-family:var(--gemboss-font-sans)}:where(body){font-size:13px;line-height:20px;font-weight:450;color:var(--gemboss-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(h1,h2,h3){letter-spacing:-.01em;line-height:1.3}:where(.gemboss-platform-shell) :where(h1,h2,h3,h4,h5,h6,p):where(:not([class])):not(:where(.ui-prose,[data-content],[class*=prose i],[class*=markdown i],.md-body,.recap-md,.asst-md,.article-body) *){margin:0;font-size:1em;font-weight:inherit;line-height:inherit}.gemboss-topbar-start{display:flex;align-items:center;gap:8px;min-width:0}.gemboss-topbar-center{display:flex;justify-content:center;min-width:0}.gemboss-topbar-end{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}@media (max-width: 760px){.gemboss-topbar-center{flex:1 1 0;min-width:96px;justify-content:flex-start}.gemboss-topbar-center:empty{min-width:0}.gemboss-topbar-end:empty{display:none}.gemboss-topbar-end{flex:0 0 auto}.gemboss-topbar-start{flex:0 1 auto}.gemboss-topbar-start>.gemboss-mobile-menu-btn{flex:0 0 auto}.gemboss-topbar-start>.gb-brand{min-width:44px}}.gnav-heading{padding:10px 12px 4px;font-size:var(--gemboss-fs-micro);font-weight:600;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:var(--gemboss-text-muted)}.gnav-scroll>.gnav-heading:first-child,.gnav-scroll>.gnav-section:first-child>.gnav-heading:first-child{padding-top:2px}.gnav-item:is([aria-busy=true],:has(>.gnav-pending)),.gnav-subitem:is([aria-busy=true],:has(>.gnav-pending)){cursor:progress}.gnav-item:is([aria-busy=true],:has(>.gnav-pending))>.gnav-ico>*{visibility:hidden}.gnav-item:is([aria-busy=true],:has(>.gnav-pending))>.gnav-ico:after,.gnav-subitem:is([aria-busy=true],:has(>.gnav-pending)):after,.gb-pending-mark{content:"";display:inline-block;vertical-align:middle;grid-area:1 / 1;flex:none;box-sizing:border-box;width:20px;height:20px;border-radius:50%;border:2px solid color-mix(in srgb,currentColor 18%,transparent);border-top-color:currentColor;animation:gnav-spin .7s linear infinite}.gnav-subitem:is([aria-busy=true],:has(>.gnav-pending)):after{position:absolute;left:22px;top:50%;margin-top:-6px;width:12px;height:12px;border-width:1.5px}@keyframes gnav-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.gnav-item:is([aria-busy=true],:has(>.gnav-pending))>.gnav-ico:after,.gnav-subitem:is([aria-busy=true],:has(>.gnav-pending)):after,.gb-pending-mark{animation-duration:2s}}a[data-gb-pending]:has(>.gb-pending-mark),a[data-gb-pending][aria-busy=true]{cursor:progress}a[data-gb-pending]>.gb-pending-mark{display:inline-block;width:12px;height:12px;border-width:1.5px;margin-left:6px;vertical-align:-1px}a[data-gb-pending=corner]{position:relative}a[data-gb-pending=corner]>.gb-pending-mark{position:absolute;top:12px;right:12px;width:16px;height:16px;margin:0}.gb-route-holding{padding-top:4px}.gb-route-holding .ui-skeleton{gap:16px}.gb-route-holding__heading{margin:0 0 20px;font-size:20px;font-weight:650;line-height:1.3;color:var(--gemboss-text)}.gb-route-holding .ui-skeleton__line{height:10px}.gb-route-holding .ui-skeleton__line.gb-route-holding__title{height:20px;width:34%;margin-bottom:8px}.gb-route-holding .ui-skeleton__line:nth-last-child(4){width:46%}.gb-route-holding .ui-skeleton__line:nth-last-child(3){width:92%}.gb-route-holding .ui-skeleton__line:nth-last-child(2){width:78%}.gb-route-holding .ui-skeleton__line:nth-last-child(1){width:61%}.gb-route-cover{display:none}html[data-gb-navigating] .gb-route-cover{display:block;position:fixed;inset:56px 0 0 240px;z-index:5;overflow:hidden;box-sizing:border-box;padding:24px;background:var(--gemboss-app-bg);pointer-events:none;animation:gb-route-cover-in .08s ease-out both}@keyframes gb-route-cover-in{0%{opacity:0}to{opacity:1}}@media (max-width: 760px){html[data-gb-navigating] .gb-route-cover{left:0;padding:16px}}@media (prefers-reduced-motion: reduce){html[data-gb-navigating] .gb-route-cover{animation-duration:0s}}.gnav-pending{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.gb-brand{min-width:0;height:40px;margin:0;padding:0 8px;border-radius:var(--gemboss-radius-md);display:inline-flex;align-items:center;gap:4.5px;color:var(--gb-brand-ink, #14151a);text-decoration:none;transition:background-color var(--gemboss-transition-base) ease}@media (hover: hover){.gb-brand:hover{background:var(--gemboss-hover)}}.gb-brand:focus-visible{outline:2px solid var(--gemboss-primary);outline-offset:2px}.gb-brand-gem{display:block;flex:0 0 auto}.gb-brand-name{font-family:Inter,var(--gemboss-font-sans);font-size:13.3px;font-weight:700;letter-spacing:-.13px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}@media (max-width: 460px){.gb-brand-name{display:none}.gb-brand{min-width:44px;height:44px;justify-content:center}}.gemboss-topbar-search{width:100%;max-width:560px;height:36px;min-width:0;margin:0 auto;border:1px solid var(--gemboss-field-line);border-radius:var(--gemboss-radius-md);background:var(--gemboss-field-bg);padding:0 8px 0 12px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;color:var(--gemboss-text-muted)}@media (hover: hover){.gemboss-topbar-search:hover{border-color:var(--gemboss-field-line-hover);background:var(--gemboss-field-bg-hover)}}.gemboss-topbar-search:focus-within{border-color:var(--gemboss-field-line-active);background:var(--gemboss-surface)}.gemboss-topbar-search-icon{width:18px;height:18px;color:currentColor}.gemboss-topbar-search-input{min-width:0;height:calc(100% + 2px);border:0;background:transparent;padding:0;margin:-1px 0;font:inherit;font-size:var(--gemboss-fs-body);line-height:18px;color:var(--gemboss-field-ink);outline:none}.gemboss-topbar-search-input::placeholder{color:var(--gemboss-field-placeholder);opacity:1}.gemboss-topbar-search-kbd{border:1px solid var(--gemboss-field-line);border-radius:var(--gemboss-radius-sm);background:var(--gemboss-surface);padding:1px 6px;color:var(--gemboss-text-muted);font-family:inherit;font-size:var(--gemboss-fs-micro);line-height:16px}.gemboss-topbar-search:focus-within .gemboss-topbar-search-kbd{display:none}@media (pointer: coarse),(max-width: 47.9975em){.gemboss-topbar-search{height:44px}}@media (max-width: 460px){.gemboss-topbar-search-kbd{display:none}}.ui-page{box-sizing:border-box;width:100%;min-width:0;max-width:var(--ui-content-max, 900px);margin-inline:auto}.ui-page--feed{max-width:720px}.ui-page--form{max-width:662px}.ui-page--canvas{max-width:1440px}.ui-page--full{max-width:none}@media (max-width: 47.9975em){.gemboss-assistant-collapse,.gemboss-assistant-newchat{min-height:44px;min-width:44px}}
package/src/app-nav.tsx CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * AppNav — @gemboss/ui 0.62.0. A section's own nav beside a folded rail (Chris 05/11/2026: "vào plugin co sidebar menu lại thành dạng thanh
5
- * icon … để toàn bộ không gian cho plugin", "mọi plugin nên tổ chức như cách bạn tổ chức cho gempersonalizer … visual ko đánh nhau với thanh
5
+ * icon … để toàn bộ không gian cho plugin", "mọi plugin nên tổ chức như cách bạn tổ chức cho gemprint … visual ko đánh nhau với thanh
6
6
  * icon"; canvas Hsou4RYohWWXpzv1jHbtYZ, direction A, `PluginNav`). Three planes that never read as one long menu: the rail is icons on
7
7
  * white, this is words on light grey (`--gemboss-appnav-bg`), the page is white. No icon in a row: the rail already has them.
8
8
  *
@@ -1 +1 @@
1
- (function(d){"use strict";var t=d.gembossUI||(d.gembossUI={});if(t.icon)return;var r={reaction:'<path d="M16.5 10a6.5 6.5 0 1 1-6.5-6.5"/><path d="M7.5 11.8s.9 1.2 2.5 1.2 2.5-1.2 2.5-1.2"/><path d="M7.8 8.2h.01M12.2 8.2h.01"/><path d="M15 2.5v4M13 4.5h4"/>',home:'<path d="M3.5 9 10 3.5 16.5 9"/><path d="M5 7.8v8.7h10V7.8"/><path d="M8.5 16.5v-4h3v4"/>',dashboard:'<rect x="3" y="3" width="6" height="6" rx="1.3"/><rect x="11" y="3" width="6" height="6" rx="1.3"/><rect x="3" y="11" width="6" height="6" rx="1.3"/><rect x="11" y="11" width="6" height="6" rx="1.3"/>',board:'<rect x="3" y="3.5" width="4" height="13" rx="1.2"/><rect x="8" y="3.5" width="4" height="9" rx="1.2"/><rect x="13" y="3.5" width="4" height="6" rx="1.2"/>',layout:'<rect x="3.5" y="3" width="13" height="3.5" rx="1"/><rect x="3.5" y="8.25" width="13" height="3.5" rx="1"/><rect x="3.5" y="13.5" width="13" height="3.5" rx="1"/>',layers:'<path d="M10 3 17 6.8 10 10.6 3 6.8z"/><path d="M3 10.1l7 3.8 7-3.8"/><path d="M3 13.4l7 3.8 7-3.8"/>',document:'<path d="M5 2.8h6.8l3.2 3.2v11.2H5z"/><path d="M11.8 2.8V6H15M7.5 10h5M7.5 13h5"/>',article:'<rect x="3" y="3.5" width="14" height="13" rx="1.5"/><path d="M6 7h8M6 10h8M6 13h5"/>',page:'<rect x="2.5" y="3.5" width="15" height="13" rx="2"/><path d="M2.5 7.5h15M6 11h8M6 13.5h5"/>',image:'<rect x="3" y="3.5" width="14" height="13" rx="1.8"/><circle cx="7.3" cy="7.8" r="1.3"/><path d="M3.5 15l4.2-4.2 3 3 2.2-2.2 3.6 3.6"/>',folder:'<path d="M2.8 5.3c0-.8.6-1.3 1.3-1.3h3.4l1.8 2h6.6c.8 0 1.3.6 1.3 1.3v7.7c0 .8-.6 1.3-1.3 1.3H4.1c-.8 0-1.3-.6-1.3-1.3z"/>',list:'<path d="M8 5h9M8 10h9M8 15h9"/><circle cx="4" cy="5" r=".9"/><circle cx="4" cy="10" r=".9"/><circle cx="4" cy="15" r=".9"/>',activity:'<path d="M2.5 10h3l2-5 3 10 2-5h5"/>',funnel:'<path d="M3 4h14l-5.2 6.2v4.6l-3.6 1.7v-6.3z"/>',chart:'<path d="M3 16.5h14"/><rect x="4.5" y="9" width="2.8" height="5.5" rx=".7"/><rect x="8.6" y="5" width="2.8" height="9.5" rx=".7"/><rect x="12.7" y="11" width="2.8" height="3.5" rx=".7"/>',radar:'<circle cx="10" cy="10" r="7"/><circle cx="10" cy="10" r="3.5"/><path d="M10 10l5-5"/>',map:'<rect x="3" y="3" width="14" height="14" rx="2"/><path d="M3 7.7h14M3 12.3h14M7.7 3v14M12.3 3v14"/>',globe:'<circle cx="10" cy="10" r="7"/><path d="M3 10h14M10 3c2 2 2.8 4.3 2.8 7s-.8 5-2.8 7c-2-2-2.8-4.3-2.8-7s.8-5 2.8-7z"/>',megaphone:'<path d="M3 8v4h3l6 4V4L6 8H3z"/><path d="M15 7.5a3.5 3.5 0 0 1 0 5"/>',star:'<path d="M10 2.8l2.2 4.5 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L2.8 8l5-.7z"/>',eye:'<path d="M1.8 10S4.7 4.8 10 4.8 18.2 10 18.2 10 15.3 15.2 10 15.2 1.8 10 1.8 10z"/><circle cx="10" cy="10" r="2.5"/>',inbox:'<path d="M3 11l2-7h10l2 7v5H3z"/><path d="M3 11h4l1 2h4l1-2h4"/>',bell:'<path d="M5 13.5V9a5 5 0 0 1 10 0v4.5l1.3 1.5H3.7z"/><path d="M8.3 17.2a1.9 1.9 0 0 0 3.4 0"/>',chat:'<path d="M3 4.5h14v9H8.5L5 16.5v-3H3z"/>',money:'<circle cx="10" cy="10" r="7"/><path d="M12 7.6c-.5-.7-1.2-1-2-1-1.1 0-2 .7-2 1.6 0 2.1 4 1.2 4 3.4 0 .9-.9 1.6-2 1.6-.8 0-1.6-.3-2.1-1M10 5v1.6M10 13.2V15"/>',store:'<path d="M3.2 7.5 4.5 3.5h11l1.3 4"/><path d="M3.2 7.5c0 1.3 1 2.2 2.3 2.2s2.2-1 2.2-2.2c0 1.3 1 2.2 2.3 2.2s2.3-1 2.3-2.2c0 1.3.9 2.2 2.2 2.2s2.3-.9 2.3-2.2"/><path d="M4.5 9.5v7h11v-7M8.5 16.5v-3.5h3v3.5"/>',user:'<circle cx="10" cy="7" r="3.2"/><path d="M3.8 16.5c.8-2.8 3.3-4.5 6.2-4.5s5.4 1.7 6.2 4.5"/>',users:'<circle cx="7.5" cy="7.3" r="2.8"/><path d="M2.5 16.3c.6-2.5 2.5-4 5-4s4.4 1.5 5 4"/><path d="M12.3 4.8a2.8 2.8 0 0 1 0 5.2M14.3 12.5c1.6.4 2.7 1.7 3.2 3.8"/>',calendar:'<rect x="3" y="4.5" width="14" height="12.5" rx="1.8"/><path d="M3 8.5h14M7 3v3M13 3v3"/>',clock:'<circle cx="10" cy="10" r="7"/><path d="M10 6v4l2.8 1.8"/>',search:'<circle cx="8.8" cy="8.8" r="5.3"/><path d="M12.8 12.8 17 17"/>',moon:'<path d="M15.6 12.4A6.2 6.2 0 0 1 7.6 4.4a6.2 6.2 0 1 0 8 8Z"/>',sun:'<circle cx="10" cy="10" r="3.2"/><path d="M10 2.6v1.8M10 15.6v1.8M2.6 10h1.8M15.6 10h1.8M4.8 4.8l1.3 1.3M13.9 13.9l1.3 1.3M4.8 15.2l1.3-1.3M13.9 6.1l1.3-1.3"/>',link:'<path d="M8.6 11.4a3 3 0 0 0 4.2 0l2.6-2.6a3 3 0 0 0-4.2-4.2l-1 1"/><path d="M11.4 8.6a3 3 0 0 0-4.2 0l-2.6 2.6a3 3 0 0 0 4.2 4.2l1-1"/>',eyedropper:'<path d="M10.4 6.4 13.6 9.6"/><path d="M12 4.8 13.4 3.4a2.1 2.1 0 0 1 3 3L15 7.8"/><path d="M12 8 5.6 14.4 4 16"/>',sliders:'<path d="M3 5h14M3 10h14M3 15h14"/><circle cx="7" cy="5" r="1.6"/><circle cx="13" cy="10" r="1.6"/><circle cx="9" cy="15" r="1.6"/>',settings:'<path d="M15.52 9.08 17.15 9.15 17.15 10.85 15.52 10.92 14.56 13.26 15.66 14.45 14.45 15.66 13.26 14.56 10.92 15.52 10.85 17.15 9.15 17.15 9.08 15.52 6.74 14.56 5.55 15.66 4.34 14.45 5.44 13.26 4.48 10.92 2.85 10.85 2.85 9.15 4.48 9.08 5.44 6.74 4.34 5.55 5.55 4.34 6.74 5.44 9.08 4.48 9.15 2.85 10.85 2.85 10.92 4.48 13.26 5.44 14.45 4.34 15.66 5.55 14.56 6.74Z"/><circle cx="10" cy="10" r="2.4"/>',alert:'<path d="M10 3.2 17.3 16H2.7z"/><path d="M10 8.2v3.6M10 13.9v.1"/>',info:'<circle cx="10" cy="10" r="7"/><path d="M10 9v4.5M10 6.4v.1"/>',check:'<path d="M4 10.5 8 14.5 16 5.5"/>',plus:'<path d="M10 4v12M4 10h12"/>',close:'<path d="M5 5l10 10M15 5 5 15"/>',more:'<circle cx="4.5" cy="10" r="1"/><circle cx="10" cy="10" r="1"/><circle cx="15.5" cy="10" r="1"/>',apps:'<circle cx="4.5" cy="4.5" r="1"/><circle cx="10" cy="4.5" r="1"/><circle cx="15.5" cy="4.5" r="1"/><circle cx="4.5" cy="10" r="1"/><circle cx="10" cy="10" r="1"/><circle cx="15.5" cy="10" r="1"/><circle cx="4.5" cy="15.5" r="1"/><circle cx="10" cy="15.5" r="1"/><circle cx="15.5" cy="15.5" r="1"/>',utensils:'<path d="M6 3v5a2 2 0 0 0 4 0V3M8 3v14"/><path d="M15 3c-1.6 1.4-2.5 3.6-2.5 6.5H15V17"/>',signOut:'<path d="M8 3.5H4v13h4M12.5 6.5 16 10l-3.5 3.5M16 10H8"/>',sparkle:'<path d="M9 3.5c.4 2.9 1.6 4.1 4.5 4.5-2.9.4-4.1 1.6-4.5 4.5-.4-2.9-1.6-4.1-4.5-4.5 2.9-.4 4.1-1.6 4.5-4.5z"/><path d="M14.5 12.5c.2 1.3.7 1.8 2 2-1.3.2-1.8.7-2 2-.2-1.3-.7-1.8-2-2 1.3-.2 1.8-.7 2-2z"/>',hash:'<path d="M8 3.5 6.5 16.5M13.5 3.5 12 16.5M4 7.5h12.5M3.5 12.5H16"/>',lock:'<rect x="4.5" y="9" width="11" height="8" rx="1.5"/><path d="M7 9V6.5a3 3 0 0 1 6 0V9"/>',reply:'<path d="M8 13.5 3.5 9 8 4.5M3.5 9h8a5 5 0 0 1 5 5v2"/>',thread:'<path d="M3 4.5h14v9H8.5L5 16.5v-3H3z"/><path d="M6.5 8h7M6.5 10.5h4.5"/>',paperclip:'<path d="M15.5 9.5 10 15a3.5 3.5 0 0 1-5-5l6-6a2.3 2.3 0 0 1 3.3 3.3l-6 6a1.2 1.2 0 0 1-1.7-1.7l5.3-5.3"/>',send:'<path d="M3.5 10 16.5 3.5 13 16.5 9.5 11z"/><path d="M9.5 11 16.5 3.5"/>',chevronLeft:'<path d="M12.5 4.5 7 10l5.5 5.5"/>',chevronRight:'<path d="M7.5 4.5 13 10l-5.5 5.5"/>',arrowLeft:'<path d="M16 10H4M9 5l-5 5 5 5"/>',chevronsDown:'<path d="M6 5.5l4 4 4-4M6 10.5l4 4 4-4"/>',chevronDown:'<path d="M6 8l4 4 4-4"/>',panelRight:'<rect x="3" y="3.5" width="14" height="13" rx="2"/><path d="M12.5 3.5v13"/>',emoji:'<circle cx="10" cy="10" r="6.5"/><path d="M7.5 11.8s.9 1.2 2.5 1.2 2.5-1.2 2.5-1.2"/><path d="M7.8 8.2h.01M12.2 8.2h.01"/>',chevronUp:'<path d="M6 12l4-4 4 4"/>',bookmark:'<path d="M5.5 3.5h9v13l-4.5-3.2-4.5 3.2z"/>',trophy:'<path d="M6.5 3.5h7v3.8a3.5 3.5 0 0 1-7 0z"/><path d="M6.5 5H4.5v1.2a2.3 2.3 0 0 0 2.6 2.3M13.5 5h2v1.2a2.3 2.3 0 0 1-2.6 2.3"/><path d="M10 10.8v2.7M7 16.5h6l-.6-3H7.6z"/>',flame:'<path d="M10 17c-2.9 0-5-2-5-4.9 0-2.5 1.7-3.9 2.6-5.8.5 1.3 1.2 2.1 2.1 2.4.1-2.3 1.2-4.2 2.4-5.7.7 2.6 2.9 4.5 2.9 8.7 0 3.1-2.1 5.3-5 5.3z"/><path d="M10 17c-1.2 0-2.1-.9-2.1-2.1 0-1.2.9-1.9 1.4-2.8.8 1 2.8 1.6 2.8 2.8 0 1.2-.9 2.1-2.1 2.1z"/>',grip:'<circle cx="7.5" cy="5" r="1"/><circle cx="12.5" cy="5" r="1"/><circle cx="7.5" cy="10" r="1"/><circle cx="12.5" cy="10" r="1"/><circle cx="7.5" cy="15" r="1"/><circle cx="12.5" cy="15" r="1"/>',timer:'<path d="M5.5 3h9M5.5 17h9"/><path d="M6.5 3c0 3.5 3.5 4.5 3.5 7s-3.5 3.5-3.5 7M13.5 3c0 3.5-3.5 4.5-3.5 7s3.5 3.5 3.5 7"/>',target:'<circle cx="10" cy="10" r="7"/><circle cx="10" cy="10" r="4"/><circle cx="10" cy="10" r="1"/>'},l=Object.keys(r);Object.freeze&&Object.freeze(l);function e(h){return String(h).replace(/[&<>"']/g,function(c){return c==="&"?"&amp;":c==="<"?"&lt;":c===">"?"&gt;":c==='"'?"&quot;":"&#x27;"})}function x(h,c){var p=typeof h=="string"&&Object.prototype.hasOwnProperty.call(r,h)?r[h]:"";if(!p)return"";var a=c&&typeof c=="object"?c:{},i=a.size===void 0?20:a.size,y=i===null?"":' width="'+e(i)+'" height="'+e(i)+'"',M=a.title;return'<svg viewBox="0 0 20 20"'+y+(M?' role="img"':' aria-hidden="true"')+' focusable="false">'+(M?"<title>"+e(M)+"</title>":"")+'<g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">'+p+"</g></svg>"}t.icon=x,t.ICON_NAMES=l})(typeof globalThis<"u"?globalThis:this);
1
+ (function(d){"use strict";var t=d.gembossUI||(d.gembossUI={});if(t.icon)return;var r={reaction:'<path d="M16.5 10a6.5 6.5 0 1 1-6.5-6.5"/><path d="M7.5 11.8s.9 1.2 2.5 1.2 2.5-1.2 2.5-1.2"/><path d="M7.8 8.2h.01M12.2 8.2h.01"/><path d="M15 2.5v4M13 4.5h4"/>',home:'<path d="M3.5 9 10 3.5 16.5 9"/><path d="M5 7.8v8.7h10V7.8"/><path d="M8.5 16.5v-4h3v4"/>',dashboard:'<rect x="3" y="3" width="6" height="6" rx="1.3"/><rect x="11" y="3" width="6" height="6" rx="1.3"/><rect x="3" y="11" width="6" height="6" rx="1.3"/><rect x="11" y="11" width="6" height="6" rx="1.3"/>',board:'<rect x="3" y="3.5" width="4" height="13" rx="1.2"/><rect x="8" y="3.5" width="4" height="9" rx="1.2"/><rect x="13" y="3.5" width="4" height="6" rx="1.2"/>',layout:'<rect x="3.5" y="3" width="13" height="3.5" rx="1"/><rect x="3.5" y="8.25" width="13" height="3.5" rx="1"/><rect x="3.5" y="13.5" width="13" height="3.5" rx="1"/>',layers:'<path d="M10 3 17 6.8 10 10.6 3 6.8z"/><path d="M3 10.1l7 3.8 7-3.8"/><path d="M3 13.4l7 3.8 7-3.8"/>',document:'<path d="M5 2.8h6.8l3.2 3.2v11.2H5z"/><path d="M11.8 2.8V6H15M7.5 10h5M7.5 13h5"/>',article:'<rect x="3" y="3.5" width="14" height="13" rx="1.5"/><path d="M6 7h8M6 10h8M6 13h5"/>',page:'<rect x="2.5" y="3.5" width="15" height="13" rx="2"/><path d="M2.5 7.5h15M6 11h8M6 13.5h5"/>',image:'<rect x="3" y="3.5" width="14" height="13" rx="1.8"/><circle cx="7.3" cy="7.8" r="1.3"/><path d="M3.5 15l4.2-4.2 3 3 2.2-2.2 3.6 3.6"/>',folder:'<path d="M2.8 5.3c0-.8.6-1.3 1.3-1.3h3.4l1.8 2h6.6c.8 0 1.3.6 1.3 1.3v7.7c0 .8-.6 1.3-1.3 1.3H4.1c-.8 0-1.3-.6-1.3-1.3z"/>',list:'<path d="M8 5h9M8 10h9M8 15h9"/><circle cx="4" cy="5" r=".9"/><circle cx="4" cy="10" r=".9"/><circle cx="4" cy="15" r=".9"/>',activity:'<path d="M2.5 10h3l2-5 3 10 2-5h5"/>',funnel:'<path d="M3 4h14l-5.2 6.2v4.6l-3.6 1.7v-6.3z"/>',chart:'<path d="M3 16.5h14"/><rect x="4.5" y="9" width="2.8" height="5.5" rx=".7"/><rect x="8.6" y="5" width="2.8" height="9.5" rx=".7"/><rect x="12.7" y="11" width="2.8" height="3.5" rx=".7"/>',radar:'<circle cx="10" cy="10" r="7"/><circle cx="10" cy="10" r="3.5"/><path d="M10 10l5-5"/>',map:'<rect x="3" y="3" width="14" height="14" rx="2"/><path d="M3 7.7h14M3 12.3h14M7.7 3v14M12.3 3v14"/>',globe:'<circle cx="10" cy="10" r="7"/><path d="M3 10h14M10 3c2 2 2.8 4.3 2.8 7s-.8 5-2.8 7c-2-2-2.8-4.3-2.8-7s.8-5 2.8-7z"/>',megaphone:'<path d="M3 8v4h3l6 4V4L6 8H3z"/><path d="M15 7.5a3.5 3.5 0 0 1 0 5"/>',star:'<path d="M10 2.8l2.2 4.5 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L2.8 8l5-.7z"/>',eye:'<path d="M1.8 10S4.7 4.8 10 4.8 18.2 10 18.2 10 15.3 15.2 10 15.2 1.8 10 1.8 10z"/><circle cx="10" cy="10" r="2.5"/>',inbox:'<path d="M3 11l2-7h10l2 7v5H3z"/><path d="M3 11h4l1 2h4l1-2h4"/>',bell:'<path d="M5 13.5V9a5 5 0 0 1 10 0v4.5l1.3 1.5H3.7z"/><path d="M8.3 17.2a1.9 1.9 0 0 0 3.4 0"/>',chat:'<path d="M3 4.5h14v9H8.5L5 16.5v-3H3z"/>',money:'<circle cx="10" cy="10" r="7"/><path d="M12 7.6c-.5-.7-1.2-1-2-1-1.1 0-2 .7-2 1.6 0 2.1 4 1.2 4 3.4 0 .9-.9 1.6-2 1.6-.8 0-1.6-.3-2.1-1M10 5v1.6M10 13.2V15"/>',store:'<path d="M3.2 7.5 4.5 3.5h11l1.3 4"/><path d="M3.2 7.5c0 1.3 1 2.2 2.3 2.2s2.2-1 2.2-2.2c0 1.3 1 2.2 2.3 2.2s2.3-1 2.3-2.2c0 1.3.9 2.2 2.2 2.2s2.3-.9 2.3-2.2"/><path d="M4.5 9.5v7h11v-7M8.5 16.5v-3.5h3v3.5"/>',user:'<circle cx="10" cy="7" r="3.2"/><path d="M3.8 16.5c.8-2.8 3.3-4.5 6.2-4.5s5.4 1.7 6.2 4.5"/>',users:'<circle cx="7.5" cy="7.3" r="2.8"/><path d="M2.5 16.3c.6-2.5 2.5-4 5-4s4.4 1.5 5 4"/><path d="M12.3 4.8a2.8 2.8 0 0 1 0 5.2M14.3 12.5c1.6.4 2.7 1.7 3.2 3.8"/>',calendar:'<rect x="3" y="4.5" width="14" height="12.5" rx="1.8"/><path d="M3 8.5h14M7 3v3M13 3v3"/>',clock:'<circle cx="10" cy="10" r="7"/><path d="M10 6v4l2.8 1.8"/>',trash:'<path d="M4 6h12"/><path d="M8 6V4.5h4V6"/><path d="M5.5 6l.8 9.5h7.4l.8-9.5"/><path d="M8.5 9v4M11.5 9v4"/>',search:'<circle cx="8.8" cy="8.8" r="5.3"/><path d="M12.8 12.8 17 17"/>',moon:'<path d="M15.6 12.4A6.2 6.2 0 0 1 7.6 4.4a6.2 6.2 0 1 0 8 8Z"/>',sun:'<circle cx="10" cy="10" r="3.2"/><path d="M10 2.6v1.8M10 15.6v1.8M2.6 10h1.8M15.6 10h1.8M4.8 4.8l1.3 1.3M13.9 13.9l1.3 1.3M4.8 15.2l1.3-1.3M13.9 6.1l1.3-1.3"/>',link:'<path d="M8.6 11.4a3 3 0 0 0 4.2 0l2.6-2.6a3 3 0 0 0-4.2-4.2l-1 1"/><path d="M11.4 8.6a3 3 0 0 0-4.2 0l-2.6 2.6a3 3 0 0 0 4.2 4.2l1-1"/>',eyedropper:'<path d="M10.4 6.4 13.6 9.6"/><path d="M12 4.8 13.4 3.4a2.1 2.1 0 0 1 3 3L15 7.8"/><path d="M12 8 5.6 14.4 4 16"/>',sliders:'<path d="M3 5h14M3 10h14M3 15h14"/><circle cx="7" cy="5" r="1.6"/><circle cx="13" cy="10" r="1.6"/><circle cx="9" cy="15" r="1.6"/>',settings:'<path d="M15.52 9.08 17.15 9.15 17.15 10.85 15.52 10.92 14.56 13.26 15.66 14.45 14.45 15.66 13.26 14.56 10.92 15.52 10.85 17.15 9.15 17.15 9.08 15.52 6.74 14.56 5.55 15.66 4.34 14.45 5.44 13.26 4.48 10.92 2.85 10.85 2.85 9.15 4.48 9.08 5.44 6.74 4.34 5.55 5.55 4.34 6.74 5.44 9.08 4.48 9.15 2.85 10.85 2.85 10.92 4.48 13.26 5.44 14.45 4.34 15.66 5.55 14.56 6.74Z"/><circle cx="10" cy="10" r="2.4"/>',alert:'<path d="M10 3.2 17.3 16H2.7z"/><path d="M10 8.2v3.6M10 13.9v.1"/>',info:'<circle cx="10" cy="10" r="7"/><path d="M10 9v4.5M10 6.4v.1"/>',check:'<path d="M4 10.5 8 14.5 16 5.5"/>',plus:'<path d="M10 4v12M4 10h12"/>',close:'<path d="M5 5l10 10M15 5 5 15"/>',more:'<circle cx="4.5" cy="10" r="1"/><circle cx="10" cy="10" r="1"/><circle cx="15.5" cy="10" r="1"/>',apps:'<circle cx="4.5" cy="4.5" r="1"/><circle cx="10" cy="4.5" r="1"/><circle cx="15.5" cy="4.5" r="1"/><circle cx="4.5" cy="10" r="1"/><circle cx="10" cy="10" r="1"/><circle cx="15.5" cy="10" r="1"/><circle cx="4.5" cy="15.5" r="1"/><circle cx="10" cy="15.5" r="1"/><circle cx="15.5" cy="15.5" r="1"/>',utensils:'<path d="M6 3v5a2 2 0 0 0 4 0V3M8 3v14"/><path d="M15 3c-1.6 1.4-2.5 3.6-2.5 6.5H15V17"/>',signOut:'<path d="M8 3.5H4v13h4M12.5 6.5 16 10l-3.5 3.5M16 10H8"/>',sparkle:'<path d="M9 3.5c.4 2.9 1.6 4.1 4.5 4.5-2.9.4-4.1 1.6-4.5 4.5-.4-2.9-1.6-4.1-4.5-4.5 2.9-.4 4.1-1.6 4.5-4.5z"/><path d="M14.5 12.5c.2 1.3.7 1.8 2 2-1.3.2-1.8.7-2 2-.2-1.3-.7-1.8-2-2 1.3-.2 1.8-.7 2-2z"/>',hash:'<path d="M8 3.5 6.5 16.5M13.5 3.5 12 16.5M4 7.5h12.5M3.5 12.5H16"/>',lock:'<rect x="4.5" y="9" width="11" height="8" rx="1.5"/><path d="M7 9V6.5a3 3 0 0 1 6 0V9"/>',reply:'<path d="M8 13.5 3.5 9 8 4.5M3.5 9h8a5 5 0 0 1 5 5v2"/>',thread:'<path d="M3 4.5h14v9H8.5L5 16.5v-3H3z"/><path d="M6.5 8h7M6.5 10.5h4.5"/>',paperclip:'<path d="M15.5 9.5 10 15a3.5 3.5 0 0 1-5-5l6-6a2.3 2.3 0 0 1 3.3 3.3l-6 6a1.2 1.2 0 0 1-1.7-1.7l5.3-5.3"/>',send:'<path d="M3.5 10 16.5 3.5 13 16.5 9.5 11z"/><path d="M9.5 11 16.5 3.5"/>',chevronLeft:'<path d="M12.5 4.5 7 10l5.5 5.5"/>',chevronRight:'<path d="M7.5 4.5 13 10l-5.5 5.5"/>',arrowLeft:'<path d="M16 10H4M9 5l-5 5 5 5"/>',chevronsDown:'<path d="M6 5.5l4 4 4-4M6 10.5l4 4 4-4"/>',chevronDown:'<path d="M6 8l4 4 4-4"/>',panelRight:'<rect x="3" y="3.5" width="14" height="13" rx="2"/><path d="M12.5 3.5v13"/>',emoji:'<circle cx="10" cy="10" r="6.5"/><path d="M7.5 11.8s.9 1.2 2.5 1.2 2.5-1.2 2.5-1.2"/><path d="M7.8 8.2h.01M12.2 8.2h.01"/>',chevronUp:'<path d="M6 12l4-4 4 4"/>',bookmark:'<path d="M5.5 3.5h9v13l-4.5-3.2-4.5 3.2z"/>',trophy:'<path d="M6.5 3.5h7v3.8a3.5 3.5 0 0 1-7 0z"/><path d="M6.5 5H4.5v1.2a2.3 2.3 0 0 0 2.6 2.3M13.5 5h2v1.2a2.3 2.3 0 0 1-2.6 2.3"/><path d="M10 10.8v2.7M7 16.5h6l-.6-3H7.6z"/>',flame:'<path d="M10 17c-2.9 0-5-2-5-4.9 0-2.5 1.7-3.9 2.6-5.8.5 1.3 1.2 2.1 2.1 2.4.1-2.3 1.2-4.2 2.4-5.7.7 2.6 2.9 4.5 2.9 8.7 0 3.1-2.1 5.3-5 5.3z"/><path d="M10 17c-1.2 0-2.1-.9-2.1-2.1 0-1.2.9-1.9 1.4-2.8.8 1 2.8 1.6 2.8 2.8 0 1.2-.9 2.1-2.1 2.1z"/>',grip:'<circle cx="7.5" cy="5" r="1"/><circle cx="12.5" cy="5" r="1"/><circle cx="7.5" cy="10" r="1"/><circle cx="12.5" cy="10" r="1"/><circle cx="7.5" cy="15" r="1"/><circle cx="12.5" cy="15" r="1"/>',timer:'<path d="M5.5 3h9M5.5 17h9"/><path d="M6.5 3c0 3.5 3.5 4.5 3.5 7s-3.5 3.5-3.5 7M13.5 3c0 3.5-3.5 4.5-3.5 7s3.5 3.5 3.5 7"/>',target:'<circle cx="10" cy="10" r="7"/><circle cx="10" cy="10" r="4"/><circle cx="10" cy="10" r="1"/>'},l=Object.keys(r);Object.freeze&&Object.freeze(l);function e(h){return String(h).replace(/[&<>"']/g,function(c){return c==="&"?"&amp;":c==="<"?"&lt;":c===">"?"&gt;":c==='"'?"&quot;":"&#x27;"})}function x(h,c){var p=typeof h=="string"&&Object.prototype.hasOwnProperty.call(r,h)?r[h]:"";if(!p)return"";var a=c&&typeof c=="object"?c:{},M=a.size===void 0?20:a.size,y=M===null?"":' width="'+e(M)+'" height="'+e(M)+'"',i=a.title;return'<svg viewBox="0 0 20 20"'+y+(i?' role="img"':' aria-hidden="true"')+' focusable="false">'+(i?"<title>"+e(i)+"</title>":"")+'<g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">'+p+"</g></svg>"}t.icon=x,t.ICON_NAMES=l})(typeof globalThis<"u"?globalThis:this);
package/src/icons.tsx CHANGED
@@ -51,6 +51,8 @@ const P = {
51
51
  users: <><circle cx="7.5" cy="7.3" r="2.8" /><path d="M2.5 16.3c.6-2.5 2.5-4 5-4s4.4 1.5 5 4" /><path d="M12.3 4.8a2.8 2.8 0 0 1 0 5.2M14.3 12.5c1.6.4 2.7 1.7 3.2 3.8" /></>,
52
52
  calendar: <><rect x="3" y="4.5" width="14" height="12.5" rx="1.8" /><path d="M3 8.5h14M7 3v3M13 3v3" /></>,
53
53
  clock: <><circle cx="10" cy="10" r="7" /><path d="M10 6v4l2.8 1.8" /></>,
54
+ /** Delete (16/11/2026, the Inbox row's quick action): a bin, its lid and two lines, on the set's 20px grid. */
55
+ trash: <><path d="M4 6h12" /><path d="M8 6V4.5h4V6" /><path d="M5.5 6l.8 9.5h7.4l.8-9.5" /><path d="M8.5 9v4M11.5 9v4" /></>,
54
56
  search: <><circle cx="8.8" cy="8.8" r="5.3" /><path d="M12.8 12.8 17 17" /></>,
55
57
  moon: <path d="M15.6 12.4A6.2 6.2 0 0 1 7.6 4.4a6.2 6.2 0 1 0 8 8Z" />,
56
58
  sun: <><circle cx="10" cy="10" r="3.2" /><path d="M10 2.6v1.8M10 15.6v1.8M2.6 10h1.8M15.6 10h1.8M4.8 4.8l1.3 1.3M13.9 13.9l1.3 1.3M4.8 15.2l1.3-1.3M13.9 6.1l1.3-1.3" /></>,
package/src/metrics.tsx CHANGED
@@ -2,7 +2,7 @@
2
2
  * Metrics — @gemboss/ui (unreleased). A row of big numbers on cards, each with its name above it and one line under it: a plugin's Home
3
3
  * ("Live subscriptions 1,284", "Next 7 days $9,840 · 286 charges", GemLoop canvas S3MbznkcRrCMuTYeRmphwA, board Main) and a list's
4
4
  * cards (a plan's subscribers and products, board loop-plans). The kit had these only in kit-plain.css (`ui-metric--lg` in a
5
- * `ui-metrics--grid`), which the admin does not load, so each React screen drew its own tile (GemPersonalizer's Home, GemTroop's copy of
5
+ * `ui-metrics--grid`), which the admin does not load, so each React screen drew its own tile (GemPrint's Home, GemTroop's copy of
6
6
  * the plain rules). This is that card as a part, with the same class names, so a plain page and a React one draw one look.
7
7
  *
8
8
  * - `Metrics`: the grid. `auto-fit` splits the row evenly, so four never fold into three and an orphan; two columns at 520px and under.
@@ -0,0 +1 @@
1
+ @media (pointer: coarse),(max-width: 47.9975em){.ui-select.ui-select{--ui-select-band: 4px;--ui-select-line: var(--p-color-input-border, var(--gemboss-field-line));border-width:var(--ui-select-band) 0;border-color:transparent!important;border-radius:var(--ui-radius-md) / calc(var(--ui-radius-md) + var(--ui-select-band));-webkit-background-clip:padding-box!important;background-clip:padding-box!important;box-shadow:inset 0 0 0 1px var(--ui-select-line)}.ui-select--slim.ui-select--slim{--ui-select-band: 7px}.ui-select.ui-select[aria-invalid=true]{--ui-select-line: var(--gemboss-danger-strong)}.ui-select.ui-select:focus-visible:not(:disabled){--ui-select-line: var(--p-color-input-border-active, var(--gemboss-field-line-active));outline:none;box-shadow:inset 0 0 0 1px var(--ui-select-line),inset 0 0 0 3px var(--ui-focus)}}@media (pointer: coarse) and (min-width: 48em){.ui-select.ui-select:not(.ui-select--slim){--ui-select-band: 6px}}@media (hover: hover) and (max-width: 47.9975em),(hover: hover) and (pointer: coarse){.ui-select.ui-select:hover:not(:disabled):not(:focus-visible){--ui-select-line: var(--p-color-input-border-hover, var(--gemboss-field-line-hover))}}
@@ -1 +1 @@
1
- (function(M){"use strict";var b=M.gembossUI||(M.gembossUI={});if(b.initServiceSwitcher)return;var K=[["gemboss","GemBoss"],["build","Build the store"],["market","Read the market"],["content","Content and community"],["customers","Customers"],["team","Team and partners"]],O=[["gemboss","GemBoss","https://admin.gemboss.ai","The seller app and the ops console.","gemboss","dashboard","iris"],["gemfactory","GemFactory","https://gemfactory.ops.gemboss.ai","Review sections, elements and templates.","build","layers","blue"],["gemmedia","GemMedia","https://media.gemboss.ai","Images and videos made for stores, and their cost.","build","image","rose"],["gemform","GemForm","https://gemform.ops.gemboss.ai","Form submissions from stores.","build","document","teal"],["gemx","GemX","https://x.gemboss.ai","Tests and personalization across every store.","build","sliders","amber"],["gemwatcher","GemWatcher","https://gemwatcher.ops.gemboss.ai","Store and market intelligence.","market","eye","violet"],["gemmarket","GemMarket","https://market.gemboss.ai","Each store's market read and its competitors.","market","chart","green"],["gempixel","GemPixel","https://pixel.gemboss.ai","Events every store sends, and whether they add up.","market","activity","blue"],["gemcapture","GemCapture","https://capture.gemboss.ai/admin","Page captures and visual checks.","market","page","slate"],["search-radar","Search Radar","https://search-radar.ops.gemboss.ai","Rankings on the App Store, Google and AI answers.","market","radar","amber"],["gempress","GemPress","https://press.gemboss.ai/admin","Articles and the content store.","content","article","orange"],["content-radar","Content Radar","https://content-radar.ops.gemboss.ai","From the topics worth writing to articles.","content","radar","teal"],["gemcommunity","GemCommunity","https://community.gemboss.ai/admin","The seller community.","content","users","blue"],["gemnews","GemCommunity News","https://news.gemboss.ai/admin","News posts and how they are read.","content","megaphone","rose"],["gemcare","GemCare","https://care.gemboss.ai/inbox","The customer care inbox.","customers","chat","green"],["gemfeedback","GemFeedback","https://feedback.gemboss.ai/admin","The feedback backlog.","customers","inbox","violet"],["partner-radar","Partner Radar","https://partner-radar.ops.gemboss.ai","Partners and agencies, as a CRM.","team","link","orange"],["taskdesk","Taskdesk","https://gemlabs-taskdesk-production.up.railway.app","Every job the fleet is running.","team","list","slate"]],U={apps:'<circle cx="4.5" cy="4.5" r="1"/><circle cx="10" cy="4.5" r="1"/><circle cx="15.5" cy="4.5" r="1"/><circle cx="4.5" cy="10" r="1"/><circle cx="10" cy="10" r="1"/><circle cx="15.5" cy="10" r="1"/><circle cx="4.5" cy="15.5" r="1"/><circle cx="10" cy="15.5" r="1"/><circle cx="15.5" cy="15.5" r="1"/>',close:'<path d="M5 5l10 10M15 5 5 15"/>',search:'<circle cx="8.8" cy="8.8" r="5.3"/><path d="M12.8 12.8 17 17"/>',dashboard:'<rect x="3" y="3" width="6" height="6" rx="1.3"/><rect x="11" y="3" width="6" height="6" rx="1.3"/><rect x="3" y="11" width="6" height="6" rx="1.3"/><rect x="11" y="11" width="6" height="6" rx="1.3"/>',layers:'<path d="M10 3 17 6.8 10 10.6 3 6.8z"/><path d="M3 10.1l7 3.8 7-3.8"/><path d="M3 13.4l7 3.8 7-3.8"/>',image:'<rect x="3" y="3.5" width="14" height="13" rx="1.8"/><circle cx="7.3" cy="7.8" r="1.3"/><path d="M3.5 15l4.2-4.2 3 3 2.2-2.2 3.6 3.6"/>',document:'<path d="M5 2.8h6.8l3.2 3.2v11.2H5z"/><path d="M11.8 2.8V6H15M7.5 10h5M7.5 13h5"/>',sliders:'<path d="M3 5h14M3 10h14M3 15h14"/><circle cx="7" cy="5" r="1.6"/><circle cx="13" cy="10" r="1.6"/><circle cx="9" cy="15" r="1.6"/>',eye:'<path d="M1.8 10S4.7 4.8 10 4.8 18.2 10 18.2 10 15.3 15.2 10 15.2 1.8 10 1.8 10z"/><circle cx="10" cy="10" r="2.5"/>',chart:'<path d="M3 16.5h14"/><rect x="4.5" y="9" width="2.8" height="5.5" rx=".7"/><rect x="8.6" y="5" width="2.8" height="9.5" rx=".7"/><rect x="12.7" y="11" width="2.8" height="3.5" rx=".7"/>',activity:'<path d="M2.5 10h3l2-5 3 10 2-5h5"/>',page:'<rect x="2.5" y="3.5" width="15" height="13" rx="2"/><path d="M2.5 7.5h15M6 11h8M6 13.5h5"/>',radar:'<circle cx="10" cy="10" r="7"/><circle cx="10" cy="10" r="3.5"/><path d="M10 10l5-5"/>',article:'<rect x="3" y="3.5" width="14" height="13" rx="1.5"/><path d="M6 7h8M6 10h8M6 13h5"/>',users:'<circle cx="7.5" cy="7.3" r="2.8"/><path d="M2.5 16.3c.6-2.5 2.5-4 5-4s4.4 1.5 5 4"/><path d="M12.3 4.8a2.8 2.8 0 0 1 0 5.2M14.3 12.5c1.6.4 2.7 1.7 3.2 3.8"/>',megaphone:'<path d="M3 8v4h3l6 4V4L6 8H3z"/><path d="M15 7.5a3.5 3.5 0 0 1 0 5"/>',chat:'<path d="M3 4.5h14v9H8.5L5 16.5v-3H3z"/>',inbox:'<path d="M3 11l2-7h10l2 7v5H3z"/><path d="M3 11h4l1 2h4l1-2h4"/>',link:'<path d="M8.6 11.4a3 3 0 0 0 4.2 0l2.6-2.6a3 3 0 0 0-4.2-4.2l-1 1"/><path d="M11.4 8.6a3 3 0 0 0-4.2 0l-2.6 2.6a3 3 0 0 0 4.2 4.2l1-1"/>',list:'<path d="M8 5h9M8 10h9M8 15h9"/><circle cx="4" cy="5" r=".9"/><circle cx="4" cy="10" r=".9"/><circle cx="4" cy="15" r=".9"/>'},B={trigger:"Switch service",title:"Gem services",close:"Close",search:"Find a service",noMatch:"No service matches \u201C{query}\u201D.",all:"All services and their health"},F="https://gemfactory.ops.gemboss.ai/services",V=".gemboss-platform-topbar, header, [role='banner']",D=O.map(function(a){return{id:a[0],name:a[1],url:a[2],purpose:a[3],group:a[4],icon:a[5],tint:a[6]}}),c=function(a){return String(a).replace(/[&<>"']/g,function(r){return{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}[r]})},k=function(a,r){return'<svg viewBox="0 0 20 20" width="'+r+'" height="'+r+'" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">'+(U[a]||"")+"</g></svg>"},j=0;function W(a){return K.map(function(r){return{id:r[0],title:r[1],services:a.filter(function(l){return l.group===r[0]})}}).filter(function(r){return r.services.length>0})}function X(a,r,l){var o=a.map(function(d){return d.getBoundingClientRect()}),u=o[r],_=u.left+u.width/2,f=-1,m=0,y=0;return o.forEach(function(d,E){if(!(l>0?d.top<=u.top+1:d.top>=u.top-1)){var h=Math.abs(d.left+d.width/2-_),s=f<0||(l>0?d.top<m-1:d.top>m+1),p=f>=0&&Math.abs(d.top-m)<=1;(s||p&&h<y)&&(f=E,m=d.top,y=h)}}),f}function N(a,r){var l=a.children;l.length===r.length&&r.every(function(o,u){return l[u]===o})||a.replaceChildren.apply(a,r)}function J(a,r){var l=r.current||a.getAttribute("data-gb-service-switcher")||"",o={},u;for(u in B)o[u]=r.labels&&r.labels[u]!=null?r.labels[u]:B[u];var _=r.allHref===void 0?F:r.allHref,f=W(r.services||D),m="gb-svc"+ ++j+"-",y=m+"svc",d=m+"svc-t",E=document.createElement("template");E.innerHTML='<button type="button" class="gb-svc-trigger'+(r.className?" "+c(r.className):"")+'" aria-haspopup="dialog" aria-expanded="false" aria-controls="'+y+'" aria-label="'+c(o.trigger)+'" title="'+c(o.trigger)+'">'+k("apps",20)+'</button><dialog id="'+y+'" class="gb-svc" aria-labelledby="'+d+'"><div class="gb-svc__head"><h2 class="gb-svc__title" id="'+d+'">'+c(o.title)+'</h2><button type="button" class="ui-modal__close" aria-label="'+c(o.close)+'">'+k("close",20)+"</button></div>"+(r.search===!1?"":'<div class="gb-svc__search"><label class="gemboss-field gemboss-field--group">'+k("search",16)+'<input class="gemboss-field__bare" type="search" name="service-search" autocomplete="off" value="" placeholder="'+c(o.search)+'" aria-label="'+c(o.search)+'"></label></div>')+'<div class="gb-svc__body">'+f.map(function(e){return'<div class="gb-svc__group" role="group" aria-labelledby="'+m+"svc-"+c(e.id)+'"><h3 class="gb-svc__heading" id="'+m+"svc-"+c(e.id)+'">'+c(e.title)+'</h3><ul class="gb-svc__grid" role="list">'+e.services.map(function(t){return'<li><a class="gb-svc__tile" href="'+c(t.url)+'" data-tint="'+c(t.tint)+'"'+(t.id===l?' aria-current="page"':"")+' tabindex="-1"><span class="gb-svc__mark" aria-hidden="true">'+k(t.icon,22)+'</span><span class="gb-svc__name">'+c(t.name)+'</span><span class="gb-svc__purpose">'+c(t.purpose)+"</span></a></li>"}).join("")+"</ul></div>"}).join("")+"</div>"+(_?'<div class="gb-svc__foot"><a class="gb-svc__all" href="'+c(_)+'">'+c(o.all)+'<span aria-hidden="true">\u2192</span></a></div>':"")+"</dialog>";var h=E.content.firstChild,s=h.nextSibling,p=s.querySelector(".gb-svc__search input"),S=s.querySelector(".gb-svc__body"),G=function(){return Array.prototype.slice.call(s.querySelectorAll(".gb-svc__tile"))},Q=G(),Y=0,C=[];f.forEach(function(e,t){e.el=S.children[t],e.ul=e.el.querySelector("ul"),e.items=e.services.map(function(n){var i=Q[Y++],v={s:n,a:i,li:i.parentNode};return C.push(v),v})});var A=document.createElement("p");A.className="gb-svc__empty",A.setAttribute("role","status");var L=l,R=null,q=!1;function x(){var e=p?p.value:"",t=e.trim().toLowerCase(),n=[],i=[];f.forEach(function(g){var T=g.items.filter(function(w){return!t||(w.s.name+" "+w.s.purpose+" "+w.s.id+" "+g.title).toLowerCase().indexOf(t)>-1});T.length&&(N(g.ul,T.map(function(w){return w.li})),n.push(g.el),i=i.concat(T))}),n.length||(A.textContent=o.noMatch.replace("{query}",e.trim()),n.push(A)),N(S,n);var v=i.map(function(g){return g.s.id}),I=v.indexOf(L)>-1?L:v.indexOf(l)>-1?l:v[0];i.forEach(function(g){g.a.setAttribute("tabindex",g.s.id===I?"0":"-1")})}function H(){var e=h.previousElementSibling,t=(e&&e.tagName==="A"?e:h).getBoundingClientRect(),n=h.closest(V),i=Math.max(h.getBoundingClientRect().bottom,n?n.getBoundingClientRect().bottom:0),v=document.documentElement.clientWidth,I=Math.min(760,v-24);s.style.setProperty("--gb-svc-x",Math.round(Math.max(12,Math.min(t.left,v-I-12)))+"px"),s.style.setProperty("--gb-svc-y",Math.round(i+6)+"px")}function z(){if(!(s.open||!s.isConnected)){H(),b.closeMenus&&b.closeMenus(),R=document.activeElement,s.showModal(),h.setAttribute("aria-expanded","true"),L=l,x();var e=s.querySelector(".gb-svc__tile[aria-current]")||s.querySelector(".gb-svc__tile");e&&e.focus(),addEventListener("resize",H)}}return s.addEventListener("close",function(){removeEventListener("resize",H),h.setAttribute("aria-expanded","false"),p&&(p.value=""),x();var e=R;R=null,e&&e.focus&&e.focus({preventScroll:!0})}),h.addEventListener("click",z),s.addEventListener("pointerdown",function(e){q=e.target===s}),s.addEventListener("click",function(e){var t=e.target,n=q;if(q=!1,t===s){n&&s.close();return}(t.closest(".ui-modal__close")||t.closest(".gb-svc__tile, .gb-svc__all")&&e.button===0&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey)&&s.close()}),p&&(p.addEventListener("input",x),p.addEventListener("keydown",function(e){if(!e.isComposing){var t=G()[0];e.key==="Escape"?(e.preventDefault(),s.close()):e.key==="ArrowDown"?(e.preventDefault(),t&&t.focus()):e.key==="Enter"&&p.value.trim()&&(e.preventDefault(),t&&t.click())}})),S.addEventListener("keydown",function(e){var t=G(),n=t.indexOf(document.activeElement),i;if(!(n<0||e.altKey||e.ctrlKey||e.metaKey)){if(e.key==="ArrowRight")i=Math.min(n+1,t.length-1);else if(e.key==="ArrowLeft")i=Math.max(n-1,0);else if(e.key==="Home")i=0;else if(e.key==="End")i=t.length-1;else if(e.key==="ArrowDown"||e.key==="ArrowUp"){if(i=X(t,n,e.key==="ArrowDown"?1:-1),i<0&&e.key==="ArrowUp"&&p){e.preventDefault(),p.focus();return}i<0&&(i=n)}else return;e.preventDefault(),t[i].focus()}}),S.addEventListener("focusin",function(e){for(var t=0;t<C.length;t++)if(C[t].a===e.target){L=C[t].s.id,x();return}}),x(),a.replaceWith(h,s),{button:h,dialog:s,open:z,close:function(){s.close()}}}function P(a){return a=a||{},document.readyState==="loading"?document.addEventListener("DOMContentLoaded",function(){P(a)},{once:!0}):!b.openModal&&M.console&&document.querySelector('script[src*="kit-plain"]')&&M.console.error("@gemboss/ui service-switcher-plain.js: load it after kit-plain.js (kit-plain.js defines nothing when gembossUI exists)"),Array.prototype.map.call((a.root||document).querySelectorAll("[data-gb-service-switcher]"),function(r){return J(r,a)})}b.initServiceSwitcher=P,b.GEM_SERVICES=D})(typeof globalThis<"u"?globalThis:this);
1
+ (function(M){"use strict";var b=M.gembossUI||(M.gembossUI={});if(b.initServiceSwitcher)return;var N=[["gemboss","GemBoss"],["build","Build the store"],["market","Read the market"],["content","Content and community"],["customers","Customers"],["team","Team and partners"]],O=[["gemboss","GemBoss","https://admin.gemboss.ai","The seller app and the ops console.","gemboss","dashboard","iris"],["gemfactory","GemFactory","https://gemfactory.ops.gemboss.ai","Review sections, elements and templates.","build","layers","blue"],["gemmedia","GemMedia","https://media.gemboss.ai","Images and videos made for stores, and their cost.","build","image","rose"],["gemform","GemForm","https://gemform.ops.gemboss.ai","Form submissions from stores.","build","document","teal"],["gemx","GemX","https://x.gemboss.ai","Tests and personalization across every store.","build","sliders","amber"],["gemwatcher","GemWatcher","https://gemwatcher.ops.gemboss.ai","Store and market intelligence.","market","eye","violet"],["gemmarket","GemMarket","https://market.gemboss.ai","Each store's market read and its competitors.","market","chart","green"],["gempixel","GemPixel","https://pixel.gemboss.ai","Events every store sends, and whether they add up.","market","activity","blue"],["gemcapture","GemCapture","https://capture.gemboss.ai/admin","Page captures and visual checks.","market","page","slate"],["search-radar","Search Radar","https://search-radar.ops.gemboss.ai","Rankings on the App Store, Google and AI answers.","market","radar","amber"],["gempress","GemPress","https://press.gemboss.ai/admin","Articles and the content store.","content","article","orange"],["content-radar","Content Radar","https://content-radar.ops.gemboss.ai","From the topics worth writing to articles.","content","radar","teal"],["gemcommunity","GemCommunity","https://community.gemboss.ai/admin","The seller community.","content","users","blue"],["gemnews","GemSpace","https://space.gemboss.ai/admin","The new-tab workspace and how its news is read.","content","megaphone","rose"],["gemcare","GemCare","https://care.gemboss.ai/inbox","The customer care inbox.","customers","chat","green"],["gemfeedback","GemFeedback","https://feedback.gemboss.ai/admin","The feedback backlog.","customers","inbox","violet"],["partner-radar","Partner Radar","https://partner-radar.ops.gemboss.ai","Partners and agencies, as a CRM.","team","link","orange"],["taskdesk","Taskdesk","https://gemlabs-taskdesk-production.up.railway.app","Every job the fleet is running.","team","list","slate"]],U={apps:'<circle cx="4.5" cy="4.5" r="1"/><circle cx="10" cy="4.5" r="1"/><circle cx="15.5" cy="4.5" r="1"/><circle cx="4.5" cy="10" r="1"/><circle cx="10" cy="10" r="1"/><circle cx="15.5" cy="10" r="1"/><circle cx="4.5" cy="15.5" r="1"/><circle cx="10" cy="15.5" r="1"/><circle cx="15.5" cy="15.5" r="1"/>',close:'<path d="M5 5l10 10M15 5 5 15"/>',search:'<circle cx="8.8" cy="8.8" r="5.3"/><path d="M12.8 12.8 17 17"/>',dashboard:'<rect x="3" y="3" width="6" height="6" rx="1.3"/><rect x="11" y="3" width="6" height="6" rx="1.3"/><rect x="3" y="11" width="6" height="6" rx="1.3"/><rect x="11" y="11" width="6" height="6" rx="1.3"/>',layers:'<path d="M10 3 17 6.8 10 10.6 3 6.8z"/><path d="M3 10.1l7 3.8 7-3.8"/><path d="M3 13.4l7 3.8 7-3.8"/>',image:'<rect x="3" y="3.5" width="14" height="13" rx="1.8"/><circle cx="7.3" cy="7.8" r="1.3"/><path d="M3.5 15l4.2-4.2 3 3 2.2-2.2 3.6 3.6"/>',document:'<path d="M5 2.8h6.8l3.2 3.2v11.2H5z"/><path d="M11.8 2.8V6H15M7.5 10h5M7.5 13h5"/>',sliders:'<path d="M3 5h14M3 10h14M3 15h14"/><circle cx="7" cy="5" r="1.6"/><circle cx="13" cy="10" r="1.6"/><circle cx="9" cy="15" r="1.6"/>',eye:'<path d="M1.8 10S4.7 4.8 10 4.8 18.2 10 18.2 10 15.3 15.2 10 15.2 1.8 10 1.8 10z"/><circle cx="10" cy="10" r="2.5"/>',chart:'<path d="M3 16.5h14"/><rect x="4.5" y="9" width="2.8" height="5.5" rx=".7"/><rect x="8.6" y="5" width="2.8" height="9.5" rx=".7"/><rect x="12.7" y="11" width="2.8" height="3.5" rx=".7"/>',activity:'<path d="M2.5 10h3l2-5 3 10 2-5h5"/>',page:'<rect x="2.5" y="3.5" width="15" height="13" rx="2"/><path d="M2.5 7.5h15M6 11h8M6 13.5h5"/>',radar:'<circle cx="10" cy="10" r="7"/><circle cx="10" cy="10" r="3.5"/><path d="M10 10l5-5"/>',article:'<rect x="3" y="3.5" width="14" height="13" rx="1.5"/><path d="M6 7h8M6 10h8M6 13h5"/>',users:'<circle cx="7.5" cy="7.3" r="2.8"/><path d="M2.5 16.3c.6-2.5 2.5-4 5-4s4.4 1.5 5 4"/><path d="M12.3 4.8a2.8 2.8 0 0 1 0 5.2M14.3 12.5c1.6.4 2.7 1.7 3.2 3.8"/>',megaphone:'<path d="M3 8v4h3l6 4V4L6 8H3z"/><path d="M15 7.5a3.5 3.5 0 0 1 0 5"/>',chat:'<path d="M3 4.5h14v9H8.5L5 16.5v-3H3z"/>',inbox:'<path d="M3 11l2-7h10l2 7v5H3z"/><path d="M3 11h4l1 2h4l1-2h4"/>',link:'<path d="M8.6 11.4a3 3 0 0 0 4.2 0l2.6-2.6a3 3 0 0 0-4.2-4.2l-1 1"/><path d="M11.4 8.6a3 3 0 0 0-4.2 0l-2.6 2.6a3 3 0 0 0 4.2 4.2l1-1"/>',list:'<path d="M8 5h9M8 10h9M8 15h9"/><circle cx="4" cy="5" r=".9"/><circle cx="4" cy="10" r=".9"/><circle cx="4" cy="15" r=".9"/>'},B={trigger:"Switch service",title:"Gem services",close:"Close",search:"Find a service",noMatch:"No service matches \u201C{query}\u201D.",all:"All services and their health"},F="https://gemfactory.ops.gemboss.ai/services",V=".gemboss-platform-topbar, header, [role='banner']",D=O.map(function(a){return{id:a[0],name:a[1],url:a[2],purpose:a[3],group:a[4],icon:a[5],tint:a[6]}}),c=function(a){return String(a).replace(/[&<>"']/g,function(r){return{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}[r]})},k=function(a,r){return'<svg viewBox="0 0 20 20" width="'+r+'" height="'+r+'" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">'+(U[a]||"")+"</g></svg>"},j=0;function W(a){return N.map(function(r){return{id:r[0],title:r[1],services:a.filter(function(l){return l.group===r[0]})}}).filter(function(r){return r.services.length>0})}function X(a,r,l){var o=a.map(function(d){return d.getBoundingClientRect()}),u=o[r],_=u.left+u.width/2,f=-1,m=0,y=0;return o.forEach(function(d,E){if(!(l>0?d.top<=u.top+1:d.top>=u.top-1)){var h=Math.abs(d.left+d.width/2-_),s=f<0||(l>0?d.top<m-1:d.top>m+1),p=f>=0&&Math.abs(d.top-m)<=1;(s||p&&h<y)&&(f=E,m=d.top,y=h)}}),f}function P(a,r){var l=a.children;l.length===r.length&&r.every(function(o,u){return l[u]===o})||a.replaceChildren.apply(a,r)}function J(a,r){var l=r.current||a.getAttribute("data-gb-service-switcher")||"",o={},u;for(u in B)o[u]=r.labels&&r.labels[u]!=null?r.labels[u]:B[u];var _=r.allHref===void 0?F:r.allHref,f=W(r.services||D),m="gb-svc"+ ++j+"-",y=m+"svc",d=m+"svc-t",E=document.createElement("template");E.innerHTML='<button type="button" class="gb-svc-trigger'+(r.className?" "+c(r.className):"")+'" aria-haspopup="dialog" aria-expanded="false" aria-controls="'+y+'" aria-label="'+c(o.trigger)+'" title="'+c(o.trigger)+'">'+k("apps",20)+'</button><dialog id="'+y+'" class="gb-svc" aria-labelledby="'+d+'"><div class="gb-svc__head"><h2 class="gb-svc__title" id="'+d+'">'+c(o.title)+'</h2><button type="button" class="ui-modal__close" aria-label="'+c(o.close)+'">'+k("close",20)+"</button></div>"+(r.search===!1?"":'<div class="gb-svc__search"><label class="gemboss-field gemboss-field--group">'+k("search",16)+'<input class="gemboss-field__bare" type="search" name="service-search" autocomplete="off" value="" placeholder="'+c(o.search)+'" aria-label="'+c(o.search)+'"></label></div>')+'<div class="gb-svc__body">'+f.map(function(e){return'<div class="gb-svc__group" role="group" aria-labelledby="'+m+"svc-"+c(e.id)+'"><h3 class="gb-svc__heading" id="'+m+"svc-"+c(e.id)+'">'+c(e.title)+'</h3><ul class="gb-svc__grid" role="list">'+e.services.map(function(t){return'<li><a class="gb-svc__tile" href="'+c(t.url)+'" data-tint="'+c(t.tint)+'"'+(t.id===l?' aria-current="page"':"")+' tabindex="-1"><span class="gb-svc__mark" aria-hidden="true">'+k(t.icon,22)+'</span><span class="gb-svc__name">'+c(t.name)+'</span><span class="gb-svc__purpose">'+c(t.purpose)+"</span></a></li>"}).join("")+"</ul></div>"}).join("")+"</div>"+(_?'<div class="gb-svc__foot"><a class="gb-svc__all" href="'+c(_)+'">'+c(o.all)+'<span aria-hidden="true">\u2192</span></a></div>':"")+"</dialog>";var h=E.content.firstChild,s=h.nextSibling,p=s.querySelector(".gb-svc__search input"),S=s.querySelector(".gb-svc__body"),G=function(){return Array.prototype.slice.call(s.querySelectorAll(".gb-svc__tile"))},Q=G(),Y=0,C=[];f.forEach(function(e,t){e.el=S.children[t],e.ul=e.el.querySelector("ul"),e.items=e.services.map(function(n){var i=Q[Y++],v={s:n,a:i,li:i.parentNode};return C.push(v),v})});var A=document.createElement("p");A.className="gb-svc__empty",A.setAttribute("role","status");var L=l,R=null,q=!1;function x(){var e=p?p.value:"",t=e.trim().toLowerCase(),n=[],i=[];f.forEach(function(g){var I=g.items.filter(function(w){return!t||(w.s.name+" "+w.s.purpose+" "+w.s.id+" "+g.title).toLowerCase().indexOf(t)>-1});I.length&&(P(g.ul,I.map(function(w){return w.li})),n.push(g.el),i=i.concat(I))}),n.length||(A.textContent=o.noMatch.replace("{query}",e.trim()),n.push(A)),P(S,n);var v=i.map(function(g){return g.s.id}),T=v.indexOf(L)>-1?L:v.indexOf(l)>-1?l:v[0];i.forEach(function(g){g.a.setAttribute("tabindex",g.s.id===T?"0":"-1")})}function H(){var e=h.previousElementSibling,t=(e&&e.tagName==="A"?e:h).getBoundingClientRect(),n=h.closest(V),i=Math.max(h.getBoundingClientRect().bottom,n?n.getBoundingClientRect().bottom:0),v=document.documentElement.clientWidth,T=Math.min(760,v-24);s.style.setProperty("--gb-svc-x",Math.round(Math.max(12,Math.min(t.left,v-T-12)))+"px"),s.style.setProperty("--gb-svc-y",Math.round(i+6)+"px")}function K(){if(!(s.open||!s.isConnected)){H(),b.closeMenus&&b.closeMenus(),R=document.activeElement,s.showModal(),h.setAttribute("aria-expanded","true"),L=l,x();var e=s.querySelector(".gb-svc__tile[aria-current]")||s.querySelector(".gb-svc__tile");e&&e.focus(),addEventListener("resize",H)}}return s.addEventListener("close",function(){removeEventListener("resize",H),h.setAttribute("aria-expanded","false"),p&&(p.value=""),x();var e=R;R=null,e&&e.focus&&e.focus({preventScroll:!0})}),h.addEventListener("click",K),s.addEventListener("pointerdown",function(e){q=e.target===s}),s.addEventListener("click",function(e){var t=e.target,n=q;if(q=!1,t===s){n&&s.close();return}(t.closest(".ui-modal__close")||t.closest(".gb-svc__tile, .gb-svc__all")&&e.button===0&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey)&&s.close()}),p&&(p.addEventListener("input",x),p.addEventListener("keydown",function(e){if(!e.isComposing){var t=G()[0];e.key==="Escape"?(e.preventDefault(),s.close()):e.key==="ArrowDown"?(e.preventDefault(),t&&t.focus()):e.key==="Enter"&&p.value.trim()&&(e.preventDefault(),t&&t.click())}})),S.addEventListener("keydown",function(e){var t=G(),n=t.indexOf(document.activeElement),i;if(!(n<0||e.altKey||e.ctrlKey||e.metaKey)){if(e.key==="ArrowRight")i=Math.min(n+1,t.length-1);else if(e.key==="ArrowLeft")i=Math.max(n-1,0);else if(e.key==="Home")i=0;else if(e.key==="End")i=t.length-1;else if(e.key==="ArrowDown"||e.key==="ArrowUp"){if(i=X(t,n,e.key==="ArrowDown"?1:-1),i<0&&e.key==="ArrowUp"&&p){e.preventDefault(),p.focus();return}i<0&&(i=n)}else return;e.preventDefault(),t[i].focus()}}),S.addEventListener("focusin",function(e){for(var t=0;t<C.length;t++)if(C[t].a===e.target){L=C[t].s.id,x();return}}),x(),a.replaceWith(h,s),{button:h,dialog:s,open:K,close:function(){s.close()}}}function z(a){return a=a||{},document.readyState==="loading"?document.addEventListener("DOMContentLoaded",function(){z(a)},{once:!0}):!b.openModal&&M.console&&document.querySelector('script[src*="kit-plain"]')&&M.console.error("@gemboss/ui service-switcher-plain.js: load it after kit-plain.js (kit-plain.js defines nothing when gembossUI exists)"),Array.prototype.map.call((a.root||document).querySelectorAll("[data-gb-service-switcher]"),function(r){return J(r,a)})}b.initServiceSwitcher=z,b.GEM_SERVICES=D})(typeof globalThis<"u"?globalThis:this);
package/src/services.ts CHANGED
@@ -35,10 +35,10 @@ export const GEM_FACETS = {
35
35
  core: "#5661F5", // Lõi: GemBoss
36
36
  understand: "#38A3F1", // Hiểu: GemWatcher, GemMarket
37
37
  build: "#9B7BFF", // Dựng: GemTheme, GemFactory, GemMedia, GemCapture
38
- sell: "#16B88A", // Bán: GemOffer, GemLoop, GemReview, GemTroop, GemSeel, GemPersonalizer
38
+ sell: "#16B88A", // Bán: GemOffer, GemLoop, GemReview, GemTroop, GemSeel, GemPrint
39
39
  measure: "#2CC5C5", // Đo: GemPixel, GemX
40
40
  retain: "#F0457E", // Giữ khách: GemCare, GemReach
41
- spread: "#F5A524", // Lan toả: GemNews, GemCommunity, GemPress, GemAff
41
+ spread: "#F5A524", // Lan toả: GemSpace (tên cũ GemNews), GemCommunity, GemPress, GemAff
42
42
  } as const;
43
43
  export type GemFacet = keyof typeof GEM_FACETS;
44
44
 
@@ -84,7 +84,7 @@ export const GEM_SERVICES: readonly GemService[] = [
84
84
  { id: "gempress", name: "GemPress", url: "https://press.gemboss.ai/admin", purpose: "Articles and the content store.", group: "content", icon: "article", tint: "orange" },
85
85
  { id: "content-radar", name: "Content Radar", url: "https://content-radar.ops.gemboss.ai", purpose: "From the topics worth writing to articles.", group: "content", icon: "radar", tint: "teal" },
86
86
  { id: "gemcommunity", name: "GemCommunity", url: "https://community.gemboss.ai/admin", purpose: "The seller community.", group: "content", icon: "users", tint: "blue" },
87
- { id: "gemnews", name: "GemCommunity News", url: "https://news.gemboss.ai/admin", purpose: "News posts and how they are read.", group: "content", icon: "megaphone", tint: "rose" },
87
+ { id: "gemnews", name: "GemSpace", url: "https://space.gemboss.ai/admin", purpose: "The new-tab workspace and how its news is read.", group: "content", icon: "megaphone", tint: "rose" },
88
88
 
89
89
  { id: "gemcare", name: "GemCare", url: "https://care.gemboss.ai/inbox", purpose: "The customer care inbox.", group: "customers", icon: "chat", tint: "green" },
90
90
  { id: "gemfeedback", name: "GemFeedback", url: "https://feedback.gemboss.ai/admin", purpose: "The feedback backlog.", group: "customers", icon: "inbox", tint: "violet" },