.object-share-trigger { min-width: 44px; min-height: 44px; }
.object-share-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #1d1d1f38; backdrop-filter: blur(6px); }
.object-share-overlay > .object-share-dialog { position: relative; margin: 0; }
.object-share-dialog {
  box-sizing: border-box;
  width: min(400px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  margin: auto;
  padding: 20px;
  border: 1px solid var(--line, #e8e8ed);
  border-radius: 18px;
  color: var(--ui-text, #1d1d1f);
  background: var(--ui-surface, #fff);
  box-shadow: 0 20px 70px #0000001f;
  font: inherit;
}
.object-share-dialog[open] { display: block; }
.object-share-dialog::backdrop { background: #1d1d1f38; backdrop-filter: blur(6px); }
.object-share-dialog h2 { margin: 0 0 18px; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.object-share-field { display: grid; gap: 8px; color: var(--muted, #6e6e73); font-size: 14px; line-height: 1.4; }
.object-share-field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line, #e8e8ed);
  border-radius: 10px;
  color: var(--ui-text, #1d1d1f);
  background: var(--ui-field, #f5f5f7);
  font: inherit;
  font-size: 16px;
}
.object-share-close {
  display: block;
  min-width: 88px;
  min-height: 44px;
  margin: 18px 0 0 auto;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  color: var(--ui-selected-text, #005bb5);
  background: var(--ui-selected, #eaf3ff);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.object-share-close:hover { filter: brightness(.97); }
.object-share-dialog :is(input, button):focus-visible { outline: 2px solid var(--ui-focus, #0071e3); outline-offset: 3px; }
@media (prefers-color-scheme: dark) {
  .object-share-dialog { color: var(--ui-text, #f5f5f7); background: var(--ui-surface, #242426); border-color: var(--line, #424246); }
  .object-share-field input { color: var(--ui-text, #f5f5f7); background: var(--ui-field, #303034); border-color: var(--line, #424246); }
  .object-share-close { color: var(--ui-selected-text, #66adff); background: var(--ui-selected, #173b63); }
}
