/* The Review-Paket's own parts on top of the workspace styles (workspace.css, MR 2026-10-15):
   the read-only marker, review comment threads, the receipt's facts beside its pages, the
   name dialog. Colours come from the workspace tokens, so light and dark follow it. */

.rv-client { cursor:default; }
.rv-client .client-pick { pointer-events:none; }
.rv-mode { flex:none; }
.rv-who { flex:none; }
.rv-label { display:block; margin:0 0 6px; font-size:11px; font-weight:650; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); }
.rv-offline { margin:10px 22px 0; padding:9px 14px; border-radius:var(--r-lg); background:var(--warn-bg); color:var(--warn-text); font-size:13px; }
.rv-stand { margin-top:18px; color:var(--muted); font-size:12.5px; }

/* the year */
.rv-year .rv-tile { text-decoration:none; color:inherit; }
.rv-year .rv-tile.is-quiet { cursor:default; }
.rv-card { margin-top:16px; }
.rv-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.rv-list li { display:grid; grid-template-columns:minmax(160px, 260px) minmax(0, 1fr) auto; gap:12px; align-items:baseline; padding:7px 0; border-bottom:1px solid var(--hairline); font-size:13px; }
.rv-list li:last-child { border-bottom:0; }
.rv-list .linkbtn { text-align:left; text-decoration:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rv-list .num { white-space:nowrap; }
.rv-partner + .rv-partner { margin-top:10px; }
.rv-partner-head { display:flex; justify-content:space-between; padding:4px 0; font-size:13.5px; }
.pk-party { text-decoration:none; }

/* Keep booking text readable beside the receipt preview; the journal pane scrolls horizontally. */
@media screen {
  .jr-month > .jr-table { min-width:1200px; }
}

/* review threads in the journal */
.rv-note > td { padding-top:2px !important; padding-bottom:8px !important; }
.rv-thread { padding:10px 12px; border-radius:var(--r-md); background:color-mix(in srgb, var(--accent-soft) 55%, transparent); box-shadow:inset 0 0 0 1px var(--accent-border); }
.rv-thread.is-empty { padding:8px 12px; }
.rv-thread .rc-list { margin:0 0 8px; }
.rv-thread .rc-add { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; }
.rv-thread .rc-add svg { width:14px; height:14px; }
.rv-editor textarea { width:100%; min-height:64px; resize:vertical; padding:8px 10px; border-radius:var(--r-sm); border:1px solid var(--border-strong); background:var(--card); line-height:1.45; }
.rv-editor textarea:focus { outline:none; border-color:var(--accent); box-shadow:var(--ring); }
.rv-receipt-thread { padding-left:2px; }
.rv-office { opacity:.92; }
.rv-office-thread { margin:10px 0; }
.jr-mk-btn:disabled { opacity:.35; cursor:default; }
.jr-tag.rv-ki { display:inline-flex; align-items:center; gap:3px; }
.jr-tag.rv-ki svg { width:11px; height:11px; }
a.jr-tag { text-decoration:none; }
.rv-empty { padding:24px 20px; }

/* the receipt's facts above its pages */
.rv-facts { margin:12px 0 14px; padding:12px 14px; border-radius:var(--r-md); background:var(--card); box-shadow:var(--shadow-xs), inset 0 0 0 1px var(--border); font-size:12.5px; display:flex; flex-direction:column; gap:10px; }
.rv-facts dl { margin:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:6px 14px; }
.rv-facts dt { font-size:11px; color:var(--muted); }
.rv-facts dd { margin:0; color:var(--text); overflow-wrap:anywhere; }
.rv-state { display:flex; align-items:center; gap:8px; color:var(--text-2); }
.rv-positions summary { cursor:pointer; color:var(--accent-text); font-weight:600; }
.rv-positions ul { margin:6px 0 0; padding-left:18px; color:var(--text-2); }
.rv-ki-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; }
.rv-ki-list li, .rv-parked { display:flex; gap:7px; align-items:flex-start; color:var(--text-2); }
.rv-ki-list svg, .rv-parked svg { width:14px; height:14px; flex:none; margin-top:2px; color:var(--violet); }
.rv-parked svg { color:var(--warn); }
.rv-topics { display:flex; flex-wrap:wrap; gap:6px; }
.rv-finding { padding:8px 10px; border-radius:var(--r-sm); background:var(--surface-2); }
.rv-finding + .rv-finding { margin-top:6px; }
.rv-finding p { margin-top:4px; color:var(--text-2); }
.rv-finding .pill { height:20px; font-size:11px; padding:0 7px; }

/* the tax advisor's topics */
.rv-choices { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:3px; font-size:12.5px; }
.rv-choices li { color:var(--text-2); }
.rv-choices li.is-now b { color:var(--accent-text); }
.rv-choices small { color:var(--muted); }
.rv-topic-comments, .rv-note-ro { margin:12px 0; }
.rv-note-ro p { margin:2px 0; }
.sb-c-main .jr-count { margin-left:0; align-self:flex-start; }

/* the client requests */
.rv-requests .rq-list { max-width:1100px; }
.rv-done { opacity:.9; }
.rv-answer { margin-top:6px; color:var(--text-2); font-size:13px; }
.rv-request-comments { margin-top:10px; }

/* the name dialog */
.rv-modal { position:fixed; inset:0; z-index:80; display:grid; place-items:center; background:var(--overlay); }
.rv-modal-box { width:min(420px, calc(100vw - 32px)); padding:22px 22px 18px; border-radius:var(--r-card); background:var(--card); box-shadow:var(--shadow-lg); display:flex; flex-direction:column; gap:12px; }
.rv-modal-box h2 { font-size:17px; }
.rv-modal-box p { color:var(--text-2); font-size:13px; }
.rv-modal-box input { height:38px; padding:0 12px; border-radius:var(--r-sm); border:1px solid var(--border-strong); background:var(--card); }
.rv-modal-box input:focus { outline:none; border-color:var(--accent); box-shadow:var(--ring); }
.rv-modal-acts { display:flex; justify-content:flex-end; gap:8px; }

@media print {
  .rv-mode, .rv-who, .rv-thread .rc-add, .rv-editor, .rv-offline { display:none !important; }
}
