/* Rank Local Engine: lead sheet (portal + wp-admin). */
.rls{--ink:#0f172a;--mute:#64748b;--line:#e2e8f0;--soft:#f8fafc;--accent:#1f4a94;font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:8px}
.rls *,.rls *::before,.rls *::after{box-sizing:border-box}
.rls [hidden]{display:none!important}
.rls-bar{display:flex;flex-direction:column;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}
.rls-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding-bottom:2px}
.rls-chips button{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--mute);font:500 12.5px/1 inherit;font-family:inherit;cursor:pointer;white-space:nowrap}
.rls-chips button i{width:7px;height:7px;border-radius:50%;background:var(--c,#94a3b8)}
.rls-chips button b{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.rls-chips button:hover{border-color:#cbd5e1;color:var(--ink)}
.rls-chips button.on{background:var(--ink);border-color:var(--ink);color:#fff}
.rls-chips button.on b{color:#fff}
.rls-chips button.due{color:#9a3412}
.rls-chips button.due.on{background:#9a3412;border-color:#9a3412;color:#fff}
.rls-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.rls-q{flex:1 1 220px;min-width:0;height:36px;padding:0 12px;border:1px solid var(--line);border-radius:6px;font:14px inherit;font-family:inherit;color:var(--ink);background:#fff}
.rls-q:focus,.rls-owner:focus,.rls-new input:focus,.rls-new select:focus{outline:2px solid rgba(31,74,148,.25);border-color:var(--accent)}
.rls-owner{height:36px;padding:0 28px 0 10px;border:1px solid var(--line);border-radius:6px;font:14px inherit;font-family:inherit;max-width:200px;background-color:#fff}
.rls-btn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 14px;border:1px solid var(--accent);border-radius:6px;background:var(--accent);color:#fff;font:600 13px/1 inherit;font-family:inherit;cursor:pointer;white-space:nowrap;text-decoration:none}
.rls-btn:hover{background:#173a75;border-color:#173a75;color:#fff}
.rls-btn.ghost{background:#fff;color:var(--ink);border-color:var(--line)}
.rls-btn.ghost:hover{border-color:#94a3b8;background:var(--soft);color:var(--ink)}
.rls-new{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;padding:14px 16px;background:var(--soft);border-bottom:1px solid var(--line)}
.rls-new input,.rls-new select{height:36px;padding:0 10px;border:1px solid var(--line);border-radius:6px;font:14px inherit;font-family:inherit;background:#fff;min-width:0}
.rls-wrap{overflow:auto;max-height:calc(100vh - 260px);min-height:220px}
.rls-table{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0;font-size:13px;margin:0}
.rls-table th{position:sticky;top:0;z-index:2;background:var(--soft);text-align:left;font-size:11.5px;font-weight:600;color:var(--mute);text-transform:uppercase;letter-spacing:.04em;padding:9px 10px;border-bottom:1px solid var(--line);white-space:nowrap;user-select:none}
.rls-table th[data-s]{cursor:pointer}
.rls-table th[data-s]:hover{color:var(--ink)}
.rls-table th.sorted{color:var(--ink)}
.rls-table th.sorted::after{content:" \2193"}
.rls-table th.sorted.asc::after{content:" \2191"}
.rls-table td{padding:4px 6px;border-bottom:1px solid #f1f5f9;vertical-align:middle;background:#fff}
.rls-table tr:hover td{background:#fbfcfe}
.rls-table .sticky{position:sticky;left:0;z-index:1;min-width:210px;border-right:1px solid #f1f5f9}
.rls-table th.sticky{z-index:3}
.rls-table td.sticky a{display:block;padding:0 6px 3px;font-size:11.5px;color:var(--mute);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.rls-table td.sticky a:hover{color:var(--accent);text-decoration:underline}
.rls-cell{width:100%;min-width:110px;height:32px;padding:0 6px;border:1px solid transparent;border-radius:5px;background:transparent;font:13px inherit;font-family:inherit;color:var(--ink);transition:border-color .12s,background .12s}
.rls-cell:hover{border-color:var(--line)}
.rls-cell:focus{border-color:var(--accent);background:#fff;outline:0;box-shadow:0 0 0 3px rgba(31,74,148,.12)}
.rls-cell.strong{font-weight:600}
.rls-cell.notes{min-width:200px}
.rls-cell.date{min-width:132px}
.rls-cell.date.due{color:#9a3412;font-weight:600}
select.rls-cell{cursor:pointer}
.rls-cell::placeholder{color:#cbd5e1}
.rls-cell.saving{background:#f8fafc;border-color:#cbd5e1}
.rls-cell.saved,.rls-status.saved{border-color:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.12)}
.rls-status{height:30px;min-width:136px;padding:0 24px 0 9px;border:1px solid color-mix(in srgb,var(--c) 35%,#fff);border-radius:5px;background-color:color-mix(in srgb,var(--c) 9%,#fff);color:var(--c);font:600 12.5px inherit;font-family:inherit;cursor:pointer}
.rls-status:focus{outline:0;box-shadow:0 0 0 3px rgba(31,74,148,.15)}
.rls-score{display:inline-block;min-width:34px;text-align:center;padding:2px 6px;border-radius:5px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--c);background:color-mix(in srgb,var(--c) 10%,#fff)}
.rls-muted{color:var(--mute);white-space:nowrap;padding:0 6px}
.rls-act{white-space:nowrap;text-align:right;padding-right:10px!important}
.rls-mini{display:inline-flex;align-items:center;height:28px;padding:0 10px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--accent);font:600 12px/1 inherit;font-family:inherit;cursor:pointer;text-decoration:none}
.rls-mini:hover{border-color:var(--accent);background:#f1f5fd}
.rls-empty{padding:40px 16px!important;text-align:center;color:var(--mute)}
.rls-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;font-size:12.5px;color:var(--mute);border-top:1px solid var(--line)}
.rls-flash{opacity:0;transition:opacity .2s;color:#15803d;font-weight:500}
.rls-flash.on{opacity:1}
.rls-flash.bad{color:#b91c1c}
@supports not (color:color-mix(in srgb,red 10%,#fff)){.rls-status{background-color:#fff;border-color:var(--line)}.rls-score{background:#f8fafc}}
@media (max-width:600px){
  .rls-bar{padding:12px}
  .rls-tools .rls-btn{flex:1 1 auto}
  .rls-q{flex-basis:100%}
  .rls-owner{flex:1 1 100%;max-width:none}
  .rls-table .sticky{min-width:160px}
  .rls-wrap{max-height:none}
}
@media (prefers-reduced-motion:reduce){.rls-cell,.rls-flash{transition:none}}
/* theme-proof buttons (block themes style labels and buttons) */
.rls .rls-btn,.rls .rls-mini{font-family:inherit!important;font-size:13px!important;font-weight:600!important;line-height:1!important;letter-spacing:0!important;text-transform:none!important;margin:0!important;box-shadow:none!important}
.rls .rls-mini{font-size:12px!important}
.rls .rls-chips button{font-family:inherit!important;font-size:12.5px!important;letter-spacing:0!important;text-transform:none!important}
/* industry + location */
.rls-ind,.rls-city{height:36px;padding:0 28px 0 10px;border:1px solid var(--line);border-radius:6px;font:14px inherit;font-family:inherit;color:var(--ink);background-color:#fff;max-width:220px}
.rls-cell.ind{min-width:170px}
.rls-cell.ind.unset{color:#9a3412;border-color:#fed7aa;background:#fff7ed}
.rls-cell.city{min-width:120px}
.rls .rls-mini.ghost{color:var(--mute);margin-right:4px!important}
.rls .rls-mini.ghost:hover{color:var(--ink);border-color:#94a3b8;background:var(--soft)}
@media (max-width:600px){.rls-ind,.rls-city{flex:1 1 45%;max-width:none}}
