/* Shared server tools styling. Included once by layouts.dark for tools.server.*. */
/* Server-category related apps share the same square-card presentation as the home grid.
   Scoped so existing text, unit, image and real-estate related tools are unchanged. */
.tn-tool-related--server{min-width:0;margin-top:28px;padding-top:18px;border-top:1px solid var(--tn-line,#777)}
.tn-tool-related--server h2{font-size:1.28rem;margin:0 0 18px}
.tn-tool-related--server .tn-tool-related__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(102px,114px));gap:14px;justify-content:start}
.tn-tool-related--server .tn-tool-related__app{display:flex;min-width:0;flex-direction:column;gap:7px}
.tn-tool-related--server .tn-tool-related__category{align-self:flex-start;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 7px;border-radius:4px;color:#fff;background:var(--tn-category-color,#526B94);font-size:.68rem;font-weight:650;line-height:1.35}
.tn-tool-related--server .tn-tool-related__item{display:flex;box-sizing:border-box;aspect-ratio:1/1;min-width:0;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:8px 5px;border:1px solid #c5c5c5;background:var(--tn-related-bg,#526B94);color:var(--tn-related-text,#fff);text-align:center;text-decoration:none;font-size:.8rem;font-weight:650;line-height:1.3;overflow-wrap:anywhere;transition:filter .15s ease}
.tn-tool-related--server .tn-tool-related__item:hover,.tn-tool-related--server .tn-tool-related__item:focus-visible{filter:brightness(1.14);border-color:#fff}
.tn-tool-related--server .tn-tool-related__item img{width:38px;height:38px;max-height:42%;object-fit:contain}
.tn-tool-related--server .tn-tool-related__item span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
@media(max-width:520px){.tn-tool-related--server .tn-tool-related__grid{grid-template-columns:repeat(auto-fill,minmax(94px,106px));gap:11px}}
@media(prefers-reduced-motion:reduce){.tn-tool-related--server .tn-tool-related__item{transition:none}}

/* Shared form validation / disabled action states for RDAP, SPF and DNS checks. */
.tn-server-validation{min-height:1.25em;font-size:.83rem;line-height:1.6;margin:7px 0 0;color:#b8cbd9}
.tn-server-validation[data-state="error"]{color:#ffb8b8}
.tn-server-validation[data-state="ready"]{color:#b6dece}
.tn-dark .tn-rdap button[data-tn-server-submit]:disabled,
.tn-dark .tn-txt button[data-tn-server-submit]:disabled,
.tn-dark .tn-dns button[data-tn-server-submit]:disabled{opacity:.48;cursor:not-allowed;filter:none;background:#4d5862;border-color:#6e7782}
.tn-dark :is(.tn-rdap,.tn-txt,.tn-dns) input[aria-invalid="true"]{border-color:#f3a2a2}
