.postly-calendar-page{gap:24px;width:100%;min-width:0;display:grid}.postly-calendar-page .postly-page-intro{align-items:center;margin-bottom:0}.postly-calendar-summary{border:1px solid var(--postly-border);border-radius:var(--postly-radius-md);background:var(--postly-surface);color:var(--postly-text-secondary);flex-shrink:0;align-items:center;gap:10px;padding:12px 16px;font-size:12px;display:flex}.postly-calendar-summary-number{color:var(--postly-primary-dark);font-size:23px;font-weight:750}.postly-calendar-panel{overflow:hidden}.postly-calendar-toolbar{border-bottom:1px solid var(--postly-border-light);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;display:flex}.postly-calendar-month-controls,.postly-calendar-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.postly-calendar-month-title{text-align:center;letter-spacing:-.3px;min-width:185px;margin:0;font-size:19px;font-weight:750}.postly-calendar-arrow{border:1px solid var(--postly-border);cursor:pointer}.postly-calendar-today{min-height:36px;padding:7px 12px}.postly-calendar-view-switch{border:1px solid var(--postly-border);border-radius:var(--postly-radius-md);background:var(--postly-surface-muted);padding:3px;display:inline-flex}.postly-calendar-view-switch button{min-height:32px;color:var(--postly-text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:650}.postly-calendar-view-switch button.postly-calendar-view--active{background:var(--postly-surface);color:var(--postly-primary-dark);box-shadow:0 1px 3px #0f172a1a}.postly-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.postly-calendar-weekday{border-bottom:1px solid var(--postly-border-light);background:var(--postly-surface-muted);color:var(--postly-text-secondary);text-align:center;padding:13px 8px;font-size:11px;font-weight:750}.postly-calendar-day{border:0;border-right:1px solid var(--postly-border-light);border-bottom:1px solid var(--postly-border-light);background:var(--postly-surface);text-align:left;cursor:pointer;min-width:0;min-height:118px;transition:background var(--postly-transition), box-shadow var(--postly-transition);flex-direction:column;align-items:stretch;gap:8px;padding:10px 8px;display:flex;position:relative}.postly-calendar-day:nth-child(7n){border-right:0}.postly-calendar-day:hover{background:var(--postly-hover)}.postly-calendar-day--outside{background:var(--postly-surface-muted);color:var(--postly-text-muted)}.postly-calendar-day--selected{z-index:1;background:var(--postly-primary-subtle);box-shadow:inset 0 0 0 2px var(--postly-primary)}.postly-calendar-day-number{width:27px;height:27px;color:var(--postly-text);border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:650;display:inline-flex}.postly-calendar-day--outside .postly-calendar-day-number{color:var(--postly-text-muted)}.postly-calendar-day--today .postly-calendar-day-number{background:var(--postly-primary);color:#fff}.postly-calendar-day-events{align-content:start;gap:4px;min-width:0;display:grid}.postly-calendar-event{background:var(--postly-primary-light);min-width:0;color:var(--postly-primary-dark);border-radius:5px;align-items:center;gap:5px;padding:4px 5px;font-size:10px;line-height:1.35;display:flex}.postly-calendar-event--draft{background:var(--postly-info-background);color:var(--postly-info-text)}.postly-calendar-event--published{background:var(--postly-neutral-background);color:var(--postly-neutral-text)}.postly-calendar-event--failed{background:var(--postly-danger-soft);color:var(--postly-danger-text)}.postly-calendar-event>span:first-child{flex-shrink:0;font-weight:750}.postly-calendar-event-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.postly-calendar-more{color:var(--postly-text-secondary);padding-left:4px;font-size:10px}.postly-calendar-mobile-dot{display:none}.postly-calendar-selected{overflow:hidden}.postly-calendar-selected-count{background:var(--postly-primary-subtle);width:30px;height:30px;color:var(--postly-primary-dark);border-radius:50%;place-items:center;font-size:12px;font-weight:750;display:inline-grid}.postly-calendar-selected-list{padding:0 22px}.postly-calendar-selected-post{border-bottom:1px solid var(--postly-border-light);gap:12px;padding:18px 0;display:flex}.postly-calendar-selected-post:last-child{border-bottom:0}.postly-calendar-event-dot{background:var(--postly-primary);border-radius:50%;flex-shrink:0;width:9px;height:9px;margin-top:5px}.postly-calendar-event-dot--draft{background:var(--postly-info-dot)}.postly-calendar-event-dot--published{background:var(--postly-neutral-dot)}.postly-calendar-event-dot--failed{background:var(--postly-danger)}.postly-calendar-selected-main{flex:1;min-width:0}.postly-calendar-selected-meta{color:var(--postly-text-secondary);flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;display:flex}.postly-calendar-selected-meta strong{color:var(--postly-primary-dark)}.postly-calendar-selected-main h4{overflow-wrap:anywhere;margin:8px 0 5px;font-size:14px;font-weight:700}.postly-calendar-selected-main p{color:var(--postly-text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.65}.postly-calendar-empty{text-align:center;color:var(--postly-text-secondary);justify-items:center;gap:10px;padding:42px 20px;display:grid}.postly-calendar-empty>.postly-icon{width:28px;height:28px;color:var(--postly-primary)}.postly-calendar-empty h3{color:var(--postly-text);margin:0;font-size:15px}.postly-calendar-empty p{margin:0;font-size:12px;line-height:1.6}.postly-calendar-empty--compact{padding:26px 16px}.postly-calendar-agenda{padding:8px 22px 18px}.postly-agenda-day{padding:15px 0 5px}.postly-agenda-day h4{margin:0 0 12px;font-size:13px;font-weight:750}.postly-agenda-post{border:1px solid var(--postly-border-light);border-radius:var(--postly-radius-md);align-items:flex-start;gap:12px;margin-bottom:8px;padding:14px;display:flex}.postly-agenda-post>div{flex:1;min-width:0}.postly-agenda-post strong{font-size:13px}.postly-agenda-post p{color:var(--postly-text-secondary);margin:4px 0;font-size:11px}.postly-agenda-post>div>span{color:var(--postly-text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}@media (max-width:1050px){.postly-calendar-day{min-height:100px;padding:8px 5px}.postly-calendar-event,.postly-calendar-event>span:first-child,.postly-calendar-event-title{display:block}}@media (max-width:700px){.postly-calendar-page{gap:18px}.postly-calendar-page .postly-page-intro{flex-direction:column;align-items:flex-start}.postly-calendar-toolbar{align-items:stretch;padding:14px}.postly-calendar-month-controls{justify-content:space-between}.postly-calendar-month-title{flex:1;min-width:0;font-size:16px}.postly-calendar-actions{justify-content:space-between}.postly-calendar-actions>.postly-button{flex:1}.postly-calendar-weekday{padding:10px 0;font-size:10px}.postly-calendar-day{align-items:center;gap:3px;min-height:66px;padding:6px 2px}.postly-calendar-day-number{width:25px;height:25px;font-size:11px}.postly-calendar-day-events{display:none}.postly-calendar-mobile-dot{background:var(--postly-primary);border-radius:50%;width:5px;height:5px;display:block}.postly-calendar-day--selected .postly-calendar-mobile-dot{background:var(--postly-primary-dark)}.postly-calendar-selected-list{padding:0 16px}.postly-calendar-selected-post{gap:9px}.postly-calendar-selected-meta{gap:7px}.postly-calendar-selected-meta .postly-status{margin-left:0}.postly-calendar-summary{padding:9px 12px}.postly-agenda-post{flex-wrap:wrap;padding:12px}.postly-agenda-post .postly-status{margin-left:20px}.postly-calendar-agenda{padding:8px 14px 14px}}@media (prefers-reduced-motion:reduce){.postly-calendar-page *{transition:none!important}}.postly-week-calendar-scroll{overscroll-behavior-x:contain;overscroll-behavior-y:auto;width:100%;overflow:auto hidden}.postly-week-calendar{grid-template-columns:62px repeat(7,minmax(118px,1fr));min-width:900px;display:grid;position:relative}.postly-week-time-heading,.postly-week-day-heading{z-index:3;border-bottom:1px solid var(--postly-border);background:var(--postly-surface);min-height:72px;position:sticky;top:0}.postly-week-time-heading{z-index:5;border-right:1px solid var(--postly-border-light);left:0}.postly-week-day-heading{border-right:1px solid var(--postly-border-light);color:var(--postly-text-secondary);text-transform:capitalize;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:12px;display:flex}.postly-week-day-heading strong{width:30px;height:30px;color:var(--postly-text);border-radius:50%;place-items:center;font-size:14px;display:grid}.postly-week-day-heading--today strong{background:var(--postly-primary);color:#fff}.postly-week-hour-row{display:contents}.postly-week-time-label{z-index:2;border-right:1px solid var(--postly-border-light);border-bottom:1px solid var(--postly-border-light);background:var(--postly-surface);min-height:64px;color:var(--postly-text-muted);text-align:right;padding:8px 9px 0 0;font-size:11px;position:sticky;left:0;transform:translateY(-8px)}.postly-week-slot{border-right:1px solid var(--postly-border-light);border-bottom:1px solid var(--postly-border-light);background:var(--postly-surface);flex-direction:column;gap:4px;min-width:0;min-height:64px;padding:4px;display:flex;position:relative}.postly-week-slot:hover{background:var(--postly-hover)}.postly-week-slot-create{width:22px;height:22px;color:var(--postly-primary-dark);opacity:0;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;place-items:center;display:grid;position:absolute;top:5px;right:5px}.postly-week-slot:hover .postly-week-slot-create,.postly-week-slot-create:focus-visible{border-color:var(--postly-primary-border);background:var(--postly-surface);opacity:1}.postly-week-event{border:0;border-left:3px solid var(--postly-primary);background:var(--postly-primary-light);min-width:0;color:var(--postly-primary-dark);text-align:left;cursor:pointer;border-radius:5px;flex-direction:column;gap:3px;padding:6px 7px;display:flex}.postly-week-event strong{font-size:10px;line-height:1.4}.postly-week-event span{text-overflow:ellipsis;overflow-wrap:anywhere;font-size:11px;line-height:1.4;overflow:hidden}.postly-week-event--draft{border-left-color:var(--postly-info-dot);background:var(--postly-info-background);color:var(--postly-info-text)}.postly-week-event--published{border-left-color:var(--postly-neutral-dot);background:var(--postly-neutral-background);color:var(--postly-neutral-text)}.postly-week-event--failed{border-left-color:var(--postly-danger);background:var(--postly-danger-soft);color:var(--postly-danger-text)}.postly-calendar-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a8c;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0;overflow-y:auto}.postly-calendar-modal{border:1px solid var(--postly-border);border-radius:var(--postly-radius-lg);background:var(--postly-surface);width:min(100%,600px);max-height:min(90vh,900px);overflow-y:auto;box-shadow:0 24px 80px #0f172a40}.postly-calendar-modal-header{border-bottom:1px solid var(--postly-border-light);justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px;display:flex}.postly-calendar-modal-header h3{color:var(--postly-text);margin:7px 0 5px;font-size:21px;font-weight:750}.postly-calendar-modal-header p:last-child{color:var(--postly-text-secondary);text-transform:capitalize;margin:0;font-size:12px}.postly-calendar-modal-form{flex-direction:column;gap:10px;padding:22px 24px 24px;display:flex}.postly-calendar-modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:8px;display:flex}.postly-calendar-modal-actions button{cursor:pointer}.postly-calendar-modal-actions button:disabled{cursor:not-allowed;opacity:.6}@media (max-width:600px){.postly-calendar-modal-backdrop{align-items:flex-end;padding:0}.postly-calendar-modal{border-radius:18px 18px 0 0;width:100%;max-height:94vh}.postly-calendar-modal-header{padding:19px 18px}.postly-calendar-modal-form{padding:18px}.postly-calendar-modal-actions{flex-direction:column-reverse}.postly-calendar-modal-actions .postly-button{width:100%}}.postly-calendar-day-number-button{cursor:pointer;background:0 0;border:0;border-radius:50%;align-self:flex-start;padding:0;display:flex}.postly-calendar-day-number-button:focus-visible,.postly-calendar-event:focus-visible{outline:2px solid var(--postly-primary);outline-offset:2px}.postly-calendar-event{text-align:left;cursor:pointer;width:100%;font:inherit;border:0}.postly-calendar-event:hover{filter:brightness(.97)}.postly-calendar-event--published{cursor:pointer}.postly-calendar-event--publishing{background:var(--postly-neutral-background);color:var(--postly-neutral-text);cursor:pointer}.postly-calendar-event-dot--publishing{background:var(--postly-neutral-dot)}.postly-week-event--publishing{border-left-color:var(--postly-neutral-dot);background:var(--postly-neutral-background);color:var(--postly-neutral-text)}.postly-calendar-day-number-button:disabled{cursor:default;opacity:.55}
