* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Alegreya Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  color: #edf4ff;
  background: rgba(0, 0, 0, 0.0);
  touch-action: manipulation;
}

.hud-shell {
  width: 100%;
  height: 100%;
  -webkit-app-region: drag;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(140deg, rgba(16, 26, 42, 0.95), rgba(9, 15, 28, 0.95));
  padding: 10px 12px;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 7px;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hud-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #7ea5cc;
}

body[data-visual-mode="recording"] .hud-shell {
  border-color: rgba(255, 112, 112, 0.78);
  background: linear-gradient(140deg, rgba(62, 15, 23, 0.97), rgba(32, 8, 12, 0.97));
  box-shadow: 0 0 0 1px rgba(255, 112, 112, 0.22), 0 0 42px rgba(186, 26, 26, 0.32);
}

body[data-visual-mode="recording"] .output {
  border-color: rgba(255, 132, 132, 0.32);
  background: rgba(33, 8, 12, 0.72);
}

body[data-visual-mode="recording"] .history-link {
  color: rgba(255, 206, 206, 0.94);
  border-bottom-color: rgba(255, 178, 178, 0.46);
}

body[data-visual-mode="recording"] .meter-fill {
  background: linear-gradient(90deg, #ff7c7c, #ffb26a);
}

body[data-visual-mode="recording"] .dot {
  box-shadow: 0 0 0 0 rgba(255, 126, 118, 0.66);
  animation: recording-pulse 1.2s ease-out infinite;
}

@keyframes recording-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 126, 118, 0.66);
  }
  70% {
    transform: scale(1.18);
    box-shadow: 0 0 0 10px rgba(255, 126, 118, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 126, 118, 0);
  }
}

.title { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.timer { display: none; }

.flash-notice {
  min-height: 16px;
  border-radius: 8px;
  border: 1px solid rgba(120, 239, 197, 0.34);
  background: rgba(21, 67, 56, 0.82);
  color: #e7fff6;
  font-size: 11px;
  line-height: 1.35;
  padding: 4px 8px;
}

.flash-notice.hidden {
  display: none;
}

.meter-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.meter-fill {
  width: 6%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6ac8ff, #73f7d0);
  transition: width 120ms linear;
}

.caption {
  font-size: 12px;
  color: rgba(206, 224, 255, 0.86);
}

.output {
  -webkit-app-region: no-drag;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 7px 8px;
  background: rgba(8, 15, 25, 0.74);
  overflow: hidden;
}

.result-meta {
  -webkit-app-region: no-drag;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(184, 204, 234, 0.88);
  white-space: pre-line;
}

.history-link {
  -webkit-app-region: no-drag;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(35, 52, 74, 0.75);
  color: #eff5ff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.history-link.is-session-doc {
  border-color: rgba(120, 239, 197, 0.42);
  background: rgba(24, 72, 58, 0.88);
  color: #effff8;
  box-shadow: 0 0 0 1px rgba(120, 239, 197, 0.14);
}

.history-link:hover {
  transform: translateY(-1px);
  border-color: rgba(210, 255, 239, 0.52);
  background: rgba(46, 66, 92, 0.92);
  color: #effff8;
}

.history-link.is-session-doc:hover {
  background: rgba(30, 86, 68, 0.94);
}

.history-link.hidden {
  display: none;
}

.settings-history-link {
  width: 100%;
  min-height: 42px;
  justify-self: stretch;
}


.actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  -webkit-app-region: no-drag;
}

.actions-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.long-session-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 154px;
}

.long-session-stack > #longSessionBtn,
.long-session-stack > .history-link {
  width: 100%;
}

.quick-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
}

.quick-tools > button {
  width: 100%;
  justify-self: stretch;
}

.actions-side {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
  min-width: min(280px, 100%);
}

.actions button {
  -webkit-app-region: no-drag;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(35, 52, 74, 0.75);
  color: #eff5ff;
  font-size: 12px;
  padding: 5px 10px;
  min-height: 38px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.actions button:hover,
.text-modal-close:hover,
.text-modal-refine:hover {
  transform: translateY(-1px);
}

.actions button:disabled,
.text-modal-close:disabled,
.text-modal-refine:disabled {
  cursor: default;
  opacity: 0.52;
  transform: none;
}

.actions button.hidden {
  display: none;
}

#copyBtn,
#modalDerivedCopyBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  font-weight: 700;
  overflow: visible;
}

