/* MFOCAN | 2026 UI refresh. Loaded after the original application stylesheet.
   The legacy screen logic stays intact; only presentation and the shell are modernized. */
:root{--mf-black:#050505;--mf-raised:#111114;--mf-surface:#18181b;--mf-border:rgba(255,255,255,.12);--mf-white:#fafafa;--mf-muted:#a1a1aa;--mf-accent:#fa635b;--mf-safe-bottom:env(safe-area-inset-bottom,0px);--mf-safe-top:env(safe-area-inset-top,0px);color-scheme:dark}
html{min-width:280px;-webkit-text-size-adjust:100%;scroll-padding-top:96px}
html body,html body *{font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif}
body{margin:0;min-height:100dvh;overflow-x:hidden;color:var(--mf-white);background:var(--mf-black)}
button,a,input,select,textarea{font:inherit; -webkit-tap-highlight-color:transparent}
button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}
a,button,input,select,textarea,summary{touch-action:manipulation}
:focus-visible{outline:3px solid var(--mf-accent)!important;outline-offset:3px}
html body *{scroll-margin-top:100px}
.mf-auth-view{background:#050505;color:var(--mf-white)}
.mf-auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(395px,42%);min-height:100dvh;background:#050505;overflow:hidden}
.mf-auth-identity{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:100dvh;padding:clamp(30px,5vw,75px);padding-top:max(36px,calc(var(--mf-safe-top) + 28px));isolation:isolate;background:radial-gradient(ellipse at 8% 95%,rgba(141,39,33,.13),transparent 43%),#050505;border-right:1px solid #171719}
.mf-auth-brand{display:flex;align-items:center;gap:13px;width:max-content;max-width:100%;z-index:1}
.mf-auth-brand img{width:58px;height:58px;border-radius:13px;object-fit:cover;flex:none}
.mf-auth-brand>span{font-family:Manrope,sans-serif;font-size:clamp(1.28rem,2.5vw,1.65rem);font-weight:800;letter-spacing:.14em;color:#fff;line-height:1.1;display:block}
.mf-auth-brand small{display:block;color:#777780;font-size:9px;letter-spacing:.18em;margin-top:7px;font-weight:700}
.mf-auth-story{max-width:635px;position:relative;padding:80px 0 70px;z-index:1}
.mf-kicker,.mf-auth-overline{letter-spacing:.22em;font-size:.65rem;font-weight:800;color:#f0a6a0}
.mf-auth-story h1{font-family:Manrope,sans-serif;font-size:clamp(3.4rem,6vw,6.6rem);font-weight:800;letter-spacing:-.073em;line-height:1.08;margin:20px 0 22px;color:#f9f9fa}
.mf-auth-story h1 em,.mf-home-hero h1 em{font-style:normal;color:#aaaab0}
.mf-auth-story p{font-size:clamp(.99rem,1.35vw,1.13rem);color:#9999a0;line-height:1.8;max-width:465px;margin:0}
.mf-auth-benefits{display:flex;align-items:center;flex-wrap:wrap;gap:clamp(10px,1.5vw,20px);margin-top:38px}
.mf-auth-benefits span{display:flex;align-items:center;gap:7px;font-size:.81rem;color:#dadadf;font-weight:600}
.mf-auth-benefits i{font-size:1.1rem;color:#fa817a}
.mf-auth-tiny{font-size:10px;color:#65656b;letter-spacing:.04em;margin:0}
.mf-auth-aside{display:flex;align-items:center;justify-content:center;min-width:0;padding:clamp(24px,4vw,70px);padding-top:max(25px,calc(var(--mf-safe-top) + 25px));padding-bottom:max(30px,calc(var(--mf-safe-bottom) + 25px));background:#09090b}
.mf-auth-card{width:100%;max-width:420px;min-width:0}
.mf-auth-mobile-brand{display:none}
.mf-auth-overline{color:#fa817a}
.mf-auth-card-head h2{font-family:Manrope,sans-serif;font-size:clamp(1.72rem,2.6vw,2.35rem);letter-spacing:-.05em;line-height:1.15;font-weight:800;color:#fff;margin:13px 0 12px}
.mf-auth-card-head p{font-size:.91rem;line-height:1.5;color:#93939b;margin:0 0 28px}
.mf-auth-tabs{display:flex;width:100%;padding:5px;background:#17171a;border:1px solid #252528;border-radius:14px;gap:4px;margin-bottom:27px}
.mf-auth-tabs button{flex:1;min-width:0;min-height:44px;border-radius:10px;background:transparent;border:0;color:#9b9ba5;font-weight:700;font-size:.88rem;transition:background .2s,color .2s,box-shadow .2s}
.mf-auth-tabs button.is-active{background:#f8f8f8;color:#151518;box-shadow:0 2px 10px rgba(0,0,0,.3)}
.mf-auth-form{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:11px}
.mf-auth-form>label,.mf-label-row label{font-size:.8rem;font-weight:650;color:#e5e5e8;margin:0}
.mf-label-row{display:flex;justify-content:space-between;align-items:center;margin-top:6px}
.mf-input-wrap{display:flex;align-items:center;width:100%;min-height:55px;background:#161619;border:1px solid #323238;border-radius:12px;position:relative;transition:border-color .15s,background .15s}
.mf-input-wrap:focus-within{border-color:#e98a84;background:#202024;box-shadow:0 0 0 3px rgba(250,99,91,.11)}
.mf-input-wrap>i{font-size:1.28rem;color:#8b8b95;flex:none;margin-left:15px}
.mf-input-wrap input{display:block;flex:1;min-width:0;width:100%;height:53px;border:0!important;outline:0!important;background:transparent!important;padding:0 14px;color:#fff!important;font-size:16px!important;border-radius:12px;appearance:none;-webkit-appearance:none}
.mf-input-wrap input::placeholder{color:#71717b}
.mf-show-password{border:0;background:transparent;color:#b1b1bb;min-height:48px;min-width:48px;font-size:1.25rem;display:grid;place-items:center;border-radius:8px;margin-right:3px}
.mf-auth-message{min-height:18px;margin:0;padding:0;font-size:.81rem;color:#ffaaa5;line-height:1.45}
.mf-auth-message:empty{min-height:3px}
.mf-message-success{color:#86efac!important}
.mf-form-hint{font-size:.76rem;color:#8b8b95;margin:-6px 0 0}
.mf-auth-primary{min-height:55px;width:100%;border:0;border-radius:12px;background:#f8f8f8;color:#111;font-weight:800;font-size:.93rem;display:flex;align-items:center;justify-content:center;gap:10px;transition:background .18s,transform .18s}
.mf-auth-primary:hover{background:#dfdfe2}
.mf-auth-primary:active{transform:scale(.985)}
.mf-auth-primary i{font-size:1.25rem}
.mf-auth-primary.is-loading span::after{content:'…'}
.mf-auth-divider{display:flex;align-items:center;gap:15px;margin:23px 0 12px;font-size:.66rem;letter-spacing:.13em;font-weight:700;color:#72727b}
.mf-auth-divider:before,.mf-auth-divider:after{content:"";height:1px;background:#29292e;flex:1}
.mf-guest-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;width:100%;background:#1b1b1f;color:#f0f0f2;border:1px solid #303036;border-radius:12px;font-size:.84rem;font-weight:650;transition:background .15s}
.mf-guest-btn:hover{background:#29292e}
.mf-guest-btn i{font-size:1.13rem}
.mf-auth-footnote{text-align:center;margin:13px 0 0;color:#75757e;font-size:.74rem}
/* Branded in-app interstitial, not a blocking OS launch screen. */
.mf-splash{position:fixed;inset:0;z-index:10000;background:#000;display:grid;place-items:center;opacity:1;transition:opacity .42s ease;pointer-events:auto}
.mf-splash-hidden{opacity:0;pointer-events:none}
.mf-splash-inner{display:flex;flex-direction:column;align-items:center;width:min(76vw,300px);gap:26px;animation:mf-reveal .65s ease both}
.mf-splash-brand{width:min(76vw,270px);max-height:275px;object-fit:contain}
.mf-splash-inner p{margin:0;color:#8a8a92;font-size:.8rem;font-weight:500;letter-spacing:.16em;text-align:center}
.mf-splash-track{height:2px;width:78px;overflow:hidden;background:#242429;border-radius:30px}
.mf-splash-track span{height:100%;display:block;width:40%;background:#f6f6f6;border-radius:30px;animation:mf-load 1.4s ease-in-out infinite alternate}
@keyframes mf-load{to{transform:translateX(145%)}}@keyframes mf-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* Application shell */
.mf-app-view{background:#f5f5f6;color:#16161a;color-scheme:light}
.mf-shell{min-height:100dvh;display:flex;flex-direction:column}
.mf-app-header{position:sticky;top:0;z-index:500;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:76px;padding:max(9px,var(--mf-safe-top)) clamp(15px,4vw,55px) 9px;background:#09090a!important;color:#fff;border-bottom:1px solid #252529;backdrop-filter:blur(15px)}
.mf-brand-button{display:flex;align-items:center;gap:11px;min-width:0;border:0;background:transparent;color:inherit;text-align:left;padding:4px;border-radius:10px}
.mf-header-mark{width:43px;height:43px;object-fit:cover;border-radius:10px;flex:none}
.mf-brand-word{display:flex;flex-direction:column;font-family:Manrope,sans-serif;font-size:1rem;letter-spacing:.14em;font-weight:800;white-space:nowrap;line-height:1.2}
.mf-brand-word small{font-family:inherit;letter-spacing:.12em;font-size:.49rem;font-weight:600;margin-top:4px;color:#9b9ba3}
.mf-header-actions{display:flex;align-items:center;gap:11px;flex-shrink:0}
.mf-icon-btn{border:1px solid #333339;background:#1b1b1f;color:#f6f6f6;border-radius:12px;width:44px;height:44px;display:grid;place-items:center;font-size:1.28rem}
.mf-icon-btn:hover{background:#303036}
.mf-header-login{min-height:43px;border:1px solid #61616b;border-radius:11px;background:#fff;color:#111;padding:0 16px;font-weight:800;font-size:.8rem}
.mf-account-menu{position:relative;color:#fff}
.mf-account-menu>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:5px;min-width:54px;min-height:44px;padding:0 9px;background:#242429;border:1px solid #3b3b43;border-radius:11px;font-weight:800;cursor:pointer}
.mf-account-menu summary::-webkit-details-marker{display:none}
.mf-account-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(82vw,240px);display:flex;flex-direction:column;gap:4px;padding:9px;border:1px solid #39393e;background:#17171a;border-radius:16px;box-shadow:0 15px 50px rgba(0,0,0,.4)}
.mf-account-name{display:flex;flex-direction:column;gap:3px;padding:10px;font-size:.72rem;color:#9999a2;border-bottom:1px solid #323237;overflow-wrap:anywhere}
.mf-account-name strong{color:#fff;font-size:.88rem}
.mf-account-panel button{min-height:44px;border:none;border-radius:9px;background:transparent;color:#e9e9ee;text-align:left;padding:0 11px;display:flex;align-items:center;gap:9px;font-size:.82rem;font-weight:600;width:100%}
.mf-account-panel button:hover{background:#303036}
.mf-content{width:100%;min-width:0;flex:1}
.mf-quiet-footer{padding:18px 15px max(25px,calc(15px + var(--mf-safe-bottom)));text-align:center;color:#9c9ca3;background:#f5f5f6;font-size:10px;letter-spacing:.09em}
.mf-bottom-nav{position:sticky;bottom:0;z-index:400;width:100%;display:flex;align-items:stretch;justify-content:space-around;background:rgba(12,12,14,.97);backdrop-filter:blur(20px);border-top:1px solid #2b2b31;padding:6px max(5px,env(safe-area-inset-right)) max(6px,var(--mf-safe-bottom));gap:1px}
.mf-nav-link{border:0;flex:1;min-width:0;min-height:55px;padding:4px 0;background:transparent;color:#a9a9b2;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border-radius:9px;font-size:.67rem;font-weight:650}
.mf-nav-link:hover,.mf-nav-link:focus-visible{color:#fff;background:#25252a}
.mf-nav-link i{font-size:1.37rem;line-height:1}
/* Explore */
.mf-home{background:#0b0b0d;color:#f7f7f9;min-height:calc(100dvh - 170px);padding:clamp(28px,5vw,72px) clamp(16px,5vw,78px) 65px}
.mf-home-hero{max-width:890px;padding-bottom:clamp(45px,6vw,85px)}
.mf-eyebrow{display:flex;align-items:center;gap:9px;font-weight:800;font-size:.67rem;letter-spacing:.17em;color:#d1c5c4}
.mf-status-dot{width:8px;height:8px;border-radius:50%;background:var(--mf-accent);box-shadow:0 0 0 5px rgba(250,99,91,.13)}
.mf-home-hero h1{font-family:Manrope,sans-serif;letter-spacing:-.068em;line-height:1.09;font-size:clamp(2.6rem,6vw,5.35rem);margin:21px 0 18px;font-weight:800}
.mf-home-hero p{max-width:640px;color:#a8a8b1;line-height:1.8;font-size:clamp(.91rem,1.6vw,1.09rem);margin:0}
.mf-section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.mf-section-title h2{font-family:Manrope,sans-serif;font-size:clamp(1.3rem,2vw,2rem);letter-spacing:-.04em;margin:10px 0 0;font-weight:800;color:#f9f9fa}
.mf-section-count{color:#898992;font-size:.8rem;white-space:nowrap}
.mf-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;align-items:stretch}
.mf-feature-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate;overflow:hidden;min-width:0;aspect-ratio:.78;min-height:325px;padding:23px 19px;border-radius:18px;border:1px solid #33333a;background:#1f1f23;color:#fff;text-align:left;transition:border-color .2s,transform .2s,box-shadow .2s}
.mf-feature-card:hover{transform:translateY(-4px);border-color:#77717a;box-shadow:0 16px 40px rgba(0,0,0,.2)}
.mf-feature-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:saturate(.75)}
.mf-card-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.66),rgba(0,0,0,.20) 35%,rgba(0,0,0,.87) 79%,rgba(0,0,0,.94))}
.mf-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#fff;width:100%}
.mf-card-top i{display:grid;place-items:center;font-size:1.43rem;width:42px;height:42px;border-radius:12px;background:rgba(0,0,0,.48);border:1px solid rgba(255,255,255,.2)}
.mf-card-top>span{font-weight:800;font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;color:#eaeaea}
.mf-card-bottom{display:flex;flex-direction:column;gap:10px;position:relative;padding-right:2px}
.mf-card-bottom strong{font-family:Manrope,sans-serif;font-size:clamp(1.05rem,1.6vw,1.43rem);letter-spacing:-.03em;line-height:1.25}
.mf-card-bottom small{font-size:.78rem;font-weight:500;color:#d0d0d4;line-height:1.45}
.mf-card-arrow{margin-top:5px;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#f7f7f7;color:#141417;font-size:1.3rem}
.mf-help-strip{display:flex;align-items:center;gap:18px;margin-top:28px;padding:23px;border:1px solid #303035;border-radius:17px;background:#17171a}
.mf-help-strip>i{font-size:1.55rem;color:#f4aba5;flex:none}
.mf-help-strip>div{flex:1;min-width:0}
.mf-help-strip strong{color:#fff;font-size:.9rem}
.mf-help-strip p{color:#92929c;font-size:.8rem;line-height:1.5;margin:5px 0 0}
.mf-help-strip button{background:#fff;color:#17171a;border:0;min-height:46px;border-radius:12px;padding:0 17px;font-size:.81rem;font-weight:800;display:flex;align-items:center;gap:6px;white-space:nowrap}
/* Unify inherited screens without overriding their actual tools, forms, or results. */
.mf-content .business-menu{max-width:1160px;margin:auto;padding:clamp(16px,4vw,42px)}
.mf-content .page-container{background:#f3f3f5;min-height:calc(100dvh - 170px)}
.mf-content .modern-form{border:1px solid #e4e4e7;box-shadow:0 8px 32px rgba(0,0,0,.07)}
.mf-content .menu-content{width:100%;max-width:1100px;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:18px;padding:18px;margin:18px auto}
.mf-content .menu-button,.mf-content .menu-button1{width:auto;max-width:100%;min-height:46px;font-size:1rem;padding:10px 17px;border-radius:11px}
.mf-content .order-image,.mf-content .circle-image{max-width:100%;height:auto;object-fit:cover}
.mf-content input,.mf-content select,.mf-content textarea{max-width:100%}
.mf-content .end{background:transparent!important;padding:15px!important;justify-content:center;gap:0}
.mf-content .last-text p,.mf-content .end p{color:#9999a1!important;font-size:10px!important;font-weight:500!important;letter-spacing:.04em;text-transform:none!important}
.mf-content .top{display:none}
.mf-content footer p{font-size:10px!important;opacity:.58}
.mf-content img{max-width:100%}
.mf-content [style*="max-width: 500px"],.mf-content [style*="max-width:500px"]{width:min(100%,500px)}
@media(max-width:1160px){.mf-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mf-feature-card{aspect-ratio:1.3;min-height:290px}.mf-auth-layout{grid-template-columns:minmax(0,1fr) minmax(340px,46%)}.mf-auth-identity{padding:35px}.mf-auth-aside{padding:30px}}
@media(max-width:700px){
 .mf-auth-layout{display:block;min-height:100dvh;background:#050505}
 .mf-auth-identity{display:none}
 .mf-auth-aside{background:#050505;min-height:100dvh;align-items:center;justify-content:center;padding:max(24px,calc(22px + var(--mf-safe-top))) 23px max(25px,calc(18px + var(--mf-safe-bottom)))}
 .mf-auth-card{max-width:480px;margin:auto}
 .mf-auth-mobile-brand{display:flex;align-items:center;gap:12px;margin-bottom:36px}
 .mf-auth-mobile-brand img{width:50px;height:50px;object-fit:cover;border-radius:12px}
 .mf-auth-mobile-brand b{font-size:1.16rem;font-family:Manrope,sans-serif;letter-spacing:.16em;color:#fff}
 .mf-auth-card-head h2{font-size:1.97rem}
 .mf-auth-card-head p{margin-bottom:25px}
 .mf-app-header{min-height:67px;padding:calc(7px + var(--mf-safe-top)) 12px 7px}
 .mf-brand-word{font-size:.92rem}
 .mf-header-mark{width:38px;height:38px}
 .mf-header-actions{gap:6px}
 .mf-icon-btn{width:42px;height:42px}
 .mf-home{padding:30px 16px 34px}
 .mf-home-hero{padding-bottom:40px}
 .mf-home-hero h1{font-size:clamp(2.25rem,8.4vw,3.5rem)}
 .mf-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .mf-feature-card{aspect-ratio:.81;min-height:250px;padding:15px 12px;border-radius:14px}
 .mf-card-bottom{gap:7px}.mf-card-bottom strong{font-size:1.05rem}.mf-card-bottom small{font-size:.71rem;line-height:1.35}
 .mf-card-top>span{font-size:.57rem}.mf-card-top i{width:36px;height:36px;font-size:1.15rem}
 .mf-help-strip{align-items:flex-start;flex-wrap:wrap;padding:17px;gap:11px}
 .mf-help-strip button{width:100%;justify-content:center}
 .mf-bottom-nav{position:fixed;bottom:0;left:0;right:0}
 .mf-quiet-footer{padding-bottom:calc(81px + var(--mf-safe-bottom))}
 .mf-content .menu-content{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px;padding:12px}
 .mf-content .row:hover{transform:none}
 .mf-content .business-menu{padding:18px 13px}
}
@media(max-width:350px){.mf-feature-grid{grid-template-columns:1fr}.mf-feature-card{aspect-ratio:1.8;min-height:225px}.mf-auth-aside{padding-left:14px;padding-right:14px}.mf-brand-word{font-size:.8rem}.mf-nav-link{font-size:.59rem}}
@media(min-width:701px){.mf-bottom-nav{display:none}.mf-content{min-height:70vh}}
@media(hover:none){.mf-feature-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){html *,html *:before,html *:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.mf-splash-track span{animation:none;width:100%}}
@media(prefers-contrast:more){.mf-input-wrap{border-color:#c0c0c8}.mf-auth-card-head p,.mf-auth-story p,.mf-auth-footnote{color:#d5d5db}.mf-nav-link{color:#fff}}
