.language-control{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line,#e3ddd2);border-radius:12px;background:#fffdf9;padding:3px 7px;flex-shrink:0;color:#33402e}.language-control select{min-height:38px;max-width:115px;border:0;background:transparent;color:inherit;font:inherit;font-size:14px;cursor:pointer}.language-control:focus-within{outline:2px solid #5c6847;outline-offset:2px}.language-status{font-size:13px;line-height:1.5;padding:10px 14px;background:#edf2e8;border-radius:12px;color:#33402e}html:lang(ko) h1,html:lang(ko) h2,html:lang(ko) h3{font-family:system-ui,sans-serif;word-break:keep-all;line-height:1.35}html:lang(ko) button{word-break:keep-all}html:lang(ko) .eyebrow{letter-spacing:.03em}@media(max-width:600px){.header-tools{flex-wrap:wrap;justify-content:flex-end;gap:6px}.language-control select{max-width:94px;font-size:13px}.language-control{padding:1px 5px}.language-control>span{display:none}}

/* A calendar beside the familiar Australian date field, with native mobile pickers. */
.date-picker-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;align-items:stretch;min-width:0}
.date-picker-row>input{min-width:0;width:100%}
.date-picker-row .date-calendar{position:relative;display:flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;margin:0;border:1px solid #bcc8b3;border-radius:14px;background:#edf2e8;color:#485b3d;cursor:pointer;overflow:hidden}
.date-calendar:focus-within{outline:2px solid #526841;outline-offset:2px}
.date-calendar svg{flex-shrink:0;pointer-events:none}
.date-calendar .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.date-calendar input.calendar-native{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
.date-calendar input.calendar-native::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.date-format-hint{display:block;margin-top:5px;font-variant-numeric:tabular-nums}
/* Use one contemporary Korean family for headings, body text and form controls. */
html:lang(ko) body{font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;font-weight:400;line-height:1.6}
html:lang(ko) :is(h1,h2,h3,.memory-book strong,.hero-note){font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;font-weight:700;letter-spacing:-.025em;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
html:lang(ko) :is(button,input,textarea,select){font-family:inherit}
html:lang(ko) :is(button,label,.tab){word-break:keep-all}
html:lang(ko) .eyebrow{font-weight:600;letter-spacing:.015em}
/* Preserve readable family writing across scripts, including mixed-language stories. */
.memory-copy h3,.memory-copy p,.book-page h3,.book-page p,.attachment-gallery figcaption{overflow-wrap:anywhere;min-width:0;unicode-bidi:plaintext;letter-spacing:normal}
:is(.memory-copy,.book-page,.attachment-gallery) :lang(ko){font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;word-break:keep-all;overflow-wrap:anywhere;line-height:1.65}
:is(.memory-copy,.book-page,.attachment-gallery) :lang(ja){font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",system-ui,sans-serif;line-height:1.75;word-break:normal}
:is(.memory-copy,.book-page,.attachment-gallery) :lang(zh){font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;line-height:1.75;word-break:normal}
:is(.memory-copy,.book-page,.attachment-gallery) :lang(ar),:is(.memory-copy,.book-page,.attachment-gallery) :lang(he){font-family:Tahoma,"Geeza Pro",system-ui,sans-serif;line-height:1.85;letter-spacing:normal}
