:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #29271f; background: #f3efe5; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; padding: calc(env(safe-area-inset-top) + 20px) 16px calc(env(safe-area-inset-bottom) + 28px); background: linear-gradient(160deg, #f7f3e9, #e8e1d2); }
main { width: min(680px, 100%); margin: 0 auto; }
header, .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header { margin: 4px 4px 18px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #766a52; }
#modeBadge, #viaBadge { padding: 5px 9px; border-radius: 999px; background: #d9d0bc; font-size: 12px; }
.card { margin: 12px 0; padding: 20px; border: 1px solid rgba(77,65,44,.13); border-radius: 20px; background: rgba(255,255,255,.72); box-shadow: 0 12px 36px rgba(62,53,38,.08); }
h1, h2, p { margin-top: 0; } h1 { font-size: 34px; margin-bottom: 10px; } h2 { font-size: 16px; } p { color: #665f52; line-height: 1.6; }
.actions { display: grid; gap: 10px; margin-top: 18px; }.actions.compact { grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); }
button, a { appearance: none; border: 1px solid #c9bea8; border-radius: 12px; padding: 13px 15px; background: #fffdf8; color: #312d24; text-align: center; font: inherit; font-weight: 650; text-decoration: none; }
.primary { color: white; border-color: #514a3c; background: #514a3c; }.danger { color: #9c3228; }
textarea { width: 100%; min-height: 220px; resize: vertical; border: 1px solid #d3c9b7; border-radius: 14px; padding: 14px; background: #fffdf8; font: 17px/1.7 ui-serif, serif; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 0; font-size: 13px; } dt { color: #766a52; } dd { margin: 0; overflow-wrap: anywhere; }
pre { max-height: 390px; overflow: auto; margin: 0; padding: 12px; border-radius: 12px; background: #29271f; color: #eee7d8; font: 11px/1.55 ui-monospace, monospace; white-space: pre-wrap; }
