.protocol-notice {
  width: min(1320px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(197, 111, 61, 0.26);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255, 247, 236, 0.96), rgba(247, 238, 226, 0.92));
  color: #5f3a24;
  box-shadow: none;
  line-height: 1.65;
}

.protocol-notice strong {
  display: inline-block;
  margin-right: 8px;
}

.protocol-notice code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

:root[data-theme='dark'] .protocol-notice {
  background: linear-gradient(180deg, rgba(53, 35, 24, 0.96), rgba(44, 30, 22, 0.94));
  color: #f2d8c5;
  border-color: rgba(216, 151, 107, 0.24);
}
:root {
  color-scheme: light;
  --bg-top: #efe8dc;
  --bg-bottom: #d8d0bf;
  --bg-spot-a: rgba(255, 244, 228, 0.8);
  --bg-spot-b: rgba(169, 197, 182, 0.24);
  --surface: rgba(255, 251, 244, 0.84);
  --surface-strong: rgba(255, 253, 249, 0.94);
  --surface-soft: rgba(255, 250, 242, 0.66);
  --surface-deep: rgba(243, 236, 226, 0.82);
  --surface-pill: rgba(255, 255, 255, 0.74);
  --surface-glass: rgba(255, 255, 255, 0.12);
  --input-bg: rgba(255, 255, 255, 0.82);
  --input-muted: rgba(249, 245, 238, 0.96);
  --ink: #1c2925;
  --ink-soft: #62716b;
  --ink-faint: #86928d;
  --line: rgba(53, 74, 64, 0.12);
  --line-strong: rgba(53, 74, 64, 0.2);
  --panel-border: rgba(53, 74, 64, 0.14);
  --accent: #c56f3d;
  --accent-deep: #924825;
  --accent-soft: #f6dfd0;
  --accent-pale: rgba(197, 111, 61, 0.12);
  --green: #16372f;
  --green-soft: #e8f0eb;
  --blue-soft: #e7eff4;
  --danger: #bf5448;
  --header-start: #f6f2ea;
  --header-mid: #ece5d9;
  --header-end: #ddd5c8;
  --header-ink: #244438;
  --header-copy: rgba(36, 68, 56, 0.78);
  --header-eyebrow: rgba(36, 68, 56, 0.56);
  --header-chip-bg: rgba(255, 255, 255, 0.36);
  --header-chip-border: rgba(95, 113, 103, 0.18);
  --picker-shell: linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(246, 239, 229, 0.96));
  --picker-border: rgba(90, 114, 103, 0.22);
  --picker-text-soft: rgba(64, 84, 75, 0.7);
  --picker-menu-bg: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(245, 238, 229, 0.98));
  --picker-menu-border: rgba(53, 74, 64, 0.16);
  --picker-icon-bg: linear-gradient(180deg, #fffdfa, #e5ece4);
  --picker-icon-ink: #355246;
  --strength-badge-bg: rgba(197, 111, 61, 0.14);
  --strength-badge-border: rgba(197, 111, 61, 0.22);
  --strength-badge-text: #8e5231;
  --strength-value-bg: linear-gradient(180deg, rgba(255, 249, 242, 0.98), rgba(246, 238, 227, 0.95));
  --strength-value-border: rgba(187, 142, 101, 0.26);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 10px 24px rgba(148, 108, 70, 0.08);
  --button-bg: linear-gradient(135deg, #64736d 0%, #4b5953 52%, #7f8b83 100%);
  --button-bg-soft: linear-gradient(135deg, #6f7d77 0%, #57655f 54%, #89958d 100%);
  --button-border: rgba(84, 98, 90, 0.34);
  --button-border-strong: rgba(111, 127, 118, 0.5);
  --button-text: #f7f9f7;
  --button-text-soft: rgba(247, 249, 247, 0.8);
  --button-ring: rgba(122, 138, 129, 0.22);
  --button-shadow: 0 12px 24px rgba(54, 63, 58, 0.14);
  --button-icon-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(88, 148, 180, 0.2));
  --button-icon-ink: #f6fbff;
  --button-count-bg: rgba(255, 255, 255, 0.68);
  --shadow-sm: 0 12px 24px rgba(36, 36, 28, 0.08);
  --shadow-md: 0 20px 48px rgba(30, 30, 24, 0.12);
  --shadow-lg: 0 28px 72px rgba(23, 22, 18, 0.16);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-display: 'Palatino Linotype', 'STSong', 'Songti SC', serif;
  --font-sans: 'Segoe UI Variable Text', 'Microsoft YaHei UI', 'PingFang SC', 'Noto Sans SC', sans-serif;
  --font-mono: 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg-top: #0c1412;
  --bg-bottom: #151e1b;
  --bg-spot-a: rgba(81, 107, 96, 0.2);
  --bg-spot-b: rgba(194, 118, 71, 0.12);
  --surface: rgba(18, 29, 25, 0.84);
  --surface-strong: rgba(22, 34, 30, 0.92);
  --surface-soft: rgba(17, 27, 24, 0.74);
  --surface-deep: rgba(24, 37, 32, 0.88);
  --surface-pill: rgba(22, 35, 31, 0.92);
  --surface-glass: rgba(0, 0, 0, 0.26);
  --input-bg: rgba(20, 30, 27, 0.92);
  --input-muted: rgba(15, 24, 21, 0.96);
  --ink: #eef2ee;
  --ink-soft: #a6b1ac;
  --ink-faint: #89948f;
  --line: rgba(157, 182, 170, 0.14);
  --line-strong: rgba(157, 182, 170, 0.26);
  --panel-border: rgba(157, 182, 170, 0.16);
  --accent: #d8976b;
  --accent-deep: #b06d48;
  --accent-soft: rgba(85, 55, 38, 0.74);
  --accent-pale: rgba(216, 151, 107, 0.16);
  --green: #1e352e;
  --green-soft: rgba(35, 54, 47, 0.92);
  --blue-soft: rgba(40, 58, 68, 0.86);
  --danger: #ef8576;
  --header-start: #10211d;
  --header-mid: #22372f;
  --header-end: #322720;
  --header-ink: #f4f1ea;
  --header-copy: rgba(244, 241, 234, 0.78);
  --header-eyebrow: rgba(244, 241, 234, 0.58);
  --header-chip-bg: rgba(255, 255, 255, 0.06);
  --header-chip-border: rgba(244, 241, 234, 0.1);
  --picker-shell: linear-gradient(180deg, rgba(23, 35, 31, 0.92), rgba(15, 24, 21, 0.94));
  --picker-border: rgba(177, 201, 189, 0.18);
  --picker-text-soft: rgba(228, 236, 232, 0.66);
  --picker-menu-bg: linear-gradient(180deg, rgba(22, 34, 30, 0.98), rgba(15, 23, 20, 0.99));
  --picker-menu-border: rgba(157, 182, 170, 0.18);
  --picker-icon-bg: linear-gradient(180deg, rgba(255, 248, 238, 0.12), rgba(95, 123, 110, 0.3));
  --picker-icon-ink: #f2eadf;
  --strength-badge-bg: rgba(216, 151, 107, 0.16);
  --strength-badge-border: rgba(216, 151, 107, 0.28);
  --strength-badge-text: #f1d7c5;
  --strength-value-bg: linear-gradient(180deg, rgba(43, 31, 24, 0.96), rgba(28, 22, 19, 0.94));
  --strength-value-border: rgba(176, 133, 98, 0.3);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 28px rgba(0, 0, 0, 0.28);
  --button-bg: linear-gradient(135deg, rgba(89, 76, 69, 0.96) 0%, rgba(49, 42, 39, 0.98) 52%, rgba(108, 93, 84, 0.94) 100%);
  --button-bg-soft: linear-gradient(135deg, rgba(104, 90, 82, 0.96) 0%, rgba(60, 51, 47, 0.98) 54%, rgba(126, 109, 99, 0.94) 100%);
  --button-border: rgba(224, 193, 170, 0.2);
  --button-border-strong: rgba(230, 202, 181, 0.38);
  --button-text: #fbf4ee;
  --button-text-soft: rgba(251, 244, 238, 0.8);
  --button-ring: rgba(216, 151, 107, 0.24);
  --button-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  --button-icon-bg: linear-gradient(180deg, rgba(246, 250, 255, 0.18), rgba(76, 155, 170, 0.28));
  --button-icon-ink: #f4f9ff;
  --button-count-bg: rgba(9, 20, 30, 0.26);
  --shadow-sm: 0 12px 24px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 22px 50px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 30px 76px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, var(--bg-spot-a), transparent 34%),
    radial-gradient(circle at 100% 14%, var(--bg-spot-b), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 88%);
  opacity: 0.34;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

input:not([type='checkbox']),
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

input:not([type='checkbox']) {
  padding: 8px 10px;
}

input[type='number'] {
  appearance: textfield;
}

input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

select {
  padding: 8px 36px 8px 10px;
}

input:not([type='checkbox']):focus-visible,
select:focus-visible,
button:focus-visible {
  outline: none;
  border-color: rgba(197, 111, 61, 0.72);
  box-shadow: 0 0 0 4px rgba(197, 111, 61, 0.16);
}

input[type='checkbox'] {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  appearance: auto;
  flex: 0 0 auto;
  accent-color: auto;
}

.app-shell {
  position: relative;
  z-index: 0;
  width: min(1320px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.page-header,
.panel {
  animation: rise-in 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.page-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--header-start) 0%, var(--header-mid) 55%, var(--header-end) 100%);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
  overflow: visible;
}

.page-header::before,
.page-header::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.page-header::before {
  top: -92px;
  right: -34px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
}

.page-header::after {
  bottom: -84px;
  left: 24px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 211, 181, 0.12), transparent 66%);
}

