body {
  min-height: 100vh;
  background: radial-gradient(ellipse at top left, #dceeff 0, transparent 42%), #f4f7fb;
}
.navbar {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
}
.app-shell { max-width: 1000px; }
.tool-card, .tool-link {
  border: 1px solid #e5eaf1;
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgba(28, 48, 78, .08);
}
.tool-link {
  transition: transform .18s ease, box-shadow .18s ease;
}
.tool-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.2rem 3rem rgba(28, 48, 78, .12);
}
.tool-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-button {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
}
.form-control { border-color: #dce3ed; }
.form-control:focus {
  border-color: #6ea8fe;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .12);
}
.result-area { min-height: 9rem; }
.preview { max-height: 28rem; object-fit: contain; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .tool-link { transition: none; }
}
