:root {
	font-family: Inter, "Aptos", "Segoe UI", sans-serif;
	color: #202521;
	background: #f4f5f2;
	font-size: 14px;
	--ink: #202521;
	--muted: #737b74;
	--line: #e2e5df;
	--green: #658d2c;
	--nav: #111613;
	--ari-accent: #b9e43b;
	--ari-panel: #fff;
}

body {
	min-height: 100vh;
	background: #f4f5f2;
}

button {
	border-radius: 5px;
	background: #202521;
	padding: 12px 17px;
	font-weight: 650;
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

button:hover {
	filter: none;
	background: #39443a;
}

button:active {
	transform: translateY(1px);
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid #b9e43b;
	outline-offset: 2px;
}

input,
select,
textarea {
	border-color: #dce1d9;
	border-radius: 5px;
	background-color: #fff;
}

input:focus,
textarea:focus,
select:focus {
	outline: 2px solid #d0e99a;
	outline-offset: 0;
	border-color: #769d3a;
}

.eyebrow {
	color: #77816f;
	letter-spacing: 1.9px;
}

.logo {
	width: 50px;
	height: 50px;
	overflow: hidden;
	border: 0;
	border-radius: 6px;
	background-color: #fff;
	background-image: url("/assets/ari-logo.jpeg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: transparent;
	font-size: 0;
}

.logo span {
	display: none;
}

aside {
	width: 250px;
	background: #111613;
	padding: 27px 18px 20px;
	border-right: 1px solid #252c27;
}

.brand {
	gap: 13px;
	margin: 0 0 38px;
	padding: 0 4px;
}

.brand .logo {
	width: 54px;
	height: 54px;
}

.brand strong {
	font-size: 12px;
	letter-spacing: 1.7px;
}

.brand small {
	color: #a4ada2;
	letter-spacing: .3px;
}

.nav-caption {
	color: #8b9689;
	letter-spacing: 2px;
}

.module-switch {
	gap: 6px;
	margin-bottom: 22px;
}

.module-switch button {
	border: 1px solid transparent;
	border-radius: 5px;
	background: transparent;
	color: #c0c8bd;
	padding: 12px 11px;
}

.module-switch button:hover,
.tabs button:hover {
	background: #202822;
	color: #fff;
}

.module-switch button.active {
	border-color: #36422a;
	background: #27321f;
	color: #d7f27c;
}

#parc-navigation {
	border-color: #ffffff18;
}

.tabs button {
	border-radius: 5px;
	color: #b4bdb2;
	padding: 12px 11px;
}

.tabs button.active {
	background: #263028;
	color: #f5f8f1;
}

.tabs button.active:before {
	left: 0;
	width: 3px;
	background: var(--ari-accent);
}

#account-menu {
	border-color: #ffffff20;
}

#account-menu .subtle {
	background: transparent;
}

.aside-bottom {
	border-color: #ffffff20;
	color: #a3ada1;
}

.local-dot {
	background: var(--ari-accent);
}

main {
	max-width: 1900px;
	margin-left: 250px;
	padding: 38px clamp(24px, 4vw, 66px) 28px;
}

main > header {
	margin-bottom: 32px;
	padding-bottom: 23px;
	border-bottom: 1px solid #dfe3dc;
}

main > header .eyebrow {
	color: #6a8f31;
}

main > header h1 {
	margin: 9px 0 7px;
	font-size: clamp(27px, 3vw, 36px);
	font-weight: 720;
	letter-spacing: -1.3px;
}

main > header p {
	font-size: 13px;
}

#add,
.dialog-actions button[type="submit"],
#login-form button,
#settings-add-member button {
	background: #202521;
	box-shadow: none;
}

#add:hover,
.dialog-actions button[type="submit"]:hover,
#login-form button:hover,
#settings-add-member button:hover {
	background: #658d2c;
}

.subtle {
	border: 1px solid #e0e4dc;
	background: #fff;
	color: #4e594c;
}

.subtle:hover {
	border-color: #c6d69f;
	background: #f4f8eb;
	color: #405c1d;
}

.portfolio-grid {
	gap: 18px;
}

.portfolio-card,
.settings-panel,
.panel {
	border: 1px solid #e1e4dd;
	border-radius: 8px;
	background: var(--ari-panel);
	box-shadow: 0 8px 26px #18220e08;
}

.portfolio-card {
	padding: 27px;
}

.portfolio-card:before {
	height: 4px;
	background: #a6ce3b;
}

.stock.portfolio-card:before {
	background: #89958a;
}

.portfolio-icon,
.stock .portfolio-icon {
	border-radius: 6px;
	background: #f0f5e4;
	color: #64862b;
}

.stock .portfolio-icon {
	background: #edf0ed;
	color: #526252;
}

.portfolio-card h2 {
	font-weight: 700;
}

.portfolio-counts strong {
	color: #202521;
	font-weight: 700;
}

.portfolio-attention,
.stock .portfolio-attention {
	border: 1px solid #e7edda;
	background: #f7faef;
	color: #586c38;
}

.stock .portfolio-links button:first-child {
	background: #515d52;
}

.home-flow {
	border-color: #e1e4dd;
	border-radius: 8px;
	background: #fff;
}

.stat {
	border: 1px solid #e1e4dd;
	border-radius: 7px;
	background: #fff;
}

.stat strong {
	color: #202521;
}

.stage-navigation {
	border-color: #e1e4dd;
}

.stage-buttons {
	gap: 6px;
	border-radius: 6px;
	background: #e9ece6;
	padding: 4px;
}

.stage-buttons button {
	border-radius: 4px;
	background: transparent;
	color: #687166;
}

