.hd-main { max-width: 1120px; }
.hd-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .hd-grid { grid-template-columns: minmax(0, 1fr); } }
.hd-card { min-width: 0; padding: 24px; }
.hd-form { margin-bottom: 16px; }
.hd-label { display: block; font-weight: 600; margin-bottom: 8px; }
.hd-row { display: flex; gap: 8px; flex-wrap: wrap; }
.hd-row input { flex: 1 1 220px; min-width: 0; padding: 10px 12px; font: inherit; font-size: 16px; border: 1px solid #d1d5db; border-radius: 6px; }
.hd-button { min-height: 44px; padding: 10px 16px; font: inherit; font-weight: 600; color: #fff; background: #fb5168; border: 0; border-radius: 6px; cursor: pointer; }
.hd-button:hover { background: #da3551; color: #fff; }
.hd-row input:focus-visible, .hd-record summary:focus-visible, .hd-step-check input:focus-visible { outline: 2px solid #fb5168; outline-offset: 3px; }
.hd-button[disabled] { opacity: 0.6; cursor: wait; }
.hd-status { color: #4b5563; margin: 0 0 16px; }
.hd-provider { display: flex; align-items: center; gap: 12px; padding: 12px; background: #f3f4f6; border-radius: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.hd-provider-name { font-weight: 600; }
.hd-provider-status { font-size: 13px; color: #6b7280; }
.hd-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.hd-table th, .hd-table td { text-align: left; padding: 8px; border-bottom: 1px solid #e5e7eb; vertical-align: top; word-break: break-all; }
.hd-table th { font-weight: 600; color: #374151; }
.hd-record { border: 1px solid #e5e7eb; border-radius: 6px; margin-bottom: 12px; }
.hd-record summary { cursor: pointer; padding: 12px; font-weight: 600; }
.hd-steps { margin: 0; padding: 0 12px 12px 32px; }
.hd-steps li { margin: 6px 0; }
.hd-field { display: flex; align-items: center; gap: 8px; margin: 6px 0; flex-wrap: wrap; min-width: 0; }
.hd-field code { max-width: 100%; overflow-wrap: anywhere; background: #f3f4f6; padding: 6px 8px; border-radius: 4px; }
.hd-copy { min-height: 36px; flex-shrink: 0; font: inherit; font-size: 13px; padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 4px; background: white; cursor: pointer; }
.hd-copy:hover { background: #f3f4f6; }
.hd-copy-status { display: block; font-size: 12px; color: #4b5563; }
.hd-automatic-setup { padding: 20px; margin-bottom: 20px; border: 1px solid #d1d5db; border-radius: 10px; background: #f9fafb; }
.hd-automatic-title { margin: 0; font-size: 20px; line-height: 1.4; }
.hd-automatic-copy { margin: 12px 0 0; font-size: 14px; line-height: 1.65; color: #4b5563; }
.hd-automatic-actions { display: grid; gap: 20px; margin-top: 20px; }
.hd-automatic-record { min-width: 0; }
.dns-demo-page .hd-automatic-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; color: #fff; text-align: center; overflow-wrap: anywhere; }
.dns-demo-page .hd-automatic-button:hover { color: #fff; background: #da3551; }
.hd-automatic-value { margin: 8px 0 0; font-size: 13px; color: #6b7280; overflow-wrap: anywhere; }
.hd-record-values { margin: 16px 0; }
.hd-record-values > summary { padding: 12px 0; cursor: pointer; color: #4b5563; font-size: 14px; }
.hd-record-values > summary:focus-visible { outline: 2px solid #fb5168; outline-offset: 3px; }
.hd-verify { margin-top: 16px; }
.hd-verify-results { margin-top: 12px; }
.hd-verify-row { display: flex; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid #e5e7eb; font-size: 14px; flex-wrap: wrap; }
.hd-ok { color: #047857; font-weight: 600; }
.hd-fail { color: #b91c1c; font-weight: 600; }
.hd-raw { position: sticky; top: 16px; }
.hd-pre { margin: 12px 0 0; max-height: 70vh; overflow: auto; font-size: 12px; line-height: 1.5; background: #111827; color: #e5e7eb; padding: 12px; border-radius: 6px; }
.hd-raw .dns-demo-card-heading { flex-wrap: wrap; }
.hd-raw .dns-demo-badge { max-width: 100%; margin-left: 0; overflow-wrap: anywhere; }
.hd-domain { margin: 28px 0 0; min-width: 0; }
.hd-domain-title { margin: 0 0 14px; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
.hd-provider-message { font-size: 14px; color: #4b5563; line-height: 1.6; overflow-wrap: anywhere; }
.hd-step-body { min-width: 0; overflow-wrap: anywhere; }
.hd-dashboard-summary, .hd-guidance, .hd-guide-kicker, .hd-guide-progress, .hd-step-check { display: none; }

.hd-grid[data-design="dashboard"] { grid-template-columns: minmax(0, 1fr); }
.hd-grid[data-design="dashboard"] .hd-raw { position: static; margin-top: 0; }
.hd-grid[data-design="dashboard"] .hd-pre { max-height: 340px; }
.hd-grid[data-design="dashboard"] .hd-dashboard-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.hd-metric { display: flex; flex-direction: column; min-width: 0; padding: 16px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f9fafb; }
.hd-metric dd { margin: 0 0 4px; color: #111827; font-size: 23px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.hd-metric dt { order: 1; color: #6b7280; font-size: 12px; }
.hd-grid[data-design="dashboard"] .hd-records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.hd-grid[data-design="dashboard"] .hd-record { margin: 0; background: #f9fafb; }
.hd-grid[data-design="dashboard"] .hd-steps { font-size: 14px; }
.hd-grid[data-design="dashboard"] .hd-table { font-size: 13px; }
.hd-grid[data-design="dashboard"] .hd-provider { background: #fff; border: 1px solid #e5e7eb; }

.hd-grid[data-design="guided"] { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.hd-grid[data-design="guided"] .hd-guidance,
.hd-grid[data-design="guided"] .hd-guide-kicker,
.hd-grid[data-design="guided"] .hd-guide-progress { display: block; }
.hd-guide-kicker { margin: 0 0 14px; color: #4b5563; font-size: 13px; font-weight: 600; letter-spacing: .035em; }
.hd-guidance { margin-top: 28px; border-top: 1px solid #e5e7eb; padding-top: 24px; }
.hd-guidance > p:last-child { margin: 0; color: #6b7280; font-size: 14px; line-height: 1.6; }
.hd-grid[data-design="guided"] .hd-record { border: 0; border-left: 3px solid #e5e7eb; border-radius: 0; padding-left: 8px; margin-bottom: 24px; }
.hd-grid[data-design="guided"] .hd-record summary { background: #f9fafb; }
.hd-guide-progress { margin: 12px; font-size: 12px; color: #6b7280; }
.hd-grid[data-design="guided"] .hd-steps { list-style: none; padding: 0 8px 8px; counter-reset: guided-step; }
.hd-grid[data-design="guided"] .hd-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid #e5e7eb; counter-increment: guided-step; }
.hd-grid[data-design="guided"] .hd-step-body::before { display: block; content: "Step " counter(guided-step); margin-bottom: 4px; color: #6b7280; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hd-grid[data-design="guided"] .hd-step-check { display: flex; align-items: flex-start; justify-content: center; padding-top: 2px; min-height: 44px; cursor: pointer; }
.hd-step-check input { width: 20px; height: 20px; margin: 0; accent-color: #da3551; cursor: pointer; }
.hd-grid[data-design="guided"] .hd-step[data-complete="true"] { background: #f3f4f6; }
.hd-grid[data-design="guided"] .hd-verify { border-top: 1px solid #e5e7eb; padding-top: 24px; }

@media (max-width: 860px) {
  .hd-grid[data-design="guided"] { grid-template-columns: minmax(0, 1fr); }
  .hd-grid[data-design="dashboard"] .hd-records { grid-template-columns: minmax(0, 1fr); }
  .hd-raw { position: static; margin-top: 0; }
}

@media (max-width: 480px) {
  .hd-card { padding: 20px 16px; }
  .hd-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hd-row input { width: 100%; }
  .hd-grid[data-design="dashboard"] .hd-dashboard-summary { gap: 6px; }
  .hd-metric { padding: 10px 8px; }
  .hd-metric dd { font-size: 18px; }
  .hd-metric dt { font-size: 11px; }
  .hd-table th, .hd-table td { padding: 6px 4px; font-size: 12px; }
  .hd-copy { min-height: 44px; }
}
