:root {
	color-scheme: light;
	--ink: #252a27;
	--muted: #777e78;
	--line: #e6e9e4;
	--paper: #f8f8f6;
	--panel: #ffffff;
	--green-bg: #c7d3c2;
	--sidebar: #f4f5f2;
	--active: #ebecea;
	--yellow: #fff1a9;
	--blue: #cdebf1;
	--pink: #f9cfd0;
	--orange: #ffd0a0;
	--gray: #e8e8e6;
	--success: #dff1df;
	--danger: #f8d1d1;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--green-bg);
	color: var(--ink);
}

button,
input,
textarea {
	font: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

.app-background {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 38px 20px;
}

.wall-shell {
	width: min(1040px, calc(100vw - 40px));
	min-height: min(650px, calc(100vh - 76px));
	display: grid;
	grid-template-columns: 250px 1fr;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 18px;
	background: var(--paper);
	box-shadow: 0 22px 55px rgba(45, 64, 46, 0.24);
}

.sidebar {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 24px 18px;
	border-right: 1px solid var(--line);
	background: rgba(245, 246, 243, 0.92);
}

.sidebar-heading,
.page-title {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.sidebar-heading h2,
.page-title h1,
.profile-card h2,
.sticky-note h2 {
	margin: 0;
	letter-spacing: 0;
}

.sidebar-heading h2 {
	font-size: 22px;
}

.menu-icon {
	color: #8c928d;
	font-size: 18px;
	font-weight: 700;
}

.search-box {
	height: 36px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: #fff;
	color: #8b918d;
}

.search-box input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ink);
}

.nav-group {
	display: grid;
	gap: 7px;
}

.nav-group p {
	margin: 0 0 4px;
	color: #737973;
	font-size: 11px;
	font-weight: 800;
}

.nav-group a,
.sidebar-footer a,
.sidebar-footer button {
	min-height: 33px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 9px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #3f4640;
	font-size: 14px;
	text-align: left;
	cursor: pointer;
}

.nav-group a b {
	margin-left: auto;
	color: #777e78;
	font-size: 12px;
}

.nav-group a.is-active,
.sidebar-footer a.is-active {
	background: var(--active);
	font-weight: 700;
}

.dot {
	width: 11px;
	height: 11px;
	display: inline-block;
	border-radius: 3px;
}

.dot-yellow { background: var(--yellow); }
.dot-blue { background: var(--blue); }
.dot-orange { background: var(--orange); }

.tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 2px;
}

.tag {
	padding: 7px 10px;
	border-radius: 6px;
	background: #eeeeec;
	color: #535a55;
	font-size: 12px;
	font-weight: 700;
}

.tag-blue { background: var(--blue); }
.tag-pink { background: var(--pink); }

.sidebar-footer {
	display: grid;
	gap: 4px;
	margin-top: auto;
}

.sidebar-footer form {
	margin: 0;
}

.content-panel {
	padding: 34px 38px 42px;
	overflow: auto;
}

.page-title {
	margin-bottom: 30px;
}

.page-title h1 {
	font-size: clamp(34px, 6vw, 48px);
	line-height: 1;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.tasks-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.sticky-note,
.add-note {
	min-height: 228px;
	border: 0;
	border-radius: 7px;
	box-shadow: 0 6px 16px rgba(41, 47, 42, 0.08);
}

.sticky-note {
	position: relative;
	padding: 22px 20px;
}

.note-yellow { background: var(--yellow); }
.note-blue { background: var(--blue); }
.note-pink { background: var(--pink); }
.note-orange { background: var(--orange); }
.note-gray { background: var(--gray); }

.sticky-note h2 {
	max-width: calc(100% - 28px);
	margin-bottom: 11px;
	font-size: 20px;
	line-height: 1.15;
}

.sticky-note p {
	margin: 0;
	white-space: pre-line;
	color: #303730;
	font-size: 14px;
	line-height: 1.38;
}

.sticky-note time {
	position: absolute;
	left: 20px;
	bottom: 16px;
	color: rgba(37, 42, 39, 0.58);
	font-size: 12px;
	font-weight: 700;
}

.note-actions {
	position: absolute;
	top: 13px;
	right: 13px;
}

.note-actions form {
	margin: 0;
}

.note-actions button {
	width: 27px;
	height: 27px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.48);
	color: rgba(37, 42, 39, 0.68);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.add-note {
	background: var(--gray);
}

.add-note summary {
	min-height: 228px;
	display: grid;
	place-items: center;
	color: #242925;
	font-size: 72px;
	font-weight: 200;
	list-style: none;
	cursor: pointer;
}

.add-note summary::-webkit-details-marker {
	display: none;
}

.add-note[open] summary {
	min-height: 70px;
	font-size: 46px;
}

.note-form {
	display: grid;
	gap: 11px;
	padding: 0 18px 18px;
}

.stack-form {
	display: grid;
	gap: 15px;
}

.stack-form label,
.note-form label {
	display: grid;
	gap: 7px;
	color: #565d57;
	font-size: 13px;
	font-weight: 800;
}

.stack-form input,
.note-form input,
.note-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: #fff;
	color: var(--ink);
	padding: 11px 12px;
	outline: 0;
}

.note-form textarea {
	resize: vertical;
}

.primary-button {
	min-height: 42px;
	border: 0;
	border-radius: 7px;
	background: #2f6d45;
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.color-picker {
	display: flex;
	gap: 9px;
	align-items: center;
}

.color-picker input {
	position: absolute;
	opacity: 0;
}

.swatch {
	width: 28px;
	height: 28px;
	display: block;
	border: 2px solid transparent;
	border-radius: 7px;
	cursor: pointer;
}

.color-picker input:checked + .swatch {
	border-color: #2d332e;
}

.swatch.yellow { background: var(--yellow); }
.swatch.blue { background: var(--blue); }
.swatch.pink { background: var(--pink); }
.swatch.orange { background: var(--orange); }
.swatch.gray { background: var(--gray); }

.profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.profile-card {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
}

.profile-card h2 {
	margin-bottom: 18px;
	font-size: 20px;
}

.alert {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 800;
}

.alert-success {
	background: var(--success);
	color: #245b33;
}

.alert-error {
	background: var(--danger);
	color: #8a2c2c;
}

.login-body {
	display: grid;
	place-items: center;
	padding: 24px;
	background: var(--green-bg);
}

.login-shell {
	width: min(460px, 100%);
}

.login-card {
	padding: 34px;
	border-radius: 16px;
	background: rgba(248, 248, 246, 0.96);
	box-shadow: 0 22px 55px rgba(45, 64, 46, 0.24);
}

.login-card h1 {
	margin: 0 0 10px;
	font-size: 44px;
	line-height: 1;
}

.login-copy {
	margin: 0 0 24px;
	color: var(--muted);
	line-height: 1.5;
}

@media (max-width: 860px) {
	.app-background {
		padding: 0;
		place-items: stretch;
	}

	.wall-shell {
		width: 100%;
		min-height: 100vh;
		grid-template-columns: 1fr;
		border: 0;
		border-radius: 0;
	}

	.sidebar {
		display: block;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.sidebar-heading,
	.search-box,
	.tag-row {
		margin-bottom: 14px;
	}

	.nav-group {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 12px;
	}

	.nav-group p {
		grid-column: 1 / -1;
	}

	.sidebar-footer {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.content-panel {
		padding: 28px 20px 34px;
	}

	.tasks-grid,
	.profile-grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 861px) and (max-width: 1040px) {
	.tasks-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
