/* Utility views: History charts, Settings parts, Shortcuts, Rules and the notes box. They are drawn inside the stats modal or the Settings modal. */

.history-chart {
  height: 64px;
  display: flex;
  align-items: flex-end;
  gap: 1px;
  margin-top: 8px;
  padding: 0;
  border-bottom: 1px solid var(--panel-border);
  overflow: hidden;
}

.history-chart .variation-empty {
  align-self: center;
  width: 100%;
}

.history-bar-slot {
  flex: 1 1 0;
  min-width: 1px;
  height: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: default;
}

.history-bar {
  width: 100%;
  min-width: 1px;
  min-height: 1px;
  border-radius: 2px 2px 0 0;
  background: currentColor;
  opacity: var(--opacity-mark);
  transition: opacity 90ms var(--ease-out-quart);
}

.history-bar-slot:hover .history-bar { opacity: 1; }

.settings-message {
  margin: 2px 0 8px;
  padding: 7px 8px;
  border-radius: 6px;
  background: var(--surface-1);
  font-size: var(--font-xs);
  line-height: 1.35;
  opacity: var(--opacity-secondary);
}

.settings-reset-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 6px 0;
  border-bottom: 1px solid var(--divider);
}

.settings-reset-row:last-child { border-bottom: 0; }
.settings-reset-row.is-confirming { align-items: start; }
.settings-reset-copy { min-width: 0; }
.settings-reset-label { font-size: var(--font-sm); line-height: 1.25; }
.settings-reset-description { margin-top: 2px; font-size: var(--font-xs); line-height: 1.3; opacity: var(--opacity-faint); }
.settings-reset-actions { display: flex; gap: 4px; }
.settings-reset-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(var(--font-xs) * 2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: var(--opacity-muted);
  transition: opacity 90ms var(--ease-out-quart);
}
.settings-reset-group > summary::-webkit-details-marker { display: none; }
.settings-reset-group > summary:hover,
.settings-reset-group > summary:focus-visible { opacity: 1; }
.settings-reset-group > summary:focus-visible { outline: none; }
.settings-reset-group > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 200ms var(--ease-out-quart);
}
.settings-reset-group[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.settings-reset-group[open] > summary { padding-bottom: 8px; border-bottom: 1px solid var(--divider); }
.settings-reset-group > .variation-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--divider); }
.settings-reset-group[open] > summary + .variation-section { margin-top: 0; padding-top: 12px; border-top: 0; }

.shortcuts-view .shortcut-dim { opacity: var(--opacity-faint); font-weight: 400; }
.rules-textarea { display:block; margin-top:8px; width:100%; box-sizing:border-box; min-height:84px; resize:vertical; padding:8px; border:1px solid var(--panel-border); border-radius:6px; background:var(--surface-1); color:var(--text-color); font:inherit; font-size:var(--font-sm); line-height:1.4; }
.rules-textarea:focus { outline:none; border-color:var(--border-strong); }
.rules-past-row { display:grid; gap:2px; padding:8px 0; border-bottom:1px solid var(--divider); }
.rules-past-row:last-child { border-bottom:0; }
.rules-past-text { font-size:var(--font-sm); line-height:1.35; overflow-wrap:anywhere; white-space:pre-wrap; }
.rules-past-meta { font-size:var(--font-xs); opacity:var(--opacity-muted); font-variant-numeric:tabular-nums; }
.settings-option-row { display:flex; align-items:center; gap:8px; min-height:30px; font-size:var(--font-xs); line-height:1.3; }
.settings-slider-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:6px 0; }
.settings-slider-label { font-size:var(--font-sm); opacity:var(--opacity-muted); }
/* Mini slider: a small horizontal copy of the brush panel slider (see docs/DESIGN_LANGUAGE.md, "Mini slider"). */
.mini-slider { position:relative; flex:0 0 160px; width:160px; height:28px; overflow:hidden; border:1px solid var(--panel-border); border-radius:6px; background:var(--surface-1); color:var(--text-color); cursor:pointer; touch-action:none; user-select:none; -webkit-user-select:none; transition:background-color 90ms var(--ease-out-quart), border-color 90ms var(--ease-out-quart); }
.mini-slider:hover { background:var(--surface-2); }
.mini-slider:focus { outline:none; }
.mini-slider:focus-visible { border-color:var(--border-strong); }
.mini-slider.is-disabled { opacity:var(--opacity-faint); cursor:default; pointer-events:none; }
.mini-slider-fill { position:absolute; top:0; bottom:0; left:0; width:var(--slider-fill, 0%); background:var(--text-color); pointer-events:none; }
.mini-slider-text { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:var(--font-sm); font-weight:600; line-height:1; font-variant-numeric:tabular-nums; color:var(--text-color); pointer-events:none; }
.mini-slider-text-inverted { color:var(--bg-color); clip-path:inset(0 calc(100% - var(--slider-fill, 0%)) 0 0); }
.settings-option-checkbox { flex:0 0 auto; width:13px; height:13px; accent-color:var(--text-color); }
.settings-backup-actions { display:flex; flex-wrap:wrap; gap:6px; padding-top:8px; }

