/* ==========================================================================
   IMT Ghaziabad – base layer
   Fonts, tokens, buttons, login popup, generic popups, profile side panel.
   Loaded from partials/commonhead.html on every page; scoped by html.imt.
   ========================================================================== */

@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../webfonts/newsreader-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 400 600;
	font-display: swap;
	src: url("../webfonts/newsreader-latin-italic.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../webfonts/inter-latin.woff2") format("woff2");
}

html.imt {
	--ix-navy: #1b3a8a;
	--ix-navy-dark: #132a66;
	--ix-navy-deep: #0c1c47;
	--ix-navy-soft: #e9edf7;
	--ix-gold: #d4a415;
	--ix-gold-dark: #9a7406;
	--ix-gold-soft: #f7efd6;
	--ix-ink: #1a1f2e;
	--ix-muted: #596073;
	--ix-subtle: #8a8f9c;
	--ix-line: #e3ded2;
	--ix-paper: #fbf9f4;
	--ix-paper-2: #f3efe4;
	--ix-white: #ffffff;
	--ix-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--ix-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ix-radius: 4px;
	--ix-shadow-sm: 0 1px 2px rgba(12, 28, 71, 0.06), 0 2px 6px rgba(12, 28, 71, 0.05);
	--ix-shadow-lg: 0 18px 48px rgba(12, 28, 71, 0.16);
	--primaryColor: #1b3a8a;
}

/* Hide the page until it has its styles (max 2.5 s, see commonhead) */
html.imt.imt-cloak body {
	opacity: 0;
}
html.imt body {
	transition: opacity 0.18s ease;
}

html.imt body {
	font-family: var(--ix-sans);
	color: var(--ix-ink);
	background: var(--ix-paper);
	-webkit-font-smoothing: antialiased;
}

html.imt ::selection {
	background: var(--ix-gold-soft);
	color: var(--ix-navy-deep);
}

/* ---------- Shared buttons ---------- */
html.imt .ix-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 22px;
	border-radius: var(--ix-radius);
	border: 1px solid transparent;
	font-family: var(--ix-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
html.imt .ix-btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}
html.imt .ix-btn-primary {
	background: var(--ix-navy);
	color: #fff;
}
html.imt .ix-btn-primary:hover,
html.imt .ix-btn-primary:focus {
	background: var(--ix-navy-dark);
	color: #fff;
	text-decoration: none;
}
html.imt .ix-btn-ghost {
	background: transparent;
	color: var(--ix-navy);
	border-color: rgba(27, 58, 138, 0.35);
}
html.imt .ix-btn-ghost:hover,
html.imt .ix-btn-ghost:focus {
	background: var(--ix-navy-soft);
	color: var(--ix-navy-dark);
	border-color: var(--ix-navy);
	text-decoration: none;
}
html.imt .ix-btn-gold {
	background: var(--ix-gold);
	color: var(--ix-navy-deep);
}
html.imt .ix-btn-gold:hover,
html.imt .ix-btn-gold:focus {
	background: #e2b52a;
	color: var(--ix-navy-deep);
	text-decoration: none;
}
html.imt .ix-btn:focus-visible,
html.imt .ix-link:focus-visible {
	outline: 2px solid var(--ix-gold);
	outline-offset: 2px;
}

html.imt .ix-link {
	color: var(--ix-navy);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(212, 164, 21, 0.7);
	padding-bottom: 1px;
}
html.imt .ix-link:hover {
	color: var(--ix-navy-dark);
	border-bottom-color: var(--ix-navy);
	text-decoration: none;
}

/* Small caps label used across the site */
html.imt .ix-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ix-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ix-gold-dark);
}
html.imt .ix-kicker::before {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--ix-gold);
}

/* ==========================================================================
   Login popup (#loginModal, partials/commonfooterscripts.html)
   ========================================================================== */
