/* 餐厅邮件模板页样式（只在本页引用，不影响站内其它工具） */
.re-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.re-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.re-tool label,
.re-roi label { display: block; font-size: 13px; font-weight: 600; color: var(--mut); }
.re-tool select,
.re-tool input[type="text"],
.re-roi input[type="number"] { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.re-tool select:focus,
.re-tool input[type="text"]:focus,
.re-roi input[type="number"]:focus { outline: 2px solid #a7f3d0; border-color: var(--acc); }
.re-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.re-tool .btn,
.re-roi .btn { min-height: 44px; padding: 10px 15px; font-size: 14px; font-weight: 600; color: #fff; background: var(--acc); border: 1px solid var(--acc); border-radius: 8px; cursor: pointer; }
.re-tool .btn:hover,
.re-roi .btn:hover { background: var(--acc-strong); }
.re-tool .btn.ghost { color: var(--ink); background: var(--soft); border-color: var(--line); }
.re-tool .btn.ghost:hover { background: #eef0f3; }
.re-list { display: grid; gap: 14px; margin-top: 16px; }
.re-card { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.re-card h3 { margin: 0 0 8px; font-size: 15px; }
.re-label { margin: 10px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--mut); }
.re-subjects { margin: 0; padding: 0; list-style: none; }
.re-subjects li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.re-subjects li:last-child { border-bottom: 0; }
.re-subject-text { word-break: break-word; }
.re-copy { flex: none; min-height: 44px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: #fff; background: var(--acc); border: 0; border-radius: 8px; cursor: pointer; }
.re-copy:hover { background: var(--acc-strong); }
.re-body { margin: 6px 0 0; padding: 12px 14px; font-size: 14px; line-height: 1.65; font-family: inherit; white-space: pre-wrap; word-break: break-word; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
.re-card-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.re-roi { margin-top: 18px; }
.re-roi h2 { margin-top: 0; }
.re-steps { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 14px 0 4px; font-size: 15px; }
.re-steps dt { color: var(--mut); }
.re-steps dd { margin: 0; font-weight: 700; text-align: right; }
.re-formula { margin: 10px 0 0; font-size: 13px; color: var(--mut); word-break: break-word; }
@media (max-width: 700px) {
  .re-subjects li { flex-direction: column; align-items: flex-start; }
  .re-copy { align-self: flex-start; }
}
