@layer reset, tokens, legado, componentes, inline;
@layer inline {
.pg-jo-mt8{margin-top:8px}
.pg-ferdont{display:block;font-size:.8em;font-weight:400;opacity:.8}
.pg-ctr-m20{text-align:center;margin:20px 0}
.pg-jo-w24{width:24%}
.pg-jo-tc{text-align:center}
.pg-cur{background:var(--jo-row-ok-bg, #ecfdf5);font-weight:600}
.pg-jo-tc-ok{text-align:center;color:var(--jo-ink-ok, #047857);font-weight:600}
.pg-jo-tc-hol{text-align:center;color:var(--jo-ink-holiday, #dc2626);font-weight:600}
.pg-jo-tc-mut{text-align:center;color:#9ca3af}
.pg-jo-tc-vio{text-align:center;color:var(--jo-ink-violet, #7c3aed);font-weight:600}
.pg-jo-src-note{font-size:0.85rem;color:var(--jo-ink-soft, #666);margin-top:8px;font-style:italic}
.pg-h2-howto{font-size:1.4rem;margin-bottom:16px;text-align:center}
}
@layer legado {

    .du-days-header--with-kw, .du-days-grid--with-kw { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; }

    .du-kw-cell { min-height: 0; padding: 0; box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-width: 0; background: none; color: var(--pn-gm-dw); opacity: .8; font-weight: 500; border: 0; cursor: default; font-variant-numeric: tabular-nums; }
    .du-kw-cell__label { display: none; font-size: 0.62rem; font-style: italic; font-weight: 600; line-height: 1; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.04em; }
    .du-kw-cell__num { font-size: 10px; line-height: 1; font-weight: 500; }
    .du-kw-head { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; color: var(--pn-gm-dw); opacity: .8; font-size: 10px; font-weight: 600; }
    .du-kw-cell:hover { background: var(--pn-mo-hover); }

    .du-day.row-hover, .du-day-empty.row-hover { filter: brightness(1.14); box-shadow: 0 0 0 2px rgba(11,91,211,0.45) inset; transition: filter 0.12s ease, box-shadow 0.12s ease; }
                body.dark-mode .du-day.row-hover, body.dark-mode .du-day-empty.row-hover { filter: brightness(1.22); box-shadow: 0 0 0 2px rgba(138,180,248,0.55) inset; }

}
