.site-edit-pencil { display: none; position: absolute; z-index: 12; top: 14px; right: 18px; align-items: center; gap: 7px; border: 1px solid #d6bc8a; border-radius: 999px; padding: 8px 13px; background: #fff; color: #173e5a; box-shadow: 0 6px 18px rgba(15, 42, 67, .14); font-size: 13px; font-weight: 700; cursor: pointer; }
.site-edit-pencil span { font-size: 18px; line-height: 1; }
.site-editor-active [data-site-section] { position: relative; }
.site-editor-active .site-edit-pencil { display: inline-flex; }
#site-editor-access { position: fixed; z-index: 30; right: 18px; bottom: 18px; border: 0; border-radius: 999px; padding: 12px 18px; background: #173e5a; color: white; box-shadow: 0 8px 24px rgba(15, 42, 67, .24); font-weight: 700; cursor: pointer; }
.site-editor-dialog { width: min(620px, calc(100% - 24px)); max-width: 620px; max-height: min(88vh, 900px); padding: 0; border: 1px solid #d9e1e6; border-radius: 18px; color: #17324d; box-shadow: 0 28px 80px rgba(7, 24, 39, .3); }
.site-editor-dialog::backdrop { background: rgba(10, 24, 39, .64); backdrop-filter: blur(3px); }
.site-editor-card { display: flex; flex-direction: column; max-height: min(88vh, 900px); }
.site-editor-card > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 24px; border-bottom: 1px solid #e3e9ee; }
.site-editor-kicker { color: #9a7339; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.site-editor-title { margin: 6px 0 0; color: #10283f; font: 600 24px/1.25 var(--font-body, system-ui); }
.site-editor-close { border: 0; background: transparent; color: #506274; font-size: 28px; cursor: pointer; }
.site-editor-fields { display: grid; gap: 14px; overflow-y: auto; padding: 22px 24px; }
.site-editor-fields label { display: grid; gap: 7px; color: #334e68; font-size: 13px; font-weight: 700; }
.site-editor-fields textarea { width: 100%; min-height: 48px; resize: vertical; padding: 11px 12px; border: 1px solid #cbd5df; border-radius: 9px; color: #17324d; background: #fff; font: 400 15px/1.5 var(--font-body, system-ui); }
.site-editor-fields textarea:focus { outline: 3px solid rgba(184, 138, 69, .22); border-color: #b88a45; }
.site-editor-message { min-height: 22px; margin: 0; padding: 0 24px; color: #9a3412; font-size: 13px; }
.site-editor-card > footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px 22px; }
.site-editor-card > footer button { border: 1px solid #cbd5df; border-radius: 9px; padding: 10px 16px; background: white; color: #17324d; font-weight: 700; cursor: pointer; }
.site-editor-card > footer .site-editor-save { border-color: #173e5a; background: #173e5a; color: white; }
.site-editor-card > footer button:disabled { opacity: .6; cursor: wait; }
.site-new-post, .site-post-pencil { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d6bc8a; border-radius: 999px; padding: 8px 13px; background: #fff; color: #173e5a; font-size: 13px; font-weight: 700; cursor: pointer; }
.site-new-post { margin: 8px 0 16px; }
.site-post-pencil { margin-top: 12px; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .site-edit-pencil { top: 9px; right: 10px; padding: 7px 10px; font-size: 12px; } #site-editor-access { right: 12px; bottom: 12px; } .site-editor-card > header, .site-editor-fields { padding-left: 17px; padding-right: 17px; } .site-editor-card > footer { padding-left: 17px; padding-right: 17px; } }
