/* Page navigation stays in each theme's header, below its native dialogs. */
.mi-welcome-back-slot{position:relative;flex:0 0 auto;min-width:0;line-height:1;z-index:2}
a.mi-welcome-back{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:10px;border:1px solid #d8dde5;border-radius:12px;background:#fff;color:#17202d;text-decoration:none;font-family:inherit;font-weight:600;font-size:13px;line-height:1.35;box-shadow:0 2px 8px #00000012;touch-action:manipulation}
a.mi-welcome-back:hover{color:#17202d;text-decoration:none;filter:brightness(.96)}
a.mi-welcome-back:focus-visible{outline:3px solid currentColor;outline-offset:3px}
a.mi-welcome-back svg{display:block;width:22px;height:22px;flex:none;pointer-events:none}
:dir(rtl) a.mi-welcome-back svg{transform:rotate(180deg)}
.mi-welcome-back-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap;border:0}
.mi-welcome-back-slot--row a.mi-welcome-back:not(.mi-menu-theme-back){width:auto;max-width:100%;height:auto;padding:10px 14px}
.mi-welcome-back-slot--row a.mi-welcome-back:not(.mi-menu-theme-back) .mi-welcome-back-label{position:static;width:auto;height:auto;margin:0;clip:auto;overflow:visible;white-space:normal;overflow-wrap:anywhere;text-align:start}
a.mi-menu-theme-back svg{width:18px;height:18px}
@media(prefers-reduced-motion:no-preference){
 a.mi-menu-theme-back svg{transition:translate .16s ease}
 a.mi-menu-theme-back:is(:active,:focus-visible) svg{translate:-2px 0}
 :dir(rtl) a.mi-menu-theme-back:is(:active,:focus-visible) svg{translate:2px 0}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 a.mi-menu-theme-back:hover svg{translate:-2px 0}
 :dir(rtl) a.mi-menu-theme-back:hover svg{translate:2px 0}
}
/* Solid surfaces keep the control readable on photographs in either mode. */
body:is([data-menu-theme="modern-theme-18"],[data-menu-theme="modern-theme-20"],[data-menu-theme="modern-theme-21"],[data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"],[data-menu-theme="modern-theme-25"],[data-menu-theme="modern-theme-26"],.mi-video-intro-page) a.mi-welcome-back{background:#171b22;color:#f8fafc;border-color:#ffffff40}
html[data-ti18-mode="light"] body[data-menu-theme="modern-theme-18"] a.mi-welcome-back,body.light-mode:is([data-menu-theme="modern-theme-20"],[data-menu-theme="modern-theme-21"]) a.mi-welcome-back,body[dark="light"]:is([data-menu-theme="modern-theme-19"],[data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"],[data-menu-theme="modern-theme-25"]) a.mi-welcome-back{background:#fff;color:#17202d;border-color:#d8dde5}
body[data-menu-theme="modern-theme-19"][dark="dark"] a.mi-welcome-back{background:#171b22;color:#f8fafc;border-color:#ffffff40}
body[data-menu-theme="modern-theme-26"] a.mi-welcome-back{background:#15130e;color:#f3d36a;border-color:#d4af3766}
body[data-menu-theme="modern-theme-22"] a.mi-welcome-back{background:#fff;color:#513721;border-color:#bd7f5666;border-radius:999px}
body:is([data-menu-theme="classic-theme"],[data-menu-theme="flipbook"]) :is(.user-lang-wrapper,.mi-book-actions):has(.mi-welcome-back-slot){gap:8px;flex-wrap:wrap;align-items:center}
body[data-menu-theme="modern-theme"] .bg-header .container-fluid:has(.mi-welcome-back-slot){gap:8px}
body[data-menu-theme="modern-theme"] .bg-header:has(.mi-welcome-back-slot) #sidebarleftbutton{margin-right:0!important;flex:none;min-width:44px;min-height:44px}
body[data-menu-theme="modern-theme"] .bg-header:has(.mi-welcome-back-slot) #sidebarleftbutton+.d-flex{margin-right:0!important;min-width:0}
body[data-menu-theme="modern-theme-18"]>.mi-welcome-back-slot--cover,body.mi-video-intro-page>.mi-welcome-back-slot--cover{position:absolute;top:12px;left:12px;z-index:5}
body[data-menu-theme="modern-theme-19"] .home-header:has(.mi-welcome-back-slot)>div:first-child{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
body[data-menu-theme="modern-theme-19"] .home-header:has(.mi-welcome-back-slot)>div:first-child>.d-flex{min-width:0}
body[data-menu-theme="modern-theme-19"] .home-header:has(.mi-welcome-back-slot) .team-logo{flex:none}
body[data-menu-theme="modern-theme-19"] .home-header:has(.mi-welcome-back-slot) .partner-name{min-width:0;margin-right:0!important}
body[data-menu-theme="modern-theme-19"] .home-header:has(.mi-welcome-back-slot) .partner-name .name{max-width:100%;min-width:0}
body[data-menu-theme="modern-theme-19"] .home-header:has(.mi-welcome-back-slot)>div:last-child{flex:none}
.mi-welcome-header-brand:has(.mi-welcome-back-slot){display:flex;align-items:center;gap:8px;min-width:0;flex:none}
body[data-menu-theme="modern-theme-20"] .restaurant-header:has(.mi-welcome-back-slot){gap:8px}
body[data-menu-theme="modern-theme-21"] .img-wrapper>.mi-welcome-back-slot--cover{position:absolute;top:12px;left:12px;z-index:5}
body[data-menu-theme="modern-theme-22"] .mi-welcome-header-brand:has(.mi-welcome-back-slot) .header-logo-wrapper{left:0}
body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"]) :is(.mt23-hero,.mt24-hero)>.mi-welcome-back-slot--cover{position:absolute;top:16px;left:16px;z-index:3}
body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"]) .mt23-page:has(>.mt23-back-btn) :is(.mt23-hero,.mt24-hero)>.mi-welcome-back-slot--cover{left:76px}
body[data-menu-theme="modern-theme-25"] .mt25-topbar:has(.mi-welcome-back-slot){flex-wrap:wrap}
body[data-menu-theme="modern-theme-25"] .mt25-topbar>.mi-welcome-back-slot--row{flex-basis:100%;margin-bottom:2px}
body[data-menu-theme="modern-theme-26"]>.mi-welcome-back-slot--row{box-sizing:border-box;width:min(100%,448px);margin:0 auto;padding:12px 16px 0;z-index:1}
@media(max-width:360px){
 body[data-menu-theme="modern-theme-20"] .restaurant-header:has(.mi-welcome-back-slot) .header-logo{width:40px;height:44px;flex:none}
 body[data-menu-theme="modern-theme-20"] .restaurant-header:has(.mi-welcome-back-slot) .header-logo .logo-image{max-width:34px;max-height:38px}
 body[data-menu-theme="modern-theme-20"] .restaurant-header:has(.mi-welcome-back-slot) .header-right{gap:6px}
 body[data-menu-theme="modern-theme-20"] .mi-welcome-header-brand:has(.mi-welcome-back-slot){gap:6px}
 body[data-menu-theme="modern-theme-19"] .home-header:has(.mi-welcome-back-slot){gap:8px;padding-inline:10px}
}
