:root {
	--font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--text-large-title: 2.125rem; 
	--text-title1: 1.75rem; 
	--text-title3: 1.25rem; 
	--text-body: 1.0625rem; 
	--text-headline: var(--text-body);
	--text-callout: 1rem; 
	--text-subheadline: 0.9375rem; 
	--text-footnote: 0.8125rem; 
	--text-caption1: 0.75rem; 
}
body {
	font-family: var(--font-family);
	font-size: var(--text-footnote);
	font-variant-numeric: tabular-nums;
	background-color: #f0f4f8;
	margin: 0;
	padding: 0;
}
input,
select,
textarea {
	font-size: var(--text-title3);
	font-family: var(--font-family);
	font-variant-numeric: tabular-nums;
	color: #150c05;
	background-color: #ffffff;
	border: 2px solid #c9c9c9;
	border-radius: 10px;
	padding: 10px 12px;
	box-sizing: border-box;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus,
select:focus,
textarea:focus {
	border-color: #009bb2;
	box-shadow: 0 0 0 3px rgba(0, 155, 178, 0.2);
}
input::placeholder,
textarea::placeholder {
	color: #999999;
}
select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23009bb2'><path d='M6 8L0 0h12z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px 8px;
	padding-right: 32px;
}
input[type="checkbox"] {
	width: 18px;
	height: 18px;
	border-radius: 4px;
	accent-color: #009bb2;
	padding: 0;
	vertical-align: middle;
}
input[type="button"],
input[type="submit"] {
	cursor: pointer;
}
input[type="button"]:active,
input[type="submit"]:active {
	transform: translateY(1px);
}
.mo-btn {
	display: inline-block;
	font-size: var(--text-headline);
	font-weight: 600;
	padding: 12px 24px;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
	text-align: center;
}
.mo-btn-primary {
	background-color: #009bb2;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(0, 155, 178, 0.3);
}
.mo-btn-primary:hover {
	background-color: #00889d;
	box-shadow: 0 6px 16px rgba(0, 155, 178, 0.4);
}
.mo-btn-primary:active {
	transform: translateY(1px);
	box-shadow: 0 2px 8px rgba(0, 155, 178, 0.3);
}
.mo-btn-primary:disabled,
.mo-btn-primary-disabled {
	background-color: #c9c9c9;
	color: #ffffff;
	cursor: not-allowed;
	box-shadow: none;
}
.mo-btn-secondary {
	background: none;
	background-color: #ffffff;
	color: #009bb2;
	border: 2px solid #009bb2;
	font-weight: 500;
}
.mo-btn-secondary:hover {
	background-color: #e0f3f6;
	color: #00889d;
}
.mo-btn-danger {
	background-color: #e74c3c;
	color: #ffffff;
}
.mo-btn-danger:hover {
	background-color: #c0392b;
}
.mo-btn-small {
	font-size: var(--text-subheadline);
	padding: 6px 12px;
	border-radius: 8px;
}
.mo-btn-link {
	background: transparent;
	border: none;
	color: #009bb2;
	font-size: var(--text-subheadline);
	font-weight: 500;
	padding: 0;
	cursor: pointer;
	text-decoration: none;
	outline: none;
	transition: opacity 0.2s ease, color 0.2s ease;
}
.mo-btn-link:hover {
	opacity: 0.8;
	color: #00889d;
	text-decoration: underline;
}
.mo-btn-link:active {
	transform: translateY(1px);
}
.mo-btn-link:focus {
	outline: none;
	box-shadow: none;
}
.mo-btn-menu {
	padding-left: 0;
	padding-right: 0;
	padding-top: 2px;
	padding-bottom: 2px;
	background: transparent;
	border: none;
	color: #009bb2;
	text-align: left;
}
.mo-btn-menu:hover {
	background: transparent;
	opacity: 0.8;
}
.mo-btn-menu.mo-btn-primary {
	background-color: #009bb2;
	color: #ffffff;
	border-radius: 12px;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 4px;
	padding-bottom: 4px;
}
.mo-optype-switch {
	border: 2px solid #009bb2;
	background: none;
	background-color: #ffffff;
	color: #009bb2;
	font-size: var(--text-subheadline);
	padding: 10px 18px;
	margin: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.mo-optype-first {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}
.mo-optype-last {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-left-width: 0;
}
.mo-optype-switch-active {
	background-color: #009bb2;
	color: #ffffff;
}
.mo-optype-income-active {
	background-color: #2da844;
	border-color: #2da844;
	color: #ffffff;
}
ul {
	text-align:left;
}
.alert {
	padding: 15px;
	border: 1px solid #d6e9c6;
	border-radius: 4px;
	color: #3c763d;
	background-color: #dff0d8;
}
.asText {
	background: none;
	border: none;
	margin: 0;
	padding: 0;
}
.ui-autocomplete-category {
    font-weight: bold;
    padding: .2em .4em;
    margin: .8em 0 .2em;
    line-height: 1.5;
  }
.mo-screen { margin:auto; max-width:320px; padding:10px; }
.mo-screen-narrow { margin:auto; max-width:320px; }
.mo-screen.mo-screen-history,
.mo-screen.mo-screen-edit { max-width: 428px; }
.mo-screen-history .mo-day,
.mo-screen-edit .mo-input-card { max-width: none; }
.mo-screen-bordered { border-radius:7px; border:2px solid #009bb2; }
.mo-login-container {
	background-color: #ffffff;
	border-radius: 24px;
	padding: 32px 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	max-width: 360px;
	margin: 20px auto;
	box-sizing: border-box;
}
.mo-login-form-block {
	background-color: #f5fbfc;
	border-radius: 16px;
	padding: 16px 14px;
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06);
}
.mo-input-card {
	background-color: #ffffff;
	border-radius: 24px;
	padding: 24px 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	max-width: 320px;
	margin: 20px auto;
	box-sizing: border-box;
}
.mo-input-card .mo-field-no-mt { margin-top: 12px; }
.mo-input-card .mo-field { margin-top: 10px; }
.mo-input-card .mo-field-mt5 { margin-top: 14px; }
.mo-input-card .mo-btn { margin-top: 16px; }
.mo-screen-edit .mo-input-card .mo-field-no-mt { margin-top: 0; }
.mo-entry-said {
	margin: 6px 4px 0;
	font-size: var(--text-subheadline);
	color: #5a5a5a;
	text-align: left;
}
.mo-entry-said:empty { display: none; }
.mo-entry-said-error { color: #b3261e; }
.mo-field.mo-field-error {
	border-color: #b3261e;
	box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.15);
}
.mo-entry-question {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	padding: 12px 14px;
	border: 1px solid #cfe9ee;
	border-radius: 14px;
	background-color: #f5fbfc;
	font-size: var(--text-subheadline);
	text-align: left;
}
.mo-entry-question[hidden] { display: none; }
.mo-entry-question p { flex: 1 1 100%; margin: 0; }
.mo-input-card .mo-entry-question .mo-btn { margin-top: 0; }
.mo-dates {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
	text-align: left;
}
.mo-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	border: 2px solid #e5eaef;
	border-radius: 999px;
	background-color: #ffffff;
	color: #150c05;
	font-family: var(--font-family);
	font-size: var(--text-subheadline);
	cursor: pointer;
	outline: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.mo-chip:hover { border-color: #b8dfe6; }
.mo-chip-on {
	border-color: #009bb2;
	background-color: #e0f3f6;
	font-weight: 600;
}
.mo-chip:focus-visible { box-shadow: 0 0 0 3px rgba(0, 155, 178, 0.2); }
.mo-chip svg {
	width: 16px;
	height: 16px;
	color: #009bb2;
}
.mo-dates-field {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	border: 0;
	opacity: 0;
	pointer-events: none;
}
.mo-pro-banner {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 320px;
	margin: 20px auto;
	padding: 14px 18px;
	box-sizing: border-box;
	font: inherit;
	font-size: var(--text-subheadline);
	line-height: 1.4;
	color: inherit;
	text-align: left;
	background-color: #ffffff;
	border: none;
	border-radius: 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}
.mo-pro-banner:hover {
	background-color: #f5fbfc;
	box-shadow: 0 8px 32px rgba(0, 155, 178, 0.16);
}
.mo-pro-banner:active {
	transform: translateY(1px);
}
.mo-pro-banner:focus-visible {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(0, 155, 178, 0.2);
}
.mo-pro-banner-icon {
	flex: none;
	width: 40px;
	height: 40px;
	margin-right: 14px;
	padding: 9px;
	box-sizing: border-box;
	border-radius: 12px;
	background-color: #e0f3f6;
	color: #009bb2;
}
.mo-pro-banner-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}
.mo-pro-banner-body {
	flex: 1;
	min-width: 0;
}
.mo-pro-banner-text {
	display: block;
}
.mo-pro-banner-link {
	display: block;
	margin-top: 2px;
	font-weight: 600;
	color: #009bb2;
	transition: color 0.2s ease;
}
.mo-pro-banner:hover .mo-pro-banner-link {
	color: #00889d;
}
.mo-pro-banner-name {
	display: inline-block;
}
.mo-day {
	max-width: 320px;
	margin: 20px auto;
	text-align: left;
}
.mo-day-head {
	margin: 0 14px 8px;
	font-size: var(--text-subheadline);
	font-weight: 600;
	color: #5a5a5a;
}
.mo-day-sum {
	font-weight: 700;
	white-space: nowrap;
}
.mo-day-sum + .mo-day-sum { margin-left: 10px; }
.mo-day-sum-zero { color: #5a5a5a; }
.mo-sum-expense { color: #7f2a00; }
.mo-sum-income { color: #386601; }
.mo-day-card {
	background-color: #ffffff;
	border-radius: 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	box-sizing: border-box;
	overflow: hidden;
}
.mo-files-table tr:first-child > td { padding-top: 30px; }
.mo-month-card { margin-top: 20px; }
.mo-month-card select {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 40px 14px 18px;
	border: none;
	border-radius: inherit;
	background-color: transparent;
	background-position: right 18px center;
	font-size: var(--text-headline);
	font-weight: 600;
	cursor: pointer;
}
.mo-month-card select:focus {
	box-shadow: inset 0 0 0 3px rgba(0, 155, 178, 0.2);
}
.mo-screen.mo-screen-input { max-width: 880px; }
.mo-input-history { margin-top: 5px; }
@media screen and (min-width: 760px) {
	.mo-input-columns {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 24px;
		align-items: start;
	}
	.mo-input-columns .mo-input-card,
	.mo-input-columns .mo-pro-banner,
	.mo-input-columns .mo-day {
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}
}
@media screen and (max-width: 480px) {
	.mo-screen {
		max-width: none;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
		box-sizing: border-box;
	}
	.mo-screen.mo-screen-history,
	.mo-screen.mo-screen-edit { max-width: none; }
	.mo-login-container { padding-left: 8px; padding-right: 8px; }
	.mo-input-card {
		width: calc(100% - 16px);
		max-width: none;
		padding-left: 8px;
		padding-right: 8px;
		margin-left: 8px;
		margin-right: 8px;
	}
	.mo-day,
	.mo-month-card,
	.mo-pro-banner {
		width: calc(100% - 16px);
		max-width: none;
		margin-left: 8px;
		margin-right: 8px;
	}
	.mo-menu-table { padding-left: 5px; padding-right: 5px; }
}
.mo-login-title {
	color: #4765b6;
	font-size: var(--text-title1);
}
.mo-login-subtitle {
	color: #5a5a5a;
	font-size: var(--text-title3);
}
.mo-header { width:100%; height:35px; border:none; }
.mo-header-title {
	width: 100%;
	padding-left: 12px;
	text-align: left;
}
.mo-header-title:first-child {
	padding-left: 0;
}
.mo-screen-input .mo-header-title {
	font-weight: 600;
}
.mo-menu-button,
.mo-btn-back {
	width: 36px;
	height: 36px;
	padding: 6px;
	border: 2px solid #009bb2;
	border-radius: 10px;
	background-color: #ffffff;
	color: #009bb2;
	cursor: pointer;
	outline: none;
	box-shadow: 0 2px 6px rgba(0, 155, 178, 0.2);
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}
.mo-menu-button svg,
.mo-btn-back svg {
	width: 100%;
	height: 100%;
	display: block;
}
.mo-menu-button:hover,
.mo-btn-back:hover {
	background-color: #009bb2;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(0, 155, 178, 0.3);
}
.mo-menu-button:active,
.mo-btn-back:active {
	transform: translateY(1px);
	box-shadow: 0 2px 6px rgba(0, 155, 178, 0.2);
}
.mo-menu-button:focus-visible,
.mo-btn-back:focus-visible {
	box-shadow: 0 0 0 3px rgba(0, 155, 178, 0.2);
}
.mo-field { width:100%; box-sizing:border-box; margin-top:3px; }
.mo-field-mt5 { margin-top:5px; }
.mo-field-mt20 { margin-top:20px; }
.mo-field-no-mt { margin-top:0; }
.mo-field-icon {
	position: relative;
}
.mo-field-icon .mo-field {
	padding-left: 44px;
}
.mo-field-icon::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 3px;
	bottom: 0;
	width: 20px;
	height: 20px;
	margin: auto 0;
	background-repeat: no-repeat;
	background-size: 20px 20px;
	pointer-events: none;
}
.mo-field-login::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009bb2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
}
.mo-field-password::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009bb2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='11' width='18' height='11' rx='2' ry='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>");
}
.mo-link { font-size:var(--text-title3); color:#009bb2; }
.mo-text-body { font-size:var(--text-body); }
.mo-text-title { color:#4765b6; }
.mo-text-headline { font-size: var(--text-headline); font-weight: 600; }
.mo-divider { height: 0; margin: 20px 0; border-top: 1px solid #c9c9c9; }
.mo-day-table {
	width: 100%;
	border-collapse: collapse;
	background-color: transparent;
}
.mo-day-table > tbody > tr > td {
	padding: 0;
}
.mo-day-table .mo-op-cell {
	padding: 10px 18px;
}
.mo-day-table tr + tr .mo-op-cell {
	border-top: 1px solid #e0e0e0;
}
.mo-day-table .mo-day-empty {
	padding: 10px 18px;
	font-size: var(--text-subheadline);
	color: #5a5a5a;
	text-align: left;
}
.mo-op-cell { cursor: pointer; }
.mo-op {
	--op-picture: 33px;
	--op-gap: 12px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: var(--op-gap);
	row-gap: 2px;
	font-size: var(--text-callout);
	text-align: left;
}
.mo-op-icon-cell {
	flex: 0 0 var(--op-picture);
	text-align: center;
}
.mo-op-main { flex: 1 1 5em; }
.mo-op-icon {
	width: auto;
	height: auto;
	max-width: 26.25px;
	max-height: 30px;
	display: inline-block;
	vertical-align: top;
}
.mo-op-name {
	font-weight: 700;
	overflow-wrap: anywhere;
}
.mo-op-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 6px;
	font-size: var(--text-subheadline);
}
.mo-op-account { overflow-wrap: anywhere; }
.mo-op-date {
	color: #5a5a5a;
	white-space: nowrap;
}
.mo-op-attach {
	width: auto;
	height: 0.8em;
}
.mo-op-note {
	flex: 0 0 calc(100% - var(--op-picture) - var(--op-gap));
	margin-left: calc(var(--op-picture) + var(--op-gap));
	padding-top: 1px;
	font-size: var(--text-subheadline);
	font-style: italic;
	overflow-wrap: anywhere;
}
.mo-op-note,
.mo-field-note {
	color: #852553;
}
.mo-op-money {
	margin-left: auto;
	font-weight: 700;
	text-align: right;
}
.mo-menu-table { width:100%; max-width:320px; padding:10px; margin-top:20px; }
.mo-menu-table-no-mt { margin-top:0; }
.mo-sub-card { border-radius:10px; padding:10px; }
.mo-bg2 { background-color:#eeeeee; }
.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
	font-family: var(--font-family);
}
.ui-autocomplete {
	font-size: var(--text-subheadline);
}
.ui-autocomplete.ui-menu {
	max-height: 320px;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 6px;
	border: 1px solid #e3e9ee;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 12px 32px rgba(0, 40, 60, 0.18);
}
.ui-autocomplete .ui-autocomplete-category {
	margin: 0;
	padding: 8px 10px 4px;
	font-size: var(--text-caption1);
	font-weight: 700;
	line-height: 1.3;
	color: #5a5a5a;
}
.ui-autocomplete .ui-menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 6px 10px;
	border: none;
	border-radius: 8px;
	color: #150c05;
	text-align: left;
}
.ui-autocomplete .ui-menu-item .mo-op-icon {
	flex: none;
	max-width: 24px;
	max-height: 28px;
}
.ui-autocomplete .ui-menu-item.ui-state-focus,
.ui-autocomplete .ui-menu-item.ui-state-active {
	margin: 0;
	border: none;
	background: #e0f3f6;
	color: #150c05;
}
.ui-datepicker {
	width: 284px;
	padding: 12px;
	box-sizing: border-box;
	font-size: var(--text-subheadline);
	background: #ffffff;
	border: none;
	border-radius: 18px;
	box-shadow: 0 16px 48px rgba(0, 60, 80, 0.22);
}
.ui-datepicker .ui-datepicker-header {
	position: relative;
	margin-bottom: 8px;
	padding: 0;
	background: none;
	border: none;
	color: #150c05;
	font-size: var(--text-headline);
	font-weight: 600;
}
.ui-datepicker .ui-datepicker-title {
	margin: 0 40px;
	line-height: 32px;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next,
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
	top: 0;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 9px;
	background: #e0f3f6;
	cursor: pointer;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-prev-hover { left: 0; }
.ui-datepicker .ui-datepicker-next,
.ui-datepicker .ui-datepicker-next-hover { right: 0; }
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover { background: #c8ebf1; }
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
	position: static;
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	background: none;
	text-indent: 0;
	overflow: visible;
	color: #009bb2;
	font-size: var(--text-title3);
	line-height: 32px;
	text-align: center;
}
.ui-datepicker .ui-datepicker-calendar {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 4px;
	font-size: var(--text-footnote);
}
.ui-datepicker .ui-datepicker-calendar th {
	padding: 4px 0;
	font-size: var(--text-caption1);
	font-weight: 700;
	color: #009bb2;
}
.ui-datepicker .ui-datepicker-calendar td { padding: 0; }
.ui-datepicker .ui-datepicker-calendar td .ui-state-default {
	display: block;
	height: 34px;
	padding: 0;
	line-height: 34px;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 10px;
	background: #f2f8fa;
	color: #150c05;
	font-weight: 600;
}
.ui-datepicker .ui-datepicker-calendar td .ui-state-hover { background: #e0f3f6; }
.ui-datepicker .ui-datepicker-calendar td .ui-state-highlight { box-shadow: inset 0 0 0 2px #009bb2; }
.ui-datepicker .ui-datepicker-calendar td .ui-state-active {
	background: #009bb2;
	color: #ffffff;
	box-shadow: none;
}
.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-unselectable .ui-state-default {
	background: transparent;
	color: #c9c9c9;
}
.ui-datepicker-buttonpane {
	border-top: 1px solid #eeeeee;
	margin-top: 10px;
	padding-top: 10px;
}
.ui-datepicker-buttonpane button {
	background-color: #009bb2;
	color: #ffffff;
	border: none;
	border-radius: 10px;
	padding: 8px 16px;
	font-size: var(--text-subheadline);
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.ui-datepicker-buttonpane button:hover {
	background-color: #00889d;
	box-shadow: 0 4px 10px rgba(0, 155, 178, 0.3);
}
