:root {
  --paper:#faf8f3;
  --white:#fffefb;
  --ink:#28342f;
  --muted:#65705c;
  --line:#e6e7dd;
  --orange:#db643e;
  --orange-dark:#bf4e2b;
  --sage:#edf0e6;
  --green:#3f7255;
  --font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:24px;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font);
  font-size:14px;
  -webkit-font-smoothing:antialiased;
}

button,input {
  font:inherit;
}

button,a,input {
  -webkit-tap-highlight-color:transparent;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:wait;
}

button,a,input {
  outline-offset:4px;
}

button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
  outline:2px solid var(--orange);
}

button {
  color:inherit;
}

svg {
  width:20px;
  height:20px;
  flex-shrink:0;
}

button svg {
  display:block;
}

::selection {
  background:#f7d2bc;
}

.site-shell {
  max-width:1224px;
  margin:0 auto;
  padding:0 48px;
}

.site-header {
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}

.wordmark {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:22px;
  font-weight:700;
  letter-spacing:-1px;
}

.saved-jump {
  display:flex;
  gap:9px;
  align-items:center;
  color:#576157;
  font-size:12px;
}

.saved-jump svg {
  height:17px;
  width:17px;
}

.saved-jump:hover {
  color:var(--orange);
}

.workspace {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:32px;
  align-items:start;
  padding-bottom:48px;
}

.explorer {
  min-width:0;
}

.search-card {
  padding:23px 24px 18px;
  border:1px solid #e1e2d7;
  border-radius:14px;
  background:var(--white);
  box-shadow:0 3px 4px #313c2c02,0 10px 26px #313c2c04;
  transition:border-color .2s,box-shadow .2s;
}

.search-card:focus-within {
  border-color:#b4be9e;
  box-shadow:0 0 0 3px #b4be9e16,0 10px 26px #313c2c04;
}

.search-field {
  display:flex;
  align-items:center;
  gap:10px;
}

.search-icon {
  width:23px;
  height:23px;
  color:#838b7b;
}

.search-field input {
  padding:10px 0;
  min-width:0;
  width:100%;
  font-size:19px;
  font-weight:450;
  letter-spacing:-.55px;
  border:0;
  background:transparent;
  color:var(--ink);
  outline:none;
}

.search-field input::-webkit-search-cancel-button {
  cursor:pointer;
  opacity:.55;
}

.search-field input::placeholder {
  color:#65705c;
  font-weight:400;
}

.search-field input:focus-visible {
  outline:none;
}

.search-shortcut {
  font-family:inherit;
  border:1px solid var(--line);
  color:#9b9e90;
  border-radius:4px;
  font-size:12px;
  padding:2px 7px;
}

.search-field:focus-within .search-shortcut {
  display:none;
}

.search-submit {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:0;
  background:var(--orange-dark);
  color:white;
  border-radius:8px;
  font-size:12px;
  font-weight:600;
  padding:13px 14px;
  margin-left:4px;
  transition:background .15s,transform .15s;
}

.search-submit:hover {
  background:#a84125;
  transform:translateY(-1px);
}

.search-submit svg {
  width:17px;
  height:17px;
}

.extension-controls {
  display:flex;
  align-items:center;
  gap:11px;
  border-top:1px solid #eeeee6;
  padding-top:17px;
  margin-top:19px;
}

.extension-label {
  color:#65705c;
  font-size:11px;
  flex-shrink:0;
}

.extension-chips {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
}

.extension-chip {
  border:1px solid transparent;
  padding:5px 8px;
  border-radius:5px;
  font-size:11px;
  line-height:1;
  background:#eff1e9;
  color:#59664f;
  transition:background .15s,border-color .15s;
}

.extension-chip:hover {
  border-color:#a1b08a;
}

.extension-chip[aria-pressed=false] {
  background:transparent;
  border-color:#e7e8df;
  color:#65705c;
}

.selected-extension {
  display:inline-flex;
  align-items:center;
  min-height:30px;
  background:#e6edde;
  color:#3b5338;
}

.extension-picker {
  margin-top:16px;
  color:var(--ink);
  font-size:12px;
}

