/* DailyCRM — free cleaning business name generator (/tools/cleaning-business-name-generator/). Builds on /style.css and /tools/tools.css. */
.ng-section { background: var(--sand); padding: 28px 0 88px; }

.ng-privacy { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; padding: 18px 20px; border-radius: 14px; background: #ecf8f2; border: 1px solid #bfe5d2; color: #14513a; }
.ng-privacy .i { width: 24px; height: 24px; color: #1f9d6b; margin-top: 2px; flex: none; }
.ng-privacy h2 { font-size: 21px; line-height: 1.3; color: #0f3d2c; }
.ng-privacy p { margin-top: 4px; font-size: 15px; line-height: 1.55; }

.ng-app { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.ng-form { position: sticky; top: 92px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 8px 24px 24px; }
.ng-fields { display: grid; gap: 16px; }
.ng-fields + .field, .field + .ng-fields { margin-top: 16px; }
.ng-style-field { margin-top: 16px; }
.ng-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ng-chips label { position: relative; }
.ng-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ng-chips span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.ng-chips span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.ng-chips input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.ng-chips input:checked + span::before { background: currentColor; }
.ng-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ng-form .seg span { font-size: 14px; padding: 0 8px; }
.ng-go { margin-top: 22px; }
.ng-go .btn { width: 100%; }
.ng-status { margin-top: 10px; font-size: 14px; color: #177a53; min-height: 21px; }
.ng-status.is-error { color: #c2410c; }

.ng-results { min-width: 0; }
.ng-results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ng-results-head h2 { font-size: 28px; }
.ng-results-head h2 span { font-family: var(--text); font-size: 16px; color: var(--muted); }
.ng-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ng-filter select { height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background-color: var(--paper); font: inherit; font-size: 14px; color: var(--ink); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.ng-filter select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(62, 99, 221, 0.18); }
.ng-fav-toggle { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--paper); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ng-fav-toggle b { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--sand-2); font-size: 12px; text-align: center; }
.ng-fav-toggle[aria-pressed='true'] { border-color: #e0a100; background: #fff7e0; color: #7a5600; }
.ng-fav-toggle .i { color: #e0a100; }

.ng-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ng-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.ng-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ng-name { font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.ng-star { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: -6px -6px 0 0; border-radius: 10px; color: var(--line-2); transition: color 0.15s, background-color 0.15s; }
.ng-star:hover { color: #e0a100; background: #fff7e0; }
.ng-star[aria-pressed='true'] { color: #e0a100; }
.ng-star[aria-pressed='true'] .i { fill: currentColor; }
.ng-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.ng-tag { padding: 2px 8px; border-radius: 999px; background: var(--sand-2); font-weight: 600; color: var(--ink-2); }
.ng-tag--professional { background: #e8eefc; color: #2c47a8; }
.ng-tag--friendly { background: #fff1db; color: #8a5a00; }
.ng-tag--premium { background: #f1eafd; color: #5b2bb5; }
.ng-tag--eco { background: #e3f5ec; color: #17704c; }
.ng-tag--fun { background: #fde8ef; color: #a3264f; }
.ng-tag--local { background: #e6f4f6; color: #126b78; }
.ng-domain { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.ng-domain .i { color: var(--muted); flex: none; }
.ng-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ng-btn { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.ng-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.ng-empty { padding: 28px; border-radius: 14px; border: 1px dashed var(--line-2); text-align: center; color: var(--muted); }
.ng-empty[hidden] { display: none; }
.ng-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.ng-more .btn[hidden] { display: none; }
.ng-honest { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #fff7e6; border: 1px solid #f6dfae; font-size: 14px; line-height: 1.5; color: #6b4e00; }
.ng-honest strong { color: #4d3800; }
.ng-save { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.ng-save .btn { height: 40px; font-size: 14px; }
.field-check small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

.prose .name-ideas { columns: 2; column-gap: 32px; }
.prose .name-ideas li { break-inside: avoid; }

@media (max-width: 1024px) {
  .ng-app { grid-template-columns: minmax(0, 1fr); }
  .ng-form { position: static; }
  .ng-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ng-privacy { padding: 14px 16px; }
  .ng-privacy h2 { font-size: 18px; }
  .ng-form { padding: 4px 16px 18px; }
  .ng-fields { grid-template-columns: minmax(0, 1fr); }
  .ng-grid { grid-template-columns: minmax(0, 1fr); }
  .ng-results-head h2 { font-size: 24px; }
  .ng-filters { width: 100%; }
  .ng-filter { flex: 1 1 40%; }
  .ng-filter select { width: 100%; }
  .prose .name-ideas { columns: 1; }
}
