/* Personal norm report. The app shell supplies the navigation and brand. */
body.rd-interface .mp-today-card{
 display:block;width:100%;max-width:620px;margin:0 0 20px;padding:19px 21px;
 border:1px solid #203e50;border-radius:14px;background:#102e42;color:white;
 text-align:left;line-height:1.45;box-shadow:0 5px 16px #102b3d18;
}
body.rd-interface .mp-today-card:hover:not(:disabled){background:#173c54}
body.rd-interface .mp-today-card[hidden]{display:none}
.mp-card-head,.mp-card-foot,.mp-card-head>span:first-child,.mp-card-foot>strong{
 display:flex;align-items:center;gap:8px;
}
.mp-card-head,.mp-card-foot{justify-content:space-between}
.mp-card-head{font-size:16px;font-weight:700}
.mp-today-tag{padding:3px 8px;border-radius:6px;background:#ffffff23;font-size:12px}
.mp-card-result{display:block;margin:6px 0 0;font-size:14px;color:#e3edf5}
.mp-percent{display:block;color:#123146;line-height:1.12;font-size:clamp(34px,5vw,44px);
 font-weight:750;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.mp-today-card .mp-percent{color:white}
.mp-credited{display:block;margin:5px 0 0;color:#435d70;font-size:15px}
.mp-today-card .mp-credited{color:#e3edf5}
.mp-schedule-note{display:block;margin:4px 0 8px;font-size:14px;color:#245b75;font-weight:700;overflow-wrap:anywhere}
.mp-today-card .mp-schedule-note{color:#e0edf7}
.mp-bar{display:block;height:7px;border-radius:99px;background:#e4ebf0;margin:12px 0;overflow:hidden}
.mp-bar>span{display:block;height:100%;border-radius:inherit;background:#237857}
.mp-today-card .mp-bar{background:#ffffff30}
.mp-today-card .mp-bar>span{background:#a5e653}
.mp-card-foot{font-size:13px;flex-wrap:wrap;color:#e3edf5}
.mp-card-foot:has(#mpCardGap:empty){justify-content:flex-end;margin-top:9px}
.mp-card-foot>strong{color:white}
.mp-card-foot .rd-icon{width:15px;height:15px}

body.rd-interface[data-rd-page=minePerformance] .rd-page-heading{display:none}
.mp-page{max-width:1100px}
body.rd-interface .mp-page #mpTitle{font-size:clamp(28px,4vw,36px);margin:0 0 16px}
.mp-page #mpTitle:focus{outline:none}
body.rd-interface .mp-page .mp-back{
 display:inline-flex;align-items:center;gap:7px;min-height:44px;margin:0 0 5px;padding-left:0;
 background:transparent;color:#245b9b;font-weight:700;font-size:14px;
}
body.rd-interface .mp-page .mp-back:hover:not(:disabled){background:transparent;color:#123d70}
.mp-controls,.mp-grid{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:16px;align-items:start;
}
.mp-controls{margin-bottom:12px}
.mp-period,.mp-date{display:grid;background:white;border:1px solid #cfd9e2;border-radius:10px;min-width:0}
.mp-period{grid-template-columns:repeat(3,minmax(0,1fr));padding:3px}
body.rd-interface .mp-period button,body.rd-interface .mp-date button{
 min-width:0;min-height:44px;padding:5px;border:0;border-radius:7px;background:transparent;
 color:#263e53;font-weight:700;font-size:14px;
}
body.rd-interface .mp-period button:hover:not(:disabled),body.rd-interface .mp-date button:hover:not(:disabled){background:#edf3fd}
body.rd-interface .mp-period button[aria-pressed=true],body.rd-interface .mp-period button[aria-pressed=true]:hover{background:#195bbf;color:white}
.mp-date{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:52px}
.mp-date button:first-child .rd-icon{transform:rotate(180deg)}
#mpDateText{color:#263e53;font-size:14px;text-align:center;padding:6px;overflow-wrap:anywhere}
.mp-manual-date{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,220px) auto;
 align-items:center;gap:8px;justify-content:start}
body.rd-interface .mp-manual-date label{grid-column:1/-1;font-size:14px;margin:0}
body.rd-interface .mp-manual-date input{min-width:0;width:100%;font-size:16px}
body.rd-interface .mp-manual-date button{min-height:44px}
.mp-date-error{margin:0 0 12px;color:#a32727;font-size:14px}
.mp-cutoff{margin:0 0 12px;color:#52697b;text-align:right;font-size:13px}
.mp-grid[hidden],.mp-feedback[hidden]{display:none}
.mp-feedback{
 display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-height:70px;
 padding:14px 16px;border:1px solid var(--rd-line);border-radius:13px;background:white;color:#435d70;
}
.mp-surface{min-width:0;border:1px solid var(--rd-line);border-radius:13px;background:#fff;padding:18px}
body.rd-interface .mp-surface h2{font-size:18px;margin:0 0 9px}
.mp-summary .mp-credited{margin-bottom:10px}
.mp-facts{margin:12px 0 0}
.mp-facts>div{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;
 padding:10px 0;border-top:1px solid #e6ebf1;color:#30495b;font-size:14px;
}
.mp-facts>div:last-child{padding-bottom:0}
.mp-facts dt{display:flex;align-items:center;gap:7px}
.mp-facts dd{margin:0;text-align:right;font-weight:700}
.mp-facts .mp-positive{color:#186145}
.mp-facts .mp-pending .rd-icon{color:#a65d0a}
.mp-days button,.mp-operations li{border-top:1px solid #e6ebf1}
body.rd-interface .mp-days button{
 display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(54px,.65fr) 16px;
 gap:8px;align-items:center;min-height:49px;width:100%;padding:8px 0;text-align:left;
 border-top:1px solid #e6ebf1;border-radius:0;background:white;color:#243b4e;font-size:14px;
}
body.rd-interface .mp-days button:hover:not(:disabled){background:#f3f7fc}
.mp-days button>span:nth-child(2){color:#52697b}
.mp-day-note{display:block;margin:2px 0 0;color:#52697b;font-size:12px;overflow-wrap:anywhere}
.mp-days button>strong{text-align:right;font-variant-numeric:tabular-nums}
.mp-days .rd-icon{width:16px;color:#668097}
.mp-operations{list-style:none;margin:0;padding:0}
.mp-operations li{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.55fr);gap:10px;
 align-items:start;padding:11px 0;overflow-wrap:anywhere;
}
.mp-operations li>div:last-child{text-align:right}
.mp-operations p{color:#52697b;font-size:13px;margin:3px 0 0}
.mp-op-status{display:block;color:#21644d;font-size:12px;font-weight:650}
.mp-op-wait{color:#89510e}
.mp-empty{margin:0;color:#52697b;font-size:14px}
@media(max-width:850px){.mp-controls,.mp-grid{grid-template-columns:minmax(0,1fr);gap:10px}}
@media(max-width:540px){
 body.rd-interface .mp-today-card{padding:14px 15px;margin-bottom:14px}
 body.rd-interface[data-rd-page=orders] #dashboard:has(.mp-today-card:not([hidden]))>.rd-page-heading{margin-bottom:12px}
 body.rd-interface[data-rd-page=orders] #dashboard:has(.mp-today-card:not([hidden])) :is(#rdPageEyebrow,#rdPageDescription){display:none}
 .mp-card-result{margin-top:4px}
 .mp-card-foot{gap:5px;font-size:13px}
 .mp-surface{padding:14px}
 .mp-cutoff{text-align:center}
}
