/* Neva display choice (Siri Wave / LED) inside the original companion Settings
   page. One row with the rhythm and tokens of .notch-setting in
   src/neva/notch.css (10px padding, 12px name, 10px #9699a5 hint, #ffffff07
   divider) and a segmented choice styled like the original .notch-inbox-tabs
   (10px keys, control glass when chosen). Focus ring #a9b9fc as elsewhere. */

.notch-display-pref {
  min-width: 0;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #ffffff07;
  font-size: 12px;
  color: inherit;
}
.notch-display-pref-legend {
  float: left;
  max-width: 52%;
  margin: 0;
  padding: 3px 12px 0 0;
  font-size: 12px;
  color: inherit;
  overflow-wrap: anywhere;
}
.notch-display-pref-legend > span { display: block; }
.notch-display-pref-legend > small { display: block; margin-top: 3px; font-size: 10px; color: #9699a5; }
/* A flex container beside a float sits next to it (own formatting context). */
.notch-display-pref-options {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
}
.notch-display-option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  border-radius: 12px;
  font-size: 10px;
  color: #a9b3bd;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.notch-display-option:hover { background: #ffffff09; }
.notch-display-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.notch-display-option-text { pointer-events: none; }
.notch-display-option:has(input:checked) {
  background: var(--notch-control-glass, rgba(15, 21, 27, .48));
  box-shadow: inset 0 1px #ffffff0c, inset 0 -1.5px #609f88aa;
  color: #edf0f3;
}
.notch-display-option:has(input:focus-visible) { outline: 2px solid #a9b9fc; outline-offset: 2px; }
.notch-display-pref.is-busy .notch-display-option { cursor: progress; }
.notch-display-pref-status { clear: both; margin: 6px 0 0; font-size: 10px; color: #c9a77a; }
.notch-display-pref-status:empty { display: none; }
.notch-display-pref::after { content: ''; display: block; clear: both; }

@media (prefers-reduced-motion: reduce) {
  .notch-display-option { transition: none; }
}
.is-calm .notch-display-option { transition: none; }
