/* FEBRY.OPS V368: compact upcoming schedule list, edit, hide-text and nowrap numbering. */
.schedule-panel .schedule-list-wrap{overflow-x:hidden;max-width:100%}
.schedule-panel .schedule-compact-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}
.schedule-panel .schedule-compact-table th.schedule-number-head,
.schedule-panel .schedule-compact-table td.schedule-number-cell{width:50px;white-space:nowrap;overflow-wrap:normal;word-break:normal;hyphens:none;letter-spacing:0}
.schedule-panel .schedule-compact-table th:nth-child(3),
.schedule-panel .schedule-compact-table td.schedule-account-cell{width:27%}
.schedule-panel .schedule-compact-table th,
.schedule-panel .schedule-compact-table td{padding:11px 9px;vertical-align:middle;border-bottom:1px solid #223327}
.schedule-panel .schedule-compact-table th{background:#101a12;color:#F5F9F3;position:static}
.schedule-panel .schedule-compact-table .schedule-check-col{display:none;width:48px;text-align:center}
.schedule-panel .schedule-compact-table.schedule-selection-mode .schedule-check-col{display:table-cell}
.schedule-panel .schedule-compact-table .schedule-row-check{accent-color:#B6FF40;width:19px;height:19px;cursor:pointer}
.schedule-panel .schedule-compact-table .schedule-account-cell{color:#F5F9F3;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.schedule-panel .schedule-compact-table .schedule-open-detail{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:#F5F9F3;-webkit-text-fill-color:#F5F9F3;text-align:left;width:100%;padding:4px 2px;display:flex;align-items:center;gap:8px;cursor:pointer;min-width:0}
.schedule-panel .schedule-compact-table .schedule-open-detail:focus-visible{outline:2px solid #B6FF40;outline-offset:3px;border-radius:5px}
.schedule-panel .schedule-compact-table .schedule-open-detail .schedule-one-line{display:block;min-width:0;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;line-height:1.4}
.schedule-panel .schedule-compact-table .schedule-open-chevron{flex:none;color:#B6FF40;font-size:18px;line-height:1;transition:transform .15s ease}
.schedule-panel .schedule-compact-table [aria-expanded="true"] .schedule-open-chevron{transform:rotate(180deg)}
.schedule-panel .schedule-compact-table .schedule-expanded-row>td{padding:0 11px 14px;background:#0d170f}
.schedule-panel .schedule-compact-table .schedule-expanded-row.hidden{display:none}
.schedule-panel .schedule-item-detail{padding:13px 5px 4px;display:grid;gap:14px}
.schedule-panel .schedule-detail-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.schedule-panel .schedule-detail-meta>span{background:#121f15;border:1px solid #2c412c;border-radius:9px;padding:8px 10px;min-width:0;overflow-wrap:anywhere;font-size:12px;color:#F5F9F3}
.schedule-panel .schedule-detail-meta>span>b,.schedule-panel .schedule-detail-section>b{display:block;font-size:11px;color:#F5F9F3;margin-bottom:6px}
.schedule-panel .schedule-detail-section{min-width:0}
.schedule-panel .schedule-detail-section>p{margin:5px 0 0;line-height:1.55;overflow-wrap:anywhere}
.schedule-panel .schedule-full-text,.schedule-panel .schedule-chain-text{white-space:pre-wrap;background:#071009;border:1px solid #243a28;padding:10px 12px;border-radius:9px}
.schedule-panel .schedule-chain-text>span{color:#B6FF40;font-weight:700}
.schedule-panel .schedule-detail-actions{display:flex;align-items:center;gap:8px}
.schedule-panel .schedule-detail-error,.schedule-panel .schedule-edit-error{color:#F5F9F3;background:#280f16;border:1px solid #5d2631;border-radius:8px;padding:9px 11px;font-size:12px}
.schedule-panel .schedule-edit-form{display:grid;gap:12px;border:1px solid #39543a;border-radius:12px;padding:13px;background:#101b12}
.schedule-panel .schedule-edit-field{display:grid;gap:7px;color:#F5F9F3;font-size:12px;font-weight:700}
.schedule-panel .schedule-edit-field textarea{background:#09110b;color:#F5F9F3;width:100%;box-sizing:border-box;resize:vertical;padding:11px 12px;border:1px solid #466047;border-radius:9px;font:inherit;font-weight:400;line-height:1.55}
.schedule-panel .schedule-edit-field textarea:focus-visible{outline:2px solid #B6FF40;outline-offset:2px}
.schedule-panel .schedule-edit-chains{display:grid;gap:8px}
.schedule-panel .schedule-edit-chains-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.schedule-panel .schedule-edit-chain-list{display:grid;gap:10px}
.schedule-panel .schedule-edit-chain-row{display:flex;align-items:end;gap:9px}
.schedule-panel .schedule-edit-chain-row>.schedule-edit-field{flex:1;min-width:0}
.schedule-panel .schedule-edit-actions{display:flex;gap:9px;justify-content:flex-end}
.schedule-panel .schedule-edit-actions .schedule-edit-save{background:#B6FF40!important;color:#090D0B !important;-webkit-text-fill-color:#090D0B !important;font-weight:800;border-color:#B6FF40!important}
.schedule-panel .schedule-tools #scheduleDeleteSelected,.schedule-panel .schedule-tools #scheduleDeleteAll{min-width:84px}
.schedule-panel .schedule-edit-form .hidden{display:none}
@media(max-width:720px){
  .schedule-panel .schedule-compact-table th,.schedule-panel .schedule-compact-table td{padding:10px 6px}
  .schedule-panel .schedule-compact-table th.schedule-number-head,.schedule-panel .schedule-compact-table td.schedule-number-cell{width:44px;white-space:nowrap}
  .schedule-panel .schedule-compact-table th:nth-child(3),.schedule-panel .schedule-compact-table td.schedule-account-cell{width:29%}
  .schedule-panel .schedule-compact-table .schedule-check-col{width:33px}
  .schedule-panel .schedule-compact-table .schedule-open-detail .schedule-one-line{font-size:12px}
  .schedule-panel .schedule-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
  .schedule-panel .schedule-edit-chain-row{flex-direction:column;align-items:stretch}
  .schedule-panel .schedule-edit-chains-head .btn{font-size:12px}
  .schedule-panel .schedule-edit-actions .btn{flex:1}
}

/* V368: HIDE TEXT affects only optional scheduler descriptions.
   Never suppress schedule rows, errors, status, timezone input or controls. */
body.cl-ms.ms-hide-text #scheduleModal .schedule-head p,
body.cl-ms.ms-hide-text #scheduleModal .ms-global-timezone > small[data-febry-timezone-label],
body.cl-ms.ms-hide-text #scheduleModal #scheduleNote{
  display:none!important;
}
