/* Tools hub, "the firm" direction (DESIGN.md, color.firm). Loads after /home.css and reads its tokens and shell classes
   (top bar, type, buttons, bands, case file, footer). Only what the hub adds lives here. */

.f-links a[aria-current="page"], .f-menu__panel a[aria-current="page"] { color: var(--teal-deep); font-weight: 600; }

/* The example in the first screen: one schedule, the same run in both Airflow versions. */
.h-run div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-hover); font-size: 14px; }
.h-run div:first-child { border-top: 1px solid var(--border-hover); }
.h-run div:last-child { border-bottom: 0; }
.h-run dt { color: var(--text-muted); }
.h-run dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.h-run .h-run__late dd { color: var(--teal); }

/* The list of tools: one ruled row each. */
.h-tools { list-style: none; border-top: 1px solid var(--bg); }
.h-tool { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); gap: 32px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--text-muted); }
.h-tool .f-h3 { margin-bottom: 0; }
.h-tool p { color: var(--text-dim); max-width: 34em; }
.h-tool__go { text-align: right; color: var(--text-dim); }
.h-tool--planned .f-h3 { color: var(--text-dim); }

/* Closing band on ink. */
.h-close { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; align-items: end; }
.h-close .f-sub { max-width: 36em; }
.h-close__go { text-align: right; }

@media (max-width: 960px) {
    .h-tool { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
    .h-tool__go { text-align: left; }
    .h-close { grid-template-columns: 1fr; gap: 32px; }
    .h-close__go { text-align: left; }
}

@media (max-width: 560px) {
    .h-run div { flex-direction: column; gap: 0; }
    .h-run dd { text-align: left; }
    .h-close__go .f-btn { width: 100%; text-align: center; }
}
