:root {
  --chat-bg: #8aa8d3;
  --chat-head: #273246;
  --chat-other: #ffffff;
  --chat-own: #85e249;
  --chat-text: #111111;
  --chat-meta: #2b3a52;
  --chat-sys: rgba(20, 30, 50, 0.28);
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1c1f24;
  --muted: #6b7280;
  --line: #dfe2e7;
  --accent: #2563eb;
  --accent-text: #ffffff;
  --soft: #eef2ff;
  --warn-bg: #fff7e6;
  --warn: #b45309;
  --bad: #dc2626;
  --bad-bg: #fdecec;
  --own: #e8f5e9;
  --own-text: #14532d;
  --input: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --card: #1b1e24;
    --text: #e7e9ee;
    --muted: #9aa1ad;
    --line: #2d323b;
    --accent: #4f8cff;
    --accent-text: #0b1020;
    --soft: #1f2a44;
    --warn-bg: #2b2111;
    --warn: #f0b456;
    --bad: #f87171;
    --bad-bg: #2d1717;
    --own: #17301d;
    --own-text: #bfe8c6;
    --input: #14161b;
    --shadow: none;
    --chat-bg: #1e2024;
    --chat-head: #121316;
    --chat-other: #34373d;
    --chat-own: #4cae58;
    --chat-text: #eef0f3;
    --chat-meta: #8d939d;
    --chat-sys: rgba(255, 255, 255, 0.14);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Meiryo', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
/* iPhone で入力欄を触ったときに勝手に拡大されないよう、16px にする */
input,
select,
textarea {
  font-size: 16px;
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  min-width: 0;
}
textarea {
  width: 100%;
  resize: vertical;
  line-height: 1.5;
  overflow: hidden;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
button {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
}
button.danger {
  color: var(--bad);
}
button.small {
  padding: 3px 9px;
  font-size: 13px;
}
button.icon {
  padding: 4px 10px;
  font-size: 16px;
  border-color: transparent;
  background: transparent;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.bad {
  color: var(--bad);
}
.spacer {
  flex: 1;
}

/* ログイン */
.login {
  max-width: 360px;
  margin: 15vh auto 0;
  padding: 0 16px;
}
.login h1 {
  font-size: 20px;
}
.login form {
  display: grid;
  gap: 10px;
}
.code-area {
  display: grid;
  gap: 8px;
}
.code-area input#code {
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
}
.login-msg {
  color: var(--bad);
  min-height: 1.5em;
}

/* 上部 */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: max(6px, env(safe-area-inset-top)) 12px 6px;
}
.bar {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 920px;
  margin: 0 auto;
  padding: 3px 0;
}
.bar select {
  flex: 1;
  min-width: 0;
  max-width: 260px;
}
/* 2段目。文字の大きさと左右の余白は、入りきらないときに app.js の fitActions が小さくする。
   必ず横一列（折り返さない）。それでも入らない細い画面では、2段目だけを横にスライドして見る */
.actions {
  flex-wrap: nowrap;
  overflow-x: auto;
}
.actions > * {
  font-size: var(--act-size, 15px);
  padding-left: var(--act-pad, 12px);
  padding-right: var(--act-pad, 12px);
}
/* 「テンプレ ▾」は button.primary と同じ青の札。上に透明な選択欄を重ねる（日付と同じやり方）ので、幅は札の文字で決まる */
.tpl-wrap {
  position: relative;
  flex: 1;
  max-width: 260px;
  padding-top: 7px;
  padding-bottom: 7px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent-text);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.tpl-wrap select {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  opacity: 0;
  cursor: pointer;
}
.tpl-wrap:has(select:focus-visible) {
  outline: 2px solid var(--text);
  outline-offset: -4px;
}
/* スマホ：余った幅は4つで分け合い、文字は真ん中に */
@media (max-width: 600px) {
  .actions > * {
    flex: 1 1 auto;
  }
  .tpl-wrap {
    text-align: center;
  }
}
.date-wrap {
  position: relative;
  font-weight: 700;
  font-size: 17px;
  padding: 2px 4px;
  cursor: pointer;
}
.date-wrap input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.save-state {
  font-size: 12px;
  color: var(--muted);
}
.save-state.busy {
  color: var(--accent);
}
.save-state.error {
  color: var(--bad);
  font-weight: 600;
}
.report-btn.running {
  border-color: var(--accent);
  color: var(--accent);
}
.menu {
  position: absolute;
  right: 12px;
  top: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  display: grid;
  min-width: 200px;
  overflow: hidden;
}
.menu button {
  border: 0;
  border-radius: 0;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.menu button:last-child {
  border-bottom: 0;
}
/* 通知（ベル）。≡ と同じ大きさにするため、見えない「≡」で幅と高さを決め、その真ん中にベルを重ねる */
.notice-btn {
  position: relative;
}
.notice-sizer {
  visibility: hidden;
}
.notice-bell {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.notice-count {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--bad);
  color: var(--card);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}
.notice-panel {
  position: absolute;
  right: max(12px, calc((100% - 920px) / 2));
  top: 100%;
  width: min(360px, calc(100vw - 24px));
  max-height: min(480px, 70vh);
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.notice-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.notice-item {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.notice-item:last-child {
  border-bottom: 0;
}
.notice-item.unread {
  background: var(--soft);
}
.notice-top {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: baseline;
}
.notice-title {
  font-weight: 600;
}
.notice-time {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.notice-body {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.notice-empty {
  margin: 0;
  padding: 14px 12px;
  color: var(--muted);
  font-size: 13px;
}

main {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 12px calc(40px + env(safe-area-inset-bottom));
}
.summary {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  padding: 2px 2px 6px;
}
.chip {
  border-radius: 999px;
  padding: 0 8px;
  font-size: 12px;
}
.chip.warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.chip.bad {
  background: var(--bad-bg);
  color: var(--bad);
}
.empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 10px;
}
.hour {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 2px 4px;
  font-weight: 600;
}

/* 1件 */
.entry {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.entry.warn {
  border-color: var(--bad);
}
.entry.done:not(.open) {
  opacity: 0.82;
}
.entry .head {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 8px 10px 8px 12px;
  white-space: normal;
  position: relative;
}
.entry.notdone .head {
  padding-left: 16px;
}
.entry.notdone .head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--band, #8b8d98);
}
.l1 {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: baseline;
}
.l1 .no {
  color: var(--muted);
  font-size: 12px;
}
.l1 .time {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.l1 .flag {
  font-weight: 600;
}
.l1 .who {
  color: var(--muted);
  font-size: 13px;
}
.l1 .res {
  font-size: 12px;
  font-weight: 700;
  color: var(--band, var(--warn));
}
.entry.notdone .l1 .res {
  color: var(--text);
  background: var(--warn-bg);
  border-radius: 6px;
  padding: 0 6px;
}
.l1 .res.done {
  color: var(--muted);
  font-weight: 400;
}
.l1 .miss {
  font-size: 12px;
  color: var(--bad);
  font-weight: 700;
}
.l2 {
  display: block;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.entry.open .l2 {
  display: none;
}
.body:empty {
  display: none;
}
.body {
  border-top: 1px solid var(--line);
  padding: 10px 12px 12px;
}

/* 読む表示 */
.read .meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  margin: 0 0 6px;
}
.read dt {
  color: var(--muted);
  font-size: 13px;
}
.read dd {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.read h4 {
  margin: 12px 0 4px;
  font-size: 13px;
  color: var(--muted);
}
.result-text {
  margin: 0;
  font-weight: 700;
}
.boxes {
  display: grid;
  gap: 6px;
}
.box {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.box.kind-none {
  border: 0;
}
.box-head {
  background: var(--soft);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
}
.plain-text {
  white-space: pre-wrap;
  word-break: break-word;
  padding: 6px 8px;
}
.box.kind-none .plain-text {
  padding: 0;
}
/* 読む表示：LINE のトーク画面ふう（吹き出しの中身は原本のまま） */
.box.chatbox {
  border: 0;
  border-radius: 10px;
  overflow: hidden;
}
.box.chatbox .box-head {
  background: var(--chat-head);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
}
.chat {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--chat-bg);
  padding: 10px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat .row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.chat .row.first {
  margin-top: 6px;
}
.chat .row.own {
  justify-content: flex-end;
}
.chat .avatar {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--avatar, #9aa5b8);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat .avatar.blank {
  visibility: hidden;
  height: 0;
}
.chat .col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: min(78%, 520px);
}
.chat .own .col {
  align-items: flex-end;
}
.chat .name {
  font-size: 11px;
  color: var(--chat-meta);
  margin: 0 0 2px 2px;
}
.chat .line {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-width: 0;
}
.chat .own .line {
  flex-direction: row-reverse;
}
.chat .bubble {
  position: relative;
  background: var(--chat-other);
  color: var(--chat-text);
  border-radius: 18px;
  padding: 8px 12px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 15px;
  line-height: 1.5;
  min-width: 0;
}
.chat .own .bubble {
  background: var(--chat-own);
  color: #0d1b0d;
}
.chat .row.first .bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -7px;
  width: 14px;
  height: 16px;
  background: var(--chat-other);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 14 16'><path d='M14 0H3.5C0.6 0 -0.6 2.6 1.4 4.4C5 7.6 9.5 11.8 14 16Z'/></svg>") no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 14 16'><path d='M14 0H3.5C0.6 0 -0.6 2.6 1.4 4.4C5 7.6 9.5 11.8 14 16Z'/></svg>") no-repeat;
}
.chat .row.own.first .bubble::before {
  left: auto;
  right: -7px;
  background: var(--chat-own);
  transform: scaleX(-1);
}
.chat .t {
  flex: none;
  font-size: 10px;
  color: var(--chat-meta);
  font-variant-numeric: tabular-nums;
}
.chat .note {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.55);
  color: var(--chat-text);
  border-radius: 8px;
  padding: 6px 10px;
  margin: 2px 0 4px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
}
@media (prefers-color-scheme: dark) {
  .chat .note {
    background: rgba(255, 255, 255, 0.08);
  }
}
.chat .sys,
.chat .date {
  align-self: center;
  max-width: 90%;
  font-size: 11px;
  color: #fff;
  background: var(--chat-sys);
  border-radius: 10px;
  padding: 2px 10px;
  margin: 4px 0;
  white-space: pre-wrap;
  text-align: center;
}

/* 編集 */
.edit {
  display: grid;
  gap: 10px;
}
.field {
  display: grid;
  gap: 3px;
}
.field > span,
.box-title > span,
.time-label > span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.time-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 6px;
}
.time-label {
  display: grid;
  gap: 3px;
}
.time-in {
  width: 6.2em;
  font-variant-numeric: tabular-nums;
}
.time-row .sep {
  padding-bottom: 8px;
}
.req,
.box-editor.req textarea {
  border-color: var(--bad) !important;
  background: var(--bad-bg) !important;
}
.hint {
  font-size: 13px;
  color: var(--warn);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.hint:empty {
  display: none;
}
.box-editor {
  display: grid;
  gap: 4px;
}
.box-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.box-list {
  display: grid;
  gap: 6px;
}
.box-edit {
  display: grid;
  gap: 4px;
}
.box-edit:not(.kind-none) {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 6px;
}
.box-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.box-bar .kind {
  max-width: 11em;
  font-size: 14px;
  padding: 4px 6px;
}
.box-bar input {
  flex: 1;
  min-width: 6em;
  font-size: 15px;
  padding: 4px 7px;
}
.box-bar .x-mark {
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}

/* ダイアログ */
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  background: var(--card);
  color: var(--text);
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
}
dialog.wide {
  width: min(920px, calc(100vw - 24px));
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}
.dlg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 16px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
}
.dlg-head h2 {
  font-size: 16px;
  margin: 0;
}
.dlg-content {
  padding: 12px 16px 16px;
}
@media (max-width: 600px) {
  dialog,
  dialog.wide {
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
    border: 0;
  }
  .dlg-head {
    padding-top: max(8px, env(safe-area-inset-top));
  }
}
.tpl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.tpl-title {
  display: grid;
}
.tpl-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.set-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}
.set-row input[type='color'] {
  width: 44px;
  height: 36px;
  padding: 2px;
}
.set-row input:not([type]) {
  flex: 1;
}

/* 日報 */
.report .notice {
  background: var(--warn-bg);
  color: var(--warn);
  border-radius: 8px;
  padding: 6px 10px;
  margin: 6px 0;
  font-size: 14px;
}
.report h3 {
  font-size: 15px;
  margin: 16px 0 6px;
}
.report-form {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
  display: grid;
  gap: 10px;
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
}
.check input {
  width: 20px;
  height: 20px;
}
.progress-box progress {
  width: 100%;
  height: 14px;
}
.sec {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 10px 0;
  overflow: hidden;
}
.sec-head {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px 10px;
  background: var(--soft);
}
.sec-head h3 {
  margin: 0;
  font-size: 14px;
  flex: 1;
  min-width: 10em;
}
.sec-body {
  margin: 0;
  padding: 10px 12px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 14px;
  max-height: 60vh;
  overflow: auto;
  -webkit-user-select: text;
  user-select: text;
}
.history {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.history h3 {
  width: 100%;
}
.import-result {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  background: #1f2937;
  color: #fff;
  padding: 9px 16px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: calc(100vw - 32px);
  z-index: 100;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%);
}
.toast.error {
  background: var(--bad);
}
.copy-buf {
  position: fixed;
  left: -9999px;
  top: 0;
}

.update-bar {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 90;
  font-size: 13px;
  width: max-content;
  max-width: calc(100vw - 24px);
}

/* デベロッパーモード（Cmd＋Shift＋D。ELNA OS のデバッグ表示モードと同じ動き） */
body.dev-mode :where(
  div, section, main, header, footer, aside, nav, article,
  button, input, select, textarea, table, thead, tbody, tr, th, td,
  ul, ol, li, form, label, span, p, h1, h2, h3, h4, h5, h6,
  a, img, svg, path, circle, rect, strong, small, time, dialog, pre, dl, dt, dd, progress
) {
  outline: 1px solid rgba(130, 185, 255, 0.34);
  outline-offset: -1px;
}
body.dev-mode [data-dev-hovered='true'],
body.dev-mode [data-dev-pinned='true'] {
  outline: 2px solid rgba(0, 229, 255, 0.96);
  outline-offset: -2px;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.22);
}
.dev-toast {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 7000;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(8, 12, 20, 0.92);
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}
.dev-label {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 7100;
  width: min(30em, 70vw);
  display: grid;
  gap: 2px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(6, 10, 18, 0.97);
  color: rgba(255, 255, 255, 0.96);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  transform: translate(var(--dev-x, 0), var(--dev-y, 0));
  pointer-events: none;
  user-select: none;
}
.dev-label[data-detail='true'] {
  width: min(40em, 80vw);
}
.dev-label__row {
  min-width: 0;
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 6px;
}
.dev-label__key {
  color: rgba(126, 201, 255, 0.92);
  font-size: 0.9em;
  letter-spacing: 0.1em;
}
.dev-label__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.dev-mode .dev-label,
body.dev-mode .dev-label *,
body.dev-mode .dev-toast {
  outline: none !important;
}
