/* The open Duo adds a companion pane to the left of the browsing surface. */
:where(.owner-hub,.member-page){
 --hub-bg:#fff;--hub-surface:#fff;--hub-paper:#f2f5f6;--hub-ink:#152223;
 --hub-muted:#5a6a6b;--hub-accent:#0c6670;--hub-line:#e0e5e6;--hub-date:#7a5b14;
 --hub-selection:#eaf3f3;--hub-glass:#ffffffe6;--hub-date-bg:#f8f2e4;
 --hub-dock-clearance:calc(94px + env(safe-area-inset-bottom,0px));
}
@media(prefers-color-scheme:dark){
 :where(.owner-hub,.member-page){
  --hub-bg:#101719;--hub-surface:#1b2528;--hub-paper:#253236;--hub-ink:#eff5f5;
  --hub-muted:#aabcc0;--hub-accent:#89dae2;--hub-line:#35474c;--hub-date:#e8c577;
  --hub-selection:#203439;--hub-glass:#253236eb;--hub-date-bg:#332d20;
 }
}
:where(.owner-hub,.member-page) .hub-brand{gap:clamp(8px,1.2vw,14px);color:var(--hub-ink)}
.hub-brand-name{font:700 clamp(17px,1.8vw,23px)/1.1 Montserrat,system-ui,sans-serif;letter-spacing:-.02em;white-space:nowrap}
.hub-split{min-width:0;background:var(--hub-bg);color:var(--hub-ink)}
.hub-split-detail{display:none}
.hub-split-primary,.hub-split-detail{min-width:0;scroll-padding-block:78px 24px}
.hub-pane-heading,.hub-home-heading,.hub-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.hub-pane-heading{padding-block:5px 18px}
.hub-pane-heading h1,.hub-home-heading h1{font-size:clamp(30px,3.15vw,42px);line-height:1.13;letter-spacing:-.038em;margin:0;overflow-wrap:anywhere}
.hub-pane-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.hub-detail-heading{align-items:flex-start;margin:0 0 22px}
.hub-detail-heading>div{min-width:0;flex:1}
.hub-detail-heading h2{font-size:clamp(25px,2.75vw,38px);line-height:1.12;letter-spacing:-.035em;margin:0;text-wrap:balance;overflow-wrap:anywhere}
.hub-detail-heading h2:focus{outline:none}
.hub-detail-heading p{font-size:15px;color:var(--hub-muted);margin:7px 0 0;overflow-wrap:anywhere}
.hub-detail-empty{display:grid;align-content:center;justify-items:center;min-height:min(60dvh,460px);text-align:center;color:var(--hub-muted)}
.hub-detail-empty .icon,.hub-detail-empty .member-icon{width:27px;height:27px;margin-bottom:3px}
.hub-detail-empty p{font-size:17px;font-weight:600}
.hub-list-controls{display:grid;gap:12px;margin-bottom:12px}
.hub-list-controls .tabs{justify-self:start;max-width:100%;flex-wrap:wrap}
.hub-list-controls .ais-list-tools{margin:0}
.hub-split .ais-list-toolbar{padding:0;border:0;background:transparent;box-shadow:none;margin:0 0 14px}
.hub-split .ais-list-search{min-width:0;background:var(--hub-paper);border-color:var(--hub-line);border-radius:16px}
.hub-split .ais-list-search input{background:transparent;color:var(--hub-ink)}
.hub-split .ais-list-search input::placeholder{color:var(--hub-muted)}
.hub-split .ais-list-views{margin-block-start:8px}
.hub-browser-list{display:grid;gap:2px}
.hub-browser-row{font:inherit;width:100%;color:var(--hub-ink);background:transparent;border:0;border-radius:16px;min-height:52px;padding:13px 12px;display:flex;gap:12px;align-items:center;justify-content:space-between;text-align:start;cursor:pointer}
.hub-browser-row span:first-child{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.hub-browser-row strong{font-weight:650;font-size:17px;line-height:1.16}
.hub-browser-row small{color:var(--hub-muted);font-size:14px;line-height:1.25}
.hub-browser-row .icon,.hub-browser-row .adm-chevron{flex:none;color:var(--hub-muted);width:14px}
.hub-browser-row:hover,.hub-browser-row.is-selected,.hub-split .adm-list-row.is-selected,.hub-split .project-row-button.is-selected{background:var(--hub-selection)}
.hub-split button:focus-visible{outline:2px solid var(--hub-accent);outline-offset:-2px}
.hub-split .project-list-rows{display:grid;gap:12px}
.hub-split .project-list-item{border:0}
.hub-split .project-row-button,.hub-split .hub-project-card{border:1px solid var(--hub-line);border-radius:16px;padding:17px 14px}
.hub-split .project-row-title{font-size:clamp(17px,2vw,22px);color:var(--hub-ink)}
.hub-split-detail .project-editor-team{margin:24px 0;padding:0;border:0;background:transparent}
.hub-split-detail .project-inline-team{display:block;padding:0;border:0}
.hub-split-detail>.member-card{border:0;padding:0;box-shadow:none;background:transparent}
.hub-split-detail>.member-card h2{font-size:clamp(25px,2.75vw,38px);overflow-wrap:anywhere}
.hub-compact-back{display:none}
.hub-split .adm-list{margin-top:12px}
.hub-split .adm-list-row{border-radius:14px}
.hub-split-detail .member-contact,.hub-split-detail .owner-profile-contact{margin:0 0 22px;overflow-wrap:anywhere}
.hub-split-detail .owner-profile-contact>div{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.hub-split-detail .owner-profile-stats,.hub-split-detail .owner-profile-dues{margin-top:20px}
body.owner-hub .hub-split-detail .owner-profile-stat,body.owner-hub .hub-split-detail .owner-profile-dues{background:var(--hub-surface);border-color:var(--hub-line)}
.hub-split-detail .owner-profile-actions{margin-top:16px}
.hub-split-detail .owner-profile-tabs{max-width:100%}
body.owner-hub .hub-icon-control{flex:none;width:42px;height:42px;min-height:42px;padding:10px;border-radius:50%;color:var(--hub-accent)}
.hub-icon-control .icon{width:17px;height:17px}
.hub-event-detail-title{display:flex;align-items:center;gap:15px;margin-bottom:20px}
.hub-event-detail-title .hub-detail-heading{flex:1;min-width:0;margin:0}
.hub-event-detail-title .hub-detail-heading p{color:var(--hub-accent)}
body.owner-hub .hub-split-detail .owner-date-tile,.hub-split-detail .member-date-tile,.member-page .member-hero .member-date-tile{background:var(--hub-date-bg);color:var(--hub-date);box-shadow:none;border:0;border-radius:18px;min-width:0;width:78px;height:99px;flex:none}
body.owner-hub .hub-split-detail .owner-date-tile,.hub-split-detail .member-date-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;height:auto;min-height:100px;padding:10px 8px;gap:3px}
body.owner-hub .hub-split-detail .owner-date-tile span,.hub-split-detail .member-date-tile span{font-size:14px;font-weight:550;line-height:1.15}
body.owner-hub .hub-split-detail .owner-date-tile strong,.hub-split-detail .member-date-tile strong{font-size:40px;line-height:1;letter-spacing:-.045em}
.hub-event-actions{flex-wrap:wrap;margin-bottom:22px}
.hub-event-attendance-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px}
.hub-event-attendance-head h3{font-size:21px;margin:0}
.hub-event-attendance-rows{margin-top:14px}
.hub-event-attendance-rows .bulk-row{min-height:49px;gap:8px}
.hub-event-attendance-rows .bulk-row[hidden]{display:none}
.hub-event-attendance-rows .actions{flex:none}
.hub-event-attendance-rows .btn{border-radius:999px}
.hub-rsvp-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}
.hub-rsvp-counts>div{display:grid;gap:4px;padding:10px;border:1px solid var(--line);border-radius:14px;text-align:center}
.hub-rsvp-counts dt{font-size:13px;color:var(--muted)}
.hub-rsvp-counts dd{font-size:22px;font-weight:700;margin:0}
.hub-rsvp-responses .rsvp-review-group{margin:12px 0 0}
.hub-rsvp-responses .rsvp-review-group h3{font-size:15px}
.hub-rsvp-responses .rsvp-review-group ul{margin:0;padding:0;list-style:none}
.hub-rsvp-responses .rsvp-review-group li{padding:8px 0;border-bottom:1px solid var(--line)}
.event-manage-attendance .ais-list-search{margin-bottom:8px}
.event-manage-details .form-error:empty,.event-save-feedback:has([data-event-save-status]:empty) :is([data-event-save-status]){display:none}
.event-save-feedback{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.event-save-feedback .btn{min-height:36px}
.event-save-feedback button[hidden]{display:none}

.hub-split .ais-calendar-month,.hub-split .ais-calendar-agenda{border:0;background:transparent}
.hub-split-primary .ais-calendar-header{padding:0 0 12px;gap:4px}
.hub-split-primary .ais-calendar-header h2{font-size:clamp(20px,2vw,26px);line-height:1.1}
.hub-split-primary .ais-calendar-controls{flex:none;gap:4px}
.hub-split-primary .ais-calendar-controls button{min-width:40px;min-height:40px;border:1px solid var(--hub-line);border-radius:999px;color:var(--hub-accent);background:var(--hub-glass)}
.hub-split-primary .ais-calendar-today{padding-inline:9px}
.hub-split-primary .ais-calendar-weekdays{font-size:13px;padding:3px 0 8px}
.hub-split-primary .ais-calendar-days{gap:3px;border:0;background:transparent}
.hub-split-primary .ais-calendar-cell{min-height:clamp(38px,6dvh,56px);height:auto;border:0;background:transparent;border-radius:10px}
.hub-split-primary .ais-calendar-day{position:static;min-height:clamp(38px,6dvh,56px);align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:3px 1px 6px;border-radius:10px}
.hub-split-primary .ais-calendar-number{font-size:16px;font-weight:600;min-width:0;height:auto;padding:0;background:none;box-shadow:none}
.hub-split-primary .ais-calendar-day[aria-current=date]{border:1px solid color-mix(in srgb,var(--hub-accent) 66%,transparent)}
.hub-split-primary .ais-calendar-day[aria-current=date] .ais-calendar-number,.hub-split-primary .ais-calendar-day[aria-pressed=true] .ais-calendar-number{background:none;box-shadow:none;color:var(--hub-accent)}
.hub-split-primary .ais-calendar-day[aria-pressed=true]{background:var(--hub-selection)}
.hub-split-primary :is(.ais-calendar-events,.ais-calendar-day-add){display:none}
.hub-split-primary .ais-calendar-dots{display:flex;justify-content:center;gap:3px}
.hub-split-primary .ais-calendar-dots i{width:5px;height:5px;border-radius:50%;background:var(--hub-accent)}
.hub-split .ais-calendar-agenda{padding:0;max-height:none;overflow:visible}
.hub-split .ais-calendar-agenda h2{font-size:clamp(20px,2vw,26px)}
.hub-split .ais-calendar-agenda-card{background:var(--hub-surface);border-radius:14px}
.hub-split .ais-calendar-agenda-event{padding:16px 18px}
.hub-split .ais-calendar-agenda-copy strong{font-size:clamp(22px,1.65vw,26px)}
.hub-split .ais-calendar-agenda-copy small{font-size:clamp(16px,1.15vw,18px)}
.hub-split .ais-calendar-agenda-event.is-selected{background:var(--hub-selection)}
body.owner-hub .btn.hub-event-back,.member-page .btn.hub-event-back{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;max-width:100%;margin:0 0 18px;padding:10px 16px;border:1px solid var(--hub-line,var(--line));border-radius:999px;background:var(--hub-paper,var(--ais-paper));color:var(--hub-ink,var(--ink));font-size:15px;font-weight:650;box-shadow:0 2px 8px #0000000a}
.hub-event-back .icon{width:18px;height:18px;stroke-width:2.2}
[data-hub-event-record][hidden]{display:none}

body.owner-hub .hub-home-heading{margin-bottom:clamp(12px,2.6vh,20px)}
body.owner-hub .hub-home-heading .btn{flex:none}
body.owner-hub .owner-home-layout :is(.owner-attention,.owner-balance,.owner-home-people){background:var(--hub-surface)}
body.owner-hub .owner-home-layout .owner-meeting-focus{background:var(--hub-paper)}
body.owner-hub .owner-home-layout .owner-date-tile{background:var(--hub-date-bg);color:var(--hub-date);box-shadow:none;border:0;gap:4px;padding-block:8px}
body.owner-hub .owner-home-layout .owner-date-tile :is(strong,span){line-height:1.05}
body.owner-hub .owner-home-layout .owner-focus-body h2{text-wrap:balance}
body.owner-hub .owner-home-layout .owner-focus-bottom .actions{flex-wrap:wrap}
body.owner-hub .owner-home-layout .owner-summary-link strong{overflow-wrap:anywhere}
body.owner-hub .owner-home-layout .owner-balance .owner-summary-link strong{color:var(--hub-accent)}
.member-page #member-content[data-hub-page=home]{width:min(100%,1280px);margin-inline:auto}
.member-page .member-hero .member-hero-event{align-items:center}
.member-page .member-hero{background:var(--hub-paper);border-color:var(--hub-line);box-shadow:none}
.member-page .member-hero .member-hero-copy h2{font-size:clamp(26px,4vw,48px)}
.member-page .member-hero .home-event-meta,.owner-home-layout .home-event-meta{color:var(--hub-muted)}
.member-home-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.member-home-layout>.member-card{margin:0;padding:clamp(24px,3vw,36px)}
.member-home-layout>:last-child:nth-child(odd){grid-column:1/-1}
.member-home-project{display:flex;flex-direction:column;align-items:flex-start;min-height:340px}
.member-project-mark{display:grid;place-items:center;width:48px;height:48px;margin-bottom:22px;border:1px solid var(--line);border-radius:14px;background:var(--ais-field);color:var(--ink)}
.member-project-mark .member-icon{width:25px;height:25px}
.member-home-project h2{font-size:clamp(28px,3.1vw,42px);line-height:1.12;letter-spacing:-.035em;text-wrap:balance;margin:0 0 10px}
.member-home-project-meta{display:flex;align-items:baseline;justify-content:flex-start;gap:12px 20px;width:100%;color:var(--muted);font-size:14px;line-height:1.5}
.member-home-project-lead{min-width:0;overflow-wrap:anywhere}
.member-home-project-team{flex:none;white-space:nowrap}
.member-home-project .actions{margin-top:auto;padding-top:28px;display:flex;gap:10px}
.member-home-project .actions .btn{min-height:44px}
.member-home-layout>.member-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:340px;text-align:center}
.member-home-layout .member-next-event{display:block;margin-bottom:20px;font-size:clamp(16px,1.4vw,20px);font-weight:600}
.member-home-layout .member-hero-event{flex-direction:column;gap:20px;width:100%}
.member-page .member-home-layout .member-hero .member-date-tile{width:112px;height:auto;min-height:148px;gap:6px;padding:14px 16px;border-radius:24px}
.member-home-layout .member-date-tile span{font-size:15px;line-height:1.2}
.member-home-layout .member-date-tile strong{font-size:64px;line-height:1}
.member-home-layout .member-hero .home-event-meta{justify-content:center;flex-wrap:wrap}
.member-home-layout .home-rsvp-card{margin:0;display:flex;flex-direction:column;justify-content:center}
.member-home-layout .home-rsvp-card .home-rsvp-options{flex-wrap:wrap}
.member-profile-projects{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.member-profile-projects h3{font-size:15px;margin:0 0 10px}
.member-profile-projects .hub-browser-row{border:1px solid var(--line);border-radius:14px;margin-top:8px}
#member-content[data-hub-page=settings] [data-preview-readonly]:disabled{opacity:1;cursor:default}
@media(max-width:800px){
 .member-home-layout{grid-template-columns:minmax(0,1fr);gap:18px}
 .member-home-project{min-height:260px}
 .member-home-layout>.member-hero{min-height:240px;align-items:stretch;text-align:start}
 .member-home-layout .member-hero-event{flex-direction:row;gap:20px}
 .member-page .member-home-layout .member-hero .member-date-tile{width:90px;min-height:122px;gap:4px;padding:12px;border-radius:20px}
 .member-home-layout .member-date-tile span{font-size:14px}
 .member-home-layout .member-date-tile strong{font-size:48px}
 .member-home-layout .member-hero .home-event-meta{justify-content:flex-start}
 .member-home-project h2{font-size:30px}
}
@media(min-width:801px){
 body.owner-hub:has(.owner-home-layout) .workspace{height:auto;min-height:min(calc(100svh - 74px),940px);max-height:none;grid-template-rows:auto minmax(min-content,1fr);padding-bottom:var(--hub-dock-clearance)}
 body.owner-hub .owner-home-main{grid-template-rows:minmax(min-content,1fr)}
 body.owner-hub .owner-home-main:has(.owner-attention){grid-template-rows:minmax(min-content,1fr) auto}
 body.owner-hub .owner-home-side{grid-template-rows:minmax(min-content,1.15fr) minmax(min-content,.85fr)}
}
@media(min-width:801px) and (max-height:650px){
 body.owner-hub .hub-home-heading{margin-bottom:10px}
 body.owner-hub .owner-home-layout :is(.owner-meeting-focus,.owner-attention){padding:14px}
 body.owner-hub .owner-home-layout .owner-focus-body{margin-bottom:12px}
 body.owner-hub .owner-home-layout .owner-focus-bottom{padding-top:12px}
 body.owner-hub .owner-home-layout .owner-focus-bottom .btn{min-height:40px;padding:9px 12px}
}
@media(min-width:880px){
 body.owner-hub:has(.hub-split) .workspace{width:100%;max-width:none;margin:0;padding:6px 0 var(--hub-dock-clearance);min-height:0}
 .member-page:has(.hub-split){max-width:none;padding:12px 0 var(--hub-dock-clearance)}
 .member-page:has(.hub-split) .member-header{padding-inline:clamp(18px,3vw,42px);min-height:54px;margin-bottom:14px}
 .member-page #member-content:not(:has(.hub-split)){width:min(calc(100% - 48px),920px);margin-inline:auto}
 .member-page:has(.hub-topbar) #member-content[data-hub-page=home]{width:min(calc(100% - 88px),1480px)}
 .hub-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:max(230px,calc(100dvh - 80px - var(--hub-dock-clearance)))}
 .hub-split-primary{grid-area:1/2;overflow-y:auto;overscroll-behavior-y:contain}
 .hub-split-detail{display:block;grid-area:1/1;overflow-y:auto;overscroll-behavior-y:contain;border-inline-end:0}
 .hub-split-primary,.hub-split-detail{padding:clamp(16px,2.8vw,40px) clamp(16px,2.5vw,39px) 28px;scrollbar-width:thin}
 [data-hub-event-agenda]:has(+[data-hub-event-record]:not([hidden])){display:none}
 .hub-pane-heading{position:sticky;z-index:2;top:0;min-height:54px;gap:6px}
 .hub-pane-heading h1{position:relative;isolation:isolate}
 [data-hub-scrolled]>.hub-pane-heading h1::before{position:absolute;content:"";inset:-7px -10px;z-index:-1;border-radius:999px;background:var(--hub-glass);border:1px solid var(--hub-line);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
}
@media(max-width:879px){
 .hub-split .hub-split-primary .is-selected{background:transparent}
 [data-hub-split=events]>.hub-split-detail{display:block;scroll-padding:0}
 [data-hub-split=events] .ais-calendar-agenda{margin-top:20px;padding-top:17px;border-top:1px solid var(--hub-line);border-radius:0}
 [data-hub-split=events] .ais-calendar-agenda-event.is-selected{background:transparent}
 [data-hub-event-record]{display:none}
 .hub-split.hub-compact-detail .hub-split-primary{display:none}
 .hub-split.hub-compact-detail .hub-split-detail,.hub-split.hub-compact-detail .hub-compact-back{display:block}
 .hub-compact-back{margin-bottom:15px}
}
@media(prefers-reduced-transparency:reduce){
 .hub-pane-heading h1::before{background:var(--hub-surface);backdrop-filter:none;-webkit-backdrop-filter:none}
}
.member-next-event{display:block;margin:0 0 14px;color:var(--hub-muted);font-size:14px;font-weight:600}
body.owner-hub .owner-meeting-focus .owner-focus-bottom .btn{border-radius:999px}
body.owner-hub #dialog.event-manage-dialog .dialog-head{background:var(--hub-surface);border-color:var(--hub-line)}
body.owner-hub #dialog.event-manage-dialog .dialog-head h2{color:var(--hub-ink)}
body.owner-hub .event-manage-dialog .event-rsvp-toggle{min-height:44px;margin:0;align-self:center;gap:8px;color:var(--hub-ink)}
body.owner-hub .event-manage-dialog .event-form-actions{border-color:var(--hub-line)}
@media(max-width:800px){
 .hub-home-heading h1{font-size:clamp(25px,6.5vw,37px)}
 body.owner-hub .owner-search-trigger{display:grid;place-items:center;padding:0}
 body.owner-hub .owner-search-trigger span{display:none}
}

/* Full-width directories share the same readable rows across officer and member pages. */
.hub-directory{min-width:0;width:100%;color:var(--hub-ink)}
.hub-directory .hub-pane-heading{position:static;padding:0 0 18px;min-height:54px}
.hub-directory .hub-list-controls{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:16px}
.hub-directory :is(.ais-list-toolbar,.project-list-toolbar){border:0;padding:0;margin:0 0 16px;background:transparent;box-shadow:none}
.hub-directory .hub-list-controls>.tabs{margin:0;flex:none;max-width:100%}
.hub-directory .ais-list-tools{flex:1;min-width:min(320px,100%);margin:0;gap:10px}
.hub-directory .ais-list-search{flex:1;min-width:0;background:var(--hub-paper);border:1px solid var(--hub-line);border-radius:16px;min-height:44px}
.hub-directory .ais-list-search input{color:var(--hub-ink);background:transparent;min-height:42px}
.hub-directory .ais-list-search input::placeholder{color:var(--hub-muted)}
.hub-directory .hub-directory-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;list-style:none;padding:0;margin:0;min-width:0}
.hub-directory .hub-browser-row{min-height:56px;padding:10px 12px;border:0;border-bottom:1px solid var(--hub-line);border-radius:10px;gap:8px}
.hub-directory .hub-browser-row strong{font-size:16px;line-height:1.25;font-weight:650;overflow-wrap:anywhere}
.hub-directory .hub-browser-row small{font-size:12px;line-height:1.25;color:var(--hub-muted)}
.hub-directory .hub-browser-row .icon{width:13px;flex:none;color:var(--hub-muted)}
.hub-directory :is(.hub-browser-row,.project-row-button):hover{background:var(--hub-selection)}
.hub-directory :is(button,a):focus-visible{outline:2px solid var(--hub-accent);outline-offset:-2px}
.hub-record-page{max-width:1100px;margin-inline:auto}
body.owner-hub .owner-home-side{border-inline-start:0;border-left:0}
.owner-home-team{min-width:0;padding:22px;border:1px solid var(--hub-line);border-radius:22px;background:var(--hub-surface)}
.owner-home-team h2{font-size:21px;margin:0 0 14px}
.owner-team-list{display:grid;gap:10px}
.owner-team-list .btn{justify-content:space-between;text-align:start}
@media(min-width:801px){
 body.owner-hub .owner-home-layout:has(>.owner-home-team){grid-template-areas:"event finances" "attention members" "rsvp rsvp" "team team";grid-template-rows:minmax(min-content,7fr) minmax(min-content,3fr) auto auto}
 body.owner-hub .owner-home-layout:has(>.owner-home-team):not(:has(>.owner-attention)){grid-template-areas:"event finances" "event members" "rsvp rsvp" "team team";grid-template-rows:repeat(2,minmax(min-content,1fr)) auto auto}
 .owner-home-team{grid-area:team}
}
@media(min-width:880px){
 body.owner-hub:has(.hub-directory) .workspace{width:100%;max-width:none;margin:0;padding:16px clamp(20px,3vw,44px) var(--hub-dock-clearance);min-height:0}
 .member-page:has(.hub-directory){width:100%;max-width:none;padding:16px clamp(20px,3vw,44px) var(--hub-dock-clearance)}
 .member-page #member-content:has(.hub-directory){width:100%;max-width:none;margin-inline:0}
 .member-page:has(.hub-directory) .member-header{margin-bottom:20px;min-height:54px}
 .hub-directory .hub-directory-grid{grid-auto-flow:column;column-gap:20px;align-items:stretch}
 .hub-directory .hub-directory-grid>.project-list-item{min-width:0;height:100%;padding:0;margin:0;border:0}
 .hub-directory .hub-directory-grid :is(.hub-browser-row,.project-row-button){min-width:0;width:100%;height:100%;min-height:var(--directory-row-size,56px);border:0;border-bottom:1px solid var(--hub-line);border-radius:10px;box-shadow:none;background:transparent;padding:8px 12px}
 .hub-directory .hub-directory-grid :is(.hub-browser-row,.project-row-button):hover{background:var(--hub-selection)}
 .hub-directory .hub-directory-grid[data-density=compact] .hub-browser-row{padding-block:6px}
 .hub-directory .hub-directory-grid[data-density=compact] .hub-browser-row strong{font-size:15px}
 .hub-directory .hub-directory-grid[data-density=compact] .hub-browser-row small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .hub-directory .hub-directory-grid .project-row-title{font-size:17px;line-height:1.25}
 .hub-directory .hub-directory-grid .project-row-meta{font-size:13px;line-height:1.3;color:var(--hub-muted)}
}
@media(max-width:879px){
 .hub-directory .hub-list-controls{gap:12px}
 .hub-directory .hub-list-controls .ais-list-tools{flex-basis:100%}
 .hub-directory .hub-directory-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;grid-auto-flow:row}
 .hub-directory .hub-browser-row{min-height:60px}
}

