.live-staff-content.is-staff-dashboard{max-width:none;width:100%;padding-left:24px;padding-right:24px}.live-staff-content.is-staff-dashboard>.live-staff-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.staff-dashboard-shortcuts{margin:20px 0;min-width:0}.staff-dashboard-shortcuts-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.staff-dashboard-shortcuts h2{font-size:18px;margin:0}.staff-dashboard-shortcuts [role=status]{font-size:12px;color:#6f591a}.staff-dashboard-shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.staff-dashboard-shortcut{padding:16px;display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-width:0}.staff-dashboard-shortcut h3{font-size:16px;margin:5px 0;overflow-wrap:anywhere}.staff-dashboard-shortcut small{color:#79621d}.staff-dashboard-shortcut-actions{display:flex;gap:8px;flex-wrap:wrap}.staff-dashboard-shortcut a{text-decoration:none}.staff-dashboard-settings{grid-column:1/-1;min-width:0}.staff-dashboard-choice-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px}.staff-dashboard-choice-groups fieldset{border:1px solid #ded3ae;border-radius:6px;min-width:0;padding:12px}.staff-dashboard-choice-groups legend{font-weight:700;padding:0 5px}.staff-dashboard-choice{display:flex;gap:10px;padding:9px 0;align-items:flex-start;cursor:pointer;font-size:13px;min-width:0}.staff-dashboard-choice input{margin:3px 0 0;flex:0 0 auto;accent-color:#79621d}.staff-dashboard-choice span{min-width:0;overflow-wrap:anywhere}.staff-dashboard-choice small{display:block;color:#6d685b;font-size:11px;margin-top:3px}.staff-dashboard-save{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}.staff-dashboard-settings [role=status]{font-size:12px;line-height:1.6}.live-staff-content.is-staff-dashboard .live-staff-card-body{overflow-wrap:anywhere}@media(max-width:1100px){.live-staff-content.is-staff-dashboard>.live-staff-grid,.staff-dashboard-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.live-staff-content.is-staff-dashboard{padding-left:12px;padding-right:12px}.live-staff-content.is-staff-dashboard>.live-staff-grid,.staff-dashboard-shortcut-grid{grid-template-columns:1fr}.staff-dashboard-choice-groups{grid-template-columns:1fr}.staff-dashboard-shortcuts-heading{align-items:flex-start}}
@media(max-width:800px){.live-staff-content.is-staff-dashboard>.live-staff-grid,.staff-dashboard-shortcut-grid{grid-template-columns:1fr}}
.live-staff-content.is-staff-dashboard>.live-staff-grid{align-items:start}.live-staff-content.is-staff-dashboard .live-portal-item>span:first-child{min-width:0;flex:1}.live-staff-content.is-staff-dashboard .live-portal-item>span:last-child{flex:0 0 auto;max-width:40%;overflow-wrap:normal}


:root{--a2z-dashboard-gap:16px}
.live-portal-grid,.owner-portal .owner-announcements-row,.owner-portal .owner-overview-row,.owner-financial-tools{gap:var(--a2z-dashboard-gap)}
.live-staff-content.is-staff-dashboard>.live-staff-grid,.staff-dashboard-fixed-row,.staff-dashboard-account-row{display:flex;flex-wrap:wrap;gap:var(--a2z-dashboard-gap);align-items:stretch;min-width:0}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card,.staff-dashboard-fixed-row>.live-staff-card{flex:1 1 calc((100% - 2*var(--a2z-dashboard-gap))/3);min-width:0;max-width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-self:stretch;margin:0;grid-column:auto}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.staff-dashboard-fixed-row,.live-staff-content.is-staff-dashboard>.live-staff-grid>.staff-dashboard-account-row{flex:1 1 100%;width:100%;max-width:100%;margin:0;padding:0;border:0}
.live-staff-content.is-staff-dashboard .live-staff-card-head{box-sizing:border-box;padding:16px;min-height:80px;display:flex;align-items:flex-start;flex:0 0 auto}
.live-staff-content.is-staff-dashboard .live-staff-card-head h2,.live-staff-content.is-staff-dashboard .live-staff-card-head h3{font-size:18px;line-height:1.3;margin:0;overflow-wrap:anywhere}
.live-staff-content.is-staff-dashboard .live-staff-card-body{box-sizing:border-box;padding:16px;min-width:0;flex:1;overflow:auto}
.staff-dashboard-fixed-row>.live-staff-card{height:400px}
.staff-dashboard-shortcut{padding:0;gap:0;justify-content:flex-start}
.staff-dashboard-shortcut>.live-staff-card-body{display:flex;flex-direction:column;gap:16px;min-height:112px}
.staff-dashboard-shortcut-actions{margin-top:auto}
.staff-dashboard-account-row>.live-staff-card{flex:1 1 calc((100% - var(--a2z-dashboard-gap))/2);min-width:0;max-width:100%;box-sizing:border-box;display:flex;flex-direction:column;height:320px;margin:0;align-self:stretch}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size]{min-height:220px}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size=standard]{flex-basis:calc((100% - 2*var(--a2z-dashboard-gap))*2/3 + var(--a2z-dashboard-gap))}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size=wide]{flex-basis:100%}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card>.live-staff-card-body{max-height:320px}
.staff-dashboard-core-links{padding:0 16px 12px;display:flex;flex-wrap:wrap;gap:8px}
.staff-dashboard-shortcuts{margin:16px 0}.live-staff-content.is-staff-dashboard>[data-vacancy-review-notice]{margin-bottom:var(--a2z-dashboard-gap)}
.staff-dashboard-placement{list-style:none;padding:0;display:grid;gap:12px}.staff-dashboard-placement li{border:1px solid #ded3ae;border-radius:6px;padding:12px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.staff-dashboard-placement li>span{font-weight:700;overflow-wrap:anywhere}.staff-dashboard-placement li>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.staff-dashboard-placement label{display:flex;align-items:center;gap:8px}.staff-dashboard-placement select{padding:8px;border:1px solid #aaa;border-radius:5px;font:inherit}
@media(max-width:1100px){.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card,.staff-dashboard-fixed-row>.live-staff-card{flex-basis:calc((100% - var(--a2z-dashboard-gap))/2)}.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size=wide],.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size=standard]{flex-basis:100%}}
@media(max-width:800px){.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card,.staff-dashboard-fixed-row>.live-staff-card,.staff-dashboard-account-row>.live-staff-card{flex-basis:100%}}