.settings-button {
  appearance: none;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  background: var(--surface-1);
  color: var(--text-color);
  min-height: 25px;
  padding: 4px 7px;
  font: inherit;
  font-size: var(--font-xs);
  font-weight: 600;
  cursor: pointer;
  opacity: var(--opacity-muted);
}
.settings-button:hover,
.settings-button:focus-visible { opacity: 1; background: var(--surface-2); }
.settings-button.is-danger { border-color: var(--danger-border); background: var(--danger-surface); }
.settings-button.is-danger:hover,
.settings-button.is-danger:focus-visible { background: var(--danger-surface-strong); }
/* Hotkeys card (Settings): two key boxes per action. The boxes are .settings-button; the rows are .settings-slider-row. */
.hotkey-hint { padding-bottom:6px; }
.hotkey-row { flex-wrap:wrap; }
.hotkey-slots { display:flex; flex:0 0 auto; gap:6px; }
.hotkey-slot { min-width:78px; text-align:center; }
.hotkey-slot.is-empty { opacity:var(--opacity-faint); }
.hotkey-slot.is-empty:hover,
.hotkey-slot.is-empty:focus-visible { opacity:1; }
.hotkey-slot.is-recording { opacity:1; background:var(--surface-3); border-color:var(--border-strong); }

.relationship-pair-list { display: grid; gap: 4px; margin-top: 8px; }
.relationship-composition { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 7px; font-size: var(--font-sm); font-weight: 600; }

/* Notes box */
.notes-overlay { position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; pointer-events:none; }
.notes-overlay[hidden] { display:none; }
/* Title cutout. .notes-dim darkens the whole screen (--opacity-dim-deep). On top of it, .notes-title-invert is a white layer with
   mix-blend-mode: difference, masked to the letters NOTES, at full opacity: the letters are the complete inverse of the dimmed
   picture. .notes-title-fade is a black layer with the same mask on top of that, at 1 minus --opacity-dim: it fades the inverted
   letters toward black, so --opacity-dim is the strength of the letters (the result is --opacity-dim times the inverse).
   All of them are siblings of the overlay, not children: a blend mode only mixes inside its own stacking context, and the
   overlay is one. z-index: dim 197, invert 198, fade 199, overlay 200, so the box (z-index 1 in the overlay) is above all of
   them and a long note covers the title.
   The title is Fascinate drawn as a path (no font has to load); redraw it from fonts/fascinate-latin-400-normal.woff2 if the word changes. */