#copyBtn::after,
#modalDerivedCopyBtn::after {
  content: attr(data-copy-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 4px);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(10, 18, 31, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #eef7ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

#copyBtn.has-feedback::after,
#modalDerivedCopyBtn.has-feedback::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

#copyBtn.is-copied,
#modalDerivedCopyBtn.is-copied {
  border-color: rgba(120, 239, 197, 0.55);
  background: rgba(20, 79, 64, 0.9);
  color: #effff8;
  box-shadow: 0 0 0 1px rgba(120, 239, 197, 0.18), 0 8px 24px rgba(29, 120, 94, 0.26);
}

#copyBtn.is-copy-error,
#modalDerivedCopyBtn.is-copy-error {
  border-color: rgba(255, 133, 133, 0.55);
  background: rgba(92, 29, 36, 0.9);
  color: #fff0f0;
  box-shadow: 0 0 0 1px rgba(255, 133, 133, 0.18), 0 8px 24px rgba(128, 31, 31, 0.22);
}

.language-toggle-btn {
  min-width: 46px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  border-color: rgba(126, 174, 255, 0.34);
  background: rgba(23, 41, 73, 0.82);
  color: #edf4ff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#formatBtn {
  border-color: rgba(111, 237, 197, 0.34);
  background: rgba(23, 63, 58, 0.82);
  color: #edfff9;
}

#longSessionBtn {
  border-color: rgba(255, 201, 118, 0.38);
  background: rgba(86, 57, 18, 0.86);
  color: #fff7e8;
  font-weight: 700;
}

#longSessionBtn:disabled {
  border-color: rgba(255, 201, 118, 0.2);
  background: rgba(69, 51, 27, 0.44);
}

#longSessionBtn.is-loading {
  border-color: rgba(255, 224, 168, 0.72);
  background: linear-gradient(180deg, rgba(121, 84, 28, 0.98), rgba(90, 61, 18, 0.98));
  color: #fffaf2;
  box-shadow: 0 0 0 1px rgba(255, 215, 145, 0.18), 0 0 18px rgba(171, 116, 36, 0.28);
}

#longSessionBtn.is-session-doc {
  border-color: rgba(120, 239, 197, 0.42);
  background: rgba(24, 72, 58, 0.9);
  color: #effff8;
  box-shadow: 0 0 0 1px rgba(120, 239, 197, 0.14);
}

#longSessionBtn.is-session-doc:hover {
  background: rgba(30, 86, 68, 0.94);
}

#longSessionBtn.is-loading:disabled {
  opacity: 1;
  cursor: progress;
}

#recordBtn.is-recording {
  border-color: rgba(255, 140, 140, 0.82);
  background: linear-gradient(180deg, rgba(171, 34, 34, 0.98), rgba(120, 18, 18, 0.98));
  color: #fff4f4;
  box-shadow: 0 0 0 1px rgba(255, 120, 120, 0.24), 0 0 24px rgba(168, 28, 28, 0.38);
}

.settings-btn {
  margin-left: auto;
  border-color: rgba(111, 237, 197, 0.36);
  background: rgba(24, 61, 55, 0.88);
  color: #eafff8;
}

.reset-btn {
  border-color: rgba(255, 165, 165, 0.34);
  background: rgba(92, 29, 36, 0.88);
  color: #fff0f0;
}

.reset-btn.hidden,
.settings-reset-btn.hidden {
  display: none;
}

.text-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 8, 14, 0.64);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  -webkit-app-region: no-drag;
}

.text-modal.hidden {
  display: none;
}

.text-modal-panel {
  width: min(92vw, 680px);
  max-height: 78vh;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(160deg, rgba(16, 26, 42, 0.97), rgba(9, 15, 28, 0.97));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.text-modal-body {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(180px, 1fr) auto auto;
}

.text-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(160deg, rgba(16, 26, 42, 0.99), rgba(9, 15, 28, 0.99));
}

