.mobile-internal-nav-fab,.mobile-internal-nav-backdrop{display:none}
.page-anchor-nav[hidden],.mobile-internal-nav-fab[hidden],.mobile-internal-nav-backdrop[hidden]{display:none!important}

@media(max-width:850px){
    .page-anchor-nav{position:static;top:auto;z-index:auto}
    .finance-section-nav,.student-section-nav{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}

    .commercial-section-nav{position:fixed;z-index:11001;right:14px;bottom:84px;left:auto;top:auto;display:none;align-items:stretch;width:min(380px,calc(100vw - 28px));max-height:min(70dvh,620px);margin:0;padding:10px;overflow-y:auto;overscroll-behavior:contain;border:1px solid #dfd3e5;border-radius:18px;background:#fff;box-shadow:0 22px 65px rgba(29,17,35,.35)}
    .commercial-section-nav.mobile-menu-open{display:grid;gap:6px;animation:mobile-internal-menu-enter .18s ease-out}
    .commercial-section-nav.has-active-group .commercial-nav-group:not(.active){display:none}
    .commercial-section-nav.has-active-group .commercial-nav-group.active>summary{display:none}
    .commercial-section-nav.has-active-group .commercial-nav-group.active>div{display:grid;margin:0;padding:2px;border-left:0}
    .commercial-nav-group{position:static;min-width:0}
    .commercial-nav-group>summary{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:10px 13px;border-radius:11px;background:#faf7fb;white-space:normal;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
    .commercial-nav-group.active>summary,.commercial-nav-group[open]>summary{background:#efe3f5;color:#562477}
    .commercial-nav-group>div{position:static;inset:auto;z-index:auto;display:none;width:100%;min-width:0;max-height:none;margin:5px 0 2px;padding:5px;overflow:visible;border:0;border-left:3px solid #9b49c2;border-radius:0 0 9px 9px;background:#fff;box-shadow:none}
    .commercial-nav-group:not([open])>div{display:none}
    .commercial-nav-group[open]>div{display:grid}
    .commercial-nav-group>div a{display:flex;align-items:center;min-height:43px;padding:10px 11px;white-space:normal}

    .mobile-internal-nav-fab{position:fixed;z-index:11002;right:16px;bottom:max(16px,env(safe-area-inset-bottom));display:grid;grid-template-columns:34px auto;align-items:center;gap:7px;min-width:104px;height:56px;padding:0 17px 0 10px;border:0;border-radius:999px;background:var(--mm-primary-gradient,linear-gradient(135deg,#8706f7,#6200c8));color:#fff;box-shadow:0 12px 30px rgba(80,30,105,.38);cursor:pointer}
    .mobile-internal-nav-fab span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.16);font-size:24px;line-height:1}
    .mobile-internal-nav-fab small{font-size:13px;font-weight:850;letter-spacing:.02em}
    .mobile-internal-nav-fab[aria-expanded=true]{background:#3d2945}
    .mobile-internal-nav-fab:focus-visible{outline:3px solid #dca8f2;outline-offset:3px}

    .mobile-internal-nav-backdrop{position:fixed;z-index:11000;inset:0;display:block;width:100%;height:100%;padding:0;border:0;background:rgba(25,16,29,.43);backdrop-filter:blur(2px)}
    .mobile-internal-nav-backdrop[hidden]{display:none}
    @keyframes mobile-internal-menu-enter{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
}

@media(max-width:420px){
    .commercial-section-nav{right:10px;bottom:78px;width:calc(100vw - 20px);max-height:72dvh}
    .mobile-internal-nav-fab{right:12px;bottom:max(12px,env(safe-area-inset-bottom));min-width:56px;width:56px;padding:0;grid-template-columns:1fr}
    .mobile-internal-nav-fab span{margin:auto}
    .mobile-internal-nav-fab small{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
}

@media print{.mobile-internal-nav-fab,.mobile-internal-nav-backdrop{display:none!important}}

/* Barra contextual inferior com acesso permanente ao menu em celulares e tablets. */
.mobile-bottom-dock,.mobile-dock-menu:not([open]){display:none}
.mobile-bottom-dock[hidden]{display:none!important}
.mobile-bottom-dock button.mobile-dock-linked-student{color:var(--mm-primary)}
.mobile-bottom-dock button.mobile-dock-linked-student>span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:650;line-height:1.2}
.mobile-bottom-dock>button[hidden]{display:none!important}
.mobile-bottom-dock .mobile-dock-unified-payment[hidden]{display:none!important}
.mobile-bottom-dock button.mobile-dock-unified-payment{color:var(--mm-primary);background:var(--mm-primary-soft)}
.mobile-bottom-dock::backdrop{background:transparent;pointer-events:none}
.mobile-dock-marker{position:absolute;display:block;width:0;height:0;pointer-events:none}
@media(max-width:1180px){
    .has-mobile-bottom-dock .content{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
    .mobile-bottom-dock{position:fixed;z-index:10990;top:auto;right:auto;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;margin:0;transform:translateX(-50%);display:flex;align-items:stretch;gap:4px;width:calc(100% - 24px);max-width:480px;min-height:66px;padding:6px;overflow:visible;border:1px solid rgba(255,255,255,.85);border-radius:999px;background:rgba(249,249,253,.78);box-shadow:0 5px 28px #24204424,inset 0 0 0 1px #e4e3ec80;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
    .mobile-bottom-dock button{display:flex;flex:1;min-width:0;min-height:52px;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:5px 7px;border:0;border-radius:999px;background:transparent;color:#666975;font:inherit;cursor:pointer}
    .mobile-bottom-dock svg,.mobile-dock-menu svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
    .mobile-bottom-dock button>span{display:none}
    .mobile-bottom-dock button.is-active{background:var(--mm-primary-soft,#f2e7ff);color:var(--mm-primary,#8706f7)}
    .mobile-bottom-dock button:focus-visible,.mobile-dock-menu button:focus-visible{outline:2px solid var(--mm-primary,#8706f7);outline-offset:1px}
    .mobile-bottom-dock button:active{background:var(--mm-primary-soft,#f2e7ff)}
    .mobile-bottom-dock button[aria-controls="mobile-system-menu"]{background:transparent;color:var(--mm-primary,#8706f7)}
    .mobile-bottom-dock button[aria-controls="mobile-system-menu"] svg{stroke-width:2.6}
    .mobile-internal-nav-fab.mobile-dock-replaced{display:none!important}
    .mobile-dock-menu{position:fixed;inset:auto 0 0;width:100%;max-width:100%;max-height:80dvh;margin:0;padding:16px 16px calc(18px + env(safe-area-inset-bottom));overflow:auto;border:0;border-radius:24px 24px 0 0;background:#fff;color:#302d3b}
    .mobile-dock-menu::backdrop{background:#201b3866;backdrop-filter:blur(3px)}
    .mobile-dock-menu header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
    .mobile-dock-menu h2{margin:0;font-size:18px}
    .mobile-dock-menu header button{width:44px;height:44px;border:0;border-radius:50%;background:#f4f2fa;color:#625976;font-size:28px}
    .mobile-dock-menu-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .mobile-dock-menu-items button{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px;border:1px solid #e6e3ef;border-radius:14px;background:#faf9fd;color:var(--mm-primary,#8706f7);font:inherit;font-size:13px;text-align:left;overflow-wrap:anywhere;cursor:pointer}
}
@media print{.mobile-bottom-dock,.mobile-dock-menu{display:none!important}}
/* Modais de cadastro e edição sempre cobrem os menus flutuantes. */
body:has(dialog[open]) :is(.mobile-bottom-dock,.mobile-internal-nav-fab,.commercial-section-nav,.mobile-internal-nav-backdrop){visibility:hidden!important;pointer-events:none!important}

/* Páginas de cadastro e edição usam apenas as ações do próprio formulário. */
@media(max-width:850px){body.mobile-form-page :is(.mobile-bottom-dock,.mobile-internal-nav-fab,.mobile-internal-nav-backdrop,.commercial-section-nav){display:none!important}}

/* Topo e menu principal: modelo móvel do template. */
.mobile-system-tools,.mobile-system-menu:not([open]),.mobile-system-help:not([open]){display:none}
@media(max-width:620px){
    .mobile-system-ready .topbar{background:var(--mm-primary,#8706f7);border:0;box-shadow:0 3px 14px #30227320}
    .mobile-system-ready .topbar-inner{width:100%;min-height:72px;padding:8px 16px;gap:10px;flex-wrap:nowrap}
    .mobile-system-ready .topbar-brand,.mobile-system-ready .topnav{display:none!important}
    .mobile-system-ready .topbar-account{order:0;margin:0 auto 0 0}
    .mobile-system-ready .topbar-account>summary{padding:0;border-radius:50%}
    .mobile-system-ready .topbar-account>summary:after,.mobile-system-ready .account-name{display:none}
    .mobile-system-ready .account-avatar{display:grid;place-items:center;width:46px;height:46px;border:1px solid #ffffff3d;border-radius:50%;background:#ffffff26;color:#fff;font-size:22px}
    .mobile-system-ready .account-menu{left:0;right:auto;top:calc(100% + 12px);width:min(300px,calc(100vw - 32px));background:#fff;color:#302d3b;border-color:#e3def1}
    .mobile-system-tools{order:1;display:flex;gap:6px;align-items:center}
    .mobile-system-tools button,.mobile-system-ready .topbar-toggle{display:grid;place-items:center;width:44px;height:44px;padding:9px;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
    .mobile-system-ready .topbar-toggle{order:2;margin:0;font-size:25px}
    .mobile-system-ready .topbar-toggle{display:none}
    .mobile-system-tools svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
    .mobile-system-tools button[aria-pressed=true],.mobile-system-tools button:hover,.mobile-system-ready .topbar-toggle:hover{background:#ffffff24}
    .mobile-system-tools button:focus-visible,.mobile-system-ready .topbar-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}
    body.mobile-system-menu-open{overflow:hidden}
    .mobile-system-private main.content{filter:blur(7px);user-select:none;pointer-events:none}
    .mobile-system-menu{position:fixed;inset:auto 0 0;width:100%;max-width:100%;height:calc(100dvh - 82px);max-height:calc(100dvh - 82px);margin:0;padding:0 16px calc(12px + env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;border:0;border-radius:24px 24px 0 0;background:#f7f7fa;color:#302d3b}
    .mobile-system-menu::backdrop,.mobile-system-help::backdrop{background:#17102c80;backdrop-filter:blur(2px)}
    .mobile-system-menu>header{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;min-height:65px;background:#f7f7fa}
    .mobile-system-menu h2{margin:0;text-align:center;font-size:21px}
    .mobile-system-menu>header button{width:44px;height:44px;border:0;background:transparent;color:#77717e;font-size:30px;cursor:pointer}
    .mobile-system-search{position:sticky;top:65px;z-index:2;padding:0 0 14px;background:#f7f7fa}
    .mobile-system-search input{min-height:46px;border:1px solid #e6e4ed;border-radius:999px;background:#eeedf3;padding:11px 18px;font-size:16px}
    .mobile-system-groups{display:grid;gap:9px}
    .mobile-system-groups>details,.mobile-system-groups>a{margin:0;border:1px solid #e9e6ef;border-radius:17px;background:#fff;overflow:hidden}
    .mobile-system-groups>details>summary,.mobile-system-groups>a{display:flex;align-items:center;gap:12px;min-height:58px;padding:13px 14px;color:#3c3844;font-size:15px;font-weight:650;text-decoration:none;cursor:pointer;list-style:none}
    .mobile-system-groups>details>summary::-webkit-details-marker{display:none}
    .mobile-system-groups>details>summary:after{content:'›';margin-left:auto;color:#96909d;font-size:25px;line-height:1;transition:transform .15s}
    .mobile-system-groups>details[open]>summary:after{transform:rotate(90deg)}
    .mobile-system-groups svg{width:24px;height:24px;flex:none;fill:none;stroke:var(--mm-primary,#8706f7);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
    .mobile-system-groups>details[open]>summary,.mobile-system-groups>details.active>summary,.mobile-system-groups>a.active{color:var(--mm-primary,#8706f7);background:var(--mm-primary-soft,#f2e7ff)}
    .mobile-system-groups>details>div{display:grid;padding:5px 10px 10px}
    .mobile-system-groups>details:not([open])>div{display:none}
    .mobile-system-groups>details>div>a{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:3px 8px;min-height:44px;padding:10px 12px;border-radius:10px;color:#63586e;font-size:14px;text-decoration:none}
    .mobile-system-groups>details>div>a .nav-count{margin-left:auto}
    .mobile-system-groups>details>summary>.nav-count{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:24px;min-height:24px;margin-left:auto;padding:3px 7px;border-radius:999px;background:#ed2e63;color:#fff;font-size:12px;font-weight:800;line-height:1}
    .mobile-system-groups>details>summary:has(>.nav-count):after{margin-left:0}
    .mobile-system-groups>details>div>a small{width:100%;font-size:11px;color:#847a8c}
    .mobile-system-groups a[aria-current=page],.mobile-system-groups>details>div>a.active{background:var(--mm-primary-soft,#f2e7ff);color:var(--mm-primary,#8706f7);font-weight:700}
    .mobile-system-groups [hidden],.mobile-system-empty[hidden]{display:none!important}
    .mobile-system-empty{padding:20px;text-align:center;color:#786e82;font-size:14px}
    .mobile-system-menu>footer{position:sticky;bottom:calc(-12px - env(safe-area-inset-bottom));display:flex;gap:10px;margin-top:14px;padding:12px 0 calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e6e3ed;background:#f7f7fa}
    .mobile-system-menu>footer button{flex:1;min-height:44px;border:0;border-radius:999px;background:#ebe8f5;color:var(--mm-primary,#8706f7);font:inherit;font-size:13px;font-weight:650;cursor:pointer}
    .mobile-system-menu :is(button,input,a,summary):focus-visible{outline:2px solid var(--mm-primary,#8706f7);outline-offset:-2px}
    .mobile-system-help{position:fixed;inset:auto 0 0;width:100%;max-width:100%;max-height:80dvh;margin:0;padding:24px 20px calc(24px + env(safe-area-inset-bottom));border:0;border-radius:24px 24px 0 0;background:#fff;color:#302d3b}
    .mobile-system-help h2{margin:0 0 12px;font-size:21px}
    .mobile-system-help p{font-size:15px;line-height:1.65;color:#73687c}
    .mobile-system-help .btn{width:100%;min-height:46px;border-radius:999px}
}
@media print{.mobile-system-tools,.mobile-system-menu,.mobile-system-help{display:none!important}}

@media(min-width:601px) and (max-width:620px){.has-mobile-bottom-dock .sale-unified-footer{bottom:84px}}

@media(min-width:621px) and (max-width:1180px){
    .mobile-system-ready.has-mobile-bottom-dock .topbar-toggle{display:none}
    .mobile-system-ready .app-shell>.content .table-wrap{max-width:100%;contain:layout paint}
    .mobile-bottom-dock{max-width:480px;min-height:56px;padding:5px}
    .mobile-bottom-dock button{min-height:44px;padding:5px 8px}
    .mobile-bottom-dock svg{width:21px;height:21px}
    .has-mobile-bottom-dock .sale-unified-footer{bottom:74px}
    body.mobile-system-menu-open{overflow:hidden}
    .mobile-system-menu,.mobile-system-help{position:fixed;inset:auto 0 0;width:min(640px,calc(100% - 32px));max-width:none;max-height:min(80dvh,760px);margin:0 auto;padding:0 18px calc(16px + env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;border:0;border-radius:24px 24px 0 0;background:#f7f7fa;color:#302d3b}
    .mobile-system-menu::backdrop,.mobile-system-help::backdrop{background:#17102c80;backdrop-filter:blur(2px)}
    .mobile-system-menu>header{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;min-height:65px;background:#f7f7fa}
    .mobile-system-menu h2{margin:0;text-align:center;font-size:21px}
    .mobile-system-menu>header button{width:44px;height:44px;border:0;background:transparent;color:#77717e;font-size:30px;cursor:pointer}
    .mobile-system-search{position:sticky;top:65px;z-index:2;padding:0 0 14px;background:#f7f7fa}
    .mobile-system-search input{min-height:46px;border:1px solid #e6e4ed;border-radius:999px;background:#eeedf3;padding:11px 18px;font-size:16px}
    .mobile-system-groups{display:grid;gap:9px}
    .mobile-system-groups>details,.mobile-system-groups>a{margin:0;border:1px solid #e9e6ef;border-radius:17px;background:#fff;overflow:hidden}
    .mobile-system-groups>details>summary,.mobile-system-groups>a{display:flex;align-items:center;gap:12px;min-height:58px;padding:13px 14px;color:#3c3844;font-size:15px;font-weight:650;text-decoration:none;cursor:pointer;list-style:none}
    .mobile-system-groups>details>summary::-webkit-details-marker{display:none}
    .mobile-system-groups>details>summary:after{content:'›';margin-left:auto;color:#96909d;font-size:25px;line-height:1}
    .mobile-system-groups>details[open]>summary:after{transform:rotate(90deg)}
    .mobile-system-groups svg{width:24px;height:24px;flex:none;fill:none;stroke:var(--mm-primary,#8706f7);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
    .mobile-system-groups>details[open]>summary,.mobile-system-groups>details.active>summary,.mobile-system-groups>a.active{color:var(--mm-primary,#8706f7);background:var(--mm-primary-soft,#f2e7ff)}
    .mobile-system-groups>details>div{display:grid;padding:5px 10px 10px}
    .mobile-system-groups>details:not([open])>div{display:none}
    .mobile-system-groups>details>div>a{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px;min-height:44px;padding:10px 12px;border-radius:10px;color:#63586e;font-size:14px;text-decoration:none}
    .mobile-system-groups>details>div>a small{width:100%;font-size:11px;color:#847a8c}
    .mobile-system-groups a[aria-current=page],.mobile-system-groups>details>div>a.active{background:var(--mm-primary-soft,#f2e7ff);color:var(--mm-primary,#8706f7);font-weight:700}
    .mobile-system-groups [hidden],.mobile-system-empty[hidden]{display:none!important}
    .mobile-system-empty{padding:20px;text-align:center;color:#786e82;font-size:14px}
    .mobile-system-menu>footer{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));display:flex;gap:10px;margin-top:14px;padding:12px 0 calc(16px + env(safe-area-inset-bottom));border-top:1px solid #e6e3ed;background:#f7f7fa}
    .mobile-system-menu>footer button{flex:1;min-height:44px;border:0;border-radius:999px;background:#ebe8f5;color:var(--mm-primary,#8706f7);font:inherit;font-size:13px;font-weight:650;cursor:pointer}
    .mobile-system-menu>footer .mobile-system-logout .btn{min-height:44px;padding:10px 14px;font-size:13px}
    .mobile-system-menu :is(button,input,a,summary):focus-visible{outline:2px solid var(--mm-primary,#8706f7);outline-offset:-2px}
    .mobile-system-help{padding:24px 20px calc(24px + env(safe-area-inset-bottom));background:#fff}
    .mobile-system-help h2{margin:0 0 12px;font-size:21px}
    .mobile-system-help p{font-size:15px;line-height:1.65;color:#73687c}
    .mobile-system-help .btn{min-height:44px;border-radius:999px}
}

.mobile-system-maintenance{display:none}
@media(max-width:620px){
    .mobile-system-ready .mobile-system-maintenance{position:absolute;left:16px;bottom:5px;display:block;padding:2px 6px;font-size:8px}
    .mobile-system-ready .topbar-inner:has(.mobile-system-maintenance){min-height:90px;padding-bottom:23px}
}

/* Integração com a barra de status e recortes de tela dos celulares. */
@media(max-width:850px){
    html:has(.app-shell>.topbar),body:has(>.app-shell>.topbar){background-color:var(--mm-primary,#8706f7)}
    body:has(>.app-shell>.topbar) .app-shell>.content{width:100%;max-width:none;margin:0;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right));background-color:#f7f6f9}
    .app-shell>.topbar{padding-top:env(safe-area-inset-top,0px)}
}
@media(max-width:620px){
    /* Safari pode amostrar background-color, mesmo quando há uma imagem de degradê. */
    .mobile-system-ready .topbar{background-color:var(--mm-primary,#8706f7)}
    .mobile-system-ready .topbar-inner{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
    .mobile-system-ready .app-shell>.content{width:100%;max-width:none;margin:0;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
    .mobile-system-menu{height:calc(100dvh - 82px - env(safe-area-inset-top));max-height:calc(100dvh - 82px - env(safe-area-inset-top))}
}

/* A abertura do menu mantém o foco no painel, sem destacar título ou opções. */
.mobile-system-menu:focus,.mobile-dock-menu:focus{outline:none}

/* Cabeçalho principal móvel compartilhado por todas as páginas autenticadas. */
.home-mobile-greeting,.home-mobile-search,.home-mobile-notifications,.dashboard-mobile-shortcuts{display:none}
@media(max-width:620px){
    .mobile-system-ready .is-mobile-primary-topbar{position:relative;padding-bottom:34px;box-shadow:none}
    .mobile-system-ready .is-mobile-primary-topbar .topbar-inner{min-height:94px;padding-top:18px;padding-bottom:18px;gap:12px}
    .mobile-system-ready .is-mobile-primary-topbar .mobile-system-tools,.mobile-system-ready .is-mobile-primary-topbar .topbar-toggle{display:none}
    .mobile-system-ready .is-mobile-primary-topbar .topbar-account{margin:0;flex:none}
    .mobile-system-ready .is-mobile-primary-topbar .account-avatar{width:46px;height:46px;border:2px solid #ffffffaa;background:var(--mm-primary-soft,#f2e7ff);font-size:0}
    .is-mobile-primary-topbar .account-avatar:before{content:'';width:32px;height:32px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='5' fill='%23918bb7'/%3E%3Cpath d='M3 23v-3a9 7 0 0 1 18 0v3' fill='%23918bb7'/%3E%3C/svg%3E")}
    .home-mobile-greeting{display:block;order:1;flex:1;min-width:0;color:#fff;font-size:17px;font-weight:600;overflow-wrap:anywhere}
    .home-mobile-search{display:grid;place-items:center;order:2;flex:0 0 44px;width:44px;height:44px;padding:8px;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
    .home-mobile-search svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
    .home-mobile-search:focus-visible{outline:2px solid #fff;outline-offset:2px}
    .home-mobile-notifications{position:absolute;z-index:2;left:calc(max(16px,env(safe-area-inset-left)) + 26px);top:calc(env(safe-area-inset-top) + 10px);display:grid;place-items:center;min-width:24px;height:21px;padding:1px 5px;border:2px solid var(--mm-primary);border-radius:999px;background:#fff;color:var(--mm-primary);font-size:10px;font-weight:850}
    .mobile-system-ready .app-shell:has(.dashboard-page)>.content{padding:20px 14px 32px;border-radius:24px 24px 0 0;background:#f7f7f9}
    .mobile-system-ready.has-mobile-bottom-dock .app-shell:has(.dashboard-page)>.content{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
    .dashboard-page{gap:18px}
    .dashboard-mobile-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
    .dashboard-mobile-shortcuts>a,.dashboard-mobile-shortcuts>button{display:flex;min-width:0;min-height:90px;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:12px 5px;border:1px solid #e8e6ed;border-radius:20px;background:#fff;color:#35313d;font:inherit;text-decoration:none;cursor:pointer;box-shadow:0 1px 3px #34274303}
    .dashboard-mobile-shortcuts svg{width:25px;height:25px;flex:none;fill:none;stroke:var(--mm-primary);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
    .dashboard-mobile-shortcuts span{color:#35313d;font-size:11px;font-weight:650;line-height:1.3;text-align:center;overflow-wrap:anywhere;hyphens:auto}
    .dashboard-mobile-shortcuts>a:focus-visible,.dashboard-mobile-shortcuts>button:focus-visible{outline:2px solid var(--mm-primary);outline-offset:2px}
    .dashboard-mobile-shortcuts>a:active,.dashboard-mobile-shortcuts>button:active{background:var(--mm-primary-soft)}
    .dashboard-page>.dashboard-hero{display:none}
    .dashboard-page .dashboard-layout-toolbar{display:none}
}

@media(max-width:620px){
    .mobile-system-menu>footer{flex-wrap:wrap}
    .mobile-system-menu>footer .mobile-system-logout{flex:1 0 100%;margin:0;min-width:0}
    .mobile-system-menu>footer .mobile-system-logout .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 14px;border:1px solid var(--mm-primary,#8706f7);border-radius:14px;background:#fff;color:var(--mm-primary,#8706f7);font-size:14px;font-weight:700;white-space:normal}
    .mobile-system-ready .account-menu{min-width:0;max-height:calc(100dvh - 150px - env(safe-area-inset-top));overflow-y:auto;z-index:2}
    .mobile-system-ready .account-menu .btn{display:flex;align-items:center;justify-content:center;min-height:44px;background:#fff;color:var(--mm-primary,#8706f7);border-color:var(--mm-primary,#8706f7)}
}
