.dns-records-page [hidden]{display:none!important}
.dns-records-page{width:100%;min-width:0;overflow-wrap:anywhere}
.dns-records-page :is(.panel,form,label,fieldset,.dns-records-fields,.dns-records-output,article,pre,dl,dt,dd){min-width:0;max-width:100%}
.dns-records-page form{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;width:100%}
.dns-records-page :is(input:not([type=checkbox]),select,textarea),.dns-records-page :is(input:not([type=checkbox]),select,textarea):focus{font-size:16px;font-size:max(16px,1rem);width:100%;max-width:100%;min-width:0;min-height:44px;box-sizing:border-box}
.dns-records-page fieldset{border:1px solid var(--line);border-radius:12px;padding:.8rem}
.dns-records-types{display:flex;flex-wrap:wrap;gap:.5rem 1rem}
.dns-records-types label{display:flex;align-items:center;gap:.35rem;min-height:44px;font-size:16px}
.dns-records-types input{width:20px;height:20px;flex:none}
.dns-records-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.dns-records-page :is(button,summary){min-height:44px;white-space:normal;overflow-wrap:anywhere}
.dns-records-page summary{cursor:pointer}
.dns-records-page button{max-width:100%;min-width:0}
.dns-records-page :is(pre,code){white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow:auto}
.dns-records-value{max-height:22rem;overflow:auto;padding:.75rem;background:var(--soft);border-radius:.5rem}
.dns-records-check{border:1px solid var(--line);border-inline-start:5px solid var(--line);padding:1rem;margin-block:1rem;border-radius:.8rem}
.dns-records-check[data-status=ok]{border-inline-start-color:#27824c}.dns-records-check[data-status=ng]{border-inline-start-color:#c52c38}.dns-records-check[data-status=warning]{border-inline-start-color:#b07b00}.dns-records-check[data-status=info]{border-inline-start-color:#788596}
.dns-records-badge{font-weight:700;display:inline-block;padding:.3rem .65rem;border:2px solid currentColor;border-radius:999px;max-width:100%;overflow-wrap:anywhere}
.dns-records-badge[data-status=ok]{color:#14713a}.dns-records-badge[data-status=ng]{color:#b51c2a}.dns-records-badge[data-status=warning]{color:#806000}.dns-records-badge[data-status=info]{color:var(--muted)}
[data-theme=dark] .dns-records-badge[data-status=ok]{color:#85e9ad}[data-theme=dark] .dns-records-badge[data-status=ng]{color:#ff9ba5}[data-theme=dark] .dns-records-badge[data-status=warning]{color:#f6d66b}
@media(prefers-color-scheme:dark){[data-theme=auto] .dns-records-badge[data-status=ok]{color:#85e9ad}[data-theme=auto] .dns-records-badge[data-status=ng]{color:#ff9ba5}[data-theme=auto] .dns-records-badge[data-status=warning]{color:#f6d66b}}
#dns-records-tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin-block:1rem}#dns-records-tabs [aria-selected=true]{border:2px solid var(--accent);font-weight:700}
.dns-records-page dl{display:grid;grid-template-columns:minmax(5rem,.4fr) minmax(0,1fr);gap:.5rem}.dns-records-page dd{margin:0;overflow-wrap:anywhere}
.dns-records-related{display:flex;flex-wrap:wrap;gap:1rem}
.dns-records-home-card{display:block;text-decoration:none;color:var(--ink);min-width:0;max-width:100%;overflow-wrap:anywhere}
.dns-records-home-card :is(h2,p){overflow-wrap:anywhere}
@media(max-width:640px){.dns-records-fields,.dns-records-page dl{grid-template-columns:minmax(0,1fr)}.dns-records-page dd{margin-bottom:.65rem}}
@media(min-width:701px){body .top:has([data-dns-records-nav]){flex-wrap:wrap}body .top:has([data-dns-records-nav]) nav{min-width:0;max-width:100%;flex-wrap:wrap;justify-content:flex-end}body .top:has([data-dns-records-nav]) nav select{width:auto;max-width:100%}}
/* Native select captions may otherwise contribute their intrinsic width in WebKit. */
.dns-records-page select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dns-records-page .dns-records-types label{flex:0 0 auto;flex-direction:row;min-width:0;max-width:100%}
.dns-records-page .dns-records-types input{padding:0;min-height:20px;min-width:20px;width:20px;height:20px}

/* R2: readable record values; internal identifiers stay in closed technical details. */
.dns-records-primary-value{font-size:1.2rem;font-weight:700;overflow-wrap:anywhere;white-space:pre-wrap}
.dns-records-technical{margin-block:.75rem}
.dns-records-record-value{min-width:0;max-width:100%}