.page-header__copy,
.page-header__actions {
  position: relative;
  z-index: 1;
}

.page-header__eyebrow {
  margin: 0 0 12px;
  color: var(--header-eyebrow);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-header h1,
.panel-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
}

.page-header h1 {
  font-size: clamp(1.84rem, 3.2vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.page-header p {
  margin: 8px 0 0;
  max-width: 44rem;
  color: var(--header-copy);
  font-size: 0.88rem;
  line-height: 1.58;
}

.page-header__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--header-chip-border);
  border-radius: 999px;
  background: var(--header-chip-bg);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.page-header__actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  z-index: 4;
}

.theme-picker {
  position: relative;
  z-index: 5;
  width: min(100%, 192px);
}

.theme-picker__button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 7px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.theme-picker__button {
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.theme-picker__button:hover {
  background: var(--button-bg-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: none;
}

.theme-picker__button:focus-visible {
  box-shadow: 0 0 0 3px var(--button-ring);
}

.theme-picker__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  box-shadow: none;
}

.theme-picker__glyph {
  position: absolute;
  width: 18px;
  height: 18px;
  display: none;
}

.theme-picker__button[data-theme-mode='system'] .theme-picker__glyph--system,
.theme-picker__button[data-theme-mode='light'] .theme-picker__glyph--light,
.theme-picker__button[data-theme-mode='dark'] .theme-picker__glyph--dark {
  display: block;
}

.theme-picker__text {
  display: flex;
  align-items: center;
  min-width: 0;
  text-align: left;
}

.theme-picker__label {
  display: none;
}

#themeMenuLabel {
  display: block;
  overflow: visible;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.theme-picker__chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.theme-picker__button[aria-expanded='true'] .theme-picker__chevron {
  transform: rotate(-135deg) translateY(-1px);
}

.theme-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: auto;
  z-index: 50;
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(22, 28, 35, 0.08);
  border-radius: 20px;
  background: rgba(251, 250, 248, 0.98);
  box-shadow: 0 18px 32px rgba(36, 40, 46, 0.12);
  overflow: hidden;
  backdrop-filter: none;
}

