body[data-app=calendar]{--green:#34619a;--border:#dce5f0;--muted:#697d91;background:#f8fafd;color:#243349}
body[data-app=calendar] .workspace>header{background:#fff;border-color:#e1e8f0}
body[data-app=calendar] #main{max-width:1580px;padding-top:2rem}
body[data-app=calendar] .page-title h1{color:#183d69}
body[data-app=calendar] .primary{background:#34619a}
body[data-app=calendar] .toolbar{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin-bottom:1.2rem}
body[data-app=calendar] .toolbar>strong{font-size:1.15rem;margin:0 .4rem;color:#1c3e65}
body[data-app=calendar] .view-tabs{display:flex;gap:.25rem;margin-left:auto}
body[data-app=calendar] .view-tabs button{background:white;color:#376088;border-color:#dce5f0}
body[data-app=calendar] .view-tabs button[aria-pressed=true]{background:#34619a;color:white;border-color:#34619a}
.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#dce5f0;border:1px solid #dce5f0;border-radius:12px;overflow:hidden}
.calendar-week-day{min-width:0;min-height:560px;background:#fff}
.calendar-week-day.is-today{background:#f2f7ff}
.calendar-week-day header{height:auto;min-height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:8px;border-bottom:1px solid #e4ebf3;color:#526b85;background:transparent}
.calendar-week-day header span{font-size:.8rem;text-transform:capitalize}
.calendar-week-day header strong{font-size:1.25rem;color:#244467}
.calendar-week-day.is-today header strong{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#34619a;color:white}
.calendar-week-items{padding:7px;display:grid;align-content:start;gap:6px}
.calendar-week-items>p{font-size:.75rem;color:#a0adba;text-align:center;margin:1.1rem 0}
.calendar-week-event{width:100%;min-height:60px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:7px;border:0;border-left:3px solid #5a84bc;border-radius:6px;background:#e9f2ff;color:#24486e;text-align:left;font:inherit;overflow-wrap:anywhere}
.calendar-week-event time{font-size:.72rem;font-weight:700}
.calendar-week-event strong{font-size:.79rem;line-height:1.2}
.calendar-week-event small{font-size:.68rem;color:inherit;opacity:.8}
.calendar-week-event.tasks{border-color:#7654b5;background:#f0eafa;color:#49347d}
.calendar-week-event.planubia{border-color:#388a69;background:#e8f5ef;color:#215b46}
.calendar-week-event.matchvity{border-color:#b56a9b;background:#faeaf4;color:#7c3e68}
.calendar-week-event.grow{border-color:#829f40;background:#f1f5e3;color:#55702d}
@media(max-width:1100px){.calendar-week{grid-template-columns:repeat(4,minmax(0,1fr))}.calendar-week-day{min-height:240px}}
@media(max-width:760px){body[data-app=calendar] #main{padding:1.15rem .8rem}.calendar-week{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-week-day{min-height:190px}.calendar-week-day header{min-height:52px}.calendar-week-items{padding:5px}.calendar-week-event{min-height:52px}.calendar-week-event strong{font-size:.8rem}body[data-app=calendar] .view-tabs{margin-left:0}}
@media(max-width:420px){.calendar-week{grid-template-columns:1fr}.calendar-week-day{min-height:0}.calendar-week-items{padding:9px}.calendar-week-items>p{margin:.35rem 0}}
