.editing { padding-top: 145px; }
#editor-toolbar { position: fixed; z-index: 50; inset: 0 0 auto; padding: 16px 6%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; background: #07100ff5; border-bottom: 1px solid var(--accent); box-shadow: 0 8px 30px #0004; }
#editor-toolbar strong { color: var(--accent); font-size: 18px; }
#editor-toolbar p { font-size: 14px; color: var(--muted); }
#editor-toolbar #editor-status { width: 100%; color: var(--paper); }
.editor-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.editor-actions button,#photo-manager button { border: 1px solid var(--border); background: var(--card); color: var(--paper); font-size: 14px; padding: 10px 14px; min-height: 44px; cursor: pointer; }
#save-site { background: var(--accent); color: var(--bg); }
button:disabled { opacity: .5; cursor: default; }
.editor-actions a { font-size: 14px; text-decoration: underline; }
.editing [contenteditable] { outline: 1px dashed #d6b78380; outline-offset: 7px; min-height: 1em; cursor: text; }
.editing [contenteditable]:focus { outline: 2px solid var(--accent); }
#photo-manager { width: min(950px,94vw); max-height: 90dvh; overflow: auto; padding: 30px; }
#photo-manager h2 { font-size: clamp(30px,6vw,42px); }
#photo-manager h3 { font-family: 'Italiana',serif; font-weight: 400; font-size: 30px; margin-bottom: 18px; }
#photo-manager section { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 28px; }
#photo-manager input,#photo-manager select { min-height: 44px; }
#hero-preview { width: 180px; height: 130px; object-fit: cover; display: block; margin-bottom: 20px; }
.editor-photo { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 20px; border-bottom: 1px solid var(--border); padding-block: 24px; }
.editor-photo img { width: 110px; height: 145px; object-fit: cover; }
.editor-photo label { margin-bottom: 12px; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.editor-photo small { font-size: 12px; color: var(--muted); display: block; margin-top: 12px; }
#upload-status,.manager-note { color: var(--accent); font-size: 14px; line-height: 1.7; }
.manager-note { margin-top: 28px; }
@media(max-width:650px) { .editing { padding-top: 205px; } #editor-toolbar { padding: 12px 6%; } .editor-actions { gap: 8px; } #photo-manager { padding: 20px; } .editor-photo { grid-template-columns: 70px minmax(0,1fr); gap: 14px; } .editor-photo img { width: 70px; height: 100px; } }
#text-manager { width: min(680px,94vw); max-height: 90dvh; overflow: auto; padding: 28px; }
#text-manager h2 { font-size: clamp(28px,6vw,40px); }
#text-manager label { display: block; margin-top: 20px; font-size: 16px; }
#text-manager input,#text-manager select,#text-manager textarea { width: 100%; min-height: 44px; font-size: 16px; }
#text-manager textarea { resize: vertical; }
.text-format { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.text-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
#text-manager button { border: 1px solid var(--border); background: var(--card); color: var(--paper); font-size: 14px; padding: 10px 14px; min-height: 44px; cursor: pointer; }
#text-status { margin-top: 14px; font-size: 14px; color: var(--accent); }
@media(max-width:650px) { #text-manager { padding: 20px; } .text-format { grid-template-columns: 1fr; gap: 0; } .editing { padding-top: 245px; } }
