/* Simple, theme-aware surfaces for the site's feature tools. */

/* Home shortcuts: one quiet container with dividers between destinations. */
html[data-ui="comfortable"] .home-quick-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: none;
}
html[data-ui="comfortable"] .home-quick-link {
  min-width: 0;
  min-height: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  text-align: center;
  transition: transform .12s ease, background-color .12s ease;
}
html[data-ui="comfortable"] .home-quick-link:active { background: var(--paper-dim); transform: scale(.97); }
html[data-ui="comfortable"] .home-quick-link:nth-child(3n) { border-right: 0; }
html[data-ui="comfortable"] .home-quick-link:nth-last-child(-n + 3) { border-bottom: 0; }
html[data-ui="comfortable"] .home-quick-link-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
html[data-ui="comfortable"] .home-quick-link-label {
  display: block;
  width: 100%;
  min-height: 2.8em;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
  text-wrap: balance;
}
html[data-ui="comfortable"] .home-quick-link-label .label-word { white-space: nowrap; }
html[data-ui="comfortable"] .home-quick-link.is-disabled { color: var(--ink-soft); }
@media (hover: hover) {
  html[data-ui="comfortable"] .home-quick-link:not(.is-disabled):hover { background: var(--paper-dim); }
}
