/* Native file access is retained behind SautiLink's member-only field chrome. */
body:not(.auth-entry):has(#member-view:not([hidden])) .sl-file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--ios-line, #e5e7ed);
  border-radius: 16px;
  background: var(--ios-surface, #fff);
  color: var(--ios-ink, #1c1c1e);
}
body:not(.auth-entry):has(#member-view:not([hidden])) .sl-file > .sl-file-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body:not(.auth-entry):has(#member-view:not([hidden])) .sl-file-trigger {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 13px;
  border: 0;
  border-radius: 11px;
  background: var(--ios-secondary, #f3f4f7);
  color: var(--ios-blue, #0068df);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
body:not(.auth-entry):has(#member-view:not([hidden])) .sl-file-trigger svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body:not(.auth-entry):has(#member-view:not([hidden])) .sl-file-trigger:focus-visible {
  outline: 2px solid var(--ios-blue, #0068df);
  outline-offset: 3px;
}
body:not(.auth-entry):has(#member-view:not([hidden])) .sl-file-trigger:disabled {
  opacity: .5;
  cursor: default;
}
body:not(.auth-entry):has(#member-view:not([hidden])) .sl-file-summary {
  min-width: 0;
  overflow: hidden;
  padding-inline-end: 5px;
  color: var(--ios-muted, #686873);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media (max-width: 420px) {
  body:not(.auth-entry):has(#member-view:not([hidden])) .sl-file {
    flex-wrap: wrap;
    gap: 8px;
  }
  body:not(.auth-entry):has(#member-view:not([hidden])) .sl-file-summary {
    flex-basis: 100%;
    padding-inline: 5px;
  }
}
