/* A stable owner workspace: open navigation and one shared property selection. */
.portfolio-app .sidebar{width:244px;padding:25px 15px 16px;display:flex;flex-direction:column}
.portfolio-app .brand{padding:3px 14px 26px;flex-shrink:0}
.portfolio-app .brand>span{margin-top:13px;font-size:9px;letter-spacing:3px}
.portfolio-app #navigation{display:block;flex:1;overflow:auto;padding:0 2px 8px}
.portfolio-app .nav-group{margin-bottom:17px}
.portfolio-app .nav-group:last-child{margin-bottom:0}
.portfolio-app .nav-label{font-size:8px;letter-spacing:1.5px;color:#95ae9f;margin:0 12px 7px}
.portfolio-app .nav-item{padding:9px 11px;font-size:12px;gap:11px;margin:2px 0;line-height:1.5}
.portfolio-app .nav-item .icon{width:17px;height:17px;flex-shrink:0}
.portfolio-app .nav-item.active{background:#e1eadd;color:#224733;font-weight:600}
.portfolio-app .sidebar-bottom{padding-top:7px}
.account-menu{padding-top:10px}
.portfolio-app .workspace-topbar{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:20px 38px 16px;min-height:80px;border-bottom:1px solid #e3e8df;background:#fbfcf9;position:relative;z-index:15}
.workspace-account-label{font-size:11px;color:#6d7d68}
.workspace-create-property{margin-left:auto;flex-shrink:0;white-space:nowrap;font-size:12px;min-height:44px}
.portfolio-app main{max-width:1600px;padding:28px 38px 30px}
.portfolio-app .footer{padding:18px 38px}
.property-selector{position:relative;width:auto;max-width:460px;min-width:260px}
.property-selector summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:6px 10px 6px 6px;border:1px solid #dde5d7;border-radius:9px;background:white;min-height:48px}
.property-selector summary::-webkit-details-marker{display:none}
.property-selector summary>img{width:42px;height:36px;object-fit:cover;border-radius:5px}
.property-selector summary>.icon{width:24px;height:24px;margin:0 8px;color:#65805b}
.property-selector summary>span:nth-last-child(2){flex:1;min-width:0}
.property-selector summary small{font-size:8px;letter-spacing:1px;color:#83917a;display:block;margin-bottom:3px}
.property-selector summary strong{display:block;font-size:11px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:340px;color:#345431}
.selector-chevron{margin-left:10px;color:#758a67}
.property-selector[open] summary{border-color:#89a37b;box-shadow:0 0 0 3px #a0b28e15}
.property-selector-panel{position:absolute;right:0;top:calc(100% + 10px);background:white;border:1px solid #dce5d6;border-radius:13px;width:390px;max-width:calc(100vw - 28px);box-shadow:0 12px 50px #17332524;overflow:hidden;z-index:30}
.selector-panel-heading{padding:22px 22px 16px;border-bottom:1px solid #ecf0e7}
.selector-panel-heading strong{font-size:12px}.selector-panel-heading p{font-size:11px;color:#7d8d72;margin:7px 0 0}
.selector-options{max-height:330px;overflow-y:auto;padding:8px}
.selector-options label{display:flex;gap:11px;align-items:center;padding:12px;border-radius:8px;cursor:pointer}
.selector-options label:hover,.selector-options label:has(input:checked){background:#f1f5ed}
.selector-options input{width:16px;height:16px;accent-color:#345c40;margin:0;flex-shrink:0}
.selector-options img{width:48px;height:43px;object-fit:cover;border-radius:6px}
.selector-options span{min-width:0}.selector-options b{display:block;font-size:11px}.selector-options small{display:block;font-size:10px;color:#809171;margin-top:5px;line-height:1.6}
.selector-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 18px;border-top:1px solid #e7ede0}
.selector-footer .text-button{font-size:10px}.selector-footer .btn{font-size:10px}
.selector-error{font-size:11px;color:#ac5645;margin:0 20px 15px}.selector-error:empty{display:none}
.mobile-menu-button{display:none}
/* Titles remain available to assistive technology; the selected sidebar item is the visual title. */
#main:not([data-page=account]):not([data-page=overview])>.heading-row>div h1,
#main .property-workspace>.heading-row>div h1,
#main .property-workspace>.heading-row>div h2,
#main .property-workspace>.local-heading>div>h2{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#main .heading-row .eyebrow{display:none}
.portfolio-app #main>.heading-row{margin:0 0 22px;gap:20px}
.portfolio-app #main>.heading-row p,.portfolio-app .property-workspace>.local-heading p{font-size:12px;color:#7a8971;margin:0;line-height:1.8}
.portfolio-app #main>.heading-row h1{font-size:31px}
.property-scope-section+.property-scope-section{margin-top:36px;padding-top:28px;border-top:1px solid #dce5d4}
.property-group-heading{display:flex;gap:12px;align-items:center;margin-bottom:23px}
.property-group-heading h2{font-size:21px;margin:0;font-weight:500;flex:1}
.property-group-heading>a{font-size:10px;display:flex;gap:7px;align-items:center;flex-shrink:0}
.property-group-heading>a .icon{width:14px;height:14px}
.draft-actions{display:flex;gap:15px;align-items:center;justify-content:flex-end;margin-bottom:18px}
.portfolio-app .property-workspace .local-heading{margin:0 0 22px}
.portfolio-app .period-bar{margin-bottom:22px;display:flex;align-items:center;gap:12px}
.portfolio-app .period-bar label{font-size:11px;color:#7c8b72;margin:0}
.portfolio-app .period-bar input{max-width:200px;background:white}
/* Calendar dates are real actions; event buttons stay independently accessible. */
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 25px}
.calendar-month-control{display:flex;align-items:center;gap:5px}
.portfolio-app .calendar-month-control input{width:188px;border:0;background:transparent;padding:10px;font:500 20px Jost,Arial,sans-serif;color:#345433;cursor:pointer}
.month-step{width:33px;height:33px;border:1px solid #dce5d5;background:white;border-radius:7px;font:23px Jost;color:#66815b;display:flex;align-items:center;justify-content:center}
.month-step:hover{background:#e9f0e2}
.portfolio-app .calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:23px;align-items:start}
.portfolio-app .calendar-panel{padding:0;overflow:hidden;background:white}
.portfolio-app .calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
.portfolio-app .calendar-grid .day-label{text-align:center;font-size:10px;color:#7f9074;padding:15px 3px;background:#fafcf7;border-bottom:1px solid #e4ebdc;font-weight:500}
.portfolio-app .calendar-day{position:relative;min-height:114px;background:#fff;border:0;border-right:1px solid #e8ede3;border-bottom:1px solid #e8ede3;border-radius:0;padding:36px 5px 7px;min-width:0}
.portfolio-app .calendar-day:nth-child(7n){border-right:0}
.portfolio-app .calendar-padding{background:#fafbf8;border-right:1px solid #e8ede3;border-bottom:1px solid #e8ede3}
.calendar-create{position:absolute;inset:0;width:100%;height:100%;background:transparent;border-radius:0;text-align:left;padding:10px;color:#526b46;display:flex;align-items:flex-start;justify-content:space-between;font-size:11px;font-weight:500;cursor:pointer}
.calendar-create:hover,.calendar-create:focus-visible{background:#eef5e7}.calendar-create:focus-visible{outline:2px solid #648751;outline-offset:-2px}
.calendar-create:disabled{cursor:default}.day-add{opacity:0;color:#486a3b;font-size:17px;line-height:1}.calendar-create:hover .day-add,.calendar-create:focus-visible .day-add{opacity:1}
.calendar-events{position:relative;pointer-events:none;display:flex;flex-direction:column;gap:4px}
.portfolio-app .booking-dot{pointer-events:auto;position:relative;width:100%;max-width:100%;padding:4px 5px;background:color-mix(in srgb,var(--booking-color) 10%,white);color:var(--booking-color);border:0;border-left:2px solid var(--booking-color);border-radius:3px;font-size:9px;font-weight:600;line-height:1.5;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0}
.booking-dot span{display:block;font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.booking-dot.private-use{border-left-style:dashed}
.portfolio-app .calendar-legend{display:flex;flex-wrap:wrap;gap:14px;padding:18px 20px;margin:0;color:#80916f;font-size:9px}
.calendar-legend span{display:flex;align-items:center;gap:6px}.calendar-legend i{height:6px;width:6px;border-radius:50%}.calendar-legend small{margin-left:auto;font-size:9px}
.portfolio-app .calendar-agenda{padding:23px 20px}.calendar-agenda .section-heading{margin-bottom:15px}.calendar-agenda h2{font-size:23px}
.agenda-item{display:flex;flex-direction:column;gap:6px;text-align:left;width:100%;background:transparent;border-top:1px solid #e7eddf;padding:19px 0 19px 12px;position:relative;cursor:pointer;color:#577148}
.agenda-item:before{content:'';position:absolute;top:24px;left:0;bottom:24px;width:2px;background:var(--booking-color);border-radius:3px}
.agenda-item:hover{background:#f7faf3}.agenda-property{font-size:9px;color:var(--booking-color);display:flex;align-items:center;justify-content:space-between;gap:8px}
.agenda-property small{font-size:8px;color:#829773}.agenda-item strong{font-size:12px;font-weight:600;line-height:1.5}.agenda-item>span:not(.agenda-property){font-size:9px}.agenda-item>small{font-size:9px;color:#94a486}.calendar-agenda .quiet-note{font-size:9px;line-height:1.8;margin:20px 0 0}
.agenda-empty{font-size:12px;line-height:1.8;color:#8c9e7b;padding:25px 0}
.reservation-use{border:0;padding:0;margin:20px 0 25px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.reservation-use legend{font-size:11px;color:#637b54;margin-bottom:12px}
.reservation-use label{display:flex;align-items:center;gap:9px;border:1px solid #dce5d5;border-radius:9px;padding:16px 12px;cursor:pointer;background:#fbfcf9}
.reservation-use label:has(input:checked){background:#eef5e6;border-color:#91ac7f}
.reservation-use input{width:15px;height:15px;accent-color:#345c40;margin:0;flex-shrink:0}.reservation-use .icon{width:20px;color:#708e60}.reservation-use strong{font-size:11px;display:block;font-weight:600}.reservation-use small{font-size:9px;display:block;margin-top:6px;color:#849975}
/* Alternate contacts */
.contact-role-options{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:0 0 24px}.contact-role-options>div{background:#f5f8f0;border:1px solid #e1e9d9;border-radius:8px;padding:18px}.contact-role-options strong{font-size:12px}.contact-role-options p{font-size:11px;line-height:1.8;color:#7b8e6c;margin:9px 0 0}.alternate-contacts{display:grid;grid-template-columns:1fr 1fr;gap:18px}.contact-card{margin:0}.contact-card h2{font-size:23px;margin:0 0 12px}.contact-card>p{font-size:11px;overflow-wrap:anywhere;color:#72866a;margin:7px 0}.contact-initial{width:36px;height:36px;background:#ecf2e5;color:#70865f;font:20px Jost;display:grid;place-items:center;border-radius:50%}.contact-notification{display:flex;gap:10px;font-size:10px;color:#647c54;line-height:1.8;padding:20px 0;margin-top:15px;border-top:1px solid #e6ecdf}.contact-notification .icon{width:16px;height:16px;flex-shrink:0;margin-top:2px}.contact-notification small{display:block;color:#869877;margin-top:5px;font-size:9px}.contact-card .inline-actions{gap:18px}.contact-card .inline-actions .text-button{font-size:10px}.contact-permission-note{padding:14px 16px;background:#f0f5e9;border-radius:8px;font-size:11px;line-height:1.8;color:#70885f;margin:20px 0}.contact-empty{grid-column:1/-1;font-size:12px;color:#90a07e;text-align:center;padding:35px;border:1px dashed #d6e0cb;border-radius:9px}.settings-layout{gap:24px;margin-top:24px;grid-template-columns:210px minmax(0,1fr)}.settings-tabs button{padding:13px 10px 16px;gap:6px;font-size:11px}.settings-tabs .icon{width:15px}
@media(min-width:1600px){.portfolio-app .workspace-topbar{padding-left:50px;padding-right:50px}.portfolio-app main{padding:32px 50px}.portfolio-app .calendar-layout{grid-template-columns:minmax(0,1fr) 310px}.portfolio-app .calendar-day{min-height:135px}}
@media(max-width:1200px){.portfolio-app .sidebar{width:222px;padding-left:12px;padding-right:12px}.portfolio-app main{padding:26px}.portfolio-app .workspace-topbar{padding:16px 26px}.portfolio-app .calendar-layout{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.portfolio-app .calendar-day{min-height:100px;padding-left:3px;padding-right:3px}.portfolio-app .calendar-agenda{padding:20px 16px}.settings-layout{grid-template-columns:1fr}.settings-summary{display:none}.settings-tabs button{font-size:12px}}
@media(max-width:1000px){.portfolio-app .calendar-layout{grid-template-columns:1fr}.calendar-agenda{display:block}.calendar-agenda .agenda-item{max-width:100%}.portfolio-app .calendar-day{min-height:110px}.property-group-heading{flex-wrap:wrap}.property-group-heading h2{flex-basis:70%}}
@media(max-width:760px){.portfolio-app .sidebar{display:none;position:fixed;top:0;bottom:0;left:0;width:260px;height:100dvh;padding:25px 14px 20px;z-index:40;box-shadow:20px 0 90px #18302650}.portfolio-app.navigation-open .sidebar{display:flex}.portfolio-app .brand{display:block;padding:0 14px 28px}.portfolio-app .brand>span{display:block;margin-top:13px}.portfolio-app #navigation{overflow-y:auto;min-height:0}.portfolio-app .nav-label{margin-left:11px}.portfolio-app .nav-item{font-size:12px;padding:10px 11px}.portfolio-app .sidebar-bottom{margin-top:auto;padding-top:12px}.portfolio-app .account-popover{top:auto;bottom:calc(100% + 12px);width:240px;max-height:60vh}.account-menu summary b{font-size:11px}.account-menu summary small{font-size:9px}.account-chevron{margin-left:auto}.portfolio-app .workspace-topbar{padding:12px 15px;min-height:76px;gap:12px}.mobile-menu-button{display:block;background:transparent;border:1px solid #dbe4d4;border-radius:7px;width:38px;height:38px;flex-shrink:0;color:#47623c;font-size:20px;margin-right:auto}.navigation-open .mobile-menu-button{position:fixed;left:272px;top:16px;z-index:50;background:#fff;box-shadow:0 0 0 100vmax #18302622}.property-selector{min-width:0;flex:1;max-width:calc(100% - 50px)}.property-selector summary{min-height:45px;gap:8px}.property-selector summary>img{width:34px;height:34px}.property-selector summary>.icon{width:20px;height:20px;margin:0 4px}.property-selector summary small{font-size:7px}.property-selector summary strong{font-size:10px;max-width:100%}.selector-chevron{margin-left:4px}.property-selector-panel{width:355px;right:0}.portfolio-app main{padding:23px 15px}.portfolio-app .footer{padding:20px 15px}.portfolio-app #main>.heading-row{gap:12px;margin-bottom:20px}.portfolio-app #main>.heading-row p{font-size:11px}.portfolio-app #main>.heading-row h1{font-size:28px}.calendar-toolbar{gap:10px;margin-bottom:18px}.calendar-month-control{gap:0}.portfolio-app .calendar-month-control input{font-size:16px;width:146px;padding:5px}.month-step{height:28px;width:24px;font-size:20px}.calendar-toolbar .btn{font-size:9px;padding:10px;gap:6px}.calendar-toolbar .btn .icon{height:14px;width:14px}.portfolio-app .calendar-grid .day-label{font-size:9px;padding:12px 0}.portfolio-app .calendar-day{min-height:95px;padding:28px 2px 5px}.calendar-create{padding:8px 5px;font-size:10px}.day-add{display:none}.portfolio-app .booking-dot{padding:3px 2px;font-size:8px}.booking-dot span{display:none}.portfolio-app .calendar-legend{padding:14px 10px;gap:10px;font-size:8px}.calendar-legend small{width:100%;margin:0;font-size:9px}.portfolio-app .calendar-agenda{padding:22px}.property-group-heading h2{font-size:19px}.reservation-use{gap:8px}.reservation-use label{padding:13px 9px;gap:7px}.reservation-use .icon{display:none}.reservation-use strong{font-size:10px}.reservation-use small{font-size:8px}.contact-role-options,.alternate-contacts{grid-template-columns:1fr}.settings-tabs button{font-size:10px}.settings-layout{margin-top:17px}.contact-card h2{font-size:23px}.contact-card>p{font-size:12px}.workspace-account-label{font-size:10px}}

.calendar-month-label{position:relative;display:flex;align-items:center;gap:13px;padding:5px 12px;cursor:pointer;min-width:185px}.calendar-month-label>span{font:500 20px Jost,Arial,sans-serif;text-transform:capitalize;color:#345433}.calendar-month-label>.icon{width:18px;height:18px;color:#719063}.portfolio-app .calendar-month-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.calendar-month-label:focus-within{outline:2px solid #729760;border-radius:5px}@media(max-width:760px){.calendar-month-label{min-width:145px;gap:6px;padding:5px 8px}.calendar-month-label>span{font-size:16px}.calendar-month-label>.icon{width:14px;height:14px}}

@media(min-width:761px){.portfolio-app .workspace-topbar:has(.workspace-account-label){display:none}}
@media(max-width:760px){.settings-tabs{display:grid;grid-template-columns:1fr 1fr;overflow:visible;gap:0 10px}.settings-tabs button{font-size:11px;white-space:normal;padding:13px 6px;min-height:43px;justify-content:flex-start}.settings-tabs button[aria-pressed=true]{background:#edf3e6;border-radius:6px 6px 0 0}.workspace-topbar:has(.workspace-account-label){min-height:64px}}
.calendar-month-label>span{text-transform:none}.calendar-month-label>span::first-letter{text-transform:uppercase}

/* Navigation follows the owner's goals, with details inside each section. */
.portfolio-app .nav-section{margin:4px 0}
.portfolio-app .nav-section>summary{display:flex;cursor:pointer;list-style:none;user-select:none}
.nav-section>summary::-webkit-details-marker{display:none}
.nav-chevron{margin-left:auto;font-size:15px;transition:transform .15s}
.nav-section[open] .nav-chevron{transform:rotate(180deg)}
.portfolio-app .nav-section.current-section>summary{color:#f4f8f0;font-weight:600}
.portfolio-app .nav-subitems{margin:4px 0 11px 19px;padding:1px 0 1px 11px;border-left:1px solid #6f907855}
.portfolio-app .nav-subitems .nav-item{font-size:11px;padding:8px 10px;min-height:33px;line-height:1.4}
.nav-team{border-top:1px solid #6f907844;margin-top:22px;padding-top:18px}
.agenda-controls{display:flex;align-items:center;flex-wrap:wrap;gap:18px}
.agenda-view-switch{display:flex;align-items:center;border:1px solid #dce5d5;background:#edf2e9;border-radius:8px;padding:3px;gap:2px}
.agenda-view-switch a{font-size:11px;padding:8px 11px;border-radius:5px;color:#6a7e60;white-space:nowrap}
.agenda-view-switch a.active{color:#2d543a;background:#fff;box-shadow:0 1px 4px #19392e12;font-weight:600}
.agenda-view-switch a:hover{color:#2d543a;background:#ffffff99}
.objective-note{margin:0 0 20px;font-size:11px;color:#748368;line-height:1.8}
.objective-note a{color:#3d654a;text-decoration:underline;text-underline-offset:3px}
.portfolio-app main[data-page="timeline"]>.calendar-toolbar{margin-bottom:30px}
@media(max-width:1200px){.calendar-toolbar:has(.agenda-controls){flex-wrap:wrap}.agenda-controls{gap:12px}.calendar-toolbar:has(.agenda-controls) .calendar-actions{margin-left:auto}}
@media(max-width:760px){.agenda-controls{width:100%;justify-content:space-between;gap:14px}.agenda-view-switch{flex:1}.agenda-view-switch a{flex:1;text-align:center;font-size:11px}.agenda-controls .calendar-month-control{margin-left:auto}.portfolio-app .nav-subitems .nav-item{padding:10px;min-height:37px}}
@media(max-width:480px){.agenda-controls{gap:16px}.agenda-view-switch{flex-basis:100%}}

.service-grid>.empty:only-child{grid-column:1/-1}
@media(max-width:760px){.workspace-create-property{font-size:11px;padding:11px 14px;min-height:44px}}

/* Page actions and date controls share the shell with the property selector. */
.workspace-page-actions{display:flex;align-items:center;gap:10px;margin-right:auto;min-width:0}
.workspace-topbar>.overview-period+.workspace-page-actions{margin-right:0}
.workspace-page-actions .btn{font-size:11px;min-height:42px;padding:11px 14px;white-space:nowrap}
.workspace-page-actions .icon{width:16px;height:16px}
.workspace-property-action{position:relative}
.workspace-property-action>summary{list-style:none;cursor:pointer}
.workspace-property-action>summary::-webkit-details-marker{display:none}
.workspace-property-action>div{position:absolute;top:calc(100% + 8px);left:0;width:310px;max-width:calc(100vw - 30px);padding:10px;background:#fff;border:1px solid #dce5d8;border-radius:10px;box-shadow:0 10px 30px #19392e16;z-index:25}
.workspace-property-action>div>span{display:block}
.workspace-property-action .menu-label{padding:8px 10px;font-size:9px;color:#819078}
.workspace-property-action>div .btn{width:100%;text-align:left;justify-content:flex-start;white-space:normal;border:0;background:transparent;line-height:1.6}
.workspace-property-action>div .btn:hover{background:#edf3e9}
.record-property-code{font-weight:600;color:#456c50}
.condominium-layout .record-property-code{display:block;margin-bottom:10px}
.portfolio-app .workspace-topbar:has(.workspace-page-actions)>.property-selector{min-width:210px;max-width:340px}
@media(min-width:1051px){
 .portfolio-app .pms-stats{grid-template-columns:repeat(var(--columns),minmax(0,1fr))}
 .portfolio-app .pms-stats .stat{padding:22px 18px}
 .portfolio-app .pms-stats .stat-value{font-size:clamp(22px,2.2vw,32px)}
}
@media(min-width:761px) and (max-width:1050px){
 .portfolio-app .workspace-topbar:has(.workspace-page-actions){flex-wrap:wrap}
 .workspace-topbar:has(.workspace-page-actions)>.overview-period .calendar-month-label{padding:5px;gap:6px}
 .workspace-topbar:has(.workspace-page-actions)>.overview-period .calendar-month-label>span{font-size:16px}
 .workspace-topbar:has(.workspace-page-actions)>.overview-period .month-step{width:24px}
 .portfolio-app .workspace-topbar:has(.workspace-page-actions)>.property-selector{min-width:170px;flex:1;margin-left:auto}
 .workspace-topbar:has(.overview-period)>.workspace-page-actions{order:4;flex-basis:100%;margin:0}
 .workspace-topbar:not(:has(.overview-period))>.workspace-page-actions{flex-wrap:wrap}
}
@media(max-width:760px){
 .portfolio-app .workspace-topbar:has(.workspace-page-actions){flex-wrap:wrap}
 .workspace-topbar:has(.workspace-page-actions)>.mobile-menu-button{order:1}
 .workspace-topbar:has(.workspace-page-actions)>.overview-period{order:2}
 .portfolio-app .workspace-topbar:has(.workspace-page-actions)>.property-selector{order:3;min-width:0;max-width:none}
 .workspace-topbar>.workspace-page-actions{order:4;flex-basis:100%;margin:0;flex-wrap:wrap}
 .workspace-page-actions .btn{font-size:10px;min-height:40px;padding:10px 12px}
}
