/* ============================================================
   sheets.css — страница «Мои листочки»
   ============================================================ */


/* ─── Макет страницы ────────────────────────────────────────── */

.page-layout {
    flex-direction: row;
    margin-top: 94px;
}

/* ─── Левая панель: список листков ──────────────────────────── */

.sheets-left-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sheets-sidebar {
    position: sticky;
    max-height: calc(100vh - 320px);
    top: 120px;
    overflow-y: auto;
    padding: 0 20px 0 0;
    margin: 0px 20px 0 0;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-color) transparent;
}

.sheets-sidebar::-webkit-scrollbar {
    width: 4px;
}

.sheets-sidebar::-webkit-scrollbar-thumb {
    background: var(--scrollbar-color); 
}

.sheets-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-right: 40px;
}

.sheets-sidebar-title {
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted-color);
}


#button_new_sheet, #button_new_folder {
    width: 50px;
    height: 50px;
}

/* ─── Элемент списка ────────────────────────────────────────── */

.sheets-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sheet-list-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
    position: relative;
}

.sheet-list-item:hover {
    background: var(--highlight-color);
}


.sheet-icon {
    min-width: 18px;
}

.sheet-list-item:hover .sheet-list-name,
.sheet-list-item:hover .sheet-list-count,
.sheet-list-item:hover .sheet-icon {
    color: var(--highlight-text-color);
}

.sheet-list-item.active {
    background: var(--accent-color);
    border-left-color: var(--accent-color);
}

.sheet-list-item.active .sheet-list-name,
.sheet-list-item.active .sheet-list-count,
.sheet-list-item.active .sheet-icon,
.sheet-list-item.active svg {
    color: var(--accent-text-color);
}


.sheet-list-item.current{
    opacity: 1;
}

.sheet-list-name, .folder-name {
    flex: 1;
    font-size: 0.875rem;
    color: var(--color-text-body);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.12s ease;
}

.sheet-list-count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: color 0.12s ease;
}

/* ─── Основная панель: содержимое листка ────────────────────── */

.sheets-main {
    flex: 1;
    min-width: 0;
}

/* ─── Пустое состояние ──────────────────────────────────────── */

.sheets-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    gap: 16px;
}

.sheets-empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin: 0;
}

.sheets-empty-hint {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.sheets-empty-hint svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

/* ─── Заголовок открытого листка ────────────────────────────── */

/* ─── Заголовок открытого листка (кнопки) ───────────────────── */

.sheet-view-header {
    margin-bottom: 20px;
}

.sheet-header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}


/* ─── Название листка + счётчик ────── */

.sheet-list-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--light-border-color);
    height: 68px;
}

.sheet-name-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.sheet-name-input {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    border: none;
    border-bottom: 2px solid var(--color-active);
    outline: none;
    background: transparent;
    flex: 1;
    min-width: 0;
    font-family: inherit;
    padding: 0 0 2px;
    display: none;
}

.sheet-list-title-row.renaming .sheet-name-display {
    display: none;
}

.sheet-list-title-row.renaming .sheet-name-input {
    display: block;
}

.sheet-stats {
    font-size: 1rem;
    color: var(--color-text-muted);
    flex-shrink: 0;
    white-space: nowrap;
}

/* Кнопки в заголовке листка */
.sheet-header-actions {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}


.sheet-header-actions-buttons {
    display: flex;
    gap: 8px;
}


.button-sheet-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
	height: 50px;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    color: rgb(51, 51, 51);
    transition: background 0.12s ease, border-color 0.12s ease;
    white-space: nowrap;
    text-decoration: none;
}


.button-sheet-action svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.button-sheet-action:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.button-sheet-action:disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}


.button-sheet-action svg {
    transition: transform 0.15s ease;
}

.button-sheet-action:active svg {
    transform: scale(0.82);
}

.button-sheet-action:disabled svg {
    transform: none;
}


#button_download_pdf.loading svg {
    animation: sheet-item-spin 0.8s linear infinite;
}


/* ─── Список задач в листке ─────────────────────────────────── */

.sheet-items-list {
    display: flex;
    flex-direction: column;
    /* Единый «листок»: одна общая карточка вместо набора отдельных карточек */
    background: var(--card-background-color);
    border: 2px solid var(--scrollbar-color);
    border-radius: var(--common-border-radius);
    padding: 4px 28px;
    /* Видим по умолчанию; скрываем только если есть задачи с формулами */
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Скрываем только когда список с задачами ещё ждёт рендера KaTeX */
.sheet-items-list.has-items {
    opacity: 0;
}

.sheet-items-list.has-items.katex-ready {
    opacity: 1;
}

/* ─── Карточка задачи в листке ──────────────────────────────── */

.sheet-item {
    display: flex;
    align-items: stretch;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--light-border-color);
    border-radius: 0;
    overflow: visible;
    transition: background 0.15s ease;
    cursor: grab;
    user-select: none;
    position: relative;
}

