/* Shared schedule panel: the same row structure as Home tasks and opportunities. */
html body .onecup-scheduled-widget{width:100%;max-width:100%;min-width:0;flex:0 0 auto;align-self:stretch;}
html body .onecup-scheduled-widget>.onecup-home-scheduled-panel{width:100%;min-width:0;}
html body .onecup-home-scheduled-panel>.ibox-heading{width:100%;min-width:0;}
html body .social-results>.onecup-scheduled-widget>.onecup-home-scheduled-panel{margin-bottom:0;}

html body .onecup-home-scheduled-panel.collapsed>.ibox-content{display:none!important;}
html body .onecup-home-scheduled-panel:not(.collapsed)>.ibox-content{display:block!important;padding:0!important;max-height:none!important;overflow:visible!important;}
html body .onecup-scheduled-list{display:block;width:100%;min-width:0;margin:0;padding:0;}
html body .onecup-scheduled-list .task-wrapper{display:block;flex-basis:auto;width:100%;min-height:0;height:auto;max-height:292px;margin:0!important;padding:0!important;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;}
html body .onecup-scheduled-list .task{padding:0;margin:0;width:100%;}
html body .onecup-scheduled-list .task-header{position:relative;width:100%;height:auto;}
html body .onecup-scheduled-list .task-step{display:flex;width:100%;padding-right:20px;align-items:flex-start;}
html body .onecup-scheduled-list .task-step-1{flex:0 0 25px;}
html body .onecup-scheduled-list .task-step-1>a{color:#1a73e8;background:#edf5ff!important;border:1px solid #1a73e8;}
html body .onecup-scheduled-list .task-step-2{flex:1;min-width:0;height:auto;}
html body .onecup-scheduled-list .task-step-2 p{margin:0 0 3px;width:100%;}
html body .onecup-scheduled-list .task-step-2 p>a{display:block;width:100%;}
html body .onecup-scheduled-list .task-step-2 p>a>strong{display:-webkit-box!important;width:100%;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;max-height:3em;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;text-transform:uppercase;font-size:12px;line-height:1.5;}
html body .onecup-scheduled-list .task-step-2 small{display:block;max-width:100%;width:100%;}
html body .onecup-scheduled-list .onecup-scheduled-channel{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html body .onecup-scheduled-list .onecup-scheduled-channel b{font-size:inherit;}

html body .onecup-scheduled-list .task-actions .dropdown-menu{min-width:205px;}
html body .onecup-scheduled-list .onecup-scheduled-empty,html body .onecup-scheduled-list>.warning{display:block;padding:15px;font-size:11px;margin:0;}
html body .onecup-scheduled-dialog .modal-body p{display:block;width:100%;}
html body .onecup-scheduled-dialog .onecup-scheduled-context{font-size:12px;margin:0 0 5px;color:#1c1a54;}
html body .onecup-scheduled-dialog .onecup-scheduled-date{display:block;width:100%;text-align:left;color:#90949c;font-size:10px;margin:0 0 20px;}
html body .onecup-scheduled-dialog .onecup-scheduled-copy{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:20px;}
html body .onecup-scheduled-dialog .form-group{width:100%;}
html body .onecup-scheduled-dialog textarea{height:auto;min-height:120px;resize:vertical;}
html body .onecup-scheduled-dialog .onecup-scheduled-date-fields{display:flex;gap:20px;width:100%;}
html body .onecup-scheduled-dialog .onecup-scheduled-date-fields>.form-group{flex:1;min-width:0;}
html body .onecup-scheduled-dialog .onecup-scheduled-media{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px;}
html body .onecup-scheduled-dialog .onecup-scheduled-media img{width:100px;height:100px;object-fit:cover;border-radius:5px;}
html body .onecup-scheduled-dialog .onecup-scheduled-media video{max-width:100%;max-height:280px;}
html body .onecup-scheduled-dialog .onecup-scheduled-media a{max-width:100%;overflow-wrap:anywhere;}
html body .onecup-scheduled-dialog .warning{display:block;color:#ff4358;font-style:italic;}
html body .onecup-scheduled-dialog .modal-footer .btn-wrapper{display:flex;justify-content:flex-end;width:100%;}
html body .onecup-scheduled-dialog .modal-footer .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;}
@media(max-width:768px){
 html body .onecup-home-scheduled-panel time,html body .onecup-scheduled-dialog .onecup-scheduled-date{font-size:8px!important;}
 html body .onecup-scheduled-dialog .modal-footer .btn-group{display:flex;width:100%;}
 html body .onecup-scheduled-dialog .modal-footer .btn{flex:1;min-width:0;padding-left:8px;padding-right:8px;}
}


/* Match side-1: scroll with wheel/touch/keyboard, without a visible scrollbar. */
html body .side-4,
html body .side-4 .ibox>.ibox-content,
html body .side-4 .task-wrapper.wrapper,
html body .onecup-scheduled-list .task-wrapper,
html body .onecup-scheduled-preview>.task-wrapper>.side-option-body{scrollbar-width:none;-ms-overflow-style:none;}
html body .side-4::-webkit-scrollbar,
html body .side-4 .ibox>.ibox-content::-webkit-scrollbar,
html body .side-4 .task-wrapper.wrapper::-webkit-scrollbar,
html body .onecup-scheduled-list .task-wrapper::-webkit-scrollbar,
html body .onecup-scheduled-preview>.task-wrapper>.side-option-body::-webkit-scrollbar{display:none;width:0;height:0;}
/* The shared preview owns scrolling; its list has no sidebar height limit. */
html body .onecup-scheduled-preview .onecup-scheduled-list>.task-wrapper{max-height:none;overflow:visible;}
html body .onecup-scheduled-preview .onecup-preview-body-inner{padding:0!important;}
html body .onecup-scheduled-preview .onecup-scheduled-more{margin:0;}
