.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.65fr);gap:25px;align-items:start}.editor-section{background:#fff9;border:1px solid #0f1b3018;border-radius:12px;margin-bottom:15px;overflow:hidden}.editor-section>summary{padding:19px 22px;font-size:14px;font-weight:600;cursor:pointer}.editor-section[open]>summary{border-bottom:1px solid #0f1b3012}.editor-fields{padding:0 22px 24px}.editor-fields h3{font-size:19px;margin-top:28px}.editor-fields textarea{min-height:110px}.editor-fields label{font-size:12px}.editor-preview{position:sticky;top:120px}.editor-preview-photo{background-position:center;background-size:cover;color:white;border-radius:12px;text-align:center;padding:28px 18px}.editor-preview-photo>span:first-child{font-size:8px;letter-spacing:.12em;color:#e7d5b0}.editor-preview-photo h3{font-size:29px;margin:22px 0 16px;overflow-wrap:anywhere}.editor-preview-photo p{font-size:11px;line-height:1.8}.editor-preview-photo .btn{font-size:11px;min-height:36px;padding:9px 17px;pointer-events:none}.editor-preview details{font-size:12px;padding:16px;border:1px solid #0f1b3018;border-radius:10px}.editor-preview summary{cursor:pointer;font-weight:600}.editor-preview details p{margin-top:15px}.editor-thumb{width:100%;height:145px;object-fit:cover;border-radius:8px}.editor-board{padding-bottom:22px;border-bottom:1px solid #0f1b3018;margin-bottom:18px}.editor-board .text-link{margin-top:15px}.editor-savebar{position:sticky;bottom:12px;background:#0f1b30;color:white;padding:18px 22px;border-radius:12px;display:flex;flex-wrap:wrap;gap:15px;align-items:center;box-shadow:0 6px 24px #0f1b3020;z-index:5}.editor-savebar>div{flex-basis:100%;font-size:12px}.editor-savebar .btn{margin:0;background:#d7b875;color:#0f1b30;border-color:#d7b875}.editor-savebar .text-link{color:white;border-color:#ffffff60}.editor-savebar .error{color:#ffc6b6}.editor-backup{margin-top:35px;border-top:1px solid #0f1b3020;padding-top:28px}.editor-backup h3{font-size:23px}.editor-backup p{font-size:12px;color:#637278}.editor-backup input{max-width:400px}.editor-recovery{padding:16px;border:1px solid #b99d62;border-radius:10px;margin-bottom:20px;font-size:12px}.editor-recovery button{margin-left:10px}
@media(max-width:1050px){.editor-layout{grid-template-columns:1fr}.editor-preview{position:static;display:grid;grid-template-columns:1fr 1fr;gap:15px}.editor-preview-photo{grid-row:span 2}.editor-preview .form-note{margin:0}}@media(max-width:760px){.editor-preview{display:block}.editor-preview .form-note{margin:15px 0}.editor-savebar{bottom:6px;padding:16px}.editor-savebar .btn{width:100%}.editor-fields{padding:0 17px 20px}.editor-section>summary{padding:18px 17px}}
/* Phase 2 settings remain usable on small screens. */
#settings-form label,#private-upload label,[data-photo-edit] label{display:block;margin-top:14px}#settings-form input[type=checkbox],[data-photo-edit] input[type=checkbox]{width:auto;margin-right:8px}#settings-form .editor-savebar{flex-wrap:wrap}#settings-admin,#private-photo-admin,.member-layout>div{min-width:0}#settings-preview-content .cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}#private-photo-admin .album-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}[data-private-src]{max-width:100%;height:auto;object-fit:contain}#event-form .editor-section{margin:20px 0}#event-form .editor-section>summary{cursor:pointer;font-weight:600}#event-form input[type=checkbox]{width:auto;margin-right:8px}#event-form .editor-section label{display:block;margin-top:14px}@media(max-width:600px){#settings-form .field-row{display:flex;flex-direction:column;align-items:stretch}#settings-form .editor-savebar button{width:100%}#private-photo-admin .album-grid{grid-template-columns:minmax(0,1fr)}}

/* Visitor routes */
.open-filter{display:flex;align-items:center;gap:12px;min-height:48px;margin:12px 0}.open-filter input{width:20px;height:20px;margin:0}.agenda-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.agenda-actions p{flex-basis:100%}.join-steps{margin-bottom:36px}.join-steps ol{padding-left:24px}.join-steps li{padding:0 0 18px 10px}.join-steps b{display:block}.contact-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#contact-form{max-width:680px}#contact-form label{display:block;margin:18px 0}#contact-form textarea{width:100%}#contact-challenge{margin:16px 0;min-height:65px}@media(max-width:640px){.pill,.sidebar button,.menu-toggle{min-height:44px}.dialog-actions .btn,.agenda-actions .btn{width:100%}.cal-event{min-height:44px}.agenda-actions{align-items:stretch}#contact-form input,#contact-form textarea{font-size:16px}}
