/* Shared look for the "Fake Paperwork" text generators: a typed document on a desk. */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.tabs .btn.active { background: var(--accent); }
.doc {
  max-width: 680px; margin: 0 auto; padding: 34px 38px 38px 76px; background: #fffdf7; position: relative;
  border: 2px solid var(--ink); box-shadow: var(--shadow-lg); border-radius: 2px;
  background-image: linear-gradient(90deg, transparent 52px, rgba(217, 69, 43, .35) 52px, rgba(217, 69, 43, .35) 54px, transparent 54px);
}
.doc .head { font-family: var(--font-head); font-size: .82rem; color: var(--muted); border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 18px; display: grid; gap: 3px; }
.doc .head b { color: var(--ink); display: inline-block; min-width: 70px; }
.doc .title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; margin: 0 0 14px; }
.doc .body { font-size: 1.05rem; line-height: 1.7; white-space: pre-wrap; min-height: 160px; }
.doc .body.fade { animation: typeIn .4s ease; }
@keyframes typeIn { from { opacity: 0; transform: translateY(6px); } }
.doc .stamp { position: absolute; right: 26px; top: 22px; font-family: var(--font-head); font-weight: 700; color: #c2361b; border: 3px solid #c2361b; padding: 2px 10px; transform: rotate(8deg); opacity: .8; font-size: .85rem; }
.doc ul { margin: 0 0 14px; padding-left: 1.2em; }
.doc h3 { font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; margin: 16px 0 6px; color: var(--accent-2); }
.doc h3:first-child { margin-top: 0; }
.controls { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.fine { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 16px; }
@media (max-width: 560px) { .doc { padding: 26px 20px 28px 26px; background-image: none; } .doc .stamp { position: static; display: inline-block; margin-bottom: 10px; } }
