/* Review notes: a small tab on the preview site and the note sheet it opens. */
.rv-tab { position: fixed; z-index: 60; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1rem; border: 1px solid rgba(255, 255, 255, .55); border-radius: 3px; background: var(--clay-ink, #8e3b1a); color: #fff;
  font: 700 1rem/1 var(--sans, system-ui); cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .55); }
.rv-tab:hover { background: #6e2c12; }
.rv-tab:focus-visible { outline: 3px solid var(--gold, #f3c58c); outline-offset: 2px; }
.rv-count { min-width: 1.5em; padding: .15rem .4rem; border-radius: 99px; background: var(--gold, #f3c58c); color: var(--ink, #1d2230); font-size: .85rem; text-align: center; }
.rv { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--rule, #c4b597); border-radius: 3px;
  background: var(--paper, #f6f1e7); color: var(--ink, #1d2230); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.rv::backdrop { background: rgba(22, 27, 38, .45); }
.rv-in { padding: 1.25rem 1.4rem 1.4rem; }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.rv h2 { margin: 0; font-size: 1.6rem; }
.rv h3 { margin: 1.6rem 0 .6rem; font-size: 1.2rem; }
.rv-x { border: 0; background: none; font-size: 2rem; line-height: 1; padding: 0 .3rem; cursor: pointer; color: var(--ink-2, #474c59); }
.rv-page { margin: .4rem 0 .8rem; color: var(--ink-2, #474c59); }
.rv-quote { margin: 0 0 .8rem; padding: .5rem .8rem; border-left: 3px solid var(--clay, #b4532a); background: var(--card, #fffcf6); font: italic 1.05rem/1.4 var(--serif, Georgia); }
.rv-tip { margin: 0 0 .8rem; font-size: .95rem; color: var(--ink-3, #595d67); }
.rv-form label { display: block; margin: .6rem 0 .3rem; font-weight: 700; }
.rv-form textarea, .rv-form input { width: 100%; font: inherit; padding: .6rem .7rem; border: 1px solid var(--line, #d9cdb7); border-radius: 2px; background: #fff; }
.rv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .9rem; }
.rv-saved { font-size: .95rem; color: var(--clay-ink, #8e3b1a); }
.rv-all { border-top: 4px double rgba(29, 34, 48, .3); margin-top: 1.4rem; }
.rv-list { margin: 0; padding-left: 1.2rem; }
.rv-list li { margin: 0 0 .9rem; }
.rv-list li a { font-weight: 700; }
.rv-list li p { margin: .2rem 0; }
.rv-list q { display: block; font-style: italic; color: var(--ink-3, #595d67); }
.rv-del { border: 0; background: none; padding: 0; color: var(--clay-ink, #8e3b1a); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.rv-empty { color: var(--ink-3, #595d67); }
.rv-help { margin: 1.2rem 0 0; font-size: .95rem; }
@media (max-width: 600px) { .rv-tab { left: 12px; bottom: 12px; padding: .6rem .8rem; font-size: .95rem; } }
@media print { .rv-tab, .rv { display: none !important; } }

/* the tab steps aside for the phone menu and leaves room at the foot of the page */
body.menu-open .rv-tab { display: none; }
.has-rv .site-footer { padding-bottom: 72px; }
html.adm-js .rv-tab { left: auto; right: 16px; }
.rv [hidden] { display: none !important; }
/* the sheet's own buttons, so it looks the same on pages without the site's styles (the staff dashboard) */
.rv .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55em 1.1em; border: 2px solid var(--ink, #1d2230);
  border-radius: 3px; background: var(--ink, #1d2230); color: #fff; font: 700 1rem/1.1 var(--sans, system-ui); text-decoration: none; cursor: pointer; }
.rv .btn.clay { background: var(--clay, #b4532a); border-color: var(--clay, #b4532a); }
.rv .btn.ghost { background: transparent; color: var(--ink, #1d2230); }
.rv-state { display: block; font-size: .85rem; color: var(--ink-3, #595d67); }
.rv-sheet, .rv-long { margin: .8rem 0 0; font-size: .95rem; color: var(--ink-2, #474c59); }