html.imt #loginModal .modal-dialog {
	max-width: 440px;
}
html.imt #loginModal .modal-content {
	position: relative;
	border: 0;
	border-radius: 6px;
	overflow: hidden;
	background: var(--ix-white);
	box-shadow: var(--ix-shadow-lg);
	border-top: 4px solid var(--ix-navy);
}
html.imt #loginModal .modal-content::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: var(--ix-gold);
}
html.imt #loginModal .modal-header {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 3;
	border: 0;
	padding: 0;
}
html.imt #loginModal .modal-header .close {
	position: static;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ix-muted);
	opacity: 1;
	font-size: 24px;
	font-weight: 400;
	line-height: 34px;
	text-shadow: none;
}
html.imt #loginModal .modal-header .close:hover {
	background: var(--ix-paper-2);
	color: var(--ix-ink);
}
html.imt #loginModal .bg-white.p-3 {
	padding: 0 !important;
}
html.imt #loginModal .border-dotted {
	border: 0 !important;
	padding: 34px 32px 26px !important;
}
html.imt #loginModal .border-dotted > h3 {
	font-family: var(--ix-serif);
	font-size: 28px;
	font-weight: 600;
	color: var(--ix-navy-deep) !important;
	text-align: left !important;
	padding-left: 64px;
	min-height: 52px;
	display: flex;
	align-items: center;
	background: url("../img/imt-emblem.png") left center / 50px 50px no-repeat;
}
html.imt #loginModal .ix-login-sub {
	margin: 4px 0 0;
	padding-left: 64px;
	color: var(--ix-muted);
	font-size: 13.5px;
}
html.imt #loginModal #login-popup-form {
	padding: 22px 0 0 !important;
}
html.imt #loginModal .input-group {
	margin-bottom: 12px;
	flex-wrap: nowrap;
}
html.imt #loginModal .input-group-text {
	background: var(--ix-paper);
	border: 1px solid var(--ix-line);
	border-right: 0;
	color: var(--ix-navy);
	border-radius: var(--ix-radius) 0 0 var(--ix-radius) !important;
	width: 46px;
	justify-content: center;
	font-size: 15px;
}
html.imt #loginModal .form-control {
	height: 46px;
	border: 1px solid var(--ix-line);
	border-radius: 0 var(--ix-radius) var(--ix-radius) 0 !important;
	font-size: 15px;
	color: var(--ix-ink);
	box-shadow: none;
}
html.imt #loginModal .form-control:focus {
	border-color: var(--ix-navy);
	box-shadow: 0 0 0 3px rgba(27, 58, 138, 0.12);
}
html.imt #loginModal .form-control:has(> #mainCaptcha) {
	background: var(--ix-navy-soft) !important;
	border-radius: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42%;
	max-width: 42%;
}
html.imt #loginModal #mainCaptcha {
	margin: 0;
	color: var(--ix-navy-deep) !important;
	font-family: var(--ix-serif);
	font-size: 21px !important;
	font-style: italic;
	letter-spacing: 0.18em;
	user-select: none;
}
html.imt #loginModal .captcamob {
	flex: 1 1 auto;
	max-width: none;
	padding: 0 !important;
}
html.imt #loginModal .captcamob .form-control {
	border-left: 0;
}
html.imt #loginModal #MapMyAccessLoginButtonPopup {
	height: 48px;
	margin: 6px 0 0 !important;
	border: 0;
	border-radius: var(--ix-radius);
	background: var(--ix-navy);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.02em;
	box-shadow: none;
}
html.imt #loginModal #MapMyAccessLoginButtonPopup:hover {
	background: var(--ix-navy-dark);
}
html.imt #loginModal #login-popup-form > .d-flex.align-items-center {
	margin: 20px 0 14px;
}
html.imt #loginModal #login-popup-form > .d-flex.align-items-center span {
	color: var(--ix-subtle) !important;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
html.imt #loginModal #login-popup-form > .d-flex.align-items-center hr {
	border-top: 1px solid var(--ix-line);
	margin: 0;
}
html.imt #loginModal .login-option-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--ix-line);
	border-radius: var(--ix-radius);
	background: var(--ix-paper);
	color: var(--ix-navy-deep) !important;
	font-size: 15px;
	font-weight: 600;
	box-shadow: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
html.imt #loginModal .login-option-btn:hover {
	border-color: var(--ix-navy);
	background: var(--ix-navy-soft);
	text-decoration: none;
}
html.imt #loginModal .login-option-btn span {
	margin-left: 0 !important;
	color: inherit !important;
}
html.imt #loginModal .login-option-btn img {
	width: 18px;
}

/* ==========================================================================
   Generic popups (all Bootstrap 4 modals)
   ========================================================================== */
html.imt .modal-backdrop.show {
	background: var(--ix-navy-deep);
	opacity: 0.55;
}
html.imt .modal-content {
	border: 1px solid var(--ix-line);
	border-radius: 6px;
	box-shadow: var(--ix-shadow-lg);
	font-family: var(--ix-sans);
}
html.imt .modal-header {
	border-bottom: 1px solid var(--ix-line);
	background: var(--ix-paper);
	border-radius: 6px 6px 0 0;
	align-items: center;
}
html.imt .modal-title {
	font-family: var(--ix-serif);
	font-weight: 600;
	color: var(--ix-navy-deep) !important;
	font-size: 22px !important;
}
html.imt .modal-header .close {
	color: var(--ix-muted);
	opacity: 1;
	text-shadow: none;
	font-weight: 400;
}
html.imt .modal-footer {
	border-top: 1px solid var(--ix-line);
}
html.imt .modal .btn-primary,
html.imt .modal .btn-primary1 {
	background: var(--ix-navy) !important;
	border-color: var(--ix-navy) !important;
	color: #fff !important;
	border-radius: var(--ix-radius);
}
html.imt .modal .btn-primary:hover,
html.imt .modal .btn-primary1:hover {
	background: var(--ix-navy-dark) !important;
}
html.imt .modal .form-control:focus {
	border-color: var(--ix-navy);
	box-shadow: 0 0 0 3px rgba(27, 58, 138, 0.12);
}

/* Admin notification popups (#myModal on the home page) */
html.imt #myModal .modal-content {
	border: 0 !important;
	border-top: 4px solid var(--ix-navy) !important;
}
html.imt #myModal h1,
html.imt #myModal h6 {
	color: var(--ix-navy-deep) !important;
	font-family: var(--ix-serif);
}

/* ==========================================================================
   Profile side panel (#mySidenav)
   ========================================================================== */
