/* GM Homestead: the very same Owner Homestead cards and Belles bulletin component.
   Only actions and data differ by account permissions. Scoped to GM home. */
html[data-theme] #app#app.command-center-view .sc-ranch-layout:has(.bb-gm-home){
 width:100%;max-width:1190px;margin-inline:auto;gap:0;
}
html[data-theme] #app#app.command-center-view .bb-gm-home{
 --bb-home-paper:#FFF9F1;--bb-home-ink:#3D241D;
 --bb-home-line:#D7C0AD;--bb-home-muted:#72574F;
 display:grid;align-content:start;gap:21px;width:100%;
 max-width:1190px;min-width:0;margin:0 auto;color:var(--bb-home-ink);
 font:400 14px/1.55 Inter,Arial,sans-serif;
}
html[data-theme="dark"] #app#app.command-center-view .bb-gm-home{
 --bb-home-paper:#1D171C;--bb-home-ink:#FFF4F0;
 --bb-home-line:#5C414D;--bb-home-muted:#D0BFC5;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-card{
 display:block;width:100%;min-width:0;box-shadow:none;
 padding:19px 20px;margin:0;border-radius:17px;
 background:var(--bb-home-paper);border:1px solid var(--bb-home-line);
 color:var(--bb-home-ink);
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-card h2{
 color:var(--bb-home-ink);font:700 clamp(22px,2.3vw,26px)/1.2 Georgia,"Bree Serif",serif;
 margin:0 0 11px;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-card p{
 color:var(--bb-home-ink);font:400 14px/1.55 Inter,Arial,sans-serif;
 margin:0 0 12px;max-width:920px;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-home-link{
 background:transparent;color:var(--bb-home-ink);border:0;
 min-height:40px;padding:7px 0;text-align:left;width:100%;
 font:700 13px/1.4 Inter,Arial,sans-serif;display:flex;justify-content:space-between;gap:10px;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-home-link strong{
 text-decoration:underline;text-underline-offset:3px;color:var(--bb-home-ink)
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-home-link small{
 color:var(--bb-home-muted);font:400 12px/1.4 Inter,Arial,sans-serif;opacity:1;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-home-link:hover strong{
 color:#AF2447
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-home-link>span:last-child{color:#AF2447}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention{
 padding:0;margin:0;background:transparent;border:0;
 display:block;color:var(--bb-home-ink)
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention header{
 display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 13px;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention header h2{
 font:750 23px/1.2 Inter,Arial,sans-serif;margin:0;color:var(--bb-home-ink)
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention header span{
 color:var(--bb-home-muted);font:400 13px/1.4 Inter,Arial,sans-serif
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-empty{
 min-height:78px;display:flex;align-items:center;padding:16px 23px;
 border:1px dashed var(--bb-home-line);border-radius:15px;background:var(--bb-home-paper);
 color:var(--bb-home-muted);font-size:13px;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-attention-list{
 display:grid;gap:0;overflow:hidden;background:var(--bb-home-paper);
 border:1px solid var(--bb-home-line);border-radius:15px
}
html[data-theme] #app#app.command-center-view .bb-gm-attention-list > button{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 width:100%;min-height:54px;padding:12px 18px;
 border:0;border-bottom:1px solid var(--bb-home-line);
 text-align:left;background:transparent;color:var(--bb-home-ink);cursor:pointer;
}
html[data-theme] #app#app.command-center-view .bb-gm-attention-list > button:last-child{border-bottom:0}
html[data-theme] #app#app.command-center-view .bb-gm-attention-list > button:hover{background:#AF244711}
.bb-gm-attention-list strong{font-size:13px;font-weight:750}
.bb-gm-attention-list small{font-size:11px;color:var(--bb-home-muted);display:block;margin-top:3px}
.bb-gm-attention-list > button>span:last-child{color:#AF2447;font-size:20px}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-card-links{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;
 border-top:1px solid var(--bb-home-line);padding-top:10px;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-invite-heading{
 color:var(--bb-home-muted);font-weight:800;font-size:11px;letter-spacing:.09em;
 text-transform:uppercase;margin-top:14px;margin-bottom:10px;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-invite-actions{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-invite-actions .sc-ranch-action{
 display:flex;justify-content:center;align-items:center;gap:7px;
 border:1px solid var(--bb-home-line);border-radius:10px;
 background:var(--bb-home-paper);color:var(--bb-home-ink);
 min-height:43px;padding:10px 11px;text-align:center;font:750 12px/1.4 Inter,Arial,sans-serif
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-invite-actions .sc-ranch-action:first-child{
 color:#fff;background:#AF2447;border-color:#AF2447
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-invite-actions .sc-ranch-action:hover{
 box-shadow:0 0 0 2px #AF244750
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-invite-actions .sc-ranch-action span{font-size:18px}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-home-error{
 border:1px solid #AF2447;background:#AF24471B;color:var(--bb-home-ink);
 padding:13px;border-radius:10px
}
/* Exact shared Owner/GM bulletin, including desktop-height red-and-cream hero. */
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-bulletin-mobile{margin:0}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-bulletin-slide.is-logo{
 background:linear-gradient(155deg,#AF2447,#70112B 70%,#290914)
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-bulletin-slide.is-logo .bb-bulletin-slide-caption{background:none}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-bulletin-slide-caption strong{
 font:750 clamp(20px,3vw,28px)/1.2 Inter,Arial,sans-serif;color:#fff
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-bulletin-open{
 color:var(--bb-home-ink);text-decoration:underline;text-underline-offset:3px
}
/* Desktop bulletin: proper photo aspect ratio, never a 160px-high panorama.
   Phone and tablet carousel layout stays with the shared component. */
@media(min-width:851px){
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-bulletin-mobile{
  width:100%;max-width:920px;
 }
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-bulletin-slide{
  height:clamp(310px,31vw,390px);
 }
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-bulletin-slide.is-logo .bb-bulletin-slide-image{
  width:235px;max-width:36%;height:100%;margin-left:20px;padding:25px 12px;
 }
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-bulletin-slide.is-logo .bb-bulletin-slide-caption{
  left:275px;right:22px;top:0;bottom:0;align-content:center;padding:20px;background:none;
 }
}
@media(max-width:1050px){
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-invite-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 html[data-theme] #app#app.command-center-view .bb-gm-home{gap:16px}
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-card{padding:16px}
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-card-links{grid-template-columns:1fr}
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-invite-actions{grid-template-columns:1fr 1fr}
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention header h2{font-size:20px}
}

/* The same Digital Keys panel runs in both portals. Share the Owner's palette. */
html[data-theme="light"] #app#app.command-center-view .sc-gm-digital-keys{
 --cream:#F5EADC;--paper:#FFF9F1;--soft:#F1E3D8;
 --ink:#3D241D;--muted:#72574F;--line:#D7C0AD;
 display:block;width:100%;min-width:0;
}
html[data-theme="dark"] #app#app.command-center-view .sc-gm-digital-keys{
 --cream:#0D0B0D;--paper:#1D171C;--soft:#292027;
 --ink:#FFF4F0;--muted:#D0BFC5;--line:#5C414D;
 display:block;width:100%;min-width:0;
}
html[data-theme] #app#app.command-center-view .sc-gm-digital-keys [data-digital-keys-panel]{
 display:block;width:100%;min-width:0;
}

/* Keep the larger Homestead title and use the shared mobile chrome on phones. */
html[data-theme="light"] #app#app.command-center-view .gm-chat-wrap:has(.bb-gm-home) > .gm-header{
 min-height:119px!important;
 padding:18px clamp(24px,3.4vw,48px)!important;
 border-bottom:1px solid var(--gm-home-header-line,#D7C0AD)!important;
 background:var(--gm-mobile-chrome,#FFF9F1)!important;
 align-items:center!important;
}
html[data-theme="light"] #app#app.command-center-view .gm-chat-wrap:has(.bb-gm-home) > .gm-header h1{
 font:700 clamp(36px,3.7vw,47px)/1.08 Georgia,"Bree Serif",serif!important;
 letter-spacing:-.035em!important;
 color:var(--gm-home-header-ink,#3D241D)!important;
 margin:6px 0 0!important;
}
html[data-theme="light"] #app#app.command-center-view .gm-chat-wrap:has(.bb-gm-home) > .gm-header .gm-header-copy{
 flex:1;min-width:0;
}
html[data-theme="light"] #app#app.command-center-view .gm-chat-wrap:has(.bb-gm-home) > .gm-header .gm-location-nav{
 font-size:11px!important;
}
@media(max-width:767px){
 html[data-theme="light"] #app#app.command-center-view .gm-chat-wrap:has(.bb-gm-home) > .gm-header{
  --gm-home-header-ink:#FFFFFF;
  --gm-home-header-line:#8F1C3D;
 }
}
@media(max-width:680px){
 html[data-theme="light"] #app#app.command-center-view .gm-chat-wrap:has(.bb-gm-home) > .gm-header{
  min-height:88px!important;padding:12px 17px!important;
 }
 html[data-theme="light"] #app#app.command-center-view .gm-chat-wrap:has(.bb-gm-home) > .gm-header h1{
  font-size:clamp(27px,6vw,34px)!important;
 }
}

/* The invitation picker has its own layout inside Accounts & Access. */
html[data-theme] #app#app.command-center-view .bb-gm-home #sc-invite-category {
 box-sizing:border-box;
 width:min(560px,calc(100vw - 32px));
 max-height:calc(100dvh - 32px);
 padding:clamp(16px,4vw,24px);
 overflow:auto;
}
#sc-invite-category .sc-owner-invite-head {
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:12px;
 margin-bottom:16px;
}
#sc-invite-category-title {margin:0;line-height:1.2;}
html[data-theme] #app#app.command-center-view .bb-gm-home #sc-invite-category .bb-gm-invite-actions {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 grid-auto-rows:1fr;
 gap:10px;
}
html[data-theme] #app#app.command-center-view .bb-gm-home #sc-invite-category .sc-ranch-action {
 width:100%;
 min-height:54px;
 padding:10px 12px;
 white-space:normal;
 text-align:left;
 justify-content:flex-start;
}
html[data-theme] #app#app.command-center-view .bb-gm-home #sc-invite-category .sc-ranch-action:first-child:not(:hover):not(:focus-visible) {
 background:transparent;
 color:inherit;
 border-color:currentColor;
}
#sc-invite-category > p {margin:16px 0 0;font-size:.875rem;line-height:1.45;}
@media(max-width:420px){
 html[data-theme] #app#app.command-center-view .bb-gm-home #sc-invite-category .bb-gm-invite-actions{grid-template-columns:1fr;}
}


/* Priority inbox — actionable requests must visually lead the GM Homestead.
   Empty state stays quiet. No additional popup or duplicate inbox is created. */
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending{
 display:block;margin:0;min-width:0;
 padding:19px 22px 22px;
 border:1px solid #AF2447;border-left:6px solid #AF2447;
 border-radius:17px;
 background:linear-gradient(115deg,color-mix(in srgb,#AF2447 8%,var(--bb-home-paper)) 0%,var(--bb-home-paper) 58%);
 box-shadow:0 5px 20px #51263816;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending header{
 gap:12px;align-items:center;margin:0 0 14px;flex-wrap:wrap;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending header h2{
 display:flex;align-items:center;gap:12px;
 font:750 clamp(22px,2.7vw,29px)/1.2 "Bree Serif",Georgia,serif;
 color:var(--bb-home-ink);margin:0;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending header h2::before{
 content:"!";display:grid;place-items:center;
 flex:0 0 31px;width:31px;height:31px;border-radius:50%;
 color:#fff;background:#AF2447;font:850 18px/1 Inter,Arial,sans-serif;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending header span{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:32px;border-radius:99px;padding:7px 13px;
 color:#fff;background:#AF2447;
 font:800 12px/1.2 Inter,Arial,sans-serif;
 white-space:nowrap;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending .bb-gm-attention-list{
 border:1px solid var(--bb-home-line);border-radius:11px;
 background:var(--bb-home-paper);box-shadow:0 2px 6px #32140e0b;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending .bb-gm-attention-list > button{
 min-height:78px;padding:15px 17px;gap:15px;
 background:transparent;color:var(--bb-home-ink);
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending .bb-gm-attention-list > button:hover,
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending .bb-gm-attention-list > button:focus-visible{
 background:color-mix(in srgb,#AF2447 8%,var(--bb-home-paper));
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending .bb-gm-attention-list > button:focus-visible{
 outline:3px solid #AF2447;outline-offset:-4px;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-attention-list > button>span:first-child{
 display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-attention-list .bb-gm-attention-type{
 display:block;color:#AF2447;font:850 10px/1.3 Inter,Arial,sans-serif;
 letter-spacing:.09em;text-transform:uppercase;margin:0;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-attention-list strong{
 font:750 clamp(14px,1.5vw,17px)/1.25 Inter,Arial,sans-serif;
 color:var(--bb-home-ink);
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-attention-list .bb-gm-attention-cta{
 display:inline-flex;justify-content:center;align-items:center;gap:8px;
 flex:none;min-height:42px;padding:10px 13px;border-radius:9px;
 background:#AF2447;color:#fff;
 font:800 12px/1.2 Inter,Arial,sans-serif;white-space:nowrap;
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-attention-list .bb-gm-attention-cta span{
 color:#fff;font-size:16px;
}
@media(max-width:600px){
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending{padding:16px 14px;border-left-width:5px}
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending header h2{font-size:22px}
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-homestead-attention.has-pending .bb-gm-attention-list > button{
  flex-wrap:wrap;align-items:flex-start;padding:14px;gap:12px;
 }
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-attention-list .bb-gm-attention-cta{
  width:100%;min-height:40px;
 }
}

html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-attention-entry{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
 gap:var(--hs-gap-3);padding:var(--hs-gap-3) var(--hs-gap-4);
 border-bottom:1px solid var(--bb-home-line);
}
html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-attention-entry:last-child{border-bottom:0}
.bb-gm-attention-entry > span{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){
 html[data-theme] #app#app.command-center-view .bb-gm-home .bb-gm-attention-entry{
  grid-template-columns:minmax(0,1fr);gap:var(--hs-gap-2);
 }
}