:root[data-theme='dark'] .theme-menu {
  border-color: rgba(79, 98, 123, 0.34);
  background: linear-gradient(180deg, rgba(5, 17, 37, 0.98), rgba(7, 21, 42, 0.98));
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.theme-menu[hidden] {
  display: none;
}

.theme-menu__item {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: #11161b;
  text-align: left;
  transition: background 180ms ease;
}

:root[data-theme='dark'] .theme-menu__item {
  color: #f7f8fb;
}

.theme-menu__item:hover,
.theme-menu__item:focus-visible {
  background: rgba(20, 26, 33, 0.05);
  box-shadow: none;
  transform: none;
}

:root[data-theme='dark'] .theme-menu__item:hover,
:root[data-theme='dark'] .theme-menu__item:focus-visible {
  background: rgba(216, 151, 107, 0.1);
}

.theme-menu__item[aria-checked='true'] {
  background: rgba(233, 232, 231, 0.92);
}

:root[data-theme='dark'] .theme-menu__item[aria-checked='true'] {
  background: var(--button-bg-soft);
  color: var(--button-text);
}

.theme-menu__item[aria-checked='true']::after {
  content: none;
}

.theme-menu__item-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  box-shadow: none;
}

.theme-menu__item-icon svg {
  width: 18px;
  height: 18px;
}

