/* Approved unified1230px shell/content geometry,2026-10-23. Single token source. */
:root{--shell-max:1230px;--shell-pad:20px;--content-max:var(--shell-max);--content-pad:var(--shell-pad)}
@media(max-width:768px){:root{--shell-pad:12px}}
.ldm-content{box-sizing:border-box!important;width:100%!important;max-width:var(--content-max)!important;min-width:0;margin-left:auto!important;margin-right:auto!important;padding-left:var(--content-pad)!important;padding-right:var(--content-pad)!important}
.ldm-content .table-wrap,.ldm-content .table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ldm-content .table-wrap>table,.ldm-content .table-scroll>table{min-width:640px}
/* Full-width website sections use the page width; cards and sidebar widths remain their own. */
#page.ldm-content>.site-content{width:100%;max-width:none}
#page.ldm-content .uagb-section__inner-wrap,#page.ldm-content .uagb-columns__inner-wrap{max-width:100%!important}

.ldm-content{font-size:15px;line-height:1.6}
.ldm-content p,.ldm-content label,.ldm-content input,.ldm-content select,.ldm-content td,.ldm-content th{font-size:15px}
.staff-card p,.staff-footer strong,.login-card .lead{font-size:15px}
.staff-card h2{font-size:20px;font-weight:400}

/* Business screens retain the brand body font; condensed display type is marketing-only. */
.ldm-content:not(#page),.ldm-content:not(#page) button,.ldm-content:not(#page) input,.ldm-content:not(#page) select{font-family:canada-type-gibson,"Noto Sans SC","Noto Sans Thai",Arial,sans-serif}
.ldm-content:not(#page) h1{font-family:inherit;font-size:34px;font-weight:400;line-height:1.25;letter-spacing:0;text-transform:none}
.ldm-content:not(#page) h2{font-family:inherit;font-size:20px;font-weight:400;line-height:1.3;letter-spacing:0;text-transform:none}
.ldm-content:not(#page) h3{font-family:inherit;font-size:18px;font-weight:400;line-height:1.4;letter-spacing:0;text-transform:none}
.ldm-content:not(#page) button{font-size:15px}
html[lang^="zh"] .ldm-content:not(#page){font-family:"canada-type-gibson","Noto Sans SC",sans-serif}
html[lang="th"] .ldm-content:not(#page){font-family:"canada-type-gibson","Noto Sans Thai",sans-serif}

#page.ldm-content article.post .entry-content{max-width:760px;margin-left:auto;margin-right:auto}

/* Portal return controls: shared across staff and landlord, 24 Oct 2026. */
html body .ldm-back{box-sizing:border-box!important;display:inline-flex;align-items:center!important;justify-content:center!important;gap:8px!important;width:fit-content!important;max-width:100%!important;min-height:40px!important;padding:8px 16px!important;border:1px solid #c6ad92!important;border-radius:999px!important;background:#fff!important;color:#00263f!important;font-family:canada-type-gibson,"Noto Sans SC","Noto Sans Thai",Arial,sans-serif!important;font-size:15px!important;font-weight:400!important;line-height:22px!important;letter-spacing:normal!important;text-transform:none!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer;vertical-align:middle;flex:none}
html body .ldm-back:before,.staff-footer .staff-enter:after{content:"";display:block;width:18px;height:18px;flex:0 0 18px;background-color:currentColor;-webkit-mask:url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h13M13 7l5 5-5 5%22/%3E%3C/svg%3E') center/contain no-repeat;mask:url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h13M13 7l5 5-5 5%22/%3E%3C/svg%3E') center/contain no-repeat;transition:opacity .16s ease;opacity:.82}
html body .ldm-back:before{transform:rotate(180deg)}
html body .staff-footer .staff-enter{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
@media(hover:hover){.staff-card:hover .staff-enter:after{opacity:1}html body .ldm-back:hover:before{opacity:1}}
@media(prefers-reduced-motion:reduce){html body .ldm-back:before,.staff-footer .staff-enter:after{transition:none}}
html body .ldm-back:hover{background:#f5ece3!important;border-color:#93734e!important}
html body .ldm-back:focus-visible{outline:2px solid #93734e;outline-offset:3px}
html body .ldm-back span{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
.ldm-back-row{margin:0 0 20px;text-align:left}.ldm-back-row:not(:has(.ldm-back:not([style*="display:none"]):not([style*="display: none"]))){display:none}
html body a.staff-back.ldm-back,html body a.director-back.ldm-back{margin:0 0 20px!important}
html body .todo-top{margin-bottom:20px}
html body .group-head .ldm-back{margin:0!important}
