#scn-table td.scn-range-cell { box-shadow: inset 0 0 0 1px var(--primary); }
#scn-table td.scn-range-anchor { box-shadow: inset 0 0 0 2px var(--accent); }
#scn-table td[data-duration-mode] { position: relative; padding-bottom: 20px; }
#scn-table td[data-duration-mode]::after { content: attr(data-duration-label); position: absolute; left: 0; right: 0; bottom: 3px; font-size: 10px; font-weight: 400; line-height: 1.2; opacity: .7; pointer-events: none; }
#scn-table .scn-procedure-marker { display: inline-block; padding-left: 32px; opacity: .45; font-size: 14px; }
#scn-table tr.scn-procedure td[data-key="content"] { padding-left: 18px; }
.scn-editor-status { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--text2); }
.scn-editor-status.scn-editor-error { color: var(--red); white-space: normal; line-height: 1.4; }
.scn-editor-menu { position: fixed; z-index: 350; width: min(280px,calc(100vw - 16px)); max-height: calc(100dvh - 16px); overflow-y: auto; padding: 5px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-md); }
.scn-edit-menu-item { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 0; border-radius: 5px; background: transparent; color: var(--text); text-align: left; font: inherit; font-size: 13px; cursor: pointer; }
.scn-edit-menu-item small { color: var(--text3); white-space: nowrap; font-size: 11px; }
.scn-edit-menu-item:hover, .scn-edit-menu-item:focus-visible { background: rgba(26,163,224,.12); outline: none; }
.scn-editor-menu-separator { height: 1px; margin: 4px 5px; background: var(--border); }
@media(max-width:600px) { .scn-editor-status { max-width: 170px; } .scn-edit-menu-item { min-height: 40px; } }
