/* OrientalRacing compact schedule popover v1.2, scoped to active Home V2 #race-accuracy. */
#race-accuracy > .dfmj-home2-race-calendar-head{display:grid!important;grid-template-columns:minmax(0,1fr) 282px;grid-template-rows:auto auto;column-gap:20px;row-gap:4px;align-items:start;position:relative}
#race-accuracy > .dfmj-home2-race-calendar-head > .dfmj-kicker{grid-column:1;grid-row:1;min-width:0}
#race-accuracy > .dfmj-home2-race-calendar-head > h2{grid-column:1;grid-row:2;min-width:0}
#race-accuracy > .dfmj-home2-race-calendar-head > .orhmc{grid-column:2;grid-row:1/span 2;justify-self:end;width:282px}

.orhmc{flex:0 0 282px;max-width:100%;position:relative;font-family:inherit;color:#0a2835}
.orhmc *{box-sizing:border-box}
.orhmc-trigger{display:flex;flex-direction:column;align-items:flex-start;gap:4px;cursor:pointer;width:100%;padding:10px 14px;text-align:left;background:#fffaf0;border:1px solid #d7b56b;border-radius:12px;box-shadow:0 2px 10px rgba(32,58,48,.06);color:#0b3541;font-family:inherit;line-height:1.4}
.orhmc-trigger:hover,.orhmc-trigger:focus-visible{outline:2px solid #c4972f;outline-offset:2px;background:#fff7e4}
.orhmc-trigger__eyebrow{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:11px;font-weight:750;color:#8b641a;letter-spacing:.02em}
.orhmc-trigger__primary{font-size:21px;line-height:1.12;font-weight:850;color:#082a38;font-variant-numeric:tabular-nums}
.orhmc-trigger__minor{font-size:12px;color:#264a4c;font-weight:650}
.orhmc-trigger__hint{font-size:11px;color:#836426;margin-top:2px}
.orhmc-dialog{position:fixed;inset:0;margin:auto;width:min(420px,calc(100vw - 32px));max-height:min(80vh,680px);overflow-y:auto;padding:18px 18px 16px;background:#fffdf8;color:#0a3040;border:1px solid #c99f4a;border-radius:16px;box-shadow:0 18px 60px rgba(2,23,30,.24);z-index:999999;box-sizing:border-box;font-family:inherit}
.orhmc-dialog::backdrop{background:rgba(0,21,23,.43)}
.orhmc-dialog__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.orhmc-dialog__head h3{font-size:20px;line-height:1.2;margin:3px 0 0;color:#092d3a}
.orhmc-dialog__kicker{font-size:10px;font-weight:800;letter-spacing:.08em;color:#946b23}
.orhmc-dialog__close{width:30px;height:30px;min-width:30px;border:1px solid #e1d3b7;border-radius:8px;background:#fff;cursor:pointer;font-size:23px;line-height:25px;text-align:center;color:#314b52}
.orhmc-dialog__close:hover,.orhmc-dialog__close:focus-visible{border-color:#ba913a;outline:2px solid #c69c42}
.orhmc-dialog__highlight{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;background:#f7efd8;border:1px solid #e1c783;border-radius:10px;padding:11px 12px;margin-bottom:15px}
.orhmc-dialog__highlight small{flex:0 0 100%;color:#8d6315;font-weight:800;font-size:11px}
.orhmc-dialog__highlight strong{font-size:20px;color:#123d32}
.orhmc-dialog__highlight span{font-size:12px;color:#2c5550}
.orhmc-dialog__columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.orhmc-dialog__columns section{min-width:0}
.orhmc-dialog__columns h4{margin:0 0 8px;font-size:13px;color:#2d594e}
.orhmc-date-row{background:#fff;border:1px solid #e3dcca;border-radius:9px;padding:9px 8px;margin-bottom:7px;display:flex;flex-direction:column;gap:2px}
.orhmc-date-row strong{font-size:13px;color:#103f46;font-variant-numeric:tabular-nums}
.orhmc-date-row span{font-size:11px;color:#5c6970}
.orhmc-date-empty{font-size:12px;color:#6b7780;padding:6px 0}
.orhmc-dialog__foot{font-size:11px;line-height:1.65;color:#5b6f76;margin:9px 0 5px}
.orhmc-dialog__link{font-size:12px;font-weight:700;color:#086252;text-decoration:underline;text-underline-offset:2px}
@media(max-width:760px){
 #race-accuracy > .dfmj-home2-race-calendar-head{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:4px!important}
 #race-accuracy > .dfmj-home2-race-calendar-head > .orhmc{grid-column:1;grid-row:3;justify-self:stretch;margin-top:9px;width:100%}

 .orhmc{flex:0 1 auto;width:100%;max-width:100%}
 .orhmc-trigger{padding:10px 12px}
 .orhmc-dialog{width:calc(100vw - 28px);max-height:84vh;padding:15px 13px}
}
@media(max-width:360px){.orhmc-dialog__columns{gap:8px}.orhmc-dialog{width:calc(100vw - 24px)}.orhmc-trigger__primary{font-size:19px}}
@media (prefers-reduced-motion: reduce) { .orhmc-trigger, .orhmc-dialog { scroll-behavior:auto; } }