:root[data-theme="dark"] {
      --pico-background-color: #0d0f12;
      --pico-card-background-color: #161921;
      --pico-color: #e9eaed;
      --pico-muted-color: #a1a5b0;
      --pico-border-color: #333843;
      --pico-primary: #b83c47;
      --pico-primary-background: #842b32;
      --pico-primary-border: #842b32;
      --pico-primary-hover: #e15a65;
      --pico-primary-hover-background: #a63640;
      --pico-primary-hover-border: #a63640;
      --pico-form-element-background-color: #161921;
      --pico-form-element-border-color: #333843;
    }
    body { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .875rem; }
    main { max-width: 1050px; padding-block: 3rem; }
    header { margin-bottom: 1.5rem; }
    h1 { font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -.07em; color: #e14d4d; margin: 0; }
    header p { color: var(--pico-muted-color); }
    form { display: flex; gap: .75rem; align-items: start; }
    #domain { flex: 1 1 0; min-width: 0; width: auto; }
    #search-button { flex: 0 0 auto; width: auto; white-space: nowrap; }
    #domain, #search-button, #exports a { font-size: .875rem; }
    #status { min-height: 2rem; color: var(--pico-muted-color); }
    #exports { display: flex; gap: .75rem; margin: .25rem 0 1.5rem; }
    #exports[hidden] { display: none; }
    #exports a { flex: 1 1 0; min-width: 0; width: auto; padding: .5rem .85rem; text-align: center; white-space: nowrap; }
    #status.error { color: #ef7c85; }
    #continue-search { width: auto; margin-bottom: 1rem; }
    #continue-search[hidden], #ip-filter[hidden] { display: none; }
    #ip-filter { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
    #clear-ip { width: auto; margin: 0; padding: .3rem .6rem; }
    #results { margin-top: 1.5rem; border: 1px solid var(--pico-border-color); }
    .columns, .result summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, 17rem) 9rem; gap: 1rem; align-items: center; }
    .columns { padding: .8rem 1rem; color: #e14d4d; font-weight: bold; border-bottom: 1px solid var(--pico-border-color); }
    .result { margin: 0; padding: 0; border-bottom: 1px solid var(--pico-border-color); }
    .result:last-child { border-bottom: 0; }
    .result summary { padding: .7rem 1rem; cursor: pointer; list-style: none; }
    .result summary::-webkit-details-marker { display: none; }
    .result summary:hover { background: #222630; }
    .result .name { width: auto; min-width: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--pico-color); font: inherit; text-align: left; overflow-wrap: anywhere; cursor: copy; }
    .result .name:hover, .result .name:focus { background: none; border: 0; box-shadow: none; color: #e14d4d; }
    .result .name::before { content: '+ '; color: #e14d4d; }
    .result[open] .name::before { content: '− '; }
    .result .content { padding: .5rem 1rem 1.5rem; border-top: 1px solid var(--pico-border-color); overflow-wrap: anywhere; }
    .result .content h3 { font-size: .875rem; color: #e14d4d; margin: 1rem 0 .4rem; }
    .result .content p { margin: .4rem 0; }
    .ip-cell { display: flex; flex-wrap: wrap; gap: .25rem .75rem; min-width: 0; }
    .ip-option { display: inline-flex; align-items: center; gap: .35rem; min-width: 0; }
    .ip-option span { overflow-wrap: anywhere; min-width: 0; }
    .ip-toggle { width: .9rem; height: .9rem; min-width: .9rem; margin: 0; padding: 0; border: 1px solid #e9eaed; border-radius: 50%; background: transparent; box-shadow: none; }
    .ip-toggle:hover, .ip-toggle:focus { border-color: #fff; background: #555; box-shadow: none; }
    .ip-toggle[aria-pressed="true"], .ip-toggle[aria-pressed="true"]:hover { background: #fff; border-color: #fff; }
    #pagination { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
    #pagination button { width: auto; padding: .4rem .8rem; }
    @media (max-width: 520px) {
      main { padding-block: 1.5rem; }
      form { flex-wrap: wrap; }
      #search-button { flex: 1 0 100%; width: 100%; }
      .columns, .result summary { grid-template-columns: minmax(0, 1fr) minmax(7rem, 1fr); gap: .4rem; font-size: .78rem; }
      .columns span:last-child, .cert-issued { display: none; }
    }
