/* Checklists use one white sheet that grows downward, not notebook pages. */
.notebook-modal.is-draft-checklist,
.notebook-modal.is-published-checklist {
    overflow-y: auto;
}

.notebook-modal.is-draft-checklist .notebook-shell,
.notebook-modal.is-published-checklist .notebook-shell {
    box-sizing: border-box;
    width: 570px;
    min-width: 570px;
    min-height: 0;
    height: auto;
    padding: 18px;
    background: #e9a8c7;
}

.notebook-modal.is-draft-checklist .notebook-viewport,
.notebook-modal.is-published-checklist .notebook-viewport {
    display: none !important;
}

.notebook-modal.is-draft-checklist .checklist-editor,
.notebook-modal.is-draft-checklist .checklist-editor:not([hidden]),
.notebook-modal.is-published-checklist .checklist-editor,
.notebook-modal.is-published-checklist .checklist-editor:not([hidden]) {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    box-sizing: border-box;
    width: 534px !important;
    min-width: 534px !important;
    min-height: 260px !important;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
}

.notebook-modal.is-draft-checklist .checklist-editor__paper,
.notebook-modal.is-published-checklist .checklist-editor__paper {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 100% !important;
    min-height: 260px !important;
    height: auto;
    margin: 0 !important;
    overflow: visible;
    border: 1px solid #c8b7bd;
    background:
        linear-gradient(90deg, transparent 0 45px, rgba(231, 138, 169, 0.48) 45px 47px, transparent 47px),
        repeating-linear-gradient(to bottom, transparent 0 31px, rgba(229, 168, 190, 0.40) 31px 32px),
        #fffdfd;
    box-shadow:
        inset 0 0 14px rgba(111, 78, 91, 0.05),
        4px 5px 0 rgba(71, 45, 58, 0.15);
}

.notebook-modal.is-draft-checklist .checklist-editor__items,
.notebook-modal.is-published-checklist .checklist-editor__items {
    box-sizing: border-box;
    width: 100%;
    min-height: 260px;
    padding: 26px 34px 38px 58px;
}

.notebook-modal.is-draft-checklist .checklist-editor__row,
.notebook-modal.is-published-checklist .checklist-editor__row {
    min-height: 32px;
}

.notebook-modal.is-draft-checklist .checklist-editor__row input[type="text"],
.notebook-modal.is-published-checklist .checklist-editor__row input[type="text"] {
    line-height: 31px;
}

.notebook-modal.is-draft-checklist .notebook-navigation--sheet {
    grid-template-columns: 1fr !important;
    width: 570px;
    min-height: 50px;
}

.notebook-modal.is-draft-checklist .notebook-navigation--sheet .note-type-switch {
    grid-column: 1 !important;
    justify-self: center;
    margin: 0;
}

.notebook-modal.is-draft-checklist .notebook-navigation--sheet [data-page-previous],
.notebook-modal.is-draft-checklist .notebook-navigation--sheet [data-page-next],
.notebook-modal.is-draft-checklist .notebook-navigation--sheet [data-page-counter] {
    display: none !important;
}

/* Published checklists have no page-navigation strip at all. */
.notebook-modal.is-published-checklist .notebook-navigation {
    display: none !important;
}