.sheet-item:last-child {
    border-bottom: none;
}

.sheet-item:hover {
    background: var(--light-highlight-color);
}

.sheet-item:active {
    cursor: grabbing;
}

.sheet-item.dragging {
    opacity: 0.4;
    background: var(--light-highlight-color);
}

.sheet-item.drag-over {
    box-shadow: inset 0 2px 0 var(--color-active);
}

/* Ручка для drag */
.sheet-item-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    flex-shrink: 0;
    background: transparent;
    border-right: none;
    color: #ccc;
    font-size: 14px;
    cursor: grab;
    transition: color 0.12s;
}

.sheet-item:hover .sheet-item-handle {
    color: var(--color-active);
}

/* Содержимое */
.sheet-item-body {
    flex: 1;
    min-width: 0;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sheet-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sheet-item-number {
    color: var(--accent-color);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 3px;
    font-size: 1rem;
}

.sheet-item-topic {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sheet-item-source {
    color: var(--text-muted-color);
    text-transform: uppercase;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sheet-item-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-main-color);
}

.sheet-item-content {
    display: flex;
    gap: 16px;

    opacity: 0;
    transform: translateY(-4px);
    transition:
        opacity 200ms ease,
        transform 200ms ease,
        height 250ms ease;
    pointer-events: none;
}

.sheet-item-content.katex-ready {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ─── Блок действий: заменить на аналог + удалить ───────────── */

.sheet-item-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.sheet-item-replace {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: var(--common-border-radius);
    background: transparent;
    cursor: pointer;
    color: var(--text-muted-color);
    transition: color 0.12s, background 0.12s;
}

.sheet-item-replace:hover {
    color: var(--color-active);
    background: var(--highlight-color);
}

.sheet-item-replace.loading svg {
    animation: sheet-item-spin 0.8s linear infinite;
}

.sheet-item-replace:disabled {
    cursor: default;
    pointer-events: none;
}

@keyframes sheet-item-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

/* Кнопка удаления */
.sheet-item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: none;
    border-radius: var(--common-border-radius);
    background: transparent;
    cursor: pointer;
    color: var(--text-muted-color);
    font-size: 18px;
    transition: color 0.12s, background 0.12s;
}

.sheet-item-remove:hover {
    color: var(--red-color);
    background: var(--light-red-color);
}




#button_rename, #button_delete_sheet {
    display: none;
}
/* ─── Пустой листок ─────────────────────────────────────────── */

.sheet-no-items {
    text-align: center;
    padding: 60px 20px;
}

.sheet-no-items hint {
    text-align: center;
    padding: 60px 20px;
}

/* ─── Диалог подтверждения ──────────────────────────────────── */

.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.confirm-dialog {
    background: white;
    border-radius: 12px;
    padding: 28px 28px 22px;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    animation: dialogIn 0.18s ease;
}

@keyframes dialogIn {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.confirm-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--color-text-main);
}

.confirm-text {
    font-size: 0.875rem;
    color: #555;
    margin: 0 0 22px;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.confirm-button {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    font: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    border: 1px solid var(--light-border-color);
    border-radius: var(--common-border-radius);
    background: var(--card-background-color-color);
    transition: background 0.12s;
}

.confirm-button:hover
{ 
    background: var(--light-highlight-color);
    border-color: var(--strong-border-color);
}

.confirm-button.danger {
    background: white;
    color: var(--red-color);
    border-color: var(--light-border-color);
    gap: 3px;
}

.confirm-button.danger:hover
{
    background: var(--light-red-color);
    border-color: var(--red-color);
 }

/* ─── Шаблоны листочков ─────────────────────────────────────── */

.sheet-no-items-hint {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.template-cards {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.template-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 200px;
    height: 200px;
    padding: 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--common-border-radius);
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease, box-shadow 0.15s ease, transform 0.12s ease;
    font: inherit;
    text-align: center;
}

.template-card:hover {
    /* background: #f5f5f5; */
    border-color: #357935;
    box-shadow: 0 4px 18px rgba(42, 93, 224, 0.10);
    transform: translateY(-2px);
}

.template-card:active {
    transform: translateY(0);
    box-shadow: none;
}

.template-card:disabled,
.template-card.loading {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.template-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    white-space: nowrap;
}

.template-card-subject {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--accent-color);
}