html.imt .sidenav {
	padding-top: 0;
	background: var(--ix-white);
	color: var(--ix-ink);
	line-height: 1.4;
	border-left: 1px solid var(--ix-line);
	box-shadow: -18px 0 48px rgba(12, 28, 71, 0.18);
	font-family: var(--ix-sans);
}
html.imt .sidenav.mySidenavWidthActive {
	width: 300px;
}
html.imt .sidenav > li:first-of-type {
	list-style: none;
	padding: 26px 24px 20px;
	margin-bottom: 6px;
	background: var(--ix-navy-deep);
	color: #fff;
	border-bottom: 3px solid var(--ix-gold);
	cursor: default;
}
html.imt .sidenav > li:first-of-type:hover {
	background: var(--ix-navy-deep);
}
html.imt .sidenav > li:first-of-type span:first-child {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}
html.imt .sidenav #displayname {
	display: inline-block;
	margin-top: 4px;
	font-family: var(--ix-serif);
	font-size: 21px;
	font-weight: 600 !important;
	color: #fff;
}
html.imt .sidenav li {
	list-style: none;
	padding: 11px 24px;
	font-size: 14.5px;
	color: var(--ix-ink);
	border-left: 3px solid transparent;
}
html.imt .sidenav li:hover {
	background: var(--ix-paper);
	border-left-color: var(--ix-gold);
	color: var(--ix-navy);
}
html.imt .sidenav .divider {
	height: 0;
	border: 0;
	margin: 0 24px;
}
html.imt .sidenav #logoutButton {
	margin: 12px 24px 24px;
	border: 1px solid var(--ix-line);
	border-radius: var(--ix-radius);
	text-align: center;
	font-weight: 600;
	color: #a1321f;
}
html.imt .sidenav #logoutButton:hover {
	background: #fbeeea;
	border-color: #e6b8ad;
}
html.imt .sidenav .closebtn {
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	line-height: 30px;
	text-align: center;
	border-radius: 50%;
	margin: 0;
	font-size: 26px;
	color: rgba(255, 255, 255, 0.8);
	z-index: 2;
}
html.imt .sidenav .closebtn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	text-decoration: none;
}

/* Toasts above everything */
html.imt #toast-container {
	z-index: 99999999999999;
}

/* AI assistant bubble */
html.imt #appai-bubble {
	background: var(--ix-navy) !important;
	box-shadow: 0 10px 26px rgba(12, 28, 71, 0.3);
}

/* Avatar button (home masthead + inner top bar) */
html.imt .ix-avatar {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 3px 10px 3px 3px;
	border: 1px solid var(--ix-line);
	border-radius: 999px;
	background: var(--ix-white);
	cursor: pointer;
	transition: border-color 0.15s ease;
}
html.imt .ix-avatar:hover {
	border-color: var(--ix-navy);
}
html.imt .ix-avatar img {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
}
html.imt .ix-avatar span {
	font-size: 13px;
	font-weight: 600;
	color: var(--ix-navy);
}

/* ==========================================================================
   Layout container + footer (partials/footer.html, every page)
   ========================================================================== */
html.imt .ix-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

html.imt .ix-footer {
	font-family: var(--ix-sans);
	background: var(--ix-navy-deep);
	color: rgba(255, 255, 255, 0.72);
}
html.imt .ix-footer a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
}
html.imt .ix-footer a:hover {
	color: var(--ix-gold);
}
html.imt .ix-footer-full {
	padding: 64px 0 48px;
	border-top: 3px solid var(--ix-gold);
}
html.imt .ix-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
}
html.imt .ix-footer-brand {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
html.imt .ix-footer-emblem {
	flex: none;
	display: inline-flex;
	padding: 6px;
	border-radius: 50%;
	background: #fff;
}
html.imt .ix-footer-emblem img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}
html.imt .ix-footer-title {
	margin: 0 0 8px;
	font-family: var(--ix-serif);
	font-size: 22px;
	font-weight: 600;
	color: #fff;
}
html.imt .ix-footer-text {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.6;
	max-width: 340px;
}
html.imt .ix-footer-head {
	margin: 4px 0 14px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ix-gold);
}
html.imt .ix-footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}
html.imt .ix-footer-links li {
	margin-bottom: 10px;
	overflow-wrap: anywhere;
}
html.imt .ix-footer-stores {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
}
html.imt .ix-footer-stores img {
	width: 132px;
	height: auto;
	border-radius: 6px;
}
html.imt .ix-footer-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
}
html.imt .ix-footer-bar-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 58px;
}
html.imt .ix-powered {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
html.imt .ix-powered img {
	width: 96px;
	padding: 3px 6px;
	border-radius: 3px;
	background: #fff;
}
html.imt .ix-totop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
}
html.imt .ix-totop:hover {
	border-color: var(--ix-gold);
}
html.imt .ix-totop svg {
	width: 16px;
	height: 16px;
}

/* Inner pages (.wrapper.d-flex): only the slim bar, light */
html.imt .wrapper.d-flex .ix-footer-full {
	display: none;
}
html.imt .wrapper.d-flex .ix-footer {
	background: var(--ix-white);
	color: var(--ix-muted);
	border-top: 1px solid var(--ix-line);
}
html.imt .wrapper.d-flex .ix-footer a {
	color: var(--ix-navy);
}
html.imt .wrapper.d-flex .ix-footer-bar {
	border-top: 0;
}
html.imt .wrapper.d-flex .ix-footer-bar-row {
	padding-right: 84px;
}
html.imt .wrapper.d-flex .ix-totop {
	border-color: var(--ix-line);
}
html.imt .wrapper.d-flex .ix-powered img {
	padding: 0;
}

@media (max-width: 991.98px) {
	html.imt .ix-container {
		padding: 0 20px;
	}
	html.imt .ix-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	html.imt .ix-footer-brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 575.98px) {
	html.imt .ix-container {
		padding: 0 16px;
	}
	html.imt .ix-footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	html.imt .ix-footer-bar-row {
		flex-direction: column;
		justify-content: center;
		padding: 16px 0;
		text-align: center;
		gap: 10px;
	}
	html.imt .wrapper.d-flex .ix-footer-bar-row {
		padding-right: 0;
	}
	html.imt .ix-totop {
		display: none;
	}
}

/* main.css / responsive.css give every <footer> 190px+ top padding */
html.imt footer.ix-footer {
	padding: 0;
	margin: 0;
}
html.imt .ix-footer p {
	color: inherit;
}
html.imt .ix-footer-text {
	color: rgba(255, 255, 255, 0.72);
}

