#text-mark {
  inset: max(16px, 10vh) 0 auto;
  box-sizing: border-box;
  width: min(340px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px;
  border-radius: 22px;
  background: var(--glass-strong);
  color: var(--ink);
}
#text-mark::backdrop { background: rgba(25, 41, 62, .19); }
#text-mark form { display: grid; gap: 8px; }
#text-mark label { font: 500 16px/1.3 var(--label); }
#text-mark input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ink-soft);
  border-radius: 12px;
  padding: 8px 12px;
  background: white;
  color: var(--ink);
  font: 1rem/1.4 var(--label);
}
#text-mark p { margin: 0; color: var(--ink-soft); font-size: .8125rem; }
.text-mark-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.text-mark-actions button {
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: 500 .875rem/1 var(--label);
  cursor: pointer;
}
.text-mark-actions button[type="submit"] { background: var(--ink); color: white; }
#text-mark :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
