:root{
  --bg: #fbf4f8; --panel: #ffffff; --panel-2: #f4e6ef; --line: #e7cadc;
  --accent: #9d256d; --accent-soft: #e9c9dc; --accent-dim: #f8f0f4;
  --text: #291421; --muted: #804d6b; --muted-2: #b894a9;
  --good: #259d5b; --bad: #b3402f;
}

.field{ margin-bottom: 20px; }
.field-top{ display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.field-top label{ font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.field-top .px-badge{ font-family: 'JetBrains Mono', monospace; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 12px; }
.field-top .px-badge.ok{ background: rgba(37,157,91,0.12); color: var(--good); }
.field-top .px-badge.over{ background: rgba(179,64,47,0.12); color: var(--bad); }
.field input{ width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: var(--panel-2); color: var(--text); }
.field input:focus{ outline: none; border-color: var(--accent); }

.ruler{ margin-top: 10px; height: 28px; background: var(--panel-2); border-radius: 6px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.ruler-fill{ height: 100%; background: var(--accent); transition: width .15s ease, background .15s ease; }
.ruler-fill.over{ background: var(--bad); }
.ruler-limit-line{ position: absolute; top: 0; bottom: 0; width: 2px; background: var(--text); opacity: .3; }
.ruler-label{ font-size: 10.5px; color: var(--muted-2); margin-top: 4px; display: flex; justify-content: space-between; }

.serp-preview-mini{ margin-top: 8px; font-family: arial, sans-serif; font-size: 16px; color: #1a0dab; }

.btns{ display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; 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; }
