body.mrf-redesigned{background:#f0f4f8;color:#172b45;font-family:Inter,'Segoe UI',sans-serif;margin:0}
.mrf-redesigned [hidden],.mrf-source{display:none!important}
.mrf-redesigned>header{background:linear-gradient(120deg,#122d4b,#123d59 65%,#078986);color:white;padding:32px max(24px,calc((100vw - 1080px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}
.mrf-redesigned>header small{color:#64dfce;letter-spacing:3px;font-size:15px;font-weight:750}
.mrf-redesigned>header h1{font-size:36px;letter-spacing:-1.2px;line-height:1.2;margin:12px 0 8px}
.mrf-redesigned>header p{font-size:16px;color:#c4d8e5;margin:0}
.mrf-redesigned>header #logout{background:#ffffff16;color:white;border:1px solid #ffffff24;min-height:42px}
.mrf-redesigned main{max-width:1128px;margin:0 auto;padding:24px 24px 100px}
.mrf-dashboard svg{height:23px;width:23px;flex-shrink:0}
.mrf-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.mrf-stat{background:white;color:#182e4a;padding:20px;border:1px solid #e5ecf1;border-radius:17px;display:flex;align-items:center;gap:16px;text-align:left;box-shadow:0 5px 18px #15324c06}
.mrf-stat small{font-size:14px;font-weight:500;color:#65718a;display:block}
.mrf-stat strong{font-size:34px;display:block;line-height:1.2;margin-top:4px}
.mrf-stat-icon{width:47px;height:47px;border-radius:50%;display:grid;place-items:center;background:#e4effc;color:#386a9a;flex-shrink:0}
.mrf-stat.active .mrf-stat-icon{background:#dff5eb;color:#009378}.mrf-stat.suspended .mrf-stat-icon{background:#ffe8e9;color:#c44751}
.mrf-stat[aria-pressed=true]{outline:2px solid #008d84}
.mrf-create{width:100%;background:#098e89;color:white;border:0;border-radius:13px;min-height:52px;font-size:17px;margin-bottom:17px;box-shadow:0 5px 16px #0e8f8419}
.mrf-search{display:flex;flex-direction:row;align-items:center;gap:12px;background:white;border:1px solid #dce4ed;border-radius:13px;padding:0 16px;color:#7c88a0;margin-bottom:15px}
.mrf-search input{border:0;box-shadow:none;background:transparent;padding:15px 0;margin:0;width:100%;font-size:16px;min-width:0;outline-offset:3px}
.mrf-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:white;border-radius:13px;padding:5px;box-shadow:0 3px 10px #183e4a06}
.mrf-tabs button{background:transparent;color:#59657a;font-size:14px;padding:11px 5px;min-width:0;border:0;border-radius:9px}
.mrf-tabs button[aria-pressed=true]{background:#d8f3ed;color:#0c524f}
.mrf-list-heading{display:flex;align-items:center;justify-content:space-between;margin:23px 0 12px}.mrf-list-heading h2{font-size:22px;margin:0;letter-spacing:-.5px}
.mrf-text{background:transparent;color:#087b79;padding:8px;font-size:13px;min-height:40px}
#mrfStatus{font-size:13px;color:#9e3f2f;line-height:1.5}#mrfStatus:empty{display:none}
.mrf-companies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.mrf-company{background:#fff;border:1px solid #e7edf2;box-shadow:0 4px 16px #19355206;border-radius:17px;padding:20px;min-width:0}
.mrf-company-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mrf-app-icon{height:46px;width:46px;display:grid;place-items:center;border-radius:13px;flex-shrink:0;background:#fff3d5;color:#c08a10}
.mrf-app-icon.inventory{background:#e6f1ff;color:#1766be}.mrf-app-icon.trainers{background:#f1e9ff;color:#7c48b8}
.mrf-company-name{flex:1;min-width:100px}.mrf-company-name h3{font-size:16px;line-height:1.3;overflow-wrap:anywhere;margin:0;color:#162b47;letter-spacing:-.25px}
.mrf-company-name p{font-size:12px;color:#67758c;margin:5px 0 0;overflow-wrap:anywhere}.mrf-company-name p span{color:#8691a3}
.mrf-status{font-size:10px;font-weight:650;padding:6px 9px;border-radius:20px;color:#996b19;background:#fff4d9;white-space:nowrap}.mrf-status.on{background:#dff5e9;color:#147552}.mrf-status.off{background:#fff0db;color:#a56e16}
.mrf-plan{font-size:12px;line-height:1.5;color:#788396;margin:14px 0}
.mrf-company-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mrf-company-actions button{background:#0a8885;color:white;font-size:13px;min-height:44px;border-radius:9px;padding:10px 8px;border:1px solid transparent;display:flex;align-items:center;justify-content:center;gap:7px}
.mrf-company-actions button.secondary{background:#f8fafc;border:1px solid #dde5ee;color:#4c5b72}.mrf-company-actions svg{width:17px;height:17px}
.mrf-company details{margin-top:10px;font-size:12px;color:#65768a}.mrf-company summary{cursor:pointer;padding:8px 0;min-height:32px}
.mrf-extra{display:grid;gap:8px;padding:8px 0}.mrf-extra button{background:#f1f5f8;color:#304a61;font-size:12px}.mrf-help{font-size:11px;line-height:1.4}
.mrf-utilities{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.mrf-utilities button{display:flex;align-items:center;gap:12px;background:#fff;color:#1a3752;border:1px solid #e4ebf0;border-radius:13px;padding:17px;font-size:13px;text-align:left}.mrf-utilities button span{flex:1}.mrf-utilities svg{color:#2783c6}
.mrf-bottom{display:flex;justify-content:center;gap:40px;margin:25px 0 0}.mrf-bottom button{display:grid;justify-items:center;gap:5px;background:transparent;color:#7b88a0;font-size:11px;padding:10px 25px}.mrf-bottom button[aria-current=page]{color:#008d86}
.mrf-empty{grid-column:1/-1;padding:36px 20px;text-align:center;background:#fff;border-radius:14px;color:#6c7b8b;font-size:14px}
.mrf-redesigned dialog{border:0;border-radius:18px;max-width:calc(100vw - 28px);box-shadow:0 22px 80px #142c4b44}.mrf-redesigned dialog::backdrop{background:#162a4680;backdrop-filter:blur(3px)}
.mrf-dialog{width:440px;padding:24px}.mrf-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mrf-dialog h2{font-size:21px;margin:0}.mrf-dialog-head button{background:#f1f5f9;color:#45556a;font-size:22px;min-width:40px;padding:5px}.mrf-dialog>p{font-size:14px;color:#697b8d;line-height:1.5}
.mrf-create-options,.mrf-setting-actions{display:grid;gap:12px;margin-top:18px}.mrf-create-options>button{display:flex;align-items:center;gap:12px;border:1px solid #e1e8ef;background:white;color:#203a50;text-align:left}.mrf-create-options>button>span:last-child{margin-left:auto}.mrf-create-options svg{width:24px;height:24px}.mrf-setting-actions button{background:#f1f6f8;color:#1e4c5a;min-height:46px}
.mrf-redesigned button:focus-visible,.mrf-redesigned summary:focus-visible{outline:3px solid #16a995;outline-offset:3px}
@media(max-width:700px){
 .mrf-redesigned>header{padding:24px 20px}.mrf-redesigned>header h1{font-size:28px;letter-spacing:-.8px}.mrf-redesigned>header small{font-size:12px;letter-spacing:2px}.mrf-redesigned>header p{font-size:13px}.mrf-redesigned>header #logout{font-size:12px;padding:8px 12px}
 .mrf-redesigned main{padding:18px 15px 100px}.mrf-overview{gap:8px;margin-bottom:14px}.mrf-stat{display:block;padding:12px 10px;border-radius:13px}.mrf-stat-icon{display:none}.mrf-stat small{font-size:10px}.mrf-stat strong{font-size:27px;margin-top:6px}
 .mrf-create{min-height:47px;font-size:15px}.mrf-search{padding:0 12px}.mrf-search input{padding:12px 0}.mrf-tabs button{font-size:11px;min-height:41px;padding:9px 2px}
 .mrf-companies{grid-template-columns:1fr;gap:12px}.mrf-company{padding:16px}.mrf-company-name h3{font-size:16px}.mrf-app-icon{width:40px;height:40px;border-radius:11px}.mrf-company-head{gap:9px}.mrf-status{font-size:9px;padding:5px 7px}.mrf-company-name p{font-size:11px}
 .mrf-company-actions button{font-size:12px}.mrf-plan{margin:11px 0;font-size:11px}.mrf-list-heading h2{font-size:20px}.mrf-list-heading{margin-top:21px}
 .mrf-utilities{gap:9px}.mrf-utilities button{padding:13px 10px;font-size:11px;gap:7px}.mrf-utilities svg{width:20px;height:20px}
 .mrf-bottom{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e3eaf0;box-shadow:0 -4px 16px #19344b06;margin:0;gap:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));z-index:25;justify-content:space-around}.mrf-bottom button{flex:1;min-height:54px;padding:7px 10px}.mrf-bottom button[aria-current=page]{background:#edf9f6;border-radius:10px}
}