.text-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-modal-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.text-modal-close {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(35, 52, 74, 0.85);
  color: #eff5ff;
  font-size: 12px;
  padding: 5px 10px;
  min-height: 38px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.text-modal-refine {
  border: 1px solid rgba(111, 237, 197, 0.45);
  border-radius: 8px;
  background: rgba(35, 86, 74, 0.88);
  color: #e9fff7;
  font-size: 12px;
  padding: 5px 10px;
  min-height: 38px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.text-modal-refine.secondary {
  border-color: rgba(125, 201, 255, 0.45);
  background: rgba(30, 70, 96, 0.88);
  color: #edf8ff;
}

.text-modal-refine.secondary.is-loaded {
  border-color: rgba(255, 135, 135, 0.58);
  background: rgba(120, 26, 42, 0.92);
  color: #fff4f4;
  box-shadow: 0 0 0 1px rgba(255, 135, 135, 0.18), 0 10px 28px rgba(120, 26, 42, 0.22);
}

.full-text-view {
  margin: 0;
  padding: 12px;
  width: 100%;
  height: 100%;
  resize: none;
  border: 0;
  outline: none;
  background: transparent;
  font-family: "Alegreya Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #edf4ff;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
  touch-action: manipulation;
}

.modal-derive-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 20, 34, 0.92);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.modal-derive-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.modal-derive-toolbar > button {
  flex: 0 0 auto;
}

.modal-derive-field {
  display: grid;
  gap: 6px;
  font-size: 11px;
  color: rgba(197, 214, 242, 0.9);
}

.modal-derive-input,
.modal-derived-output {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 13, 23, 0.84);
  color: inherit;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.modal-derived-output {
  min-height: 132px;
}

.modal-derive-status {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(188, 208, 236, 0.88);
  white-space: pre-wrap;
}

.modal-derive-status.error {
  color: rgba(255, 173, 173, 0.94);
}

.review-modal-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 17, 29, 0.92);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.review-modal-status {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(188, 208, 236, 0.88);
  white-space: pre-wrap;
}

.review-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.review-modal-field {
  display: grid;
  gap: 6px;
  font-size: 11px;
  color: rgba(197, 214, 242, 0.9);
}

.review-modal-input,
.review-modal-textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 13, 23, 0.84);
  color: inherit;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.settings-panel {
  width: min(96vw, 560px);
  max-height: 84vh;
}

.settings-body {
  display: grid;
  gap: 14px;
  padding: 14px;
  overflow: auto;
}

.settings-section {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px 12px;
  background: rgba(255, 255, 255, 0.025);
}

.settings-section-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(180, 210, 255, 0.55);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 2px;
}

.settings-footer {
  display: grid;
  gap: 8px;
}

.settings-mode-summary {
  border: 1px solid rgba(111, 237, 197, 0.22);
  border-radius: 10px;
  background: rgba(15, 33, 34, 0.72);
  color: rgba(232, 255, 246, 0.94);
  font-size: 12px;
  line-height: 1.45;
  padding: 9px 10px;
  white-space: pre-line;
}

.settings-field.hidden {
  display: none;
}

.settings-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(226, 238, 255, 0.92);
}

.settings-input,
.settings-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(10, 18, 31, 0.9);
  color: #edf4ff;
  padding: 8px 10px;
  font: inherit;
  touch-action: manipulation;
}

.settings-textarea {
  min-height: 124px;
  resize: vertical;
  line-height: 1.45;
  white-space: pre-wrap;
}

.settings-input::placeholder {
  color: rgba(195, 214, 245, 0.48);
}

.settings-note,
.settings-save-status,
.settings-inline-status {
  font-size: 12px;
  line-height: 1.45;
}

.settings-note {
  color: rgba(195, 214, 245, 0.72);
}

.settings-refine-summary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(10, 18, 31, 0.62);
  padding: 10px;
  white-space: pre-line;
}