.theme-menu__item-copy {
  display: block;
  min-width: 0;
}

.theme-menu__item-copy > span {
  display: block;
  overflow: visible;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  text-overflow: clip;
  white-space: nowrap;
}

.theme-menu__item-copy > small {
  display: none;
}
.page-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(360px, 1fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.panel--settings {
  grid-column: 1;
}

.side-stack {
  grid-column: 2;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.panel--results,
.panel--history {
  min-width: 0;
}

.panel--results {
  min-height: var(--results-panel-min-height, auto);
}

.panel--history {
  grid-column: 1 / -1;
}

.panel {
  position: relative;
  z-index: 1;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 30%, rgba(197, 111, 61, 0.18));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}


.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
}

.panel-head h2 {
  font-size: 1.36rem;
  color: var(--ink);
}

.panel-head p,
.results-summary,
.security-note,
.selection-summary,
.strength-description,
.crack-time-hint,
.history-empty,
.history-meta,
.history-preview,
.inline-field span,
.select-group__label,
.select-group__hint {
  color: var(--ink-soft);
}

.panel-head p {
  margin: 8px 0 0;
  font-size: 0.86rem;
  line-height: 1.64;
}

.panel-head--results > :first-child,
.panel-head--history > :first-child {
  min-width: 0;
}

.panel-head--history {
  align-items: center;
  padding-bottom: 16px;
}
.settings-table {
  display: grid;
  gap: 0;
  padding: 4px 16px 12px;
}

.setting-row {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
}

.setting-row:first-child {
  border-top: none;
}

.setting-label,
.setting-control {
  padding: 12px 0;
}

.setting-label {
  display: flex;
  align-items: flex-start;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.setting-control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.setting-control--characters,
.setting-control--exclude,
.setting-control--options {
  flex-wrap: wrap;
}

.setting-control--characters,
.setting-control--exclude {
  align-items: center;
}

.setting-control--characters {
  display: grid;
  grid-template-columns: repeat(4, max-content) minmax(220px, 1fr);
  align-items: center;
  gap: 8px 12px;
}

.setting-control--characters .inline-field,
.setting-control--exclude .inline-field {
  display: grid;
  grid-template-columns: max-content minmax(150px, 1fr);
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}

.setting-control--characters .inline-field span,
.setting-control--exclude .inline-field span {
  white-space: nowrap;
}

.setting-control--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.setting-control--detail {
  display: block;
}

.setting-row--action .setting-control--center {
  justify-content: flex-start;
}

.plain-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  transition: none;
}

.plain-check:hover,
.primary-button:hover:not(:disabled),
.secondary-button:hover:not(:disabled),
.history-action:hover:not(:disabled),
.history-toggle:hover {
  transform: translateY(-1px);
}

