/* The guestbook inside a site's own shell. Layout only, coloured with the site's tokens
   (--paper, --ink, --muted, --line, --accent, and --card or --soft where a site has them),
   so every site's guestbook takes that site's palette in light and dark mode. */
.guestbook{min-width:0}
.guestbook .hero.compact>p:last-child{color:var(--muted)}
.guestbook .columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;margin:32px 0}
.guestbook .compose,.guestbook .board{min-width:0}
.guestbook h2{font-size:18px;margin:0 0 12px}
.guestbook #quota{font-size:13px;color:var(--accent)}
.guestbook label{display:block;font-size:13px;font-weight:600;margin:17px 0 0}
.guestbook :is(input,textarea,select){display:block;width:100%;box-sizing:border-box;font:inherit;color:var(--ink);background:var(--card,var(--paper));border:1px solid var(--line);border-radius:7px;padding:10px 12px;margin-top:6px}
.guestbook :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
.guestbook textarea{resize:vertical;min-height:88px}
.guestbook :is(input,textarea,select):focus{outline:2px solid var(--accent);outline-offset:2px}
.guestbook details{margin:20px 0;border-block:1px solid var(--line);padding:14px 0}
.guestbook summary{cursor:pointer;font-size:13px}
.guestbook .hint{font-size:12px;margin:20px 0;color:var(--muted)}
.guestbook button{border:0;border-radius:7px;background:var(--accent);color:var(--paper);font:inherit;cursor:pointer;padding:10px 20px}
.guestbook button:disabled{opacity:.45;cursor:default}
.guestbook #status{min-height:25px;font-size:13px}
.guestbook .section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.guestbook .section-head span{font-size:12px;color:var(--muted)}
.guestbook .note{padding:22px 0;border-bottom:1px solid var(--line)}
.guestbook .note h3{margin:0;font-size:15px}
.guestbook .note p{white-space:pre-wrap;overflow-wrap:anywhere}
.guestbook .note small{color:var(--muted)}
.guestbook .empty{padding:56px 16px;color:var(--muted);text-align:center;border:1px dashed var(--line);border-radius:8px}
.guestbook .pill{font-size:11px;font-weight:500;background:var(--soft,color-mix(in srgb,var(--accent) 10%,var(--paper)));color:var(--accent);padding:3px 8px;border-radius:20px;margin-left:8px}
.guestbook .error{color:light-dark(#9a342c,#ffa99d)}
.guestbook-footnote{border-top:1px solid var(--line);padding-top:20px;font-size:12px;color:var(--muted)}
@media(max-width:720px){.guestbook .columns{grid-template-columns:1fr;gap:40px}}
