.nwd-events-calendar{--nwd-border:#e2e8f0;--nwd-muted:#64748b;--nwd-bg:#fff;--nwd-soft:#f8fafc;--nwd-text:#0f172a;--nwd-accent:#1d4ed8;--nwd-feature:#fff7ed;background:var(--nwd-bg);color:var(--nwd-text);border:1px solid var(--nwd-border);border-radius:16px;overflow:hidden;font-family:inherit;box-shadow:0 10px 30px rgba(15,23,42,.06)}
.nwd-events-toolbar{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:16px;border-bottom:1px solid var(--nwd-border);background:var(--nwd-bg)}
.nwd-events-left,.nwd-events-right,.nwd-view-switch{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.nwd-calendar-title{margin:0;text-align:center;font-size:clamp(1.1rem,2vw,1.5rem);line-height:1.2}
.nwd-btn,.nwd-view-btn{appearance:none;border:1px solid var(--nwd-border);background:#fff;color:var(--nwd-text);padding:9px 12px;border-radius:10px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;line-height:1.1}
.nwd-btn:hover,.nwd-view-btn:hover{background:var(--nwd-soft)}
.nwd-view-btn.is-active{background:var(--nwd-accent);color:#fff;border-color:var(--nwd-accent)}
.nwd-manage{background:var(--nwd-accent);color:#fff;border-color:var(--nwd-accent)}
.nwd-calendar-body{min-height:300px}
.nwd-cal-head{display:grid;grid-template-columns:repeat(7,1fr);background:var(--nwd-soft);border-bottom:1px solid var(--nwd-border)}
.nwd-cal-head>div{padding:10px;text-align:center;font-size:.82rem;font-weight:700;color:var(--nwd-muted)}
.nwd-cal-month{display:grid;grid-template-columns:repeat(7,1fr)}
.nwd-day-cell{min-height:120px;border-right:1px solid var(--nwd-border);border-bottom:1px solid var(--nwd-border);padding:8px;background:#fff}
.nwd-day-cell:nth-child(7n){border-right:0}
.nwd-day-cell.is-outside{background:var(--nwd-soft);color:#94a3b8}
.nwd-day-cell.is-today .nwd-day-num{background:var(--nwd-accent);color:#fff}
.nwd-day-num{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:999px;font-weight:700;margin-bottom:6px}
.nwd-day-events{display:flex;flex-direction:column;gap:4px}
.nwd-event-item{display:block;padding:5px 7px;border-radius:7px;background:#eff6ff;color:#1e3a8a;text-decoration:none;font-size:.82rem;overflow:hidden}
.nwd-event-item:hover{filter:brightness(.98)}
.nwd-event-item.is-featured{background:var(--nwd-feature);color:#9a3412}
.nwd-event-item-title{display:block;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nwd-event-item-meta{display:block;font-size:.75rem;opacity:.8;margin-top:2px}
.nwd-more{border:0;background:transparent;color:var(--nwd-accent);padding:2px 0;text-align:left;font:inherit;font-size:.78rem;cursor:pointer}
.nwd-cal-week{display:grid;grid-template-columns:repeat(7,1fr);min-height:420px}
.nwd-week-col{border-right:1px solid var(--nwd-border);padding:10px}
.nwd-week-col:last-child{border-right:0}
.nwd-week-head{font-weight:700;margin-bottom:10px}
.nwd-empty{font-size:.85rem;color:var(--nwd-muted)}
.nwd-event-agenda{padding:20px}
.nwd-day-agenda{display:grid;gap:14px}
.nwd-agenda-item{border:1px solid var(--nwd-border);border-radius:12px;padding:16px;background:#fff}
.nwd-agenda-item.is-featured{background:var(--nwd-feature)}
.nwd-agenda-item h3{margin:0 0 6px}
.nwd-agenda-meta{color:var(--nwd-muted);font-size:.92rem}
.nwd-empty-large{text-align:center;padding:60px 20px;color:var(--nwd-muted)}
.nwd-year-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:16px}
.nwd-year-month{border:1px solid var(--nwd-border);background:#fff;border-radius:12px;padding:20px;text-align:left;cursor:pointer}
.nwd-year-month:hover{background:var(--nwd-soft)}
.nwd-year-month strong,.nwd-year-month span{display:block}
.nwd-year-month span{margin-top:6px;color:var(--nwd-muted);font-size:.88rem}
.nwd-events-calendar:fullscreen{width:100vw;height:100vh;border:0;border-radius:0;overflow:auto;background:#fff}
.nwd-events-list{display:grid;gap:14px}
.nwd-event-card{border:1px solid var(--nwd-border,#e2e8f0);border-radius:12px;padding:16px;background:#fff}
.nwd-event-card h3{margin:.25rem 0 .4rem}
.nwd-event-date{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#475569}
.nwd-event-meta{color:#64748b;font-size:.92rem}
@media(max-width:960px){.nwd-events-toolbar{grid-template-columns:1fr}.nwd-calendar-title{text-align:left;order:-1}.nwd-cal-week{grid-template-columns:1fr}.nwd-week-col{border-right:0;border-bottom:1px solid var(--nwd-border)}.nwd-year-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.nwd-view-switch{display:grid;grid-template-columns:repeat(4,1fr);width:100%}.nwd-view-btn{padding:8px 6px;font-size:.85rem}.nwd-day-cell{min-height:82px;padding:4px}.nwd-cal-head>div{padding:7px 2px;font-size:.72rem}.nwd-day-num{width:24px;height:24px;font-size:.78rem}.nwd-event-item{font-size:.72rem;padding:4px}.nwd-event-item-meta{display:none}.nwd-events-right{width:100%}.nwd-year-grid{grid-template-columns:1fr 1fr;padding:10px}.nwd-year-month{padding:14px}.nwd-manage{width:100%;text-align:center}}
