/* Section editing UI (only shows with Rocio's private link) */
section[data-sec] { position: relative; }
.rv-edit { display: none; }
html.rv-on .rv-edit { display: inline-flex; align-items: center; gap: 6px; position: absolute; top: 18px; right: 18px; z-index: 20; padding: 9px 16px; border: 1px solid rgba(33, 69, 51, .25); border-radius: 99px; background: rgba(253, 251, 250, .92); backdrop-filter: blur(6px); color: var(--green); font: 500 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .25); }
html.rv-on .rv-edit::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat; }
html.rv-on .rv-edit:hover { background: var(--blush); }
html.rv-on .rv-edit.has::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #b98d9c; }
html.rv-on .hero .rv-edit { top: calc(var(--demo-h) + 96px); }

.rv-editing { outline: 2px dashed rgba(185, 141, 156, .7); outline-offset: -10px; }
.rv-editing .rv-edit { visibility: hidden; }
.rv-focus { background: #fff3b0 !important; box-shadow: 0 0 0 6px #fff3b0; border-radius: 3px; transition: background .2s; }
html.rv-on .rv-changed { box-shadow: inset 0 -2px 0 rgba(185, 141, 156, .45); }

/* Side panel with a text box for every piece of text in the section */
.rv-bar { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--white); border-left: 1px solid rgba(33, 69, 51, .15); box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .3); font: 300 15px/1.5 var(--sans); color: var(--ink); animation: rvIn .35s var(--ease); }
@keyframes rvIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.rv-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 0; }
.rv-title { margin: 0; font-family: var(--serif); font-size: 28px; color: var(--green); }
.rv-x { border: 0; background: none; font-size: 30px; line-height: 1; color: var(--green); cursor: pointer; padding: 4px 8px; }
.rv-help { margin: 4px 24px 12px; color: #6b6462; font-size: 14px; }
.rv-fields { flex: 1; overflow-y: auto; padding: 4px 24px 16px; display: grid; gap: 14px; align-content: start; }
.rv-field { display: grid; gap: 5px; }
.rv-field span { font: 500 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.rv-field textarea { font: 400 16px/1.45 var(--sans); padding: 10px 12px; border: 1px solid rgba(33, 69, 51, .3); border-radius: 10px; resize: vertical; background: #fff; color: #2b2b2b; width: 100%; box-sizing: border-box; }
.rv-field textarea:focus { outline: 2px solid var(--blush-deep); border-color: transparent; }
.rv-note { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(33, 69, 51, .12); }
.rv-note span { text-transform: none; letter-spacing: 0; font-size: 14px; }
.rv-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px 20px; border-top: 1px solid rgba(33, 69, 51, .12); background: var(--white); }
.rv-actions button { font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 14px 22px; border-radius: 99px; cursor: pointer; border: 1px solid rgba(33, 69, 51, .25); background: transparent; color: var(--green); }
.rv-actions .rv-save { background: var(--green); color: var(--white); border-color: var(--green); }
@media (min-width: 900px) { html.rv-open body { margin-right: 440px; } html.rv-open .topbar { right: 440px; } }

.rv-hint { font-size: 12px; color: #f1d9e1; }
.rv-toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; transform: translate(-50%, 20px); opacity: 0; background: var(--green); color: var(--white); padding: 12px 22px; border-radius: 99px; font: 400 14px/1 var(--sans); transition: opacity .4s, transform .4s; }
.rv-toast.on { opacity: 1; transform: translateX(-50%); }
@media (max-width: 680px) {
  html.rv-on .rv-edit { top: 12px; right: 12px; padding: 8px 13px; }
  html.rv-on .hero .rv-edit { top: calc(var(--demo-h) + 76px); }
  .rv-hint { display: none; }
  .rv-bar { top: auto; height: 72vh; width: 100%; border-left: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -20px 50px -20px rgba(0,0,0,.35); }
  @keyframes rvIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
