/* Reference-led social layout; existing component behaviour stays in styles.css. */
:root{--green:#2e9959;--ink:#17212f;--lime:#fff;--muted:#697586;--line:#e9edf2;--bg:#f4f6f9;--red:#c43f4b;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}
body{font-size:16px;line-height:1.45}h1,h2,h3{font-weight:700;letter-spacing:0;color:var(--ink)}button,input,select,textarea{font-family:inherit}button{transition:background-color .12s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#2e9959}
.topbar{height:76px;min-height:76px;position:sticky;top:0;z-index:80;background:#fff;border-bottom:1px solid var(--line);padding:0 24px;gap:24px;flex-wrap:nowrap;box-shadow:0 2px 10px #14243904}
button.brand{flex:0 0 192px;gap:8px;letter-spacing:-.6px;font-size:29px;color:#142030;align-items:center;text-align:left}.brand img{width:44px;height:44px}.brand>span{display:flex;flex-direction:column}.brand strong{font-weight:800;line-height:1.1}.brand small{font-size:14px;letter-spacing:0;line-height:1.5;font-weight:400;color:#536173}
.header-search{display:flex;flex:1;max-width:690px;gap:0;background:#f2f4f7;border-radius:9px;margin:0}.header-search label{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding-left:14px}.header-search input{background:transparent;border:0;min-height:42px;padding:10px 0;font-size:14px;outline-offset:-2px}.header-search-button{border:0;background:transparent;color:#577060;font-size:14px;padding:0 14px;border-radius:0 9px 9px 0}.header-search-button:hover{background:#e8eee9}.header-city{font-size:14px;color:#4c596b;white-space:nowrap;margin-left:auto;max-width:180px;overflow:hidden;text-overflow:ellipsis}.header-profile{display:flex;align-items:center;gap:8px;background:none;border:0;font-size:14px;white-space:nowrap;color:var(--ink);padding:5px;border-radius:8px}.header-profile .person-avatar{margin:0;width:38px;height:38px;flex-basis:38px}.header-profile:hover{background:#f3f6f4}
.app-layout{display:grid;grid-template-columns:208px minmax(0,1fr) 300px;gap:18px;max-width:1512px;margin:0 auto;padding:18px 20px 36px;align-items:start}.center-column{min-width:0}.left-sidebar{position:sticky;top:94px;max-height:calc(100vh - 110px);overflow-y:auto;padding-right:4px}.left-sidebar nav{display:flex;flex-direction:column;gap:5px}.left-sidebar .nav-button{display:flex;align-items:center;gap:14px;padding:12px;border:0;border-radius:8px;background:transparent;text-align:left;font-size:15px;color:#425065;font-weight:500;min-height:46px}.left-sidebar .nav-button:hover{background:#eaf0ed}.left-sidebar .nav-button[aria-current=page]{background:#e5f3e9;color:#248550;font-weight:700}.nav-symbol{display:inline-flex;justify-content:center;align-items:center;width:25px;flex:0 0 25px;font-size:24px;line-height:1;color:inherit}.left-sidebar #signout{font-size:14px;text-align:left;color:#697586;padding:12px 14px}.sidebar-compose{width:100%;margin:20px 0 24px}.left-sidebar h2{font-size:16px;margin:0 0 12px;border-top:1px solid #e3e8ef;padding-top:20px}.sidebar-dog{display:flex;gap:10px;align-items:center;text-align:left;width:100%;border:0;background:transparent;padding:9px 4px;border-radius:8px;color:var(--ink)}.sidebar-dog:hover{background:#eaf0ed}.sidebar-dog>span:last-child{min-width:0;display:flex;flex-direction:column}.sidebar-dog strong{font-size:14px;overflow-wrap:anywhere}.sidebar-dog small{font-size:13px;color:var(--muted)}.sidebar-dog-photo{display:block;flex:0 0 44px;width:44px;height:44px;overflow:hidden;border-radius:50%}.sidebar-dog-photo .animal-photo{min-height:0;width:44px;height:44px}.sidebar-dog-photo .dog-initial{font-size:23px}.sidebar-dog-photo small{display:none}.sidebar-footer{font-size:12px;color:#778494;margin-top:26px;line-height:1.8}
.workspace{padding:0;max-width:none;min-height:70vh}.workspace-heading{margin:0 0 20px;padding:18px 22px;background:white;border:1px solid var(--line);border-radius:12px;gap:16px}.workspace-heading h1{font-size:28px;letter-spacing:0;line-height:1.2;margin:0 0 6px;font-weight:700}.workspace-heading .eyebrow{display:none}.workspace-heading .lead{font-size:15px;line-height:1.5}.workspace-heading .primary{margin:0;white-space:nowrap}.signed-in[data-page=feed] .workspace-heading{display:none}.right-sidebar{display:grid;gap:16px;position:sticky;top:94px}.rail-card{padding:18px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 2px 10px #1c2d4510}.rail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.rail-heading h2{font-size:17px;line-height:1.3;margin:0}.rail-heading button{font-size:13px;color:#2374c6}.rail-person{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:none;padding:10px 0;color:var(--ink);font-size:14px}.rail-person+.rail-person{border-top:1px solid var(--line)}.rail-person>span:last-child{overflow-wrap:anywhere;min-width:0}.rail-person .person-avatar{margin:0;flex-shrink:0}.rail-person:hover{color:#21814b}.profile-summary{text-align:center}.profile-summary .person-avatar-large{width:76px;height:76px;margin:0}.profile-summary h2{font-size:19px;margin:10px 0 2px;overflow-wrap:anywhere}.profile-summary p{font-size:14px;margin:2px 0}.profile-summary>button{border-top:1px solid var(--line);width:100%;padding-top:14px;margin-top:14px;color:#268953;font-size:14px}
.feed-hero{position:relative;border-radius:13px;overflow:hidden;background:#284632;min-height:350px;color:white;margin-bottom:16px;isolation:isolate}.feed-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 48%;z-index:-2}.feed-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0b281dd9 0%,#132d2370 53%,transparent 85%);z-index:-1}.hero-body{padding:30px 28px 104px;max-width:68%}.hero-body h1{color:white;font-size:clamp(28px,2.7vw,40px);line-height:1.1;font-weight:800;margin:0 0 14px;letter-spacing:-.5px}.hero-body p{font-size:16px;line-height:1.5;margin:0 0 20px;color:#fff}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.hero-actions button{min-height:42px;font-size:14px;padding:10px 14px}.hero-secondary{border:1px solid #ffffffc0;border-radius:7px;color:#fff;background:#ffffff12;font-weight:600}.hero-secondary:hover{background:#ffffff30}.hero-shortcuts{display:flex;position:absolute;bottom:12px;left:12px;right:12px;gap:8px}.hero-shortcuts button{display:flex;flex:1;align-items:center;justify-content:center;gap:9px;background:#fffffff0;color:#233244;border-radius:9px;min-height:63px;font-size:14px;font-weight:600;padding:10px}.hero-shortcuts button:hover{background:white}.hero-shortcuts .nav-symbol{color:#2b8b51}
.social-layout{display:grid;grid-template-columns:1fr;gap:0}.social-card{padding:19px;border:1px solid var(--line);border-radius:12px;margin-bottom:14px;box-shadow:0 2px 7px #1c2d4506}.social-card h2{font-size:19px;margin:0 0 8px;font-weight:700}.social-card h3{font-size:17px}.social-card p,.social-card label,.social-card textarea{font-size:16px;line-height:1.55}.social-toolbar{background:white;border:1px solid var(--line);border-radius:10px;padding:10px 16px;margin:0 0 14px}.social-toolbar h2{font-size:16px;margin:0}.social-toolbar button{padding:6px 11px;min-height:32px;font-size:14px}.post-heading{display:grid;grid-template-columns:42px minmax(0,1fr);gap:1px 10px;align-items:center}.post-heading>.person-avatar{grid-row:1/3;width:40px;height:40px;flex-basis:40px;margin:0}.post-heading>.person-link{grid-column:2;grid-row:1;text-decoration:none;font-size:15px;line-height:1.35}.post-heading>.muted{grid-column:2;grid-row:2;font-size:13px}.post-content{margin:14px 0;font-size:16px;line-height:1.6}.social-actions{gap:16px;padding-top:10px}.social-actions:empty{display:none}.social-actions button{font-size:13px}.social-actions button:not(.primary):not(.secondary):not(.danger){color:#718091}.reaction-panel{margin-top:10px}.reaction-panel>.comment-actions{gap:10px;justify-content:space-between}.reaction-panel .text-button{color:#637184}.comments-section{margin-top:10px;padding-top:10px}.comments-section>.text-button{font-size:14px;color:#4e6177}.comment{background:#f5f7fa;border-radius:9px;border:0;padding:13px;margin-bottom:10px}.comment strong{font-size:14px}.comment-date{font-size:12px;margin-top:2px}.comment .post-content{font-size:15px;margin:9px 0}.comment .person-avatar{width:32px;height:32px;flex-basis:32px;font-size:13px}.comment-actions{gap:12px}.comment-actions .text-button{font-size:13px}.comment-form{gap:10px;margin-top:14px}.comment-form .primary{justify-self:end}.comment-form .muted{font-size:13px!important}.comment-form label{font-size:14px!important}.comment-form textarea{min-height:70px}.reaction-people{background:white;padding:12px;font-size:14px}.reaction-people li strong{font-size:14px}
#post-form{gap:10px}#post-form h2{font-size:16px;color:#4f5d70;margin:0}#post-form .composer-person{display:flex;gap:9px;align-items:center;font-size:14px;font-weight:600}#post-form .composer-person .person-avatar{width:36px;height:36px;flex-basis:36px;margin:0}#post-form label{font-size:14px;gap:6px}#post-content{background:#f5f6f9;border-color:#edf0f3;min-height:76px;resize:vertical;padding:12px;font-size:16px}#post-form>button{justify-self:end;padding:9px 22px;min-height:38px}#post-visibility{min-height:36px;padding:7px 10px;font-size:14px;max-width:280px}
.primary,.secondary,.danger{min-height:40px;font-size:14px;padding:10px 17px;gap:10px;font-weight:600;border-radius:7px}.primary{background:#2e9959;color:white}.primary:hover{background:#237d48}.primary span{font-size:16px}.secondary{color:#45556a}.secondary:hover{background:#f2f5f8}.text-button{font-size:14px;color:#2b8650}.muted,small{font-size:14px;color:var(--muted)}input,select,textarea{min-height:42px;font-size:16px;border-color:#dce2e9;color:var(--ink);padding:10px 12px}input::placeholder,textarea::placeholder{color:#93a0b0}label{color:#35445a;font-size:14px;gap:7px}form{gap:16px}.notice{font-size:14px;padding:12px 14px}.form-card{max-width:none;padding:24px;border-color:var(--line);box-shadow:0 2px 7px #1c2d4506}.form-intro h2{font-size:21px;font-weight:700;letter-spacing:0}.form-intro p{font-size:14px}.avatar-circle{display:none}.avatar-editor h2{font-size:21px;margin:0 0 16px}.avatar-editor form{margin-top:14px}.avatar-editor .person-avatar{margin:0}.avatar-editor .secondary{color:#c24343}.avatar-editor .primary{justify-self:start}#profile-section{display:grid;gap:16px}#profile-section .avatar-editor{margin:0}.person-avatar{background:#eaf0f6;color:#596d82;font-weight:700}.dog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dog-card-body{padding:17px}.dog-card h2{font-size:22px;font-weight:700}.dog-card p{font-size:14px}.dog-card .badge{font-size:12px}.card-actions{margin-top:15px;padding-top:12px}.card-actions button{font-size:13px}.dog-initial{color:#5c936e}.empty-state{background:white;border:1px solid var(--line);grid-template-columns:1fr}.empty-state>div{padding:28px}.empty-state h2{font-size:27px;font-weight:700;letter-spacing:0}.empty-state p{font-size:16px}.empty-state img{max-height:260px;object-position:50% 40%}.badge{font-size:12px}.detail-fields dt{font-size:14px}.detail-fields dd{font-size:16px}.detail-bio{font-size:16px}dialog{color:var(--ink);border-color:#e1e6ec}dialog h2{font-size:25px;font-weight:700;letter-spacing:0}.dialog-heading h2{margin-top:5px}.dialog-heading .eyebrow{font-size:12px;letter-spacing:.4px}.icon-button{background:#f0f3f7;color:#526076}.people-dialog h2{font-size:26px}.person-dog-body h3{font-size:21px}.friend-suggestions{box-shadow:0 5px 15px #14243910}.friend-suggestion:hover,.friend-suggestion:focus-visible{background:#eaf6ee}
.auth-layout{max-width:1200px;padding-top:28px}.welcome-image{min-height:590px}.photo-copy h1{font-size:46px;letter-spacing:-1px;font-weight:700;color:white}.photo-copy p{font-size:17px}.auth-inner{max-width:400px}#auth-title{font-size:34px;letter-spacing:-.5px;font-weight:700}.auth-note p{font-size:14px}.privacy-note{font-size:13px}.password-wrap button{font-size:13px}.segmented button{font-size:14px}.auth-panel{background:white;border-radius:13px;border:1px solid var(--line)}footer{font-size:12px;letter-spacing:0;padding:20px 24px;color:#778494}.signed-in>footer{max-width:1512px;margin:auto;padding-left:248px}.signed-in>footer>span:nth-child(2){display:none}
@media(min-width:1500px){.app-layout{grid-template-columns:218px minmax(0,1fr) 330px}.topbar{padding-left:max(24px,calc((100vw - 1472px)/2));padding-right:max(24px,calc((100vw - 1472px)/2))}}
@media(max-width:1180px){.app-layout{grid-template-columns:180px minmax(0,1fr) 250px;gap:14px;padding:14px}.topbar{padding:0 16px;gap:16px}button.brand{flex-basis:180px;font-size:26px}.header-city{display:none}.hero-body{max-width:78%;padding:26px 22px 100px}.hero-body h1{font-size:30px}.hero-body p{font-size:15px}.hero-actions button{font-size:13px;padding:9px 12px}.hero-shortcuts{gap:6px}.hero-shortcuts button{font-size:13px;gap:5px}.rail-card{padding:15px}.rail-heading{align-items:flex-start;flex-wrap:wrap}.rail-heading h2{font-size:16px}.left-sidebar .nav-button{font-size:14px;padding:11px;gap:10px}.profile-summary h2{font-size:17px}.signed-in>footer{padding-left:208px}}
@media(max-width:1000px){.app-layout{grid-template-columns:176px minmax(0,1fr)}.right-sidebar{position:static;grid-column:2;grid-template-columns:1fr 1fr}.hero-body{max-width:65%}.hero-body h1{font-size:33px}.header-profile>span:last-child{display:none}.header-profile{padding:0}.topbar{gap:12px}.signed-in>footer{padding-left:202px}}
@media(max-width:700px){.topbar{min-height:66px;height:auto;padding:10px 14px;flex-wrap:wrap;gap:8px 12px}.topbar button.brand{flex:1;font-size:25px;gap:5px}.topbar .brand img{width:37px;height:37px}.brand small{font-size:12px}.header-profile{order:2}.header-search{order:3;flex-basis:100%;max-width:none}.header-search input{font-size:14px;min-height:38px}.header-search-button{font-size:13px}.header-profile .person-avatar{width:34px;height:34px;flex-basis:34px}.app-layout{display:flex;flex-direction:column;padding:10px;gap:12px}.left-sidebar{position:static;max-height:none;width:100%;padding:0;overflow:visible}.left-sidebar nav{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;background:white;border:1px solid var(--line);padding:5px;border-radius:10px}.left-sidebar .nav-button{flex-direction:column;gap:4px;padding:8px 2px;font-size:12px;min-height:59px}.left-sidebar .nav-symbol{font-size:22px}.left-sidebar #signout{grid-column:1/-1;text-align:center;padding:4px;font-size:12px}.left-sidebar .sidebar-compose,.left-sidebar h2,.sidebar-dogs,.sidebar-footer{display:none}.center-column,.right-sidebar{width:100%;min-width:0}.right-sidebar{display:grid;grid-template-columns:1fr;gap:12px}.workspace-heading{padding:16px;align-items:center}.workspace-heading h1{font-size:24px}.workspace-heading .lead{font-size:14px}.workspace-heading .primary{font-size:13px;padding:9px 11px}.feed-hero{min-height:345px}.hero-body{padding:24px 20px 100px;max-width:85%}.hero-body h1{font-size:30px;max-width:270px}.hero-body p{font-size:15px;max-width:245px}.hero-actions{gap:8px}.hero-actions button{font-size:13px}.hero-shortcuts{left:9px;right:9px;bottom:9px;gap:6px}.hero-shortcuts button{flex-direction:column;gap:4px;font-size:12px;min-height:58px;padding:7px 2px}.hero-shortcuts .nav-symbol{font-size:21px}.social-card{padding:16px}.social-toolbar{padding:10px 13px}.social-toolbar h2{font-size:15px}.post-heading>.person-link{font-size:14px}.post-heading>.muted{font-size:12px}.social-card p{font-size:15px}.dog-grid{grid-template-columns:1fr}.form-card{padding:18px}.form-row{grid-template-columns:1fr}.signed-in>footer{padding:15px 18px;font-size:12px}.signed-in>footer>span:last-child{display:none}.auth-layout{padding:14px;gap:14px}.welcome-image{min-height:240px}.photo-copy h1{font-size:35px}.auth-panel{padding:26px 20px}.privacy-note{font-size:12px}.photo-label{font-size:10px}.auth-note p{font-size:14px}.reaction-panel>.comment-actions{justify-content:flex-start}.header-search label{padding-left:10px}.profile-summary .person-avatar-large{width:64px;height:64px}dialog{padding:20px}.dialog-heading h2{font-size:24px}}

.nav-symbol svg,.nav-symbol img{width:24px;height:24px;display:block}

/* Compact composer, matching the reference's single card above the feed. */
.feed-hero>img{object-position:60% 18%}
#post-form{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
#post-form>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#post-form .composer-person{position:absolute;left:28px;top:29px;z-index:1}
#post-form .composer-person>span:last-child{display:none}
#post-form>label:first-of-type{grid-column:1/-1;font-size:0;gap:0}
#post-content{min-height:66px;padding-left:57px;line-height:1.4;font-size:16px}
#post-form>label:last-of-type{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:13px}
#post-visibility{width:auto;max-width:100%;font-size:13px;min-height:36px}
#post-form>button{align-self:end}
@media(max-width:700px){#post-form{gap:10px}#post-form .composer-person{left:24px;top:26px}#post-form>label:last-of-type{font-size:12px}#post-visibility{font-size:12px;max-width:175px}#post-form>button{padding:9px 12px;font-size:13px}}

.friend-presence-label{display:flex;flex-direction:column;gap:3px}.friend-presence{display:flex;align-items:center;gap:6px;font-size:12px;color:#778494}.friend-presence:before{content:'';width:8px;height:8px;border-radius:50%;background:#a8b0ba;flex:0 0 8px}.friend-presence.is-online{color:#267e46}.friend-presence.is-online:before{background:#2eaa5d}

.shared-original{border:1px solid #dce4e0;border-radius:12px;padding:16px;margin:12px 0;background:#f8faf9}.share-dialog{width:min(520px,calc(100vw - 32px));max-height:90vh;overflow:auto}.share-dialog form{display:grid;gap:14px}.share-dialog label{display:grid;gap:6px;margin:12px 0}.share-dialog input,.share-dialog textarea,.share-dialog select{width:100%;box-sizing:border-box}.share-dialog .social-actions{flex-wrap:wrap}

.header-messages{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:0;border-radius:9px;background:transparent;color:#4c596b}.header-messages svg{width:24px;height:24px}.header-messages:hover,.header-messages[aria-current="page"]{background:#eaf4ed;color:#278e54}.message-unread-dot{position:absolute;top:5px;right:5px;width:11px;height:11px;border:2px solid white;border-radius:50%;background:#e52746;box-shadow:0 0 0 1px #e5274620;pointer-events:none}@media(max-width:700px){.header-messages{order:1}}

.events-page{display:grid;gap:18px}.event-filter{display:flex;align-items:end;gap:10px;background:white;padding:18px;border-radius:14px;flex-wrap:wrap}.event-filter .city-input{flex:1;min-width:180px}.event-list{display:grid;gap:12px}.event-card,.event-rail-item{display:flex;align-items:flex-start;gap:14px;text-align:left;background:white;border:1px solid var(--line);border-radius:14px;padding:20px;width:100%;color:var(--ink)}.event-card:hover,.event-rail-item:hover{background:#f3f8f4}.event-date{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fceef1;color:#df3559;border-radius:10px;width:58px;min-height:66px;flex:0 0 58px;line-height:1.2}.event-date strong{font-size:26px}.event-date>span{font-size:13px;text-transform:uppercase}.event-summary{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}.event-summary>strong{font-size:17px}.event-summary>span,.event-summary>small{font-size:14px}.event-rail-list{display:grid;gap:12px}.event-rail-item{padding:6px 0;border:0;gap:12px;border-radius:7px}.event-rail-item .event-summary>strong{font-size:14px}.event-rail-item .event-summary>span,.event-rail-item .event-summary>small{font-size:13px}.event-rail-item .event-date{width:48px;flex-basis:48px;min-height:62px}.event-dialog{width:min(620px,calc(100% - 28px))}.event-dialog>button{float:right}.event-dialog h2{clear:both;padding-top:15px}.event-dialog label,.event-dialog p{font-size:15px;line-height:1.6}.event-dialog select{margin-bottom:10px}.event-dialog .secondary{margin:5px 8px 5px 0}.event-description{white-space:pre-wrap;overflow-wrap:anywhere}.event-cancelled{color:#b22f42}.event-dialog .notice:empty{display:none}@media(max-width:700px){.signed-in .left-sidebar nav{grid-template-columns:repeat(3,1fr)}.event-filter{padding:14px}.event-card{padding:16px}.events-page .social-toolbar{flex-wrap:wrap}}

.rail-friend-card{padding:4px 0 10px;border-bottom:1px solid var(--line)}.rail-friend-card:last-child{border-bottom:0;padding-bottom:0}.friend-dog-thumbs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:5px 0 0 46px}.friend-dog-thumb,.friend-dog-more{width:38px;height:38px;flex:0 0 38px;padding:0;border:2px solid #e2ebe4;border-radius:50%;background:#eef5ef;overflow:hidden;display:grid;place-items:center;color:#278d50;font-size:13px;font-weight:650}.friend-dog-thumb:hover,.friend-dog-more:hover{border-color:#278d50}.friend-dog-thumb:focus-visible,.friend-dog-more:focus-visible{outline:2px solid #278d50;outline-offset:2px}.friend-dog-thumb .animal-photo{width:100%;height:100%;min-height:0;margin:0;border-radius:50%;aspect-ratio:1}.friend-dog-thumb img{width:100%;height:100%;object-fit:cover}.friend-dog-thumb .dog-initial{font-size:17px}.friend-dog-thumb .photo-unavailable{display:none}.friend-dog-dialog>.icon-button{float:right}.friend-dog-dialog h2{padding-top:12px}.friend-dog-dialog .animal-photo{width:100%;height:240px;margin:16px 0;border-radius:14px;overflow:hidden}.friend-dog-dialog .animal-photo img{width:100%;height:100%;object-fit:contain}.friend-dog-breed{font-weight:650}
.rail-friend-card{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;padding:6px 0}.rail-friend-card .rail-person{flex:1 1 130px;width:auto;min-width:0;padding:4px 0;gap:8px}.rail-friend-card .person-avatar{width:32px;height:32px;flex-basis:32px}.rail-friend-card .friend-presence-label{flex:1;min-width:0}.rail-friend-card .friend-presence-label>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rail-friend-card .friend-dog-thumbs{flex:0 0 auto;max-width:100%;margin:0 0 0 auto;flex-wrap:nowrap;gap:0}.rail-friend-card .friend-dog-thumb,.rail-friend-card .friend-dog-more{width:32px;height:32px;flex-basis:32px;border-color:#fff;box-shadow:0 0 0 1px #e2ebe4;position:relative}.rail-friend-card .friend-dog-thumb+.friend-dog-thumb{margin-left:-7px}.rail-friend-card .friend-dog-more{margin-left:3px}.rail-friend-card .friend-dog-thumb:hover,.rail-friend-card .friend-dog-thumb:focus-visible{z-index:1;border-color:#278d50}

.event-organizer{display:flex;align-items:center;gap:12px;margin:14px 0}.event-organizer>span:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.event-organizer small{color:#637469}.event-organizer-name{color:#526557;overflow-wrap:anywhere}
.event-host-dog{display:flex;align-items:center;gap:12px;margin:12px 0 18px}.event-host-dog>span{display:flex;flex-direction:column;gap:4px}.event-host-dog .animal-photo{width:64px;height:64px;min-height:0;flex:0 0 64px;border-radius:12px;overflow:hidden}.event-host-dog img{width:64px;height:64px;object-fit:cover}.event-host-dog small{color:#637469}
.event-host-dog .dog-initial{font-size:26px}.event-host-dog .photo-unavailable{display:none}

/* Explore: main choices stay compact; amenities are secondary. */
.explore-filters{align-items:end;gap:12px}.explore-filters>label{min-width:145px;flex:1}.explore-filters select{width:100%}.explore-advanced{flex-basis:100%;order:2;border-top:1px solid #e5e9e7;padding:10px 0}.explore-advanced summary{cursor:pointer;font-weight:600}.explore-advanced-body{display:flex;flex-wrap:wrap;gap:12px 20px;padding-top:12px}.explore-advanced-body small{flex-basis:100%}.explore-attribution a{color:#22754d;text-decoration:underline}.explore-copy .muted{display:block;line-height:1.5}.explore-state{line-height:1.4}

.explore-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:8px;font-size:12px}.explore-origin{display:inline-flex;padding:3px 8px;border-radius:6px;font-weight:600}.explore-origin.system{color:#31537a;background:#eaf1fa}.explore-origin.community{color:#216344;background:#e8f4ec}.explore-badges .explore-state{font-size:12px;padding:3px 8px;border-radius:6px;background:#f1f3f5;color:#475569}

.group-proposal-panel{margin:18px 0;padding:18px;background:#fff;border:1px solid #e5ebe7;border-radius:16px}.group-proposal-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #edf1ee;flex-wrap:wrap}.group-proposal-row>div:not(.dialog-actions){flex:1;min-width:130px}.group-proposal-row p{margin:4px 0}.group-proposal-row .dialog-actions{margin:0}.group-invite-dialog{max-height:90dvh;overflow:auto}
