/* Domain & DNS — Launch → Publish (dns.js). The last of the publish pane's
   .nfp-card glass panels, under the deploys: the connect form, then the
   connected domain with its live checks, the records to add and each
   provider's quick settings. */
.dnsh-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.dnsh-head .nfp-card-head { flex: 1 1 240px; min-width: 0; }
.dnsh-head .pill { flex-shrink: 0; margin-top: 2px; }
/* Netlify's mark on a white tile, like the logos in "How this site goes out" */
.dnsh-logo {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
  background: #fff; border-radius: 11px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.dnsh-logo img { width: 26px; height: 22px; display: block; }
.dnsh-brand {
  display: inline-block; margin-left: 6px; padding: 2px 8px; vertical-align: 2px;
  font: 700 10.5px var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: #01797A; border: 1px solid rgba(5, 189, 186, .55); border-radius: 999px;
}
body.sb-shell .dnsh-brand { color: #05BDBA; }
.dnsh-nf { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; font-size: 12px; }
.dnsh-nf img { width: 15px; height: 13px; display: block; }
.dnsh .audit-empty { margin: 0; }
#launch-pane-publish > .dnsh { margin-top: 22px; }

/* before a Netlify project is attached: what comes first, and who it covers */
.dnsh-wait { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dnsh-wait p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink); max-width: 70ch; }
.dnsh-wait .dnsh-wait-provs { font-size: 12.5px; color: var(--muted); }
.dnsh-wait-provs b { font-weight: 600; color: var(--ink); }

.dnsh-connect { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.dnsh-connect .mode-group { align-self: flex-start; }
.dnsh-connect .mode-group .btn { padding: 6px 14px; font-family: var(--mono); font-size: 12.5px; }

/* Netlify refused the domain: which project has it, and moving it here */
.dnsh-clash { display: flex; flex-direction: column; gap: 8px; padding: 11px 13px; border-radius: 10px; background: rgba(245, 197, 24, .2); border: 1px solid rgba(154, 106, 18, .3); }
.dnsh-clash p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink); max-width: 75ch; }
.dnsh-clash p small { display: block; font-size: 12px; color: var(--muted); }
.dnsh-clash b { font-weight: 600; overflow-wrap: anywhere; }
.dnsh-clash code { font: 500 12px var(--mono); }
.dnsh-clash p a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.dnsh-clash-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dnsh-clash-go a { font-size: 12.5px; color: var(--muted); }
.dnsh-clash-go a:hover { color: var(--ink); }

.dnsh-body { display: flex; flex-direction: column; gap: 12px; }
.dnsh-domain-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.dnsh-names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; min-width: 0; }
.dnsh-primary { font: 700 17px var(--display); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.dnsh-primary:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.dnsh-alias { font: 500 12px var(--mono); color: var(--muted); }
.dnsh-alias i { font: italic 400 11.5px var(--sans); opacity: .8; }

.dnsh-status { display: flex; flex-direction: column; gap: 6px; }
.dnsh-st {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .5);
  font-size: 12.5px; line-height: 1.45;
}
.dnsh-st b { flex: 0 0 62px; font: 700 11px var(--sans); letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.dnsh-st span { flex: 1 1 240px; min-width: 0; color: var(--ink); }
.dnsh-st .btn { padding: 5px 13px; font-size: 12px; }
.dnsh-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: rgba(26, 26, 26, .25); }
.dnsh-dot.ok { background: var(--ok); box-shadow: 0 0 8px rgba(14, 138, 95, .5); }
.dnsh-dot.warn { background: var(--warn); }
.dnsh-dot.fail { background: var(--danger); }
.dnsh-dot.wait { background: transparent; border: 1.5px solid rgba(26, 26, 26, .35); animation: pulse 1.8s ease-in-out infinite; }

.dnsh-lab { margin: 6px 2px -4px; }
.dnsh-records { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .55); }
.dnsh-rec { display: grid; grid-template-columns: 70px minmax(110px, 1fr) minmax(170px, 1.6fr) minmax(170px, 1.6fr); gap: 10px; align-items: start; padding: 10px 12px; }
.dnsh-rec + .dnsh-rec { border-top: 1px solid var(--line-soft); }
.dnsh-rec.head { padding: 7px 12px; background: rgba(255, 255, 255, .45); font: 700 10.5px var(--sans); letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.dnsh-rec > span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.dnsh-rec small { color: var(--muted); font-size: 11.5px; line-height: 1.4; overflow-wrap: anywhere; }
.dnsh-type { font: 600 12px var(--mono); padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-deep); }

