:root{
  --bg: #fbf4fb; --panel: #ffffff; --panel-2: #f4e6f4; --line: #e6cae7;
  --accent: #99259d; --accent-soft: #e8c9e9; --accent-dim: #f7f0f8;
  --text: #291429; --muted: #7e4d80; --muted-2: #b694b8;
}

.field{ margin-bottom: 14px; }
.field label{ display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field label .count{ font-weight: 600; text-transform: none; letter-spacing: 0; }
.field label .count.over{ color: #b3402f; }
.field input, .field textarea{ width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; font-family: 'Inter', sans-serif; font-size: 13.5px; background: var(--panel-2); color: var(--text); }
.field input:focus, .field textarea:focus{ outline: none; border-color: var(--accent); }
.field textarea{ min-height: 60px; max-height: 200px; resize: vertical; overflow: auto; }

.device-tabs{ display: flex; gap: 6px; margin: 16px 0; }
.device-tab{ padding: 7px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.device-tab.active{ background: var(--accent); color: #fff; border-color: var(--accent); }

.serp-preview{ border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: #fff; font-family: arial, sans-serif; }
.serp-preview.mobile{ max-width: 380px; margin: 0 auto; }
.serp-url{ font-size: 14px; color: #202124; display: flex; align-items: center; gap: 8px; }
.serp-url .favicon{ width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); flex-shrink: 0; }
.serp-url .path{ color: #4d5156; }
.serp-title{ font-size: 20px; color: #1a0dab; margin-top: 4px; line-height: 1.3; }
.serp-preview.mobile .serp-title{ font-size: 18px; }
.serp-desc{ font-size: 14px; color: #4d5156; margin-top: 4px; line-height: 1.55; }

.btns{ display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.app{ padding: 11px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 13.5px; font-family: 'Inter', sans-serif; color: #fff; background: var(--accent); transition: filter .15s ease; }
.app:hover{ filter: brightness(1.08); }

.note{ margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.6; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