.template-card-desc {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.4;
}

/* Спиннер загрузки шаблона */

.template-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    color: #777;
    font-size: 0.88rem;
}

/* Атрибут hidden должен переопределять display:flex */
.template-loading[hidden] {
    display: none;
}

.template-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--color-active);
    border-radius: 50%;
    animation: tpl-spin 0.8s linear infinite;
}

@keyframes tpl-spin {
    to { transform: rotate(-360deg); }
}


/* ─── Кнопки в шапке сайдбара ──────────────────────────────── */

.sheets-sidebar-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}


/* ─── Пустой сайдбар ───────────────────────────────────────── */

.sidebar-empty {
    padding: 8px;
    font-size: 0.82rem;
    color: #bbb;
}

/* ─── Папки ────────────────────────────────────────────────── */

.folder-item {
    list-style: none;
    margin-bottom: 2px;
    border-radius: 8px;
    transition: background 0.12s;
}

.folder-item.folder-dragging {
    opacity: 0.45;
}

.folder-item.folder-drag-over > .folder-header {
    background: var(--color-bg-active);
    border-color: #b7d9bf;
}

/* Подсветка при перетаскивании листка на папку */
.folder-item.sheet-drag-over {
    background: var(--color-bg-active);
    outline: 2px dashed var(--color-active);
    outline-offset: -2px;
}

.folder-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
    user-select: none;
    position: relative;
}

.folder-header:hover {
    background: var(--highlight-color);
}

.folder-toggle-icon {
    font-size: 0.6rem;
    color: #aaa;
    width: 12px;
    flex-shrink: 0;
    padding: 0 2px;
    text-align: center;
}

.folder-icon {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.folder-count {
    font-size: 0.75rem;
    color: #aaa;
    flex-shrink: 0;
}

.folder-actions {
    gap: 2px;
    flex-shrink: 0;
    margin-right: 2px;
}


.folder-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.12s, background 0.12s;
    padding: 0;
}

.folder-button:hover {
    opacity: 1;
    background: rgba(0,0,0,0.06);
}

/* Список листков внутри папки */

.folder-sheets-list {
    list-style: none;
    margin: 2px 0 4px 0;
    padding: 0 0 0 14px;
}

.folder-empty-hint {
    font-size: 0.78rem;
    color: #ccc;
    padding: 4px 8px;
    font-style: italic;
}

/* Листки внутри папки — чуть меньший отступ */

.sheet-list-item.in-folder {
    padding-left: 6px;
}


/* Линия сверху элемента */
.sheet-list-item.drag-insert-before,
.folder-header.drag-insert-before {
    position: relative;
}
.sheet-list-item.drag-insert-before::before,
.folder-header.drag-insert-before::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--text-main-color);
    z-index: 10;
}

/* Линия снизу элемента */
.sheet-list-item.drag-insert-after,
.folder-header.drag-insert-after {
    position: relative;
}
.sheet-list-item.drag-insert-after::after,
.folder-header.drag-insert-after::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--text-main-color);
    z-index: 10;
}

/* Подсветка папки при переносе внутрь нее */
.folder-header.drag-into-folder {
    background-color: var(--highlight-color);
    outline: 2px dashed var(--accent-color);
    outline-offset: -2px;
}




/* ─── Быстрые кнопки на листочках ─────────────────────────── */

.sheet-item-quick-actions {
    gap: 2px;
    flex-shrink: 0;
    margin-left: auto;
}


.sheet-drag-handle {
    font-size: 13px;
    color: #ccc;
    cursor: grab;
    flex-shrink: 0;
    padding: 0;
    opacity: 0;
    margin-right: -4px;
    transition: opacity 0.12s;
}

.sheet-list-item:hover .sheet-drag-handle {
    opacity: 1;
}

.sheet-list-item.sheet-dragging {
    opacity: 0.4;
}

/* ─── Зона «убрать из папки» ───────────────────────────────── */

.sidebar-drop-unfolder {
    list-style: none;
    display: none;
    margin-top: 10px;
    margin-right: 50px;
    padding: 8px 10px;
    border: 2px dashed var(--color-scrollbar);
    border-radius: 0;
    font-size: 0.8rem;
    color: var(--text-muted-color);
    text-align: center;
    cursor: default;
    transition: border-color 0.12s, color 0.12s, background 0.12s;
}

/* Показываем зону только во время drag листка */
.sidebar-drop-unfolder.active {
    display: block;
}

