.rap-workspace .rw-line.lc-line { grid-template-columns: 29px minmax(0, 1fr); overflow: hidden; border-color: #eeebf4; margin: 8px 0; }
.lc-line .rw-line-number { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lc-line .rw-line-writing { transition: transform .16s ease; }
.lc-line[data-line-swiping] .rw-line-writing { transform: translateX(var(--lc-swipe-offset, 0)); }
.lc-controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 4px; min-width: 0; padding-top: 3px; border-top: 1px solid #eeebf4; }
.rap-workspace .lc-controls button, .rap-workspace .lc-status button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; width: auto; min-width: 44px; min-height: 44px; padding: 9px; margin: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #66557e; font: inherit; font-size: 12px; line-height: 1.2; font-weight: 650; cursor: pointer; box-shadow: none; }
.lc-controls svg, .lc-status svg, .lc-swipe-delete svg { display: block; width: 18px; height: 18px; flex: 0 0 18px; pointer-events: none; }
.rap-workspace .lc-controls button:hover:not(:disabled), .rap-workspace .lc-status button:hover:not(:disabled) { color: #533785; background: #eee8f7; border-color: #dcd0ee; }
.rap-workspace .lc-controls button:focus-visible, .rap-workspace .lc-status button:focus-visible, .rap-workspace .lc-line > .lc-swipe-delete:focus-visible { outline: 3px solid #7851ad; outline-offset: -3px; }
.rap-workspace .lc-controls .lc-delete { margin-left: auto; color: #976776; }
.rap-workspace .lc-controls .lc-delete:hover:not(:disabled) { color: #a62d4f; background: #ffedf1; border-color: #f4cdd9; }
.rap-workspace .lc-controls button:disabled { opacity: .35; cursor: default; }
.rap-workspace .lc-line > .lc-swipe-delete { position: absolute; top: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 96px; min-width: 96px; height: auto; min-height: 44px; margin: 0; padding: 12px 8px; border: 0; border-radius: 0 10px 10px 0; color: #fff; background: #ad3458; opacity: 0; visibility: hidden; transform: translateX(100%); transition: transform .18s ease, opacity .18s ease, visibility .18s; font-size: 13px; line-height: 1.3; font-weight: 700; box-shadow: -8px 0 18px #3c16351a; }
.rap-workspace .lc-line[data-line-revealed="true"] > .lc-swipe-delete { visibility: visible; opacity: 1; transform: translateX(0); }
.rap-workspace .lc-line > .lc-swipe-delete:hover { background: #962746; color: #fff; opacity: 1; }
.rap-workspace .lc-line > .lc-swipe-delete:disabled { background: #8b8490; cursor: default; }
.lc-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin-top: 8px; padding: 8px 9px; border-radius: 9px; color: #786d88; background: #f5f2fa; font-size: 11px; line-height: 1.5; }
.lc-status [hidden], .lc-status[hidden] { display: none !important; }
.lc-status .lc-announcement:empty { display: none; }
.rap-workspace .lc-status button { color: #59338d; background: #fff; border-color: #ddd1ec; }
.lc-editor[data-line-editing="false"] .lc-controls { display: none; }
@media (max-width: 600px) {
  .rap-workspace .rw-line.lc-line { grid-template-columns: 23px minmax(0, 1fr); }
  .rap-workspace .lc-controls button { padding: 8px 6px; gap: 4px; font-size: 11px; }
  .lc-controls { gap: 2px; }
  .lc-status { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-line .rw-line-writing, .rap-workspace .lc-line > .lc-swipe-delete { transition: none; }
}
@media print {
  .lc-controls, .lc-status, .lc-swipe-delete { display: none !important; }
}
