#profile-content{max-width:1000px;margin:auto}#profile-content .actions{margin:20px 0 30px;gap:12px;display:flex;flex-wrap:wrap}#member-profile-form{display:grid;gap:20px;max-width:760px}#member-profile-form input,#member-profile-form textarea{width:100%;box-sizing:border-box}#member-profile-form input[type=checkbox]{width:auto}#member-profile-form .check-line{display:flex;gap:12px;align-items:flex-start}.profile-lines{white-space:pre-wrap;overflow-wrap:anywhere}[data-profile-gallery]{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:20px;margin:24px 0}[data-profile-gallery] figure{margin:0}[data-profile-gallery] img{max-height:360px;object-fit:contain;width:100%}#profile-status:not(:empty){padding:14px;background:#eef3e5;border-left:4px solid #476f35}

.profile-save-area{display:grid;justify-items:start;gap:10px}.profile-save-area>.button{min-height:44px}#profile-save-feedback{margin:0;max-width:100%;font-size:16px;line-height:1.45}#profile-save-feedback:not(:empty){box-sizing:border-box;width:100%;padding:12px 14px;background:#eef3e5;border-left:4px solid #476f35;border-radius:4px}

/* Compact profile overview, photos, and current post cards. */
main.reading:has(#profile-content){box-sizing:border-box;max-width:1160px;width:100%;padding:28px 5%}main.reading:has(#profile-content)>h1{font-size:36px;line-height:1.15;margin:0 0 18px}#profile-content .actions{gap:10px;margin:0 0 16px}#profile-content .actions .button{min-height:44px;padding:9px 14px;font-size:15px}#profile-content .profile-visibility{font-size:14px;margin:0 0 12px;color:#626d56}.profile-overview{padding:22px;border:1px solid var(--line);border-radius:9px;background:#fffdf7}.profile-overview-heading{display:flex;justify-content:space-between;align-items:start;max-width:none;margin:0 0 18px;padding:0;gap:14px}.profile-overview-heading h2{font-size:30px;line-height:1.15;margin:0 0 6px}.profile-overview-heading p{margin:4px 0;font-size:15px}.profile-overview-heading .member-since{font-size:13px;color:#627057}.profile-overview-heading .button{font-size:14px;min-height:44px;padding:9px 12px}.profile-overview-grid{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:24px;align-items:start}.profile-overview-grid.no-profile-photos{grid-template-columns:1fr}.no-profile-photos>[data-profile-gallery]{display:none}.profile-overview [data-profile-gallery]{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.profile-overview [data-profile-gallery] figure:first-child{grid-column:1/-1}.profile-overview [data-profile-gallery] img{display:block;width:100%;height:100px;object-fit:contain;background:#f4f0e5;border-radius:6px}.profile-overview [data-profile-gallery] figure:first-child img{height:210px}.profile-bio section+section{margin-top:18px}.profile-bio h3{font-size:18px;margin:0 0 6px}.profile-bio p{font-size:16px;line-height:1.5;margin:0}.profile-posts{display:grid;gap:24px;margin-top:26px}.profile-post-section>h2{font-size:25px;line-height:1.2;margin:0 0 14px}.profile-post-count{display:inline-block;border-radius:20px;padding:2px 9px;background:#eaf0df;color:#47703c;font:600 14px Arial;vertical-align:middle}.profile-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-post-card{display:grid;grid-template-columns:110px minmax(0,1fr);border:1px solid var(--line);border-radius:8px;background:#fffdf7;overflow:hidden;padding:14px;gap:14px;align-items:start}.profile-post-image{width:110px;height:110px;object-fit:contain;background:#f5f2e9;border-radius:5px}.profile-post-card h3{font-size:21px;line-height:1.2;margin:0 0 7px;overflow-wrap:anywhere}.profile-post-card p{font-size:14px;line-height:1.4;margin:6px 0;overflow-wrap:anywhere}.profile-post-card .eyebrow{font-size:11px;margin:0 0 6px}.profile-post-card .small-note{font-size:12px;color:#637153}.profile-post-card .button{min-height:40px;font-size:14px;padding:7px 12px;margin-top:6px}.profile-post-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.profile-empty{font-size:15px;color:#66715d;margin:0;padding:14px;border:1px dashed var(--line);border-radius:6px}#member-profile-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:none}#member-profile-form .form-field{margin:0;font-size:15px;min-width:0}#member-profile-form input,#member-profile-form textarea{font-size:16px;padding:10px}#member-profile-form textarea{min-height:120px;resize:vertical}#member-profile-form .check-line,#member-profile-form>.small-note,#member-profile-form .profile-save-area,#member-profile-form .form-field:has([name="website"]){grid-column:1/-1}#member-profile-form~section>h2{font-size:25px;margin:24px 0 10px}
@media(max-width:700px){.profile-overview-grid{grid-template-columns:minmax(0,1fr)}.profile-overview [data-profile-gallery]{max-width:340px;width:100%;margin:auto}.profile-post-grid{grid-template-columns:1fr}.profile-overview{padding:16px}.profile-overview-heading{flex-wrap:wrap}.profile-overview-heading h2{font-size:26px}#member-profile-form{grid-template-columns:1fr}.profile-post-card{grid-template-columns:90px minmax(0,1fr);padding:12px;gap:12px}.profile-post-image{width:90px;height:100px}main.reading:has(#profile-content)>h1{font-size:30px}}
@media(max-width:360px){.profile-post-card{grid-template-columns:70px minmax(0,1fr)}.profile-post-image{width:70px;height:85px}.profile-post-card h3{font-size:19px}}

.profile-catalog{border:1px solid #d7ddc4;border-radius:8px;padding:14px 16px;margin:18px 0}
.profile-catalog summary{cursor:pointer;font-weight:700;line-height:1.45;padding:8px 0}
.profile-catalog>details{border-top:1px solid #e4e7d8}
.profile-catalog-category{margin-left:14px}
.profile-catalog-option{display:flex;align-items:center;gap:8px;min-height:36px;padding:3px 0;margin-left:12px}
.profile-catalog-option input{width:18px;height:18px;margin:0;flex:none}
.profile-offerings-list{padding-inline-start:1.25rem;margin:.5rem 0 1rem}
.profile-offerings-list li+li{margin-top:.15rem}

.profile-save-buttons{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}.profile-save-buttons>.button{box-sizing:border-box;min-height:48px;margin:0;display:inline-flex;align-items:center;justify-content:center}.directory-preview-card{width:min(100%,355px);margin:auto}.directory-preview-dialog{width:min(460px,calc(100% - 24px));padding:22px;border:1px solid #d6d9c2;border-radius:8px;max-height:90dvh;overflow:auto}.directory-preview-dialog::backdrop{background:#26302399}

.profile-stock-status{display:inline-block;font-weight:700;color:#705117;background:#fff0cf;border:1px solid #c6ab6e;border-radius:5px;padding:5px 9px}.profile-post-card:has(.profile-stock-status){border-color:#c6ab6e}

.profile-founding-ribbon{display:block;width:188px;max-width:100%;height:auto;margin:5px 0 7px}
.profile-founding-settings{margin:18px 0 24px}
.profile-founding-settings .check-line{align-items:center;min-height:44px}
.profile-founding-settings p{margin:4px 0}

/* 50.90: approved two-line member ribbon links to the public explanation. */
.profile-founding-link{display:block;width:240px;max-width:100%;margin:5px 0 7px;border-radius:3px}
.profile-founding-link .profile-founding-ribbon{width:100%;height:auto;margin:0}
.profile-founding-link:focus-visible{outline:3px solid #ad7d22;outline-offset:4px}