/* Login popup: legacy overrides found in preview */
html.imt #loginModal .input-group > .captcamob {
	flex: 1 1 0% !important;
	max-width: none !important;
	width: auto !important;
}
html.imt #loginModal .captcamob .form-control {
	border-radius: 0 var(--ix-radius) var(--ix-radius) 0 !important;
}
html.imt #loginModal .modal-header .close,
html.imt #loginModal .modal-header .close:focus {
	background: transparent !important;
	color: var(--ix-muted) !important;
	box-shadow: none !important;
	border: 0 !important;
}
html.imt #loginModal .modal-header .close:hover {
	background: var(--ix-paper-2) !important;
	color: var(--ix-ink) !important;
}
html.imt #loginModal .login-option-btn,
html.imt #loginModal .login-option-btn span {
	text-transform: none !important;
	letter-spacing: 0 !important;
}
html.imt #loginModal .captcamob #txtInput {
	width: 100% !important;
	min-width: 0;
}

/* Popups built as forms (bookmarks, documents, share, request...) */
html.imt .modal .modal-content h1,
html.imt .modal .modal-content h2,
html.imt .modal .modal-content h3 {
	font-family: var(--ix-serif);
	font-weight: 600;
	color: var(--ix-navy-deep);
}
html.imt .modal .modal-content .close {
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0 !important;
	border-radius: 50%;
	background: transparent !important;
	color: var(--ix-muted) !important;
	box-shadow: none !important;
	opacity: 1;
	font-size: 24px;
	font-weight: 400;
	line-height: 34px;
	text-shadow: none;
}
html.imt .modal .modal-content .close:hover {
	background: var(--ix-paper-2) !important;
	color: var(--ix-ink) !important;
}
html.imt .modal .btn {
	border-radius: var(--ix-radius) !important;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
	box-shadow: none !important;
}
html.imt .modal .btn.closebtn,
html.imt .modal .btn[data-dismiss="modal"] {
	background: var(--ix-white) !important;
	color: var(--ix-navy) !important;
	border: 1px solid var(--ix-line) !important;
}
html.imt .modal .btn.closebtn:hover,
html.imt .modal .btn[data-dismiss="modal"]:hover {
	background: var(--ix-paper) !important;
	border-color: var(--ix-navy) !important;
}
html.imt .modal label {
	font-size: 13px;
	font-weight: 600;
	color: var(--ix-muted);
}
html.imt .modal .form-control {
	min-height: 42px;
	border: 1px solid var(--ix-line);
	border-radius: var(--ix-radius);
}
html.imt .modal .modal-content {
	position: relative;
}
html.imt .modal .modal-content .close {
	position: absolute;
	top: 12px;
	right: 12px;
	margin: 0 !important;
	z-index: 3;
}

/* ==========================================================================
   Comments popups (#yourCommentsModal, #yourCommentstoDisplayModal)
   ========================================================================== */