.sidebar-drop-unfolder.drag-over {
    border-color: var(--color-active);
    color: var(--color-active);
    background: var(--color-bg-active);
}


/* ─── Инлайн-переименование в сайдбаре ─────────────────────── */
.sidebar-rename-input {
    width: 100%;
    font: inherit;
    font-size: 0.875rem;
    color: var(--text-main-color);
    border: none;
    border-bottom: 2px solid var(--accent-color);
    outline: none;
    background: transparent;
    padding: 0 0 1px;
    min-width: 0;
}


.sidebar-rename-input.active {
    color: var(--accent-text-color);
    border-bottom: 2px solid var(--accent-text-color);
}

/* ─── Фикс: картинки в карточках листка на мобиле ──────────── */

@media (max-width: 800px) {
    .sheet-item-content--right {
        flex-direction: column;
    }

    .sheet-item-content--right .sheet-item-image {
        width: 100%;
        max-width: 280px;
        align-self: center;
        margin-top: 8px;
    }
}



/* ─── Адаптив ───────────────────────────────────────────────── */

/* Кнопка вызова сайдбара и подложка — видны только на мобильных */
.sheets-mobile-toggle {
    display: none;
}

.sheets-mobile-toggle .panel-left-open-icon {
    transition: transform 0.18s ease;
}

.sheets-mobile-toggle[aria-expanded="true"] .panel-left-open-icon {
    transform: scaleX(-1);
}

.sheets-sidebar-backdrop {
    display: none;
}

@media (max-width: 918px) {

    .page-layout {
        flex-direction: column;
        align-items: stretch;
    }

    /* Кнопка «Мои листочки» встаёт в один ряд с «Добавить задачи» / «Скачать PDF» */
    .sheets-mobile-toggle {
        display: inline-flex;
    }

    .sheet-header-actions {
        justify-content: space-between;
    }


    .sheet-header-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        flex-shrink: 0;
    }

    .sheet-header-actions-buttons {
        display: flex;
        gap: 8px;
    }

    /* Сайдбар превращается в выезжающую панель */
    .sheets-left-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1100;
        width: min(420px, 84vw);
        background: var(--page-color);
        padding: 20px;
        box-shadow: 4px 0 24px rgba(0,0,0,0.18);
        transform: translateX(-100%);
        transition: transform 0.22s ease;
        overflow-y: auto;
    }

    .sheets-left-sidebar.open {
        transform: translateX(0);
    }

    .sheets-sidebar {
        height: auto;
        max-height: none;
        top: 0;
        padding-right: 0;
        margin-right: 0;
    }

    .sheets-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1050;
        background: rgba(0,0,0,0.35);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .sheets-sidebar-backdrop.visible {
        opacity: 1;
        pointer-events: auto;
    }

    .sheets-main {
        width: 100%;
    }

    .sheet-view-header {
        gap: 8px;
    }
}




@media (max-width: 800px) {
    .sheets-sidebar-header {
        padding-right: 0;
    }
}

@media (max-width: 616px) {
    .sheet-item-handle {
        display: none;
    }

    .sheet-item-body {
        padding: 14px 6px;
    }

    .sheet-item-replace,
    .sheet-item-remove {
        width: 42px;
        height: 42px;
    }

    .folder-button {
        width: 60px;
        height: 60px;
        margin: 0 -8px 0 12px;
        background: rgba(0,0,0,0.06);
    }


    #button_new_sheet, #button_new_folder {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 520px) {
    .sheets-left-sidebar {
        width: min(300px, 88vw);
        padding: 16px;
    }

    .sheet-view-header {
        margin-bottom: 16px;
    }

    .sheet-header-actions {
        flex-wrap: wrap;
    }

    .button-sheet-action span {
        display: none;
    }

    .button-sheet-action {
        width: 60px;
        height: 60px;
        padding: 8px;
    }

    .sheet-items-list {
        padding: 4px 14px;
    }


    .sheet-item-source {
        max-width: 170px;
    }


    .sidebar-drop-unfolder {
        margin-right: 0;
    }
}
/* ─── Анимация удаления карточки задачи из листка ──────────── */

@keyframes sheet-item-remove {
    0%   { opacity: 1; transform: scaleY(1); max-height: 500px; margin-bottom: 8px; }
    60%  { opacity: 0; transform: scaleY(0.85); }
    100% { opacity: 0; transform: scaleY(0); max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
}

.sheet-item-removing {
    overflow: hidden;
    animation: sheet-item-remove 0.28s ease forwards;
    pointer-events: none;
}
