/* Rivo Leads: Products / Services page, its windows, and the item choice on the lead window */
.rvct { display: flex; flex-direction: column; gap: 14px; }
.rvct-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rvct-sp { flex: 1; }
.rvct-meter { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .8rem; color: var(--muted); }
.rvct-meter b { color: var(--ink); }
.rvct-meter i { width: 64px; height: 6px; border-radius: 9px; background: #eceff6; overflow: hidden; display: inline-block; }
.rvct-meter u { display: block; height: 100%; background: var(--primary); text-decoration: none; }
.rvct-meter.full { border-color: #f1b9b9; background: #fff4f4; } .rvct-meter.full u { background: #c23b3b; }
.rvct-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rvct-tools input { width: 100%; max-width: 320px; height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; font-size: .88rem; background: #fff; }
.rvct-tools input:focus { outline: none; border-color: var(--primary); }
.rvct-chips, .rvct-add { display: flex; gap: 6px; flex-wrap: wrap; }
.rvct-chip { border: 1px solid var(--line); background: #fff; color: #3b4560; border-radius: 999px; padding: 6px 13px; font: 600 .78rem inherit; font-family: inherit; cursor: pointer; }
.rvct-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); } .rvct-chip.sug { background: #f6f7fb; border-style: dashed; } .rvct-chip.arch { margin-left: auto; }
.rvct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rvct-c { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: 0 1px 2px rgba(18, 28, 58, .04), 0 6px 18px rgba(18, 28, 58, .05); cursor: pointer; display: flex; flex-direction: column; gap: 10px; transition: transform .12s, box-shadow .12s; }
.rvct-c:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(18, 28, 58, .1); } .rvct-c:focus-visible { outline: 2px solid var(--primary); }
.rvct-c.off { opacity: .6; }
.rvct-ch { display: flex; gap: 12px; align-items: center; min-width: 0; }
.rvct-t { width: 44px; height: 44px; flex: none; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; color: hsl(var(--h), 55%, 32%); background: hsl(var(--h), 85%, 92%); }
.rvct-t.big { width: 64px; height: 64px; border-radius: 18px; font-size: 1.6rem; }
.rvct-cn { min-width: 0; } .rvct-cn b { display: block; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rvct-cn small { color: var(--muted); font-size: .76rem; }
.rvct-pr { font-weight: 700; font-size: .95rem; } .rvct-st { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); align-items: center; } .rvct-st b { color: var(--ink); }
.rvct-ar { margin-left: auto; background: #eef0f6; border-radius: 999px; padding: 2px 9px; font-weight: 700; font-size: .68rem; }
.rvct-none, .rvct-empty { color: var(--muted); text-align: center; padding: 36px 16px; font-size: .9rem; grid-column: 1 / -1; }
.rvct-empty.big { background: #fff; border: 1px dashed #cdd3e4; border-radius: 24px; padding: 48px 20px; }
.rvct-ei { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 20px; background: #FFEFE6; color: var(--primary); display: flex; align-items: center; justify-content: center; }
.rvct-empty h3 { margin: 0 0 6px; color: var(--ink); font-size: 1.15rem; } .rvct-empty p { margin: 4px auto; max-width: 460px; line-height: 1.5; } .rvct-eg { font-size: .82rem; }
.rvct-ea { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; } .rvct-ea .btn { border-radius: 999px; padding: 11px 20px; font-weight: 700; width: auto; }
/* windows */
.rvct-m { width: min(620px, 100%); }
.rvct-dm { padding-bottom: 8px; } .rvct-dh { display: flex; gap: 14px; align-items: center; margin: 4px 0 14px; }
.rvct-dn { font-size: 1.15rem; font-weight: 700; } .rvct-dp { font-weight: 700; color: var(--primary); margin-top: 2px; } .rvct-ds { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.rvct-ks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.rvct-ks div { background: #f6f7fb; border-radius: 14px; padding: 10px 12px; } .rvct-ks b { display: block; font-size: 1.05rem; } .rvct-ks span { font-size: .72rem; color: var(--muted); }
.rvct-desc { line-height: 1.55; font-size: .9rem; margin: 0 0 12px; }
.rvct-fl { display: grid; grid-template-columns: minmax(90px, 30%) 1fr; gap: 6px 14px; margin: 0 0 12px; font-size: .88rem; } .rvct-fl dt { color: var(--muted); font-weight: 600; } .rvct-fl dd { margin: 0; overflow-wrap: anywhere; }
.rvct-tg { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; } .rvct-tg span { background: #eef1f7; border-radius: 999px; padding: 3px 10px; font-size: .72rem; font-weight: 600; color: #3b4560; }
.rvct-h { margin: 14px 0 6px; font-size: .86rem; } .rvct-hint { color: var(--muted); font-size: .82rem; margin: 4px 0; }
.rvct-ll { display: flex; flex-direction: column; gap: 4px; }
.rvct-li { display: flex; justify-content: space-between; gap: 10px; border: 0; background: #f6f7fb; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .86rem; cursor: pointer; text-align: left; } .rvct-li:hover { background: #eef0f6; } .rvct-li em { font-style: normal; color: var(--muted); font-size: .76rem; }
.rvct-del { color: #c23b3b !important; }
.rvct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding-bottom: 8px; }
.rvct-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; } .rvct-f.wide { grid-column: 1 / -1; }
.rvct-f > span { font-size: .76rem; font-weight: 700; color: #3b4560; } .rvct-f small { font-weight: 500; color: #8a93ad; margin-left: 4px; }
.rvct-f input, .rvct-f textarea, .rvct-f select { width: 100%; box-sizing: border-box; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .9rem; background: #fff; }
.rvct-f input:focus, .rvct-f textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(242, 96, 12, .12); }
.rvct-fr { display: grid; grid-template-columns: 1fr 1.6fr 34px; gap: 8px; margin-bottom: 8px; }
.rvct-rm { border: 0; background: #f3f4f8; border-radius: 10px; font-size: 1.2rem; cursor: pointer; color: #5c6070; }
.rvct-err { grid-column: 1 / -1; color: #b42318; font-size: .82rem; min-height: 1em; }
/* the choice on the lead window and in the Add lead window */
.rvlv-kv select[data-f="item"] { max-width: 100%; }
@media (max-width: 700px) {
  .rvct-form { grid-template-columns: 1fr; } .rvct-ks { grid-template-columns: repeat(2, 1fr); } .rvct-grid { grid-template-columns: 1fr; }
  .rvct-fr { grid-template-columns: 1fr 34px; } .rvct-fr .rvct-fv1 { grid-column: 1 / 2; } .rvct-chip.arch { margin-left: 0; }
  .rvct-m { max-height: 94vh; }
}

.rvlv-item select { border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 8px; font: inherit; font-size: .86rem; background: #fff; max-width: 60%; }