html.imt .ix-comments-dialog {
	max-width: 960px;
}
html.imt .ix-comments-dialog--wall {
	max-width: 680px;
}
html.imt .ix-comments-modal .modal-content {
	overflow: hidden;
	border: 0;
	border-top: 4px solid var(--ix-navy);
	background: var(--ix-white);
}
html.imt .ix-comments-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	min-height: 520px;
	margin: 0;
}
html.imt .ix-comments-modal h2 {
	margin: 10px 0 8px;
	font-family: var(--ix-serif);
	font-size: 30px;
	font-weight: 500;
	line-height: 1.15;
	color: var(--ix-navy-deep);
}
/* Left: writing pad */
html.imt .ix-comments-write {
	display: flex;
	flex-direction: column;
	padding: 36px 36px 32px;
}
html.imt .ix-comments-lede {
	margin: 0 0 22px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--ix-muted);
}
html.imt .ix-comments-modal .ix-comments-label {
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ix-subtle);
}
html.imt .ix-comments-pad {
	position: relative;
	flex: 1 1 auto;
	display: flex;
}
html.imt .ix-comments-pad textarea {
	flex: 1 1 auto;
	width: 100%;
	min-height: 190px;
	padding: 16px 18px 34px 22px;
	border: 1px solid var(--ix-line);
	border-left: 3px solid var(--ix-gold);
	border-radius: var(--ix-radius);
	background:
		repeating-linear-gradient(transparent 0 31px, rgba(27, 58, 138, 0.08) 31px 32px) 0 15px / 100% 100% local,
		#fffdf8;
	font-family: var(--ix-serif);
	font-size: 18px;
	line-height: 32px;
	color: var(--ix-ink);
	resize: vertical;
	outline: 0;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html.imt .ix-comments-pad textarea::placeholder {
	font-style: italic;
	color: var(--ix-subtle);
}
html.imt .ix-comments-pad textarea:focus {
	border-color: var(--ix-navy);
	border-left-color: var(--ix-gold);
	box-shadow: 0 0 0 3px rgba(27, 58, 138, 0.1);
}
html.imt .ix-comments-count {
	position: absolute;
	right: 12px;
	bottom: 8px;
	font-size: 11.5px;
	color: var(--ix-subtle);
	pointer-events: none;
}
html.imt .ix-comments-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 18px;
	font-size: 13px;
	color: var(--ix-muted);
}
html.imt .ix-comments-note svg {
	flex: none;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--ix-gold-dark);
	stroke-width: 2;
	stroke-linecap: round;
}
html.imt .ix-comments-modal .ix-comments-submit {
	width: 100%;
	height: 48px;
	border-radius: var(--ix-radius) !important;
	background: var(--ix-navy) !important;
	color: #fff !important;
	border: 0 !important;
}
html.imt .ix-comments-modal .ix-comments-submit:hover {
	background: var(--ix-navy-dark) !important;
}
html.imt .ix-comments-modal .ix-comments-submit:disabled {
	background: var(--ix-line) !important;
	color: var(--ix-subtle) !important;
	cursor: not-allowed;
}
/* Right: earlier comments */
html.imt .ix-comments-history {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 36px 30px 24px;
	background: var(--ix-paper);
	border-left: 1px solid var(--ix-line);
}
html.imt .ix-comments-history h3 {
	margin: 0 0 18px;
	padding-right: 30px;
	font-family: var(--ix-serif);
	font-size: 20px;
	font-weight: 600;
	color: var(--ix-navy-deep);
}
html.imt .ix-comments-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 13.5px;
	color: var(--ix-muted);
}
html.imt .ix-comments-loading[style*="none"] {
	display: none !important;
}
html.imt .ix-comments-scroll {
	flex: 1 1 auto;
	max-height: 400px;
	overflow-y: auto;
	padding-right: 6px;
	scrollbar-width: thin;
	scrollbar-color: var(--ix-line) transparent;
}
html.imt .ix-comments-loading[style*="none"] + .ix-comments-scroll #commentsConetent:empty::before {
	content: "You haven\2019 t written any comments yet. Your first one will appear here.";
	display: block;
	padding: 40px 18px;
	border: 1px dashed var(--ix-line);
	border-radius: var(--ix-radius);
	background: var(--ix-white);
	text-align: center;
	font-family: var(--ix-serif);
	font-style: italic;
	font-size: 16.5px;
	color: var(--ix-muted);
}
/* Timeline entries (both popups) */
html.imt .ix-timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
html.imt .ix-timeline::before {
	content: "";
	position: absolute;
	left: 17px;
	top: 8px;
	bottom: 8px;
	border-left: 1px dashed rgba(27, 58, 138, 0.25);
}
html.imt .ix-comment {
	position: relative;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
html.imt .ix-comment-avatar {
	position: relative;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ix-navy);
	color: #fff;
	font-family: var(--ix-serif);
	font-size: 17px;
	font-weight: 600;
	box-shadow: 0 0 0 4px var(--ix-paper);
}
html.imt .ix-comment-body {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 16px 14px;
	border: 1px solid var(--ix-line);
	border-radius: 2px 10px 10px 10px;
	background: var(--ix-white);
}
html.imt .ix-comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	margin: 0 0 6px !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	color: var(--ix-muted) !important;
}
html.imt .ix-comment-meta b {
	color: var(--ix-navy-deep);
	font-weight: 600;
}
html.imt .ix-comment-meta time {
	font-size: 12px;
	color: var(--ix-subtle);
}
html.imt .ix-comment-text {
	margin: 0 !important;
	font-family: var(--ix-serif);
	font-size: 16.5px !important;
	line-height: 1.55 !important;
	color: var(--ix-ink) !important;
	overflow-wrap: anywhere;
	white-space: pre-line;
}
/* Reader comments wall */
html.imt .ix-comments-wallhead {
	padding: 32px 36px 18px;
	border-bottom: 1px solid var(--ix-line);
}
html.imt .ix-comments-wallhead p {
	margin: 0;
	font-size: 13.5px;
	color: var(--ix-muted);
}
html.imt .ix-comments-scroll--wall {
	max-height: 60vh;
	padding: 22px 30px 26px 36px;
	background: var(--ix-paper);
}
html.imt .ix-comments-scroll--wall .ix-comment-avatar {
	background: var(--ix-gold);
	color: var(--ix-navy-deep);
}
html.imt .ix-comments-empty {
	margin: 0;
	padding: 40px 10px;
	text-align: center;
	font-family: var(--ix-serif);
	font-style: italic;
	font-size: 17px;
	color: var(--ix-muted);
}
@media (max-width: 767.98px) {
	html.imt .ix-comments-grid {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}
	html.imt .ix-comments-write,
	html.imt .ix-comments-history {
		padding: 28px 20px 22px;
	}
	html.imt .ix-comments-history {
		border-left: 0;
		border-top: 1px solid var(--ix-line);
	}
	html.imt .ix-comments-scroll {
		max-height: 300px;
	}
	html.imt .ix-comments-wallhead {
		padding: 26px 20px 16px;
	}
	html.imt .ix-comments-scroll--wall {
		padding: 18px 16px 20px 20px;
	}
}
html.imt #yourCommentsModal #writecommentId {
	border: 1px solid var(--ix-line) !important;
	border-left: 3px solid var(--ix-gold) !important;
	border-radius: var(--ix-radius) !important;
	background-color: #fffdf8 !important;
	box-shadow: none;
}
html.imt #yourCommentsModal #writecommentId:focus {
	border-color: var(--ix-navy) !important;
	border-left-color: var(--ix-gold) !important;
	box-shadow: 0 0 0 3px rgba(27, 58, 138, 0.1);
}

/* ==========================================================================
   Library Assistant (#appai-bubble, #AppAssistantModal) – ported from TUP, IMT styling
   ========================================================================== */
