/* Shared baseline for owner, tenant, public, and printable document pages. */
.skip-link {
  position: fixed;
  top: 8px;
  left: -10000px;
  z-index: 100000;
  padding: 12px 16px;
  border: 2px solid var(--accent, #2563eb);
  border-radius: 6px;
  background: var(--card, #fff);
  color: var(--text, #0f172a);
  font: 700 14px/1.4 system-ui, sans-serif;
}
.skip-link:focus { left: 8px; }

/* Preserve the page's existing title class when changing its semantic tag. */
:where(h1[data-page-heading]) { margin: 0; font: inherit; }
.page-title-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Shared with the desktop shell; public pages do not inherit sidebar spacing. */
@media screen and (min-width: 1024px) {
  .pc-standard { width: 100% !important; max-width: 1440px !important; margin-left: auto !important; margin-right: auto !important; }
  .pc-wide { width: 100% !important; max-width: 1720px !important; margin-left: auto !important; margin-right: auto !important; }
  .pc-full { width: 100% !important; max-width: none !important; margin-left: auto !important; margin-right: auto !important; padding-left: clamp(16px, 2vw, 32px) !important; padding-right: clamp(16px, 2vw, 32px) !important; }
}

@media print {
  .skip-link, .page-title-accessible { display: none !important; }
}
