.anna-editor-toolbar{text-align:center;margin:0 0 22px}
.anna-editor-toolbar[hidden],#anna-editor-writing-view[hidden],#anna-editor-list-view[hidden],#anna-editor-reload[hidden],.anna-owner-writing[hidden]{display:none!important}
.anna-editor-toolbar button,.anna-tile-editor button{min-height:44px;border:1px solid #a17b89;border-radius:6px;background:#fffdfa;color:#633c4c;padding:10px 16px;font:600 15px/1.3 system-ui,sans-serif;cursor:pointer}
.anna-editor-toolbar button,#anna-editor-save{background:#713e50;color:white}
.anna-editor-toolbar p{margin:8px auto 0;text-align:center;font-size:14px}
.anna-tile-editor{width:min(760px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:0;border:2px solid #713e50;border-radius:10px;background:#fbf7f1;color:#322c2c;box-shadow:0 16px 60px #20151c55;box-sizing:border-box}
.anna-tile-editor::backdrop{background:#24151dcc}
.anna-editing{overflow:hidden}
.anna-tile-editor form{margin:0;padding:0}
.anna-editor-heading{padding:24px 24px 12px;text-align:center}
.anna-editor-heading h2{font:700 30px/1.2 Georgia,serif;margin:0 0 12px;text-align:center}
.anna-editor-heading h2:focus{outline:none}
.anna-editor-heading p{font:15px/1.5 system-ui,sans-serif;text-align:center;margin:0}
.anna-tile-editor fieldset{border:0;padding:0 24px;margin:0;min-width:0}
.anna-tile-editor .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.anna-editor-list{list-style:none;display:grid;gap:16px;margin:0;padding:0}
.anna-editor-row{border:2px solid #b49aa3;border-radius:8px;padding:18px;min-width:0;background:#fffdfa}
.anna-editor-row:nth-child(odd){background:#eadce1}
.anna-editor-row-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.anna-editor-number{font:700 18px/1.3 Georgia,serif;color:#633c4c;white-space:nowrap}
.anna-editor-moves{display:flex;gap:8px}
.anna-tile-editor button:disabled{opacity:.45;cursor:default}
.anna-editor-field{display:block;margin:10px 0 0}
.anna-editor-field>span{display:block;font:600 14px/1.4 system-ui,sans-serif;margin-bottom:6px}
.anna-editor-field input,.anna-editor-field textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #a17b89;border-radius:5px;padding:12px;background:#fff;color:#322c2c;font:16px/1.5 system-ui,sans-serif;min-width:0}
.anna-editor-field textarea{resize:vertical}
.anna-editor-write{display:block;width:100%;margin-top:14px;background:#713e50!important;color:white!important}
#anna-editor-writing{display:block;box-sizing:border-box;width:100%;min-height:48dvh;border:2px solid #b49aa3;border-radius:6px;padding:18px;background:#fffdfa;color:#322c2c;font:18px/1.7 system-ui,sans-serif;resize:vertical}
#anna-editor-word-count{margin:8px 0 0;text-align:right;font:12px/1.5 system-ui,sans-serif;color:#716564}
.anna-writing-section,.anna-introduction{background:#eadce1;border:2px solid #b49aa3;border-top:5px solid #783c4e;border-radius:8px;padding:28px;margin:24px 0 32px}
.anna-owner-writing{white-space:pre-wrap;overflow-wrap:anywhere;text-align:justify!important;text-align-last:start;line-height:1.8;font-size:calc(17px * var(--text-scale,1))}
.anna-writing-section>h2{text-align:center;margin:0 0 20px}
.anna-writing-empty{text-align:center!important;color:#716564;margin:0}
.anna-introduction{max-width:900px;margin:0 auto 32px;font-style:normal;box-sizing:border-box}
.anna-introduction>div{max-width:780px;margin:auto}
.anna-introduction p{max-width:none!important;text-align:justify;font-size:calc(17px * var(--text-scale,1));line-height:1.8;margin:0 0 20px}
.anna-introduction p:last-child{margin-bottom:0}
.anna-directory-page :is(h1,h2),.anna-directory-page .anna-section-card h3,.anna-compact-reader :is(h1,h2,h3,h4){text-align:center!important;font-weight:700!important}
.anna-editor-field input[data-field="title"]{text-align:center;font-weight:700}
#anna-editor-writing{text-align:justify!important;text-align-last:start}
.anna-section-card>p,.anna-compact-reader [data-anna-content]>p,.anna-compact-reader .record-account p,.anna-compact-reader .reading-section p,#anna-editor-writing{text-align:justify}
.anna-photo-section{margin:32px 0;padding:24px;border:2px solid #b49aa3;border-top:5px solid #783c4e;border-radius:8px;background:#fffdfa}
.anna-photo-section[hidden]{display:none!important}
.anna-photo-section>h2,.anna-editor-photos>h3{text-align:center;margin:0 0 20px}
.anna-photo-empty{text-align:center!important;color:#716564;margin:0}
.anna-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.anna-photo{margin:0;min-width:0;border:1px solid #b49aa3;border-radius:6px;overflow:hidden;background:#eadce1}
.anna-photo img{display:block;width:100%;height:320px;object-fit:contain;background:#f6eff1}
.anna-photo figcaption{padding:14px;text-align:justify;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.anna-photo figcaption a{display:block;margin-top:8px;text-align:center;color:#1262a9;text-decoration:underline}
.anna-editor-photos{border-top:2px solid #b49aa3;margin-top:28px;padding-top:22px}
.anna-editor-photos>p{font:14px/1.5 system-ui,sans-serif;text-align:center}
#anna-editor-photo-upload{display:block;width:100%;font:16px/1.5 system-ui,sans-serif;min-height:44px}
#anna-editor-photo-list{display:grid;gap:18px;margin-top:16px}
.anna-editor-photo{padding:14px;border:1px solid #b49aa3;border-radius:6px;background:#eadce1}
.anna-editor-photo img{display:block;margin:auto;max-width:100%;max-height:300px;object-fit:contain}
.anna-editor-photo button{margin-top:12px}
@media(max-width:600px){.anna-photo-grid{grid-template-columns:1fr}.anna-photo-section{padding:18px}.anna-photo img{height:auto;max-height:440px}}
.anna-editor-details{margin-top:14px}
.anna-editor-details summary{min-height:44px;align-content:center;color:#1262a9;font:600 14px/1.4 system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.anna-editor-actions{position:sticky;bottom:0;background:#fbf7ff;border-top:2px solid #b49aa3;padding:14px 24px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:20px;box-shadow:0 -4px 16px #322c2c12}
.anna-editor-actions>p{flex-basis:100%;margin:0;text-align:center;font:14px/1.5 system-ui,sans-serif}
.anna-editor-actions>button{min-width:150px}
.anna-editor-actions>p:empty{display:none}
.anna-editor-discard{flex-basis:100%;text-align:center;border:1px solid #a17b89;border-radius:5px;padding:12px}
.anna-editor-discard p{margin:0 0 10px;font:14px/1.5 system-ui,sans-serif}
.anna-tile-editor :is(button,input,textarea,summary):focus-visible,.anna-editor-toolbar button:focus-visible{outline:3px solid #1262a9;outline-offset:3px}
@media(max-width:600px){.anna-editor-heading{padding:20px 14px 14px}.anna-tile-editor fieldset{padding:0 12px}.anna-editor-row{padding:14px}.anna-editor-actions{padding:12px}.anna-editor-moves button{padding:10px 12px}.anna-editor-heading h2{font-size:27px}.anna-writing-section,.anna-introduction{padding:22px 18px}#anna-editor-writing{padding:14px}}
@media print{.anna-editor-toolbar,.anna-tile-editor{display:none!important}}

.anna-reference-photo{max-width:740px;margin:22px auto;background:#fff;border:2px solid #a17081;border-radius:10px;padding:18px}.anna-reference-photo img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain}.anna-reference-photo figcaption{font:14px/1.7 system-ui;text-align:center;margin-top:14px}.anna-reference-photo a{color:#0645ad;text-decoration:underline;text-underline-offset:3px}.anna-photo-empty[hidden]{display:none!important}@media(max-width:520px){.anna-reference-photo{padding:12px}}

.anna-directory .anna-introduction{margin:24px auto 32px}