html.imt #appai-bubble {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1060;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 54px;
	padding: 0 20px 0 16px;
	border: 0;
	border-radius: 27px;
	background: var(--ix-navy) !important;
	color: #fff;
	font-family: var(--ix-sans);
	font-size: 14.5px;
	font-weight: 600;
	box-shadow: 0 12px 28px rgba(12, 28, 71, 0.32);
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease, width 0.2s ease;
}
html.imt #appai-bubble:hover {
	background: var(--ix-navy-dark) !important;
	transform: translateY(-2px);
}
html.imt #appai-bubble:focus-visible {
	outline: 3px solid var(--ix-gold);
	outline-offset: 3px;
}
html.imt #appai-bubble .appai-bubble-open svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--ix-gold);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
html.imt #appai-bubble .appai-bubble-close {
	display: none;
	font-size: 28px;
	line-height: 1;
	font-weight: 300;
}
html.imt #appai-bubble.is-open {
	width: 54px;
	padding: 0;
	justify-content: center;
}
html.imt #appai-bubble.is-open .appai-bubble-open,
html.imt #appai-bubble.is-open .appai-bubble-label {
	display: none;
}
html.imt #appai-bubble.is-open .appai-bubble-close {
	display: block;
}
/* Inner pages have a slim footer bar under the bubble: icon only there */
html.imt .ix-inner #appai-bubble .appai-bubble-label {
	display: none;
}
html.imt .ix-inner #appai-bubble {
	width: 54px;
	padding: 0;
	justify-content: center;
}

html.imt #AppAssistantModal {
	pointer-events: none;
	padding: 0 !important;
}
html.imt #AppAssistantModal .appai-dialog {
	position: fixed;
	right: 24px;
	bottom: 92px;
	width: 400px;
	max-width: calc(100vw - 32px);
	margin: 0;
	pointer-events: auto;
}
html.imt #AppAssistantModal.fade .appai-dialog {
	transform: translateY(16px) scale(0.98);
	opacity: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
html.imt #AppAssistantModal.show .appai-dialog {
	transform: none;
	opacity: 1;
}
html.imt #AppAssistantModal .appai-panel {
	display: flex;
	flex-direction: column;
	height: min(620px, calc(100vh - 120px));
	border: 1px solid var(--ix-line);
	border-top: 0;
	border-radius: 10px;
	background: var(--ix-white);
	box-shadow: 0 28px 60px rgba(12, 28, 71, 0.28);
	overflow: hidden;
}
html.imt #AppAssistantModal .appai-panel .modal-body {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
}
html.imt .appai-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 14px 14px 16px;
	background: var(--ix-navy-deep);
	border-bottom: 3px solid var(--ix-gold);
}
html.imt .appai-avatar {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
}
html.imt .appai-avatar img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}
html.imt .appai-head-text {
	flex: 1 1 auto;
	min-width: 0;
}
html.imt .appai-title {
	margin: 0;
	font-family: var(--ix-serif);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
}
html.imt .appai-sub {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 2px 0 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
}
html.imt .appai-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ix-subtle);
}
html.imt #AppAssistantModal.is-ready .appai-dot {
	background: #3fb672;
	box-shadow: 0 0 0 3px rgba(63, 182, 114, 0.25);
}
html.imt .appai-close {
	flex: none;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: rgba(255, 255, 255, 0.8);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
html.imt .appai-close:hover,
html.imt .appai-close:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}
html.imt #appai-chat-box {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	background: var(--ix-paper);
}
html.imt #appai-chat-log {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 18px 16px 10px;
	scrollbar-width: thin;
}
html.imt .appai-welcome {
	padding: 4px 2px;
}
html.imt .appai-welcome h3 {
	margin: 10px 0 6px;
	font-family: var(--ix-serif);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--ix-navy-deep);
}
html.imt .appai-welcome p {
	margin: 0 0 16px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--ix-muted);
}
html.imt .appai-welcome .appai-chips-label {
	margin: 0 0 8px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ix-subtle);
}
html.imt .appai-chips {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
html.imt .appai-chip {
	position: relative;
	display: block;
	width: 100%;
	padding: 10px 34px 10px 14px;
	border: 1px solid var(--ix-line);
	border-left: 3px solid var(--ix-gold);
	border-radius: var(--ix-radius);
	background: var(--ix-white);
	color: var(--ix-navy-deep);
	font-family: var(--ix-sans);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
html.imt .appai-chip::after {
	content: "\2192";
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ix-navy);
	transition: transform 0.15s ease;
}
html.imt .appai-chip:hover:not(:disabled) {
	border-color: var(--ix-navy);
	border-left-color: var(--ix-gold);
	background: var(--ix-navy-soft);
}
html.imt .appai-chip:hover:not(:disabled)::after {
	transform: translate(3px, -50%);
}
html.imt .appai-chip:disabled {
	opacity: 0.55;
	cursor: default;
}
html.imt .appai-row {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	margin: 0 0 12px;
}
html.imt .appai-row.user {
	justify-content: flex-end;
}
html.imt .appai-row-avatar {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ix-navy);
	color: var(--ix-gold);
	font-size: 12px;
}
html.imt #appai-chat-log .msg {
	max-width: 82%;
	padding: 10px 13px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.55;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