.plain-check:hover {
  transform: none;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.plain-check--character {
  gap: 6px;
  min-height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.plain-check--character:has(input:checked) {
  border-color: transparent;
  background: transparent;
}

.plain-check--character span {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
}

:root[data-theme='dark'] input[type='checkbox'] {
  accent-color: auto;
}

:root[data-theme='dark'] .plain-check--character {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

:root[data-theme='dark'] .plain-check--character:hover {
  border-color: transparent;
  background: transparent;
}

:root[data-theme='dark'] .plain-check--character:has(input:checked) {
  border-color: transparent;
  background: transparent;
}

.plain-check--option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 8px;
  row-gap: 6px;
  flex: 1 1 320px;
  min-height: auto;
  padding: 2px 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.plain-check--option > input[type='checkbox'] {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin: 0;
}

.plain-check--option > .plain-check__title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.plain-check--option > .plain-check__hint {
  grid-column: 2;
  grid-row: 2;
}

.plain-check--option + .plain-check--option {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.plain-check__content {
  display: grid;
  gap: 6px;
}

.plain-check__title {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.2;
}

.plain-check__hint {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.62;
}

.inline-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.inline-field--grow {
  flex: 1 1 220px;
}

.inline-field span {
  font-size: 0.78rem;
}

.setting-control--exclude .plain-check span {
  font-size: 0.78rem;
}

.select-group {
  display: grid;
  gap: 6px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.select-group__label {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.select-group__hint {
  font-size: 0.74rem;
}

.select-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.select-wrap em {
  font-style: normal;
  color: var(--ink);
  font-weight: 700;
}

.primary-button,
.secondary-button,
.history-action {
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--button-shadow);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.primary-button {
  min-width: 156px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 16px;
}

.secondary-button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
}

.secondary-button--subtle {
  background: var(--button-bg-soft);
}

.history-action {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
}

.history-action--primary {
  border-color: var(--button-border-strong);
}

.history-toggle {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: none;
}

:root[data-theme='dark'] .history-toggle {
  border-color: var(--button-border);
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--button-shadow);
}

:root[data-theme='dark'] .history-toggle:hover {
  border-color: var(--button-border-strong);
  background: var(--button-bg-soft);
}

.primary-button:disabled,
.secondary-button:disabled,
.history-action:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none;
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.history-action:focus-visible {
  border-color: var(--button-border-strong);
  box-shadow: 0 0 0 4px var(--button-ring), var(--button-shadow);
}

.history-toggle:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(127, 145, 136, 0.14);
}

:root[data-theme='dark'] .history-toggle:focus-visible {
  border-color: var(--button-border-strong);
  box-shadow: 0 0 0 4px var(--button-ring), var(--button-shadow);
}

.selection-summary,
.strength-description,
.crack-time-hint,
.form-error,
.security-note,
.results-summary,
.history-empty {
  margin: 0;
}

.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-pill);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.detail-pill strong {
  color: var(--ink);
}

#profileCrack {
  white-space: nowrap;
}

.detail-pill--highlight {
  min-width: 0;
  background: linear-gradient(180deg, var(--accent-pale), rgba(255, 255, 255, 0.02));
  border-color: rgba(197, 111, 61, 0.24);
}

.strength-description {
  margin-top: 14px;
  line-height: 1.7;
}

.crack-time-hint {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 3px solid rgba(197, 111, 61, 0.32);
  line-height: 1.62;
  font-size: 0.8rem;
}

.form-error {
  margin-top: 10px;
  color: var(--danger);
  font-weight: 600;
}

.results-summary,
.security-note {
  line-height: 1.68;
}

.results-actions,
.history-actions,
.password-card__meta,
.history-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.results-actions {
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
}

.results-actions .secondary-button {
  white-space: nowrap;
}

.security-note {
  margin: 10px 16px 0;
}

.history-toolbar {
  margin: 0 16px;
}

.history-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.history-toggle__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--input-muted);
  color: var(--ink-soft);
  font-size: 0.72rem;
}

:root[data-theme='dark'] .history-toggle__count {
  background: rgba(255, 248, 240, 0.12);
  color: var(--button-text-soft);
}

.history-toggle__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.history-toggle[aria-expanded='true'] .history-toggle__chevron {
  transform: rotate(-135deg) translateY(-2px);
}

.history-panel__body {
  padding: 0 0 12px;
}

.history-panel__body[hidden] {
  display: none;
}

.history-empty,
.results-empty {
  margin: 12px 16px 0;
  padding: 12px 0;
  border: none;
  border-top: 1px dashed var(--line-strong);
  border-radius: 0;
  background: transparent;
}

.results-list,
.history-list {
  display: grid;
  gap: 0;
  margin: 12px 16px 0;
}

.results-list {
  max-height: var(--results-list-max-height, 360px);
  overflow: auto;
  padding-right: 4px;
}

.history-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.history-list--scrollable {
  max-height: var(--history-list-max-height, clamp(560px, 72vh, 920px));
  overflow: auto;
  padding-right: 4px;
}

.results-list::-webkit-scrollbar,
.history-list::-webkit-scrollbar {
  width: 8px;
}

.results-list::-webkit-scrollbar-thumb,
.history-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(99, 113, 107, 0.28);
}

.password-card,
.history-item {
  padding: 16px 0;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.password-card:first-child,
.history-item:first-child {
  border-top-color: var(--line-strong);
}

.password-card__line,
.history-item__top {
  display: grid;
  gap: 12px;
}

.password-card__line {
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
}

.password-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--input-muted);
  color: var(--ink);
  font-weight: 700;
}