.notes-title-invert, .notes-title-fade { --notes-title-width: min(700px, calc(100vw - 96px)); --notes-title-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 157.8'%3E%3Cpath d='M118.9 4.9Q120.9 4.9 122.5 6.1Q124 7.4 124 10.9V146.1Q124 153.8 116.8 153.8H80.8Q77.4 153.8 75.1 152.4Q72.9 151.1 71.1 149.3L18 93.8Q19 107.3 19.9 118.6Q20.2 123.5 20.6 128.3Q21 133 21.4 137.2Q21.7 141.3 21.9 144.4Q22.2 147.5 22.3 148.9Q22.5 150.7 21.7 152.2Q20.9 153.8 18.1 153.8H5.1Q3.2 153.8 1.6 152.6Q0 151.4 0 147.9V12.5Q0 4.9 8.5 4.9H43.5Q47.5 4.9 50.1 6.5Q52.8 8.2 55.5 10.9L106 61Q104.9 48.6 104.1 38.2Q103.7 33.7 103.3 29.2Q103 24.8 102.7 20.9Q102.3 17 102.1 14.1Q101.8 11.2 101.7 9.7Q101.5 8.1 102.4 6.5Q103.3 4.9 106.5 4.9ZM208.9 157.8Q200.6 157.8 192.3 156.4Q183.9 154.9 176.3 151.4Q168.6 147.9 162 142Q155.3 136.1 150.4 127.4Q145.5 118.6 142.7 106.6Q139.9 94.7 139.9 78.8Q139.9 63 142.7 51Q145.5 39 150.4 30.2Q155.3 21.5 162 15.7Q168.6 9.9 176.3 6.4Q183.9 2.9 192.3 1.5Q200.6 0 208.9 0Q217.2 0 225.6 1.5Q234 2.9 241.7 6.4Q249.4 9.9 256 15.7Q262.6 21.5 267.5 30.2Q272.4 39 275.2 51Q278 63 278 78.8Q278 94.6 275.2 106.6Q272.4 118.6 267.5 127.4Q262.6 136.1 256 142Q249.4 147.9 241.7 151.4Q234 154.9 225.6 156.4Q217.2 157.8 208.9 157.8ZM218.3 78.8Q218.3 91.8 220.2 100.5Q222.1 109.2 225.3 114.5Q228.5 119.8 232.5 122Q236.5 124.2 240.8 124.2Q245 124.2 249.1 122Q253.1 119.8 256.3 114.5Q259.4 109.2 261.3 100.5Q263.3 91.8 263.3 78.8Q263.3 65.8 261.3 57.1Q259.4 48.4 256.3 43.1Q253.1 37.8 249.1 35.6Q245 33.4 240.8 33.4Q236.5 33.4 232.5 35.6Q228.5 37.8 225.3 43.1Q222.1 48.4 220.2 57.1Q218.3 65.8 218.3 78.8ZM318.9 20Q312.2 21.5 306.5 22.6Q304 23.1 301.6 23.5Q299.1 24 297 24.3Q294.8 24.7 293.1 24.9Q291.4 25.1 290.5 25.1Q288.8 25.1 287.6 24.4Q286.4 23.7 286.4 21.7V10.1Q286.4 8.1 288 6.5Q289.7 4.9 293.2 4.9H421.9Q425.4 4.9 427.1 6.5Q428.8 8.1 428.8 10.1V21.7Q428.8 23.7 427.6 24.4Q426.4 25.1 424.6 25.1Q423.7 25.1 422 24.9Q420.4 24.7 418.2 24.3Q416 24 413.6 23.5Q411.1 23.1 408.6 22.6Q402.9 21.5 396.2 20V139.6Q396.2 143.1 395.6 145.7Q394.9 148.4 393.2 150.2Q391.5 152 388.5 152.9Q385.5 153.8 380.8 153.8H334.6Q329.7 153.8 326.7 152.8Q323.6 151.9 321.9 150.1Q320.2 148.4 319.6 145.7Q318.9 143 318.9 139.4ZM517.7 56.9V141Q527.8 139.6 536.2 138.4Q539.7 137.9 543.3 137.4Q546.9 137 549.9 136.6Q552.9 136.1 555 135.9Q557.2 135.7 558.1 135.7Q559.8 135.7 561.1 136.4Q562.3 137.1 562.3 139.1V148.7Q562.3 150.6 561.4 152.2Q560.4 153.8 556.9 153.8H456.1Q451.3 153.8 448.2 152.8Q445.1 151.9 443.4 150.1Q441.6 148.4 441 145.7Q440.4 143 440.4 139.4V22.9Q440.4 17 441.7 13.4Q443.1 9.9 445.5 7.9Q448 6 451.5 5.4Q455 4.9 459.2 4.9H553Q556.5 4.9 557.5 6.5Q558.5 8.1 558.5 10.1V17.4Q558.5 19.5 557.4 20.2Q556.3 20.8 554.5 20.8Q553.5 20.8 551.4 20.6Q549.2 20.4 546.4 20.1Q543.6 19.7 540.4 19.3Q537.2 18.9 534 18.4Q526.5 17.2 517.7 15.8V42.1H556.3Q558.5 42.1 558.5 44.3V54.6Q558.5 56.9 556.3 56.9ZM600.4 40.5Q601.5 29.2 606.5 21.7Q611.5 14.1 618.8 9.6Q626.2 5.1 635.2 3.2Q644.2 1.3 653.4 1.3Q661 1.3 668.3 2Q675.5 2.6 681.6 3.4Q687.8 4.3 692.2 5.1Q696.7 5.9 698.8 6.3Q700 6.6 700 7.5Q700 7.7 699.8 8.7L698.2 16.2Q698 16.9 697.7 17.1Q697.3 17.2 697 17.2Q692.4 17.2 689.1 18.8Q685.8 20.3 683.6 23.1Q681.4 25.9 680.3 29.8Q679.2 33.6 678.7 38.1L672.5 113.4Q671.7 122.6 667.9 130.6Q664 138.7 657.2 144.7Q650.3 150.8 640.4 154.3Q630.4 157.8 617.6 157.8Q609 157.8 601 157Q593 156.2 586.5 155Q579.9 153.9 575.2 152.8Q570.5 151.7 568.4 151.2Q567.2 150.9 567.2 150Q567.2 149.9 567.4 148.9L569.1 141Q569.4 140.3 569.7 140.1Q570.1 140 570.4 140Q575 140 578.8 138.6Q582.7 137.3 585.6 134.2Q588.5 131.1 590.5 126.1Q592.4 121.1 593.1 113.8Z'/%3E%3C/svg%3E"); }
.notes-dim { position:fixed; inset:0; z-index:197; pointer-events:none; background:var(--bg-color); opacity:0; transition:opacity 0.3s var(--ease-out-quart); }
.notes-overlay.is-open ~ .notes-dim { opacity:var(--opacity-dim-deep); }
.notes-overlay[hidden] ~ .notes-dim { display:none; }
.notes-title-invert { position:fixed; inset:0; z-index:198; pointer-events:none; background:var(--text-color); mix-blend-mode:difference; opacity:0; transition:opacity 0.3s var(--ease-out-quart);
  -webkit-mask-image: var(--notes-title-mask); mask-image: var(--notes-title-mask);
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-size:var(--notes-title-width) auto; mask-size:var(--notes-title-width) auto;
  -webkit-mask-position:50% 50%; mask-position:50% 50%; }
.notes-overlay.is-open ~ .notes-title-invert { opacity:1; }
.notes-overlay[hidden] ~ .notes-title-invert { display:none; }
.notes-title-fade { position:fixed; inset:0; z-index:199; pointer-events:none; background:var(--bg-color); opacity:0; transition:opacity 0.3s var(--ease-out-quart);
  -webkit-mask-image: var(--notes-title-mask); mask-image: var(--notes-title-mask);
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-size:var(--notes-title-width) auto; mask-size:var(--notes-title-width) auto;
  -webkit-mask-position:50% 50%; mask-position:50% 50%; }
.notes-overlay.is-open ~ .notes-title-fade { opacity:calc(1 - var(--opacity-dim)); }
.notes-overlay[hidden] ~ .notes-title-fade { display:none; }
.notes-box { position:relative; z-index:1; pointer-events:auto; width:min(772px, calc(100vw - 48px)); height:min(772px, calc(100vh - 48px)); box-sizing:border-box; resize:none; padding:24px; background:var(--panel-bg-solid); border:1px dashed var(--panel-border); border-radius:12px; box-shadow:var(--shadow-panel); color:var(--text-color); font:inherit; font-size:var(--font-lg); font-weight:400; line-height:1.5; outline:none; opacity:0; transition:opacity 0.3s var(--ease-out-quart); }
@supports (field-sizing: content) {
  .notes-box { field-sizing:content; width:auto; height:auto; min-width:calc(18ch + 50px); max-width:min(772px, calc(100vw - 48px)); max-height:min(772px, calc(100vh - 48px)); }
}
.notes-overlay.is-open .notes-box { opacity:1; }
.notes-box:focus { border-color:var(--border-strong); }

/* Settings modal. It works like the notes box (fade 300ms, dim, cutout title behind the box), see docs/DESIGN_LANGUAGE.md.
   The title SETTINGS is Passion One drawn as a path (no font has to load); redraw it from fonts/passion-one-latin-400-normal.woff2 if the word changes.
   It sits at the modal's top left: 24px left of the modal's left edge, its right edge flush with the modal's right edge, its bottom 30% behind the modal.
   The three layers are siblings of the overlay for the same reason as the notes title (a blend mode only mixes inside its own stacking context). */
.settings-overlay, .settings-title-invert, .settings-title-fade {
  --settings-w: min(560px, calc(100vw - 48px));
  --settings-h: min(680px, calc(100vh - 200px));
  --settings-title-width: min(76vw, 400vh);
  --settings-title-height: calc(var(--settings-title-width) * 0.1895);
  --settings-title-left: calc(50vw - var(--settings-title-width) / 2);
  --settings-title-top: calc(50vh - var(--settings-title-height) / 2);
}
.settings-title-invert, .settings-title-fade { --settings-title-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 113.7'%3E%3Cpath d='M67.4 3.2 63.8 31.6Q46.3 27.5 39.7 27.5Q31.4 27.5 31.4 34.2Q31.4 36.9 35.4 39.4Q39.4 41.8 45 44.6Q50.7 47.3 56.4 51.2Q62.1 55 66 62.1Q70 69.1 70 78.4Q70 95.2 61 104.4Q52 113.7 35.4 113.7Q18.8 113.7 3 108.5L5 82.1Q23.9 87.6 31.4 87.6Q38.8 87.6 38.8 81Q38.8 77.7 34.8 74.8Q30.9 72 25.2 69.1Q19.5 66.3 13.7 62.6Q8 58.9 4 51.8Q0 44.7 0 34.9Q0 19.1 9.2 9.6Q18.4 0 34.5 0Q50.5 0 67.4 3.2ZM140.2 111.9H80.7V1.8H142L140.2 28.9H111V45.4H136.3V68.8H111V87.1H142ZM216.3 28.5H195.7V111.9H165.4V28.5H143.6L145.4 1.8H218.1ZM289 28.5H268.4V111.9H238.1V28.5H216.3L218.1 1.8H290.8ZM329.6 111.9H299.5V1.8H329.6ZM427.3 111.9H398.2L375.4 60.6H373.9V111.9H347V1.8H377L398.8 54.6H400.2V1.8H427.3ZM509.2 34.6Q492.2 29.4 484.3 29.4Q476.4 29.4 473.5 36.3Q470.6 43.3 470.6 58.2Q470.6 73.2 473.3 80.1Q476.1 86.9 484.6 86.9Q487.1 86.9 494.1 85.5V72H486.2V51.1H520V111.9H499.1L496.3 106.2H495.6Q492.6 108.7 490.8 109.9Q485.8 113.7 476.8 113.7Q439.7 113.7 439.7 57.6Q439.7 29.6 449.5 14.8Q459.2 0 482.3 0Q500.7 0 514 5.7ZM597.3 3.2 593.8 31.6Q576.2 27.5 569.7 27.5Q561.3 27.5 561.3 34.2Q561.3 36.9 565.3 39.4Q569.3 41.8 575 44.6Q580.7 47.3 586.3 51.2Q592 55 596 62.1Q600 69.1 600 78.4Q600 95.2 591 104.4Q581.9 113.7 565.3 113.7Q548.8 113.7 533 108.5L534.9 82.1Q553.9 87.6 561.3 87.6Q568.8 87.6 568.8 81Q568.8 77.7 564.8 74.8Q560.8 72 555.1 69.1Q549.5 66.3 543.7 62.6Q537.9 58.9 534 51.8Q530 44.7 530 34.9Q530 19.1 539.2 9.6Q548.4 0 564.5 0Q580.5 0 597.3 3.2Z'/%3E%3C/svg%3E"); }
.settings-overlay { position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; pointer-events:none; }
.settings-overlay[hidden] { display:none; }
.settings-dim { position:fixed; inset:0; z-index:197; pointer-events:none; background:var(--bg-color); opacity:0; transition:opacity 0.3s var(--ease-out-quart); }
.settings-overlay.is-open ~ .settings-dim { opacity:var(--opacity-dim-deep); }
.settings-overlay[hidden] ~ .settings-dim { display:none; }
.settings-title-invert { position:fixed; inset:0; z-index:198; pointer-events:none; background:var(--text-color); mix-blend-mode:difference; opacity:0; transition:opacity 0.3s var(--ease-out-quart);
  -webkit-mask-image: var(--settings-title-mask); mask-image: var(--settings-title-mask);
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-size:var(--settings-title-width) auto; mask-size:var(--settings-title-width) auto;
  -webkit-mask-position:var(--settings-title-left) var(--settings-title-top); mask-position:var(--settings-title-left) var(--settings-title-top); }
.settings-overlay.is-open ~ .settings-title-invert { opacity:1; }
.settings-overlay[hidden] ~ .settings-title-invert { display:none; }
.settings-title-fade { position:fixed; inset:0; z-index:199; pointer-events:none; background:var(--bg-color); opacity:0; transition:opacity 0.3s var(--ease-out-quart);
  -webkit-mask-image: var(--settings-title-mask); mask-image: var(--settings-title-mask);
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-size:var(--settings-title-width) auto; mask-size:var(--settings-title-width) auto;
  -webkit-mask-position:var(--settings-title-left) var(--settings-title-top); mask-position:var(--settings-title-left) var(--settings-title-top); }
.settings-overlay.is-open ~ .settings-title-fade { opacity:calc(1 - var(--opacity-dim-faint)); }
.settings-overlay[hidden] ~ .settings-title-fade { display:none; }

.settings-modal { position:relative; z-index:1; pointer-events:auto; display:flex; flex-direction:column; width:var(--settings-w); height:var(--settings-h); overflow:hidden; background:var(--panel-bg-solid); border:1px solid var(--panel-border); border-radius:12px; box-shadow:var(--shadow-panel); color:var(--text-color); outline:none; opacity:0; transition:opacity 0.3s var(--ease-out-quart); }
.settings-overlay.is-open .settings-modal { opacity:1; }
.settings-scroll { flex:1 1 auto; min-height:0; margin-top:0; padding:24px 20px 24px 24px; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-gutter:stable; scrollbar-color:var(--border-strong) transparent; }
.settings-scroll > .variation-section,
.settings-scroll > .settings-reset-group { margin-top:12px; padding:14px 16px; background:var(--surface-1); border:1px solid var(--panel-border); border-radius:8px; }
.settings-scroll > :first-child { margin-top:0; }
.settings-scroll > .settings-version { margin-top:12px; text-align:center; font-size:var(--font-xs); opacity:var(--opacity-faint); user-select:none; }
.settings-modal .variation-section-head { padding-bottom:8px; margin-bottom:4px; border-bottom:1px solid var(--divider); font-size:calc(var(--font-xs) * 2); letter-spacing:0.1em; text-transform:uppercase; }
.settings-modal .variation-section-head > :first-child { font-family:var(--font-title); font-weight:400; opacity:var(--opacity-muted); }
.settings-modal .variation-range { font-size:var(--font-xs); letter-spacing:0; text-transform:none; opacity:var(--opacity-faint); }

