.drawer-identity-row{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:26px;margin-bottom:35px}
.drawer-identity-row .drawer-type{margin:0;width:120px;height:120px;--badge-size:120px}
#guestbook-preview{min-width:0}
.gb-preview{display:block;min-width:0;padding:6px 0;color:var(--ink)}
.gb-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:500;line-height:1.5;margin-bottom:10px}
.gb-preview-heading svg{width:15px;height:15px;transition:transform .2s var(--ease)}
.gb-preview:hover .gb-preview-heading svg{transform:translate(2px,-2px)}
.gb-preview-lines{list-style:none;padding:0;margin:0;display:grid;gap:5px}
.gb-preview-line{display:flex;gap:8px;min-width:0;font-size:11px;line-height:1.7}
.gb-preview-name{flex:0 1 auto;max-width:5em;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gb-preview-message{flex:1;min-width:0;color:#66685e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gb-preview-empty{font-size:11px;line-height:1.8;color:#66685e;word-break:keep-all}
.guestbook-page{padding-bottom:12px}
.guestbook-page .article-back{margin-bottom:34px}
.gb-page-heading{display:flex;align-items:center;gap:25px;margin-bottom:36px}
.gb-page-heading .gb-page-badge{flex:none;width:90px;height:90px;--badge-size:90px;margin:0}
.gb-page-heading h1{font-size:clamp(26px,4vw,36px);font-weight:500;line-height:1.4;letter-spacing:-.04em;margin:0}
.gb-page-heading p{font-size:12px;color:#66685e;margin-top:8px}
.gb-compose{padding:0 0 34px;border-bottom:1px solid var(--rule)}
.gb-fields{border:0;margin:0;padding:0;min-width:0}
.gb-field-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.gb-field{display:flex;flex-direction:column;gap:8px;min-width:0;margin-bottom:18px}
.gb-field>label{font-size:12px;font-weight:500}
.gb-input,.gb-textarea{width:100%;border:1px solid #cacdc2;border-radius:5px;background:#fffefa;color:var(--ink);font:inherit;font-size:14px;line-height:1.7;padding:10px 12px;caret-color:var(--ink);outline:none;transition:border-color .2s}
.gb-input{min-height:44px}
.gb-textarea{min-height:130px;resize:vertical}
.gb-input::placeholder,.gb-textarea::placeholder{color:#72766a;opacity:1}
.gb-input:focus,.gb-textarea:focus{border-color:#515b43;outline:2px solid #515b4326;outline-offset:2px}
.gb-input:disabled,.gb-textarea:disabled{background:#f1f1e9;color:#686c61}
.gb-helper{font-size:11px;color:#686d60;line-height:1.7;margin-top:-2px}
.gb-textarea-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-top:-8px;margin-bottom:16px}
.gb-count{font-size:11px;color:#686d60;white-space:nowrap;font-variant-numeric:tabular-nums}
.gb-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.gb-button{min-height:42px;padding:10px 20px;border:1px solid #2c3225;border-radius:5px;background:#2c3225;color:#fffef9;font-size:12px;line-height:1.6;font-weight:500;transition:background .2s}
.gb-button:hover{background:#46513a}
.gb-button:disabled{opacity:.55;cursor:wait}
.gb-button-secondary{background:transparent;border-color:#b9bfb0;color:#424b37}
.gb-button-secondary:hover{background:#eeefe6}
.gb-button-danger{background:#913f36;border-color:#913f36;color:#fff9f4}
.gb-button-danger:hover{background:#793329}
.gb-status{font-size:12px;color:#566449;line-height:1.8;min-height:0;overflow-wrap:anywhere}
.gb-status:not(:empty){margin-top:12px}
.gb-status.is-error{color:#963e32}
.gb-posts-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:30px 0 17px}
.gb-posts-header h2{font-size:17px;font-weight:500;letter-spacing:-.025em}
.gb-posts-list{list-style:none;padding:0;margin:0}
.gb-post{padding:25px 0;border-top:1px solid var(--rule);overflow-wrap:anywhere}
.gb-post:first-child{border-top:0;padding-top:5px}
.gb-post-header{display:flex;justify-content:space-between;align-items:baseline;gap:15px}
.gb-post-author{font-size:13px;font-weight:600;min-width:0;overflow-wrap:anywhere}
.gb-post-time{font-size:10px;line-height:1.6;color:#6b7064;flex:none;font-variant-numeric:tabular-nums}
.gb-post-message{font-size:14px;line-height:1.9;margin-top:11px;white-space:pre-wrap;overflow-wrap:anywhere}
.gb-post-actions{display:flex;gap:17px;margin-top:12px;justify-content:flex-end}
.gb-post-action{background:transparent;color:#626c56;font-size:11px;padding:5px 0;min-height:30px}
.gb-post-action:hover{text-decoration:underline;text-underline-offset:4px}
.gb-post-action:disabled{opacity:.5;cursor:wait}
.gb-editor{margin-top:18px;background:#f0f1e8;padding:20px;border-radius:8px}
.gb-editor h3{font-size:14px;font-weight:500;margin-bottom:18px}
.gb-editor .gb-field:last-of-type{margin-bottom:14px}
.gb-editor .gb-helper{margin:0 0 14px}
.gb-editor .gb-textarea{min-height:110px}
.gb-editor .gb-input,.gb-editor .gb-textarea{background:var(--paper)}
.gb-list-empty{padding:32px 0;color:#666d5d;font-size:13px;line-height:1.9;border-top:1px solid var(--rule)}
.gb-load-more{display:block;width:100%;margin-top:20px;background:transparent;border:1px solid var(--rule);border-radius:5px;padding:13px;font-size:12px;min-height:44px}
.gb-load-more:hover{background:#f0f1e8}
.gb-load-more:disabled{cursor:wait;opacity:.55}
.gb-retry{display:inline-block;border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;font-size:12px;color:#47533b;padding:6px 0}
@media(max-width:700px){.drawer-identity-row{grid-template-columns:108px minmax(0,1fr);gap:22px;margin-bottom:29px}.drawer-identity-row .drawer-type{width:108px;height:108px;--badge-size:108px}.gb-page-heading{gap:18px;margin-bottom:28px}.gb-page-heading .gb-page-badge{width:78px;height:78px;--badge-size:78px}.gb-page-heading h1{font-size:27px}.gb-page-heading p{font-size:11px}.gb-field-row{gap:14px}.gb-input,.gb-textarea{font-size:16px}.gb-editor{padding:16px}.guestbook-page .article-back{margin-bottom:27px}.gb-post-time{font-size:9px}.gb-post-header{gap:10px}}
@media(max-width:430px){.drawer-identity-row{grid-template-columns:88px minmax(0,1fr);gap:18px}.drawer-identity-row .drawer-type{width:88px;height:88px;--badge-size:88px}.gb-preview-heading{font-size:12px;margin-bottom:8px}.gb-preview-line{font-size:10px;gap:6px}.gb-field-row{grid-template-columns:1fr}.gb-field{margin-bottom:16px}.gb-page-heading h1{font-size:25px}.gb-textarea-footer{gap:10px}.gb-helper{font-size:10px}}
@media(max-width:350px){.drawer-identity-row{grid-template-columns:80px minmax(0,1fr);gap:13px}.drawer-identity-row .drawer-type{width:80px;height:80px;--badge-size:80px}.gb-preview-name{max-width:4em}.gb-page-heading{gap:12px}.gb-page-heading .gb-page-badge{width:68px;height:68px;--badge-size:68px}.gb-page-heading h1{font-size:23px}.gb-post-header{align-items:flex-start;flex-direction:column;gap:3px}}
@media(prefers-reduced-motion:reduce){.gb-preview-heading svg,.gb-input,.gb-textarea,.gb-button{transition:none}}