.dnsh-copy {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, .8);
  color: var(--ink); cursor: pointer; text-align: left;
  transition: border-color .16s var(--ease-out), background .16s var(--ease-out), transform .3s var(--ease-spring, var(--ease-out));
}
.dnsh-copy code { font: 500 12px var(--mono); overflow-wrap: anywhere; }
.dnsh-copy svg { width: 12px; height: 12px; flex-shrink: 0; opacity: .5; }
.dnsh-copy:hover { border-color: rgba(123, 30, 46, .45); background: #fff; }
.dnsh-copy:hover svg { opacity: 1; color: var(--accent); }
.dnsh-copy:active { transform: scale(.96); transition-duration: .06s; }

.dnsh-chip { font: 700 10px var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.dnsh-chip.ok { color: var(--ok); border-color: rgba(14, 138, 95, .4); }
.dnsh-chip.warn { color: var(--warn); border-color: rgba(154, 106, 18, .4); }
.dnsh-chip.fail { color: var(--danger-ink); border-color: var(--danger-line); }

.dnsh-warn { display: flex; flex-direction: column; gap: 4px; padding: 9px 12px; border-radius: 10px; background: rgba(245, 197, 24, .2); border: 1px solid rgba(154, 106, 18, .3); }
.dnsh-warn p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink); }

.dnsh-quick { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.dnsh-quick-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.dnsh-found { color: var(--muted); font-size: 12.5px; }
.dnsh-found b { color: var(--ink); font-weight: 600; }
.dnsh-provs { display: flex; flex-wrap: wrap; gap: 6px; }
.dnsh-prov {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .55); color: var(--ink);
  font: 600 12.5px var(--sans); cursor: pointer;
  transition: border-color .16s var(--ease-out), background .16s var(--ease-out), transform .3s var(--ease-spring, var(--ease-out));
}
.dnsh-prov:hover { background: rgba(255, 255, 255, .85); border-color: var(--line); }
.dnsh-prov:active { transform: scale(.95); transition-duration: .06s; }
.dnsh-prov.on { background: var(--accent-soft); border-color: rgba(123, 30, 46, .45); color: var(--accent-deep); }
.dnsh-prov i { font: 700 9px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 1px 6px; border-radius: 999px; background: var(--gold, #F5C518); color: var(--ink); font-style: normal; }

.dnsh-guide { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .6); }
.dnsh-open { align-self: flex-start; }
.dnsh-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.5; }
.dnsh-steps b { font-weight: 700; }
.dnsh-fields { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 5px; }
.dnsh-field { display: inline-flex; align-items: center; gap: 6px; }
.dnsh-field em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.dnsh-tip { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* the dark dashboard (dash.css): smoked wells with a white hairline, a step
   brighter and gold-edged under the pointer — like the Netlify rows above */
:where(body.dash) :is(.dnsh-st, .dnsh-records, .dnsh-copy, .dnsh-prov, .dnsh-guide) { background-color: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
:where(body.dash) .dnsh-rec.head { background: rgba(255, 255, 255, .04); }
:where(body.dash) :is(.dnsh-copy, .dnsh-prov):hover { background-color: rgba(255, 255, 255, .1); border-color: rgba(245, 197, 24, .55); }
:where(body.dash) .dnsh-prov.on { background-color: var(--accent-soft); border-color: rgba(240, 163, 176, .5); color: var(--ink); }
:where(body.dash) .dnsh-type { color: var(--ink); }
:where(body.dash) .dnsh-dot.wait { border-color: rgba(255, 255, 255, .45); }
:where(body.dash) :is(.dnsh-warn, .dnsh-clash) { background: rgba(242, 181, 58, .1); border-color: rgba(242, 181, 58, .4); }

@media (max-width: 720px) {
  .dnsh-rec { grid-template-columns: 60px minmax(0, 1fr); }
  .dnsh-rec.head { display: none; }
  .dnsh-rec > span:nth-child(3), .dnsh-rec > span:nth-child(4) { grid-column: 2; }
}
