/* Reviewers' comment tool (computer only). */
.rv-bar { font-weight: 700; }
.rv-bar .rv-n:not(:empty) { display: inline-block; min-width: 20px; padding: 0 6px; margin-inline-start: 4px; border-radius: 99px; background: #fff; color: #1E2440; font-size: 12px; line-height: 20px; text-align: center; }
@media (max-width: 899px) { .rv-bar, .rv-panel, .rv-pins, .rv-hover, .rv-pop { display: none !important; } }

body.rv-open { padding-left: 360px; }
.rv-panel { position: fixed; left: 0; top: var(--rv-top, 48px); bottom: 0; width: 360px; z-index: 60; background: #fff; border-right: 1px solid #E4E1EE; box-shadow: 6px 0 30px rgba(30,36,64,.08);
  display: flex; flex-direction: column; direction: rtl; font-size: 15px; color: #1E2440; }
.rv-panel[hidden] { display: none; }
.rv-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; font-size: 17px; }
.rv-x { width: 32px; height: 32px; border-radius: 10px; font-size: 16px; }
.rv-x:hover { background: #F1EFF7; }
.rv-mode { padding: 0 16px 10px; }
.rv-mode button { width: 100%; padding: 10px 12px; border-radius: 12px; background: #F1EFF7; font-weight: 700; text-align: center; }
.rv-mode button.rv-pickon { background: #1E2440; color: #fff; }
.rv-mode p { margin-top: 6px; font-size: 13px; color: #636A8A; }
.rv-where { margin: 0 16px; padding: 10px 12px; border-radius: 12px; background: #FFF6EA; display: flex; flex-direction: column; gap: 2px; }
.rv-where small { color: #636A8A; font-size: 12px; }
.rv-link { color: #2B6FD6; font-weight: 600; font-size: 14px; text-align: start; margin-top: 4px; }
.rv-link:hover { text-decoration: underline; }
.rv-tabs { display: flex; gap: 4px; padding: 12px 16px 6px; }
.rv-tabs button { flex: 1; padding: 7px; border-radius: 10px; font-size: 14px; color: #636A8A; text-align: center; }
.rv-tabs button.on { background: #F1EFF7; color: #1E2440; font-weight: 700; }
.rv-list { flex: 1; overflow: auto; padding: 4px 16px 10px; }
.rv-empty { color: #636A8A; font-size: 14px; padding: 16px 0; }
.rv-grp { margin: 12px 0 4px; font-size: 13px; color: #636A8A; }
.rv-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F1EFF7; }
.rv-item > div { flex: 1; min-width: 0; }
.rv-item small { display: block; color: #636A8A; font-size: 12px; overflow-wrap: anywhere; }
.rv-item p { margin: 3px 0; overflow-wrap: anywhere; }
.rv-item.imp .rv-num { background: #8457F0; }
.rv-num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #FF7A1A; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.rv-acts { display: flex; gap: 12px; margin-top: 4px; }
.rv-acts button { font-size: 13px; color: #2B6FD6; }
.rv-acts button:hover { text-decoration: underline; }
.rv-foot { border-top: 1px solid #E4E1EE; padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.rv-name { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #636A8A; }
.rv-name input, .rv-pop input, .rv-pop textarea { font: inherit; font-size: 15px; color: #1E2440; border: 1px solid #D9D5E6; border-radius: 10px; padding: 8px 10px; width: 100%; box-sizing: border-box; direction: rtl; }
.rv-name input:focus, .rv-pop input:focus, .rv-pop textarea:focus { outline: 2px solid #3BA4FF; border-color: transparent; }
.rv-send { padding: 11px; border-radius: 12px; background: #FF7A1A; color: #fff; font-weight: 700; text-align: center; }
.rv-send:hover { background: #E96A0E; }
.rv-more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rv-more button { padding: 7px 4px; border-radius: 10px; background: #F1EFF7; font-size: 13px; text-align: center; }
.rv-more button:hover { background: #E6E2F2; }
.rv-clear { color: #B3261E; font-size: 13px; text-align: center; }
.rv-flash { position: absolute; bottom: calc(100% + 8px); inset-inline: 16px; background: #1E2440; color: #fff; padding: 10px 12px; border-radius: 12px; font-size: 14px; }

body.rv-picking #app, body.rv-picking #app * { cursor: crosshair !important; }
.rv-hover { position: fixed; z-index: 55; pointer-events: none; border: 2px solid #3BA4FF; border-radius: 8px; background: rgba(59,164,255,.08); }
.rv-hover::after { content: attr(data-label); position: absolute; bottom: 100%; inset-inline-start: -2px; margin-bottom: 4px; max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: #1E2440; color: #fff; font: 12px/1.6 system-ui, sans-serif; padding: 1px 8px; border-radius: 6px; direction: rtl; }
.rv-target { outline: 3px solid #FF7A1A !important; outline-offset: 2px; }
.rv-pins { position: fixed; inset: 0; pointer-events: none; z-index: 56; }
.rv-pin { position: fixed; pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: #FF7A1A; color: #fff; font: 700 12px/24px system-ui, sans-serif; text-align: center; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); padding: 0; }
.rv-pin.imp { background: #8457F0; }
.rv-pop { position: fixed; z-index: 70; width: 320px; background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(30,36,64,.25); padding: 14px; display: flex; flex-direction: column; gap: 8px; direction: rtl; font-size: 15px; color: #1E2440; }
.rv-pop small { color: #636A8A; font-size: 12px; }
.rv-pop b { font-size: 14px; overflow-wrap: anywhere; }
.rv-pop textarea { resize: vertical; min-height: 84px; }
.rv-pop-b { display: flex; gap: 8px; }
.rv-pop-b button { padding: 8px 16px; border-radius: 10px; font-weight: 700; }
.rv-save { background: #FF7A1A; color: #fff; }
.rv-cancel { background: #F1EFF7; }
