/* 中考词汇默写纸 —— 屏幕与打印样式 */
:root {
  --ink: #1f3a5f;
  --ink-soft: #51677f;
  --ink-faint: #7d8ea1;
  --paper: #fffdf7;
  --bg: #f1eee5;
  --bg-panel: #faf8f2;
  --line: #ddd6c6;
  --line-strong: #c3b9a4;
  --accent: #9a6b40;
  --sel: #1f3a5f;
  --page-w: 210mm;
  --page-h: 296mm;
  --page-pad: 14mm;
  --sheet-font: "Times New Roman", "SimSun", "Songti SC", "Noto Serif CJK SC", serif;
  --ui-font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui-font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }

.fatal {
  margin: 40px auto;
  max-width: 520px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 6px;
}

/* ---------- 整体框架 ---------- */
.app {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
}

.panel {
  flex: 0 0 372px;
  max-width: 372px;
  border-right: 1px solid var(--line);
  background: var(--bg-panel);
  display: flex;
  flex-direction: column;
  max-height: 100vh;
  position: sticky;
  top: 0;
}

.panel-head {
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}

.panel-head h1 {
  margin: 0 0 4px;
  font-size: 19px;
  letter-spacing: 1px;
  font-weight: 700;
}

.panel-sub {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

.panel-sub strong { color: var(--ink); font-weight: 700; }

.counter {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 6px 10px;
  background: #eae5d8;
  border-radius: 4px;
  border: 1px solid #e0d9c8;
}

.counter strong {
  color: var(--accent);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.quick {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.btn {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  padding: 7px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  min-height: 32px;
  transition: background 0.12s, border-color 0.12s;
}

.btn:hover { background: #f3f0e6; border-color: var(--ink-faint); }
.btn--ghost { background: transparent; }
.btn--print {
  margin-left: auto;
  background: var(--ink);
  border-color: var(--ink);
  color: #fdfbf5;
  padding: 8px 22px;
  font-weight: 600;
  letter-spacing: 1px;
}
.btn--print:hover { background: #16293f; color: #fff; }

.filters {
  display: flex;
  gap: 10px;
}

.field {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
  flex: 0 0 auto;
}

.field--search { flex: 1 1 auto; min-width: 0; }

.field select, .field input {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 13px;
  min-height: 30px;
  color: var(--ink);
}

.field select { width: 76px; }
.field input { width: 100%; min-width: 0; }

.panel-hint {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
}

.panel-list {
  overflow-y: auto;
  padding: 8px 12px 60px;
}

/* ---------- 主题 / 子分组 ---------- */
.theme {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffefb;
  margin-bottom: 8px;
  overflow: hidden;
}

.theme-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  background: #f6f2e7;
}

.theme-title {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: block;
}

.theme-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-right: 6px;
}

.theme-name {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.theme-count, .group-count {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
  white-space: nowrap;
}

.caret {
  flex: 0 0 auto;
  width: 12px;
  color: var(--ink-faint);
  font-size: 10px;
  padding-top: 4px;
  transition: transform 0.15s;
  display: inline-block;
}

.theme.is-open .caret { transform: rotate(90deg); }

.cb {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
}

.cb input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cb-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  position: relative;
  pointer-events: none;
}

.cb input:checked + .cb-box {
  background: var(--sel);
  border-color: var(--sel);
}

.cb input:checked + .cb-box::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.cb input:indeterminate + .cb-box {
  background: #fff;
  border-color: var(--sel);
}

.cb input:indeterminate + .cb-box::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 6.5px;
  width: 8px;
  height: 2px;
  background: var(--sel);
}

.cb input:focus-visible + .cb-box { outline: 2px solid rgba(31, 58, 95, 0.4); outline-offset: 1px; }

.theme-body { display: none; padding: 4px 8px 8px; }
.theme.is-open .theme-body { display: block; }

.group {
  border-top: 1px dashed var(--line);
  padding: 6px 2px 2px;
  margin-top: 4px;
}

.group-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 0 4px;
}

.group-head .cb { margin-top: 0; }

.group-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

.group-name--flat { font-weight: 400; font-style: normal; color: var(--ink-faint); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 2px 0 4px;
}

.chip {
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.35;
  cursor: pointer;
  max-width: 100%;
  text-align: left;
  word-break: break-word;
  transition: background 0.1s, color 0.1s, border-color 0.1s;
}

.chip:hover { border-color: var(--ink-faint); background: #f7f5ee; }

.chip.is-on {
  background: var(--sel);
  border-color: var(--sel);
  color: #fdfbf5;
}

.chip:focus-visible { outline: 2px solid rgba(31, 58, 95, 0.45); outline-offset: 1px; }

.panel-empty {
  padding: 24px 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ---------- 右侧 ---------- */
.main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 10px 18px;
  background: rgba(250, 248, 242, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(3px);
}

.tb-group { display: flex; align-items: center; gap: 8px; }

.tb-label {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.5px;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.seg label { position: relative; cursor: pointer; }

.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.seg span {
  display: block;
  padding: 5px 12px;
  font-size: 13px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}

.seg label:last-child span { border-right: 0; }
.seg input:checked + span { background: var(--ink); color: #fdfbf5; }
.seg input:focus-visible + span { outline: 2px solid rgba(31, 58, 95, 0.4); outline-offset: -2px; }
.seg--sm span { padding: 5px 12px; min-width: 34px; text-align: center; }

.tb-toggles { display: flex; flex-wrap: wrap; gap: 4px 14px; }

.range { width: 96px; accent-color: var(--sel); cursor: pointer; }
.tb-val { font-size: 12px; color: #5a6472; min-width: 36px; font-variant-numeric: tabular-nums; }
.tb-export { gap: 6px; }
.tb-export .btn { padding: 6px 10px; font-size: 13px; }

.tb-cloze { flex-wrap: wrap; row-gap: 6px; }

.btn--ai {
  padding: 6px 14px;
  font-size: 13px;
  border-color: #3f6e54;
  color: #2f5a44;
  background: #f1f7f2;
  white-space: nowrap;
}

.btn--ai:hover:not(:disabled) { background: #e2f0e6; border-color: #2f5a44; }
.btn--ai:disabled { opacity: 0.62; cursor: default; }

.ai-input {
  width: 108px;
  min-height: 30px;
  padding: 4px 8px;
  font-size: 12.5px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #fff;
}

.ai-input--key { width: 148px; }
.ai-input::placeholder { color: var(--ink-faint); }
.ai-input:focus { outline: 2px solid rgba(31, 58, 95, 0.35); outline-offset: -1px; }

.ai-msg {
  margin: 0;
  padding: 6px 18px;
  font-size: 12.5px;
  line-height: 1.5;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.ai-msg.is-err { color: #b3342b; }
.ai-msg.is-ok { color: #2f5a44; }

.chk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  min-height: 28px;
}

.chk input { margin: 0; accent-color: var(--sel); width: 15px; height: 15px; cursor: pointer; }
.chk input:disabled + span { color: #b6bdc6; }

.preview {
  flex: 1 1 auto;
  padding: 22px 18px 60px;
  overflow: auto;
}

.empty {
  max-width: 520px;
  margin: 60px auto;
  padding: 28px 30px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  text-align: center;
  color: var(--ink-soft);
}

.empty h2 { margin: 0 0 8px; font-size: 17px; color: var(--ink); font-weight: 700; }
.empty p { margin: 0; font-size: 13px; line-height: 1.7; }

.sheet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ---------- 纸面 ---------- */
.page {
  width: var(--page-w);
  height: var(--page-h);
  padding: var(--page-pad);
  background: var(--paper);
  border: 1px solid #e3dccb;
  box-shadow: 0 2px 10px rgba(60, 48, 30, 0.13);
  display: flex;
  flex-direction: column;
  font-family: var(--sheet-font);
  color: #14181d;
  font-size: 13px;
  overflow: hidden;
}

.page-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.page-foot {
  flex: 0 0 auto;
  padding-top: 3mm;
  font-size: 10.5px;
  color: #6b7178;
  text-align: center;
  letter-spacing: 0.5px;
}

.page-run {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: #8a9098;
  padding-bottom: 2mm;
  border-bottom: 1px solid #e6e2d8;
  margin-bottom: 3mm;
}

/* ---------- 页眉（可填写） ---------- */
.sheet-head { margin-bottom: 4mm; }

.hd {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px dashed transparent;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 1px 2px;
  letter-spacing: 0.5px;
}

.hd:focus { outline: none; border-bottom-color: #b9c2cc; }
.hd::placeholder { color: #aeb4bb; }

.hd-title {
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 2px 2px 3px;
}

.hd-sub {
  text-align: center;
  font-size: 12px;
  color: #4a5260;
  margin-bottom: 3mm;
}

.hd-meta {
  display: flex;
  gap: 8mm;
  font-size: 12px;
  padding: 0 2px;
}

.hd-meta label { display: flex; align-items: flex-end; gap: 2mm; flex: 0 1 auto; min-width: 0; }
.hd-meta label span { color: #3d4451; flex: 0 0 auto; }
.hd-meta .hd { min-width: 24mm; max-width: 52mm; }
.hd-line { border-bottom: 1px solid #8d949c; padding: 0 3px 1px; }

.hd-note {
  font-size: 11px;
  color: #5a616b;
  margin-top: 3mm;
  border-bottom: 1px solid #e2ded4;
  padding-bottom: 2px;
}

.sheet-rule { height: 1px; background: #3d4451; margin: 0 0 3mm; }

/* ---------- 题目行 ---------- */
.row {
  display: grid;
  column-gap: 7mm;
  align-items: end;
  break-inside: avoid;
  padding: calc(0.6mm * var(--row-scale, 1)) 0;
}

.row--1 { grid-template-columns: 1fr; min-height: calc(10.5mm * var(--row-scale, 1)); }
.row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: calc(8mm * var(--row-scale, 1)); }
.row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: calc(8mm * var(--row-scale, 1)); }

.cell {
  display: flex;
  align-items: flex-end;
  gap: 2mm;
  min-width: 0;
}

.cell .prompt {
  flex: 0 1 auto;
  min-width: 34mm;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

/* 三列时压缩提示列下限，保证角标与其词同在首行、书写横线 ≥ 9mm */
.row--3 .cell .prompt {
  min-width: 18mm;
}

.cell .blank {
  flex: 1 1 22mm;
  min-width: 20mm;
  height: 4.6mm;
  border-bottom: 1px solid #7c848d;
  transform: translateY(-0.6mm);
}

/* 角标与其所属首段文字同步换行：.lead 为一个整体行内盒，角标永远落在首行 */
.cell .lead {
  display: inline-flex;
  align-items: baseline;
  gap: 1.2mm;
  min-width: 0;
  max-width: 100%;
  vertical-align: bottom;
}

.cell .lead > * {
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.cell .lead .tag {
  margin-right: 0;
}

.mf { word-break: break-word; overflow-wrap: anywhere; }
.wd { font-weight: 600; }
.phon { color: #5a616b; font-size: 0.86em; margin-left: 1.5mm; white-space: nowrap; }
.phon--main { margin-left: 0; font-size: 1.05em; color: #14181d; }

.tag {
  display: inline-block;
  font-style: normal;
  font-size: 8.5px;
  line-height: 1.35;
  padding: 0 3px;
  margin-right: 1.5mm;
  border: 1px solid #9aa2ab;
  border-radius: 2px;
  color: #4a5260;
  vertical-align: 1px;
  font-family: var(--ui-font);
}

.tag--new { border-color: #7a5a34; color: #6d4f2c; }
.tag--sense { border-color: #8d6a6a; color: #7b5050; }

.row--group {
  display: flex;
  align-items: baseline;
  gap: 3mm;
  margin: 3mm 0 1.5mm;
  padding-bottom: 1mm;
  border-bottom: 1px solid #d9d4c8;
  break-inside: avoid;
  break-after: avoid;
}

.grp-label { font-size: 11px; color: #7a828c; }
.grp-name { font-size: 13px; font-weight: 700; color: #1f3a5f; }

/* ---------- 答案页 ---------- */
.ans-head {
  display: flex;
  align-items: baseline;
  gap: 4mm;
  border-bottom: 2px solid #3d4451;
  padding-bottom: 2mm;
  margin-bottom: 4mm;
}

.ans-head h2 { margin: 0; font-size: 18px; letter-spacing: 4px; }
.ans-count { font-size: 11.5px; color: #5a616b; }

.ans-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  column-gap: 7mm;
}

.ans {
  display: flex;
  align-items: baseline;
  gap: 2mm;
  min-height: 6.2mm;
  border-bottom: 1px dotted #e0dbcf;
  font-size: 11.5px;
  line-height: 1.45;
  break-inside: avoid;
}

.ans-w { font-weight: 700; min-width: 20mm; flex: 0 0 auto; word-break: break-word; }
.ans-p { color: #5a616b; flex: 0 0 auto; }
.ans-m { color: #2c333b; flex: 1 1 auto; min-width: 0; word-break: break-word; }

/* ---------- 语境挖空 ---------- */
.row--section { margin-top: 4.5mm; }

.seg.is-muted { opacity: 0.5; }
.seg.is-muted input { cursor: default; }

.cloze {
  display: flex;
  align-items: baseline;
  gap: 2mm;
  padding: 1.1mm 0;
  min-height: 7.2mm;
  font-size: 12.5px;
  line-height: 1.9;
  break-inside: avoid;
}

.cz-no {
  flex: 0 0 auto;
  min-width: 6.5mm;
  color: #4a5260;
  font-variant-numeric: tabular-nums;
}

.cz-sent {
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* 空位即书写横线：高度固定，两种提示模式的横线位置一致 */
.cz-blank {
  display: inline-flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5mm;
  min-width: 22mm;
  height: 4.8mm;
  padding: 0 1.2mm;
  border-bottom: 1.1px solid #6f7882;
  vertical-align: -1.1mm;
  line-height: 1.2;
}

.cz-init { font-weight: 600; font-style: normal; }
.cz-giv { color: #4a5260; margin-left: 0.6mm; }

.ans-sub-head {
  display: flex;
  align-items: baseline;
  gap: 4mm;
  margin: 5mm 0 3mm;
  padding-bottom: 1.6mm;
  border-bottom: 1px solid #3d4451;
  break-inside: avoid;
  break-after: avoid;
}

.ans-sub-head h2 { margin: 0; font-size: 15px; letter-spacing: 3px; }

/* 答案页条目：沿用 .ans 的观感 */
.cloze--ans {
  gap: 2mm;
  min-height: 6.2mm;
  padding: 0.6mm 0;
  font-size: 11.5px;
  line-height: 1.55;
  border-bottom: 1px dotted #e0dbcf;
}

.cloze--ans .cz-no { min-width: 5.5mm; }
.cz-key { font-weight: 700; }

/* ---------- 打印 ---------- */
@page { size: A4 portrait; margin: 0; }

@media print {
  html, body { background: #fff; }
  body { font-size: 12px; }

  .panel, .toolbar, .ai-msg, .empty, .no-print { display: none !important; }

  .app { display: block; min-height: 0; }
  .main { display: block; }
  .preview { padding: 0; overflow: visible; }
  .sheet { display: block; gap: 0; }

  .page {
    width: 210mm;
    height: 296mm;
    margin: 0;
    padding: var(--page-pad);
    border: 0;
    box-shadow: none;
    background: #fff;
    break-after: page;
    page-break-after: always;
    overflow: hidden;
  }

  .page:last-child { break-after: auto; page-break-after: auto; }

  .page-body { overflow: hidden; }

  .hd { border-bottom-color: transparent; }
  .hd:focus { outline: none; }
  .hd-line { border-bottom: 1px solid #8d949c; }
  .hd-note { border-bottom: 1px solid #e2ded4; }
  .chip, .btn { display: none !important; }
}

/* ---------- 预览内编辑 ---------- */
.cell--edit { position: relative; }

/* 可编辑位：编辑态下以虚线下划线提示可改，聚焦时高亮 */
.ed {
  display: inline;
  padding: 0 1px;
  border-radius: 2px;
  outline: none;
  cursor: text;
  border-bottom: 1px dashed rgba(47, 111, 208, 0.5);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ed:hover { background: #f2f6fd; }

.ed:focus {
  background: #eef4ff;
  border-bottom-color: #2f6fd0;
  box-shadow: 0 0 0 1.5px rgba(47, 111, 208, 0.5);
}

.ed:empty::before {
  content: attr(data-ph);
  color: #b6bcc6;
}

/* 挖空行：题面保持原样，下方附「句 / 答 / 提示」编辑条与单句删除 */
.cz-wrap { display: block; }

.cz-edit {
  display: flex;
  align-items: flex-start;
  gap: 2mm;
  margin: 0.8mm 0 1.8mm 6.5mm;
  padding: 1.2mm 1.5mm;
  border: 1px dashed #cdd4dd;
  border-radius: 3px;
  background: #fbfcfe;
  font-family: var(--ui-font);
  font-size: 9.5px;
  line-height: 1.5;
  color: #4a5560;
}

.cz-ed {
  display: flex;
  flex: 1 1 0;
  align-items: flex-start;
  gap: 1mm;
  min-width: 0;
}

.cz-ed:first-child { flex: 2.4 1 0; }

.cz-ed > span {
  flex: 0 0 auto;
  color: #8892a0;
}

.cz-ed .ed {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.4mm 1mm;
  border: 1px solid #dde2ea;
  border-bottom-color: #dde2ea;
  border-radius: 2px;
  background: #fff;
  color: #1c2229;
}

.cz-ed .ed:hover { background: #f7f9fd; }
.cz-ed .ed:focus { border-color: #2f6fd0; background: #fff; }

/* 删除控件：整词删除贴在词格右上角，单句删除在编辑条内 */
.ed-del {
  position: absolute;
  top: -1.4mm;
  right: -1.4mm;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4mm;
  height: 4.4mm;
  padding: 0;
  border: 1px solid #e3bcbc;
  border-radius: 50%;
  background: #fff7f7;
  color: #c0392b;
  font-family: var(--ui-font);
  font-size: 8px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
}

.ed-del:hover { opacity: 1; background: #ffe9e9; border-color: #c0392b; }

.ed-del--cz {
  position: static;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  align-self: center;
  padding: 0.4mm 1.6mm;
  border-radius: 3px;
  font-size: 9.5px;
  opacity: 1;
}

/* 左侧词条被整条删除后仍可点选回去 */
.chip.is-removed {
  opacity: 0.5;
  text-decoration: line-through;
}

@media print {
  .ed {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .ed:empty::before { content: none !important; }
  .cell--edit { position: static; }
  .chip.is-removed { opacity: 1; text-decoration: none; }
}