.password-value {
  display: block;
  overflow: auto;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--input-muted);
  box-shadow: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  white-space: nowrap;
}

.password-card__meta {
  margin-top: 12px;
}

.password-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--input-muted);
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.meta-pill {
  font-weight: 600;
}

.history-item__top {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: flex-start;
}

.history-item__select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-height: 40px;
  padding-top: 4px;
}

.history-title {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.history-meta,
.history-preview {
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.58;
}

.history-preview {
  display: block;
  overflow: hidden;
  margin-top: 10px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--input-muted);
  box-shadow: none;
  color: var(--ink);
  font-family: var(--font-mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-all;
}

[data-strength-tone='weak'] {
  --strength-badge-bg: rgba(191, 84, 72, 0.12);
  --strength-badge-border: rgba(191, 84, 72, 0.26);
  --strength-badge-text: #a24b42;
  --strength-value-bg: linear-gradient(180deg, rgba(255, 247, 245, 0.98), rgba(248, 235, 231, 0.96));
  --strength-value-border: rgba(191, 84, 72, 0.2);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 24px rgba(191, 84, 72, 0.08);
}

[data-strength-tone='fair'] {
  --strength-badge-bg: rgba(197, 111, 61, 0.14);
  --strength-badge-border: rgba(197, 111, 61, 0.24);
  --strength-badge-text: #8e5231;
  --strength-value-bg: linear-gradient(180deg, rgba(255, 249, 242, 0.98), rgba(246, 238, 227, 0.95));
  --strength-value-border: rgba(187, 142, 101, 0.26);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 10px 24px rgba(148, 108, 70, 0.08);
}

[data-strength-tone='strong'] {
  --strength-badge-bg: rgba(72, 131, 101, 0.14);
  --strength-badge-border: rgba(72, 131, 101, 0.24);
  --strength-badge-text: #35644d;
  --strength-value-bg: linear-gradient(180deg, rgba(246, 251, 248, 0.98), rgba(232, 242, 237, 0.95));
  --strength-value-border: rgba(103, 151, 125, 0.24);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 24px rgba(72, 131, 101, 0.08);
}

[data-strength-tone='elite'] {
  --strength-badge-bg: rgba(46, 113, 85, 0.16);
  --strength-badge-border: rgba(46, 113, 85, 0.26);
  --strength-badge-text: #245742;
  --strength-value-bg: linear-gradient(180deg, rgba(241, 249, 245, 0.98), rgba(224, 238, 231, 0.95));
  --strength-value-border: rgba(80, 133, 107, 0.24);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 24px rgba(46, 113, 85, 0.08);
}

[data-strength-tone='vault'] {
  --strength-badge-bg: rgba(29, 89, 70, 0.18);
  --strength-badge-border: rgba(29, 89, 70, 0.28);
  --strength-badge-text: #183e31;
  --strength-value-bg: linear-gradient(180deg, rgba(236, 246, 241, 0.98), rgba(216, 232, 224, 0.96));
  --strength-value-border: rgba(55, 108, 86, 0.26);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 24px rgba(29, 89, 70, 0.1);
}

:root[data-theme='dark'] [data-strength-tone='weak'] {
  --strength-badge-bg: rgba(190, 97, 89, 0.2);
  --strength-badge-border: rgba(222, 129, 120, 0.34);
  --strength-badge-text: #ffd9d4;
  --strength-value-bg: linear-gradient(180deg, rgba(54, 28, 26, 0.96), rgba(34, 18, 18, 0.94));
  --strength-value-border: rgba(184, 97, 88, 0.32);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.28);
}

:root[data-theme='dark'] [data-strength-tone='fair'] {
  --strength-badge-bg: rgba(216, 151, 107, 0.16);
  --strength-badge-border: rgba(216, 151, 107, 0.28);
  --strength-badge-text: #f1d7c5;
  --strength-value-bg: linear-gradient(180deg, rgba(43, 31, 24, 0.96), rgba(28, 22, 19, 0.94));
  --strength-value-border: rgba(176, 133, 98, 0.3);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 28px rgba(0, 0, 0, 0.28);
}

:root[data-theme='dark'] [data-strength-tone='strong'] {
  --strength-badge-bg: rgba(72, 131, 101, 0.2);
  --strength-badge-border: rgba(101, 170, 136, 0.32);
  --strength-badge-text: #d6efe3;
  --strength-value-bg: linear-gradient(180deg, rgba(24, 41, 34, 0.96), rgba(17, 30, 25, 0.94));
  --strength-value-border: rgba(93, 146, 120, 0.28);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.28);
}

