/* Maré · Sala de revisão de vídeo (layout do Frame.io). Tema escuro próprio, igual dentro da Maré e no link do cliente. */
.rv-root {
  --bg: #0e0f11; --hdr: #131417; --panel: #18191c; --surface: #202125; --surface-2: #2a2b30; --surface-3: #34353b;
  --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.13); --text: #f2f2f4; --text-2: #a3a4ab; --text-3: #6f7078;
  --accent: #5e5ce6; --accent-2: #7d7bff; --accent-soft: rgba(94,92,230,.18); --green: #30d158; --green-soft: rgba(48,209,88,.14); --amber: #ffd60a;
  --rv-tc-bg: rgba(255,197,0,.14); --rv-tc: #ffc83d; --rv-range: rgba(255,197,0,.32);
  --ease: cubic-bezier(.22,1,.36,1);
  color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif; color-scheme: dark;
  height: 100%; font-size: 14px;
}
.rv-root * { box-sizing: border-box; }
.rv-root [hidden] { display: none !important; }
.rv-root .mono { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.rv-root .dim { color: var(--text-3); } .rv-root .muted { color: var(--text-2); } .rv-root .tiny { font-size: 11.5px; }
.rv-sp { flex: 1; }
.rv-row { display: inline-flex; align-items: center; gap: 2px; }

.rv-app { height: 100%; display: grid; grid-template-rows: auto auto minmax(0,1fr); background: var(--bg); position: relative; overflow: hidden; border-radius: inherit; }
.rv-hdr { grid-row: 1; } .rv-upbox { grid-row: 2; } .rv-body { grid-row: 3; }
.rv-menuhost, .rv-modalhost { display: contents; }
.rv-gate { display: grid; place-items: center; padding: 60px 20px; text-align: center; color: var(--text-2); font-size: 16px; grid-column: 1 / -1; }

/* ---------- topo ---------- */
.rv-hdr { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 12px 0 14px; background: var(--hdr); border-bottom: 1px solid var(--line); min-width: 0; }
.rv-ib { width: 34px; height: 34px; border-radius: 9px; border: 0; background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; flex: none; }
.rv-ib:hover { background: var(--surface-2); color: var(--text); }
.rv-ib.sm { width: 30px; height: 30px; }
.rv-hav { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #052; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; flex: none; }
.rv-crumb { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; }
.rv-crumb-a { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 32vw; text-transform: uppercase; letter-spacing: .01em; }
.rv-crumb-sep { color: var(--text-3); }
.rv-crumb-b { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-verbtn { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; padding: 5px 8px; border-radius: 8px; min-width: 0; }
.rv-verbtn:hover { background: var(--surface-2); }
.rv-vtag { font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 5px; background: var(--surface-3); color: var(--text); }
.rv-hacts { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.rv-chip { font-size: 11.5px; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.rv-chip.is-amber { background: rgba(255,214,10,.13); color: var(--amber); }
.rv-chip.is-accent { background: var(--accent-soft); color: var(--accent-2); }
.rv-chip.is-green { background: var(--green-soft); color: var(--green); }
.rv-hbtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.rv-hbtn:hover { background: var(--surface-2); }
.rv-hbtn.is-pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.rv-hbtn.is-pri:hover { background: var(--accent-2); }
.rv-hbtn.is-green { background: var(--green); border-color: var(--green); color: #04210a; }
.rv-sidetoggle { color: var(--accent-2); }
.no-side .rv-sidetoggle { color: var(--text-2); }

/* envio */
.rv-upbox { background: var(--hdr); border-bottom: 1px solid var(--line); padding: 8px 16px 10px; font-size: 12.5px; }
.rv-up-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-prog { height: 4px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin-top: 7px; }
.rv-prog > div { height: 100%; background: var(--accent); transition: width .3s; }

/* ---------- corpo: player + lateral ---------- */
.rv-body { display: grid; grid-template-columns: minmax(0,1fr) 400px; min-height: 0; }
.no-side .rv-body { grid-template-columns: minmax(0,1fr) 0; }
.no-side .rv-side { display: none; }
.rv-viewer { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #000; }
.rv-viewer:fullscreen { background: #000; }
.rv-stage { flex: 1; min-height: 0; position: relative; display: grid; place-items: center; container-type: size; transition: box-shadow .2s; }
.rv-stage.is-drag { box-shadow: inset 0 0 0 3px var(--accent); }
.rv-frame { position: relative; width: min(100cqw, calc(100cqh * var(--ratio, 1.7778))); aspect-ratio: var(--ratio, 1.7778); max-height: 100cqh; }
.rv-frame video { display: block; width: 100%; height: 100%; object-fit: contain; cursor: pointer; background: #000; }
.rv-preview { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rv-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; touch-action: none; }
.rv-canvas.is-drawing { pointer-events: auto; cursor: crosshair; outline: 2px solid #ff453a; outline-offset: -2px; }
.rv-draw-hint { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); pointer-events: none; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.rv-empty-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; color: var(--text-2); font-size: 13.5px; }
.rv-empty-stage b { color: var(--text); font-size: 16px; }
.rv-bigplay { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: #0a0a0a; display: grid; place-items: center; padding-left: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.5); transition: transform .2s var(--ease); }
.rv-bigplay:hover { transform: scale(1.06); }

/* timeline: barra fina, progresso roxo, avatares embaixo */
.rv-timeline { padding: 8px 18px 0; background: var(--bg); }
.rv-track { position: relative; height: 18px; cursor: pointer; touch-action: none; }
.rv-tbar { position: absolute; left: 0; right: 0; top: 7px; height: 4px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.rv-track:hover .rv-tbar { top: 6px; height: 6px; }
.rv-tbar > div { height: 100%; background: var(--accent); }
.rv-playhead { position: absolute; top: 1px; bottom: 1px; width: 2px; margin-left: -1px; background: #fff; border-radius: 2px; pointer-events: none; z-index: 4; }
.rv-span { position: absolute; top: 7px; height: 4px; background: var(--rv-range); pointer-events: none; }
.rv-span.is-on { background: rgba(255,197,0,.7); }
.rv-range { position: absolute; top: 3px; height: 12px; z-index: 3; background: var(--rv-range); border-top: 2px solid var(--rv-tc); border-bottom: 2px solid var(--rv-tc); pointer-events: none; }
.rv-range-handle { position: absolute; top: -6px; bottom: -6px; width: 10px; border-radius: 3px; background: #ffc500; cursor: ew-resize; pointer-events: auto; touch-action: none; box-shadow: 0 0 0 1.5px #000; }
.rv-range-handle.is-in { left: -6px; } .rv-range-handle.is-out { right: -6px; }
.rv-hover { position: absolute; bottom: 24px; transform: translateX(-50%); z-index: 6; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.rv-hover canvas { width: 176px; border-radius: 6px; border: 1px solid rgba(255,255,255,.22); background: #000; box-shadow: 0 8px 24px rgba(0,0,0,.6); }
.rv-hover span { font-size: 11px; background: rgba(0,0,0,.85); color: #fff; padding: 2px 7px; border-radius: 5px; }
.rv-markers { position: relative; height: 24px; }
.rv-avatar { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; color: #0a0a0a; border: 0; padding: 0; }
.rv-avatar.is-mini { position: absolute; top: 3px; width: 18px; height: 18px; margin-left: -9px; font-size: 7.5px; cursor: pointer; box-shadow: 0 0 0 2px var(--bg); transition: transform .15s var(--ease); }
.rv-avatar.is-mini:hover, .rv-avatar.is-mini.is-on { transform: scale(1.3); z-index: 2; }
.rv-avatar.is-mini.is-resolved { opacity: .45; }

/* controles */
.rv-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 2px 12px 10px; background: var(--bg); }
.rv-cside { display: flex; align-items: center; gap: 2px; } .rv-cside.is-end { justify-content: flex-end; }
.rv-cmid { display: flex; align-items: center; gap: 2px; }
.rv-ctl { min-width: 36px; height: 36px; border-radius: 9px; border: 0; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; font: inherit; }
.rv-ctl:hover { background: var(--surface-2); }
.rv-ctl.is-on { color: var(--accent-2); }
.rv-speed { font-size: 13px; font-weight: 600; padding: 0 6px; color: var(--text-2); }
.rv-keys-btn { font-size: 14px; font-weight: 700; color: var(--text-2); }
.rv-clock { font-size: 15px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 9px; padding: 6px 12px; min-width: 128px; text-align: center; }
.rv-fmt { min-width: 26px; color: var(--text-2); }

/* ---------- lateral ---------- */
.rv-side { background: var(--panel); border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.rv-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 14px 14px 8px; padding: 3px; border-radius: 10px; background: var(--surface); }
.rv-tabs button { height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 550; cursor: pointer; }
.rv-tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--text); }
.rv-pane { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.rv-lhead { display: flex; align-items: center; gap: 2px; padding: 4px 10px 6px 16px; }
.rv-ltitle { font-size: 13.5px; font-weight: 600; }
.rv-searchrow { padding: 0 14px 8px; }
.rv-comments { list-style: none; margin: 0; padding: 4px 12px 12px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.rv-empty { padding: 18px 8px; line-height: 1.5; color: var(--text-3); font-size: 13px; }
.rv-card { background: var(--surface); border: 1px solid transparent; border-radius: 12px; padding: 12px 12px 10px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.rv-card:hover { background: #24252a; }
.rv-card.is-on { border-color: var(--accent); }
.rv-card.is-resolved .rv-card-body { opacity: .5; }
.rv-card.is-internal { background: #23211a; }
.rv-card-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; min-width: 0; }
.rv-card-head strong { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-card-head .dim { font-size: 12.5px; white-space: nowrap; }
.rv-num { font-size: 12.5px; }
.rv-visico { display: grid; place-items: center; color: var(--text-3); }
.rv-card-body { margin: 8px 0 2px 34px; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.rv-drawtag { display: inline-grid; place-items: center; vertical-align: -1px; color: var(--rv-tc); }
.rv-hover-only { opacity: 0; transition: opacity .15s; }
.rv-card:hover .rv-hover-only, .rv-replies li:hover .rv-hover-only { opacity: 1; }
.rv-tc { display: inline-block; font-size: 12.5px; padding: 1px 7px; border-radius: 6px; background: var(--rv-tc-bg); color: var(--rv-tc); white-space: nowrap; vertical-align: 1px; border: 0; font-family: "SF Mono", ui-monospace, Menlo, monospace; }
.rv-done { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; color: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.rv-done:hover { border-color: var(--green); color: var(--green); }
.rv-done.is-on { background: var(--green); border-color: var(--green); color: #04210a; }
.rv-mini { border: 0; background: transparent; color: var(--text-3); width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; cursor: pointer; }
.rv-mini:hover { background: var(--surface-3); color: var(--text); }
.rv-link { border: 0; background: transparent; color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 4px 0; }
.rv-link:hover { color: var(--text); }
.rv-replybtn { margin: 4px 0 0 34px; }
.rv-replies { list-style: none; margin: 10px 0 0 34px; padding: 0 0 0 10px; border-left: 2px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.rv-replies li { display: flex; gap: 8px; }
.rv-replies .rv-avatar { width: 20px; height: 20px; font-size: 8px; }
.rv-replies li > div { flex: 1; min-width: 0; }
.rv-rhead { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.rv-replies p { margin: 2px 0 0; font-size: 13px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.rv-reply { margin: 10px 0 0 34px; display: flex; flex-direction: column; gap: 6px; cursor: default; }
.rv-reply-acts { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.rv-event { padding: 10px 12px; border-radius: 12px; font-size: 13px; list-style: none; }
.rv-event > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.rv-event p { margin: 4px 0; white-space: pre-wrap; }
.rv-event.is-approve { background: var(--green-soft); } .rv-event.is-approve > span:first-child { color: var(--green); }
.rv-event.is-changes { background: var(--accent-soft); } .rv-event.is-changes > span:first-child { color: var(--accent-2); }

/* aba Campos */
.rv-info { padding: 6px 16px 16px; display: flex; flex-direction: column; overflow-y: auto; }
.rv-irow { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.rv-irow span { color: var(--text-2); flex: none; }
.rv-irow b { font-weight: 550; text-align: right; word-break: break-word; }

/* caixa de comentário */
.rv-composer { border-top: 1px solid var(--line); padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; margin: 0; background: var(--panel); }
.rv-composer.is-off { opacity: .5; pointer-events: none; }
.rv-box { display: flex; align-items: flex-start; gap: 8px; padding: 6px 4px; }
.rv-box-tc { cursor: pointer; margin-top: 1px; }
.rv-box-tc.is-off { background: var(--surface-2); color: var(--text-2); }
.rv-input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; line-height: 1.5; resize: none; outline: none; padding: 1px 0; max-height: 140px; }
.rv-input::placeholder { color: var(--text-3); }
.rv-box-actions { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.rv-tool { position: relative; width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.rv-tool:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.rv-tool.is-on { color: var(--accent-2); background: var(--accent-soft); }
.rv-tool.is-rec { color: #fff; background: #ff453a; animation: rv-rec 1.2s ease-in-out infinite; }
@keyframes rv-rec { 50% { box-shadow: 0 0 0 5px rgba(255,69,58,.25); } }
.rv-tool:disabled { opacity: .35; cursor: default; }
.rv-tool-close { margin-left: auto; }
.rv-badge { position: absolute; top: 1px; right: 1px; min-width: 13px; height: 13px; border-radius: 7px; background: #ff453a; color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; padding: 0 3px; }
.rv-drawbar { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 10px; background: var(--surface); }
.rv-sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 4px; }
.rv-swatch { width: 18px; height: 18px; border-radius: 50%; border: 0; cursor: pointer; margin: 0 3px; padding: 0; }
.rv-swatch.is-on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.rv-vis { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rv-send { width: 38px; height: 34px; border-radius: 9px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.rv-send:disabled { opacity: .4; cursor: default; }
.rv-error { color: #ff6961; font-size: 12.5px; }
.rv-error:empty { display: none; }

/* menus */
.rv-menu { position: absolute; z-index: 60; min-width: 220px; max-width: 320px; max-height: 60vh; overflow-y: auto; background: #26272c; border: 1px solid var(--line-2); border-radius: 12px; padding: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.rv-mh { font-size: 11.5px; font-weight: 650; color: var(--text-3); padding: 6px 10px 4px; text-transform: uppercase; letter-spacing: .04em; }
.rv-mi { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 13.5px; text-align: left; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.rv-mi:hover { background: var(--surface-3); }
.rv-mi-ck { margin-left: auto; color: var(--accent-2); display: grid; }

/* modais */
.rv-modal { position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.rv-modal-box { width: min(100%, 420px); max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; color: var(--text); }
.rv-modal-box.is-wide { width: min(100%, 520px); }
.rv-modal-box h2 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.rv-modal-box p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.rv-field { width: 100%; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: 14.5px; padding: 0 12px; outline: none; }
.rv-field:focus { border-color: var(--accent); }
.rv-field.sm { height: 34px; font-size: 13.5px; }
textarea.rv-field { height: auto; padding: 9px 12px; resize: vertical; }
.rv-lab { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; }
.rv-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.rv-linkrow { display: flex; gap: 8px; } .rv-linkrow .rv-field { font-size: 13px; }
.rv-modal-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.rv-btn-pri { height: 40px; padding: 0 18px; border-radius: 10px; border: 0; background: var(--accent); color: #fff; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.rv-btn-pri.sm { height: 32px; font-size: 13px; padding: 0 14px; }
.rv-btn-pri.is-green { background: var(--green); color: #04210a; }
.rv-btn-q { height: 32px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.rv-keys { width: 100%; border-collapse: collapse; }
.rv-keys td { padding: 4px 0; vertical-align: top; font-size: 13px; }
.rv-keys td:first-child { width: 110px; }
.rv-keys kbd { font-family: inherit; font-size: 12px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.rv-flash { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); background: var(--text); color: #0a0a0a; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; z-index: 70; box-shadow: 0 8px 30px rgba(0,0,0,.4); }

/* celular e telas estreitas: lateral vai para baixo do vídeo */
@media (max-width: 900px) {
  .rv-root { height: auto; }
  .rv-app { height: auto; min-height: 100%; overflow: visible; grid-template-rows: auto auto auto; }
  .rv-body, .no-side .rv-body { grid-template-columns: 1fr; }
  .rv-stage { flex: none; height: 56vw; max-height: 60vh; }
  .rv-side, .no-side .rv-side { display: flex; border-left: 0; border-top: 1px solid var(--line); min-height: 60vh; }
  .rv-sidetoggle { display: none; }
  .rv-hdr { height: auto; min-height: 54px; flex-wrap: wrap; padding: 8px 12px; row-gap: 8px; }
  .rv-hacts { flex-wrap: wrap; width: 100%; order: 5; }
  .rv-crumb-a { max-width: 50vw; }
  .rv-keys-btn { display: none; }
  .rv-clock { min-width: 0; font-size: 13px; padding: 5px 8px; }
  .rv-controls { gap: 4px; padding: 2px 6px 8px; }
  .rv-timeline { padding: 8px 12px 0; }
}

/* sala em tela cheia dentro da Maré */
.rv-overlay { position: fixed; inset: 0; z-index: 900; background: #0e0f11; }
@media (max-width: 900px) { .rv-overlay { overflow-y: auto; } }

/* imprimir comentários */
body.rv-printing > *:not(.pc-host) { display: none !important; }
.pc-host { position: fixed; inset: 0; z-index: 9999; overflow: auto; background: #fff; }
.pc-page { background: #fff; color: #1a1a1f; max-width: 900px; margin: 0 auto; padding: 28px 24px 60px; font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif; }
.pc-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #e6e6ea; }
.pc-cover { width: 150px; border-radius: 6px; background: #111; flex: none; }
.pc-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-title span { color: #70707a; font-size: 12px; }
.pc-title h1 { margin: 0; font-size: 20px; font-weight: 600; color: #111; }
.pc-title small { font-size: 12px; font-weight: 600; color: #70707a; border: 1px solid #ddd; border-radius: 5px; padding: 0 5px; vertical-align: 3px; }
.pc-brand { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.pc-brand span { color: #70707a; font-size: 11px; }
.pc-bar { display: flex; align-items: center; justify-content: space-between; margin: 16px 0; color: #5a5a66; }
.pc-print, .pc-close { height: 34px; padding: 0 16px; border-radius: 999px; border: 0; background: #111; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.pc-close { background: #eee; color: #111; }
.pc-print:disabled { opacity: .5; cursor: default; }
.pc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pc-row { display: flex; gap: 12px; align-items: flex-start; break-inside: avoid; page-break-inside: avoid; }
.pc-thumb { flex: none; border-radius: 4px; background: #111; }
.pc-card { flex: 1; min-width: 0; border: 1px solid #e2e2e8; border-radius: 6px; padding: 10px 12px; }
.pc-card-head { display: flex; align-items: center; gap: 7px; }
.pc-avatar { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9px; font-weight: 700; color: #111; flex: none; }
.pc-dim { color: #80808a; font-size: 12px; } .pc-num { margin-left: auto; }
.pc-card p { margin: 6px 0 0 29px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.pc-card p.pc-rep { color: #444; font-size: 12.5px; border-left: 2px solid #e2e2e8; padding-left: 8px; }
.pc-tc { display: inline-block; background: #ffd43b; color: #2a2100; font-size: 12px; font-weight: 600; padding: 0 6px; border-radius: 5px; }
.pc-foot { margin: 6px 0 0 29px; } .pc-ok { color: #1f9d4a; font-weight: 600; font-size: 12px; }
@media print {
  @page { margin: 12mm; }
  body.rv-printing .pc-host { position: static; overflow: visible; }
  .pc-page { padding: 0; max-width: none; } .pc-print, .pc-close { display: none; }
  .pc-thumb, .pc-cover, .pc-tc, .pc-avatar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (max-width: 600px) { .pc-row { flex-direction: column; } .pc-thumb { width: 100% !important; } }