.extension-picker summary {
  display:flex;
  align-items:center;
  gap:10px;
  width:fit-content;
  cursor:pointer;
  list-style:none;
  font-weight:500;
}

.extension-picker summary::-webkit-details-marker {
  display:none;
}

.extension-picker summary::after {
  content:'+';
  font-size:16px;
}

.extension-picker[open] summary::after {
  content:'−';
}

#extension-count {
  font-size:11px;
  color:var(--muted);
  font-weight:400;
}

.extension-picker-body {
  margin-top:14px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:8px;
}

.extension-picker label {
  display:block;
  margin-bottom:8px;
}

#extension-filter {
  width:100%;
  min-width:0;
  padding:10px;
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--white);
  color:var(--ink);
  font-size:14px;
}

.extension-options {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(86px,1fr));
  gap:6px;
  max-height:290px;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:4px;
  margin:8px -4px 0;
}

.extension-option {
  text-align:left;
  min-height:32px;
  font-size:12px;
}

.extension-option::before {
  content:'+ ';
}

.extension-option[aria-pressed=true] {
  background:#e1ead8;
  border-color:#9dab8b;
  color:#344f30;
}

.extension-option[aria-pressed=true]::before {
  content:'✓ ';
}

.add-extension {
  display:inline-flex;
  margin-top:12px;
  padding:8px 10px;
  background:var(--sage);
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:6px;
  max-width:100%;
  overflow-wrap:anywhere;
}

.extension-feedback {
  margin:12px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.extension-option[hidden],.add-extension[hidden] {
  display:none;
}

.domain-row.is-available {
  background:#f0f7ed;
  box-shadow:inset 3px 0 #427e4c;
}

.domain-row.is-available h3,.saved-name.is-available {
  color:#26613a;
}

.saved-name.is-available {
  font-weight:600;
}

.search-hint {
  font-size:11px;
  line-height:1.6;
  margin:13px 0 0;
  color:#65705c;
}

.search-hint span {
  color:#717b68;
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:13px;
}

.section-heading h2 {
  font-size:12px;
  margin:0;
  font-weight:650;
  letter-spacing:-.1px;
}

.result-count {
  font-size:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  margin-left:5px;
  background:#eceee4;
  border-radius:50%;
  color:#5d6a50;
}

.results-guide {
  font-size:11px;
  display:flex;
  align-items:center;
  gap:4px;
  color:#65705c;
}

.results-guide svg {
  height:13px;
  width:13px;
}

.domain-list {
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--white);
  overflow:hidden;
}

.domain-row {
  padding:11px 17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:79px;
}

.domain-row.is-pending {
  opacity:.65;
}

.domain-row+.domain-row {
  border-top:1px solid #eeeeE6;
}

.domain-info {
  /* Equal detail slots keep the name centered across lookup states. */
  display:grid;
  grid-template-rows:1.5em auto 1.5em;
  font-size:11px;
  min-width:0;
  flex:1;
}

.domain-name-line {
  grid-row:2;
  display:flex;
  align-items:center;
  gap:6px;
}

.domain-name-line h3 {
  font-size:17px;
  font-weight:550;
  line-height:1.4;
  margin:0;
  letter-spacing:-.45px;
  overflow-wrap:anywhere;
}

.domain-detail {
  grid-row:3;
  font-size:11px;
  line-height:1.5;
  min-height:1.5em;
  color:#65705c;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  margin:0;
  max-width:100%;
}

.domain-actions {
  display:flex;
  align-items:center;
  gap:11px;
  flex-shrink:0;
}

.domain-actions form {
  margin:0;
}

.status {
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  width:6.5em;
  gap:5px;
  font-size:11px;
  font-weight:500;
  white-space:nowrap;
  line-height:1.2;
  color:#65705c;
}

.status-unknown {
  color:#856132;
}


.spinner {
  width:8px;
  height:8px;
  border:1px solid #c3c5b7;
  border-top-color:#73816c;
  border-radius:50%;
  animation:spin .8s linear infinite;
}

.save-button {
  height:32px;
  width:32px;
  padding:6px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#a9ad9c;
  transition:color .15s,background .15s,transform .15s;
}

