/* Seoffix Tech Lab - Brand Name Studio. Token-only: every chrome colour comes from seoffix-web-tokens.css.
   The coloured name cards set their own background and ink inline, with contrast of at least 4.5:1. */
.nss-app { color: var(--sfx-ink); }
.nss-head { margin-bottom: var(--sfx-space-4); }
.nss-eyebrow { margin: 0 0 var(--sfx-space-1); font-size: var(--sfx-fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--sfx-primary); font-weight: 600; }
.nss-head h2 { margin: 0 0 var(--sfx-space-2); font-family: var(--sfx-font-brand); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; color: var(--sfx-ink); }
.nss-lead { margin: 0; max-width: 760px; font-size: 14px; line-height: 1.55; color: var(--sfx-ink-secondary); }

.nss-panel { background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-card); box-shadow: var(--sfx-shadow-card); padding: var(--sfx-space-6); }
.nss-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sfx-space-4); }
.nss-grid-3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--sfx-space-4); }
.nss-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sfx-space-4); min-width: 0; }
.nss-field label, .nss-label { font-size: 12px; font-weight: 600; color: var(--sfx-ink-secondary); display: flex; justify-content: space-between; gap: var(--sfx-space-2); }
.nss-opt { font-weight: 400; color: var(--sfx-muted); }
.nss-field input[type="text"], .nss-field select { width: 100%; box-sizing: border-box; background: var(--sfx-card-bg); color: var(--sfx-ink); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-ctrl); padding: 9px 11px; font-size: 14px; }
.nss-field input:focus, .nss-field select:focus { outline: 2px solid var(--sfx-primary); outline-offset: 0; border-color: var(--sfx-primary); }
.nss-err { margin: 0; font-size: 12px; color: var(--sfx-red); }
.nss-err[hidden], .nss-results[hidden], .nss-shortlist[hidden], #nss-more[hidden] { display: none; }

.nss-chips, .nss-tlds { display: flex; flex-wrap: wrap; gap: var(--sfx-space-2); }
.nss-chip { appearance: none; padding: 6px 12px; background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-pill); font-size: 12px; font-weight: 600; color: var(--sfx-ink-secondary); cursor: pointer; }
.nss-chip:hover { border-color: var(--sfx-primary); }
.nss-chip.is-on { border-color: var(--sfx-primary); background: var(--sfx-primary-soft); color: var(--sfx-ink); }
.nss-seg { display: inline-flex; align-self: flex-start; background: var(--sfx-subtle-bg); border-radius: var(--sfx-radius-ctrl); padding: 3px; }
.nss-seg-btn { appearance: none; border: 0; background: none; padding: 7px 14px; border-radius: var(--sfx-radius-ctrl); font-size: 13px; font-weight: 600; color: var(--sfx-muted); cursor: pointer; }
.nss-seg-btn.is-on { background: var(--sfx-card-bg); color: var(--sfx-ink); box-shadow: var(--sfx-shadow-tab); }
.nss-tld { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-pill); font-size: 12px; font-weight: 600; color: var(--sfx-ink-secondary); cursor: pointer; background: var(--sfx-card-bg); }
.nss-tld input { margin: 0; accent-color: var(--sfx-primary); }
.nss-chip:focus-visible, .nss-seg-btn:focus-visible, .nss-tld:focus-within, .nss-badge:focus-visible, .nss-card .sfx-btn:focus-visible { outline: 2px solid var(--sfx-primary); outline-offset: 2px; }
.nss-actions-row { display: flex; gap: var(--sfx-space-2); flex-wrap: wrap; }
.nss-app .sfx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; cursor: pointer; }
.nss-app .sfx-btn.is-busy { opacity: .6; cursor: progress; }

.nss-results { margin-top: var(--sfx-space-5); }
.nss-meta { margin: 0 0 var(--sfx-space-3); font-size: 13px; color: var(--sfx-ink-secondary); }
.nss-shortlist { display: flex; align-items: center; justify-content: space-between; gap: var(--sfx-space-3); flex-wrap: wrap; background: var(--sfx-primary-soft); border: 1px solid var(--sfx-primary); border-radius: var(--sfx-radius-card); padding: var(--sfx-space-3) var(--sfx-space-4); margin-bottom: var(--sfx-space-4); font-size: 13px; color: var(--sfx-ink); }

.nss-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: var(--sfx-space-4); }
.nss-card { display: flex; flex-direction: column; min-width: 0; background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-card); box-shadow: var(--sfx-shadow-card); overflow: hidden; }
.nss-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 16 / 10; padding: 0 14px; box-sizing: border-box; overflow: hidden; text-align: center; }
.nss-brand { display: block; max-width: 100%; white-space: nowrap; line-height: 1.1; font-size: 40px; }
.nss-art-domain { display: block; max-width: 100%; font-size: 12px; font-weight: 600; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nss-body { display: flex; flex-direction: column; gap: var(--sfx-space-2); padding: var(--sfx-space-3) var(--sfx-space-4) var(--sfx-space-4); }
.nss-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sfx-space-2); min-width: 0; }
.nss-domain { font-size: 13px; font-weight: 600; color: var(--sfx-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.nss-badge { appearance: none; cursor: pointer; flex: none; }
.nss-tag { font-size: 11px; color: var(--sfx-muted); }
.nss-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.nss-actions .sfx-btn { flex: 1 1 auto; min-width: 0; padding-left: 10px; padding-right: 10px; font-size: 12px; }
.nss-register.is-off { pointer-events: none; }
.nss-save.is-saved { border-color: var(--sfx-green); color: var(--sfx-green); }

.nss-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); max-width: min(92vw, 460px); background: var(--sfx-studio-dark); color: var(--sfx-studio-light); border-radius: var(--sfx-radius-ctrl); padding: 10px 16px; font-size: 13px; box-shadow: var(--sfx-shadow-tooltip); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 60; }
.nss-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .nss-grid-2, .nss-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .nss-panel { padding: var(--sfx-space-4); }
  .nss-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--sfx-space-3); }
}
@media (max-width: 480px) {
  .nss-cards { grid-template-columns: minmax(0, 1fr); }
}
