:root{--bg:#eeebf8;--paper:#fff;--ink:#251e3a;--muted:#655b73;--accent:#5436a2;--line:#d9d2e8;--soft:#eee8fb;--radius:13px}
.editorial-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,350px);gap:1.2rem;align-items:start}
.editorial-top,.editorial-controls{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap}
.editorial-top h2{font-size:clamp(1.3rem,2.7vw,2.2rem);margin-bottom:.25rem}
.editorial-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-left:1px solid var(--line);border-top:1px solid var(--line)}
.editorial-calendar>:is(.weekday,.calendar-day,.calendar-blank){border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
.editorial-calendar>.weekday{padding:.45rem;text-align:center;font-size:.875rem;background:#f6f2fe}
.calendar-day,.calendar-blank{min-height:90px;padding:.25rem;display:grid;align-content:start;gap:.3rem}
.calendar-blank{background:#f8f6fc}
.calendar-day .day-number{height:30px;min-height:30px;width:32px;padding:0;border:0;border-radius:50%;justify-self:start}
.calendar-day.today .day-number{background:var(--accent);color:#fff}
.entry{min-width:0;width:100%;min-height:28px;text-align:left;justify-content:start;padding:.2rem .35rem;font-size:.875rem;overflow-wrap:anywhere}
.stage-0{color:#402877;background:#ede4fb}.stage-1{color:#17463d;background:#dcefe8}.stage-2{color:#70412b;background:#fff0d9}.stage-3{color:#293f67;background:#e3ebfc}
.editorial-drawer{background:#f9f7fe}
.editorial-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}
.board-column{background:#f7f4fb;border:1px solid var(--line);padding:.5rem;border-radius:8px;min-height:130px;display:grid;align-content:start;gap:.5rem}
.board-column h3{padding:.45rem;border-radius:5px}
.board-card{background:#fff;border:1px solid var(--line);padding:.38rem;border-radius:5px}
.board-card time{display:block;color:var(--muted);font-size:.875rem;padding:.3rem .2rem 0}
@media(max-width:900px){.editorial-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.editorial-board{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-controls{display:grid}.editorial-controls button{min-height:38px}.calendar-day,.calendar-blank{min-height:57px;padding:.1rem;gap:1px}.calendar-day .day-number{width:100%;height:28px;min-height:28px;border-radius:5px}.editorial-calendar .entry{font-size:.72rem;justify-content:center;min-height:23px;padding:.1rem;line-height:1.1;max-height:37px;overflow:hidden}.editorial-calendar .entry span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