/* Let directories grow into the available viewport rather than leave a blank footer. */
@media(min-width:880px){
 .hub-directory .hub-directory-grid .hub-browser-row strong{font-size:var(--directory-name-size,16px)}
 .hub-directory .hub-directory-grid .hub-browser-row small{font-size:var(--directory-meta-size,12px);line-height:1.25}
 .hub-directory .hub-directory-grid[data-density=compact] .hub-browser-row strong{font-size:var(--directory-name-size,15px)}
 .hub-directory .hub-directory-grid[data-density=compact] .hub-browser-row small{font-size:var(--directory-meta-size,11px)}
}

/* Desktop global navigation; touch devices retain the familiar bottom dock. */
@media(min-width:1100px) and (hover:hover) and (pointer:fine){
 body.owner-hub,.member-page{--hub-dock-clearance:20px}
 body.owner-hub .owner-masthead.hub-topbar,.member-page .member-header.hub-topbar{
  display:flex;align-items:center;gap:16px;position:sticky;top:var(--hub-banner-height,0px);z-index:45;
  width:100%;max-width:none;height:56px;min-height:56px;margin:0;
  padding:0 clamp(20px,2.5vw,40px);border-bottom:1px solid var(--line);
  background:var(--ais-glass);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)
 }
 body.owner-hub .owner-masthead.hub-topbar .owner-brand-group{flex:none;gap:0}
 body.owner-hub .owner-masthead.hub-topbar .brand,.member-header.hub-topbar>.hub-brand{padding:0;border:0;border-radius:0;background:none;box-shadow:none;gap:9px;flex:none;text-decoration:none}
 body.owner-hub .owner-masthead.hub-topbar .brand img,.member-header.hub-topbar>.hub-brand img{width:29px;height:29px}
 .hub-topbar .hub-brand-name{font-size:17px;line-height:1.1;letter-spacing:-.025em}
 .hub-topbar .owner-app-download,.hub-topbar .app-download{display:none}
 body.owner-hub .owner-masthead.hub-topbar>.owner-desktop-dock,.member-header.hub-topbar>#member-nav{
  position:static;inset:auto;transform:none;flex:1;display:flex;align-items:center;justify-content:center;
  min-width:0;width:auto;max-width:none;height:56px;gap:2px;padding:0;margin:0;
  border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none
 }
 body.owner-hub .hub-topbar .owner-desktop-dock .owner-nav-item,.member-header.hub-topbar #member-nav button{
  display:inline-flex;flex:none;align-items:center;justify-content:center;flex-direction:row;
  width:auto;min-width:0;min-height:38px;height:38px;gap:0;padding:8px 9px;margin:0;
  border:0;border-radius:8px;box-shadow:none;background:transparent;color:var(--ink);font-size:12px;line-height:1.2;font-weight:550;white-space:nowrap
 }
 body.owner-hub .hub-topbar .owner-nav-item .icon,.member-header.hub-topbar #member-nav .member-icon,.member-header.hub-topbar #member-nav .member-nav-more{display:none}
 body.owner-hub .hub-topbar .owner-desktop-dock .owner-nav-item:hover,.member-header.hub-topbar #member-nav button:hover{background:var(--ais-hover)}
 body.owner-hub .hub-topbar .owner-desktop-dock .owner-nav-item.active,.member-header.hub-topbar #member-nav button[aria-current=page]{background:var(--ais-accent-soft);font-weight:700}
 body.owner-hub .owner-dock{display:none}
 .hub-topbar .owner-masthead-actions,.hub-topbar .member-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:none;min-width:0}
 .hub-topbar .owner-access{min-height:34px;padding:3px 5px 3px 10px;gap:6px;border-radius:99px;background:transparent;font-size:12px}
 .hub-topbar .owner-account-name{max-width:15ch}
 body.owner-hub .hub-topbar .owner-signout{min-height:26px;width:26px;height:26px;padding:5px}
 body.owner-hub .hub-topbar .owner-search-trigger{min-height:36px;width:36px;height:36px;padding:9px;background:none;box-shadow:none;border:0}
 .hub-topbar .owner-search-trigger>span{display:none}
 .hub-topbar .member-account-tools{gap:8px}
 .hub-topbar #member-account-name{max-width:15ch;font-size:12px}
 .hub-topbar #logout{font-size:12px;min-height:34px;padding:6px 10px}
 body.owner-hub .workspace{padding-top:18px;padding-bottom:20px;min-height:calc(100dvh - 56px)}
 body.owner-hub:has(.hub-directory) .workspace{padding-top:16px;padding-bottom:16px}
 .hub-directory .hub-pane-heading{padding-bottom:12px}
 .hub-directory .hub-list-controls,.hub-directory :is(.ais-list-toolbar,.project-list-toolbar){margin-bottom:12px}
 .member-page:has(.hub-topbar){max-width:none;padding:0 0 16px}
 .member-page:has(.hub-topbar) #member-content{padding-top:18px}
 .member-page:has(.hub-topbar) #member-content:has(.hub-directory){width:auto;margin-inline:clamp(20px,3vw,44px);padding-top:16px}
 .member-page:has(.hub-topbar) #member-content:has(.hub-split){padding-top:0}
 .hub-split{height:max(230px,calc(100dvh - 56px - var(--hub-dock-clearance)))}
 body.owner-hub:has(.owner-home-layout) .workspace{min-height:calc(100dvh - 56px);padding-top:18px;padding-bottom:20px}
}
@media(min-width:1100px) and (hover:hover) and (pointer:fine){
 .hub-directory .project-toolbar{display:flex;align-items:center;gap:14px}
 .hub-directory .project-toolbar .ais-list-views{order:-1;flex:none;border:0;padding:0}
 .hub-directory .project-toolbar .ais-list-tools{flex:1;margin:0}
}

