.guestbook-page{max-width:920px;margin:auto}.guestbook-page .page-heading{margin-bottom:28px}.guestbook-compose{margin-bottom:36px}.guestbook-compose>summary{list-style:none;width:fit-content;cursor:pointer}.guestbook-compose>summary::-webkit-details-marker{display:none}.guestbook-compose[open]>summary{margin-bottom:26px}.guestbook-form{max-width:720px;padding:28px;background:var(--surface,#fffdf8);border:1px solid var(--line,#dcd4c8)}.guestbook-form input:not([type=radio]){min-width:0;width:100%}.guestbook-name{border:0;padding:0;margin:0;display:flex;gap:12px 26px;flex-wrap:wrap}.guestbook-name legend{margin-bottom:10px}.guestbook-name label{display:flex;align-items:center;gap:9px;min-height:44px;font-weight:400}.guestbook-name input{width:18px;height:18px;accent-color:#642f3a}.guestbook-editor-field>label{display:block;margin-bottom:8px}.guestbook-toolbar{display:flex;flex-wrap:wrap;gap:3px;border:1px solid var(--line,#dcd4c8);border-bottom:0;padding:5px}.guestbook-toolbar button{min-width:44px;min-height:44px;padding:8px;border:0;background:transparent;color:inherit;font-size:17px;cursor:pointer}.guestbook-toolbar button[data-command=bold]{font-weight:700}.guestbook-toolbar button[data-command=italic]{font-style:italic}.guestbook-toolbar button[data-command=underline]{text-decoration:underline}.guestbook-toolbar button[aria-pressed=true]{background:#e9e0d6;color:#642f3a}.guestbook-editor{min-height:200px;max-height:600px;overflow:auto;border:1px solid var(--line,#dcd4c8);padding:14px;background:var(--surface,#fffdf8);font-size:16px;line-height:1.7;overflow-wrap:anywhere}.guestbook-editor:focus-visible,.guestbook-toolbar button:focus-visible{outline:2px solid #642f3a;outline-offset:2px}.guestbook-text{font-size:17px;line-height:1.8;overflow-wrap:anywhere}.guestbook-text p,.guestbook-editor p{margin:0 0 .8em}.guestbook-text p:last-child,.guestbook-editor p:last-child{margin-bottom:0}.guestbook-text ul,.guestbook-text ol,.guestbook-editor ul,.guestbook-editor ol{padding-left:1.5em}.guestbook-entry{border-top:1px solid var(--line,#dcd4c8);padding:32px 0}.guestbook-entry h2{font-size:clamp(24px,4vw,32px);line-height:1.25;margin:0 0 10px;overflow-wrap:anywhere}.guestbook-byline{color:var(--muted,#6d665f);font-size:14px;margin:0 0 20px;overflow-wrap:anywhere}.guestbook-image{display:block;width:auto;height:auto;max-width:100%;max-height:560px;margin:22px 0 0;object-fit:contain}.guestbook-preview img{display:block;max-width:100%;max-height:240px;margin-bottom:10px}.guestbook-progress progress{width:calc(100% - 65px);accent-color:#642f3a}.guestbook-progress span{padding-left:10px}.guestbook-actions,.guestbook-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px}.guestbook-pagination{justify-content:space-between}.guestbook-admin{max-width:880px}.guestbook-empty{padding:20px 0}.guestbook-success{padding:20px 0;color:#36563c}.guestbook-form [data-error-message]{color:#9b2636}.guestbook-form [hidden],.guestbook-page [hidden]{display:none!important}@media(max-width:540px){.guestbook-form{padding:18px 14px}.guestbook-entry{padding:26px 0}.guestbook-name{flex-direction:column;gap:3px}.guestbook-page .button{max-width:100%}}
.guestbook-editor em,.guestbook-editor i,.guestbook-text em,.guestbook-text i{font-weight:inherit;color:inherit}@media(max-width:380px){.guestbook-toolbar{display:grid;grid-template-columns:repeat(3,1fr)}}
.guestbook-upload-field>span{display:block;margin-bottom:8px}.guestbook-dropzone{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:174px;padding:24px 18px;border:1px dashed #b7a99a;border-radius:6px;background:#faf7f2;text-align:center;cursor:pointer;transition:background .15s,border-color .15s}.guestbook-dropzone svg{color:#79505a;flex:none}.guestbook-dropzone>span{pointer-events:none}.guestbook-dropzone .small{font-weight:400}.guestbook-dropzone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0}.guestbook-dropzone:hover,.guestbook-dropzone:focus-within,.guestbook-dropzone.is-dragging{border-color:#642f3a;background:#f1e9e2}.guestbook-dropzone:focus-within{box-shadow:0 0 0 2px #642f3a}.guestbook-dropzone:has(input:disabled){opacity:.6;cursor:wait}.guestbook-file-name{max-width:100%;overflow-wrap:anywhere;color:#642f3a;font-size:14px}.guestbook-file-name:empty{display:none}.guestbook-preview{padding:16px;border:1px solid var(--line,#dcd4c8);border-radius:6px;background:#faf7f2}.guestbook-preview img{margin:0 auto 12px;max-height:220px;border-radius:3px}.guestbook-preview .text-button{display:block;margin:auto;min-height:44px}@media(max-width:540px){.guestbook-dropzone{min-height:160px;padding:20px 12px}}
.guestbook-eyebrow{display:flex;align-items:center;gap:14px;font-size:10px;letter-spacing:2px}.guestbook-eyebrow>span{width:30px;height:1px;background:var(--gold);flex:none}
.guestbook-empty img{width:380px;max-width:100%;height:auto;margin:0 auto}

.guestbook-empty>p{text-align:center;font-size:14px;line-height:1.6;max-width:420px;margin:18px auto 0}
.guestbook-edit{margin-top:18px}.guestbook-edit>summary{cursor:pointer;width:fit-content}.guestbook-edit[open]>summary{margin-bottom:22px}.guestbook-edit>form{padding:24px;border:1px solid var(--line);background:var(--surface)}.guestbook-remove-image{display:flex;align-items:center;gap:10px}.guestbook-remove-image input{width:18px;height:18px;margin:0}.guestbook-edit-error{color:#9b2636}.guestbook-edit .guestbook-actions{margin-top:0}@media(max-width:540px){.guestbook-edit>form{padding:16px 12px}}

.guestbook-admin [hidden]{display:none!important}
