.scheduled-view{display:flex;flex:1;min-height:0;flex-direction:column;background:#fbfdff}
.scheduled-view[hidden]{display:none!important}
.scheduled-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 16px;border-bottom:1px solid #e6edf2;flex-shrink:0}
.scheduled-heading h3{font-size:14px;font-weight:600}
.scheduled-heading .crm-text-button{min-width:44px;min-height:44px;flex-shrink:0}
.scheduled-lane{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:20px 26px;scrollbar-width:thin}
.scheduled-lane>*{flex-shrink:0}
.scheduled-day{text-align:center;font-size:11px;color:#90a0ad;padding:5px 0}
.scheduled-card{align-self:flex-end;display:flex;flex-direction:column;gap:10px;width:68%;max-width:480px;padding:16px;text-align:left;white-space:normal;border:1px solid #dbeaf4;border-radius:16px;background:#eef7fc;color:#334f63;overflow-wrap:anywhere}
.scheduled-card:hover{border-color:#8bc3e4;background:#eaf5fc}
.scheduled-card p{font-size:14px;line-height:1.6;margin:0}
.scheduled-card small{font-size:10px;color:#7a95a7}
.scheduled-card.reminder{border-left:3px solid #bad2e2;background:white}
.scheduled-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e6edf2;padding:12px 20px;flex-shrink:0;background:white}
.scheduled-footer input{flex:1;min-width:0;width:0;height:44px;border:1px solid #e3eaf0;border-radius:8px;padding:8px 10px;background:#fcfdfe;color:#405768;font-size:14px}
.scheduled-footer button{flex-shrink:0;min-height:44px}
.scheduled-media{width:100%;display:flex;flex-direction:column;gap:6px;color:#8195a4;font-size:11px}
.scheduled-media img{width:100%;max-height:220px;object-fit:contain;border-radius:8px;background:#f9fcff}
#scheduled-toggle{position:relative;height:48px;min-height:48px;color:#609bbd;align-items:end}
#scheduled-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;margin-bottom:2px}
#scheduled-form .crm-buttons{flex-wrap:wrap}
#scheduled-form input,#scheduled-form select,#scheduled-form textarea{max-width:100%}
.scheduled-file-picker{display:grid;gap:7px;padding:10px;border:1px solid #dbeaf4;border-radius:10px;background:#f8fbfd;color:#6e8494;font-size:12px}
.scheduled-reuse-help{margin-top:-4px;color:#84929e;font-size:10px;line-height:1.4}
.scheduled-file-picker>#scheduled-file-button{justify-self:start;min-height:44px}
.scheduled-file-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:8px;background:#eef7fc;color:#315f79;min-width:0}
.scheduled-file-preview>span{display:grid;gap:2px;min-width:0}
.scheduled-file-preview strong,.scheduled-file-preview small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scheduled-file-preview small{color:#78909f;font-size:11px}
.scheduled-file-preview #scheduled-file-remove{flex-shrink:0;min-width:44px;min-height:44px}
[data-r2tg-theme="tg-dark"] .scheduled-file-picker{background:#181818;border-color:#454545;color:#aaa}
[data-r2tg-theme="tg-dark"] .scheduled-file-preview{background:#2b2b2b;color:#fff}
[data-r2tg-theme="tg-dark"] .scheduled-file-preview small{color:#aaa}
[data-r2tg-theme="tg-dark"] .scheduled-reuse-help{color:#aaa}
.workspace-discard{max-width:390px;background:#fbfdff;color:#405768}
.workspace-discard h2{font-size:18px}
.workspace-discard p{font-size:13px;line-height:1.6;color:#84929e}
.workspace-discard button{border:0;border-radius:9px;padding:8px 13px;min-height:44px;font-size:12px;background:#eef6fb;color:#447ea3}
.workspace-discard .danger{color:#a34646;background:#fff0f0}
.crm-content>.crm-record,.crm-content>.crm-history,.crm-content>.crm-activity,.crm-content>button{flex-shrink:0}
.crm-contact-list{display:grid;gap:7px;font-size:12px;color:#5d7889}
.crm-contact-list a{color:inherit;overflow-wrap:anywhere}
.crm-action-edit-link{margin-top:6px}
@media(max-width:760px){.scheduled-lane{padding:15px 13px}.scheduled-card{width:85%}.scheduled-footer{padding:10px 13px;gap:8px}.scheduled-heading{padding:6px 9px}}