.live-staff-content.is-staff-dashboard #staff-access .live-portal-item{display:grid;gap:8px;align-items:start}.live-staff-content.is-staff-dashboard #staff-access .live-portal-item>span:last-child{display:flex;gap:6px;flex-wrap:wrap;max-width:100%;min-width:0}.live-staff-content.is-staff-dashboard #staff-access select{min-width:0;max-width:100%}
.live-staff-nav-sub a[data-staff-page]{font-size:11px;padding:8px 10px;color:inherit}.live-staff-nav a[data-staff-page]{text-decoration:none}
.live-staff-nav>a[data-staff-page]{display:flex;align-items:center;gap:6px}


/* Exact desktop fractions for every configurable card. No last-row stretching. */
.live-staff-content.is-staff-dashboard>.live-staff-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--a2z-dashboard-gap);align-items:stretch}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.staff-dashboard-fixed-row{grid-column:1/-1}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size=compact]{grid-column:span 4}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size=standard]{grid-column:span 6}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size=wide]{grid-column:1/-1}
.live-staff-content.is-staff-dashboard #staff-banking,.live-staff-content.is-staff-dashboard #staff-access{min-width:0;max-width:100%}
@media(max-width:1100px){.live-staff-content.is-staff-dashboard>.live-staff-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size=compact]{grid-column:span 3}.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size=standard],.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size=wide]{grid-column:1/-1}}
@media(max-width:800px){.live-staff-content.is-staff-dashboard>.live-staff-grid{grid-template-columns:minmax(0,1fr)}.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-card-size]{grid-column:1/-1}}

/* Thirty local civil dates, without adjacent-month padding. */
.dashboard-mini-calendar{min-width:0;overflow-wrap:anywhere}
.dashboard-calendar-toolbar{display:flex;gap:8px;justify-content:space-between}
.dashboard-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.dashboard-calendar-days button{min-width:0;min-height:46px;padding:3px 0;display:flex;flex-direction:column;align-items:center;border:1px solid #d3c8ae;border-radius:6px;background:transparent;color:inherit;cursor:pointer}
.dashboard-calendar-days button small{font-size:9px}
.dashboard-calendar-days button[aria-pressed="true"]{background:#e9dbb8;outline:2px solid #76591d}
.dashboard-mini-calendar button:focus-visible{outline:3px solid #82632b;outline-offset:2px}
.dashboard-mini-calendar article{padding:8px 0;border-bottom:1px solid #ddd3bc}
.dashboard-mini-calendar article small{display:block}
.dashboard-mini-calendar h4{margin:14px 0 8px}
.dashboard-mini-calendar input,.dashboard-mini-calendar textarea{min-width:0;max-width:100%;box-sizing:border-box}

.dashboard-recent-message{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid #d3c8ae;color:inherit;text-decoration:none;overflow-wrap:anywhere}
.dashboard-recent-message:focus-visible{outline:3px solid #82632b;outline-offset:2px}
.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-shortcut="staff-calendar"]>.live-staff-card-body,.live-staff-content.is-staff-dashboard>.live-staff-grid>.live-staff-card[data-dashboard-shortcut="text-messages"]>.live-staff-card-body{max-height:none}
.dashboard-mini-calendar [data-cal-preview]>article{max-height:160px;overflow:auto}

/* Match the original compact role/status controls; retain content-sized widths. */
.live-staff-content.is-staff-dashboard #staff-access .live-portal-item>span:last-child button{width:auto;min-height:44px;padding:5px 8px;font-size:11px;line-height:normal;white-space:normal}

/* Use the full existing card body for the connected-account list. */
.live-staff-content.is-staff-dashboard>.live-staff-grid>#staff-banking>.live-staff-card-body,.live-staff-content.is-staff-dashboard>.live-staff-grid>#staff-access>.live-staff-card-body{max-height:none;min-height:220px;contain:size;overflow:auto}


/* Keep portal preview and Save adjacent in both visual and keyboard order. */
#staff-access .staff-account-portal-actions{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%}
#staff-access .staff-account-portal-actions:empty{display:none}


/* Native heading/card links; separate body links retain native scrolling and menus. */
.dashboard-navigable-card{position:relative;isolation:isolate}
.dashboard-card-title-link{color:inherit;text-decoration:none}
.dashboard-card-title-link::after{content:"";position:absolute;inset:0;z-index:1;cursor:pointer;border-radius:5px}
.dashboard-card-title-link:focus-visible{outline:none}
.dashboard-card-title-link:focus-visible::after{outline:3px solid #82632b;outline-offset:-3px}
.dashboard-card-title-link:hover{text-decoration:underline}
.dashboard-navigable-card>.live-staff-card-body{position:relative;z-index:2;isolation:isolate}
.dashboard-card-body-link{display:block;position:absolute;inset:0 0 auto;min-height:100%;z-index:0;cursor:pointer}
.dashboard-navigable-card>.live-staff-card-body :is(a:not(.dashboard-card-body-link),button,input,select,textarea,label,summary,form,[contenteditable="true"],[role="button"]){position:relative;z-index:1}
