body.agent-portal{
	--agent-red:#E11D2E;
	--agent-blue:#2563EB;
	--agent-ink:#1E293B;
	--agent-muted:#6B7280;
	--agent-line:#E5E7EB;
	--agent-field:#E8E8E8;
	--agent-page:#E7EDF5;
	font-family:"DM Sans",sans-serif;
	background:var(--agent-page);
}
body.agent-portal.auth-theme{
	--auth-left-bg:#F3F4F6;
	--auth-button-bg:linear-gradient(100deg,var(--auth-primary,var(--pcolor)),var(--auth-secondary,var(--scolor)));
	--auth-bg-overlay:none;
	--auth-card-bg:#fff;
	--auth-shell-bg:#fff;
	--auth-text:var(--agent-ink);
	--auth-input-bg:var(--agent-field);
	--auth-input-border:transparent;
}

body.agent-portal .login-bg{
	min-height:100vh;
	height:auto!important;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:48px 16px 28px;
	background-color:var(--agent-page)!important;
	background-image:none!important;
	background-repeat:repeat;
	background-position:center;
}
body.agent-portal .login-bg:before{display:none!important}
body.agent-portal .login-shell{
	width:min(960px,100%)!important;
	max-width:960px!important;
	height:auto!important;
	min-height:520px;
	margin:0 auto!important;
	background:#fff!important;
	border:0!important;
	border-radius:2px!important;
	box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
	overflow:hidden;
	backdrop-filter:none!important;
}
body.agent-portal .login-topbar{
	position:fixed;
	top:0;
	left:0;
	right:0;
	height:auto;
	z-index:20;
	background:transparent;
}
body.agent-portal .topnav{
	border:0;
	background:transparent;
	padding:8px 18px;
}
body.agent-portal .brand-lockup img{height:46px;filter:none}
body.agent-portal:not(:has(.signup-shell)) .menu-toggle{
	display:grid;
	place-items:center;
	width:42px;
	height:42px;
	margin-top:12px;
	float:right;
	border:1px solid #E5E7EB;
	border-radius:10px;
	background:#fff!important;
	color:var(--auth-primary,var(--pcolor))!important;
	box-shadow:0 1px 2px rgba(15,23,42,.08);
	font-size:18px;
	line-height:1;
	filter:none;
}
body.agent-portal:has(.signup-shell) .login-topbar{
	position:static;
	height:0;
	padding:0;
	overflow:visible;
	pointer-events:none;
	z-index:40;
}
body.agent-portal:has(.signup-shell) .menu{z-index:50;pointer-events:auto}
body.agent-portal .agent-reg-head{position:relative}
body.agent-portal .agent-hero-menu{
	position:absolute;
	top:14px;
	right:14px;
	z-index:3;
	width:40px;
	height:40px;
	border:0;
	border-radius:10px;
	background:rgba(255,255,255,.18);
	color:#fff;
	cursor:pointer;
	font-size:20px;
	line-height:40px;
	padding:0;
}
body.agent-portal .login-main,
body.agent-portal .login-grid{
	height:auto!important;
	min-height:520px;
	max-width:none!important;
	margin:0!important;
}
body.agent-portal:not(:has(.signup-shell)):not(:has(.info-shell)) #leftpane,
body.agent-portal:not(:has(.signup-shell)):not(:has(.info-shell)) #rightpane{
	width:50%!important;
	max-width:50%!important;
	flex:0 0 50%!important;
	float:left;
}
body.agent-portal #leftpane{
	min-height:520px;
	background:#F3F4F6!important;
	border:0!important;
	border-radius:0!important;
	box-shadow:none!important;
	clip-path:none!important;
}
body.agent-portal #leftpane:after{display:none}
body.agent-portal #rightpane{
	background:#fff!important;
	display:block!important;
}
body.agent-portal .mtbl,
body.agent-portal .innerdiv{
	width:100%;
	max-width:none!important;
	margin:0!important;
}
body.agent-portal .agent-card-menu{display:none}
body.agent-portal .login-card{
	border:0!important;
	border-radius:0!important;
	box-shadow:none!important;
	background:transparent!important;
	padding:48px 42px 36px;
	color:var(--agent-ink);
}
body.agent-portal .login-card center{display:block;text-align:left}
body.agent-portal .form-badge{display:none}
body.agent-portal .login-card h3{
	display:inline-block;
	margin:0 0 26px;
	padding:0 0 8px;
	border-bottom:3px solid var(--auth-primary,var(--pcolor));
	color:#111!important;
	font-size:32px!important;
	font-weight:700;
	text-align:left;
}
body.agent-portal .login-card p,
body.agent-portal .login-card label{
	color:#4B5563;
	font-weight:500;
}
body.agent-portal .login-card input,
body.agent-portal .login-card select,
body.agent-portal .login-card textarea,
body.agent-portal .pstb{
	background:#FFFFED!important;
	border:1px solid #ccc!important;
	border-radius:2px!important;
	color:#111!important;
	min-height:44px;
	box-shadow:none!important;
}
body.agent-portal .pstb input{
	background:transparent!important;
	border:0!important;
	min-height:42px;
}
body.agent-portal .login-card input:focus,
body.agent-portal .login-card select:focus,
body.agent-portal .login-card textarea:focus,
body.agent-portal .pstb:focus-within{
	outline:none!important;
	border-color:var(--auth-primary,var(--pcolor))!important;
}
body.agent-portal .login-card .logbtn{
	width:100%;
	min-height:46px;
	margin-top:8px;
	border:0!important;
	border-radius:2px!important;
	background:linear-gradient(100deg,var(--auth-primary,var(--pcolor)),var(--auth-secondary,var(--scolor)))!important;
	color:#fff!important;
	letter-spacing:.08em;
	text-transform:uppercase;
	box-shadow:none!important;
}
body.agent-portal .agent-login-links p{margin:8px 0;color:#6B7280}
body.agent-portal a{
	color:#008fff;
	text-decoration:none;
}
body.agent-portal a:hover{color:var(--auth-primary,var(--pcolor))}
body.agent-portal .menu,
body.agent-portal .menu a{color:#fff!important}
body.agent-portal .menu a:hover{color:var(--auth-primary,var(--pcolor))!important}
body.agent-portal .agent-login-aside{
	display:flex;
	flex-direction:column;
	justify-content:center;
	min-height:520px;
	padding:48px 36px!important;
	color:#1F2937!important;
	text-align:left;
}
body.agent-portal .agent-login-logo{
	width:92px;
	height:92px;
	object-fit:contain;
	margin-bottom:18px;
	background:transparent;
	border-radius:0;
	padding:0;
}
body.agent-portal .agent-login-aside h3,
body.agent-portal .agent-login-aside p{
	color:#1F2937!important;
	text-shadow:none!important;
}
body.agent-portal .agent-login-aside h3{
	margin:0 0 8px;
	font-size:28px;
	border:0;
	color:var(--auth-primary,var(--pcolor))!important;
}
body.agent-portal .agent-login-contact{
	display:flex;
	flex-direction:column;
	gap:8px;
	margin-top:28px;
}
body.agent-portal .agent-login-contact a{
	display:flex;
	align-items:center;
	gap:10px;
	padding:10px 12px;
	border:1px solid color-mix(in srgb, var(--auth-primary,var(--pcolor)) 28%, #fff);
	border-radius:10px;
	background:rgba(255,255,255,.72);
	color:#008fff!important;
	text-decoration:none;
	line-height:1.3;
}
body.agent-portal .agent-login-contact a:hover{color:var(--auth-primary,var(--pcolor))!important}
body.agent-portal .agent-login-contact a i{
	display:grid;
	place-items:center;
	width:32px;
	height:32px;
	flex:none;
	border-radius:8px;
	background:var(--auth-primary,var(--pcolor));
	color:#fff;
	font-size:15px;
}
body.agent-portal .agent-login-contact a span{
	min-width:0;
	overflow-wrap:anywhere;
}

body.agent-portal:has(.info-shell) .login-bg{
	background:var(--agent-page)!important;
	background-image:none!important;
}
body.agent-portal:has(.signup-shell):not(.portal-office-registration) .login-bg,
body.agent-portal:not(:has(.info-shell)):not(.portal-office-registration) .login-bg{
	background-color:var(--agent-page)!important;
	background-image:none!important;
	background-repeat:repeat;
	background-position:center;
}
body.agent-portal.auth-pattern-dots:has(.signup-shell):not(.portal-office-registration) .login-bg,
body.agent-portal.auth-pattern-dots:not(:has(.info-shell)):not(.portal-office-registration) .login-bg{
	background-image:radial-gradient(circle, color-mix(in srgb, var(--agent-hero-start,var(--auth-primary)) 42%, transparent) 1.5px, transparent 1.7px)!important;
	background-size:22px 22px!important;
}
body.agent-portal.auth-pattern-lines:has(.signup-shell):not(.portal-office-registration) .login-bg,
body.agent-portal.auth-pattern-lines:not(:has(.info-shell)):not(.portal-office-registration) .login-bg{
	background-image:repeating-linear-gradient(135deg, color-mix(in srgb, var(--agent-hero-start,var(--auth-primary)) 28%, transparent) 0 1px, transparent 1px 16px)!important;
	background-size:auto!important;
}
body.agent-portal.auth-pattern-image:has(.signup-shell):not(.portal-office-registration) .login-bg,
body.agent-portal.auth-pattern-image:not(:has(.info-shell)):not(.portal-office-registration) .login-bg{
	background-image:var(--agent-page-image)!important;
	background-size:cover!important;
	background-repeat:no-repeat!important;
	background-position:center!important;
}
body.agent-portal .signup-shell{
	width:min(760px,100%)!important;
	max-width:760px!important;
	min-height:0;
	border-radius:18px!important;
	box-shadow:0 18px 50px rgba(30,41,59,.12)!important;
}
body.agent-portal .signup-shell .login-main,
body.agent-portal .signup-shell .login-grid,
body.agent-portal .signup-shell #rightpane,
body.agent-portal .info-shell .login-main{
	min-height:0!important;
	width:100%!important;
	max-width:100%!important;
	float:none;
}
body.agent-portal .agent-reg-head{
	display:grid;
	grid-template-columns:auto minmax(0,1fr);
	align-items:center;
	gap:16px;
	padding:16px 22px 18px 16px;
	text-align:center;
	color:#fff;
	background:linear-gradient(100deg,var(--agent-hero-start,var(--auth-primary)) 0%,var(--agent-hero-end,var(--auth-secondary)) 100%);
}
body.agent-portal .agent-reg-logo{
	position:static;
	justify-self:start;
	align-self:center;
	display:flex;
	align-items:center;
	max-height:100px;
	padding:6px;
	background:#fff;
	border-radius:8px;
	line-height:0;
}
body.agent-portal .agent-reg-logo img{
	display:block;
	height:auto;
	width:auto;
	max-height:100px;
	max-width:160px;
	object-fit:contain;
}
body.agent-portal .agent-reg-copy{min-width:0}
body.agent-portal .agent-reg-head h3{
	margin:0;
	color:#fff;
	font-size:28px;
	font-weight:700;
}
body.agent-portal .agent-reg-head p{margin:6px 0 0;color:rgba(255,255,255,.88)}
body.agent-portal .agent-step-now{display:none;margin:10px 0 0;font-weight:700;color:#fff}
body.agent-portal .agent-steps{
	display:flex;
	justify-content:space-between;
	gap:8px;
	list-style:none;
	margin:22px 0 0;
	padding:0 8px;
}
body.agent-portal .agent-steps li{
	flex:1;
	position:relative;
	text-align:center;
	color:rgba(255,255,255,.75);
	font-size:12px;
}
body.agent-portal .agent-steps li:not(:last-child):after{
	content:"";
	position:absolute;
	top:14px;
	left:calc(50% + 18px);
	width:calc(100% - 36px);
	height:2px;
	background:rgba(255,255,255,.35);
}
body.agent-portal .agent-steps span{
	display:grid;
	place-items:center;
	width:28px;
	height:28px;
	margin:0 auto 6px;
	border:2px solid rgba(255,255,255,.7);
	border-radius:50%;
	background:transparent;
	color:#fff;
	font-weight:700;
}
body.agent-portal .agent-steps .is-current span,
body.agent-portal .agent-steps .is-done span{
	background:#fff;
	border-color:#fff;
	color:var(--auth-primary,var(--pcolor));
}
body.agent-portal .agent-steps .is-current small{color:#fff;font-weight:700}
body.agent-portal .signup-shell .login-card{
	padding:26px 28px 22px;
}
body.agent-portal .signup-shell .login-card h3{
	display:block;
	width:100%;
	border:0;
	text-align:center;
	font-size:22px!important;
	margin:0 0 18px;
	padding:0;
}
body.agent-portal .signup-card input,
body.agent-portal .signup-card select,
body.agent-portal .signup-card textarea{
	background:#fff!important;
	border:1px solid #D5DBE3!important;
	border-radius:10px!important;
	min-height:44px;
}
body.agent-portal .signup-card input:focus,
body.agent-portal .signup-card select:focus,
body.agent-portal .signup-card textarea:focus{
	outline:none!important;
	border-color:var(--auth-primary,var(--pcolor))!important;
	box-shadow:none!important;
}
body.agent-portal .signup-card .cbs-loc-field input[readonly]{
	cursor:default;
	background:#f8fbff!important;
}
body.agent-portal .signup-card .cbs-loc-field .bts{
	width:auto;
	min-height:40px;
	margin-top:2px;
}
body.agent-portal .signup-card input[type=radio],
body.agent-portal .signup-card input[type=checkbox]{
	width:auto!important;
	min-width:0!important;
	min-height:0!important;
	margin:0!important;
	background:transparent!important;
	border:0!important;
}
body.agent-portal .signup-card input[type=radio]:focus,
body.agent-portal .signup-card input[type=checkbox]:focus{
	outline:none!important;
	box-shadow:none!important;
	border-color:transparent!important;
}
body.agent-portal .signup-card a{color:#008fff!important;font-weight:600}
body.agent-portal .signup-card a:hover{color:var(--auth-primary,var(--pcolor))!important}
body.agent-portal .brand-lockup{display:none}
body.agent-portal .signup-type-gate{display:block;margin:0 0 18px}
body.agent-portal .signup-type-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.agent-portal .signup-type-opt{
	display:grid;
	grid-template-columns:auto 1fr;
	column-gap:8px;
	row-gap:0;
	align-items:center;
	border:1px solid #D5DBE3;
	border-radius:12px;
	background:#fff;
	padding:12px;
	cursor:pointer;
}
body.agent-portal .signup-type-opt input{grid-row:1 / span 2}
body.agent-portal .signup-type-opt span,
body.agent-portal .signup-type-opt small{grid-column:2;display:block}
body.agent-portal .signup-type-opt span{color:var(--agent-ink);font-weight:600}
body.agent-portal .signup-type-opt small{color:var(--agent-muted)}
body.agent-portal .signup-type-opt:has(input:checked){
	border-color:var(--auth-primary,var(--pcolor));
	background:#F5F8FF;
	box-shadow:none;
}
body.agent-portal .agent-actions{
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:12px;
	margin-top:18px;
}
body.agent-portal .agent-prev{
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:10px 16px;
	border:1px solid #C5D0E0;
	border-radius:8px;
	color:var(--auth-primary,var(--pcolor))!important;
	background:#fff;
	text-decoration:none;
}
body.agent-portal .signup-card .logbtn,
body.agent-portal .agent-next{
	width:auto!important;
	min-width:128px;
	margin:0!important;
	float:none!important;
	border-radius:8px!important;
	background:linear-gradient(100deg,var(--auth-primary,var(--pcolor)),var(--auth-secondary,var(--scolor)))!important;
	letter-spacing:0;
	text-transform:none;
}
body.agent-portal .agent-terms{color:#475569}
body.agent-portal .info-shell{
	width:min(860px,100%)!important;
	min-height:0;
	border-radius:16px!important;
	padding:8px 8px 20px;
}
body.agent-portal .info-shell h2{color:var(--agent-ink)}
body.agent-portal{
	--client-bg:#EEF2F7;
	--client-surface:#fff;
	--client-text:#1E293B;
	--client-primary:#1E3A5F;
}
body.agent-portal .agent-hello{color:var(--agent-ink);margin-bottom:6px}
body.agent-portal .agent-meta{color:var(--agent-muted)}
body.agent-portal .agent-note{
	margin-top:16px;
	padding:16px 18px;
	border:1px solid var(--agent-line);
	border-left:4px solid var(--auth-primary,var(--pcolor));
	border-radius:12px;
	background:#fff;
	color:#334155;
}
body.agent-portal .agent-invoice-page{max-width:760px}
body.agent-portal .agent-invoice-list{display:grid;gap:12px;margin-top:14px}
body.agent-portal .agent-invoice-card{border:1px solid var(--agent-line);border-radius:12px;padding:14px;background:#fff}
body.agent-portal .agent-invoice-card>div{display:flex;justify-content:space-between;gap:8px;align-items:center}
body.agent-portal .agent-invoice-card span{border-radius:999px;padding:3px 8px;font-size:12px;font-weight:700;background:#fff7ed;color:#9a3412}
body.agent-portal .agent-invoice-paid span{background:#ecfdf3;color:#166534}
body.agent-portal .agent-invoice-void span{background:#f1f5f9;color:#475569}
body.agent-portal .agent-invoice-links{display:flex;gap:14px}
body.agent-portal .agent-invoice-receipt{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
body.agent-portal .agent-invoice-receipt button{border:0;border-radius:8px;padding:7px 12px;background:var(--auth-primary,var(--pcolor));color:#fff}
body.agent-portal .agent-invoice-pager{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:14px}
body.agent-portal .agent-invoice-pager span{color:#475569;font-size:13px;font-weight:600}
body.agent-portal .agent-invoice-pager button{border:0;border-radius:8px;padding:7px 12px;background:var(--auth-primary,var(--pcolor));color:#fff}
@media(max-width:800px){
	body.agent-portal:not(:has(.signup-shell)):not(:has(.info-shell)) #leftpane,
	body.agent-portal:not(:has(.signup-shell)):not(:has(.info-shell)) #rightpane{
		width:100%!important;
		max-width:100%!important;
		float:none;
	}
	body.agent-portal #leftpane,
	body.agent-portal .agent-login-aside{min-height:0}
	body.agent-portal .login-card{position:relative;padding:28px 20px 22px}
	body.agent-portal:not(:has(.signup-shell)) .login-topbar{height:0;overflow:visible;pointer-events:none}
	body.agent-portal:not(:has(.signup-shell)) .login-topbar .topnav{display:none}
	body.agent-portal:not(:has(.signup-shell)) .login-topbar .menu{pointer-events:auto}
	body.agent-portal .agent-card-menu{
		display:grid;
		place-items:center;
		position:absolute;
		top:12px;
		right:12px;
		z-index:3;
		width:42px;
		height:42px;
		padding:0;
		border:1px solid #E5E7EB;
		border-radius:10px;
		background:#fff;
		color:var(--auth-primary,var(--pcolor));
		box-shadow:0 1px 2px rgba(15,23,42,.08);
		font-size:18px;
		line-height:1;
		cursor:pointer;
	}
	body.agent-portal .login-card h3{padding-right:46px}
	body.agent-portal:has(.signup-shell):not(.portal-office-registration) .login-bg{
		align-items:flex-start;
		padding-top:20px;
	}
	body.agent-portal .agent-reg-head{
		grid-template-columns:1fr;
		justify-items:start;
	}
	body.agent-portal .agent-reg-copy{width:100%}
	body.agent-portal .agent-steps small{display:none}
	body.agent-portal .agent-step-now{display:block}
	body.agent-portal .signup-type-options{grid-template-columns:1fr}
}
body.agent-portal.portal-office-registration{
	background:#fff!important;
}
body.agent-portal.portal-office-registration .login-bg{
	display:block!important;
	min-height:100vh;
	height:auto!important;
	padding:0!important;
	background:#fff!important;
	background-image:none!important;
}
body.agent-portal.portal-office-registration .signup-shell{
	width:100%!important;
	max-width:none!important;
	min-height:100vh;
	margin:0!important;
	border-radius:0!important;
	box-shadow:none!important;
	overflow:visible;
}
body.agent-portal.portal-office-registration .login-topbar,
body.agent-portal.portal-office-registration .agent-hero-menu,
body.agent-portal.portal-office-registration .agent-reg-logo{
	display:none!important;
}
body.agent-portal.portal-office-registration .agent-reg-head{
	display:block;
	padding:8px 16px 0;
	color:#1E293B;
	background:transparent;
	text-align:center;
}
body.agent-portal.portal-office-registration .agent-reg-head h3,
body.agent-portal.portal-office-registration .agent-step-now{
	color:#1E293B;
}
body.agent-portal.portal-office-registration .agent-reg-head p{color:#6B7280}
body.agent-portal.portal-office-registration .agent-steps li{color:#6B7280}
body.agent-portal.portal-office-registration .agent-steps li:not(:last-child):after{background:#D5DBE3}
body.agent-portal.portal-office-registration .agent-steps span{
	border-color:var(--auth-primary,var(--pcolor));
	color:var(--auth-primary,var(--pcolor));
	background:#fff;
}
body.agent-portal.portal-office-registration .agent-steps .is-current span,
body.agent-portal.portal-office-registration .agent-steps .is-done span{
	background:var(--auth-primary,var(--pcolor));
	border-color:var(--auth-primary,var(--pcolor));
	color:#fff;
}
body.agent-portal.portal-office-registration .agent-steps .is-current small{color:#1E293B}
body.agent-portal.portal-office-registration .signup-shell .login-card{box-shadow:none}
