:root{--status-planned:#496c91;--status-progress:#a66c22;--status-completed:#287158;--status-cancelled:#8b5d58}.button-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--green);border-radius:10px;padding:11px 15px;font-weight:700;text-decoration:none}.button-link.secondary{border-color:#ccd8d2;background:#fff;color:var(--green)}.calendar-filters{display:grid;grid-template-columns:repeat(2,minmax(125px,.72fr)) repeat(4,minmax(145px,1fr)) auto;align-items:end;gap:8px;padding:16px 18px;border-bottom:1px solid var(--line);background:#fafbf9}.calendar-filters label{display:grid;gap:5px;color:var(--muted);font-size:10px;font-weight:800}.calendar-filters input,.calendar-filters select{width:100%;min-height:40px;border:1px solid #d7ded9;border-radius:9px;background:#fff;padding:8px 10px;color:var(--ink)}.calendar-filters button{min-height:40px}.status-summary{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) minmax(190px,1.35fr);gap:8px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fff}.status-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:#fafbf9}.status-card i{width:9px;height:34px;border-radius:5px;background:var(--status-planned)}.status-card.in_progress i{background:var(--status-progress)}.status-card.completed i{background:var(--status-completed)}.status-card.cancelled i{background:var(--status-cancelled)}.status-card strong,.status-card span{display:block}.status-card strong{font-size:20px;line-height:1.1}.status-card span{color:var(--muted);font-size:10px}.status-card.result{grid-template-columns:1fr auto;background:#eef5f1}.status-card.result b{font-size:20px;color:var(--green)}.event-pill.status-planned{border-left-color:var(--status-planned)}.event-pill.status-in_progress{border-left-color:var(--status-progress);box-shadow:inset 0 0 0 1px rgba(166,108,34,.15)}.event-pill.status-completed{border-left-color:var(--status-completed);text-decoration:none}.event-pill.status-completed:before{content:"✓ ";color:var(--status-completed)}.event-pill.status-cancelled{border-left-color:var(--status-cancelled);opacity:.62;text-decoration:line-through}.agenda-item.status-planned{border-left-color:var(--status-planned)}.agenda-item.status-in_progress{border-left-color:var(--status-progress)}.agenda-item.status-completed{border-left-color:var(--status-completed)}.agenda-item.status-cancelled{border-left-color:var(--status-cancelled);opacity:.7}.event-state{display:inline-flex!important;width:max-content;margin-top:4px;padding:3px 6px;border-radius:999px;background:#e8eef4;color:var(--status-planned)!important;font-size:9px!important;font-weight:800}.status-in_progress .event-state{background:#f6ead9;color:var(--status-progress)!important}.status-completed .event-state{background:#e1f0e9;color:var(--status-completed)!important}.status-cancelled .event-state{background:#eee8e7;color:var(--status-cancelled)!important}.legend .planned{background:#e8eef4;color:var(--status-planned)}.legend .in_progress{background:#f6ead9;color:var(--status-progress)}.legend .completed{background:#e1f0e9;color:var(--status-completed)}.legend .cancelled{background:#eee8e7;color:var(--status-cancelled)}.form-section{margin:16px 0;padding:8px 14px 12px;border:1px solid var(--line);border-radius:12px;background:#fafbf9}.form-section legend{padding:0 7px;color:var(--ink);font-weight:800}.form-section legend small{color:var(--muted);font-weight:400}.form-section>p{margin:0 0 4px;color:var(--muted);font-size:11px}.form-row.three{grid-template-columns:1fr 1fr 1fr}.modal label>small{display:block;margin-top:2px;color:var(--muted);font-weight:400}.detail-links{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.detail-links a,.detail-links span{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:#e9efeb;color:var(--green);font-size:10px;font-weight:700;text-decoration:none}.detail-links small{font-weight:400;opacity:.72}.progress-editor{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fafbf9}.progress-editor h3{margin:0 0 8px;font-size:15px}.progress-editor .form-row{align-items:end}.progress-editor label{margin:0}.progress-editor button{align-self:end}.plan-fact{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:12px 0}.plan-fact div{padding:10px;border-radius:9px;background:#f0f4f1}.plan-fact span,.plan-fact strong{display:block}.plan-fact span{color:var(--muted);font-size:9px}.plan-fact strong{font-size:18px}.series-note{display:flex;align-items:center;gap:7px;margin:10px 0;padding:8px 10px;border-radius:9px;background:#f4efe7;color:#795c30;font-size:11px}.series-note:before{content:"↻";font-size:18px}.filters-empty{padding:28px 13px;border:1px dashed #cfd6d1;border-radius:12px;color:var(--muted);text-align:center}@media(max-width:1280px){.calendar-filters{grid-template-columns:repeat(4,1fr)}.status-summary{grid-template-columns:repeat(4,1fr)}.status-card.result{grid-column:1/-1}}@media(max-width:760px){.calendar-filters{grid-template-columns:1fr 1fr}.calendar-filters button{grid-column:1/-1}.status-summary{grid-template-columns:1fr 1fr;padding:10px}.status-card.result{grid-column:1/-1}.form-row.three,.plan-fact{grid-template-columns:1fr}.hero-actions{align-items:stretch}.hero-actions>*{flex:1;white-space:nowrap}}