.settings-inline-link {
  justify-self: start;
  border: 0;
  background: transparent;
  color: rgba(140, 228, 198, 0.96);
  font: inherit;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.settings-inline-link:hover {
  color: #effff8;
}

.settings-inline-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.settings-save-status {
  min-height: 18px;
  color: rgba(120, 239, 197, 0.96);
}

.settings-inline-status {
  min-height: 18px;
  color: rgba(195, 214, 245, 0.84);
}

.settings-save-status.error {
  color: rgba(255, 166, 149, 0.98);
}

.settings-reset-btn {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 160, 160, 0.34);
  border-radius: 10px;
  background: rgba(96, 28, 40, 0.9);
  color: #fff3f3;
  font: inherit;
  font-weight: 700;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.settings-reset-btn:hover {
  background: rgba(120, 36, 50, 0.94);
}

.settings-reset-btn:disabled {
  opacity: 0.55;
}

@media (max-width: 1400px), (pointer: coarse) {
  .hud-shell {
    grid-template-rows: auto auto auto auto auto auto;
    align-content: start;
  }

  .output {
    max-height: min(32vh, 220px);
    overflow: auto;
  }

  .result-meta {
    min-height: 34px;
  }

  .actions {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 6px;
  }

  .actions-main {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "record"
      "format";
    align-items: center;
    gap: 10px;
  }

  .actions button,
  .text-modal-close,
  .text-modal-refine,
  .settings-reset-btn,
  .settings-input,
  .settings-select,
  .full-text-view {
    font-size: 16px;
  }

  .actions button {
    min-height: 48px;
    padding: 0 14px;
  }

  .quick-tools {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row;
    gap: 6px;
  }

  .quick-tools > button,
  #copyBtn,
  #addBtn,
  #languageToggleBtn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    border-radius: 999px;
    justify-self: stretch !important;
  }

  #copyBtn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  #languageToggleBtn {
    padding: 0;
  }

  #recordBtn {
    grid-area: record;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
  }

  #formatBtn {
    grid-area: format;
    width: 100%;
  }

  #hideBtn,
  #closeBtn {
    display: none;
  }

  .actions-side {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-width: 0;
  }

  .quick-tools {
    grid-column: 1 / -1;
  }

  .settings-btn,
  .reset-btn {
    width: 100%;
    min-height: 48px;
    margin-left: 0;
  }

  .text-modal {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }

  .text-modal-panel {
    width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .text-modal-head {
    padding: calc(12px + env(safe-area-inset-top)) 14px 12px;
  }

  .text-modal-actions {
    gap: 10px;
  }

  .text-modal-close,
  .text-modal-refine,
  .settings-reset-btn {
    min-height: 46px;
    padding: 0 14px;
  }

  .review-modal-grid {
    grid-template-columns: 1fr;
  }

  .full-text-view,
  .modal-derive-panel,
  .settings-body {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-height: 760px), (max-width: 430px) {
  .hud-shell {
    padding: 8px 10px;
    gap: 5px;
  }

  .title {
    font-size: 12px;
  }

  .timer,
  .caption,
  .history-link {
    font-size: 11px;
  }

  .flash-notice {
    min-height: 14px;
    padding: 3px 7px;
    font-size: 10px;
  }

  .output {
    font-size: 11px;
    line-height: 1.35;
    padding: 6px 7px;
    max-height: min(24vh, 120px);
  }

  .result-meta {
    min-height: 26px;
    font-size: 10px;
    line-height: 1.25;
  }

  .actions,
  .actions-main,
  .actions-side {
    gap: 7px;
  }

  .quick-tools {
    gap: 5px;
  }

  .actions button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .quick-tools > button,
  #copyBtn,
  #addBtn,
  #languageToggleBtn {
    min-height: 40px;
  }

  #recordBtn {
    min-height: 46px;
    padding: 0 18px;
  }

  .settings-btn,
  .reset-btn {
    min-height: 40px;
  }

  .settings-panel .text-modal-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 7px;
    padding: calc(10px + env(safe-area-inset-top)) 10px 8px;
  }

  .settings-panel .text-modal-title {
    font-size: 12px;
  }

  .settings-panel .text-modal-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .settings-panel .text-modal-close,
  .settings-panel .text-modal-refine,
  .settings-panel .settings-reset-btn {
    min-height: 38px;
    padding: 0 10px;
    font-size: 14px;
  }

  .settings-body {
    gap: 8px;
    padding: 10px;
  }

  .settings-mode-summary,
  .settings-note,
  .settings-save-status,
  .settings-inline-status,
  .settings-refine-summary,
  .settings-field {
    font-size: 11px;
    line-height: 1.35;
  }

  .settings-mode-summary,
  .settings-refine-summary {
    padding: 8px 9px;
  }

  .settings-input,
  .settings-select,
  .settings-textarea {
    font-size: 14px;
    padding: 7px 9px;
  }

  .settings-textarea {
    min-height: 96px;
  }
}