html.imt #appai-chat-log .msg.user {
	background: var(--ix-navy);
	color: #fff;
	border-bottom-right-radius: 3px;
}
html.imt #appai-chat-log .msg.assistant {
	background: var(--ix-white);
	color: var(--ix-ink);
	border: 1px solid var(--ix-line);
	border-bottom-left-radius: 3px;
}
html.imt #appai-chat-log .msg.irrelevant {
	background: var(--ix-gold-soft);
	color: var(--ix-gold-dark);
	border-bottom-left-radius: 3px;
}
html.imt #appai-chat-log .msg.error {
	background: #fbeeea;
	color: #8a2a1a;
	border-bottom-left-radius: 3px;
}
html.imt .appai-typing {
	display: inline-flex;
	gap: 4px;
	align-items: center;
}
html.imt .appai-typing span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ix-subtle);
	animation: appai-blink 1.2s infinite ease-in-out;
}
html.imt .appai-typing span:nth-child(2) {
	animation-delay: 0.15s;
}
html.imt .appai-typing span:nth-child(3) {
	animation-delay: 0.3s;
}
@keyframes appai-blink {
	0%, 80%, 100% {
		opacity: 0.3;
		transform: translateY(0);
	}
	40% {
		opacity: 1;
		transform: translateY(-3px);
	}
}
html.imt #appai-input-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 12px;
	padding: 5px 5px 5px 14px;
	border: 1px solid var(--ix-line);
	border-radius: 24px;
	background: var(--ix-white);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html.imt #appai-input-row:focus-within {
	border-color: var(--ix-navy);
	box-shadow: 0 0 0 3px rgba(27, 58, 138, 0.12);
}
html.imt #appai-question-field {
	flex: 1 1 auto;
	min-width: 0;
	height: 36px;
	border: 0;
	background: transparent;
	font-size: 14px;
	color: var(--ix-ink);
	outline: 0;
}
html.imt #appai-send-trigger {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: var(--ix-navy);
	color: #fff;
	cursor: pointer;
}
html.imt #appai-send-trigger svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linejoin: round;
}
html.imt #appai-send-trigger:hover:not(:disabled) {
	background: var(--ix-navy-dark);
}
html.imt #appai-send-trigger:disabled {
	background: var(--ix-line);
	color: var(--ix-subtle);
	cursor: default;
}
html.imt .appai-note {
	margin: 8px 0 10px;
	padding: 0 16px;
	font-size: 11px;
	text-align: center;
	color: var(--ix-subtle);
}
@media (max-width: 575.98px) {
	html.imt #appai-bubble {
		right: 16px;
		bottom: 16px;
		width: 54px;
		padding: 0;
		justify-content: center;
	}
	html.imt #appai-bubble .appai-bubble-label {
		display: none;
	}
	html.imt #AppAssistantModal .appai-dialog {
		right: 8px;
		left: 8px;
		bottom: 80px;
		width: auto;
		max-width: none;
	}
	html.imt #AppAssistantModal .appai-panel {
		height: calc(100vh - 100px);
	}
}

/* ==========================================================================
   Search history (#searchHistoryModal)
   ========================================================================== */
