html.cheyutha-mobile .main-header,
html.cheyutha-mobile .main-header .logo,
html.cheyutha-mobile .main-header .navbar,
html.cheyutha-mobile .main-sidebar,
html.cheyutha-mobile .sidebar-open .main-sidebar,
html.cheyutha-mobile .control-sidebar,
html.cheyutha-mobile .main-footer {
	display: none !important;
}

html.cheyutha-mobile,
html.cheyutha-mobile body {
	padding-top: 0 !important;
	background: #e7edf6;
}

html.cheyutha-mobile .content-wrapper,
html.cheyutha-mobile .right-side,
html.cheyutha-mobile .main-footer {
	margin-left: 0 !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

html.cheyutha-mobile .content-wrapper {
	padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
	min-height: 100vh;
}

/* Tall dialogs size their body to the full screen, which parks Close/Save under the tab bar. */
html.cheyutha-mobile .modal-dialog {
	margin-bottom: calc(88px + env(safe-area-inset-bottom));
}

html.cheyutha-mobile .modal-body[style*="100vh"] {
	height: auto !important;
	max-height: calc(100vh - 240px - env(safe-area-inset-bottom)) !important;
	max-height: calc(100dvh - 240px - env(safe-area-inset-bottom)) !important;
}

html.cheyutha-mobile .content-wrapper > br {
	display: none;
}

html.cheyutha-mobile .content-header {
	padding: 8px 16px 0;
}

html.cheyutha-mobile .content {
	padding-top: 8px;
}

html.cheyutha-mobile .cmn-tabbar {
	display: flex;
}

html.cheyutha-mobile-home .content-wrapper,
html.cheyutha-mobile-home .right-side {
	display: none !important;
}

html.cheyutha-mobile-home .cmn-home,
html.cheyutha-mobile .cmn.is-open .cmn-home {
	display: block;
}

html.cheyutha-mobile .cmn-sheet.is-active {
	display: flex;
}

.cmn-home,
.cmn-sheet,
.cmn-tabbar {
	display: none;
}

.cmn-home {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	background: linear-gradient(180deg, #f4f7fb 0%, #e7edf6 42%, #e3ebf5 100%);
	padding: 16px 16px calc(104px + env(safe-area-inset-bottom));
	box-sizing: border-box;
	overflow: hidden;
}

.cmn-home::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: min(78vw, 320px);
	height: min(92vw, 380px);
	transform: translate(-50%, -50%);
	background: var(--cmn-mark) center / contain no-repeat;
	opacity: 0.14;
	pointer-events: none;
}

html.cheyutha-mobile .cmn.is-open .cmn-home {
	position: fixed;
	inset: 0;
	z-index: 2050;
	overflow: auto;
}

.cmn-logo {
	position: relative;
	z-index: 1;
	display: block;
	height: 72px;
	width: auto;
	max-width: 160px;
	margin: 6px auto 16px;
	object-fit: contain;
	background: transparent;
	filter: drop-shadow(0 6px 10px rgba(30, 60, 40, 0.08));
}

.cmn-search {
	position: relative;
	z-index: 1;
	width: 100%;
	border: 0;
	border-radius: 14px;
	padding: 13px 14px;
	margin-bottom: 14px;
	font-size: 16px;
	color: #243041;
	background: #fff;
	box-shadow: 0 8px 20px rgba(30, 50, 80, 0.08);
	box-sizing: border-box;
}

.cmn-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.cmn-card {
	background: rgba(255, 255, 255, 0.94);
	border: 0;
	border-radius: 20px;
	min-height: 118px;
	padding: 16px 8px 12px;
	box-shadow: 0 10px 22px rgba(36, 58, 92, 0.08);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	-webkit-tap-highlight-color: transparent;
}

.cmn-card:active {
	transform: scale(0.97);
	background: #fff;
}

.cmn-ico {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cmn-card img {
	width: 48px;
	height: 48px;
	display: block;
	object-fit: contain;
}

.cmn-card span {
	color: #3c4654;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
}

.cmn-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: #6b7480;
	padding: 28px 8px;
	font-size: 15px;
}

.cmn-sheet {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 72px;
	z-index: 2080;
	background: #fff;
	flex-direction: column;
	border-radius: 0 0 18px 18px;
	box-shadow: 0 16px 40px rgba(20, 32, 48, 0.16);
}

.cmn-sheet header {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 58px;
	padding: 6px 8px 6px 4px;
	border-bottom: 1px solid #eceff3;
	background: #fff;
}

.cmn-sheet h1 {
	flex: 1;
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	color: #1d2430;
}

.cmn-back,
.cmn-close {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: #f3f6fa;
	font-size: 26px;
	line-height: 1;
	color: #1d2430;
	-webkit-tap-highlight-color: transparent;
}

.cmn-list {
	overflow: auto;
	flex: 1;
	-webkit-overflow-scrolling: touch;
}

.cmn-row {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 0;
	border-bottom: 1px solid #eef1f5;
	background: #fff;
	text-align: left;
	font-size: 16px;
	color: #1d2430;
	-webkit-tap-highlight-color: transparent;
}

.cmn-row:active {
	background: #f6f8fb;
}

.cmn-mark {
	width: 18px;
	color: #2f6fed;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
	flex: 0 0 18px;
}

.cmn-name {
	flex: 1;
	font-weight: 600;
}

.cmn-tabbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2200;
	min-height: 64px;
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
	background: linear-gradient(180deg, #00ab09 0%, #009507 46%, #007e06 100%);
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 -12px 28px rgba(0, 70, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
	align-items: center;
	justify-content: space-around;
	box-sizing: border-box;
}

.cmn-tabbar a,
.cmn-tabbar button {
	position: relative;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.82);
	width: 92px;
	height: 52px;
	padding: 4px 0 2px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	border-radius: 16px;
	text-decoration: none;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	-webkit-tap-highlight-color: transparent;
}

.cmn-tabbar a::after,
.cmn-tabbar button::after {
	content: attr(aria-label);
}

.cmn-tabbar svg {
	width: 22px;
	height: 22px;
	display: block;
}

.cmn-tabbar .is-on {
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 6px 14px rgba(0, 50, 6, 0.18);
}

#cheyuthaGetApp {
	display: none;
}

html.cheyutha-get-app,
html.cheyutha-get-app body {
	overflow: hidden;
	background: #f4f7fb;
}

html.cheyutha-get-app body > *:not(#cheyuthaGetApp) {
	display: none !important;
}

html.cheyutha-get-app #cheyuthaGetApp {
	display: flex;
	position: fixed;
	inset: 0;
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
	box-sizing: border-box;
	background: linear-gradient(180deg, #f7faf8 0%, #e7f3ea 100%);
}

.cga-card {
	width: 100%;
	max-width: 380px;
	background: #fff;
	border-radius: 22px;
	padding: 28px 22px 22px;
	text-align: center;
	box-shadow: 0 16px 40px rgba(0, 70, 16, 0.12);
}

.cga-card img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	margin-bottom: 8px;
}

.cga-card h1 {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	color: #123018;
}

.cga-card p {
	margin: 10px 0 22px;
	color: #3d5244;
	font-size: 16px;
	line-height: 1.45;
}

.cga-card a {
	display: block;
	min-height: 48px;
	line-height: 48px;
	border-radius: 14px;
	background: linear-gradient(180deg, #00ab09 0%, #009507 55%, #007e06 100%);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}
