@import url("/cloud65/brand.css");
@import url("/cloud65/assistant-drawer.css");
body.mz-unified{font-family:var(--mz-font);margin:0;background:var(--mz-canvas);color:var(--mz-ink)}
.mz-global-header{position:sticky;top:0;z-index:20;min-height:64px;display:flex;align-items:center;gap:12px;padding:8px 24px;background:#fff;border-bottom:1px solid var(--mz-border);box-shadow:0 2px 12px #493a3010;box-sizing:border-box}
.mz-global-brand{text-decoration:none;color:var(--mz-ink);font-size:21px;font-weight:700;white-space:nowrap}
.mz-global-badge{padding:4px 9px;border-radius:4px;background:#fff1cd;color:#795117;font-size:12px;white-space:nowrap}
.mz-global-account{min-width:0;max-width:36vw;color:var(--mz-muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mz-global-version{margin-left:auto;min-width:0;color:#8b7d70;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mz-global-logout{background:#f4f0eb!important;color:#4c3e32!important;border:1px solid var(--mz-border)!important;border-radius:7px!important;padding:7px 11px!important;white-space:nowrap;font-size:13px!important}
.mz-unified-layout{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:calc(100vh - 64px)}
.mz-global-nav{background:var(--mz-sidebar);border-right:1px solid var(--mz-border);padding:20px 12px;display:flex;flex-direction:column;gap:4px}
.mz-global-nav a,.mz-global-nav span{display:block;text-decoration:none;color:var(--mz-muted);font-size:14px;border-radius:8px;padding:11px 13px;line-height:1.35}
.mz-global-nav a:hover{background:var(--mz-orange-soft)}
.mz-global-nav a[aria-current=page]{background:var(--mz-selected);color:var(--mz-orange-text);font-weight:700;box-shadow:inset 3px 0 var(--mz-orange)}
.mz-global-nav .mz-nav-locked{color:#938b86;cursor:default}
.mz-global-nav .mz-nav-pending{color:#756e68}
.mz-global-nav a[aria-disabled=true]{cursor:default}
.mz-common-nav[hidden]{display:none!important}
.mz-module-loading{display:grid;gap:20px;min-height:350px;padding:24px 0}
.mz-module-loading span{display:block;border:1px solid var(--mz-border);border-radius:12px;background:linear-gradient(100deg,#fff 25%,#f1f0ec 50%,#fff 75%);background-size:200% 100%;animation:mz-loading 1.6s linear infinite}
.mz-module-loading span:first-child{height:54px;width:45%}
.mz-module-loading span:nth-child(2){height:100px}
.mz-module-loading span:last-child{height:180px}
.mz-module-failure{margin:24px 0;padding:24px;border:1px solid var(--mz-border);border-radius:12px;background:#fff}
.mz-module-failure button,.mz-leave-dialog button{padding:9px 15px;border:1px solid var(--mz-border);border-radius:7px;background:#fff;color:var(--mz-ink);cursor:pointer}
.mz-leave-dialog{max-width:480px;border:1px solid var(--mz-border);border-radius:12px;padding:24px;color:var(--mz-ink)}
.mz-leave-dialog::backdrop{background:#0006}
.mz-leave-dialog h2{font-size:19px;margin:0 0 14px}
.mz-leave-dialog p{font-size:14px;line-height:1.6}
.mz-leave-dialog>div{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:24px}
@keyframes mz-loading{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.mz-module-loading span{animation:none}}
.mz-global-nav a:focus-visible,.mz-local-nav a:focus-visible,.mz-global-logout:focus-visible{outline:3px solid var(--mz-focus);outline-offset:2px}
.mz-global-nav{align-items:stretch;justify-content:flex-start;margin-top:0}
.mz-common-nav{margin-top:18px;padding-top:14px;border-top:1px solid var(--mz-border)}
.mz-page-host{min-width:0;overflow-x:auto}
.mz-page-host > [hidden]{display:none!important}
.mz-assistant-route-note{margin:24px 26px;padding:18px 20px;border:1px solid var(--mz-border);border-radius:10px;background:#fff;color:var(--mz-muted)}
.mz-page-analytics main,.mz-page-assistant main{width:100%}
.mz-local-nav{display:flex;gap:7px;padding:17px 25px 0}
.mz-local-nav a{display:inline-block;text-decoration:none;color:var(--mz-muted);border:1px solid var(--mz-border);border-radius:7px;padding:8px 14px;background:#fff}
.mz-local-nav a[aria-current=page]{background:var(--mz-orange-text);color:#fff;border-color:var(--mz-orange-text)}
.mz-local-nav a[hidden]{display:none}
.mz-page-sales #sales-workspace{display:block;min-height:0}
.mz-page-sales .sidebar{display:flex;align-items:center;gap:12px;flex-direction:row;padding:12px 24px;background:transparent;border:0;border-bottom:1px solid var(--mz-border)}
.mz-page-sales .sidebar .brand,.mz-page-sales .sidebar .sidebar-foot{display:none}
.mz-page-sales .sidebar .side-title{margin:0;padding:0;white-space:nowrap}
.mz-page-sales .sidebar nav{display:flex;flex-wrap:wrap;gap:5px}
.mz-page-sales .sidebar nav button{white-space:nowrap}
.mz-page-sales .main{padding:24px 26px 48px}
.mz-page-sales .test-banner{display:none}
.mz-page-sales .topbar .eyebrow,.mz-page-sales .topbar p{display:none}
.mz-page-sales .topbar h1{margin:0;font-size:25px}
.mz-page-diagnosis main{width:100%;padding:24px 26px 48px}
.mz-page-diagnosis main h1{font-size:25px;letter-spacing:normal}
.mz-page-diagnosis main .eyebrow{display:none}
.mz-page-review .business43-home-header>button{display:none}
.mz-page-students #student93,.mz-page-timetable #timetable94{width:100%;max-width:none;box-sizing:border-box}
.mz-page-students .mz-page-host,.mz-page-timetable .mz-page-host{padding:24px 26px 48px}
@media(max-width:900px){.mz-unified-layout{grid-template-columns:1fr;grid-template-rows:max-content minmax(0,1fr)}.mz-global-nav{border-right:0;border-bottom:1px solid var(--mz-border);flex-direction:row;align-items:center;overflow-x:auto;padding:8px 10px}.mz-global-nav a,.mz-global-nav span{white-space:nowrap;flex:0 0 auto}.mz-common-nav{display:flex;align-items:center;gap:4px;margin:0;padding:0;border:0}.mz-page-sales .sidebar{flex-wrap:wrap}.mz-page-sales .main{padding:18px}.mz-local-nav{padding:12px 14px 0;overflow-x:auto}}
@media(max-width:600px){.mz-global-header{padding:8px 12px;gap:7px;flex-wrap:wrap}.mz-global-brand{font-size:17px}.mz-global-version{display:none}.mz-global-account{max-width:calc(100vw - 165px);order:5;flex-basis:100%}.mz-global-logout{margin-left:auto}.mz-page-sales .sidebar{padding:10px 14px}.mz-page-sales .sidebar .side-title{display:none}.mz-page-sales .main{padding:16px 14px}.mz-page-diagnosis main{padding:18px 14px 40px}.mz-page-students .mz-page-host,.mz-page-timetable .mz-page-host{padding:12px 14px 32px}}

/* R5: a single outer shell owns geometry; module roots keep only internal spacing. */
body.mz-unified{--mz-shell-header:76px;--mz-shell-sidebar:218px;--mz-shell-main-top:32px;--mz-shell-main-x:30px;--mz-shell-main-bottom:40px;--mz-shell-scroll-margin:92px;--mz-shell-ink:#25354b;--mz-shell-muted:#8390a5;--mz-shell-line:#e5eaf2;--mz-shell-canvas:#f5f7fa;--mz-shell-sidebar-bg:#fcfaf8;font:14px/1.6 "PingFang SC","Microsoft YaHei",sans-serif;background:var(--mz-shell-canvas);color:var(--mz-shell-ink)}
body.mz-unified .mz-global-header{height:var(--mz-shell-header);min-height:0;padding:0 27px;gap:12px;flex-wrap:nowrap;border-bottom:1px solid var(--mz-shell-line);box-shadow:none;background:#fff}
body.mz-unified .mz-global-brand{display:inline-flex;align-items:center;gap:7px;min-width:0}
body.mz-unified .mz-shell-header-spacer{flex:1;min-width:0}
body.mz-unified .mz-brand-logo{width:174px;height:auto;max-height:55px;object-fit:contain}
body.mz-unified .mz-global-badge{font-size:10px;padding:2px 5px}
body.mz-unified .mz-global-version{margin-left:0;font-size:12px;color:#a43624}
body.mz-unified .mz-global-version:empty{display:none}
body.mz-unified .mz-unified-layout{grid-template-columns:var(--mz-shell-sidebar) minmax(0,1fr);min-height:calc(100vh - var(--mz-shell-header));grid-template-rows:none}
body.mz-unified .mz-global-nav{position:sticky;top:var(--mz-shell-header);height:calc(100vh - var(--mz-shell-header));box-sizing:border-box;align-self:start;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:22px 12px;background:var(--mz-shell-sidebar-bg);border-right:1px solid var(--mz-shell-line);border-bottom:0}
body.mz-unified .mz-global-nav a{font-size:14px;line-height:1.6;color:#68758a;padding:12px 15px;margin:5px 0;border:0;border-radius:7px;box-shadow:none;white-space:normal;flex:initial}
body.mz-unified .mz-global-nav a[aria-current=page]{background:#f5e5db;color:#c36532;font-weight:600;box-shadow:none;border-left:0}
body.mz-unified .mz-common-nav{margin-top:18px;padding-top:14px;border-top:1px solid var(--mz-shell-line)}
body.mz-unified .mz-page-host{padding:var(--mz-shell-main-top) var(--mz-shell-main-x) var(--mz-shell-main-bottom);min-width:0;overflow-x:clip;box-sizing:border-box}
body.mz-unified .diagnosis-workspace28{padding:0;min-width:0;box-sizing:border-box}
body.mz-unified .mz-page-host :is([id],h1,h2,h3){scroll-margin-top:var(--mz-shell-scroll-margin)}
body.mz-unified .mz-local-nav{padding:0;margin:0 0 20px;gap:25px;border-bottom:1px solid var(--mz-shell-line)}
body.mz-unified .mz-local-nav a{border:0;border-radius:0;background:transparent;padding:0 0 15px;color:#7e899b}
body.mz-unified .mz-local-nav a[aria-current=page]{color:#ed6b24;background:transparent;border-bottom:2px solid #ed6b24;font-weight:600}
body.mz-unified .mz-shell-page-header{font-family:"PingFang SC","Microsoft YaHei",sans-serif;margin:0 0 23px;min-width:0}
body.mz-unified .mz-shell-breadcrumb{font-size:12px;line-height:1.6;color:#8a94a7;margin:0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.mz-unified .mz-shell-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
body.mz-unified .mz-shell-heading h1{font-size:28px;line-height:1.3;font-weight:700;letter-spacing:.5px;color:var(--mz-shell-ink);margin:0 0 8px}
body.mz-unified .mz-shell-subtitle{font-size:13px;line-height:1.6;color:var(--mz-shell-muted);margin:0}
body.mz-unified .mz-shell-heading-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}
body.mz-unified .mz-shell-summary-trigger,body.mz-unified .mz-shell-menu-trigger,body.mz-unified .mz-shell-account-trigger,body.mz-unified .mz-shell-nav-close,body.mz-unified .mz-shell-summary-close{font:inherit;cursor:pointer;border:1px solid var(--mz-shell-line);border-radius:7px;background:#fff;color:var(--mz-shell-ink);padding:7px 11px}
body.mz-unified .mz-shell-menu-trigger,body.mz-unified .mz-shell-summary-trigger,body.mz-unified .mz-shell-nav-close,body.mz-unified .mz-shell-summary-close{display:none}
body.mz-unified .mz-shell-account-trigger{margin-left:0;white-space:nowrap}
body.mz-unified .mz-shell-account-menu{position:fixed;z-index:43;right:27px;top:var(--mz-shell-header);min-width:220px;max-width:min(360px,calc(100vw - 32px));padding:16px;background:#fff;border:1px solid var(--mz-shell-line);box-shadow:0 12px 28px #25354b24;border-radius:0 0 10px 10px;display:none;flex-direction:column;gap:12px}
body.mz-unified .mz-shell-account-menu.mz-shell-open{display:flex}
body.mz-unified .mz-global-account{display:block;max-width:none;white-space:normal;overflow-wrap:anywhere}
body.mz-unified .mz-global-logout{align-self:flex-start}
body.mz-unified .mz-shell-veil[hidden]{display:none!important}
body.mz-unified .mz-shell-veil{position:fixed;inset:0;z-index:40;background:#25354b78;border:0;cursor:pointer}
body.mz-unified .mz-shell-account-trigger:focus-visible,body.mz-unified .mz-shell-menu-trigger:focus-visible,body.mz-unified .mz-shell-summary-trigger:focus-visible{outline:3px solid var(--mz-focus);outline-offset:2px}
body.mz-unified.mz-assistant-docked #mz-assistant-drawer{top:var(--mz-shell-header);height:calc(100dvh - var(--mz-shell-header));max-height:calc(100dvh - var(--mz-shell-header))}
body.mz-unified.mz-page-students .s93-drawer{z-index:46}
@media(min-width:1700px){body.mz-unified{--mz-shell-main-x:44px}}
@media(min-width:1024px) and (max-width:1270px){body.mz-unified{--mz-shell-sidebar:184px;--mz-shell-main-x:22px}body.mz-unified .mz-global-header{padding-left:20px;padding-right:20px}}
@media(max-width:1023px){
 body.mz-unified{--mz-shell-header:70px;--mz-shell-main-top:24px;--mz-shell-main-x:16px;--mz-shell-main-bottom:32px;--mz-shell-scroll-margin:86px}
 body.mz-unified .mz-global-header{padding:0 16px;gap:8px}
 body.mz-unified .mz-brand-logo{width:145px;max-height:48px}
 body.mz-unified .mz-shell-menu-trigger,body.mz-unified .mz-shell-summary-trigger,body.mz-unified .mz-shell-nav-close,body.mz-unified .mz-shell-summary-close{display:inline-block}
 body.mz-unified .mz-shell-menu-trigger,body.mz-unified .mz-shell-account-trigger{min-width:36px;min-height:36px;padding:5px}
 body.mz-unified .mz-shell-menu-trigger{order:-1}
 body.mz-unified .mz-global-brand{flex:none;position:relative;width:145px;height:52px}
 body.mz-unified .mz-global-badge{position:absolute;right:0;bottom:0;font-size:10px;line-height:1;padding:1px 3px}
 body.mz-unified .mz-shell-header-spacer{order:1}
 body.mz-unified .mz-global-version:not(:empty){position:absolute;top:100%;right:16px;z-index:25;max-width:min(360px,calc(100vw - 32px));padding:7px 10px;border:1px solid #eed3c7;border-radius:0 0 7px 7px;background:#fff8f3;white-space:normal}
 body.mz-unified .mz-shell-account-trigger{order:5}
 body.mz-unified #mz-assistant-launcher{order:4;margin-left:0;min-width:36px;min-height:36px;padding:5px 8px;box-shadow:none}
 body.mz-unified .mz-unified-layout{display:block;min-height:calc(100vh - var(--mz-shell-header))}
 body.mz-unified .mz-global-nav{position:fixed;top:var(--mz-shell-header);left:0;bottom:16px;width:min(280px,calc(100vw - 32px));height:auto;max-height:none;z-index:42;visibility:hidden;transform:translateX(-105%);transition:transform .18s ease,visibility .18s;box-shadow:8px 0 28px #25354b24;overflow-y:auto}
 body.mz-unified .mz-global-nav.mz-shell-open{visibility:visible;transform:none}
 body.mz-unified .mz-shell-nav-close{align-self:flex-end;margin-bottom:8px}
 body.mz-unified .mz-shell-account-menu{top:var(--mz-shell-header);right:16px}
 body.mz-unified .mz-shell-heading{align-items:flex-start;flex-wrap:wrap}
 body.mz-unified .mz-shell-heading h1{font-size:23px}
 body.mz-unified .mz-shell-heading-actions{justify-content:flex-start}
 body.mz-unified .mz-shell-summary{position:fixed!important;top:var(--mz-shell-header)!important;right:0!important;bottom:16px!important;width:min(360px,calc(100vw - 32px))!important;height:auto!important;max-height:none!important;margin:0!important;z-index:42;display:block!important;box-sizing:border-box;overflow-y:auto!important;visibility:hidden;transform:translateX(105%);transition:transform .18s ease,visibility .18s;box-shadow:-8px 0 28px #25354b24;background:#fff}
 body.mz-unified .mz-shell-summary.mz-shell-open{visibility:visible;transform:none}
 body.mz-unified .mz-shell-summary-close{float:right;margin:0 0 10px 12px}
 body.mz-unified .wb28 .wb-workspace,body.mz-unified.mz-page-students .s93-layout{grid-template-columns:minmax(0,1fr)}
 body.mz-unified .mz-local-nav{overflow-x:auto;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){body.mz-unified .mz-global-nav,body.mz-unified .mz-shell-summary{transition:none}}
/* F2: the shared host owns the sales page gutter and the top module switch. */
body.mz-unified.mz-page-sales.mz-sales-workbench-real .scoped-main{padding:0;background:transparent;min-width:0}
body.mz-unified.mz-page-sales .scoped-page-nav{display:flex;gap:25px;align-items:center;margin:0 0 20px;padding:0;border-bottom:1px solid var(--mz-shell-line);overflow-x:auto;white-space:nowrap}
body.mz-unified.mz-page-sales .scoped-page-nav button{flex:none;border:0;border-radius:0;background:transparent;box-shadow:none;color:#7e899b;padding:0 0 15px}
body.mz-unified.mz-page-sales .scoped-page-nav button[aria-pressed="true"]{border:0;border-bottom:2px solid #ed6b24;border-radius:0;background:transparent;color:#ed6b24;font-weight:600;box-shadow:none}
body.mz-unified.mz-page-sales .scoped-page-nav span{background:#a43a04;color:#fff}
@media(max-width:1023px){body.mz-unified.mz-page-sales .scoped-preview.mz-shell-summary>.mz-shell-summary-close{float:none;display:block;width:max-content;max-width:100%;margin:0 0 12px auto}}

/* Original aftercare consumer inherits the shared product palette only in its host. */
.mz-page-aftercare #aftercare{--ink:var(--mz-ink);--line:var(--mz-border);--orange:var(--mz-orange);min-width:0}

/* NAV-P3-01: one keyed icon and label layout across original shared menu entries. */
body.mz-unified .mz-global-nav a{display:flex;align-items:center;gap:11px}
body.mz-unified .mz-global-nav .auth-nav-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;padding:0;margin:0;color:inherit}
body.mz-unified .mz-global-nav .auth-nav-icon svg{display:block;width:18px;height:18px;color:inherit}
body.mz-unified .mz-global-nav .mz-nav-label{display:block;min-width:0;padding:0;margin:0;color:inherit;font:inherit;line-height:inherit;border-radius:0;overflow-wrap:anywhere}
