/* Generated by tools/make-options-css.mjs from extension/src/options/options.css and _data/options.json: do not edit by hand.
   The rules of the settings page for the blocks the Features page shows as HTML, each under .xopt. */
.xopt {
  --desktop: #cfd2d8; --window: #f5f5f7; --sidebar: #e9e9ec; --card: #ffffff; --line: rgba(0, 0, 0, .09); --line-strong: rgba(0, 0, 0, .16);
  --text: #1d1d1f; --muted: #6e6e73; --faint: #8e8e93; --accent: #0a62d4; --accent-ink: #ffffff; --accent-soft: rgba(10, 98, 212, .12); --link: #0a58c2;
  --field: #ffffff; --button: #ffffff; --button-line: rgba(0, 0, 0, .14); --hover: rgba(0, 0, 0, .045); --switch-off: #d1d1d6;
  --ok: #1f8f3a; --warn: #b26a00; --bad: #d1302b; --shadow: 0 1px 2px rgba(0, 0, 0, .06);
  --font: "Calmet UI", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  .xopt {
    --desktop: #0e0e10; --window: #1e1e1e; --sidebar: #2a2a2c; --card: #2c2c2e; --line: rgba(255, 255, 255, .09); --line-strong: rgba(255, 255, 255, .17);
    --text: #f5f5f7; --muted: #a1a1a6; --faint: #8e8e93; --accent: #2f6fe0; --accent-ink: #ffffff; --accent-soft: rgba(47, 111, 224, .22); --link: #78adff;
    --field: #1c1c1e; --button: #3a3a3c; --button-line: rgba(255, 255, 255, .1); --hover: rgba(255, 255, 255, .06); --switch-off: #55555a;
    --ok: #32d74b; --warn: #ffb340; --bad: #ff6961; --shadow: none;
    color-scheme: dark;
  }
}
.xopt, .xopt * {
  box-sizing: border-box;
}
.xopt [hidden] {
  display: none !important;
}
.xopt { color: var(--text); font: 15px/1.42 var(--font); -webkit-font-smoothing: antialiased; font-synthesis: none; font-variant-ligatures: common-ligatures; text-rendering: optimizeLegibility; }
.xopt .tile {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: #fff; background: var(--tile, #8e8e93);
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.xopt .c-blue {
  --tile: linear-gradient(#3b9bff, #0a7aff);
}
.xopt .c-indigo {
  --tile: linear-gradient(#7a79f0, #5856d6);
}
.xopt .c-purple {
  --tile: linear-gradient(#c97cf0, #af52de);
}
.xopt .c-pink {
  --tile: linear-gradient(#ff5f7e, #ff2d55);
}
.xopt .c-red {
  --tile: linear-gradient(#ff6b61, #ff3b30);
}
.xopt .c-orange {
  --tile: linear-gradient(#ffb340, #ff9500);
}
.xopt .c-green {
  --tile: linear-gradient(#53d56d, #30b94d);
}
.xopt .c-teal {
  --tile: linear-gradient(#5ac8fa, #32ade6);
}
.xopt .group-title {
  margin: 18px 4px 6px; font-size: 12px;  color: var(--muted);
}
.xopt .group {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; margin: 8px 0;
}
.xopt .row {
  display: flex; align-items: center; gap: 12px; padding: 8px 14px; min-height: 40px; position: relative;
}
.xopt .row + .row::before {
  content: ""; position: absolute; top: 0; left: 14px; right: 0; border-top: 1px solid var(--line);
}
.xopt .row .label {
  flex: 1; min-width: 0;
}
.xopt .row .control {
  display: flex; align-items: center; gap: 6px; flex: none;
}
.xopt .row .unit {
  color: var(--muted);
}
.xopt .row.stack {
  flex-direction: column; align-items: stretch; gap: 6px;
}
.xopt .row-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px;
}
.xopt .btn-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0;
}
.xopt button,
.xopt select,
.xopt input[type="number"],
.xopt input[type="text"],
.xopt input[type="search"],
.xopt textarea {
  font: inherit; color: var(--text);
}
.xopt button {
  padding: 4px 12px; border-radius: 7px; border: 1px solid var(--button-line); background: var(--button); cursor: pointer; box-shadow: 0 .5px 1px rgba(0, 0, 0, .08);
}
.xopt button:disabled {
  opacity: .5; cursor: default;
}
.xopt button.primary {
  background: var(--accent); color: var(--accent-ink); border-color: transparent;
}
.xopt button.small {
  padding: 2px 9px; font-size: 12px;
}
.xopt select {
  padding: 3px 24px 3px 9px; border-radius: 7px; border: 1px solid var(--button-line); background: var(--button) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14' fill='none' stroke='%238e8e93' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='m2 5 3-3 3 3M2 9l3 3 3-3'/></svg>") no-repeat right 7px center; appearance: none; -webkit-appearance: none; max-width: 100%;
}
.xopt input[type="number"] {
  width: 4.8em; padding: 3px 6px; border-radius: 7px; border: 1px solid var(--button-line); background: var(--field); text-align: right;
}
.xopt input[type="number"].narrow {
  width: 3.7em;
}
.xopt input[type="text"],
.xopt textarea {
  width: 100%; padding: 6px 9px; border-radius: 7px; border: 1px solid var(--button-line); background: var(--field);
}
.xopt textarea {
  font-family: var(--mono); font-size: 12px; line-height: 1.45; resize: vertical;
}
.xopt input[type="file"] {
  font-size: 12px;
}
.xopt label.inline {
  display: inline-flex; align-items: center; gap: 8px;
}
.xopt .switch {
  position: relative; display: inline-block; width: 38px; height: 22px; flex: none;
}
.xopt .switch input {
  position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; width: 100%; height: 100%;
}
.xopt .switch .knob {
  position: absolute; inset: 0; border-radius: 11px; background: var(--switch-off); transition: background .15s;
}
.xopt .switch .knob::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .15s;
}
.xopt .switch input:checked + .knob {
  background: var(--accent);
}
.xopt .switch input:checked + .knob::after {
  transform: translateX(16px);
}
.xopt input[type="range"] {
  accent-color: var(--accent);
}
.xopt .rule-group {
  margin-top: 14px;
}
.xopt .rule-row {
  cursor: pointer; padding-block: 5px;
}
.xopt .rule-row .title {
  font-size: 13.5px;  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.xopt .rule-row.off .title {
  opacity: .6;
}
.xopt .sens {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
}
.xopt .sens input[type="range"] {
  flex: 1 1 200px;
}
.xopt .sens output {
  min-width: 3.2rem;
}
.xopt .presets {
  flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 8px;
}
.xopt .acts-row {
  display: flex; flex-direction: column; gap: 8px;
}
.xopt .acts-row .line {
  display: flex; align-items: center; gap: 10px;
}
.xopt .acts-row .line > span {
  flex: 1;
}
.xopt .acts-row .line.reset {
  justify-content: flex-end;
}
.xopt .result {
  margin-top: 8px;
}
.xopt .result .r {
  background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 7px 11px; margin: 6px 0;
}
.xopt .result .r.f {
  border-color: var(--accent);
}
.xopt .result .hits {
  color: var(--muted); font-size: 12px;
}
.xopt .result .note {
  color: var(--muted); font-size: 12px; background: transparent; border-style: dashed;
}
.xopt .model {
  background: var(--card); border: 1px solid var(--line); border-left-width: 4px; border-radius: 10px; padding: 8px 14px; box-shadow: var(--shadow);
}
.xopt .model.tone-todo {
  border-left-color: var(--warn);
}
.xopt .model .head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
}
.xopt .model .pill-state {
  font-size: 10.5px;  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.xopt .model.tone-todo .pill-state {
  color: var(--warn);
}
.xopt .model p {
  margin: 3px 0;
}
.xopt .model .note {
  color: var(--muted); font-size: 12px;
}
.xopt .model .btn-row {
  margin: 6px 0 2px;
}
.xopt .model .lede {
  color: var(--muted);
}
.xopt .model .facts {
  color: var(--muted); font-size: 12px;
}
:root { --title-block: 25.04px; }                      /* what stands beside a block that begins with a heading is lowered by this much */
/* a copy that nobody can touch */
.xopt input, .xopt select, .xopt textarea, .xopt button, .xopt .rule-row { pointer-events: none; cursor: default; }
.xopt > :first-child { margin-top: 0; }
.xopt > :last-child { margin-bottom: 0; }
.xopt > .model + .model { margin-top: 8px; }                    /* the model rows of the On-device AI pane are a grid with a gap there */
/* the heading of the first group sits at the very top of its block, so the top of its box is one heading (--title-block) lower than the top of the block */
.xopt > .group-title:first-child, .xopt > .rule-group:first-child > .group-title:first-child { margin-top: 0; }