.save-button:hover {
  color:var(--orange);
  background:#fff2e6;
  transform:scale(1.08);
}

.save-button.is-saved {
  color:#ce813a;
}

.save-button.is-saved svg {
  fill:#f6d6a5;
  stroke:#ce813a;
}

.icon-button {
  border:0;
  background:transparent;
  padding:4px;
  color:#a3a997;
  border-radius:5px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.icon-button svg {
  width:16px;
  height:16px;
}

.icon-button:hover {
  color:var(--orange);
  background:#f5f1e7;
}

.copy-domain {
  opacity:0;
  transition:opacity .15s;
}

.domain-row:hover .copy-domain,.copy-domain:focus-visible {
  opacity:1;
}

.shortlist-column {
  position:sticky;
  top:24px;
}

.saved-panel {
  background:#f0f1e8;
  border:1px solid #e1e5d5;
  border-radius:13px;
  padding:22px 21px 16px;
  scroll-margin-top:24px;
}

.shortlist-heading {
  display:flex;
  align-items:center;
  gap:8px;
}

.shortlist-title-icon {
  color:#8d9979;
  display:flex;
}

.shortlist-title-icon svg {
  width:17px;
  height:17px;
}

.shortlist-heading h2 {
  font-size:14px;
  font-weight:600;
  letter-spacing:-.2px;
  margin:0;
  flex:1;
}

.saved-count {
  background:#e4e8d8;
  color:#5d6a50;
  font-size:11px;
  border-radius:50%;
  height:22px;
  min-width:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.saved-list {
  margin:23px 0 10px;
}

.saved-item {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:10px 0;
  border-bottom:1px solid #e0e5d3;
}

.saved-item:last-child {
  border-bottom:0;
}

.saved-name {
  font-size:13px;
  font-weight:500;
  line-height:1.5;
  overflow-wrap:anywhere;
  letter-spacing:-.2px;
  min-width:0;
}

.saved-name:hover {
  color:var(--orange);
}

.saved-item form {
  flex-shrink:0;
}

.remove-saved {
  opacity:.65;
}

.remove-saved:hover {
  opacity:1;
}

.shortlist-tools {
  display:flex;
  gap:17px;
  margin:16px 0 20px;
}

.text-button {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:0;
  border:0;
  background:none;
  font-size:11px;
  color:#78856a;
}

.text-button svg {
  width:13px;
  height:13px;
}

.text-button:hover {
  color:var(--orange);
}

.notice {
  padding:14px 16px;
  border-radius:8px;
  margin:16px 0;
  font-size:12px;
  line-height:1.6;
}

.notice-error {
  border:1px solid #e9c5b8;
  background:#fdf1e9;
  color:#9c4c32;
}

.notice[hidden] {
  display:none;
}

.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translate(-50%,15px);
  border-radius:9px;
  background:var(--ink);
  color:var(--paper);
  padding:12px 19px;
  font-size:12px;
  box-shadow:0 6px 24px #28342f22;
  pointer-events:none;
  opacity:0;
  transition:opacity .2s,transform .2s;
  z-index:20;
  max-width:calc(100vw - 32px);
  text-align:center;
}

.toast.is-visible {
  opacity:1;
  transform:translate(-50%,0);
}

.htmx-request .search-submit {
  opacity:.75;
}

.htmx-request.save-button,.htmx-request .save-button {
  opacity:.55;
}

.htmx-indicator {
  opacity:0;
}

.htmx-request .htmx-indicator,.htmx-request.htmx-indicator {
  opacity:1;
}

@keyframes spin {
  to {
    transform:rotate(360deg);
  }
}

.intro {
  padding:36px 0 24px;
}

h1 {
  margin:0;
  font-size:30px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:-.8px;
}

.search-label {
  display:block;
  margin-bottom:12px;
  font-size:12px;
  font-weight:500;
  color:var(--muted);
}

.results:has(.domain-list),.results:has(.notice) {
  padding-top:24px;
}

.shortlist-empty {
  margin:22px 0 8px;
  font-size:13px;
  line-height:1.6;
  color:var(--muted);
}

@media(min-width:1350px) {
  .site-header {
    height:72px;
  }

  .workspace {
    gap:40px;
    grid-template-columns:minmax(0,1fr) 306px;
  }
}

@media(max-width:1050px) {
  .site-shell {
    padding:0 32px;
  }

  .workspace {
    gap:22px;
    grid-template-columns:minmax(0,1fr) 270px;
  }

  .search-card {
    padding:20px 18px 17px;
  }

  .search-field input {
    font-size:17px;
  }

  .search-shortcut {
    display:none;
  }

  .extension-controls {
    align-items:flex-start;
  }

  .extension-label {
    padding-top:5px;
  }

  .extension-chip {
    padding:5px 7px;
  }

  .domain-row {
    padding:11px 12px;
  }

  .domain-actions {
    gap:4px;
  }

  .domain-name-line h3 {
    font-size:15px;
  }

  .results-guide {
    display:none;
  }
}

@media(max-width:780px) {
  .site-shell {
    padding:0 24px;
    max-width:660px;
  }

  .site-header {
    height:72px;
  }

  .wordmark {
    font-size:20px;
  }

  .saved-jump {
    font-size:11px;
    gap:6px;
  }

  .workspace {
    grid-template-columns:1fr;
    gap:26px;
  }

  .search-card {
    padding:21px;
  }

  .search-field input {
    font-size:19px;
  }

  .extension-controls {
    align-items:center;
  }

  .extension-chip {
    padding:6px 9px;
  }

  .shortlist-column {
    position:static;
  }

  .saved-panel {
    padding:23px;
  }

  .copy-domain {
    opacity:.6;
  }

  .domain-row {
    padding:11px 16px;
  }

  .domain-name-line h3 {
    font-size:17px;
  }

  .domain-actions {
    gap:10px;
  }

  .results-guide {
    display:flex;
  }

  .saved-list {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 22px;
    margin-top:17px;
  }

  .saved-item:last-child {
    border-bottom:1px solid #e0e5d3;
  }
}

@media(max-width:420px) {
  .site-shell {
    padding:0 19px;
  }

  .site-header {
    height:72px;
  }

  .wordmark {
    font-size:18px;
  }

  .saved-jump svg {
    display:none;
  }

  .saved-jump {
    font-size:11px;
  }

  .search-card {
    padding:18px 15px;
  }

  .search-field {
    gap:7px;
  }

  .search-field input {
    font-size:16px;
    letter-spacing:-.4px;
  }

  .search-icon {
    width:19px;
    height:19px;
  }

  .search-submit {
    padding:11px;
  }

  .search-submit span {
    display:none;
  }

  .extension-controls {
    gap:8px;
    align-items:flex-start;
  }

  .extension-label {
    font-size:11px;
  }

  .extension-chips {
    gap:5px;
  }

  .extension-chip {
    font-size:11px;
    padding:5px 7px;
  }

  .search-hint {
    font-size:11px;
  }

  .results-guide {
    display:none;
  }

  .domain-row {
    padding:11px 11px;
    gap:5px;
  }

  .domain-name-line {
    gap:1px;
  }

  .domain-name-line h3 {
    font-size:15px;
  }

  .domain-actions {
    gap:4px;
  }

  .status {
    font-size:11px;
    gap:4px;
  }

  .save-button {
    width:29px;
    height:29px;
    padding:5px;
  }

  .save-button svg {
    width:19px;
    height:19px;
  }

  .domain-detail {
    font-size:11px;
  }

  .saved-list {
    grid-template-columns:1fr;
  }

  .saved-panel {
    padding:20px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    animation-duration:.001ms!important;
    transition:none!important;
  }

  .spinner {
    border-top-color:#73816c;
  }
}

@media(hover:none) {
  .copy-domain {
    opacity:.6;
  }
}

@media print {
  body {
    background:white;
  }

  .site-header,.explorer,.shortlist-tools,.remove-saved {
    display:none;
  }

  .workspace {
    display:block;
  }

  .saved-panel {
    background:white;
    border:0;
  }

  .saved-list {
    display:block;
  }

  .site-shell {
    padding:0;
  }
}

.noscript-note {
  border:1px solid var(--line);
  background:var(--sage);
  color:#65705c;
}
