/* Shared chrome for standalone tool pages (public/tools/*.html) and the toolkit hub. */
body { min-height: 100dvh; padding-bottom: env(safe-area-inset-bottom, 0px); }
.tool-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: calc(0.6rem + env(safe-area-inset-top, 0px)) max(16px, 4vw) 0.6rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1.5px solid var(--line);
}
.tool-back { font-weight: 700; text-decoration: none; color: var(--ink); padding: 0.4em 0.2em; }
.tool-title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.tool-header .spacer { flex: 1; }
main.wrap { padding-block: 1.25rem 3rem; }
@media print {
  .tool-header, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; break-inside: avoid; }
}
