/* Compact, distinct groups for the signed-in Hub. */
body.owner-hub .workspace :is(h1,h2,h3){color:var(--ink)}
body.owner-hub dialog h2{color:var(--ink)}
body.owner-hub .workspace .owner-heading h1{color:var(--ink)}
body.owner-hub .owner-masthead{min-height:74px;padding:12px 30px 0}
body.owner-hub .owner-masthead .brand{padding:8px 12px;background:#fff;box-shadow:none;border-color:transparent}
body.owner-hub .owner-access{border:1px solid var(--line);background:#fff;box-shadow:none;color:var(--ink);font-size:13px;padding:7px 10px 7px 14px}
.owner-account-name{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.member-phone{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.phone-call{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:#ffffffa8;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.phone-call .icon{width:14px;height:14px}
body.owner-hub .owner-profile-stats strong{font-size:22px}
body.owner-hub .owner-profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px}
body.owner-hub .owner-profile-stats>.owner-profile-stat{display:flex;align-items:center;min-width:0;min-height:88px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--ais-paper,#fff);color:var(--ink);text-align:left;cursor:pointer}
body.owner-hub .owner-profile-stats strong{line-height:1.25;overflow-wrap:anywhere}
body.owner-hub .owner-profile-tabs{display:flex;margin:22px 0 0}
body.owner-hub .owner-profile-tabs button{flex:1 1 0;min-width:0;justify-content:center;text-align:center}
body.owner-hub .owner-profile-section{padding-top:22px}
.team-contact-actions{gap:10px;flex-wrap:wrap;margin:16px 0}
.team-contact-actions .btn{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:#ffffffb8}
.event-qr-dialog{max-width:560px}
.event-qr-sheet{display:grid;justify-items:center;gap:20px;padding:8px 0 12px}
.event-qr-sheet .actions{justify-content:center;gap:12px;flex-wrap:wrap}
.event-qr-image{width:min(100%,400px);background:white}
.event-qr-image svg{display:block;width:100%;height:auto}
.attendance-choice{transition:background-color .18s,color .18s,border-color .18s}
@media(max-width:560px){body.owner-hub .owner-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.owner-hub .owner-project-details,body.owner-hub .project-inline-team{margin-left:0}
body.owner-hub .owner-finance-summary{gap:24px}
body.owner-hub .owner-finance-cash>strong{font-size:clamp(28px,3vw,40px);color:var(--green);margin:0;line-height:1.15}
.owner-finance-actions{position:relative}
.owner-finance-actions>summary{list-style:none;cursor:pointer;padding:10px}
.owner-finance-actions>summary::-webkit-details-marker{display:none}
.owner-finance-actions>div{position:absolute;z-index:30;right:0;top:calc(100% + 8px);padding:8px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 30px #08303618;min-width:190px}
body.owner-hub .attendance-choice:not(.selected){background:#ffffffa8;color:var(--ink);border-color:var(--line);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
body.owner-hub .attendance-choice.selected[data-status="excused"],body.owner-hub .attendance-choice.selected[data-action="excuse-member"],body.owner-hub .badge.excused{background:var(--green);border-color:var(--green);color:#fff}
body.owner-hub:has(.owner-home-layout) .workspace{max-width:1200px;min-height:0;margin:0 auto;padding:16px 32px 104px}
body.owner-hub .owner-home-layout{--home-gap:20px;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--home-gap);align-items:stretch}
body.owner-hub .owner-home-event-stack{display:grid;grid-template-rows:minmax(min-content,1fr) auto;gap:var(--home-gap);min-width:0}
body.owner-hub .owner-home-layout :is(.owner-meeting-focus,.owner-attention,.owner-balance,.owner-home-people){width:100%;min-width:0;box-sizing:border-box;margin:0;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:none}
body.owner-hub .owner-home-layout .owner-meeting-focus{background:#f2f5f6}
body.owner-hub .owner-home-layout .owner-section-label{color:var(--muted);font-size:13px;font-weight:650}
body.owner-hub .owner-home-layout .owner-focus-body{gap:clamp(14px,3vw,24px);margin-bottom:20px}
body.owner-hub .owner-home-layout .owner-focus-copy{display:grid;gap:7px;min-width:0}
body.owner-hub .owner-home-layout .owner-focus-body h2{font-size:clamp(28px,5.5vw,40px);color:var(--ink);line-height:1.08;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}
body.owner-hub .owner-home-layout .owner-focus-body p{font-size:14px;line-height:1.4;color:var(--muted);margin:0;overflow-wrap:anywhere}
body.owner-hub .owner-home-layout .owner-date-tile{width:clamp(76px,15vw,94px);height:clamp(93px,18vw,110px);border-radius:19px}
body.owner-hub .owner-home-layout .owner-date-tile strong{font-size:clamp(43px,8vw,49px);letter-spacing:-.045em}
body.owner-hub .owner-home-layout .owner-date-tile span{font-size:13px}
body.owner-hub .owner-home-layout .owner-focus-bottom{padding-top:15px;border-color:var(--line);gap:12px;flex-direction:row;align-items:center;justify-content:space-between}
body.owner-hub .owner-focus-bottom .actions:only-child{margin-inline:auto}
body.owner-hub .owner-home-layout .owner-focus-bottom .btn{min-height:40px;padding:9px 12px;font-size:13px}
body.owner-hub .owner-summary-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left;color:var(--ink)}
body.owner-hub .owner-summary-link:hover{color:var(--green)}
body.owner-hub .owner-summary-link strong{font-size:clamp(24px,2.2vw,30px);font-weight:700;letter-spacing:-.025em;line-height:1.2}
body.owner-hub .owner-summary-link h2{font-size:23px;margin:0;color:inherit}
body.owner-hub .owner-summary-link .icon{width:15px;height:15px;flex-shrink:0;color:var(--green)}
body.owner-hub .owner-home-layout .owner-balance-rule{margin:16px 0;background:var(--line)}
body.owner-hub .owner-home-layout .owner-balance dl>div{font-size:14px;margin-top:10px}
body.owner-hub .owner-home-layout .owner-balance dt{color:var(--muted)}
body.owner-hub .owner-home-layout .owner-balance dd{color:var(--ink);font-weight:600}
body.owner-hub .owner-home-layout .owner-inline-actions{margin-top:16px;gap:8px}
body.owner-hub .owner-home-layout .owner-inline-actions .btn{min-height:40px;font-size:13px;padding:9px 12px}
body.owner-hub .owner-home-layout .owner-section-heading{margin-bottom:10px;align-items:center}
body.owner-hub .owner-home-layout .owner-section-heading h2{font-size:21px;color:var(--ink)}
body.owner-hub .owner-home-layout .owner-section-heading .btn{white-space:nowrap;font-size:13px}
body.owner-hub .owner-task-list,body.owner-hub .owner-task{border-color:var(--line)}
body.owner-hub .owner-task{min-height:44px;padding:12px 0;gap:10px}
body.owner-hub .owner-task:last-child{border-bottom:0}
body.owner-hub .owner-task strong{font-size:14px;line-height:1.4;color:var(--ink)}
body.owner-hub .owner-desktop-dock{bottom:14px;padding:5px;border-color:var(--line);box-shadow:0 4px 20px #08303612}
body.owner-hub .owner-desktop-dock .owner-nav-item{min-height:54px;padding:7px;font-size:11px;gap:5px;color:var(--muted)}
body.owner-hub .owner-desktop-dock .owner-nav-item.active{color:var(--green)}
/* Expand the existing Home groups to the usable desktop viewport. */
@media(min-width:801px){
 body.owner-hub:has(.owner-home-layout) .workspace{padding-top:20px;padding-bottom:112px}
 body.owner-hub:has(.owner-home-layout:not(:has(> .owner-attention))) .workspace{min-height:clamp(0px,calc(100svh - 74px),940px);display:grid;grid-template-rows:auto 1fr}
 body.owner-hub .owner-home-layout{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(min-content,7fr) minmax(min-content,3fr) auto;grid-template-areas:"event finances" "attention members" "rsvp rsvp"}
 body.owner-hub .owner-home-layout:not(:has(> .owner-attention)){grid-template-rows:repeat(2,minmax(min-content,1fr)) auto;grid-template-areas:"event finances" "event members" "rsvp rsvp"}
 body.owner-hub .owner-home-layout > :is(.owner-meeting-focus,.owner-home-event-stack){grid-area:event}
 body.owner-hub .owner-home-layout .owner-attention{grid-area:attention}
 body.owner-hub .owner-home-layout .owner-balance{grid-area:finances}
 body.owner-hub .owner-home-layout .owner-home-people{grid-area:members}
 body.owner-hub .owner-home-layout .owner-meeting-focus{display:flex;flex-direction:column;align-items:stretch;padding:clamp(24px,3vh,36px)}
 body.owner-hub .owner-home-layout .owner-focus-body{flex:1;flex-direction:column;justify-content:center;gap:22px;text-align:center;margin-bottom:24px}
 body.owner-hub .owner-home-layout .home-event-meta{justify-content:center}
 body.owner-hub .owner-home-layout .owner-focus-body h2{font-size:clamp(40px,4vw,64px);text-wrap:balance}
 body.owner-hub .owner-home-layout .owner-date-tile{width:clamp(108px,10vw,134px);height:clamp(128px,12vw,156px);border-radius:27px}
 body.owner-hub .owner-home-layout .owner-date-tile strong{font-size:clamp(55px,5.3vw,72px)}
 body.owner-hub .owner-home-layout .owner-date-tile span{font-size:15px}
 body.owner-hub .owner-home-layout .owner-focus-bottom{flex-direction:column;justify-content:center;padding-top:22px}
 body.owner-hub .owner-home-layout .owner-focus-bottom .actions{justify-content:center;flex-wrap:wrap}
 body.owner-hub .owner-home-layout .owner-focus-bottom .btn{min-height:44px;padding:11px 16px;font-size:14px}
 body.owner-hub .owner-home-layout .owner-no-event{justify-content:center;align-items:center;text-align:center;gap:24px}
 body.owner-hub .owner-home-layout .owner-no-event h2{margin:0}
 body.owner-hub .owner-home-layout :is(.owner-balance,.owner-home-people){display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,3vh,32px)}
 body.owner-hub .owner-home-layout .owner-summary-link{position:relative;justify-content:center;text-align:center;padding:0 24px}
 body.owner-hub .owner-home-layout .owner-summary-link .icon{position:absolute;right:0}
 body.owner-hub .owner-home-layout .owner-summary-link strong{font-size:clamp(28px,2.55vw,36px)}
 body.owner-hub .owner-home-layout .owner-summary-link h2{font-size:clamp(27px,2.2vw,32px)}
 body.owner-hub .owner-home-layout .owner-balance-rule{margin:20px 0 8px;width:100%}
 body.owner-hub .owner-home-layout .owner-balance dl{margin:0;width:100%}
 body.owner-hub .owner-home-layout .owner-balance dl>div{font-size:15px;margin-top:12px}
 body.owner-hub .owner-home-layout .owner-inline-actions{justify-content:center;flex-wrap:wrap;margin-top:16px}
 body.owner-hub .owner-home-layout:has(> .owner-attention) .owner-meeting-focus{padding:20px}
 body.owner-hub .owner-home-layout:has(> .owner-attention) .owner-focus-body{gap:12px;margin-bottom:14px}
 body.owner-hub .owner-home-layout:has(> .owner-attention) .owner-focus-body h2{font-size:clamp(30px,3.3vw,44px)}
 body.owner-hub .owner-home-layout:has(> .owner-attention) .owner-date-tile{width:82px;height:94px;border-radius:18px}
 body.owner-hub .owner-home-layout:has(> .owner-attention) .owner-date-tile strong{font-size:46px}
 body.owner-hub .owner-home-layout:has(> .owner-attention) .owner-focus-bottom{padding-top:14px}
 body.owner-hub .owner-home-layout .owner-attention{padding:20px}
 body.owner-hub .owner-home-layout:has(> .owner-attention) .owner-home-people{padding-block:20px}
}
@media(min-width:801px) and (max-height:760px){
 body.owner-hub:has(.owner-home-layout) .workspace{padding-top:12px;padding-bottom:128px;min-height:0}
 body.owner-hub .owner-home-layout{--home-gap:14px}
 body.owner-hub .owner-home-layout :is(.owner-meeting-focus,.owner-attention,.owner-balance,.owner-home-people){padding:18px}
 body.owner-hub .owner-home-layout .owner-focus-body{gap:14px;margin-bottom:16px}
 body.owner-hub .owner-home-layout .owner-focus-body h2{font-size:clamp(30px,3.1vw,44px)}
 body.owner-hub .owner-home-layout .owner-date-tile{width:88px;height:104px;border-radius:21px}
 body.owner-hub .owner-home-layout .owner-date-tile strong{font-size:48px}
 body.owner-hub .owner-home-layout .owner-focus-bottom{padding-top:16px}
 body.owner-hub .owner-home-layout .owner-balance-rule{margin:16px 0 6px}
 body.owner-hub .owner-home-layout .owner-balance dl>div{margin-top:8px;font-size:14px}
 body.owner-hub .owner-home-layout .owner-inline-actions{margin-top:16px}
 body.owner-hub .owner-home-layout .owner-summary-link strong{font-size:28px}
 body.owner-hub .owner-home-layout .owner-task{padding:8px 0;min-height:38px}
 body.owner-hub .owner-home-layout .owner-section-heading{margin-bottom:6px}
}
@media(max-width:1000px) and (min-width:801px){body.owner-hub:has(.owner-home-layout) .workspace{padding-left:24px;padding-right:24px}}
@media(max-width:800px){
 body.owner-hub .owner-masthead{padding:12px 18px 0;min-height:68px}
 body.owner-hub:has(.owner-home-layout) .workspace{padding:18px 20px 112px}
 body.owner-hub .owner-home-layout{grid-template-columns:1fr}
 body.owner-hub .owner-home-layout .owner-focus-bottom{flex-wrap:wrap}
 body.owner-hub .owner-home-layout .owner-balance{display:block}
 body.owner-hub .owner-home-layout .owner-balance dl{margin-top:0}
 body.owner-hub .owner-home-layout .owner-balance dl>div{display:flex}
 body.owner-hub .owner-home-layout .owner-balance-rule{display:block}
 body.owner-hub .owner-access{display:flex}
 .owner-account-name{max-width:170px}
}
@media(max-width:500px){body.owner-hub .owner-account-name{max-width:128px}body.owner-hub .owner-brand-group .brand div{display:none}body.owner-hub .owner-masthead-actions{gap:6px}body.owner-hub .owner-home-layout .owner-focus-bottom .actions{flex-wrap:wrap}}
@media(max-width:420px){
 body.owner-hub .owner-home-layout .owner-focus-bottom .actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}
 body.owner-hub .owner-home-layout .owner-focus-bottom .btn{width:100%;justify-content:center}
}

/* Keep the desktop columns, with one compact summary beneath each name on
   narrow displays. The name no longer competes with three status columns. */
.owner-directory-summary{display:contents}
body.owner-hub .owner-members-panel{min-width:0}
@media(min-width:801px){
 body.owner-hub .workspace:has(.org-chart){min-height:0;padding-top:clamp(12px,2.2vh,24px);padding-bottom:92px}
}
@media(min-width:801px) and (max-height:740px){
 body.owner-hub .workspace:has(.org-chart){padding-top:8px}
 .owner-members-panel:has(.org-chart)>.ais-list-toolbar{padding-block:9px}
}
@media(max-width:800px){
 body.owner-hub:has(.owner-members-panel) #app{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100svh;height:100dvh;overflow:hidden;padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
 body.owner-hub:has(.owner-members-panel) .owner-masthead{grid-row:1;width:100%;min-width:0}
 body.owner-hub:has(.owner-members-panel) .workspace{grid-row:2;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:20px 20px 24px;scroll-padding-block:16px}
 body.owner-hub:has(.owner-members-panel) .owner-dock{grid-row:3;position:relative;left:auto;bottom:auto;transform:none;justify-self:center;width:min(430px,calc(100% - 24px));margin:0 12px 10px}
 body.owner-hub:has(.owner-members-panel) .owner-dock .owner-nav-item{min-width:0;min-height:52px;padding:7px 3px;gap:4px;font-size:11px}
 body.owner-hub:has(.owner-members-panel) .owner-dock .icon{width:20px;height:20px}
 body.owner-hub .owner-members-panel .tabs{max-width:100%;flex-wrap:wrap;gap:2px}
 body.owner-hub .owner-members-panel .tabs button{font-size:13px;min-height:44px;padding:8px 10px}
 body.owner-hub .owner-members-panel .owner-layout-toggle{margin:0;gap:4px}
 body.owner-hub .owner-members-panel .owner-layout-toggle button{min-height:36px;padding:7px 10px;font-size:12px}
 .owner-search-trigger{width:40px;height:40px;min-height:40px;border-radius:50%}
}
@media(max-width:600px){
 body.owner-hub:has(.owner-members-panel) .workspace{padding:18px 14px 20px}
 body.owner-hub .owner-members-panel .panel-toolbar{flex-direction:column}
 body.owner-hub .owner-members-panel .owner-directory-row{grid-template-columns:minmax(0,1fr) 18px;gap:5px 12px;min-height:70px;padding:12px 16px;color:var(--ink);border-color:var(--line)}
 body.owner-hub .owner-directory-row .owner-person{grid-column:1;grid-row:1;min-width:0}
 body.owner-hub .owner-directory-row .name-link{display:block;font-size:16px;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}
 body.owner-hub .owner-directory-summary{display:flex;grid-column:1;grid-row:2;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0}
 body.owner-hub .owner-directory-points{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap;font-size:12px;line-height:1.4;color:var(--muted)}
 body.owner-hub .owner-directory-points strong{font-weight:600;color:var(--ink)}
 body.owner-hub .owner-directory-points small{display:inline;font-size:inherit;color:inherit}
 body.owner-hub .owner-directory-dues{flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px 10px}
 body.owner-hub .owner-directory .badge{font-size:11px;line-height:1.4;padding:2px 7px}
 body.owner-hub .owner-strike-count{font-size:11px;line-height:1.4}
 body.owner-hub .owner-directory-row .owner-open-person{grid-column:2;grid-row:1/3;align-self:center}
 body.owner-hub .owner-directory-row .owner-open-person .icon{width:16px;height:16px}
}
.event-rsvp-toggle{display:flex;align-items:center;gap:10px;align-self:center;padding-top:10px}
.event-rsvp-toggle input{width:18px;height:18px;accent-color:var(--green)}
body.owner-hub .owner-home-layout .owner-focus-body .owner-checkin-count{font-size:clamp(15px,1.4vw,18px);font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums;color:var(--ink)}
.rsvp-review-group{border-top:1px solid var(--line);padding:14px 0}
.rsvp-review-group h3{margin:0 0 12px}
.rsvp-review-group p{margin:8px 0}

/* The primary card action covers its surface; secondary actions keep their own target. */
body.owner-hub .owner-home-layout .owner-click-card{position:relative;isolation:isolate}
body.owner-hub .owner-home-layout .owner-stretch{position:static!important}
body.owner-hub .owner-home-layout .owner-stretch::after{content:"";position:absolute;inset:0;border-radius:16px;z-index:1;cursor:pointer}
body.owner-hub .owner-home-layout .owner-click-card:has(.owner-stretch:focus-visible){outline:2px solid var(--green);outline-offset:4px}
body.owner-hub .owner-home-layout .owner-summary-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
@media(min-width:801px){body.owner-hub .owner-home-layout .owner-summary-inner{justify-content:center}}
body.owner-hub .owner-home-layout .owner-focus-bottom,body.owner-hub .owner-home-layout .owner-focus-bottom>.actions{position:static}
body.owner-hub .owner-home-layout .owner-inline-actions .btn,body.owner-hub .owner-home-layout .qr-menu-wrap{position:relative;z-index:2}
.application-open-control{display:inline-flex;align-items:center;gap:9px;font-weight:600;white-space:nowrap}
.application-open-control input{accent-color:var(--green);width:20px;height:20px;margin:0}
body.owner-hub .owner-home-layout .owner-focus-bottom .actions>.btn:not(.owner-stretch){position:relative;z-index:2}
