/* Shared feed publisher. Inset overlay follows the real field size, including hover growth. */
.onecup-feed-publisher .feed-menu-fields.onecup-home-dropzone{position:relative;}
.onecup-feed-publisher .feed-menu-fields.onecup-home-dropzone.is-dragging{outline:0!important;}
.onecup-feed-publisher .onecup-home-dropzone>.onecup-feed-drop-hint{position:absolute!important;inset:5px!important;width:auto!important;height:auto!important;min-height:0!important;max-width:none!important;box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column;gap:8px;padding:12px!important;border:1px dashed #1a73e8;border-radius:5px!important;background:rgba(237,245,255,.96);color:#1a73e8;text-align:center;pointer-events:none;z-index:20;}
.onecup-feed-publisher .onecup-home-dropzone>.onecup-feed-drop-hint[style*="display: none"]{display:none!important;}
@media(min-width:769px){.onecup-feed-publisher .onecup-home-dropzone.is-dragging>textarea{height:75px!important;min-height:75px!important;}}
/* Reuse the existing visual thumbnail and round remove button. */
html body .onecup-feed-publisher .onecup-home-attachments{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:10px;width:100%;margin:10px 0 0;padding:0;list-style:none;}
html body .onecup-feed-publisher .onecup-home-attachment{display:flex;flex-direction:column;align-items:flex-start;gap:5px;flex:0 1 150px;width:150px;max-width:150px;min-width:0;margin:0;padding:0;border:0;background:transparent;}
html body .onecup-feed-publisher .onecup-home-attachment.is-visual{flex:0 0 60px;width:60px;}
html body .onecup-feed-publisher .onecup-home-attachment .onecup-feed-attachment-preview--visual{margin:0!important;width:60px!important;height:60px!important;flex:none;}
html body .onecup-feed-publisher .onecup-home-attachment .onecup-feed-attachment-preview--visual video{display:block;width:100%;height:100%;object-fit:cover;border-radius:9px;border:0;}
html body .onecup-feed-publisher .onecup-home-attachment .onecup-feed-attachment-preview--visual>i,html body .onecup-feed-publisher .onecup-home-attachment .onecup-feed-attachment-preview--visual>svg{width:24px;height:24px;margin:0;color:#90949c;}
html body .onecup-feed-publisher .onecup-home-attachment-file{display:flex;align-items:center;gap:5px;position:relative;width:100%;height:30px;min-height:30px;max-height:30px;margin:0;padding:2px 4px 2px 8px;border:1px solid #dfe4eb;border-radius:5px;background:#fff;box-sizing:border-box;}
html body .onecup-feed-publisher .onecup-home-attachment-file>span{display:flex;flex:1;min-width:0;white-space:nowrap;overflow:hidden;font-size:11px;line-height:20px;color:#1c1a54;}
html body .onecup-feed-publisher .onecup-home-attachment-file>i,html body .onecup-feed-publisher .onecup-home-attachment-file>svg{width:16px;height:16px;flex:0 0 16px;margin:0;color:#90949c;}
html body .onecup-feed-publisher .onecup-home-attachment-file .onecup-feed-attachment-remove{position:static!important;flex:0 0 24px!important;width:24px!important;min-width:24px!important;max-width:24px!important;transform:none!important;margin:0!important;}
html body .onecup-feed-publisher .onecup-home-attachment .onecup-feed-attachment-remove svg{width:12px!important;height:12px!important;margin:0!important;}
html body .onecup-feed-publisher .onecup-home-size-toggle{margin:5px 0 0;padding:0;border:0;background:transparent;color:#1a73e8;font-size:10px;line-height:1.4;text-align:left;white-space:normal;cursor:pointer;}
html body .onecup-feed-publisher .onecup-home-size-toggle:disabled{opacity:.6;cursor:wait;}
html body .onecup-feed-publisher .onecup-home-upload-progress{position:relative;display:block;width:100%;height:3px;margin:0;padding:0;background:rgba(16,184,232,.18);overflow:hidden;}
html body .onecup-feed-publisher .onecup-home-upload-progress[style*="display: none"]{display:none!important;}
html body .onecup-feed-publisher .onecup-home-upload-progress__bar{height:3px;background:#10b8e8;box-shadow:0 0 6px rgba(16,184,232,.55);transition:width 180ms ease-out;}
html body .onecup-feed-publisher .onecup-home-attachment-feedback{width:100%;margin:3px 0 0;}
html body .onecup-feed-publisher .onecup-home-attachment-feedback small{font-size:11px;}
.onecup-feed-publisher .onecup-home-attachment-status{margin:0;font-size:11px;}
.onecup-feed-publisher input.onecup-home-attachment-input{display:none!important;}
@media(prefers-reduced-motion:reduce){html body .onecup-feed-publisher .onecup-home-upload-progress__bar{transition:none;}}
html body .onecup-feed-publisher textarea.onecup-feed-mention-source{display:none!important;}
html body .onecup-feed-publisher .onecup-feed-rich-editor{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:75px;max-height:260px;overflow:auto;outline:none;border:0;margin:0;padding:0;background:transparent;color:#1c1a54;font:inherit;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text;}
html body .onecup-feed-publisher .onecup-feed-rich-editor:empty:before{content:attr(data-placeholder);color:#90949c;pointer-events:none;}
html body .onecup-feed-publisher .onecup-feed-rich-editor .onecup-feed-mention-token{display:inline-block!important;max-width:100%;vertical-align:baseline;white-space:nowrap;line-height:inherit;color:#1a73e8!important;background:#edf5ff;border-radius:3px;padding:0 3px;margin:0 1px;font:inherit;cursor:default;}

html body .onecup-feed-publisher .onecup-home-attachment .onecup-feed-attachment-preview--visual>img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;}
html body .onecup-feed-publisher .onecup-home-attachment-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#90949c;}
html body .onecup-feed-publisher .onecup-home-attachment-placeholder>i,html body .onecup-feed-publisher .onecup-home-attachment-placeholder>svg{width:24px;height:24px;margin:0;}

/* The existing publication warning, kept beside the counter without a new panel. */
html body .onecup-feed-publisher .feed-menu-count{flex-wrap:wrap;}
html body .onecup-feed-publisher .feed-menu-count .color-red.warning{color:var(--onecup-danger,#ff4054)!important;font-style:italic!important;font-size:10px;line-height:1.5;overflow-wrap:anywhere;outline:none;}
html body .onecup-feed-publisher .feed-menu-count .onecup-home-remove-errors{padding:0;margin:0 0 0 4px;border:0;background:transparent;font:inherit;color:#1a73e8!important;text-decoration:underline;cursor:pointer;}
html body .onecup-feed-publisher .feed-menu-count .onecup-home-remove-errors:disabled{opacity:.6;cursor:default;}
html body .onecup-feed-publisher .onecup-home-attachment-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;}
html body .onecup-feed-publisher .onecup-home-attachment-name-suffix{flex:none;}
html body .onecup-feed-publisher .onecup-home-attachment-name:has(.onecup-home-attachment-name-suffix) .onecup-home-attachment-name-text{text-overflow:clip;}
html body .onecup-feed-publisher .onecup-home-attachment.has-error .onecup-feed-attachment-preview{border-color:var(--onecup-danger,#ff4054);}
html body .onecup-feed-publisher .onecup-home-remove-errors:focus-visible{outline:2px solid #1a73e8;outline-offset:2px;}

/* Two explicit actions, independent of legacy three-column/mobile wrapper rules. */
html body .onecup-feed-publisher .feed-menu-btn {display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-width:0;}
html body .onecup-feed-publisher .feed-menu-btn>.btn-wrapper {display:flex!important;flex:0 0 auto!important;width:auto!important;min-width:0;margin:0!important;}
html body .onecup-feed-publisher .feed-menu-btn .btn-group {display:flex!important;min-width:0;width:auto!important;}
html body .onecup-feed-publisher .feed-menu-btn .btn {display:inline-flex!important;align-items:center;justify-content:center;gap:5px;}
html body .onecup-feed-publisher .onecup-feed-publisher__submit {margin-left:auto!important;}
html body .onecup-feed-publisher {min-width:0;max-width:100%;}
html body .onecup-feed-publisher .media-body {min-width:0;}
html body .onecup-feed-publisher .onecup-feed-rich-editor[contenteditable="false"] {cursor:wait;}
html body .onecup-feed-publisher--preview {display:flex;margin:0 0 16px!important;width:100%;padding:0!important;border:1px solid #dfe4eb;border-radius:10px!important;overflow:hidden;}
html body .onecup-feed-publisher--preview>.media-body {display:flex;flex-direction:column;width:100%;}
html body .onecup-feed-publisher--preview .feed-menu-fields {padding:16px;}
html body .onecup-feed-publisher--preview .feed-menu-fields:before,
html body .onecup-feed-publisher--preview .feed-menu-fields:after {display:none;}
html body .onecup-feed-publisher--preview .feed-menu-count {display:flex;gap:8px;padding:0 16px 8px;font-size:10px;color:#90949c;}
html body .onecup-feed-publisher--preview .feed-menu-btn {padding:12px 16px;background:#eef1f5;}
@media(max-width:1199px){
 html body .onecup-mobile-feed-composer__body>.onecup-feed-publisher {margin:0!important;width:100%!important;}
 html body .onecup-feed-publisher .feed-menu-btn {padding:11px 12px!important;}
 html body .onecup-feed-publisher .feed-menu-btn .btn {min-height:36px;min-width:36px;}
 html body .onecup-feed-publisher .onecup-home-attachments {flex:0 0 auto;}
 html body .onecup-feed-publisher .onecup-feed-rich-editor {font-size:16px;min-height:96px;}
}
/* Preview styles must survive the mobile sheet moving outside .feed-wrapper. */
html body .onecup-feed-publisher .onecup-feed-attachment-preview--visual{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#eef1f5;border:1px solid #dfe4eb;border-radius:10px;box-sizing:border-box;}
html body .onecup-feed-publisher .onecup-feed-attachment-preview--visual>img{border:0;border-radius:9px!important;}

html body .onecup-feed-publisher--preview{background:#fff;}
html body .onecup-feed-publishing-spinner{display:inline-flex;align-items:center;justify-content:center;}

/* The schedule is one inline row between attachments and the character counter. */
html body .onecup-feed-publisher .onecup-feed-schedule{display:flex;align-items:center;gap:12px;padding:10px 0 0;min-width:0;box-sizing:border-box;}
html body .onecup-feed-publisher .onecup-feed-schedule label{display:flex;align-items:center;gap:6px;margin:0;min-width:0;color:#90949c;font-size:12px;font-weight:400;}
html body .onecup-feed-publisher .onecup-feed-schedule input{width:145px;min-width:0;height:32px;padding:3px 5px;border:0;border-bottom:1px solid #e5e5e5;border-radius:0;background:transparent;color:#1c1a54;box-sizing:border-box;font:inherit;cursor:pointer;}
html body .onecup-feed-publisher .onecup-feed-schedule input[type=time]{width:95px;}
html body .onecup-feed-publisher .onecup-feed-schedule input:focus{outline:none;border-bottom-color:#1a73e8;box-shadow:0 1px 0 #1a73e8;}
html body :is(.onecup-feed-publisher,.meta-composer,.onecup-home-scheduled-panel) .onecup-feed-schedule-actions{position:static;display:flex;align-items:center;flex:0 0 auto;margin-left:auto;}
html body :is(.onecup-feed-publisher,.meta-composer,.onecup-home-scheduled-panel) .onecup-feed-schedule-actions .btn-circle{background:transparent!important;border-color:transparent!important;color:var(--onecup-primary,#1a73e8)!important;transform:none!important;cursor:pointer;}
html body :is(.onecup-feed-publisher,.meta-composer,.onecup-home-scheduled-panel) .onecup-feed-schedule-actions .btn-circle:is(:hover,:focus-visible){background:var(--onecup-primary-soft,#e0eeff)!important;}
html body :is(.onecup-feed-publisher,.meta-composer,.onecup-home-scheduled-panel) .onecup-feed-schedule-actions .btn-circle:disabled{opacity:.6;cursor:wait;}
html body :is(.onecup-feed-publisher,.meta-composer,.onecup-home-scheduled-panel) .onecup-feed-schedule-actions .btn-circle>i,html body :is(.onecup-feed-publisher,.meta-composer,.onecup-home-scheduled-panel) .onecup-feed-schedule-actions .btn-circle>svg{color:inherit!important;}
html body :is(.onecup-feed-publisher,.meta-composer,.onecup-home-scheduled-panel) .onecup-feed-schedule .btn-circle svg{width:12px;height:12px;margin:0;}
html body .onecup-feed-publisher .onecup-feed-publish-toggle{min-width:28px;padding-right:9px;padding-left:9px;border-left:1px solid rgba(255,255,255,.4);}
html body .onecup-feed-publisher .onecup-feed-publisher__submit .dropdown-menu{min-width:165px;top:100%;bottom:auto;right:0;left:auto;margin:4px 0 0;z-index:1050;}
html body .onecup-feed-publisher .onecup-feed-publisher__submit .dropdown-menu a{display:flex;align-items:center;gap:7px;color:#55585d;cursor:pointer;}
html body .onecup-feed-publisher .onecup-feed-publisher__submit .dropdown-menu a svg{width:14px;height:14px;margin:0;}
html body .onecup-feed-publisher--preview{overflow:visible;}
html body .onecup-feed-publisher--preview .feed-menu-btn{border-radius:0 0 10px 10px;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary{padding:10px 15px;border-top:1px solid #e5e5e5;background:#fff;border-radius:0 0 10px 10px;font-size:11px;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary p{margin:0;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary summary{cursor:pointer;color:#1a73e8;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary details{margin-top:5px;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary ul{display:block;width:100%;margin:8px 0 0;padding:0;list-style:none;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary li{display:flex!important;align-items:center;gap:10px;width:100%;min-width:0;margin:0;padding:10px 0;border-top:1px solid #e5e5e5;box-sizing:border-box;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary li>div{display:flex!important;flex-direction:column;align-items:flex-start;gap:5px;flex:1;min-width:0;max-width:100%;overflow-wrap:anywhere;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary li p{display:block!important;width:100%;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.5;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary li>.btn-circle{position:static!important;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 28px;width:28px!important;min-width:28px;max-width:28px;height:28px!important;min-height:28px;max-height:28px;margin:0!important;padding:0;transform:none!important;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary li>.btn-circle svg{width:12px;height:12px;margin:0;}
html body .onecup-feed-publisher .onecup-feed-scheduled-summary time{display:block;white-space:nowrap;line-height:1.5;color:#90949c;}
@media(max-width:480px){
 html body .onecup-feed-publisher .onecup-feed-schedule{gap:6px;padding-left:0;padding-right:0;}
 html body .onecup-feed-publisher .onecup-feed-schedule label{flex:1;gap:3px;}
 html body .onecup-feed-publisher .onecup-feed-schedule label>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;}
 html body .onecup-feed-publisher .onecup-feed-schedule input{width:100%;font-size:16px;}
 html body .onecup-feed-publisher .onecup-feed-schedule input[type=time]{width:100%;}
}

html body .onecup-feed-publisher .feed-menu-btn .onecup-feed-publisher__submit .btn-group>.btn:first-child{border-radius:3px 0 0 3px!important;}
html body .onecup-feed-publisher .feed-menu-btn .onecup-feed-publisher__submit .btn-group>.onecup-feed-publish-toggle{border-radius:0 3px 3px 0!important;margin-left:-1px;}
@media(max-width:1199px){
 html body .onecup-mobile-feed-composer[aria-hidden="true"] .onecup-feed-schedule{display:none!important;}
 html body .onecup-mobile-feed-composer.is-open .onecup-feed-schedule{margin-top:auto;flex:0 0 auto;width:100%;}
}

/* Use the same downward indicator in Home, records and mobile preview sheets. */
html body .onecup-feed-publisher .onecup-feed-publish-toggle .caret{border-top:4px dashed!important;border-bottom:0!important;transform:none!important;}

@media(max-width:1199px){
 html body .onecup-feed-publisher .onecup-feed-schedule input,
 html body .onecup-feed-publisher .onecup-feed-scheduled-summary time{font-size:8px!important;}
 html body .onecup-feed-publisher .onecup-feed-schedule input::-webkit-date-and-time-value,
 html body .onecup-feed-publisher .onecup-feed-schedule input::-webkit-datetime-edit{font-size:8px;}
}

html body :is(.onecup-feed-publisher,.meta-composer,.onecup-home-scheduled-panel) .onecup-feed-schedule-actions .btn-circle{display:inline-flex!important;align-items:center;justify-content:center;width:25px!important;height:25px!important;padding:0!important;margin:0!important;border-radius:50%!important;}
.onecup-home-scheduled-panel .ibox-content{display:block!important;padding:15px!important;}
.onecup-home-scheduled-panel .task-wrapper{width:100%;padding:0;}
.onecup-home-scheduled-panel .task{width:100%;}
.onecup-home-scheduled-panel .task-step-2{min-width:0;}
.onecup-home-scheduled-panel .task-step-2 p{display:block;margin:0 0 5px;overflow-wrap:anywhere;}
.onecup-home-scheduled-panel .task-step-2 time{color:#90949c;font-size:10px;}
.onecup-home-scheduled-panel .task-step-2 strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;}
.onecup-home-scheduled-panel .onecup-feed-schedule-actions{position:static;flex:none;}
.onecup-home-scheduled-panel .task-header{display:flex;align-items:center;gap:10px;}
.onecup-home-scheduled-panel .task-step{flex:1;min-width:0;}
.onecup-home-scheduled-panel .notice,.onecup-home-scheduled-panel .warning{display:block;font-size:11px;overflow-wrap:anywhere;}