.stage-buttons button.active {
	background: #202521;
	color: #fff;
}

.panel {
	overflow: hidden;
}

.toolbar {
	border-bottom-color: #e5e8e2;
	background: #fff;
}

.toolbar h2,
.task-toolbar h2 {
	font-size: 16px;
	font-weight: 700;
}

.list-heading {
	background: #f3f5f1;
	color: #667064;
}

.vehicle {
	border-bottom-color: #e8ebe5;
	background: #fff;
}

.vehicle:hover {
	background: #fbfcf8;
}

.vehicle.expanded {
	background: #f9fbf5;
}

.plate {
	border-color: #dfe4d8;
	border-radius: 4px;
	background: #f5f7f2;
	color: #394337;
}

.badge {
	border-radius: 4px;
}

.task-column {
	border-radius: 7px;
	background: #eef0ec;
}

.task-column.progress {
	background: #f5f2e8;
}

.task-column.done {
	background: #eef3e8;
}

.task-card {
	border-color: #e2e6de;
	border-radius: 6px;
	box-shadow: 0 3px 10px #15200c08;
}

.task-card-actions button,
.task-complete {
	border-radius: 4px;
}

.settings-panel {
	padding: 26px;
}

dialog {
	border: 1px solid #dfe4da;
	border-radius: 9px;
	box-shadow: 0 24px 80px #121a1270;
}

dialog::backdrop {
	background: #111613a8;
	backdrop-filter: blur(3px);
}

.dialog-heading {
	border-bottom-color: #e6e9e3;
}

footer {
	margin-top: 30px;
	padding-top: 18px;
	border-top-color: #dfe3dc;
}

.footer-actions {
	display: flex;
	gap: 8px;
}

.site-credit {
	color: #7c8479;
	font-size: 10px;
	letter-spacing: .15px;
	text-decoration: none;
	white-space: nowrap;
}

.site-credit strong {
	color: #46523e;
	font-weight: 700;
}

.site-credit:hover,
.site-credit:hover strong {
	color: #64862b;
	text-decoration: underline;
}

#login-portal {
	position: relative;
	overflow: auto;
	background:
		radial-gradient(ellipse at 78% 10%, #263a25 0, transparent 34%),
		linear-gradient(140deg, #171d19 0%, #101512 52%, #080b09 100%);
}

#login-portal:before {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
	background-size: 52px 52px;
	content: "";
	mask-image: linear-gradient(110deg, #000 0%, transparent 72%);
	pointer-events: none;
}

.login-card {
	position: relative;
	width: 480px;
	padding: 42px;
	border: 1px solid #ffffff;
	border-radius: 8px;
	box-shadow: 0 30px 90px #0008;
}

.login-card:before {
	position: absolute;
	top: -1px;
	right: 24px;
	left: 24px;
	height: 4px;
	border-radius: 0 0 3px 3px;
	background: var(--ari-accent);
	content: "";
}

.login-card .logo {
	width: 82px;
	height: 82px;
	margin-bottom: 25px;
	border: 1px solid #e3e6e0;
	border-radius: 6px;
	background-color: #fff;
	background-image: url("/assets/ari-logo.jpeg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.login-card > .eyebrow {
	color: #688a34;
	font-size: 9px;
	letter-spacing: 1.65px;
}

.login-card h1 {
	margin: 13px 0 9px;
	color: #1d231e;
	font-size: 31px;
	letter-spacing: -1.2px;
}

.login-card > p {
	color: #737b73;
	font-size: 13px;
}

.login-card form {
	gap: 17px;
	margin-top: 27px;
}

.login-card label {
	gap: 8px;
	color: #353c35;
	font-size: 12px;
}

.login-card input {
	min-height: 46px;
	padding: 12px 13px;
	border-color: #dce1d8;
	border-radius: 5px;
}

.login-card button {
	min-height: 46px;
	border-radius: 5px;
	background: #202521;
}

.login-card button:hover {
	background: #658d2c;
}

.login-card .site-credit {
	display: block;
	margin-top: 29px;
	padding-top: 14px;
	border-top: 1px solid #eaede7;
	text-align: center;
}

footer .site-credit {
	margin-left: auto;
	align-self: center;
}

@media (min-width: 1500px) {
	main {
		padding-right: clamp(48px, 5vw, 90px);
		padding-left: clamp(48px, 5vw, 90px);
	}
}

@media (max-width: 1100px) {
	aside {
		width: 205px;
	}

	main {
		margin-left: 205px;
		padding-right: 24px;
		padding-left: 24px;
	}
}

@media (max-width: 700px) {
	aside {
		width: 100%;
		border-right: 0;
		border-bottom: 1px solid #252c27;
		padding: 12px 15px;
	}

	.brand {
		margin-bottom: 12px;
	}

	.brand .logo {
		width: 38px;
		height: 38px;
	}

	.module-switch {
		gap: 5px;
	}

	.module-switch button {
		flex: 1;
		justify-content: center;
		padding: 9px 7px;
		font-size: 10px;
	}

	.module-switch button:last-child {
		flex-basis: 100%;
	}

	.tabs button {
		padding: 9px 5px;
		font-size: 10px;
	}

	main {
		margin-left: 0;
		padding: 22px 15px;
	}

	main > header {
		padding-bottom: 18px;
	}

	.login-card {
		padding: 30px 24px 25px;
	}

	.login-card h1 {
		font-size: 27px;
	}

	footer {
		align-items: flex-start;
		gap: 11px;
	}

	footer .site-credit {
		margin-left: 0;
		align-self: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
