@gramlot/gramlot 0.3.17 → 0.3.18

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.
@@ -8,6 +8,6 @@ mygramlot = GramlotCollection(
8
8
  module="assets/index.js",
9
9
  css=(),
10
10
  dependencies=(),
11
- build_id="sha256:edc714b4da34a6815ad202a3e3e7945f145415ba4543e058589615c06d295543",
11
+ build_id="sha256:0086cd5f2bcb2bdde0eadbfee419caf3aa958d79e9a6f7bd7d5ee25171164eeb",
12
12
  files=("assets/collection.js", "assets/index.js", "commands.json", "grammar.json",),
13
13
  )
@@ -24707,7 +24707,7 @@ var WindowSurface = class {
24707
24707
  .window-surface dialog[data-maximized]{max-width:100vw;max-height:100dvh;border-radius:0}
24708
24708
  .window-surface dialog::backdrop{background:var(--gramlot-window-backdrop,#0006)}
24709
24709
  .window-surface .titlebar{display:flex;align-items:center;gap:4px;flex:none;min-height:max(32px,var(--gramlot-tab-height,32px));padding:3px 5px 3px 12px;
24710
- background:color-mix(in srgb,var(--gramlot-surface,Canvas) 60%,var(--gramlot-surface-subtle,#edf1f7));border-bottom:1px solid var(--gramlot-border,#d5dce5)}
24710
+ background:var(--gramlot-header-background,#303946);color:var(--gramlot-header-color,#fff);border-bottom:1px solid var(--gramlot-border,#d5dce5)}
24711
24711
  .window-surface .title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1em;font-weight:600}
24712
24712
  .window-surface .titlebar[data-movable]{cursor:move;touch-action:none;user-select:none}
24713
24713
  .window-surface button{font:inherit;color:inherit;background:transparent;border:0;border-radius:4px;cursor:pointer;min-width:max(24px,var(--gramlot-touch-target,0px));min-height:max(24px,var(--gramlot-touch-target,0px))}
@@ -1,2 +1,2 @@
1
1
  export {default} from "./collection.js";
2
- export const buildId = "sha256:edc714b4da34a6815ad202a3e3e7945f145415ba4543e058589615c06d295543";
2
+ export const buildId = "sha256:0086cd5f2bcb2bdde0eadbfee419caf3aa958d79e9a6f7bd7d5ee25171164eeb";
package/dist/gramlot.js CHANGED
@@ -22244,10 +22244,12 @@ var labelboxStyle = `.gramlot-labelbox[hidden]{display:none!important}
22244
22244
  .gramlot-labelbox[data-formlet-aligned]>.label-box>label{width:max-content;margin-left:auto}
22245
22245
  .gramlot-labelbox[data-position='L']{grid-template-columns:var(--gramlot-label-width,var(--gramlot-formlet-label-width,max-content)) minmax(0,1fr)}
22246
22246
  .gramlot-labelbox:has(>.label-box[hidden]){gap:0;grid-template-areas:'control';grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
22247
- .gramlot-labelbox[data-variant='card']{gap:0;border:1px solid var(--gramlot-border-control,#b9c2ce);border-radius:var(--gramlot-window-radius,9px);background:var(--gramlot-surface,#fff);box-shadow:0 3px 10px #0002}
22248
- .gramlot-labelbox[data-variant='card']>.label-box{background:var(--gramlot-card-header-background,#303946);color:var(--gramlot-card-header-color,#fff);padding:7px 12px;border-radius:calc(var(--gramlot-window-radius,9px) - 1px) calc(var(--gramlot-window-radius,9px) - 1px) 0 0;font-weight:600}
22247
+ .gramlot-labelbox[data-variant='card']{gap:0;border:1px solid var(--gramlot-border-control,#b9c2ce);border-radius:var(--gramlot-window-radius,9px);background:var(--gramlot-surface,#fff);color:var(--gramlot-ink,CanvasText);box-shadow:0 3px 10px #0002}
22248
+ .gramlot-labelbox[data-variant='card']>.label-box{background:var(--gramlot-card-header-background,var(--gramlot-header-background,#303946));color:var(--gramlot-card-header-color,var(--gramlot-header-color,#fff));box-sizing:border-box;min-height:28px;padding:3px 10px;border-radius:calc(var(--gramlot-window-radius,9px) - 1px) calc(var(--gramlot-window-radius,9px) - 1px) 0 0;font-weight:600}
22249
+ .gramlot-labelbox[data-variant='card']>.label-box>label{color:inherit;font:inherit;line-height:20px;margin:0}
22249
22250
  .gramlot-labelbox[data-variant='card']>.control-box{padding:12px}
22250
22251
  .gramlot-labelbox[data-movable]>.label-box{cursor:grab;touch-action:none;user-select:none}
22252
+ .gramlot-labelbox[data-movable]>.label-box>label{cursor:inherit;user-select:none;-webkit-user-select:none}
22251
22253
  .gramlot-labelbox[data-selected]{outline:2px solid var(--gramlot-focus-ring,var(--gramlot-brand-blue,#3766b5));outline-offset:-2px}
22252
22254
  .gramlot-labelbox[data-tray-block]>.label-box{position:relative;padding-inline:32px 60px}
22253
22255
  .gramlot-labelbox>.label-box>.tray-settings-button{position:absolute;right:3px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:26px;height:26px;padding:4px;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer}
@@ -52,10 +52,12 @@ ${" ".repeat(i)}</${o}>`:`<${o}${l}>${f}</${o}>`:t===null||t.includes(o)?`<${o}
52
52
  .gramlot-labelbox[data-formlet-aligned]>.label-box>label{width:max-content;margin-left:auto}
53
53
  .gramlot-labelbox[data-position='L']{grid-template-columns:var(--gramlot-label-width,var(--gramlot-formlet-label-width,max-content)) minmax(0,1fr)}
54
54
  .gramlot-labelbox:has(>.label-box[hidden]){gap:0;grid-template-areas:'control';grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
55
- .gramlot-labelbox[data-variant='card']{gap:0;border:1px solid var(--gramlot-border-control,#b9c2ce);border-radius:var(--gramlot-window-radius,9px);background:var(--gramlot-surface,#fff);box-shadow:0 3px 10px #0002}
56
- .gramlot-labelbox[data-variant='card']>.label-box{background:var(--gramlot-card-header-background,#303946);color:var(--gramlot-card-header-color,#fff);padding:7px 12px;border-radius:calc(var(--gramlot-window-radius,9px) - 1px) calc(var(--gramlot-window-radius,9px) - 1px) 0 0;font-weight:600}
55
+ .gramlot-labelbox[data-variant='card']{gap:0;border:1px solid var(--gramlot-border-control,#b9c2ce);border-radius:var(--gramlot-window-radius,9px);background:var(--gramlot-surface,#fff);color:var(--gramlot-ink,CanvasText);box-shadow:0 3px 10px #0002}
56
+ .gramlot-labelbox[data-variant='card']>.label-box{background:var(--gramlot-card-header-background,var(--gramlot-header-background,#303946));color:var(--gramlot-card-header-color,var(--gramlot-header-color,#fff));box-sizing:border-box;min-height:28px;padding:3px 10px;border-radius:calc(var(--gramlot-window-radius,9px) - 1px) calc(var(--gramlot-window-radius,9px) - 1px) 0 0;font-weight:600}
57
+ .gramlot-labelbox[data-variant='card']>.label-box>label{color:inherit;font:inherit;line-height:20px;margin:0}
57
58
  .gramlot-labelbox[data-variant='card']>.control-box{padding:12px}
58
59
  .gramlot-labelbox[data-movable]>.label-box{cursor:grab;touch-action:none;user-select:none}
60
+ .gramlot-labelbox[data-movable]>.label-box>label{cursor:inherit;user-select:none;-webkit-user-select:none}
59
61
  .gramlot-labelbox[data-selected]{outline:2px solid var(--gramlot-focus-ring,var(--gramlot-brand-blue,#3766b5));outline-offset:-2px}
60
62
  .gramlot-labelbox[data-tray-block]>.label-box{position:relative;padding-inline:32px 60px}
61
63
  .gramlot-labelbox>.label-box>.tray-settings-button{position:absolute;right:3px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:26px;height:26px;padding:4px;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gramlot/gramlot",
3
- "version": "0.3.17",
3
+ "version": "0.3.18",
4
4
  "description": "Declarative HTML/SVG interfaces with live data binding, authored in JavaScript or Python.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -23,7 +23,7 @@ export class WindowSurface {
23
23
  .window-surface dialog[data-maximized]{max-width:100vw;max-height:100dvh;border-radius:0}
24
24
  .window-surface dialog::backdrop{background:var(--gramlot-window-backdrop,#0006)}
25
25
  .window-surface .titlebar{display:flex;align-items:center;gap:4px;flex:none;min-height:max(32px,var(--gramlot-tab-height,32px));padding:3px 5px 3px 12px;
26
- background:color-mix(in srgb,var(--gramlot-surface,Canvas) 60%,var(--gramlot-surface-subtle,#edf1f7));border-bottom:1px solid var(--gramlot-border,#d5dce5)}
26
+ background:var(--gramlot-header-background,#303946);color:var(--gramlot-header-color,#fff);border-bottom:1px solid var(--gramlot-border,#d5dce5)}
27
27
  .window-surface .title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1em;font-weight:600}
28
28
  .window-surface .titlebar[data-movable]{cursor:move;touch-action:none;user-select:none}
29
29
  .window-surface button{font:inherit;color:inherit;background:transparent;border:0;border-radius:4px;cursor:pointer;min-width:max(24px,var(--gramlot-touch-target,0px));min-height:max(24px,var(--gramlot-touch-target,0px))}
@@ -1,2 +1,2 @@
1
1
  // Generated from canonical themes; edit themes/, not this file.
2
- export const appearanceStyles = {"base":"","compact":"/* gramlot-compact: professional density profile; load after Base. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #f3f5f7;\n --gramlot-surface: #ffffff;\n --gramlot-surface-subtle: #e9edf2;\n --gramlot-ink: #202936;\n --gramlot-text-secondary: #526174;\n --gramlot-border: #ccd3dc;\n --gramlot-border-control: #7b899b;\n --gramlot-action: #235db2;\n --gramlot-action-hover: #194987;\n --gramlot-selected: #e3edfb;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #e9edf2;\n --gramlot-label-color: #526174;\n --gramlot-focus-ring: #235db2;\n --gramlot-brand-blue: #235db2;\n --gramlot-brand-yellow: #235db2;\n --gramlot-navigation: #202936;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 28px;\n --gramlot-field-padding: 2px 7px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 2px 7px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 4px;\n --gramlot-radius: 4px;\n --gramlot-radius-lg: 6px;\n --gramlot-window-radius: 6px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 4px;\n --gramlot-space-3: 8px;\n --gramlot-space-4: 8px;\n --gramlot-space-6: 12px;\n --gramlot-space-8: 16px;\n --gramlot-space-12: 24px;\n --gramlot-tab-height: 28px;\n --gramlot-tab-padding: 2px 7px;\n --gramlot-tab-radius: 4px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 13px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n","mimi":"/* gramlot-compact: professional density profile; load after Base. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #f3f5f7;\n --gramlot-surface: #ffffff;\n --gramlot-surface-subtle: #e9edf2;\n --gramlot-ink: #202936;\n --gramlot-text-secondary: #526174;\n --gramlot-border: #ccd3dc;\n --gramlot-border-control: #7b899b;\n --gramlot-action: #235db2;\n --gramlot-action-hover: #194987;\n --gramlot-selected: #e3edfb;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #e9edf2;\n --gramlot-label-color: #526174;\n --gramlot-focus-ring: #235db2;\n --gramlot-brand-blue: #235db2;\n --gramlot-brand-yellow: #235db2;\n --gramlot-navigation: #202936;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 28px;\n --gramlot-field-padding: 2px 7px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 2px 7px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 4px;\n --gramlot-radius: 4px;\n --gramlot-radius-lg: 6px;\n --gramlot-window-radius: 6px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 4px;\n --gramlot-space-3: 8px;\n --gramlot-space-4: 8px;\n --gramlot-space-6: 12px;\n --gramlot-space-8: 16px;\n --gramlot-space-12: 24px;\n --gramlot-tab-height: 28px;\n --gramlot-tab-padding: 2px 7px;\n --gramlot-tab-radius: 4px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 13px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n\n/* mimi: professional density profile; load after Base and Compact. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #edf1ef;\n --gramlot-surface: #fbfcfb;\n --gramlot-surface-subtle: #e2e9e5;\n --gramlot-ink: #24332e;\n --gramlot-text-secondary: #52655d;\n --gramlot-border: #c4d0c9;\n --gramlot-border-control: #768a7e;\n --gramlot-action: #176b61;\n --gramlot-action-hover: #105247;\n --gramlot-selected: #dceee8;\n --gramlot-field-background: #fbfcfb;\n --gramlot-field-readonly-background: #e2e9e5;\n --gramlot-label-color: #52655d;\n --gramlot-focus-ring: #176b61;\n --gramlot-brand-blue: #176b61;\n --gramlot-brand-yellow: #176b61;\n --gramlot-navigation: #24332e;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 24px;\n --gramlot-field-padding: 1px 5px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 1px 5px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 3px;\n --gramlot-radius: 3px;\n --gramlot-radius-lg: 5px;\n --gramlot-window-radius: 5px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 3px;\n --gramlot-space-3: 6px;\n --gramlot-space-4: 6px;\n --gramlot-space-6: 9px;\n --gramlot-space-8: 12px;\n --gramlot-space-12: 18px;\n --gramlot-tab-height: 24px;\n --gramlot-tab-padding: 1px 5px;\n --gramlot-tab-radius: 3px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #17201d;\n --gramlot-surface: #202c27;\n --gramlot-surface-subtle: #2a3932;\n --gramlot-ink: #ebf3ee;\n --gramlot-text-secondary: #b6c9be;\n --gramlot-border: #40594a;\n --gramlot-border-control: #7c9987;\n --gramlot-action: #8ad8c4;\n --gramlot-action-hover: #b0eadc;\n --gramlot-selected: #2d4c40;\n --gramlot-field-background: #202c27;\n --gramlot-field-readonly-background: #2a3932;\n --gramlot-label-color: #b6c9be;\n --gramlot-focus-ring: #8ad8c4;\n --gramlot-brand-blue: #8ad8c4;\n --gramlot-brand-yellow: #8ad8c4;\n --gramlot-navigation: #17201d;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #17201d;\n --gramlot-surface: #202c27;\n --gramlot-surface-subtle: #2a3932;\n --gramlot-ink: #ebf3ee;\n --gramlot-text-secondary: #b6c9be;\n --gramlot-border: #40594a;\n --gramlot-border-control: #7c9987;\n --gramlot-action: #8ad8c4;\n --gramlot-action-hover: #b0eadc;\n --gramlot-selected: #2d4c40;\n --gramlot-field-background: #202c27;\n --gramlot-field-readonly-background: #2a3932;\n --gramlot-label-color: #b6c9be;\n --gramlot-focus-ring: #8ad8c4;\n --gramlot-brand-blue: #8ad8c4;\n --gramlot-brand-yellow: #8ad8c4;\n --gramlot-navigation: #17201d;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 12.5px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n","joanna":"/* gramlot-compact: professional density profile; load after Base. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #f3f5f7;\n --gramlot-surface: #ffffff;\n --gramlot-surface-subtle: #e9edf2;\n --gramlot-ink: #202936;\n --gramlot-text-secondary: #526174;\n --gramlot-border: #ccd3dc;\n --gramlot-border-control: #7b899b;\n --gramlot-action: #235db2;\n --gramlot-action-hover: #194987;\n --gramlot-selected: #e3edfb;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #e9edf2;\n --gramlot-label-color: #526174;\n --gramlot-focus-ring: #235db2;\n --gramlot-brand-blue: #235db2;\n --gramlot-brand-yellow: #235db2;\n --gramlot-navigation: #202936;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 28px;\n --gramlot-field-padding: 2px 7px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 2px 7px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 4px;\n --gramlot-radius: 4px;\n --gramlot-radius-lg: 6px;\n --gramlot-window-radius: 6px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 4px;\n --gramlot-space-3: 8px;\n --gramlot-space-4: 8px;\n --gramlot-space-6: 12px;\n --gramlot-space-8: 16px;\n --gramlot-space-12: 24px;\n --gramlot-tab-height: 28px;\n --gramlot-tab-padding: 2px 7px;\n --gramlot-tab-radius: 4px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 13px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n\n/* joanna: professional density profile; load after Base and Compact. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #f5f4f2;\n --gramlot-surface: #ffffff;\n --gramlot-surface-subtle: #eeece8;\n --gramlot-ink: #292c31;\n --gramlot-text-secondary: #5d636c;\n --gramlot-border: #d5d2cc;\n --gramlot-border-control: #858990;\n --gramlot-action: #245fb4;\n --gramlot-action-hover: #194880;\n --gramlot-selected: #e6eef9;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #eeece8;\n --gramlot-label-color: #5d636c;\n --gramlot-focus-ring: #245fb4;\n --gramlot-brand-blue: #245fb4;\n --gramlot-brand-yellow: #245fb4;\n --gramlot-navigation: #292c31;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 32px;\n --gramlot-field-padding: 3px 9px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 3px 9px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 6px;\n --gramlot-radius: 6px;\n --gramlot-radius-lg: 8px;\n --gramlot-window-radius: 8px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 5px;\n --gramlot-space-3: 10px;\n --gramlot-space-4: 10px;\n --gramlot-space-6: 15px;\n --gramlot-space-8: 20px;\n --gramlot-space-12: 30px;\n --gramlot-tab-height: 32px;\n --gramlot-tab-padding: 3px 9px;\n --gramlot-tab-radius: 6px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #1b1c20;\n --gramlot-surface: #25272c;\n --gramlot-surface-subtle: #303239;\n --gramlot-ink: #f3f2ef;\n --gramlot-text-secondary: #c4c3c0;\n --gramlot-border: #454951;\n --gramlot-border-control: #858c99;\n --gramlot-action: #abcbff;\n --gramlot-action-hover: #cedfff;\n --gramlot-selected: #324765;\n --gramlot-field-background: #25272c;\n --gramlot-field-readonly-background: #303239;\n --gramlot-label-color: #c4c3c0;\n --gramlot-focus-ring: #abcbff;\n --gramlot-brand-blue: #abcbff;\n --gramlot-brand-yellow: #abcbff;\n --gramlot-navigation: #1b1c20;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #1b1c20;\n --gramlot-surface: #25272c;\n --gramlot-surface-subtle: #303239;\n --gramlot-ink: #f3f2ef;\n --gramlot-text-secondary: #c4c3c0;\n --gramlot-border: #454951;\n --gramlot-border-control: #858c99;\n --gramlot-action: #abcbff;\n --gramlot-action-hover: #cedfff;\n --gramlot-selected: #324765;\n --gramlot-field-background: #25272c;\n --gramlot-field-readonly-background: #303239;\n --gramlot-label-color: #c4c3c0;\n --gramlot-focus-ring: #abcbff;\n --gramlot-brand-blue: #abcbff;\n --gramlot-brand-yellow: #abcbff;\n --gramlot-navigation: #1b1c20;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 14px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n","mela":"/* gramlot-compact: professional density profile; load after Base. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #f3f5f7;\n --gramlot-surface: #ffffff;\n --gramlot-surface-subtle: #e9edf2;\n --gramlot-ink: #202936;\n --gramlot-text-secondary: #526174;\n --gramlot-border: #ccd3dc;\n --gramlot-border-control: #7b899b;\n --gramlot-action: #235db2;\n --gramlot-action-hover: #194987;\n --gramlot-selected: #e3edfb;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #e9edf2;\n --gramlot-label-color: #526174;\n --gramlot-focus-ring: #235db2;\n --gramlot-brand-blue: #235db2;\n --gramlot-brand-yellow: #235db2;\n --gramlot-navigation: #202936;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 28px;\n --gramlot-field-padding: 2px 7px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 2px 7px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 4px;\n --gramlot-radius: 4px;\n --gramlot-radius-lg: 6px;\n --gramlot-window-radius: 6px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 4px;\n --gramlot-space-3: 8px;\n --gramlot-space-4: 8px;\n --gramlot-space-6: 12px;\n --gramlot-space-8: 16px;\n --gramlot-space-12: 24px;\n --gramlot-tab-height: 28px;\n --gramlot-tab-padding: 2px 7px;\n --gramlot-tab-radius: 4px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 13px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n\n/* Mela: Apple-inspired desktop and touch appearance; load after Base and Compact. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-font-ui: -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", system-ui, sans-serif;\n --gramlot-font-code: ui-monospace, SFMono-Regular, Menlo, monospace;\n --gramlot-tree-hover-background: var(--gramlot-surface-subtle);\n --gramlot-tree-selected-background: var(--gramlot-selected);\n --gramlot-tree-selected-color: var(--gramlot-ink);\n --gramlot-window-backdrop: rgb(0 0 0 / 24%);\n --gramlot-background: #f2f2f7;\n --gramlot-surface: #ffffff;\n --gramlot-surface-subtle: #eaeaed;\n --gramlot-ink: #1d1d1f;\n --gramlot-text-secondary: #636366;\n --gramlot-border: #d9d9de;\n --gramlot-border-control: #8a8a8e;\n --gramlot-action: #0066cc;\n --gramlot-action-hover: #004c99;\n --gramlot-selected: #dceaff;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #eaeaed;\n --gramlot-label-color: #636366;\n --gramlot-focus-ring: #0066cc;\n --gramlot-brand-blue: #0066cc;\n --gramlot-brand-yellow: #0066cc;\n --gramlot-navigation: #eaeaed;\n --gramlot-navigation-text: #1d1d1f;\n --gramlot-error: #b42318;\n --gramlot-error-background: #fff0ee;\n --gramlot-success: #20783d;\n --gramlot-success-background: #eaf7ed;\n --gramlot-warning: #805500;\n --gramlot-warning-background: #fff5dc;\n --gramlot-field-height: 28px;\n --gramlot-field-padding: 3px 8px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 3px 9px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: #0066cc;\n --gramlot-button-color: #ffffff;\n --gramlot-chrome-background: var(--gramlot-surface);\n --gramlot-button-hover: #004c99;\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 4px;\n --gramlot-radius-sm: 6px;\n --gramlot-radius: 8px;\n --gramlot-radius-lg: 10px;\n --gramlot-window-radius: 12px;\n --gramlot-toolbar-gap: 3px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 4px;\n --gramlot-space-3: 8px;\n --gramlot-space-4: 12px;\n --gramlot-space-6: 16px;\n --gramlot-space-8: 20px;\n --gramlot-space-12: 28px;\n --gramlot-tab-height: 28px;\n --gramlot-tab-padding: 3px 10px;\n --gramlot-tab-radius: 6px;\n --gramlot-tab-gap: 3px;\n --gramlot-tab-strip-padding: 3px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 8px 28px rgb(0 0 0 / 16%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #000000;\n --gramlot-surface: #1c1c1e;\n --gramlot-surface-subtle: #38383a;\n --gramlot-ink: #f5f5f7;\n --gramlot-text-secondary: #bdbdc4;\n --gramlot-border: #48484c;\n --gramlot-border-control: #74747c;\n --gramlot-action: #70b7ff;\n --gramlot-action-hover: #abd5ff;\n --gramlot-selected: #244367;\n --gramlot-field-background: #1c1c1e;\n --gramlot-field-readonly-background: #38383a;\n --gramlot-label-color: #bdbdc4;\n --gramlot-focus-ring: #70b7ff;\n --gramlot-brand-blue: #70b7ff;\n --gramlot-brand-yellow: #70b7ff;\n --gramlot-navigation: #1c1c1e;\n --gramlot-navigation-text: #f5f5f7;\n --gramlot-error: #ffb4ab;\n --gramlot-error-background: #492926;\n --gramlot-success: #8ddb9d;\n --gramlot-success-background: #263e2c;\n --gramlot-warning: #f5d581;\n --gramlot-warning-background: #433a26;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #000000;\n --gramlot-surface: #1c1c1e;\n --gramlot-surface-subtle: #38383a;\n --gramlot-ink: #f5f5f7;\n --gramlot-text-secondary: #bdbdc4;\n --gramlot-border: #48484c;\n --gramlot-border-control: #74747c;\n --gramlot-action: #70b7ff;\n --gramlot-action-hover: #abd5ff;\n --gramlot-selected: #244367;\n --gramlot-field-background: #1c1c1e;\n --gramlot-field-readonly-background: #38383a;\n --gramlot-label-color: #bdbdc4;\n --gramlot-focus-ring: #70b7ff;\n --gramlot-brand-blue: #70b7ff;\n --gramlot-brand-yellow: #70b7ff;\n --gramlot-navigation: #1c1c1e;\n --gramlot-navigation-text: #f5f5f7;\n --gramlot-error: #ffb4ab;\n --gramlot-error-background: #492926;\n --gramlot-success: #8ddb9d;\n --gramlot-success-background: #263e2c;\n --gramlot-warning: #f5d581;\n --gramlot-warning-background: #433a26;\n }\n}\n@layer gramlot.base {\n html { font-size: 13px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: #ffffff; border-color: transparent;\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: #004c99; color: #ffffff; border-color: transparent;\n }\n gramlot-button.button--secondary,gramlot-toggle-button.button--secondary,gramlot-drop-down-button.button--secondary { background:transparent; border-color:transparent; }\n :where(.button--secondary,button.secondary) { background:var(--gramlot-selected); color:var(--gramlot-action); border-color:transparent; }\n :where(.button--secondary,button.secondary):hover:not(:disabled) { background:var(--gramlot-selected); color:var(--gramlot-action-hover); border-color:var(--gramlot-action); }\n :where(button,.button):active:not(:disabled) { transform:none; filter:brightness(.9); }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n\n/* Responsive density changes appearance only; Source owns layout and modality. */\n@layer gramlot.tokens {\n @media (max-width: 640px), (pointer: coarse) {\n :root {\n --gramlot-field-height: 44px;\n --gramlot-touch-target: 44px;\n --gramlot-field-font-size: 16px;\n --gramlot-field-padding: 8px 12px;\n --gramlot-button-padding: 8px 12px;\n --gramlot-tab-height: 44px;\n --gramlot-radius-sm: 9px;\n --gramlot-radius: 12px;\n --gramlot-radius-lg: 14px;\n --gramlot-window-radius: 16px;\n --gramlot-space-4: 16px;\n }\n }\n}\n@layer gramlot.base {\n @media (max-width: 640px), (pointer: coarse) {\n html { font-size: 17px; }\n @supports (font: -apple-system-body) { html { font: -apple-system-body; } }\n body { line-height:1.4; }\n h1 { font-size:2rem; font-weight:700; letter-spacing:-.025em; }\n h2 { font-size:1.3rem; font-weight:650; }\n h3 { font-size:1.05rem; font-weight:600; }\n }\n}\n\n/* Touch presentation follows the existing density setting; minimums grow with text. */\n@layer gramlot.touch {\n @media (max-width:640px), (pointer:coarse) {\n :root:not([data-gramlot-touch=\"off\"]) {\n --gramlot-field-height:max(44px,2.65rem); --gramlot-field-font-size:max(16px,1rem);\n --gramlot-field-padding:.55rem .75rem; --gramlot-button-padding:.6rem 1rem;\n --gramlot-label-size:.88rem; --gramlot-label-gap:.4rem;\n --gramlot-tree-row-height:max(44px,2.65rem); --gramlot-tab-height:max(44px,2.65rem);\n }\n :where(button,.button,summary,[role=\"tab\"],a) { min-block-size:44px; }\n :where(nav a,.actions a) { display:inline-flex; align-items:center; }\n :where(label:has(input[type=\"checkbox\"]),label:has(input[type=\"radio\"])) { min-block-size:44px; display:inline-flex; align-items:center; gap:.6rem; }\n }\n}\n/* Content stays opaque. Materials are confined to navigation controls. */\n@layer gramlot.components {\n :where([role=\"toolbar\"]) { --gramlot-button-padding:4px 6px; background:var(--gramlot-surface); color:var(--gramlot-ink); }\n @supports (backdrop-filter:blur(16px)) {\n :where([role=\"toolbar\"]) { background:color-mix(in srgb,var(--gramlot-surface) 92%,transparent); backdrop-filter:blur(16px) saturate(1.2); }\n }\n @media (prefers-reduced-transparency:reduce), (prefers-contrast:more) {\n :where([role=\"toolbar\"]) { background:var(--gramlot-surface); backdrop-filter:none; }\n }\n @media (prefers-contrast:more) {\n :where(input,select,textarea,button,.button) { border:2px solid currentColor; }\n :where(a) { text-decoration:underline; }\n }\n @media (prefers-reduced-motion:reduce) {\n :where(button,.button) { transition:none; transform:none; }\n }\n @media (forced-colors:active) {\n :where(button,.button) { background:ButtonFace; color:ButtonText; border-color:ButtonText; filter:none; }\n :where([role=\"toolbar\"]) { background:Canvas; color:CanvasText; backdrop-filter:none; }\n }\n}\n"};
2
+ export const appearanceStyles = {"base":"","compact":"/* gramlot-compact: professional density profile; load after Base. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #f3f5f7;\n --gramlot-surface: #ffffff;\n --gramlot-header-background: #303946;\n --gramlot-header-color: #ffffff;\n --gramlot-surface-subtle: #e9edf2;\n --gramlot-ink: #202936;\n --gramlot-text-secondary: #526174;\n --gramlot-border: #ccd3dc;\n --gramlot-border-control: #7b899b;\n --gramlot-action: #235db2;\n --gramlot-action-hover: #194987;\n --gramlot-selected: #e3edfb;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #e9edf2;\n --gramlot-label-color: #526174;\n --gramlot-focus-ring: #235db2;\n --gramlot-brand-blue: #235db2;\n --gramlot-brand-yellow: #235db2;\n --gramlot-navigation: #202936;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 28px;\n --gramlot-field-padding: 2px 7px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 2px 7px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 4px;\n --gramlot-radius: 4px;\n --gramlot-radius-lg: 6px;\n --gramlot-window-radius: 6px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 4px;\n --gramlot-space-3: 8px;\n --gramlot-space-4: 8px;\n --gramlot-space-6: 12px;\n --gramlot-space-8: 16px;\n --gramlot-space-12: 24px;\n --gramlot-tab-height: 28px;\n --gramlot-tab-padding: 2px 7px;\n --gramlot-tab-radius: 4px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-header-background: #354152;\n --gramlot-header-color: #edf1f7;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-header-background: #354152;\n --gramlot-header-color: #edf1f7;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 13px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n","mimi":"/* gramlot-compact: professional density profile; load after Base. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #f3f5f7;\n --gramlot-surface: #ffffff;\n --gramlot-header-background: #303946;\n --gramlot-header-color: #ffffff;\n --gramlot-surface-subtle: #e9edf2;\n --gramlot-ink: #202936;\n --gramlot-text-secondary: #526174;\n --gramlot-border: #ccd3dc;\n --gramlot-border-control: #7b899b;\n --gramlot-action: #235db2;\n --gramlot-action-hover: #194987;\n --gramlot-selected: #e3edfb;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #e9edf2;\n --gramlot-label-color: #526174;\n --gramlot-focus-ring: #235db2;\n --gramlot-brand-blue: #235db2;\n --gramlot-brand-yellow: #235db2;\n --gramlot-navigation: #202936;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 28px;\n --gramlot-field-padding: 2px 7px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 2px 7px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 4px;\n --gramlot-radius: 4px;\n --gramlot-radius-lg: 6px;\n --gramlot-window-radius: 6px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 4px;\n --gramlot-space-3: 8px;\n --gramlot-space-4: 8px;\n --gramlot-space-6: 12px;\n --gramlot-space-8: 16px;\n --gramlot-space-12: 24px;\n --gramlot-tab-height: 28px;\n --gramlot-tab-padding: 2px 7px;\n --gramlot-tab-radius: 4px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-header-background: #354152;\n --gramlot-header-color: #edf1f7;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-header-background: #354152;\n --gramlot-header-color: #edf1f7;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 13px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n\n/* mimi: professional density profile; load after Base and Compact. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #edf1ef;\n --gramlot-surface: #fbfcfb;\n --gramlot-header-background: #30473c;\n --gramlot-header-color: #fbfcfb;\n --gramlot-surface-subtle: #e2e9e5;\n --gramlot-ink: #24332e;\n --gramlot-text-secondary: #52655d;\n --gramlot-border: #c4d0c9;\n --gramlot-border-control: #768a7e;\n --gramlot-action: #176b61;\n --gramlot-action-hover: #105247;\n --gramlot-selected: #dceee8;\n --gramlot-field-background: #fbfcfb;\n --gramlot-field-readonly-background: #e2e9e5;\n --gramlot-label-color: #52655d;\n --gramlot-focus-ring: #176b61;\n --gramlot-brand-blue: #176b61;\n --gramlot-brand-yellow: #176b61;\n --gramlot-navigation: #24332e;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 24px;\n --gramlot-field-padding: 1px 5px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 1px 5px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 3px;\n --gramlot-radius: 3px;\n --gramlot-radius-lg: 5px;\n --gramlot-window-radius: 5px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 3px;\n --gramlot-space-3: 6px;\n --gramlot-space-4: 6px;\n --gramlot-space-6: 9px;\n --gramlot-space-8: 12px;\n --gramlot-space-12: 18px;\n --gramlot-tab-height: 24px;\n --gramlot-tab-padding: 1px 5px;\n --gramlot-tab-radius: 3px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #17201d;\n --gramlot-surface: #202c27;\n --gramlot-header-background: #334d40;\n --gramlot-header-color: #ebf3ee;\n --gramlot-surface-subtle: #2a3932;\n --gramlot-ink: #ebf3ee;\n --gramlot-text-secondary: #b6c9be;\n --gramlot-border: #40594a;\n --gramlot-border-control: #7c9987;\n --gramlot-action: #8ad8c4;\n --gramlot-action-hover: #b0eadc;\n --gramlot-selected: #2d4c40;\n --gramlot-field-background: #202c27;\n --gramlot-field-readonly-background: #2a3932;\n --gramlot-label-color: #b6c9be;\n --gramlot-focus-ring: #8ad8c4;\n --gramlot-brand-blue: #8ad8c4;\n --gramlot-brand-yellow: #8ad8c4;\n --gramlot-navigation: #17201d;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #17201d;\n --gramlot-surface: #202c27;\n --gramlot-header-background: #334d40;\n --gramlot-header-color: #ebf3ee;\n --gramlot-surface-subtle: #2a3932;\n --gramlot-ink: #ebf3ee;\n --gramlot-text-secondary: #b6c9be;\n --gramlot-border: #40594a;\n --gramlot-border-control: #7c9987;\n --gramlot-action: #8ad8c4;\n --gramlot-action-hover: #b0eadc;\n --gramlot-selected: #2d4c40;\n --gramlot-field-background: #202c27;\n --gramlot-field-readonly-background: #2a3932;\n --gramlot-label-color: #b6c9be;\n --gramlot-focus-ring: #8ad8c4;\n --gramlot-brand-blue: #8ad8c4;\n --gramlot-brand-yellow: #8ad8c4;\n --gramlot-navigation: #17201d;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 12.5px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n","joanna":"/* gramlot-compact: professional density profile; load after Base. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #f3f5f7;\n --gramlot-surface: #ffffff;\n --gramlot-header-background: #303946;\n --gramlot-header-color: #ffffff;\n --gramlot-surface-subtle: #e9edf2;\n --gramlot-ink: #202936;\n --gramlot-text-secondary: #526174;\n --gramlot-border: #ccd3dc;\n --gramlot-border-control: #7b899b;\n --gramlot-action: #235db2;\n --gramlot-action-hover: #194987;\n --gramlot-selected: #e3edfb;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #e9edf2;\n --gramlot-label-color: #526174;\n --gramlot-focus-ring: #235db2;\n --gramlot-brand-blue: #235db2;\n --gramlot-brand-yellow: #235db2;\n --gramlot-navigation: #202936;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 28px;\n --gramlot-field-padding: 2px 7px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 2px 7px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 4px;\n --gramlot-radius: 4px;\n --gramlot-radius-lg: 6px;\n --gramlot-window-radius: 6px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 4px;\n --gramlot-space-3: 8px;\n --gramlot-space-4: 8px;\n --gramlot-space-6: 12px;\n --gramlot-space-8: 16px;\n --gramlot-space-12: 24px;\n --gramlot-tab-height: 28px;\n --gramlot-tab-padding: 2px 7px;\n --gramlot-tab-radius: 4px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-header-background: #354152;\n --gramlot-header-color: #edf1f7;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-header-background: #354152;\n --gramlot-header-color: #edf1f7;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 13px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n\n/* joanna: professional density profile; load after Base and Compact. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #f5f4f2;\n --gramlot-surface: #ffffff;\n --gramlot-header-background: #3f4249;\n --gramlot-header-color: #ffffff;\n --gramlot-surface-subtle: #eeece8;\n --gramlot-ink: #292c31;\n --gramlot-text-secondary: #5d636c;\n --gramlot-border: #d5d2cc;\n --gramlot-border-control: #858990;\n --gramlot-action: #245fb4;\n --gramlot-action-hover: #194880;\n --gramlot-selected: #e6eef9;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #eeece8;\n --gramlot-label-color: #5d636c;\n --gramlot-focus-ring: #245fb4;\n --gramlot-brand-blue: #245fb4;\n --gramlot-brand-yellow: #245fb4;\n --gramlot-navigation: #292c31;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 32px;\n --gramlot-field-padding: 3px 9px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 3px 9px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 6px;\n --gramlot-radius: 6px;\n --gramlot-radius-lg: 8px;\n --gramlot-window-radius: 8px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 5px;\n --gramlot-space-3: 10px;\n --gramlot-space-4: 10px;\n --gramlot-space-6: 15px;\n --gramlot-space-8: 20px;\n --gramlot-space-12: 30px;\n --gramlot-tab-height: 32px;\n --gramlot-tab-padding: 3px 9px;\n --gramlot-tab-radius: 6px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #1b1c20;\n --gramlot-surface: #25272c;\n --gramlot-header-background: #41444c;\n --gramlot-header-color: #f3f2ef;\n --gramlot-surface-subtle: #303239;\n --gramlot-ink: #f3f2ef;\n --gramlot-text-secondary: #c4c3c0;\n --gramlot-border: #454951;\n --gramlot-border-control: #858c99;\n --gramlot-action: #abcbff;\n --gramlot-action-hover: #cedfff;\n --gramlot-selected: #324765;\n --gramlot-field-background: #25272c;\n --gramlot-field-readonly-background: #303239;\n --gramlot-label-color: #c4c3c0;\n --gramlot-focus-ring: #abcbff;\n --gramlot-brand-blue: #abcbff;\n --gramlot-brand-yellow: #abcbff;\n --gramlot-navigation: #1b1c20;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #1b1c20;\n --gramlot-surface: #25272c;\n --gramlot-header-background: #41444c;\n --gramlot-header-color: #f3f2ef;\n --gramlot-surface-subtle: #303239;\n --gramlot-ink: #f3f2ef;\n --gramlot-text-secondary: #c4c3c0;\n --gramlot-border: #454951;\n --gramlot-border-control: #858c99;\n --gramlot-action: #abcbff;\n --gramlot-action-hover: #cedfff;\n --gramlot-selected: #324765;\n --gramlot-field-background: #25272c;\n --gramlot-field-readonly-background: #303239;\n --gramlot-label-color: #c4c3c0;\n --gramlot-focus-ring: #abcbff;\n --gramlot-brand-blue: #abcbff;\n --gramlot-brand-yellow: #abcbff;\n --gramlot-navigation: #1b1c20;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 14px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n","mela":"/* gramlot-compact: professional density profile; load after Base. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-background: #f3f5f7;\n --gramlot-surface: #ffffff;\n --gramlot-header-background: #303946;\n --gramlot-header-color: #ffffff;\n --gramlot-surface-subtle: #e9edf2;\n --gramlot-ink: #202936;\n --gramlot-text-secondary: #526174;\n --gramlot-border: #ccd3dc;\n --gramlot-border-control: #7b899b;\n --gramlot-action: #235db2;\n --gramlot-action-hover: #194987;\n --gramlot-selected: #e3edfb;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #e9edf2;\n --gramlot-label-color: #526174;\n --gramlot-focus-ring: #235db2;\n --gramlot-brand-blue: #235db2;\n --gramlot-brand-yellow: #235db2;\n --gramlot-navigation: #202936;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #aa2637;\n --gramlot-error-background: #fff0f1;\n --gramlot-success: #236747;\n --gramlot-success-background: #e9f4ec;\n --gramlot-warning: #735313;\n --gramlot-warning-background: #fff5da;\n --gramlot-field-height: 28px;\n --gramlot-field-padding: 2px 7px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 2px 7px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: var(--gramlot-surface);\n --gramlot-button-hover: var(--gramlot-selected);\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 3px;\n --gramlot-radius-sm: 4px;\n --gramlot-radius: 4px;\n --gramlot-radius-lg: 6px;\n --gramlot-window-radius: 6px;\n --gramlot-toolbar-gap: 2px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 4px;\n --gramlot-space-3: 8px;\n --gramlot-space-4: 8px;\n --gramlot-space-6: 12px;\n --gramlot-space-8: 16px;\n --gramlot-space-12: 24px;\n --gramlot-tab-height: 28px;\n --gramlot-tab-padding: 2px 7px;\n --gramlot-tab-radius: 4px;\n --gramlot-tab-gap: 2px;\n --gramlot-tab-strip-padding: 2px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 2px 8px rgb(0 0 0 / 10%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-header-background: #354152;\n --gramlot-header-color: #edf1f7;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #171c24;\n --gramlot-surface: #222a35;\n --gramlot-header-background: #354152;\n --gramlot-header-color: #edf1f7;\n --gramlot-surface-subtle: #2b3543;\n --gramlot-ink: #edf1f7;\n --gramlot-text-secondary: #b8c4d4;\n --gramlot-border: #435064;\n --gramlot-border-control: #7f90a7;\n --gramlot-action: #9dbff4;\n --gramlot-action-hover: #c1d6ff;\n --gramlot-selected: #314766;\n --gramlot-field-background: #222a35;\n --gramlot-field-readonly-background: #2b3543;\n --gramlot-label-color: #b8c4d4;\n --gramlot-focus-ring: #9dbff4;\n --gramlot-brand-blue: #9dbff4;\n --gramlot-brand-yellow: #9dbff4;\n --gramlot-navigation: #171c24;\n --gramlot-navigation-text: #f6f8fb;\n --gramlot-error: #ffb4b4;\n --gramlot-error-background: #48292f;\n --gramlot-success: #98dfbd;\n --gramlot-success-background: #243f32;\n --gramlot-warning: #f3d58c;\n --gramlot-warning-background: #413820;\n }\n}\n@layer gramlot.base {\n html { font-size: 13px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: var(--gramlot-ink); border-color: var(--gramlot-border-control);\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: var(--gramlot-selected); color: var(--gramlot-action-hover); border-color: var(--gramlot-action);\n }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n\n/* Mela: Apple-inspired desktop and touch appearance; load after Base and Compact. */\n@layer gramlot.tokens {\n :root {\n color-scheme: light;\n --gramlot-font-ui: -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", system-ui, sans-serif;\n --gramlot-font-code: ui-monospace, SFMono-Regular, Menlo, monospace;\n --gramlot-tree-hover-background: var(--gramlot-surface-subtle);\n --gramlot-tree-selected-background: var(--gramlot-selected);\n --gramlot-tree-selected-color: var(--gramlot-ink);\n --gramlot-window-backdrop: rgb(0 0 0 / 24%);\n --gramlot-background: #f2f2f7;\n --gramlot-surface: #ffffff;\n --gramlot-header-background: #38383d;\n --gramlot-header-color: #ffffff;\n --gramlot-surface-subtle: #eaeaed;\n --gramlot-ink: #1d1d1f;\n --gramlot-text-secondary: #636366;\n --gramlot-border: #d9d9de;\n --gramlot-border-control: #8a8a8e;\n --gramlot-action: #0066cc;\n --gramlot-action-hover: #004c99;\n --gramlot-selected: #dceaff;\n --gramlot-field-background: #ffffff;\n --gramlot-field-readonly-background: #eaeaed;\n --gramlot-label-color: #636366;\n --gramlot-focus-ring: #0066cc;\n --gramlot-brand-blue: #0066cc;\n --gramlot-brand-yellow: #0066cc;\n --gramlot-navigation: #eaeaed;\n --gramlot-navigation-text: #1d1d1f;\n --gramlot-error: #b42318;\n --gramlot-error-background: #fff0ee;\n --gramlot-success: #20783d;\n --gramlot-success-background: #eaf7ed;\n --gramlot-warning: #805500;\n --gramlot-warning-background: #fff5dc;\n --gramlot-field-height: 28px;\n --gramlot-field-padding: 3px 8px;\n --gramlot-field-line-height: 1.3;\n --gramlot-field-font-size: 1rem;\n --gramlot-button-padding: 3px 9px;\n --gramlot-button-gap: 4px;\n --gramlot-button-background: #0066cc;\n --gramlot-button-color: #ffffff;\n --gramlot-chrome-background: var(--gramlot-surface);\n --gramlot-button-hover: #004c99;\n --gramlot-label-size: 1em;\n --gramlot-label-gap: 4px;\n --gramlot-radius-sm: 6px;\n --gramlot-radius: 8px;\n --gramlot-radius-lg: 10px;\n --gramlot-window-radius: 12px;\n --gramlot-toolbar-gap: 3px;\n --gramlot-tree-row-height: var(--gramlot-field-height);\n --gramlot-space-1: 3px;\n --gramlot-space-2: 4px;\n --gramlot-space-3: 8px;\n --gramlot-space-4: 12px;\n --gramlot-space-6: 16px;\n --gramlot-space-8: 20px;\n --gramlot-space-12: 28px;\n --gramlot-tab-height: 28px;\n --gramlot-tab-padding: 3px 10px;\n --gramlot-tab-radius: 6px;\n --gramlot-tab-gap: 3px;\n --gramlot-tab-strip-padding: 3px;\n --gramlot-tab-background: var(--gramlot-surface-subtle);\n --gramlot-tab-selected-background: var(--gramlot-surface);\n --gramlot-tab-selected-color: var(--gramlot-action);\n --gramlot-tab-border: var(--gramlot-border);\n --gramlot-shadow: 0 8px 28px rgb(0 0 0 / 16%);\n }\n @media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n color-scheme: dark;\n --gramlot-background: #000000;\n --gramlot-surface: #1c1c1e;\n --gramlot-header-background: #323236;\n --gramlot-header-color: #f5f5f7;\n --gramlot-surface-subtle: #38383a;\n --gramlot-ink: #f5f5f7;\n --gramlot-text-secondary: #bdbdc4;\n --gramlot-border: #48484c;\n --gramlot-border-control: #74747c;\n --gramlot-action: #70b7ff;\n --gramlot-action-hover: #abd5ff;\n --gramlot-selected: #244367;\n --gramlot-field-background: #1c1c1e;\n --gramlot-field-readonly-background: #38383a;\n --gramlot-label-color: #bdbdc4;\n --gramlot-focus-ring: #70b7ff;\n --gramlot-brand-blue: #70b7ff;\n --gramlot-brand-yellow: #70b7ff;\n --gramlot-navigation: #1c1c1e;\n --gramlot-navigation-text: #f5f5f7;\n --gramlot-error: #ffb4ab;\n --gramlot-error-background: #492926;\n --gramlot-success: #8ddb9d;\n --gramlot-success-background: #263e2c;\n --gramlot-warning: #f5d581;\n --gramlot-warning-background: #433a26;\n }\n }\n :root[data-theme=\"dark\"] {\n color-scheme: dark;\n --gramlot-background: #000000;\n --gramlot-surface: #1c1c1e;\n --gramlot-header-background: #323236;\n --gramlot-header-color: #f5f5f7;\n --gramlot-surface-subtle: #38383a;\n --gramlot-ink: #f5f5f7;\n --gramlot-text-secondary: #bdbdc4;\n --gramlot-border: #48484c;\n --gramlot-border-control: #74747c;\n --gramlot-action: #70b7ff;\n --gramlot-action-hover: #abd5ff;\n --gramlot-selected: #244367;\n --gramlot-field-background: #1c1c1e;\n --gramlot-field-readonly-background: #38383a;\n --gramlot-label-color: #bdbdc4;\n --gramlot-focus-ring: #70b7ff;\n --gramlot-brand-blue: #70b7ff;\n --gramlot-brand-yellow: #70b7ff;\n --gramlot-navigation: #1c1c1e;\n --gramlot-navigation-text: #f5f5f7;\n --gramlot-error: #ffb4ab;\n --gramlot-error-background: #492926;\n --gramlot-success: #8ddb9d;\n --gramlot-success-background: #263e2c;\n --gramlot-warning: #f5d581;\n --gramlot-warning-background: #433a26;\n }\n}\n@layer gramlot.base {\n html { font-size: 13px; }\n body { line-height: 1.4; }\n :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure) { margin-block: 0 var(--gramlot-space-3); }\n h1 { font-size: 1.4rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }\n :where(h1,h2,h3) { letter-spacing: -.015em; }\n pre { padding: var(--gramlot-space-3); }\n hr { margin-block: var(--gramlot-space-6); }\n}\n@layer gramlot.components {\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button) {\n min-block-size: var(--gramlot-field-height); padding: var(--gramlot-button-padding);\n font-size: 1rem; line-height: 1.3; font-weight: 500;\n background: var(--gramlot-button-background); color: #ffffff; border-color: transparent;\n }\n :where(button,input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],.button):hover:not(:disabled) {\n background: #004c99; color: #ffffff; border-color: transparent;\n }\n gramlot-button.button--secondary,gramlot-toggle-button.button--secondary,gramlot-drop-down-button.button--secondary { background:transparent; border-color:transparent; }\n :where(.button--secondary,button.secondary) { background:var(--gramlot-selected); color:var(--gramlot-action); border-color:transparent; }\n :where(.button--secondary,button.secondary):hover:not(:disabled) { background:var(--gramlot-selected); color:var(--gramlot-action-hover); border-color:var(--gramlot-action); }\n :where(button,.button):active:not(:disabled) { transform:none; filter:brightness(.9); }\n :where(label) { font-size: 1em; font-weight: 400; color: var(--gramlot-label-color); margin-block-end: var(--gramlot-label-gap); }\n :where(input[readonly],textarea[readonly]) { background: var(--gramlot-field-readonly-background); }\n :where(.button--quiet,button.quiet) { background: transparent; color: var(--gramlot-action); border-color: transparent; }\n :where(.button--quiet,button.quiet):hover:not(:disabled) { background: var(--gramlot-selected); border-color: transparent; }\n :where(textarea) { min-block-size: 4.5rem; }\n :where(input[type=\"color\"]) { min-block-size: var(--gramlot-field-height); }\n :where(input[type=\"file\"])::file-selector-button { padding: var(--gramlot-field-padding); }\n :where(fieldset,details) { padding: var(--gramlot-space-3); margin-block-end: var(--gramlot-space-3); }\n :where(table) { font-size: 1rem; }\n :where(th,td) { padding: var(--gramlot-field-padding); height: var(--gramlot-field-height); vertical-align: middle; }\n :where(details[open]>summary) { margin-block-end: var(--gramlot-space-3); }\n :where(dialog) { padding: var(--gramlot-space-4); }\n}\n@layer gramlot.utilities {\n .example-page { inline-size: min(100% - 2 * var(--gramlot-space-4),var(--gramlot-page-width)); padding-block: var(--gramlot-space-4); }\n .card { padding: var(--gramlot-space-4); box-shadow: none; }\n}\n\n/* Responsive density changes appearance only; Source owns layout and modality. */\n@layer gramlot.tokens {\n @media (max-width: 640px), (pointer: coarse) {\n :root {\n --gramlot-field-height: 44px;\n --gramlot-touch-target: 44px;\n --gramlot-field-font-size: 16px;\n --gramlot-field-padding: 8px 12px;\n --gramlot-button-padding: 8px 12px;\n --gramlot-tab-height: 44px;\n --gramlot-radius-sm: 9px;\n --gramlot-radius: 12px;\n --gramlot-radius-lg: 14px;\n --gramlot-window-radius: 16px;\n --gramlot-space-4: 16px;\n }\n }\n}\n@layer gramlot.base {\n @media (max-width: 640px), (pointer: coarse) {\n html { font-size: 17px; }\n @supports (font: -apple-system-body) { html { font: -apple-system-body; } }\n body { line-height:1.4; }\n h1 { font-size:2rem; font-weight:700; letter-spacing:-.025em; }\n h2 { font-size:1.3rem; font-weight:650; }\n h3 { font-size:1.05rem; font-weight:600; }\n }\n}\n\n/* Touch presentation follows the existing density setting; minimums grow with text. */\n@layer gramlot.touch {\n @media (max-width:640px), (pointer:coarse) {\n :root:not([data-gramlot-touch=\"off\"]) {\n --gramlot-field-height:max(44px,2.65rem); --gramlot-field-font-size:max(16px,1rem);\n --gramlot-field-padding:.55rem .75rem; --gramlot-button-padding:.6rem 1rem;\n --gramlot-label-size:.88rem; --gramlot-label-gap:.4rem;\n --gramlot-tree-row-height:max(44px,2.65rem); --gramlot-tab-height:max(44px,2.65rem);\n }\n :where(button,.button,summary,[role=\"tab\"],a) { min-block-size:44px; }\n :where(nav a,.actions a) { display:inline-flex; align-items:center; }\n :where(label:has(input[type=\"checkbox\"]),label:has(input[type=\"radio\"])) { min-block-size:44px; display:inline-flex; align-items:center; gap:.6rem; }\n }\n}\n/* Content stays opaque. Materials are confined to navigation controls. */\n@layer gramlot.components {\n :where([role=\"toolbar\"]) { --gramlot-button-padding:4px 6px; background:var(--gramlot-surface); color:var(--gramlot-ink); }\n @supports (backdrop-filter:blur(16px)) {\n :where([role=\"toolbar\"]) { background:color-mix(in srgb,var(--gramlot-surface) 92%,transparent); backdrop-filter:blur(16px) saturate(1.2); }\n }\n @media (prefers-reduced-transparency:reduce), (prefers-contrast:more) {\n :where([role=\"toolbar\"]) { background:var(--gramlot-surface); backdrop-filter:none; }\n }\n @media (prefers-contrast:more) {\n :where(input,select,textarea,button,.button) { border:2px solid currentColor; }\n :where(a) { text-decoration:underline; }\n }\n @media (prefers-reduced-motion:reduce) {\n :where(button,.button) { transition:none; transform:none; }\n }\n @media (forced-colors:active) {\n :where(button,.button) { background:ButtonFace; color:ButtonText; border-color:ButtonText; filter:none; }\n :where([role=\"toolbar\"]) { background:Canvas; color:CanvasText; backdrop-filter:none; }\n }\n}\n"};
@@ -15,10 +15,12 @@ export const labelboxStyle = `.gramlot-labelbox[hidden]{display:none!important}
15
15
  .gramlot-labelbox[data-formlet-aligned]>.label-box>label{width:max-content;margin-left:auto}
16
16
  .gramlot-labelbox[data-position='L']{grid-template-columns:var(--gramlot-label-width,var(--gramlot-formlet-label-width,max-content)) minmax(0,1fr)}
17
17
  .gramlot-labelbox:has(>.label-box[hidden]){gap:0;grid-template-areas:'control';grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
18
- .gramlot-labelbox[data-variant='card']{gap:0;border:1px solid var(--gramlot-border-control,#b9c2ce);border-radius:var(--gramlot-window-radius,9px);background:var(--gramlot-surface,#fff);box-shadow:0 3px 10px #0002}
19
- .gramlot-labelbox[data-variant='card']>.label-box{background:var(--gramlot-card-header-background,#303946);color:var(--gramlot-card-header-color,#fff);padding:7px 12px;border-radius:calc(var(--gramlot-window-radius,9px) - 1px) calc(var(--gramlot-window-radius,9px) - 1px) 0 0;font-weight:600}
18
+ .gramlot-labelbox[data-variant='card']{gap:0;border:1px solid var(--gramlot-border-control,#b9c2ce);border-radius:var(--gramlot-window-radius,9px);background:var(--gramlot-surface,#fff);color:var(--gramlot-ink,CanvasText);box-shadow:0 3px 10px #0002}
19
+ .gramlot-labelbox[data-variant='card']>.label-box{background:var(--gramlot-card-header-background,var(--gramlot-header-background,#303946));color:var(--gramlot-card-header-color,var(--gramlot-header-color,#fff));box-sizing:border-box;min-height:28px;padding:3px 10px;border-radius:calc(var(--gramlot-window-radius,9px) - 1px) calc(var(--gramlot-window-radius,9px) - 1px) 0 0;font-weight:600}
20
+ .gramlot-labelbox[data-variant='card']>.label-box>label{color:inherit;font:inherit;line-height:20px;margin:0}
20
21
  .gramlot-labelbox[data-variant='card']>.control-box{padding:12px}
21
22
  .gramlot-labelbox[data-movable]>.label-box{cursor:grab;touch-action:none;user-select:none}
23
+ .gramlot-labelbox[data-movable]>.label-box>label{cursor:inherit;user-select:none;-webkit-user-select:none}
22
24
  .gramlot-labelbox[data-selected]{outline:2px solid var(--gramlot-focus-ring,var(--gramlot-brand-blue,#3766b5));outline-offset:-2px}
23
25
  .gramlot-labelbox[data-tray-block]>.label-box{position:relative;padding-inline:32px 60px}
24
26
  .gramlot-labelbox>.label-box>.tray-settings-button{position:absolute;right:3px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:26px;height:26px;padding:4px;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer}
@@ -18,6 +18,8 @@
18
18
  --gramlot-ink: #243449;
19
19
  --gramlot-background: #f7f8f5;
20
20
  --gramlot-surface: #ffffff;
21
+ --gramlot-header-background: #303946;
22
+ --gramlot-header-color: #ffffff;
21
23
  --gramlot-surface-subtle: #edf1f7;
22
24
  --gramlot-text-secondary: #566579;
23
25
  --gramlot-border: #d5dce5;
@@ -67,6 +69,8 @@
67
69
  --gramlot-ink: #edf2fa;
68
70
  --gramlot-background: #111b29;
69
71
  --gramlot-surface: #1b293b;
72
+ --gramlot-header-background: #2c3d52;
73
+ --gramlot-header-color: #edf2fa;
70
74
  --gramlot-surface-subtle: #24354b;
71
75
  --gramlot-text-secondary: #bdc9d9;
72
76
  --gramlot-border: #44566d;
@@ -92,6 +96,8 @@
92
96
  --gramlot-ink: #edf2fa;
93
97
  --gramlot-background: #111b29;
94
98
  --gramlot-surface: #1b293b;
99
+ --gramlot-header-background: #2c3d52;
100
+ --gramlot-header-color: #edf2fa;
95
101
  --gramlot-surface-subtle: #24354b;
96
102
  --gramlot-text-secondary: #bdc9d9;
97
103
  --gramlot-border: #44566d;
@@ -4,6 +4,8 @@
4
4
  color-scheme: light;
5
5
  --gramlot-background: #f3f5f7;
6
6
  --gramlot-surface: #ffffff;
7
+ --gramlot-header-background: #303946;
8
+ --gramlot-header-color: #ffffff;
7
9
  --gramlot-surface-subtle: #e9edf2;
8
10
  --gramlot-ink: #202936;
9
11
  --gramlot-text-secondary: #526174;
@@ -65,6 +67,8 @@
65
67
  color-scheme: dark;
66
68
  --gramlot-background: #171c24;
67
69
  --gramlot-surface: #222a35;
70
+ --gramlot-header-background: #354152;
71
+ --gramlot-header-color: #edf1f7;
68
72
  --gramlot-surface-subtle: #2b3543;
69
73
  --gramlot-ink: #edf1f7;
70
74
  --gramlot-text-secondary: #b8c4d4;
@@ -93,6 +97,8 @@
93
97
  color-scheme: dark;
94
98
  --gramlot-background: #171c24;
95
99
  --gramlot-surface: #222a35;
100
+ --gramlot-header-background: #354152;
101
+ --gramlot-header-color: #edf1f7;
96
102
  --gramlot-surface-subtle: #2b3543;
97
103
  --gramlot-ink: #edf1f7;
98
104
  --gramlot-text-secondary: #b8c4d4;
@@ -4,6 +4,8 @@
4
4
  color-scheme: light;
5
5
  --gramlot-background: #f5f4f2;
6
6
  --gramlot-surface: #ffffff;
7
+ --gramlot-header-background: #3f4249;
8
+ --gramlot-header-color: #ffffff;
7
9
  --gramlot-surface-subtle: #eeece8;
8
10
  --gramlot-ink: #292c31;
9
11
  --gramlot-text-secondary: #5d636c;
@@ -65,6 +67,8 @@
65
67
  color-scheme: dark;
66
68
  --gramlot-background: #1b1c20;
67
69
  --gramlot-surface: #25272c;
70
+ --gramlot-header-background: #41444c;
71
+ --gramlot-header-color: #f3f2ef;
68
72
  --gramlot-surface-subtle: #303239;
69
73
  --gramlot-ink: #f3f2ef;
70
74
  --gramlot-text-secondary: #c4c3c0;
@@ -93,6 +97,8 @@
93
97
  color-scheme: dark;
94
98
  --gramlot-background: #1b1c20;
95
99
  --gramlot-surface: #25272c;
100
+ --gramlot-header-background: #41444c;
101
+ --gramlot-header-color: #f3f2ef;
96
102
  --gramlot-surface-subtle: #303239;
97
103
  --gramlot-ink: #f3f2ef;
98
104
  --gramlot-text-secondary: #c4c3c0;
@@ -10,6 +10,8 @@
10
10
  --gramlot-window-backdrop: rgb(0 0 0 / 24%);
11
11
  --gramlot-background: #f2f2f7;
12
12
  --gramlot-surface: #ffffff;
13
+ --gramlot-header-background: #38383d;
14
+ --gramlot-header-color: #ffffff;
13
15
  --gramlot-surface-subtle: #eaeaed;
14
16
  --gramlot-ink: #1d1d1f;
15
17
  --gramlot-text-secondary: #636366;
@@ -73,6 +75,8 @@
73
75
  color-scheme: dark;
74
76
  --gramlot-background: #000000;
75
77
  --gramlot-surface: #1c1c1e;
78
+ --gramlot-header-background: #323236;
79
+ --gramlot-header-color: #f5f5f7;
76
80
  --gramlot-surface-subtle: #38383a;
77
81
  --gramlot-ink: #f5f5f7;
78
82
  --gramlot-text-secondary: #bdbdc4;
@@ -101,6 +105,8 @@
101
105
  color-scheme: dark;
102
106
  --gramlot-background: #000000;
103
107
  --gramlot-surface: #1c1c1e;
108
+ --gramlot-header-background: #323236;
109
+ --gramlot-header-color: #f5f5f7;
104
110
  --gramlot-surface-subtle: #38383a;
105
111
  --gramlot-ink: #f5f5f7;
106
112
  --gramlot-text-secondary: #bdbdc4;
@@ -4,6 +4,8 @@
4
4
  color-scheme: light;
5
5
  --gramlot-background: #edf1ef;
6
6
  --gramlot-surface: #fbfcfb;
7
+ --gramlot-header-background: #30473c;
8
+ --gramlot-header-color: #fbfcfb;
7
9
  --gramlot-surface-subtle: #e2e9e5;
8
10
  --gramlot-ink: #24332e;
9
11
  --gramlot-text-secondary: #52655d;
@@ -65,6 +67,8 @@
65
67
  color-scheme: dark;
66
68
  --gramlot-background: #17201d;
67
69
  --gramlot-surface: #202c27;
70
+ --gramlot-header-background: #334d40;
71
+ --gramlot-header-color: #ebf3ee;
68
72
  --gramlot-surface-subtle: #2a3932;
69
73
  --gramlot-ink: #ebf3ee;
70
74
  --gramlot-text-secondary: #b6c9be;
@@ -93,6 +97,8 @@
93
97
  color-scheme: dark;
94
98
  --gramlot-background: #17201d;
95
99
  --gramlot-surface: #202c27;
100
+ --gramlot-header-background: #334d40;
101
+ --gramlot-header-color: #ebf3ee;
96
102
  --gramlot-surface-subtle: #2a3932;
97
103
  --gramlot-ink: #ebf3ee;
98
104
  --gramlot-text-secondary: #b6c9be;
@@ -4,6 +4,8 @@
4
4
  color-scheme: light;
5
5
  --gramlot-background: #f3f5f7;
6
6
  --gramlot-surface: #ffffff;
7
+ --gramlot-header-background: #303946;
8
+ --gramlot-header-color: #ffffff;
7
9
  --gramlot-surface-subtle: #e9edf2;
8
10
  --gramlot-ink: #202936;
9
11
  --gramlot-text-secondary: #526174;
@@ -32,6 +34,8 @@
32
34
  color-scheme: dark;
33
35
  --gramlot-background: #171c24;
34
36
  --gramlot-surface: #222a35;
37
+ --gramlot-header-background: #354152;
38
+ --gramlot-header-color: #edf1f7;
35
39
  --gramlot-surface-subtle: #2b3543;
36
40
  --gramlot-ink: #edf1f7;
37
41
  --gramlot-text-secondary: #b8c4d4;
@@ -60,6 +64,8 @@
60
64
  color-scheme: dark;
61
65
  --gramlot-background: #171c24;
62
66
  --gramlot-surface: #222a35;
67
+ --gramlot-header-background: #354152;
68
+ --gramlot-header-color: #edf1f7;
63
69
  --gramlot-surface-subtle: #2b3543;
64
70
  --gramlot-ink: #edf1f7;
65
71
  --gramlot-text-secondary: #b8c4d4;
@@ -4,6 +4,8 @@
4
4
  color-scheme: light;
5
5
  --gramlot-background: #f5f4f2;
6
6
  --gramlot-surface: #ffffff;
7
+ --gramlot-header-background: #3f4249;
8
+ --gramlot-header-color: #ffffff;
7
9
  --gramlot-surface-subtle: #eeece8;
8
10
  --gramlot-ink: #292c31;
9
11
  --gramlot-text-secondary: #5d636c;
@@ -32,6 +34,8 @@
32
34
  color-scheme: dark;
33
35
  --gramlot-background: #1b1c20;
34
36
  --gramlot-surface: #25272c;
37
+ --gramlot-header-background: #41444c;
38
+ --gramlot-header-color: #f3f2ef;
35
39
  --gramlot-surface-subtle: #303239;
36
40
  --gramlot-ink: #f3f2ef;
37
41
  --gramlot-text-secondary: #c4c3c0;
@@ -60,6 +64,8 @@
60
64
  color-scheme: dark;
61
65
  --gramlot-background: #1b1c20;
62
66
  --gramlot-surface: #25272c;
67
+ --gramlot-header-background: #41444c;
68
+ --gramlot-header-color: #f3f2ef;
63
69
  --gramlot-surface-subtle: #303239;
64
70
  --gramlot-ink: #f3f2ef;
65
71
  --gramlot-text-secondary: #c4c3c0;
@@ -4,6 +4,8 @@
4
4
  color-scheme: light;
5
5
  --gramlot-background: #edf1ef;
6
6
  --gramlot-surface: #fbfcfb;
7
+ --gramlot-header-background: #30473c;
8
+ --gramlot-header-color: #fbfcfb;
7
9
  --gramlot-surface-subtle: #e2e9e5;
8
10
  --gramlot-ink: #24332e;
9
11
  --gramlot-text-secondary: #52655d;
@@ -32,6 +34,8 @@
32
34
  color-scheme: dark;
33
35
  --gramlot-background: #17201d;
34
36
  --gramlot-surface: #202c27;
37
+ --gramlot-header-background: #334d40;
38
+ --gramlot-header-color: #ebf3ee;
35
39
  --gramlot-surface-subtle: #2a3932;
36
40
  --gramlot-ink: #ebf3ee;
37
41
  --gramlot-text-secondary: #b6c9be;
@@ -60,6 +64,8 @@
60
64
  color-scheme: dark;
61
65
  --gramlot-background: #17201d;
62
66
  --gramlot-surface: #202c27;
67
+ --gramlot-header-background: #334d40;
68
+ --gramlot-header-color: #ebf3ee;
63
69
  --gramlot-surface-subtle: #2a3932;
64
70
  --gramlot-ink: #ebf3ee;
65
71
  --gramlot-text-secondary: #b6c9be;