.oc-mm {
    --mm-azul: #1f6fd1;
    --mm-linha: #e5e5e5;
    --mm-dia-bg: #f8fafc;
    --mm-dia-bd: rgba(0, 0, 0, .08);
    --mm-fds-bg: #e8edf3;
    --mm-fds-bd: rgba(15, 23, 42, .10);
    --mm-fds-cor: #37352f;
    --mm-num: #333;
    --mm-x: #475569;
    container-type: inline-size;
    container-name: ocmm;
    max-width: 1200px;
    margin: 16px auto 24px;
    box-sizing: border-box;
    color: #333;
}
.oc-mm *, .oc-mm *::before, .oc-mm *::after { box-sizing: border-box; }
.oc-mm__in {
    background: #fff;
    border: 1px solid var(--mm-linha);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
    padding: 18px 20px;
}
.oc-mm__bar {
    padding: 0 0 18px;
    margin: 0 0 22px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.oc-mm__lay { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 24px; }
.oc-mm--sem-resumo .oc-mm__grade { max-width: 640px; width: 100%; margin: 0 auto; }
@container ocmm (min-width: 904px) {
    .oc-mm__lay { grid-template-columns: minmax(540px, 1fr) minmax(300px, 340px); align-items: stretch; }
    .oc-mm--sem-resumo .oc-mm__lay { grid-template-columns: minmax(0, 1fr); }
}
.oc-mm__grade { min-width: 0; }
.oc-mm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--mm-linha);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    padding: 14px;
}
.oc-mm-card__cab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: -14px -14px 14px;
    padding: 14px 20px;
    border-radius: 11px 11px 0 0;
    background: var(--mm-azul);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .06);
}
.oc-mm-card__nome { color: #fff; font-size: 22.4px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.oc-mm-card__ano {
    display: inline-flex; align-items: center; justify-content: center;
    height: 28px; padding: 0 14px; border-radius: 6px;
    background: #fff; color: var(--mm-azul); font-size: 13.76px; font-weight: 700; letter-spacing: .02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}
.oc-mm-g {
    container-type: inline-size;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 18px;
    font-size: 14.4px;
}
.oc-mm-g--sem { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.oc-mm-g__h, .oc-mm-g__hs {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-width: 0;
    padding: 0 0 12px;
    font-size: 13.12px; font-weight: 700; letter-spacing: .02em; color: #555;
}
.oc-mm-g__hs { color: #475569; font-size: 12.48px; }
.oc-mm-g__h::after, .oc-mm-g__hs::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px;
    background: #cbd5e1; border-radius: 2px; opacity: .7; pointer-events: none;
}
.oc-mm-g__h:last-of-type::after { right: 0; }
.oc-mm-g__hs::after { left: 0; }
.oc-mm-c { display: none; }
.oc-mm-g__s {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1; min-width: 0;
    border: 1px solid rgba(0, 113, 227, .3); border-radius: 6px;
    background: rgba(0, 113, 227, .14); color: #1d4ed8; font-size: 16px; font-weight: 800;
}
.oc-mm-d {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    aspect-ratio: 1 / 1; min-width: 0; overflow: hidden;
    padding: 4px 3px;
    border: 1px solid var(--mm-dia-bd); border-radius: 6px;
    background: var(--mm-dia-bg); color: var(--mm-num);
    font: inherit; text-decoration: none; text-align: center;
}
a.oc-mm-d, button.oc-mm-d { cursor: pointer; }
a.oc-mm-d:hover, button.oc-mm-d:hover, .oc-mm-d[tabindex]:hover { border-color: var(--mm-azul); }
.oc-mm-d.is-vazio { border: 0; background: transparent; }
.oc-mm-d.is-fds { background: var(--mm-fds-bg); border-color: var(--mm-fds-bd); color: var(--mm-fds-cor); }
.oc-mm-d.is-feriado { background: #fdebec; border-color: #f6c6cc; color: #c0392b; }
.oc-mm-d.is-feriado .oc-mm-d__n { color: #c0392b; }
.oc-mm-d.is-hoje { box-shadow: inset 0 0 0 2px var(--mm-azul); }
.oc-mm-d__n { font-size: 17.6px; font-weight: 700; line-height: 1; color: inherit; }
.oc-mm-d__x, .oc-mm-d__xc {
    display: block; max-width: 100%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 10.5px; line-height: 1.2; font-weight: 600; color: var(--mm-x);
}
.oc-mm-d__xc { display: none; }
.oc-mm-d__ic {
    position: absolute; right: 3px; bottom: 3px;
    display: inline-flex; width: 14px; height: 14px; line-height: 0;
}
.oc-mm-d__ic svg, .oc-mm-d__ic img { width: 100%; height: 100%; }
.oc-mm-d:has(.oc-mm-d__ic) .oc-mm-d__x { padding-right: 0; }
@container (max-width: 480px) {
    .oc-mm-g { gap: 4px; }
    .oc-mm-g--sem { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .oc-mm-g__hs, .oc-mm-g__s { display: none; }
    .oc-mm-g__h { font-size: 12px; padding-bottom: 10px; }
    .oc-mm-d { padding: 2px 1px; }
    .oc-mm-d__n { font-size: 15px; }
    .oc-mm-d__x { font-size: 9px; }
    .oc-mm-d__x.has-curto { display: none; }
    .oc-mm-d__xc { display: block; font-size: 9px; }
    .oc-mm-d__ic { width: 10px; height: 10px; right: 2px; bottom: 2px; }
}
@container (max-width: 340px) {
    .oc-mm-l { display: none; }
    .oc-mm-c { display: inline; }
    .oc-mm-d__x:not(.has-curto) { font-size: 8px; }
}
.oc-mm-lista {
    list-style: none; margin: 0; padding: 10px 0 0;
    border-top: 1px dashed #e2e8f0;
    font-size: 12.8px; color: #555;
}
.oc-mm-lista li { margin: 0 0 4px; }
.oc-mm-lista li strong { color: #5f6b7a; font-weight: 700; }
.oc-mm-lista li.is-feriado, .oc-mm-lista li.is-feriado strong { color: #c0392b; }
.oc-mm__resumo { min-width: 0; display: flex; }
.oc-mm-sum {
    width: 100%;
    padding: 18px 16px;
    border: 1px solid #e5e7eb; border-radius: 16px;
    background: #f7faff;
    box-shadow: 0 4px 18px rgba(0, 113, 227, .09), 0 1px 3px rgba(0, 0, 0, .04);
}
.oc-mm-sum__t {
    padding: 0 0 9px; margin: 0 0 12px;
    border-bottom: 2px solid rgba(0, 113, 227, .1);
    color: #0062c4; font-size: 15.2px; font-weight: 700; letter-spacing: .01em;
}
.oc-mm-sum__r {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; align-items: baseline;
    padding: 6px 10px; margin: 0 0 4px;
    border: 1px solid rgba(0, 113, 227, .11); border-radius: 10px;
    background: rgba(255, 255, 255, .5);
}
.oc-mm-sum__l { color: #5f6b7f; font-size: 11.52px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.oc-mm-sum__l { min-width: 0; }
.oc-mm-sum__v { color: #0f172a; font-size: 14.72px; font-weight: 700; text-align: right; margin-left: auto; min-width: 0; overflow-wrap: anywhere; }
.oc-mm-sum__v small { font-size: 11px; font-weight: 400; color: #5f6b7f; }
.oc-mm__acoes .oc-n2-foot { margin-top: 18px; }
@media (max-width: 600px) {
    .oc-mm__in { padding: 14px 12px; }
    .oc-mm-card { padding: 10px 8px; }
    .oc-mm-card__cab { margin: -10px -8px 12px; padding: 12px 16px; }
}
body.dark-mode .oc-mm { --mm-linha: #2d3748; --mm-dia-bg: #1e293b; --mm-dia-bd: rgba(255,255,255,.08); --mm-fds-bg: #273449; --mm-fds-cor: #e2e8f0; --mm-num: #e2e8f0; --mm-x: #a0aec0; color: #e2e8f0; }
body.dark-mode .oc-mm__in, body.dark-mode .oc-mm-card { background: #111827; }
body.dark-mode .oc-mm-sum { background: #0f172a; border-color: #2d3748; }
body.dark-mode .oc-mm-sum__v { color: #f1f5f9; }
@media print {
    .oc-mm__bar, .oc-mm__acoes { display: none !important; }
    .oc-mm__in { box-shadow: none; border: 0; }
}
.oc-gm--cab-azul .month-container .month-title.oc-gm-cab {
    display: flex !important; align-items: center; justify-content: space-between; gap: 8px;
    margin: -1px -1px 10px !important; padding: 10px 14px !important;
    border-radius: 10px 10px 0 0;
    background: #1f6fd1 !important; color: #fff !important;
    font-size: 17px !important; font-weight: 700; text-transform: none !important; letter-spacing: 0 !important;
    border-bottom: 0 !important;
}
.oc-gm--cab-azul .month-title.oc-gm-cab::before, .oc-gm--cab-azul .month-title.oc-gm-cab::after { display: none !important; }
.oc-gm-cab__ano {
    display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 5px;
    background: #fff; color: #1f6fd1; font-size: 12px; font-weight: 700;
}
.oc-gm--cab-azul .month-title.oc-gm-cab small { color: #dbeafe; font-weight: 600; font-size: 12px; }
#annual-calendar-container .month-title.oc-gm-com-bdg { display: flex !important; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: nowrap; text-align: left !important; }
.oc-gm-cab__esq { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.oc-gm-bdgs { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
.oc-gm-bdg {
    display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px;
    font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; letter-spacing: 0; text-transform: none;
    background: #e8f1fd; color: #1557b0; border: 1px solid #cfe0f7;
}
.oc-gm--cab-azul .oc-gm-bdg { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .45); }
.oc-gm-tit-bdg .oc-gm-cab__esq { font-weight: 700; }
.oc-mm-leg, .oc-gm-leg { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px dashed #e2e8f0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: #475569; }
.oc-mm-leg li, .oc-gm-leg li { display: inline-flex; align-items: center; gap: 5px; }
.oc-mm-leg__sw { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(15, 23, 42, .15); display: inline-block; }
.oc-mm-leg__ic { display: inline-flex; width: 14px; height: 14px; }
.oc-mm-leg__ic svg { width: 100%; height: 100%; }
.oc-mm__perso { margin: 14px 0 0; padding: 12px 14px; border: 1px solid #dbe4f0; border-radius: 12px; background: #f7faff; font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.oc-mm__perso[hidden] { display: none; }
.oc-mm-br { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; }
.oc-mm--sem-br .is-br { display: none !important; }
.oc-mm--sem-br .oc-mm-d.is-br-dia { background: var(--mm-dia-bg); border-color: var(--mm-dia-bd); color: var(--mm-num); }
.oc-mm--sem-br .oc-mm-d.is-br-dia.is-fds { background: var(--mm-fds-bg); border-color: var(--mm-fds-bd); }
.oc-mm--sem-br .oc-mm-d.is-br-dia .oc-mm-d__n { color: inherit; }
.oc-mm-lua { display: inline-flex; line-height: 0; }
.oc-mm-lua svg { filter: drop-shadow(0 0 .6px rgba(15, 23, 42, .75)) drop-shadow(0 1px 1px rgba(15, 23, 42, .18)); }
.oc-mm-card__cab { justify-content: flex-start; }
.oc-gm-leg__sw { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(15, 23, 42, .15); display: inline-block; }
.oc-gm-leg__ic { display: inline-flex; width: 14px; height: 14px; }
.oc-gm-leg__ic svg { width: 100%; height: 100%; }
#annual-calendar-container .month-container .month-title.oc-gm-cab,
.oc-gm--cab-azul .month-container .month-title.oc-gm-cab {
    display: flex !important; align-items: center; justify-content: space-between; gap: 8px;
    min-height: 44px; box-sizing: border-box;
    margin: calc(-1 * var(--oc-gm-pad, 0px)) calc(-1 * var(--oc-gm-pad, 0px)) 10px !important;
    padding: 8px 14px !important; border-radius: 6px 6px 0 0 !important;
    background: #1f6fd1 !important; color: #fff !important; border: 0 !important;
    font-size: 17px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important;
}
.oc-gm-cab .oc-gm-cab__nome { font-weight: 600; color: #fff; }
.oc-gm-cab .oc-gm-cab__nome a { color: #fff !important; text-decoration: none; }
.oc-gm-cab .oc-gm-cab__ano { background: none !important; box-shadow: none; height: auto; padding: 0; color: rgba(255, 255, 255, .72) !important; font-size: 15px; font-weight: 600; }
.oc-gm-cab .oc-gm-bdg { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.oc-mm .oc-mm-g { gap: 10px !important; }
@container (max-width: 480px) { .oc-mm .oc-mm-g { gap: 5px !important; } }
.oc-mm--sem-contorno .oc-mm-d:not(.is-vazio) { border-color: transparent !important; box-shadow: 0 1px 3px rgba(15, 23, 42, .12), 0 0 0 0 transparent; }
.oc-mm--sem-contorno .oc-mm-d:not(.is-vazio)[class*=" is-"]:not(.is-hoje), .oc-mm--sem-contorno .oc-mm-d:not(.is-vazio)[style*="background"] { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(15, 23, 42, .10); }
.oc-mm--sem-contorno .oc-mm-d.is-hoje { box-shadow: inset 0 0 0 2px var(--mm-azul); }
body.dark-mode .oc-mm-lua svg, body.dark-mode .oc-gm-leg__ic svg { filter: drop-shadow(0 0 1px rgba(226, 232, 240, .9)) drop-shadow(0 0 2px rgba(226, 232, 240, .35)); }
body.dark-mode .oc-mm { --mm-azul: #3b82f6; }
body.dark-mode .oc-mm-card__cab { background: #1e4f9a; }
body.dark-mode .oc-mm-g__h, body.dark-mode .oc-mm-g__hs { color: #cbd5e1; }
body.dark-mode .oc-mm-g__s { background: rgba(59, 130, 246, .18); border-color: rgba(59, 130, 246, .4); color: #93c5fd; }
body.dark-mode .oc-mm-lista, body.dark-mode .oc-mm-leg, body.dark-mode .oc-gm-leg { color: #cbd5e1; border-color: #334155; }
body.dark-mode .oc-mm-lista li strong { color: #94a3b8; }
body.dark-mode .oc-mm-lista li.is-feriado, body.dark-mode .oc-mm-lista li.is-feriado strong { color: #f87171; }
body.dark-mode .oc-mm-d.is-feriado { background: #3b1518; border-color: #7f1d1d; color: #fca5a5; }
body.dark-mode .oc-mm-d.is-feriado .oc-mm-d__n { color: #fca5a5; }
body.dark-mode .oc-mm-sum__t { color: #93c5fd; border-color: rgba(147, 197, 253, .2); }
body.dark-mode .oc-mm-sum__r { background: rgba(15, 23, 42, .5); border-color: rgba(147, 197, 253, .18); }
body.dark-mode .oc-mm-sum__l, body.dark-mode .oc-mm-sum__v small { color: #94a3b8; }
body.dark-mode .oc-mm__perso { background: #0f172a; border-color: #334155; color: #e2e8f0; }
body.dark-mode .oc-mm__bar { border-color: rgba(255, 255, 255, .12); }
body.dark-mode .oc-gm-cab, body.dark-mode #annual-calendar-container .month-title.oc-gm-cab { background: #1e4f9a !important; }
body.dark-mode .oc-gm-bdg { background: #1e293b; color: #bfdbfe; border-color: #334155; }
body.dark-mode .oc-mm--sem-contorno .oc-mm-d:not(.is-vazio) { box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
#annual-calendar-container.oc-gm--cab-azul .month-container, .oc-gm--cab-azul #annual-calendar-container .month-container { --oc-gm-pad: 15px; border-radius: 6px !important; overflow: hidden; }
#annual-calendar-container .month-container .month-title.oc-gm-cab { border-radius: 5px 5px 0 0 !important; margin-top: -15px !important; margin-left: -15px !important; margin-right: -15px !important; }
.calendar-month-single-card .month-title { justify-content: flex-start !important; }
.calendar-month-single-card .month-title__ano-texto { color: #fff; font-size: 22.4px; font-weight: 700; letter-spacing: -.02em; white-space: pre; }
.oc-cal-sem-contorno .calendar-month-grid .calendar-month-day:not(.empty) { border-color: transparent !important; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.oc-cal-sem-contorno .calendar-month-grid .calendar-month-day.weekend:not(.empty), .oc-cal-sem-contorno .calendar-month-grid .calendar-month-day.holiday { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(15, 23, 42, .10); }
.calendar-month-grid.calendar-month-grid--with-weeks { gap: 10px; }
@media (max-width: 600px) { .calendar-month-grid.calendar-month-grid--with-weeks { gap: 5px; } }
.calendar-month-day .holiday-day-label { font-size: 0 !important; overflow: visible !important; text-overflow: clip !important; }
.calendar-month-day .holiday-day-label::after { content: "Feriado"; font-size: 9px; }
.calendar-month-single-card .month-title__name { flex: 0 0 auto !important; width: auto !important; }
.calendar-month-single-card .month-title__ano-texto { white-space: normal !important; margin-left: -4px; }
body.dark-mode .oc-mm--sem-br .oc-mm-d.is-br-dia { background: var(--mm-dia-bg); border-color: var(--mm-dia-bd); color: var(--mm-num); }
body.dark-mode .oc-mm--sem-br .oc-mm-d.is-br-dia.is-fds { background: var(--mm-fds-bg); }
body.dark-mode .oc-mm--sem-br .oc-mm-d.is-br-dia .oc-mm-d__n { color: inherit; }
.oc-mm-sum__t { border-bottom: 1px solid #e2e8f0 !important; }
body.dark-mode .oc-mm-sum__t { border-bottom-color: #334155 !important; }
body.dark-mode #annual-calendar-container .calendar-day.today,body.dark-mode #annual-calendar-container .calendar-day.today.weekend,body.dark-mode #annual-calendar-container .calendar-day.today.holiday{background:#0062d6!important;color:#fff!important}
body.dark-mode #annual-calendar-container .calendar-day.today time{color:#fff!important}
