body .page.mg-page{position:relative;isolation:isolate;max-width:1440px;margin:0 auto;padding:24px 32px 120px;color:#193e5b;min-height:calc(100dvh - 56px)}
.mg-page::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:#fff}.mg-back{display:inline-flex;font-size:13px;margin-bottom:14px;color:#49677d}.mg-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 34px;border-radius:30px;background:#ffffffed;border:1px solid #e3eaf0;box-shadow:0 10px 36px #193e5b08}.mg-heading h1{font-size:clamp(28px,3vw,40px);line-height:1.25;letter-spacing:-.6px;margin:8px 0}.mg-heading p,.mg-muted{color:#64778a;font-size:14px;line-height:1.7}.mg-heading .eyebrow{color:#52728d;font-size:11px}.mg-heading a{display:flex;align-items:center;gap:8px;text-decoration:none;white-space:nowrap}.mg-heading svg{width:18px;height:18px}
.mg-page .primary,.mg-page .secondary,.mg-dialog .primary,.mg-dialog .secondary{border-radius:999px;min-height:42px;font:inherit;font-size:14px;padding:10px 19px;display:inline-flex;align-items:center;justify-content:center;gap:6px}.mg-page .primary,.mg-dialog .primary{background:var(--blue,#2466a5);color:white;border:1px solid transparent}.mg-page .secondary,.mg-dialog .secondary{background:#fff;border:1px solid #d9e3eb;color:#284f6c}.mg-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:24px 0 18px}.mg-modes{display:flex;gap:5px;background:#e9eff4;border:1px solid #dfe7ee;padding:5px;border-radius:999px}.mg-modes button{border:0;background:none;border-radius:999px;padding:12px 24px;font:inherit;font-weight:600;color:#657b8e}.mg-modes .active{background:#fff;color:#244e76;box-shadow:0 3px 12px #173b5712}.mg-toolbar svg{width:16px;height:16px}.mg-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.mg-stats>button{font:inherit;text-align:start;cursor:pointer;min-width:0;transition:border-color .15s,box-shadow .15s;padding:21px 24px;border:1px solid #e0e8ee;border-radius:24px;background:#fff;display:flex;flex-direction:column;gap:5px}.mg-stats strong{font-size:36px;font-weight:600;color:#245b88;line-height:1.1}.mg-stats span{font-size:17px;font-weight:500;line-height:1.45;color:#5c7489}.mg-tabs{display:flex;gap:6px;overflow-x:auto;margin-top:26px;padding:5px 0 14px;border-bottom:1px solid #dfe7ed;scrollbar-width:thin}.mg-tabs button{border:0;background:none;border-radius:999px;padding:11px 20px;color:#577088;font:inherit;font-size:17px;white-space:nowrap}.mg-tabs .active{background:#e2edf8;color:#225780;font-weight:600}.mg-filter{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:22px 0}.mg-filter label{max-width:360px;width:100%;font-size:12px;color:#5f7789}.mg-page select,.mg-page input,.mg-dialog select,.mg-dialog input:not([type=checkbox]),.mg-dialog textarea{display:block;width:100%;max-width:100%;min-height:44px;background:#fff;border:1px solid #dce5ed;border-radius:14px;padding:10px 13px;color:#1d425f;font:inherit;box-sizing:border-box}.mg-page label,.mg-dialog label{display:block;font-size:13px;line-height:1.65;color:#49677d}.mg-dialog label>input,.mg-dialog label>select,.mg-dialog label>textarea,.mg-filter select{margin-top:5px}.mg-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0}.mg-section-head h2{font-size:25px;margin:0;color:#234963}.mg-section-head p{margin:6px 0 0;color:#718496;font-size:14px}.mg-overview{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mg-panel{border:1px solid #dfe7ed;background:#ffffffeb;border-radius:26px;padding:22px;min-width:0}.mg-panel>h3{font-size:21px;margin:0 0 20px}.mg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mg-card{padding:22px;border:1px solid #e0e8ee;border-radius:24px;background:#fff;min-width:0;overflow-wrap:anywhere}.mg-panel .mg-card{margin:12px 0}.mg-card h3{font-size:22px;margin:14px 0 7px}.mg-card p{font-size:14px;margin:8px 0;line-height:1.6}.mg-card small{font-size:11px;color:#688094}.mg-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.mg-badge{border-radius:999px;background:#eff3f6;color:#536c7f;padding:5px 10px;font-size:11px;white-space:nowrap;display:inline-block}.mg-badge.new,.mg-badge.inquiry{color:#28669b;background:#e9f3fc}.mg-badge.confirmed,.mg-badge.closed{color:#23765b;background:#e3f4ed}.mg-badge.hold,.mg-badge.negotiation{color:#87621c;background:#fbf0d9}.mg-badge.blocked,.mg-badge.cancelled{color:#6f7781;background:#e8ecf0}.mg-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.mg-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.mg-empty{padding:34px 18px;text-align:center;background:#f7f9fb;border:1px dashed #dce5eb;border-radius:20px;color:#6a8092;font-size:14px;line-height:1.8;grid-column:1/-1}.mg-task{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e9eef3}.mg-task:last-child{border:0}.mg-task>div{flex:1;min-width:0}.mg-task strong{font-size:14px;display:block;overflow-wrap:anywhere}.mg-task small{display:block;color:#6c8293;margin-top:6px;font-size:11px}.mg-task.done strong{text-decoration:line-through;color:#789}.mg-check{border:1px solid #c8d8e5;width:30px;height:30px;border-radius:50%;background:white;color:#2b699d;flex-shrink:0;font-size:19px}.mg-property{padding:0;overflow:hidden}.mg-property>img{width:100%;height:190px;object-fit:cover}.mg-property>div{padding:22px}.mg-search-label{max-width:430px;margin:0 0 22px}.mg-calendar-scroll{overflow:auto;border:1px solid #dde6ed;border-radius:22px;background:white;max-height:65dvh;scrollbar-width:thin}.mg-calendar{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.mg-calendar th,.mg-calendar td{padding:6px;border-inline-end:1px solid #edf1f5;border-bottom:1px solid #edf1f5;text-align:center;min-width:44px}.mg-calendar thead th{position:sticky;top:0;background:#f5f8fa;z-index:2}.mg-calendar th:first-child{position:sticky;inset-inline-start:0;min-width:160px;max-width:200px;background:#fff;z-index:3;text-align:start;padding:14px}.mg-calendar thead th:first-child{z-index:4;background:#f5f8fa}.mg-calendar small{display:block;color:#768b9b;font-size:9px;margin-top:4px}.mg-day{height:44px;min-width:36px;width:100%;border:0;border-radius:10px;background:#f8fafc;color:#91a4b2;font:inherit}.mg-day.confirmed{background:#dcefe7;color:#227158}.mg-day.hold{background:#faf0d5;color:#8d6b23}.mg-day.blocked{background:repeating-linear-gradient(135deg,#e5eaf0,#e5eaf0 5px,#eef1f5 5px,#eef1f5 10px);color:#7b8b99}.mg-legend{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:15px 0;font-size:12px;color:#678}.mg-dialog{border:1px solid #e0e8ef;border-radius:28px;padding:26px;background:#fcfdff;color:#193e5b;width:min(680px,calc(100vw - 28px));max-height:90dvh;overflow:auto;box-shadow:0 25px 90px #15334f33}.mg-dialog::backdrop{background:#13345166;backdrop-filter:blur(5px)}.mg-dialog header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.mg-dialog h2{font-size:23px;margin:0}.mg-dialog form>label{margin-top:16px}.mg-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mg-feedback{color:#a54939;font-size:13px;line-height:1.7}.mg-checkbox{display:flex!important;align-items:center;gap:10px}.mg-contact-summary{padding:14px;border-radius:16px;background:#edf4f9;grid-column:1/-1}.mg-whitespace{white-space:pre-wrap}.mg-chat{width:min(720px,calc(100vw - 28px))}.mg-messages{height:40dvh;min-height:180px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;background:#f2f6f9;border-radius:20px;padding:16px}.mg-message{max-width:88%;align-self:flex-start;background:white;border:1px solid #e1e8ef;border-radius:18px;padding:12px 16px;overflow-wrap:anywhere}.mg-message.mine{align-self:flex-end;background:#e1eefb;border-color:#d4e5f5}.mg-message strong{font-size:12px}.mg-message p{font-size:14px;white-space:pre-wrap;margin:6px 0}.mg-message time{font-size:10px;color:#6a8396}.mg-chat form textarea{resize:vertical}.mg-page button:focus-visible,.mg-dialog button:focus-visible,.mg-page a:focus-visible{outline:3px solid #79a5d2;outline-offset:3px}.mg-page button:disabled,.mg-dialog button:disabled{opacity:.5;cursor:wait}
@media(max-width:1000px){.mg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-overview{grid-template-columns:1fr}.mg-heading{padding:24px}}
@media(max-width:760px){body .page.mg-page{padding:16px 14px 120px}.mg-heading{padding:22px 18px;border-radius:24px;align-items:start}.mg-heading p{font-size:12px}.mg-heading>a{font-size:11px;padding:9px 12px;min-height:38px}.mg-heading h1{font-size:32px}.mg-heading .eyebrow{font-size:9px}.mg-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mg-stats>button{padding:18px;border-radius:21px}.mg-stats strong{font-size:32px}.mg-stats span{font-size:16px}.mg-toolbar{flex-wrap:wrap}.mg-modes{width:100%}.mg-modes button{flex:1;padding:12px 8px;font-size:13px}.mg-toolbar>[data-refresh]{margin-inline-start:auto;font-size:12px;min-height:32px;padding:6px 12px}.mg-tabs{margin-top:19px}.mg-tabs button{padding:12px 17px;font-size:16px;min-height:46px}.mg-filter{flex-wrap:wrap}.mg-grid{grid-template-columns:1fr}.mg-section-head{align-items:start}.mg-section-head h2{font-size:23px}.mg-section-head .primary{font-size:12px;padding:9px 13px}.mg-panel{padding:17px}.mg-dialog{padding:20px 17px;border-radius:24px}.mg-form-grid{grid-template-columns:1fr}.mg-dialog h2{font-size:21px}.mg-calendar th:first-child{min-width:110px;max-width:125px;font-size:11px;overflow-wrap:anywhere}.mg-task .secondary{font-size:11px;padding:7px 12px;min-height:34px}.mg-heading .primary svg{display:none}.mg-section-head .mg-actions{margin:0}.mg-section-head:has([data-month]){flex-wrap:wrap}}

.account-management-entry{display:flex;align-items:center;gap:14px;width:100%;padding:18px 22px;border:1px solid #dbe5ee;border-radius:24px;background:#fff;color:#244e71;text-align:start;margin:0 0 18px;font:inherit}.account-management-entry>span:nth-child(2){flex:1}.account-management-entry strong{display:block;font-size:17px}.account-management-entry small{display:block;color:#6a8194;font-size:12px;margin-top:4px}.account-management-entry svg{width:22px;height:22px}

@media(hover:hover){.mg-stats>button:hover{border-color:#91b5d4;box-shadow:0 5px 18px #193e5b0d}}
.mg-stats>button:active{background:#f3f8fc}.mg-tabs{overflow-anchor:none}

.office-workspace{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:26px;border:1px solid #d8e6eb;border-radius:24px;background:linear-gradient(120deg,#f0f7fa,#fff);margin-bottom:24px}.office-workspace>div{max-width:780px;flex:1}.office-workspace label{display:grid;gap:8px;font-size:16px;color:#526d7a;margin-top:10px}.office-workspace select{max-width:500px;background:#fff;border:1px solid #ccdde5;border-radius:14px;padding:12px 16px;font:inherit;font-size:20px;font-weight:650;color:#245c7d;width:100%}.office-workspace p,.office-invitations p{font-size:15px;line-height:1.7;color:#5a727f;margin:12px 0 0}.office-invitations{border:1px solid #cedfe8;background:#f5faff;border-radius:20px;padding:24px;margin-bottom:24px}.office-invitations article,.office-invite-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e1e9ed}.office-invite-row small{display:block;margin-top:6px;color:#5a727f}.office-avatar{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#e1edf5;color:#245c7d;font-size:24px;font-weight:700;margin-inline-end:12px}.office-member h3{margin-top:18px}.office-queue{margin:24px 0}.office-event{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid #e5ecef}.office-event:last-child{border-bottom:0}.office-event-dot{flex:0 0 10px;height:10px;background:#34799c;border-radius:50%;margin-top:7px}.office-event p{margin:7px 0;color:#587180}.office-event time{font-size:13px;color:#687f8b}.office-transfer-note{padding:18px;background:#f1f7fa;border-radius:16px;line-height:1.7}.office-transfer-note p{font-size:15px}.office-owner-label{font-size:14px!important;color:#275e7c!important;background:#eef5f8;border-radius:10px;padding:7px 10px;display:inline-block}.mg-page .mg-stats span{font-size:clamp(16px,1.35vw,20px)}@media(max-width:640px){.office-workspace{padding:20px;flex-direction:column;gap:16px}.office-workspace>div{width:100%}.office-workspace select{font-size:19px}.office-invitations{padding:18px}.office-invitations article{align-items:flex-start;flex-direction:column}.office-workspace>button{align-self:flex-start}.office-member .secondary{width:100%}}

/* Reuse the former professionals photograph behind the management workspace. */
body .mg-page::before{inset:-18px;background:linear-gradient(#ffffff96,#ffffffb8),var(--professionals-background) center/cover no-repeat;filter:blur(8px)}
body .mg-page .mg-tabs{background:#fffffff0;border-radius:22px;padding:10px;scroll-margin-top:100px}
body .management-site-nav button{min-width:0}
body .management-site-nav button span{white-space:normal;line-height:1.2;text-align:center}
body .management-site-nav button.active{color:#125bea;background:#edf4ff;border-radius:999px}
@media(max-width:760px){body .management-site-nav button span{font-size:11px}body .management-site-nav{gap:2px}}
body.service-page-mode #app .management-site-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
body.modal-open #app .management-site-nav{display:none}
