.home-banners{border:1px solid #ddb994;background:#fff7ed;padding:20px;border-radius:16px;margin-bottom:24px;overflow-wrap:anywhere;min-width:0}.home-banners img{display:block;max-width:100%;max-height:300px;object-fit:contain;margin:auto}.banner-art{font-size:clamp(35px,8vw,70px);color:#ac3f22;text-align:center;letter-spacing:.15em}.banner-controls{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.banner-controls button{min-height:44px}.banner-ad{display:block;font-weight:700}.banner-thumbnail{display:block;width:220px;max-width:100%;height:auto}.banner-editor{margin-block:16px}.banner-editor button{margin:8px;min-height:44px}.banner-editor label{display:block}.banner-editor input{max-width:100%}#informationLinks{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}#informationLinks a{display:inline-block;padding:8px}.help-reply{border-inline-start:3px solid #b65b24;padding:12px;margin:12px 0;overflow-wrap:anywhere;white-space:pre-wrap}#helpDetail textarea{display:block;width:100%;min-height:120px}#helpDetail button,#helpPrevious,#helpNext{min-height:44px}.information-page{line-height:1.7;overflow-wrap:anywhere}@media(prefers-reduced-motion:reduce){.home-banners,.home-banners *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.gift-options{display:block;min-width:0}.gift-options #giftChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gift-options label{min-width:0;margin:0;overflow-wrap:anywhere;min-height:44px}.gift-dialog{max-height:90dvh;overflow:auto;overscroll-behavior:contain}.gift-dialog #giftCategory{display:block;max-width:100%;width:100%;min-height:44px}.gift-dialog .row button{min-height:44px;white-space:normal}.gift-dialog .gift-art{max-width:100%}

/* Keep the category focus outline clear of its label and the following legend. */
.gift-dialog #giftCategory{margin-block:10px 18px}.gift-dialog .gift-options{margin-block:8px 16px}.gift-dialog .gift-options legend{padding-block:4px}

/* Home language buttons reuse the native header selector change handler. */
.welcome-languages{display:flex;flex-wrap:wrap;align-items:center;gap:10px;max-width:100%}.welcome-languages .btn{min-height:44px;padding:7px 10px;border:1px solid #c58f55;background:#fff8e9;color:#6f421f;border-radius:7px;font-size:14px}.welcome-languages .btn[aria-current="page"]{background:#f6dbb6;border-color:#8b461c;box-shadow:inset 0 -3px #a74717;font-weight:700}.welcome-languages .btn:focus-visible{outline:3px solid #87506f;outline-offset:3px}

.password-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start;min-width:0}.form .password-control button{margin:0;min-height:44px;max-width:145px;padding:8px 10px;white-space:normal;overflow-wrap:anywhere}.password-control .field-error{grid-column:1/-1}

.password-control input{grid-column:1;grid-row:1}.form .password-control button{grid-column:2;grid-row:1}

.filters .filter-field{display:flex;flex:1 1 160px;flex-direction:column;gap:6px;min-width:0}.filters .filter-field label{font-weight:600;line-height:1.4}.filters .filter-field select{width:100%;max-width:100%;min-height:44px}@media(max-width:440px){.search-panel .filters{grid-template-columns:minmax(0,1fr)}}

.profile-measurements{min-width:0;border:1px solid #d7c7b9;border-radius:12px;padding:12px;margin-block:16px}.profile-measurements p,.profile-measurements small{line-height:1.5;overflow-wrap:anywhere}.profile-measurements small{display:block}.measurement-display{display:flex;flex-wrap:wrap;gap:12px;margin-block:12px}.measurement-display div{padding:8px;border:1px solid #e6d3ba;border-radius:8px;background:#fff6e9;min-width:0}.measurement-display dt{font-size:.9rem}.measurement-display dd{margin:4px 0 0;font-weight:600}

/* Keep long translated visibility labels readable in the password-change form. */
@media(max-width:440px){
 #changePassword .password-control{flex-direction:column;align-items:stretch}
 #changePassword .password-control input,#changePassword .password-control button{width:100%;max-width:100%}
 #changePassword .password-control button{overflow-wrap:normal;word-break:normal}
}

.home-photo-grid{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.home-photo-grid img{width:140px;max-width:100%;height:160px;object-fit:cover;border-radius:10px}

#main .card p{overflow-wrap:anywhere}