.owner-settings-personal,.owner-settings-options{display:grid;gap:16px;min-width:0}
body.owner-hub .owner-account-settings .panel{margin:0}
@media(min-width:1100px) and (hover:hover) and (pointer:fine){
 body.owner-hub .owner-account-settings{
  max-width:1120px;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;align-items:start;
  grid-template-areas:"personal options" "about options" "signout options"
 }
 .owner-settings-personal{grid-area:personal}
 .owner-settings-options{grid-area:options;gap:12px}
 .owner-settings-about{grid-area:about}
 .owner-settings-signout{grid-area:signout}
 body.owner-hub .owner-account-settings .owner-account-info{padding:20px}
 body.owner-hub .owner-account-settings .owner-account-info h2{font-size:20px;margin-bottom:16px}
 body.owner-hub .owner-account-settings .owner-account-info dl{gap:10px;margin-bottom:12px}
 body.owner-hub .owner-account-settings .owner-account-info dl>div{font-size:14px}
 body.owner-hub .owner-account-settings .personal-info-action{min-height:48px;padding-block:10px;font-size:14px}
 body.owner-hub .owner-settings-options .owner-setting-link{border:0;box-shadow:none;background:var(--ais-paper);color:var(--ink);font-size:15px;min-height:60px;padding:16px 20px;border-radius:16px}
 body.owner-hub .owner-settings-options .calendar-settings-panel .btn{min-height:60px;padding:16px 20px;border:0;border-radius:16px;justify-content:flex-start}
 body.owner-hub .owner-settings-about .actions{margin-top:12px;gap:22px}
 .owner-settings-about .actions a{display:inline-flex;align-items:center;min-height:36px;font-size:14px}
 .member-page #member-content[data-hub-page=settings]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
 #member-content[data-hub-page=settings]>.personal-info{grid-row:1/3;margin:0}
 #member-content[data-hub-page=settings]>.member-card{margin:0}
}
@media(min-width:1100px) and (min-height:700px) and (hover:hover) and (pointer:fine){
 body.owner-hub:has(.owner-home-layout):not(:has(.owner-home-team)) .workspace{
  display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;
  height:calc(100dvh - 56px);min-height:0;max-height:none;padding:16px 32px 18px
 }
 body.owner-hub .hub-home-heading{margin-bottom:0;min-height:42px}
 body.owner-hub .hub-home-heading h1{font-size:36px}
 body.owner-hub .owner-home-layout:not(:has(>.owner-home-team)){
  min-height:0;gap:14px;grid-template-rows:minmax(min-content,7fr) minmax(min-content,3fr) auto
 }
 body.owner-hub .owner-home-layout:not(:has(>.owner-home-team,.owner-home-rsvp)){
  grid-template-rows:minmax(min-content,7fr) minmax(min-content,3fr)
 }
 body.owner-hub .owner-home-layout:not(:has(>.owner-home-team,.owner-attention)){
  grid-template-rows:minmax(0,1fr) minmax(0,1fr) auto
 }
 body.owner-hub .owner-home-layout :is(.owner-meeting-focus,.owner-balance,.owner-home-people,.owner-attention){min-height:0;padding:16px 20px}
 body.owner-hub .owner-home-layout .owner-focus-body{min-height:0;gap:10px;margin-bottom:10px;justify-content:center}
 body.owner-hub .owner-home-layout .owner-focus-copy{gap:5px}
 body.owner-hub .owner-home-layout:has(>.owner-attention) .owner-date-tile{width:76px;height:86px;border-radius:18px;padding:6px 0;gap:2px}
 body.owner-hub .owner-home-layout:has(>.owner-attention) .owner-date-tile strong{font-size:40px;line-height:1}
 body.owner-hub .owner-home-layout:has(>.owner-attention) .owner-date-tile span{font-size:13px;line-height:1}
 body.owner-hub .owner-home-layout:has(>.owner-attention) .owner-focus-body h2{font-size:clamp(30px,2.8vw,40px)}
 body.owner-hub .owner-home-layout .owner-focus-body .owner-checkin-count{font-size:17px}
 body.owner-hub .owner-home-layout .owner-focus-bottom{padding-top:12px;gap:10px}
 body.owner-hub .owner-home-layout .owner-focus-bottom .btn{min-height:42px;padding:10px 13px;font-size:13px}
 body.owner-hub .owner-home-layout .owner-section-heading{margin-bottom:5px}
 body.owner-hub .owner-home-layout .owner-section-heading h2{font-size:20px}
 body.owner-hub .owner-home-layout .owner-task{min-height:42px;padding:9px 0}
 body.owner-hub .owner-home-layout .owner-task strong{font-size:13px;line-height:1.3}
 body.owner-hub .owner-home-layout .owner-home-rsvp .home-rsvp-card{padding:14px 20px}
 body.owner-hub .owner-home-rsvp .home-rsvp-card h2{font-size:22px;margin-block:4px 6px}
 body.owner-hub .owner-home-rsvp .home-rsvp-card p{font-size:14px;line-height:1.3;margin:0}
 body.owner-hub .owner-home-layout .owner-inline-actions{margin-top:10px}
}

@media(min-width:1100px) and (min-height:700px) and (hover:hover) and (pointer:fine){
 body.owner-hub .owner-home-layout :is(.owner-attention,.owner-home-people){min-height:148px}
}
@media(min-width:1100px) and (min-height:700px) and (max-height:760px) and (hover:hover) and (pointer:fine){
 body.owner-hub .owner-home-layout .owner-focus-body{flex-direction:row;align-items:center;text-align:start;gap:18px;margin-bottom:12px}
 body.owner-hub .owner-home-layout .owner-focus-copy{text-align:start}
 body.owner-hub .owner-home-layout .home-event-meta{justify-content:flex-start}
 body.owner-hub .owner-home-layout:has(>.owner-attention) .owner-focus-body h2{font-size:32px}
}
