@media (max-width: 720px) {
	body {
		padding: 1rem;
	}
	.page-shell {
		padding: 0.75rem;
	}
	.notebook-paper {
		padding: 1rem 1rem 1.5rem 3rem;
		background-size: 100% 2.2rem;
		min-height: auto;
	}
	.page-date {
		position: static;
		text-align: left;
		margin-bottom: 1rem;
		right: auto;
	}
	.notebook-paper::before {
		left: 2.3rem;
	}
	.notebook-paper::after {
		left: 0.7rem;
		width: 0.7rem;
		background-size: 0.7rem 1.8rem;
	}
	.progress-labels {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
	.todo-form {
		grid-template-columns: 1fr;
	}
	.todo-form button {
		width: 100%;
	}
	.controls {
		justify-content: stretch;
	}
	.controls button,
	.import-label {
		flex: 1 1 100%;
		min-width: 0;
	}
	.todo-item {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"checkbox content"
			"actions actions";
		row-gap: 0.75rem;
	}
	.todo-item > input[type="checkbox"] {
		grid-area: checkbox;
	}
	.task-content {
		grid-area: content;
	}
	.task-actions {
		grid-area: actions;
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {

    body{
        padding: 0.5rem;
    }
    .page-shell{
        padding: 0px;
        width: 90%;
        margin: 0px 0px 0px -10px;
    }
    .page-date::before{
        display: inline-block;
        margin: 0px 6px 0px 0px;
    }
    .page-date{
        line-height: 1.4rem;
		margin: 0px 0px 0px 22px;
        text-align: center;
    }
    header {
        margin: 12px 0px 0px 25px;
        .subtitle {
            line-height: 33px;
            margin: 7px 0px 0px 0px;
            text-align: justify;
        }
    }
    .progress-panel{
		width: 95%;
		margin: 10px 0px 16px 25px;
        .progress-labels{
            display: flex;
			flex-direction: row;
			align-content: center;
			justify-content: space-between;
			align-items: center;
        }
    }
    .todo-form{
        width: 90%;
        margin: 0px 0px 10px 30px;
        button{
            margin: 10px 0px 0px 0px;
        }
    }
	.notebook-paper {
		padding: .5rem 1.25rem 1.5rem;
        height: calc(100vh - 100px);
		overflow-y: auto;
	}
	.todo-form {
		grid-template-columns: 1fr;
	}
    .todo-list{
		height: 37.6vh;
		overflow: scroll;
		margin: 16px 0px 0px 20px;
        padding: 0px 10px 0px 0px;
        background: #f6f1e7;
        border-radius: 6px;
        .todo-item {
            grid-template-columns: auto 1fr;
            grid-template-areas:
                "checkbox content"
                "actions actions";
            row-gap: 0rem;
            border-bottom: solid thin #dbdbda;
        }
        .task-actions {
            grid-area: actions;
            justify-content: center;
            .drag-handle{
                /* * /
                display: none;
                visibility: hidden;
                /* */
            }
        }        
    }
	.controls {
        margin: 10px 0px 0px 0px;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-content: center;
		justify-content: center;
		align-items: center;
		gap: 7px;
		overflow-x: unset;
		z-index: 1;
		position: relative;
        button, .import-label{
            flex: unset;
			min-width: 0;
			padding: 7px;
        }
	}
    
}