:root[data-theme='dark'] [data-strength-tone='elite'] {
  --strength-badge-bg: rgba(51, 126, 94, 0.22);
  --strength-badge-border: rgba(96, 182, 142, 0.34);
  --strength-badge-text: #dff6eb;
  --strength-value-bg: linear-gradient(180deg, rgba(19, 39, 31, 0.96), rgba(13, 27, 22, 0.94));
  --strength-value-border: rgba(78, 150, 117, 0.3);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.3);
}

:root[data-theme='dark'] [data-strength-tone='vault'] {
  --strength-badge-bg: rgba(38, 115, 84, 0.24);
  --strength-badge-border: rgba(86, 173, 135, 0.36);
  --strength-badge-text: #e2f7ee;
  --strength-value-bg: linear-gradient(180deg, rgba(16, 35, 28, 0.97), rgba(10, 24, 20, 0.95));
  --strength-value-border: rgba(67, 141, 109, 0.32);
  --strength-value-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 30px rgba(0, 0, 0, 0.32);
}

.history-actions {
  margin-top: 12px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-width: 220px;
  max-width: min(340px, calc(100% - 24px));
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast--visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .page-main {
    grid-template-columns: 1fr;
  }

  .panel--settings,
  .side-stack,
  .panel--history {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    font-size: 13.5px;
  }

  .app-shell {
    width: calc(100% - 24px);
    max-width: 100%;
    margin-inline: auto;
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .page-main {
    gap: 10px;
    margin-top: 10px;
  }

  .side-stack {
    gap: 8px;
  }

  .page-header,
  .history-item__top,
  .password-card__line {
    grid-template-columns: 1fr;
  }

  .page-header {
    gap: 12px;
    padding: 14px 12px 12px;
    border-radius: 20px;
    overflow: visible;
  }

  .page-header h1 {
    font-size: 1.7rem;
    line-height: 1.04;
  }

  .page-header p {
    margin-top: 6px;
    font-size: 0.82rem;
    line-height: 1.48;
  }

  .page-header__badges {
    gap: 6px;
    margin-top: 10px;
  }

  .header-badge {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .page-header__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .history-toggle,
  .secondary-button,
  .primary-button,
  .history-action,
  .plain-check--option,
  .inline-field,
  .inline-field input {
    width: 100%;
  }

  .theme-picker {
    width: fit-content;
    max-width: min(100%, 192px);
    margin-left: auto;
    flex: 0 0 auto;
  }

  .theme-picker__button {
    width: auto;
    min-height: 40px;
    padding: 0 14px;
    grid-template-columns: 18px minmax(0, 1fr) 7px;
    gap: 8px;
  }

  .theme-picker__icon {
    width: 18px;
    height: 18px;
  }

  .theme-picker__glyph {
    width: 18px;
    height: 18px;
  }

  .theme-picker__label {
    display: none;
  }

  #themeMenuLabel {
    font-size: 0.88rem;
  }

  .theme-menu {
    right: 0;
    left: auto;
    width: max-content;
    min-width: 100%;
    top: calc(100% + 12px);
    border-radius: 20px;
    padding: 8px;
    gap: 4px;
  }

  .theme-menu__item {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 14px;
  }

  .theme-menu__item-icon {
    width: 18px;
    height: 18px;
    border-radius: 0;
  }

  .theme-menu__item-icon svg {
    width: 18px;
    height: 18px;
  }

  .theme-menu__item-copy > span {
    font-size: 0.88rem;
  }

  .theme-menu__item-copy > small {
    display: none;
  }
  .panel {
    border-radius: 24px;
  }

  .panel-head,
  .settings-table,
  .security-note,
  .results-list,
  .history-list,
  .history-toolbar,
  .results-empty,
  .history-empty {
    margin-left: 0;
    margin-right: 0;
  }

  .panel-head {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 12px 0;
  }

  .panel-head h2 {
    font-size: 1.2rem;
  }

  .panel-head p {
    font-size: 0.82rem;
    line-height: 1.58;
  }

  .panel-head--history {
    padding-bottom: 12px;
  }

  .settings-table {
    gap: 0;
    padding: 2px 12px 10px;
  }

  .setting-row {
    grid-template-columns: clamp(88px, 24vw, 104px) minmax(0, 1fr);
    gap: 6px;
    padding: 0;
    border-radius: 0;
  }

  .setting-label,
  .setting-control {
    padding: 10px 0;
  }

  .setting-label {
    font-size: 0.8rem;
  }

  .setting-control {
    gap: 6px;
  }

  .plain-check {
    min-height: auto;
    padding: 0;
    border-radius: 0;
  }

  .plain-check--character {
    min-height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
  }

  .plain-check--character span {
    font-size: 0.8rem;
  }

  .plain-check--option {
    min-height: auto;
    padding: 4px 0;
    border-radius: 0;
  }

  .plain-check--option + .plain-check--option {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    margin-top: 4px;
  }

  .plain-check__title {
    font-size: 0.84rem;
  }

  .plain-check__hint {
    font-size: 0.74rem;
    line-height: 1.52;
  }

  .inline-field span,
  .select-group__hint,
  .select-group__label {
    font-size: 0.72rem;
  }

  .setting-control--exclude .plain-check span {
    font-size: 0.72rem;
  }

  .select-group {
    gap: 6px;
    padding: 0;
    border-radius: 0;
  }

  .select-wrap {
    gap: 10px;
  }

  .setting-control--characters,
  .setting-control--exclude {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
  }

  .setting-control--characters .plain-check--character {
    width: auto;
    flex: 0 0 auto;
  }

  .setting-control--characters .inline-field,
  .setting-control--exclude .inline-field {
    width: auto;
    min-width: 0;
    flex: 1 1 180px;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .setting-control--characters .inline-field span,
  .setting-control--exclude .inline-field span {
    white-space: nowrap;
  }

  .setting-control--split {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .setting-control--split .select-group {
    width: auto;
    min-width: 0;
    flex: 1 1 120px;
  }

  .results-actions,
  .history-actions,
  .history-toolbar,
  .detail-pills,
  .setting-control--options {
    display: grid;
    gap: 8px;
  }

  .primary-button,
  .secondary-button,
  .history-action {
    min-height: 42px;
    font-size: 0.86rem;
  }

  .history-toggle {
    min-height: 42px;
    padding: 0 13px;
    font-size: 0.84rem;
    justify-content: space-between;
  }

  .history-toggle__count {
    min-width: 42px;
    min-height: 24px;
    font-size: 0.7rem;
  }

  .selection-summary,
  .strength-description,
  .crack-time-hint,
  .results-summary,
  .security-note,
  .history-empty,
  .results-empty {
    font-size: 0.82rem;
    line-height: 1.58;
  }

  .detail-pills {
    margin-top: 6px;
  }

  .detail-pill {
    min-height: 31px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .security-note,
  .results-list,
  .history-list,
  .results-empty,
  .history-empty,
  .history-toolbar {
    margin-top: 10px;
    margin-left: 12px;
    margin-right: 12px;
  }

  .results-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .password-card,
  .history-item {
    padding: 10px 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    background: transparent;
  }

  .password-card__index {
    width: 42px;
    height: 34px;
    font-size: 0.78rem;
  }

  .password-value {
    padding: 11px 12px;
    font-size: 0.82rem;
  }

  .password-card__meta {
    margin-top: 10px;
    gap: 6px;
  }

  .password-card__meta span {
    min-height: 27px;
    font-size: 0.72rem;
  }

  .history-title {
    font-size: 0.86rem;
  }

  .history-meta,
  .history-preview {
    font-size: 0.76rem;
    line-height: 1.54;
  }

  .toast {
    right: 14px;
    left: 14px;
    bottom: 14px;
    min-width: 0;
    max-width: none;
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .page-header {
    grid-template-columns: 1fr;
  }

  .page-header__actions {
    width: 100%;
  }

  .theme-picker {
    margin-left: auto;
  }

  .setting-row {
    grid-template-columns: 1fr;
  }

  .setting-label {
    padding-bottom: 0;
  }

  .setting-control {
    padding-top: 0;
  }

  .setting-control--characters .inline-field,
  .setting-control--exclude .inline-field {
    width: 100%;
    flex-basis: 100%;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .setting-control--characters .inline-field span,
  .setting-control--exclude .inline-field span {
    white-space: normal;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}






