.tnx-multiple-schedule{display:block;min-width:0;max-width:100%}
.tnx-schedule-readonly{display:block;min-width:0;max-width:100%;text-align:start;font-weight:normal}
.tnx-schedule-readonly-summary{padding:.4rem .6rem;border:1px solid var(--border-color);border-radius:4px;background:var(--input-bg);font-weight:normal;white-space:normal}
.tnx-schedule-readonly-events{margin-top:.4rem;font-weight:normal;min-height:0}
.tnx-schedule-readonly-events .readonly-textarea-preview__line{white-space:normal;text-align:start;text-align-last:auto}
.tnx-schedule-trigger,.tnx-schedule-preview{text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.tnx-schedule-trigger{box-sizing:border-box;width:100%;min-height:36px;caret-color:transparent;user-select:none;cursor:default}
.tnx-schedule-trigger[data-schedule-editable="1"],.tnx-schedule-preview{cursor:pointer}
.tnx-schedule-trigger[data-schedule-editable="1"]:not(:disabled):hover{filter:opacity(.8)}
.tnx-schedule-trigger[data-schedule-editable="1"]:focus{border-color:var(--primary-color);outline:none;box-shadow:none}
.tnx-schedule-note{display:block;opacity:.65;margin-top:4px;font-size:.8em}
.tnx-schedule-note[hidden]{display:none}
.tnx-symbol-picker-panel.tnx-schedule-dialog{width:min(720px,calc(100vw - 32px));height:min(760px,calc(100dvh - 32px));color:var(--text-color)}
.tnx-schedule-occurrences{min-height:0;padding:0 4px}
.tnx-schedule-overview{font-size:.9rem;padding:.6rem .9rem;flex-shrink:0;border-bottom:1px solid var(--border-color)}
.tnx-schedule-overview p{margin:0}
.tnx-schedule-overview p+p{margin-top:4px}
.tnx-schedule-dialog>.tnx-symbol-picker-panel-inner{border-radius:0;padding-top:.6rem}
.tnx-schedule-dialog>[role=alert]{flex-shrink:0;margin:0 .9rem .6rem}
.tnx-schedule-occurrence{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0;margin:0 0 12px;padding:12px;border:1px solid var(--border-color,#ddd);border-radius:10px}
.tnx-schedule-occurrence legend{width:100%;box-sizing:border-box;display:flex;align-items:center;gap:6px;padding:0 6px}
.tnx-schedule-occurrence legend::after{content:"";order:1;flex:1;border-top:1px solid var(--border-color,#ddd)}
.tnx-schedule-occurrence legend>span{opacity:.65}
.tnx-schedule-remove{order:2;font-size:.8rem;opacity:.5;text-decoration:none}
.tnx-schedule-remove:hover{opacity:.4}
.tnx-schedule-remove[hidden]{display:none}
.tnx-schedule-occurrence label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:.85rem}
.tnx-schedule-occurrence>label:only-of-type{grid-column:1/-1}
.tnx-schedule-occurrence input[data-part]{box-sizing:border-box;width:100%;min-height:38px;min-width:0}
.tnx-schedule-resources{grid-column:1/-1;min-width:0}
.tnx-schedule-resources>span{display:block;font-size:.85rem;margin-bottom:5px}
.tnx-schedule-dialog button{cursor:pointer}
.tnx-schedule-dialog [role=alert]{color:var(--error-color,#b22)}
@media(max-width:540px){.tnx-schedule-occurrence{grid-template-columns:1fr;gap:10px}.tnx-schedule-resources{grid-column:1}}
