.card-buy { display:grid; gap:7px }
.card-buy select { font-size:.8rem; padding-inline:7px }
.pages-list { display:grid; gap:12px }
.pages-list .line:last-child { margin-bottom:0 }
.pages-photo-list { display:flex; flex-wrap:wrap; gap:8px }
.pages-photo-list label { width:90px }
.pages-photo-list img { object-fit:cover; border-radius:6px }
.pages-nav { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:18px }
.pages-nav .button { margin:0 }
.pages-member-actions { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px }
.brand { min-width:0; max-width:100%; }
.brand-label { min-width:0; overflow:hidden; text-overflow:ellipsis; text-transform:uppercase; }
.brand-image { width:clamp(100px,14vw,200px); height:48px; object-fit:contain; }
.menu-heading strong,.admin-sidebar strong { overflow-wrap:anywhere; }
.desktop-nav a[href="/?page=about"] { max-width:13ch; overflow:hidden; text-overflow:ellipsis; }
.product-gallery,.product-copy { min-width:0; }
.product-stage { width:100%; }
.website-form,.settings-group { display:grid; gap:12px; min-width:0; }
.website-form { max-width:720px; }
.website-form > .button { justify-self:start; }
.settings-group h2 { margin-bottom:0; }
.settings-preview { width:min(100%,280px); height:120px; object-fit:contain; object-position:left center; }
.settings-logo { height:56px; padding:6px; object-position:center; border-radius:6px; background:var(--wine); }
.upload-status { margin:0; color:var(--muted); }
.upload-status:empty { display:none; }
[data-image-upload] input[type=file] { max-width:100%; min-width:0; }
.member-role { margin-top:22px; padding-top:16px; border-top:1px solid var(--edge); }
.signin { padding-block:clamp(24px,5vw,72px); }
.signin-card { max-width:460px; margin-inline:auto; padding:clamp(18px,5vw,42px); box-shadow:0 14px 48px #4424300c; }
.signin-heading { display:grid; justify-items:center; gap:12px; margin-bottom:20px; color:var(--wine); }
.signin-heading .icon { width:44px; height:44px; padding:10px; border-radius:50%; background:#f1e1d9; }
.signin-heading h1 { margin:0; font-size:clamp(2rem,5vw,2.8rem); text-align:center; }
.signin-card .stack { gap:14px; }
.signin-card .stack .button { justify-self:stretch; margin-top:4px; }
.google-signin { display:flex; justify-content:center; align-items:center; gap:10px; min-height:46px; padding:9px 12px; border:1px solid #747775; border-radius:100px; background:#fff; color:#1f1f1f; font:500 .92rem/1.4 system-ui,sans-serif; }
.google-signin:hover { background:#f4f7fe; }
.google-signin svg { flex:none; }
.signin-divider { display:flex; align-items:center; gap:10px; margin:17px 0; color:var(--muted); font-size:.81rem; }
.signin-divider::before,.signin-divider::after { content:""; flex:1; height:1px; background:var(--edge); }
.signin-alternate { margin:18px 0 0; text-align:center; color:var(--muted); font-size:.9rem; }
.site-footer { background:linear-gradient(135deg,#4b2532,#341922); }
.footer-content { display:grid; grid-template-columns:1fr auto; gap:clamp(22px,5vw,64px); padding-block:clamp(28px,6vw,64px) 24px; }
.footer-content.has-contact { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(7rem,.55fr); }
.footer-content h2 { margin:0 0 12px; color:var(--surface); font-size:1.4rem; }
.footer-brand .brand { margin:0; }
.footer-brand .brand-image { object-position:left center; }
.footer-description { max-width:43ch; margin:14px 0 0; white-space:pre-line; color:#eddbd7; font-size:.91rem; }
.footer-contact address { font-style:normal; }
.footer-contact dl { display:grid; gap:9px; margin:0; }
.footer-contact dl div { display:grid; grid-template-columns:6.5rem minmax(0,1fr); gap:6px; font-size:.9rem; }
.footer-contact dt { font-weight:650; color:var(--surface); }
.footer-contact dd { margin:0; white-space:pre-line; overflow-wrap:anywhere; color:#eddbd7; }
.footer-contact a:hover,.footer-navigation a:hover { text-decoration:underline; }
.footer-navigation { display:grid; align-content:start; gap:8px; font-size:.9rem; }
.footer-navigation h2 { margin-bottom:4px; }
.footer-navigation a { width:fit-content; overflow-wrap:anywhere; color:#eddbd7; }
.footer-social { display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; }
.footer-social a { padding:7px 12px; border:1px solid #9c7380; border-radius:24px; font-size:.82rem; }
.footer-bottom { padding-block:16px; border-top:1px solid #875866; color:#eddbd7; }
#footer-settings { scroll-margin-top:112px; }
@media (max-width:640px) {
    .brand-image { width:min(150px,100%); height:40px; }
    .footer-content,.footer-content.has-contact { grid-template-columns:minmax(0,1fr); }
    .footer-content > * + * { border-top:1px solid #875866; padding-top:19px; }
    .footer-navigation { display:flex; flex-wrap:wrap; gap:8px 16px; }
    .footer-navigation h2 { flex-basis:100%; }
}