html.imt .ix-history-dialog {
	max-width: 760px;
}
html.imt .ix-history-modal .modal-content {
	border: 0;
	border-top: 4px solid var(--ix-navy);
	overflow: hidden;
}
html.imt .ix-history-form {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 3.5rem);
	margin: 0;
}
html.imt .ix-history-head {
	position: relative;
	padding: 26px 30px 18px;
	border-bottom: 1px solid var(--ix-line);
	background: var(--ix-white);
}
html.imt .ix-history-head h2 {
	margin: 8px 0 4px;
	font-family: var(--ix-serif);
	font-size: 28px;
	font-weight: 500;
	color: var(--ix-navy-deep);
}
html.imt .ix-history-head p {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--ix-muted);
}
html.imt .ix-history-filter {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--ix-line);
	border-radius: var(--ix-radius);
	background: var(--ix-paper);
}
html.imt .ix-history-filter:focus-within {
	border-color: var(--ix-navy);
	box-shadow: 0 0 0 3px rgba(27, 58, 138, 0.1);
}
html.imt .ix-history-filter svg {
	flex: none;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--ix-muted);
	stroke-width: 2;
	stroke-linecap: round;
}
html.imt .ix-history-filter input {
	flex: 1 1 auto;
	height: 42px;
	border: 0;
	background: transparent;
	font-size: 14.5px;
	outline: 0;
}
html.imt .ix-history-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 6px 30px 18px !important;
	background: var(--ix-paper);
}
html.imt .ix-history-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 24px 0;
	color: var(--ix-muted);
	font-size: 14px;
}
html.imt .ix-history-loading[style*="none"] {
	display: none !important;
}
html.imt .ix-history-day {
	margin-top: 18px;
}
html.imt .ix-history-day h3 {
	position: sticky;
	top: 0;
	z-index: 1;
	margin: 0 0 8px;
	padding: 6px 0;
	background: var(--ix-paper);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ix-gold-dark);
}
html.imt .ix-history-items {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--ix-line);
	border-radius: 6px;
	background: var(--ix-white);
	overflow: hidden;
}
html.imt .ix-history-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--ix-line);
}
html.imt .ix-history-item:last-child {
	border-bottom: 0;
}
html.imt .ix-history-item:hover {
	background: var(--ix-paper);
}
html.imt .ix-history-time {
	flex: none;
	width: 44px;
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--ix-subtle);
}
html.imt .ix-history-main {
	flex: 1 1 auto;
	min-width: 0;
}
html.imt .ix-history-query {
	margin: 0;
	font-family: var(--ix-serif);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ix-navy-deep);
	overflow-wrap: anywhere;
}
html.imt .ix-history-query::before {
	content: "\201C";
	color: var(--ix-gold);
}
html.imt .ix-history-query::after {
	content: "\201D";
	color: var(--ix-gold);
}
html.imt .ix-history-pub {
	margin: 2px 0 0;
	font-size: 12.5px;
	color: var(--ix-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
html.imt .ix-history-item .ix-act {
	flex: none;
}
html.imt .ix-history-nolink {
	flex: none;
	font-size: 12px;
	font-style: italic;
	color: var(--ix-subtle);
}
html.imt .ix-history-empty,
html.imt .ix-history-nomatch {
	padding: 40px 12px;
	text-align: center;
	color: var(--ix-muted);
}
html.imt .ix-history-empty-title {
	margin: 0 0 4px;
	font-family: var(--ix-serif);
	font-size: 21px;
	color: var(--ix-navy-deep);
}
html.imt .ix-history-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 30px;
	border-top: 1px solid var(--ix-line);
	background: var(--ix-white);
	font-size: 12.5px;
	color: var(--ix-muted);
}
html.imt .ix-history-foot svg {
	flex: none;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--ix-gold-dark);
	stroke-width: 2;
	stroke-linecap: round;
}
@media (max-width: 575.98px) {
	html.imt .ix-history-head,
	html.imt .ix-history-body,
	html.imt .ix-history-foot {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	html.imt .ix-history-item {
		flex-wrap: wrap;
		gap: 6px 12px;
	}
	html.imt .ix-history-item .ix-act,
	html.imt .ix-history-nolink {
		margin-left: 56px;
	}
}

/* ==========================================================================
   Shared with you (#shareResourceReciverModal, upgraded by commonfooterscripts)
   and the message itself (#shareDisplayModal)
   ========================================================================== */
html.imt .ix-inbox-modal .modal-dialog {
	max-width: 560px !important;
}
html.imt .ix-inbox-modal .modal-content,
html.imt #shareDisplayModal .modal-content {
	border: 0 !important;
	border-top: 4px solid var(--ix-navy) !important;
	border-radius: 6px !important;
	overflow: hidden;
}
html.imt .ix-inbox-modal .modal-header,
html.imt #shareDisplayModal .modal-header {
	position: relative;
	display: block;
	padding: 24px 56px 18px 26px !important;
	border-bottom: 1px solid var(--ix-line);
	background: var(--ix-white) !important;
	text-align: left;
}
html.imt .ix-inbox-modal .modal-title,
html.imt #shareDisplayModal .modal-title {
	margin: 0;
	font-family: var(--ix-serif);
	font-size: 26px !important;
	font-weight: 500;
	color: var(--ix-navy-deep) !important;
}
html.imt .ix-inbox-count {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--ix-muted);
}
html.imt .ix-inbox-modal .modal-body {
	max-height: 60vh;
	overflow-y: auto;
	padding: 8px !important;
	background: var(--ix-paper);
}
html.imt .ix-inbox-item {
	position: relative;
	display: flex !important;
	align-items: center;
	gap: 14px;
	margin: 0 0 6px;
	padding: 12px 14px !important;
	border: 1px solid var(--ix-line);
	border-radius: 6px;
	background: var(--ix-white);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html.imt .ix-inbox-item:last-child {
	margin-bottom: 0;
}
html.imt .ix-inbox-item:hover,
html.imt .ix-inbox-item:focus-visible {
	border-color: rgba(27, 58, 138, 0.35);
	box-shadow: var(--ix-shadow-sm);
	outline: 0;
}
html.imt .ix-inbox-avatar {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ix-gold-soft);
	color: var(--ix-gold-dark);
	font-family: var(--ix-serif);
	font-size: 18px;
	font-weight: 600;
}
html.imt .ix-inbox-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
html.imt .ix-inbox-title {
	font-family: var(--ix-serif);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ix-navy-deep);
	overflow-wrap: anywhere;
}
html.imt .ix-inbox-meta {
	font-size: 12.5px;
	color: var(--ix-muted);
}
html.imt .ix-inbox-modal .ix-inbox-view {
	position: static !important;
	flex: none;
	display: inline-flex !important;
	align-items: center;
	height: 32px;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid var(--ix-line);
	border-radius: var(--ix-radius) !important;
	background: var(--ix-white) !important;
	color: var(--ix-navy) !important;
	font-size: 13px;
	font-weight: 600;
}
html.imt .ix-inbox-modal .ix-inbox-view::before {
	display: none;
}
html.imt .ix-inbox-item:hover .ix-inbox-view {
	border-color: var(--ix-navy);
	background: var(--ix-navy) !important;
	color: #fff !important;
}
html.imt .ix-inbox-modal .modal-body > div:not(.ix-inbox-item) {
	padding: 40px 16px !important;
	text-align: center;
}
html.imt .ix-inbox-modal .modal-body > div:not(.ix-inbox-item) p {
	margin: 0;
	font-family: var(--ix-serif);
	font-style: italic;
	font-size: 17px;
	color: var(--ix-muted) !important;
}
/* The message */
html.imt #shareDisplayModal .modal-dialog {
	max-width: 620px !important;
}
html.imt #shareDisplayModal .modal-body {
	padding: 0 !important;
	background: var(--ix-paper);
}
html.imt #shareDisplayModal .shareContent {
	height: auto !important;
	max-height: 62vh;
	margin: 18px;
	padding: 24px 26px;
	border: 1px solid var(--ix-line);
	border-left: 3px solid var(--ix-gold);
	border-radius: var(--ix-radius);
	background: #fffdf8;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ix-ink) !important;
}
html.imt #shareDisplayModal .shareContent p {
	margin: 0 0 6px;
	color: var(--ix-ink);
}
html.imt #shareDisplayModal .shareContent br {
	display: block;
	content: "";
	margin-top: 8px;
}
html.imt #shareDisplayModal .shareContent b {
	display: inline-block;
	min-width: 150px;
	font-weight: 600;
	color: var(--ix-muted);
}
html.imt #shareDisplayModal .shareContent a {
	color: var(--ix-navy) !important;
	font-weight: 600;
	overflow-wrap: anywhere;
}
