/* MFOCAN 2026 - final unified surface system
   Scoped below .mf-content so authentication and original app behavior stay intact. */
:root{--mf-accent-soft:#fa756a;--mf-surface-2:#1b1b21;--mf-surface-3:#25252c;--mf-border-soft:#34343d;--mf-foreground:#f7f7f9;--mf-muted-2:#b7b7c1}
.mf-app-view .mf-content{background:#0b0b0e;color:var(--mf-foreground)}
.mf-app-view .mf-content>section{box-sizing:border-box;min-width:0;max-width:100%;overflow-x:clip}
.mf-app-view .mf-content :where(section,header,div,form,article){min-width:0}
.mf-app-view .mf-content :where(h1,h2,h3,h4){overflow-wrap:anywhere}
.mf-app-view .mf-content :where(button,input,select,textarea){font-family:'DM Sans',system-ui,sans-serif}
.mf-app-view .mf-content :where(input,select,textarea){font-size:16px}
.mf-app-view .mf-content :where(input,textarea)::placeholder{color:#9a9aa5!important;opacity:1}
.mf-app-view .mf-content :where(input,select,textarea):disabled{opacity:.58;cursor:not-allowed}
.mf-app-view .mf-content :where(button,a,input,select,textarea):focus-visible{outline:2px solid var(--mf-accent-soft)!important;outline-offset:3px}
/* Landing cards: allow actual descriptions and images to breathe. */
.mf-home .mf-feature-card{box-sizing:border-box;max-width:100%}
.mf-home .mf-feature-card>img{object-position:center;filter:saturate(.85) brightness(.78)}
.mf-home .mf-card-overlay{background:linear-gradient(to bottom,rgba(0,0,0,.54),rgba(0,0,0,.02) 35%,rgba(0,0,0,.73) 70%,rgba(0,0,0,.97))}
.mf-home .mf-card-bottom strong,.mf-home .mf-card-bottom small{overflow-wrap:normal;word-break:normal;color:#fff}
.mf-home .mf-card-top>span{white-space:normal;text-align:right;line-height:1.3}
/* Registration portals: replace legacy vivid-red fields and white/orange backgrounds. */
.mf-content .mf-registration-page{background:#0b0b0e!important;color:#f7f7f9!important;padding:clamp(20px,4vw,46px) clamp(16px,4vw,42px) 52px!important;min-height:calc(100dvh - 140px)!important}
.mf-content .mf-registration-page>header{width:100%!important;max-width:740px!important;margin:0 auto 24px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:16px!important;padding:0!important}
.mf-content .mf-registration-page>header h2{margin:0!important;color:#f7f7f9!important;font-family:Manrope,system-ui,sans-serif!important;font-size:clamp(1.65rem,5vw,2.45rem)!important;font-weight:800!important;letter-spacing:-.055em!important;line-height:1.15!important;text-align:left!important;text-transform:none!important}
.mf-content .mf-registration-page>header center{width:100%;text-align:left}
.mf-content .mf-registration-page>header .menu-button{display:inline-flex!important;align-items:center;justify-content:center;background:#1a1a20!important;border:1px solid #35353d!important;color:#f7f7f9!important;border-radius:12px!important;min-height:44px!important;padding:10px 16px!important;font-size:.83rem!important;box-shadow:none!important;width:auto!important}
.mf-content .mf-registration-page>section,.mf-content .mf-registration-page>div{width:100%!important;max-width:740px!important;margin:0 auto!important;padding:0!important;display:flex!important;justify-content:center!important;align-items:stretch!important}
.mf-content .mf-registration-page form.sign-form{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:740px!important;margin:0!important;padding:clamp(20px,5vw,38px)!important;background:#17171d!important;border:1px solid #35353d!important;border-radius:21px!important;color:#f8f8fa!important;box-shadow:0 18px 38px rgba(0,0,0,.13)!important}
.mf-content .mf-registration-page form h3{margin:0 0 23px!important;padding:0 0 14px!important;border:0!important;border-bottom:1px solid #363640!important;font-family:Manrope,system-ui,sans-serif!important;font-size:clamp(1.19rem,4vw,1.48rem)!important;font-weight:800!important;color:#fafafa!important;letter-spacing:-.035em!important}
.mf-content .mf-registration-page form label{display:block!important;color:#e4e4e9!important;font-size:.84rem!important;line-height:1.4!important;font-weight:700!important;margin-bottom:9px!important}
.mf-content .mf-registration-page form :where(input:not([type=checkbox]),select,textarea){display:block!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:100%!important;min-height:49px!important;padding:12px 14px!important;margin:0 0 18px!important;border:1px solid #3a3a44!important;border-radius:11px!important;background:#101015!important;color:#f5f5f7!important;box-shadow:none!important;outline:none;accent-color:var(--mf-accent-soft);color-scheme:dark}
.mf-content .mf-registration-page form :where(input:not([type=checkbox]),select,textarea):focus{border-color:#fa756a!important;box-shadow:0 0 0 3px rgba(250,117,106,.15)!important}
.mf-content .mf-registration-page form :where(input:not([type=checkbox]),select,textarea):disabled{background:#222229!important;color:#b8b8c0!important}
.mf-content .mf-registration-page form select option{background:#18181e;color:#fff}
.mf-content .mf-registration-page input[type=file]{padding:9px!important;height:auto!important;min-height:49px!important;font-size:.78rem!important;line-height:1.4!important;white-space:normal}
.mf-content .mf-registration-page input[type=file]::file-selector-button{padding:9px 12px;margin-right:12px;color:#fff;background:#303039;border:0;border-radius:8px;font-weight:700;cursor:pointer}
.mf-content .mf-registration-page form>div[style*="grid-template-columns: 1fr 1fr"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 17px!important}
.mf-content .mf-registration-page form>div>div{min-width:0!important}
.mf-content .mf-registration-page .mf-hours-row{width:100%!important;display:flex!important;align-items:center!important;gap:12px!important;background:#222229!important;border:1px solid #37373f!important;padding:13px!important;border-radius:12px!important}
.mf-content .mf-registration-page .mf-hours-row :where(input[type=time]){flex:1 1 0!important;min-width:0!important;margin:0!important;padding:9px!important}
.mf-content .mf-registration-page .mf-hours-row span{flex:none;color:#b8b8c2}
.mf-content .mf-registration-page .mf-operating-days{box-sizing:border-box!important;background:#222229!important;border:1px solid #37373f!important;border-radius:12px!important;padding:14px!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0 0 20px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.mf-content .mf-registration-page .mf-operating-days label{display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;padding:9px 4px!important;font-size:.84rem!important;font-weight:600!important;cursor:pointer}
.mf-content .mf-registration-page input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;accent-color:#fa756a!important;flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;cursor:pointer}
.mf-content .mf-registration-page #regBookable{margin:0!important}
.mf-content .mf-registration-page #regBookable+label{margin:0!important}
.mf-content .mf-registration-page form button[type=submit]{width:100%!important;min-height:51px!important;border-radius:12px!important;background:#f06458!important;color:#17171a!important;font-size:.95rem!important;font-weight:800!important;padding:13px 16px!important;border:0!important;box-shadow:none!important;margin-top:18px!important}
.mf-content .mf-registration-page form button[type=submit]:hover{background:#ff867a!important}
/* Service categories: convert old inline white clickable divs to real dark buttons. */
.mf-content .mf-service-type-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:69px!important;width:100%!important;max-width:100%!important;background:#1b1b21!important;color:#f7f7f9!important;border:1px solid #363640!important;border-left:3px solid #fa756a!important;border-radius:14px!important;padding:16px!important;text-align:left!important;box-shadow:none!important;transform:none!important;transition:background .16s,border-color .16s!important}
.mf-content .mf-service-type-row:hover,.mf-content .mf-service-type-row:focus-visible{background:#26262e!important;border-color:#fa756a!important}
.mf-content .mf-service-type-row>span:first-child{min-width:0!important;flex:1!important;color:#f7f7f9!important;font-size:clamp(.92rem,3.8vw,1.04rem)!important;font-weight:700!important;line-height:1.4!important;overflow-wrap:anywhere}
.mf-content .mf-service-type-row>span:last-child{flex:none!important;padding:6px 10px!important;background:#3b2526!important;border:1px solid #6c3939!important;border-radius:999px!important;color:#ffaaa0!important;font-size:.72rem!important;font-weight:800!important;white-space:nowrap!important}
/* Business listing/profile. All UI colors are scoped to the profile, not systemwide. */
.mf-content .mf-business-profile{background:#0b0b0e!important;color:#f7f7fa!important;padding:25px clamp(16px,4vw,36px) 55px!important;min-height:calc(100dvh - 150px)!important}
.mf-content .mf-business-profile #business-details-header{max-width:760px!important;margin:0 auto 22px!important}
.mf-content .mf-business-profile #business-details-header h1{color:#f6f6f8!important;font-size:clamp(1.75rem,5vw,2.35rem)!important;text-align:left!important;letter-spacing:-.045em!important;line-height:1.15!important}
.mf-content .mf-business-profile #business-details-header>div{text-align:left!important}
.mf-content .mf-business-profile #business-details-header span{color:#ff9389!important}
.mf-content .mf-business-profile .business-menu{max-width:760px!important;gap:0!important;padding:0!important}
.mf-content .mf-business-profile .business-menu>div{background:#19191f!important;color:#ececf0!important;border:1px solid #37373f!important;border-radius:19px!important;padding:clamp(17px,4vw,28px)!important;text-align:left!important;box-shadow:none!important}
.mf-content .mf-business-profile .business-menu p{color:#b8b8c4!important;overflow-wrap:anywhere!important;line-height:1.6!important}
.mf-content .mf-business-profile .business-menu p strong{color:#f6f6f8!important}
.mf-content .mf-business-profile .business-menu hr{border-color:#34343d!important}
.mf-content .mf-business-profile .business-menu a{color:#ffa197!important}
.mf-content .mf-business-profile .business-menu .order-image{width:100%!important;max-height:320px!important;border:1px solid #3d3d45!important;object-fit:cover!important;border-radius:14px!important}
.mf-content .mf-business-profile #requestOrderBtn{background:#fa756a!important;color:#101014!important;border-radius:11px!important;font-weight:800!important}
.mf-content .mf-business-profile #viewPricelistBtn{background:#27272d!important;color:#f6f6f8!important;border:1px solid #414149!important;border-radius:11px!important}
.mf-content .mf-business-profile #embeddedRequestFormContainer{max-width:100%!important;background:#121218!important;color:#f7f7f8!important;border:1px solid #3d3d45!important;border-radius:14px!important;padding:16px!important}
.mf-content .mf-business-profile #embeddedRequestFormContainer h4{color:#fff!important}
.mf-content .mf-business-profile #embeddedRequestFormContainer label{color:#e1e1e8!important}
.mf-content .mf-business-profile #embeddedRequestFormContainer :where(input,textarea,select){box-sizing:border-box!important;max-width:100%!important;width:100%!important;min-height:46px!important;padding:11px!important;border-radius:11px!important;background:#202028!important;color:#f7f7fa!important;border:1px solid #414149!important;color-scheme:dark}
/* Event/promoter detail should look like the same app, not a third white site. */
.mf-content .mf-performer-profile{background:#0b0b0e!important;color:#f8f8fa!important;padding:clamp(15px,4vw,36px)!important;padding-bottom:56px!important;min-height:calc(100dvh - 150px)!important}
.mf-content .mf-performer-profile>div:first-child{background:#19191e!important;color:#f8f8fa!important;border:1px solid #363640!important;border-bottom:0!important;border-radius:16px 16px 0 0!important;max-width:760px!important;margin:0 auto!important;padding:15px!important;position:relative!important;top:auto!important;z-index:1!important}
.mf-content .mf-performer-profile>div:first-child span{color:#f8f8fa!important;font-weight:800!important}
.mf-content .mf-performer-profile>div:first-child a{color:#ffa197!important}
.mf-content .mf-performer-profile #performer-main-card{max-width:760px!important;background:#19191f!important;color:#f7f7fa!important;border:1px solid #363640!important;border-radius:0 0 17px 17px!important;box-shadow:none!important}
.mf-content .mf-performer-profile #performer-main-card h1{color:#fff!important;font-family:Manrope,system-ui,sans-serif!important;font-size:clamp(1.55rem,5vw,2.05rem)!important;letter-spacing:-.05em!important}
.mf-content .mf-performer-profile #performer-main-card>div:nth-child(2)>div[style*="height: 1px"]{background:#3a3a42!important}
.mf-content .mf-performer-profile #performer-main-card a[href^="mailto"],.mf-content .mf-performer-profile #performer-main-card a[href^="tel"]{background:#25252c!important;border:1px solid #3c3c46!important;color:#f7f7fa!important;border-radius:11px!important;min-height:47px!important;display:inline-flex!important;align-items:center;justify-content:center}
.mf-content .mf-performer-profile #music-updates-link{background:#31313a!important;color:#fff!important;border-radius:11px!important;min-height:47px!important;display:inline-flex!important;align-items:center;justify-content:center;white-space:normal!important}
.mf-content .mf-performer-profile #performer-main-card .menu-button1{border-radius:11px!important;min-height:49px!important}
.mf-content .mf-performer-profile #performer-menu-items-container{border-top:1px solid #363640!important}
.mf-content .mf-performer-profile #performer-menu-items-container h3{color:#f6f6f8!important}
.mf-content .mf-performer-profile #performer-menu-items-container>p{color:#b1b1ba!important}
.mf-content .mf-performer-profile #performer-menu-items-container>div{background:#26262c!important;color:#f6f6f8!important;border-radius:12px!important}
.mf-content .mf-performer-profile>p{color:#93939f!important}
/* Request/notification panels assembled from legacy inline styles. */
.mf-content #notifications-container>div{background:#18181e!important;border:1px solid #363640!important;border-radius:16px!important;box-shadow:none!important;max-width:100%!important;overflow-wrap:anywhere}
.mf-content #notifications-container>div h3{color:#f6f6f8!important;line-height:1.45!important}
.mf-content #notifications-container>div p{color:#b9b9c3!important}
.mf-content #notifications-container>div>div>div{background:#222229!important;color:#f6f6f8!important;border:1px solid #383841!important;border-radius:12px!important}
.mf-content #requests-list-container>div{background:#1d1d23!important;color:#f6f6f8!important;border:1px solid #363640!important;border-radius:14px!important;box-shadow:none!important;max-width:100%!important;overflow-wrap:anywhere!important}
.mf-content #requests-list-container :where(h3,h4,strong){color:#f6f6f8!important}
.mf-content #requests-list-container :where(p,span){overflow-wrap:anywhere}
/* Cross-app consistent copy alignment and restrained muted footers. */
.mf-content footer{background:transparent!important;border-color:#25252a!important;opacity:.65!important}
.mf-content footer p{font-size:10px!important;color:#6e6e7a!important;letter-spacing:.03em!important}
@media(max-width:600px){
 .mf-home .mf-feature-grid{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
 .mf-home .mf-feature-card{aspect-ratio:auto!important;height:220px!important;min-height:220px!important;padding:17px 18px!important;border-radius:17px!important}
 .mf-home .mf-card-bottom{gap:6px!important}
 .mf-home .mf-card-bottom strong{font-size:1.14rem!important}
 .mf-home .mf-card-bottom small{font-size:.8rem!important;max-width:33ch!important}
 .mf-home .mf-card-top>span{font-size:.65rem!important}
 .mf-home .mf-home-hero{padding-bottom:34px!important}
 .mf-app-view .mf-content{padding-bottom:calc(75px + env(safe-area-inset-bottom,0px))!important}
 .mf-app-view .mf-content>section{min-height:0!important}
 .mf-content .mf-registration-page>header h2{font-size:1.65rem!important}
 .mf-content .mf-registration-page form>div[style*="grid-template-columns: 1fr 1fr"]>div{grid-column:1/-1!important}
 .mf-content .mf-registration-page .mf-hours-row{flex-direction:column!important;align-items:stretch!important;gap:7px!important}
 .mf-content .mf-registration-page .mf-hours-row input[type=time]{width:100%!important;flex:none!important}
 .mf-content .mf-registration-page .mf-hours-row span{text-align:center}
 .mf-content .mf-registration-page form.sign-form{padding:21px 17px!important}
 .mf-content .mf-registration-page .mf-operating-days{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}
 .mf-content .mf-registration-page .mf-operating-days label{font-size:.78rem!important}
 .mf-content .mf-service-type-row{padding:14px!important}
 .mf-content .mf-service-type-row>span:last-child{font-size:.69rem!important}
}
@media(max-width:345px){
 .mf-content .mf-service-type-row{gap:8px!important}
 .mf-home .mf-feature-card{height:205px!important;min-height:205px!important}
 .mf-content .mf-registration-page .mf-operating-days{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){.mf-app-view .mf-content :is(.mf-feature-card,.mf-service-type-row){transition:none!important}}
/* Detail actions and badges retain clear hierarchy on charcoal surfaces. */
.mf-content .mf-business-profile #details-back-btn{width:auto!important;min-height:44px!important;background:#1a1a20!important;color:#f8f8fa!important;border:1px solid #36363f!important;border-radius:12px!important;padding:9px 16px!important;box-shadow:none!important}
.mf-content .mf-business-profile .business-menu>div>div:first-child{background:#342528!important;border:1px solid #634147!important;border-radius:999px!important}
/* Other cards built by older routes: readable text and consistent container width. */
.mf-content #dynamic-businesses-container,.mf-content #dynamic-performers-container{width:100%!important;max-width:1050px!important;min-width:0!important;margin:auto}
.mf-content #dynamic-businesses-container .menu-item,.mf-content #dynamic-performers-container .menu-item{background:#1b1b21!important;border:1px solid #363640!important;border-radius:15px!important;box-shadow:none!important;min-height:100px!important;max-width:100%!important}
.mf-content #dynamic-businesses-container .menu-item img,.mf-content #dynamic-performers-container .menu-item img{border-radius:11px!important}
.mf-content #dynamic-businesses-container .menu-item :where(h3,h4),.mf-content #dynamic-performers-container .menu-item :where(h3,h4){color:#f8f8fa!important}
.mf-content #dynamic-businesses-container .menu-item p,.mf-content #dynamic-performers-container .menu-item p{overflow-wrap:anywhere}
/* Status messages should be obvious without inheriting old black-on-black palettes. */
.mf-content :is(#servicesMessage,#requestsMessage,#notificationsMessage,#registerBusinessMessage,#finalStatusMessage){min-height:0;overflow-wrap:anywhere}
