.schedule-view-switch{display:inline-flex;gap:4px;padding:4px;background:#fff;border:1px solid #d9cee3;border-radius:9px;margin-bottom:18px}.schedule-view-switch button{border:0;border-radius:6px;background:transparent;padding:9px 18px;font:600 13px var(--font);color:#655270;min-height:38px}.schedule-view-switch button.selected{background:#624974;color:white}.schedule-controls{display:flex;gap:18px;align-items:end;justify-content:space-between;padding:15px 20px;border-bottom:1px solid #e3dae9;flex-wrap:wrap;background:#fcfbfd;border-radius:10px 10px 0 0}.schedule-date-controls{display:flex;gap:10px;align-items:end}.schedule-date-field,.schedule-region-field{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#594262}.schedule-controls input,.schedule-controls select{box-sizing:border-box;display:block;height:42px;min-height:42px;border:1px solid #c9bad6;border-radius:7px;background:#fff;color:#33243d;padding:9px 12px;font:400 14px var(--font);margin:0}.schedule-date-field input{width:165px;font-variant-numeric:tabular-nums}.schedule-region-field select{width:230px}.schedule-controls .icon-btn,.schedule-controls .btn{height:42px;min-height:42px}.schedule-period-title{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:15px 20px}.schedule-period-title h2{font-size:21px;margin:0;text-transform:capitalize}.schedule-period-title>span{font-size:12px;color:#74607f}.schedule-panel .calendar-day{position:relative;min-height:105px;background:#fff;cursor:pointer}.schedule-panel .calendar-day:hover{background:#faf6fd}.schedule-panel .calendar-day.blank{background:#f7f4fa;cursor:default}.schedule-date-button{display:flex;align-items:center;gap:5px;border:0;background:transparent;color:#5e466e;padding:3px 6px;margin-bottom:5px;border-radius:6px;min-width:30px;min-height:30px;font-size:13px}.schedule-date-button:hover{background:#eae0f1}.today .schedule-date-button>span{background:#705281;color:#fff;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.schedule-panel .selected-day{box-shadow:inset 0 0 0 1px #baa2c9}.schedule-panel .cal-event{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;position:relative;z-index:1}.schedule-panel .cal-event>span{font-size:10px}.schedule-week-scroll{overflow-x:auto}.schedule-week-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));min-width:770px;border-top:1px solid #ded4e6}.schedule-week-grid .calendar-day{min-height:260px;border-top:0}.schedule-week-grid .schedule-date-button{display:flex;flex-direction:column;align-items:center;width:100%;gap:3px}.schedule-date-button small{font-size:10px}.schedule-year{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:5px 20px 20px}.schedule-mini-month{border:1px solid #e0d6e8;border-radius:9px;background:#fff;padding:12px}.schedule-month-title{border:0;background:transparent;color:#5a3c6b;font-size:14px;font-weight:600;text-transform:capitalize;padding:5px 0 12px}.schedule-mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.schedule-mini-grid>small{text-align:center;font-size:10px;color:#84708f;padding-bottom:6px}.schedule-mini-grid>button{position:relative;border:0;background:transparent;font-size:12px;min-height:29px;padding:3px;color:#4c385a;border-radius:5px}.schedule-mini-grid>button:hover{background:#ece2f4}.schedule-mini-grid>button.mini-today{background:#715283;color:white}.schedule-mini-grid>.has-task:after,.schedule-mini-grid>.has-congress:after{content:'';position:absolute;bottom:1px;left:45%;width:4px;height:4px;border-radius:50%;background:#5e8aae}.schedule-mini-grid>.has-congress:after{background:#9365b0}.schedule-day-view{padding:5px 20px 20px}.schedule-agenda-row{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px 15px;width:100%;background:#edf3f9;border:1px solid #d9e4f0;border-left:3px solid #759bbf;border-radius:8px;padding:16px;text-align:left;margin-top:12px;color:#342941}.schedule-agenda-row.congress{background:#f3edf7;border-color:#dcd0e6;border-left-color:#9872af}.schedule-agenda-row span{font-size:12px;grid-row:span 2}.schedule-agenda-row b{font-size:14px}.schedule-agenda-row small{font-size:12px;color:#6a5775}.schedule-congress-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px;padding:0 5px 15px}
/* Consistent form fields throughout all dialogs, including tasks. */
#modal .module-form{display:block}#modal .module-form>.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}#modal .module-form label.field{display:flex;flex-direction:column;gap:6px;margin:0;font-size:13px;font-weight:600;color:#49334f}#modal .module-form>div{margin-bottom:14px}#modal .module-form input:not([type=hidden]):not([type=checkbox]),#modal .module-form select,#modal .module-form textarea{width:100%;box-sizing:border-box;display:block;min-height:42px;height:42px;padding:9px 12px;margin:0;border:1px solid #c6b8d2;border-radius:7px;background-color:#fff;color:#302438;font:400 14px/1.4 var(--font)}#modal .module-form select,.schedule-controls select{appearance:none;-webkit-appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%23654e78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:18px}#modal .module-form textarea{height:auto;min-height:90px;line-height:1.7;resize:vertical}#modal .module-form .module-hint{margin:12px 0;font-size:12px}#modal .module-form .task-status-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:5px}#modal .module-form select option{font-weight:400}
@media(max-width:1100px){.schedule-year{grid-template-columns:repeat(3,minmax(0,1fr))}.schedule-congress-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.schedule-controls{padding:13px 15px;gap:12px}.schedule-date-controls{gap:7px;flex-wrap:wrap}.schedule-date-field input{width:147px}.schedule-region-field{width:100%}.schedule-region-field select{width:100%}.schedule-controls input,.schedule-controls select{font-size:16px;height:44px;min-height:44px}.schedule-period-title{padding:14px 15px;display:block}.schedule-period-title>span{display:block;margin-top:6px}.schedule-view-switch{display:flex}.schedule-view-switch button{flex:1;padding:10px 8px;min-height:42px}.schedule-year{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:5px 12px 15px}.schedule-mini-month{padding:9px}.schedule-mini-grid{gap:1px}.schedule-mini-grid>button{font-size:11px;min-height:28px}.schedule-panel .calendar-day{min-height:80px;padding:4px 2px}.schedule-week-grid .calendar-day{min-height:220px}.schedule-panel .cal-event{font-size:10px;padding:5px 3px}.schedule-congress-list{grid-template-columns:1fr}.schedule-day-view{padding:5px 15px 15px}#modal .module-form>.module-grid{grid-template-columns:1fr;gap:13px}#modal .module-form input:not([type=hidden]):not([type=checkbox]),#modal .module-form select,#modal .module-form textarea{font-size:16px;min-height:44px;height:44px}#modal .module-form textarea{height:auto;min-height:90px}}
/* Keep the view and date navigation with the calendar they control. */
.schedule-controls{justify-content:flex-start;gap:18px 24px;align-items:end;padding:16px 20px}.schedule-context{align-self:center;min-width:160px;margin-right:auto}.schedule-control-caption{display:block;font-size:11px;font-weight:600;color:#796484;line-height:1.5;margin-bottom:6px}.schedule-context h2{font-size:20px;line-height:1.4;margin:0;text-transform:capitalize;max-width:265px}.schedule-view-field{display:flex;flex-direction:column;min-width:0}.schedule-controls .schedule-view-switch{display:flex;margin:0;padding:3px;gap:2px;border-radius:7px}.schedule-controls .schedule-view-switch button{padding:8px 12px;min-height:36px;font-size:12px;white-space:nowrap}.schedule-controls .schedule-date-controls{gap:7px}.schedule-date-field{font-size:11px;gap:6px}.schedule-date-field input{width:145px}.schedule-region-field{font-size:11px;gap:6px}.schedule-region-field select{width:175px}.schedule-controls .icon-btn{width:31px;min-width:31px}.schedule-controls .btn{font-size:12px;padding-left:10px;padding-right:10px}.schedule-calendar-hint{padding:10px 20px;font-size:12px;line-height:1.6;color:#76617f;background:#fff;border-bottom:1px solid #e5ddea}.schedule-panel .calendar-grid,.schedule-panel .calendar-week{background:white}
@media(max-width:1350px){.schedule-context{flex:1 1 40%}.schedule-view-field{flex:0 1 auto}.schedule-date-controls{flex:1 1 auto}.schedule-region-field{flex:0 1 auto}}
@media(max-width:760px){.schedule-controls{padding:14px 15px;gap:13px 15px}.schedule-context{flex:1 1 100%;min-width:0}.schedule-context h2{font-size:20px;max-width:none}.schedule-view-field{flex:1 1 100%}.schedule-controls .schedule-view-switch button{min-height:42px;flex:1;font-size:13px}.schedule-date-controls{flex:1 1 100%;flex-wrap:nowrap}.schedule-date-field{flex:1;min-width:0}.schedule-date-field input{width:100%}.schedule-region-field{flex:1 1 100%;width:100%}.schedule-region-field select{width:100%}.schedule-calendar-hint{padding:10px 15px;font-size:12px}.schedule-controls .icon-btn{min-height:44px;height:44px}.schedule-controls .btn{min-height:44px;height:44px}}
