.schedule-btn{width:34px;height:34px;border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--text-muted);cursor:pointer;font-size:15px;flex-shrink:0}.schedule-btn:hover,.schedule-btn.active{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}
.schedule-popover{display:none;position:absolute;right:12px;bottom:64px;width:min(330px,calc(100vw - 32px));padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--bg-secondary);box-shadow:0 18px 55px rgba(0,0,0,.38);z-index:140}.schedule-popover.open{display:block}.schedule-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.schedule-popover-title{font:600 13px 'Syne',sans-serif}.schedule-popover-close{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--text-muted);cursor:pointer;font-size:18px;line-height:1}.schedule-popover-close:hover,.schedule-popover-close:focus-visible{background:var(--accent-soft);color:var(--accent);outline:none}.schedule-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.schedule-offset-choice{display:grid;grid-template-columns:auto minmax(42px,1fr) auto;align-items:center;gap:6px;padding-left:9px;border:1px solid var(--border);border-radius:9px;color:var(--text-muted);font:500 12px 'DM Sans',sans-serif}.schedule-offset-input{width:100%;min-width:0;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);padding:7px 2px;text-align:center;font:12px 'IBM Plex Mono',monospace}.schedule-offset-input:focus{outline:none;border-color:var(--accent)}.schedule-offset-choice .schedule-choice{border-width:0 0 0 1px;border-radius:0 8px 8px 0}.schedule-choice,.schedule-action{border:1px solid var(--border);border-radius:9px;background:var(--bg-secondary);color:var(--text);padding:8px 10px;cursor:pointer;font:500 12px 'DM Sans',sans-serif}.schedule-choice:hover,.schedule-action:hover{border-color:var(--accent);color:var(--accent)}.schedule-quick-grid>.schedule-choice:last-child{grid-column:1/-1}.schedule-custom{display:flex;gap:6px;margin-top:8px}.schedule-custom input{min-width:0;flex:1;border:1px solid var(--border);border-radius:9px;background:var(--bg-secondary);color:var(--text);padding:8px;font:12px 'IBM Plex Mono',monospace}.schedule-zone{margin-top:7px}.scheduled-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:1px solid var(--border);border-radius:10px;background:var(--bg-secondary);cursor:pointer;font-size:11px;color:var(--text-muted)}.scheduled-list{display:none;margin-top:5px;border:1px solid var(--border);border-radius:10px;overflow:hidden}.scheduled-list.open{display:block}.scheduled-row{padding:9px;border-bottom:1px solid var(--border);background:var(--bg-card)}.scheduled-row:last-child{border-bottom:0}.scheduled-row-head{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--text-muted)}.scheduled-row-text{margin:5px 0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.scheduled-row-actions{display:flex;gap:5px;flex-wrap:wrap}.scheduled-row-actions button{border:0;background:transparent;color:var(--accent);cursor:pointer;padding:2px 0;margin-right:8px;font-size:10px}.scheduled-error{color:#d85b5b;font-size:10px;margin-top:4px}.scheduled-status{font-family:'IBM Plex Mono',monospace;text-transform:uppercase}.schedule-note{font-size:10px;color:var(--text-muted);margin-top:7px;line-height:1.35}
@media(max-width:640px){.schedule-popover{position:fixed;left:12px;right:12px;bottom:12px;width:auto}.schedule-btn{width:32px;height:32px}.schedule-custom{flex-direction:column}}
.composer-footer-actions{display:flex;align-items:flex-start;gap:7px;margin-top:7px}.scheduled-control-group{position:relative;display:flex;align-items:flex-start;gap:4px;min-width:0}.composer-footer-actions .schedule-btn{width:auto;height:30px;border-radius:9px;padding:0 9px;font:600 11px 'DM Sans',sans-serif}.composer-footer-actions .schedule-zone{margin:0}.composer-footer-actions .scheduled-summary{height:30px;gap:5px;padding:0 8px;border-radius:9px;font:600 11px 'IBM Plex Mono',monospace}.composer-footer-actions .scheduled-list{position:absolute;left:0;bottom:35px;width:min(360px,calc(100vw - 32px));margin:0;box-shadow:0 14px 40px rgba(0,0,0,.28);z-index:135}.schedule-popover{left:12px;right:auto;width:min(360px,calc(100vw - 32px))}.schedule-offset-choice{grid-template-columns:auto minmax(42px,1fr);padding:0 8px 8px}.schedule-offset-choice .schedule-choice{grid-column:1/-1;border:1px solid var(--border);border-radius:9px}.schedule-custom{display:grid;grid-template-columns:1fr;gap:6px;margin:12px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--border)}.schedule-custom legend{padding:0 6px 0 0;color:var(--text-muted);font:600 10px 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:.04em}.schedule-custom input{width:100%}
@media(max-width:640px){.composer-footer-actions{overflow:visible}.composer-footer-actions .schedule-btn{width:auto;height:30px;padding:0 7px}.composer-footer-actions .scheduled-list{position:fixed;left:12px;right:12px;bottom:50px;width:auto}.qw-launch{overflow:hidden;text-overflow:ellipsis}}

/* The scheduling picker is a small form, so its controls need stronger visual
   grouping than the surrounding composer chrome. */
.schedule-popover{width:min(400px,calc(100vw - 32px));padding:18px;background:var(--bg-card)}
.schedule-popover-head{margin-bottom:16px}
.schedule-popover-title{font-size:15px;color:var(--text)}
.schedule-quick-grid{gap:10px}
.schedule-offset-choice{grid-template-columns:1fr 76px;gap:7px;padding:11px;border-color:var(--border);background:var(--bg-secondary)}
.schedule-offset-choice label{color:var(--text);font:600 11px 'DM Sans',sans-serif}
.schedule-offset-input{box-sizing:border-box;height:34px;border:1px solid var(--border);border-radius:8px;background:var(--bg-card);padding:6px 8px;font-size:13px}
.schedule-offset-input:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}
.schedule-offset-choice .schedule-choice{grid-column:1/-1;min-height:38px;border:1px solid var(--border);border-radius:8px;background:var(--accent-soft);color:var(--text);font-weight:600}
.schedule-choice.schedule-tomorrow{min-height:42px;background:var(--bg-secondary);font-weight:600}
.schedule-choice:focus-visible,.schedule-action:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.schedule-custom{gap:9px;margin-top:16px;padding-top:15px}
.schedule-custom legend{color:var(--text);font-size:11px}
.schedule-custom input{box-sizing:border-box;min-height:42px;background:var(--bg-secondary);font-size:13px}
.schedule-action{min-height:42px;border-color:var(--accent);background:var(--accent);color:#fff;font-weight:700}
.schedule-action:hover{background:var(--accent);color:#fff;filter:brightness(1.06)}
.schedule-note{margin-top:12px;padding-top:11px;border-top:1px solid var(--border);font-size:10px;line-height:1.5}
@media(max-width:640px){.schedule-popover{padding:16px}.schedule-quick-grid{grid-template-columns:1fr}.schedule-offset-choice{grid-template-columns:1fr 76px}}
/* Coordinator/team surfaces also mount the shared floating Chat button. Keep
   that useful entry point out of the way while either Scheduled Chat surface
   is open, then restore it automatically when scheduling closes. */
body.schedule-ui-open .adrw-fab{display:none!important}
