/* Default CSS Stylesheet for a new Web Application project */

BODY
{
    BACKGROUND-COLOR: white;
    FONT-FAMILY: Verdana, Helvetica, sans-serif;
    FONT-SIZE: .8em;
    FONT-WEIGHT: normal;
    LETTER-SPACING: normal;
    TEXT-TRANSFORM: none;
    WORD-SPACING: normal
}

H1, H2, H3, H4, H5, TH, THEAD, TFOOT
{
    COLOR: #003366;
}
H1	{	
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:	2em;
	font-weight:	700;
	font-style:	normal;
	text-decoration:	none;
	word-spacing:	normal;
	letter-spacing:	normal;
	text-transform:	none;
	}	
		
H2	{	
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:	1.75em;
	font-weight:	700;
	font-style:	normal;
	text-decoration:	none;
	word-spacing:	normal;
	letter-spacing:	normal;
	text-transform:	none;
	}	
		
H3	{	
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:	1.58em;
	font-weight:	500;
	font-style:	normal;
	text-decoration:	none;
	word-spacing:	normal;
	letter-spacing:	normal;
	text-transform:	none;
	}	
		
H4	{	
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:	1.33em;
	font-weight:	500;
	text-decoration:	none;
	word-spacing:	normal;
	letter-spacing:	normal;
	text-transform:	none;
	}	
		
H5, DT	{	
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:	1em;
	font-weight:	700;
	font-style:	normal;
	text-decoration:	none;
	word-spacing:	normal;
	letter-spacing:	normal;
	text-transform:	none;
	}	
		
H6	{	
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:	.8em;
	font-weight:	700;
	font-style:	normal;
	text-decoration:	none;
	word-spacing:	normal;
	letter-spacing:	normal;
	text-transform:	none;
	}	
		
TFOOT, THEAD	{	
	font-size:	1em;
	word-spacing:	normal;
	letter-spacing:	normal;
	text-transform:	none;
	font-family: Arial, Helvetica, sans-serif;
	}	
		
TH	{	
	vertical-align:	baseline;
	font-size:	1em;
	font-weight:	bold;
	word-spacing:	normal;
	letter-spacing:	normal;
	text-transform:	none;
	font-family: Arial, Helvetica, sans-serif;
	}	


A:link	{	
	text-decoration:	none;
	color:	#3333cc;
	}	
		
A:visited	{	
	text-decoration:	none;
	color:	#333399;
	}	
		
A:active	{	
	text-decoration:	none;
	color:	#333399;
	}	
		
A:hover	{	
	text-decoration:	underline;
	color:	#3333cc;
	}
	
SMALL	{	
	font-size:	.7em;
	}	

BIG	{	
	font-size:	1.17em;
	}	

BLOCKQUOTE, PRE	{	
	font-family:	Courier New, monospace;
	}	
	

UL LI	{	
	list-style-type:	square ;
	}	

UL LI LI	{	
	list-style-type:	disc;
	}	

UL LI LI LI	{	
	list-style-type:	circle;
	}	
	
OL LI	{	
	list-style-type:	decimal;
	}	

OL OL LI	{	
	list-style-type:	lower-alpha;
	}	

OL OL OL LI	{	
	list-style-type:	lower-roman;
	}	

IMG 	{
	margin-top: 5px;
	margin-left: 10px;
	margin-right: 10px;
	}

/* Local 444 enrollment forms: scoped presentation and responsive foundations. */
.soa-form-page {
    box-sizing: border-box;
    min-height: 100vh;
    margin: 0;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    background: #f1f5f2;
    color: #21342a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.45;
}
.soa-form-page *, .soa-form-page *::before, .soa-form-page *::after { box-sizing: border-box; }
.soa-form-shell { width: 100%; max-width: 72rem; margin: 0 auto; }
.soa-form-shell--compact { max-width: 36rem; }
.soa-form-card {
    overflow: hidden;
    border: 1px solid #d7e1da;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 0.45rem 1.5rem rgba(25, 56, 38, 0.08);
}
.soa-form-header { padding: 1.1rem clamp(1rem, 2.5vw, 1.6rem); background: #17633e; color: #fff; }
.soa-form-header h1 { margin: 0; color: inherit; font-family: inherit; font-size: 1.45rem; font-weight: 650; line-height: 1.25; }
.soa-form-header p { margin: 0.35rem 0 0; color: #e8f3ec; }
.soa-form-content { padding: clamp(1rem, 2.5vw, 1.6rem); }
.soa-form-legend { margin: 0 0 1.2rem; color: #536259; font-size: 0.9rem; }
.soa-required-marker, .soa-optional-marker {
    display: inline-block; margin-left: 0.3rem; border-radius: 999px; padding: 0.08rem 0.45rem;
    font-size: 0.72rem; font-weight: 650; line-height: 1.35; vertical-align: middle;
}
.soa-required-marker { background: #fff0ed; color: #9b3024; }
.soa-optional-marker { background: #eef2ef; color: #55645a; }
.soa-employee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 2.5vw, 2rem); }
.soa-form-section { display: grid; min-width: 0; align-content: start; gap: 1rem; }
.soa-section-heading { margin: 0; border-bottom: 1px solid #e2e9e4; padding-bottom: 0.55rem; color: #24583a; font-family: inherit; font-size: 1.04rem; font-weight: 650; }
.soa-field { display: grid; min-width: 0; gap: 0.32rem; }
.soa-field-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem; color: #25392e; font-size: 0.93rem; font-weight: 600; }
.soa-field-label .soa-required-marker, .soa-field-label .soa-optional-marker { margin-left: 0.2rem; }
.soa-input, .soa-select {
    width: 100%; min-width: 0; min-height: 2.65rem; border: 1px solid #b9c9be; border-radius: 0.42rem;
    padding: 0.55rem 0.7rem; background: #fff; color: #1f2d25; font: inherit;
}
.soa-input--short { max-width: 14ch; }
.soa-input--medium { max-width: 24ch; }
.soa-input--zip { max-width: 8ch; }
.soa-input--zip4 { max-width: 7ch; }
.soa-input--percent { max-width: 9ch; }
.soa-input:focus, .soa-select:focus, .soa-button:focus-visible, .soa-login-summary:focus-visible {
    outline: 0.2rem solid rgba(42, 126, 76, 0.27); outline-offset: 0.12rem; border-color: #2b7e4c;
}
.soa-zip-row { display: flex; align-items: end; gap: 0.4rem; min-width: 0; }
.soa-zip-part { display: grid; min-width: 0; gap: 0.2rem; }
.soa-zip-part-label { color: #647268; font-size: 0.76rem; }
.soa-zip-separator { align-self: end; padding-bottom: 0.6rem; color: #647268; }
.soa-help-text { margin: 0; color: #647268; font-size: 0.82rem; }
.soa-field-error { display: block; min-height: 0; color: #a32920; font-size: 0.84rem; font-weight: 600; }
.soa-form-actions {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.75rem;
    margin-top: 1.5rem; border-top: 1px solid #e2e9e4; padding-top: 1rem;
}
.soa-error-summary { width: 100%; border: 0; background: transparent; color: #a32920; font: inherit; font-weight: 600; }
.soa-action-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; }
.soa-button { min-height: 2.65rem; border: 1px solid transparent; border-radius: 0.45rem; padding: 0.58rem 1rem; font: inherit; font-weight: 650; cursor: pointer; }
.soa-button--primary { background: #17633e; color: #fff; }
.soa-button--primary:hover { background: #104d30; }
.soa-button--secondary { border-color: #b9c9be; background: #fff; color: #294334; }
.soa-button--secondary:hover { background: #f2f6f3; }
.soa-button--danger { border-color: #efc1bc; background: #fff7f6; color: #9b3024; }
.soa-button--danger:hover { background: #ffebe8; }
.soa-login-disclosure { min-width: 0; border: 1px solid #d7e1da; border-radius: 0.6rem; background: #f8faf8; }
.soa-login-summary { cursor: pointer; padding: 0.75rem 0.85rem; color: #294334; font-weight: 650; }
.soa-login-panel { display: grid; gap: 0.8rem; border-top: 1px solid #d7e1da; padding: 0.85rem; }
.soa-percent-control { display: flex; align-items: center; gap: 0.45rem; }
.soa-percent-suffix { color: #526257; font-weight: 650; }
@media (max-width: 48rem) {
    .soa-employee-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 32rem) {
    .soa-form-actions { align-items: stretch; }
    .soa-action-buttons { width: 100%; }
    .soa-action-buttons .soa-button { flex: 1 1 auto; }
}

/* Shared visual system for the member front page and login area. */
.soa-front-page {
    box-sizing: border-box;
    min-height: 100vh;
    margin: 0;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    background: #f1f5f2;
    color: #21342a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
}
.soa-front-page *, .soa-front-page *::before, .soa-front-page *::after { box-sizing: border-box; }
.soa-front-form { width: min(100%, 88rem); margin: 0 auto; }
.soa-front-layout {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}
.soa-front-layout > tbody { display: block; }
.soa-front-layout > tbody > tr {
    display: grid;
    grid-template-columns: minmax(14rem, 0.75fr) minmax(0, 2fr);
    align-items: start;
    gap: clamp(1rem, 2vw, 1.5rem);
}
.soa-front-layout > tbody > tr > td {
    display: block;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.5rem);
    font-family: inherit !important;
    font-size: inherit !important;
    vertical-align: top;
}
.soa-front-rail, .soa-front-main {
    min-width: 0;
    border: 1px solid #d7e1da;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 0.4rem 1.3rem rgba(25, 56, 38, 0.07);
}
.soa-front-rail { color: #33463a; }
.soa-front-page img { margin: 0; }
.soa-front-rail img { display: block; width: 100%; max-width: 10rem; height: auto; margin: 0 auto 1rem; }
.soa-front-rail p { margin: 0.75rem 0; font-size: 0.93rem !important; }
.soa-front-link { display: inline-block; padding: 0.15rem 0; color: #17633e !important; font-weight: 650; }
.soa-front-main { color: #27382e; font-family: "Segoe UI", Arial, sans-serif !important; font-size: 1rem !important; }
.soa-front-main font { color: inherit; font-family: inherit !important; font-size: inherit !important; }
.soa-front-main p { margin: 0.8rem 0; font: inherit !important; }
.soa-front-main .soa-front-lead {
    margin: 0.4rem 0 1rem;
    color: #24583a;
    font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
    font-weight: 700 !important;
    line-height: 1.25;
}
.soa-front-main ul { padding-left: 1.35rem; }
.soa-front-main li { margin: 0.38rem 0; }
.soa-front-main table:not(.soa-front-login) {
    width: 100% !important;
    height: auto !important;
    margin: 0.8rem 0;
    border-collapse: collapse;
    table-layout: auto;
    font-family: inherit !important;
    font-size: 0.94rem !important;
}
.soa-front-main table:not(.soa-front-login) td {
    width: auto !important;
    height: auto !important;
    border: 1px solid #e2e9e4;
    padding: 0.38rem 0.5rem;
    vertical-align: top;
}
.soa-front-login {
    display: table;
    width: min(100%, 26rem) !important;
    height: auto !important;
    margin: 0 0 1.25rem auto;
    border: 1px solid #d7e1da;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.7rem;
    background: #fff;
    box-shadow: 0 0.3rem 1rem rgba(25, 56, 38, 0.08);
    font-family: inherit !important;
    font-size: 1rem !important;
    overflow: hidden;
}
.soa-front-login td {
    width: auto !important;
    height: auto !important;
    padding: 0.6rem 0.75rem;
    background: #f8faf8 !important;
    color: #27382e;
    font-family: inherit !important;
    font-size: 0.92rem !important;
    vertical-align: middle;
}
.soa-front-login td:first-child { width: 44% !important; }
.soa-front-login td:last-child { width: 56% !important; }
.soa-front-login tr:first-child td {
    background: #17633e !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    font-weight: 700;
}
.soa-front-login tr:nth-child(4) td { padding-top: 0.35rem; padding-bottom: 0.35rem; }
.soa-front-login tr:last-child td { text-align: right; }
.soa-front-login label { font-weight: 600; }
.soa-front-input {
    width: 100% !important;
    max-width: 100%;
    min-height: 2.6rem;
    border: 1px solid #b9c9be;
    border-radius: 0.42rem;
    padding: 0.55rem 0.7rem;
    background: #fff;
    color: #1f2d25;
    font: inherit;
}
.soa-front-input:focus { outline: 0.2rem solid rgba(42, 126, 76, 0.27); outline-offset: 0.12rem; border-color: #2b7e4c; }
.soa-front-error {
    display: block;
    width: auto !important;
    height: auto !important;
    min-height: 1.3em;
    color: #9b3024 !important;
    font-size: 0.88rem !important;
    line-height: 1.4;
}
@media (max-width: 48rem) {
    .soa-front-layout > tbody > tr { grid-template-columns: minmax(0, 1fr); }
    .soa-front-login { margin-right: auto; }
    .soa-front-main table:not(.soa-front-login) { display: block; overflow-x: auto; white-space: nowrap; }
}

/* Shared visual foundation for the legacy Web Forms screens. */
.soa-legacy-page, .soa-report-page, .soa-menu-page {
    box-sizing: border-box;
    min-height: 100vh;
    margin: 0;
    padding: clamp(0.65rem, 1.8vw, 1.35rem);
    background: #f1f5f2;
    color: #21342a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.45;
}
.soa-legacy-page *, .soa-legacy-page *::before, .soa-legacy-page *::after,
.soa-report-page *, .soa-report-page *::before, .soa-report-page *::after,
.soa-menu-page *, .soa-menu-page *::before, .soa-menu-page *::after { box-sizing: border-box; }
.soa-legacy-page form, .soa-report-page form {
    width: 100%;
    max-width: 78rem;
    margin: 0 auto;
    border: 1px solid #d7e1da;
    border-radius: 0.8rem;
    padding: clamp(0.85rem, 2vw, 1.4rem);
    background: #fff;
    box-shadow: 0 0.4rem 1.3rem rgba(25, 56, 38, 0.07);
}
.soa-legacy-page form > table, .soa-legacy-page form > div > table {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    border-collapse: separate;
    border-spacing: 0;
    font-family: inherit !important;
    font-size: 0.95rem !important;
}
.soa-legacy-page table {
    max-width: 100%;
    color: inherit;
    font-family: inherit !important;
    font-size: 0.94rem !important;
}
.soa-legacy-page td, .soa-legacy-page th {
    height: auto !important;
    padding: 0.48rem 0.62rem !important;
    color: inherit;
    font-family: inherit !important;
    font-size: inherit !important;
    vertical-align: middle;
}
.soa-legacy-page td[style*="BACKGROUND-COLOR: #009900"],
.soa-legacy-page td[style*="background-color: #009900"],
.soa-legacy-page td[style*="BACKGROUND-COLOR: #009900;"],
.soa-legacy-page td[style*="background-color: #009900;"] {
    background: #17633e !important;
    color: #fff !important;
    font-weight: 650;
}
.soa-legacy-page td[style*="BACKGROUND-COLOR: #eeeeee"],
.soa-legacy-page td[style*="background-color: #eeeeee"] {
    background: #f6f9f7 !important;
    color: #26382d !important;
}
.soa-admin-summary-page .soa-summary-layout { width: 100% !important; }
.soa-admin-summary-page .soa-summary-layout > tbody > tr > td { padding: 0.35rem 0 !important; }
.soa-admin-summary-page .soa-summary-layout > tbody > tr:not(:first-child) > td {
    border: 1px solid #d7e1da;
    border-radius: 0.55rem;
    padding: 0.8rem !important;
    background: #fff !important;
    color: #294334 !important;
    font-weight: 650;
}
.soa-admin-summary-page .soa-summary-profile {
    width: 100% !important;
    border: 1px solid #d7e1da;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 0.55rem;
    background: #fff;
}
.soa-admin-summary-page .soa-summary-profile tr:first-child td {
    background: #17633e !important;
    color: #fff !important;
    font-size: 1.22rem !important;
    font-weight: 700;
}
.soa-admin-summary-page .soa-summary-profile input[type="text"] {
    width: 100% !important;
    min-height: 1.8rem;
    border: 0 !important;
    border-radius: 0;
    padding: 0.1rem 0.2rem !important;
    background: transparent !important;
    color: #21342a;
}
.soa-search-page form { max-width: 78rem; }
.soa-search-panel { width: 100% !important; border-collapse: separate; border-spacing: 0.25rem; }
.soa-search-panel td { border-radius: 0.35rem; }
.soa-data-table {
    width: 100% !important;
    max-width: 100%;
    margin: 0.55rem 0;
    border-collapse: collapse;
    border: 1px solid #d7e1da;
    background: #fff;
    font-family: inherit !important;
    font-size: 0.92rem !important;
}
.soa-data-table td, .soa-data-table th {
    height: auto !important;
    border: 1px solid #dfe7e1;
    padding: 0.48rem 0.62rem !important;
    color: #26382d;
    font-family: inherit !important;
    font-size: inherit !important;
    vertical-align: top;
}
.soa-data-table tr:first-child td, .soa-data-table tr:first-child th {
    background: #17633e !important;
    color: #fff !important;
    font-weight: 700;
}
.soa-data-table tr:nth-child(even):not(:first-child) td { background: #f6f9f7; }
.soa-legacy-page input[type="text"], .soa-legacy-page input[type="password"],
.soa-legacy-page input[type="email"], .soa-legacy-page input[type="number"],
.soa-legacy-page input[type="date"], .soa-legacy-page select, .soa-legacy-page textarea {
    max-width: 100%;
    min-height: 2.5rem;
    border: 1px solid #b9c9be;
    border-radius: 0.4rem;
    padding: 0.5rem 0.65rem;
    background: #fff;
    color: #1f2d25;
    font-family: inherit !important;
    font-size: 1rem !important;
}
.soa-legacy-page input[type="text"]:focus, .soa-legacy-page input[type="password"]:focus,
.soa-legacy-page input[type="email"]:focus, .soa-legacy-page input[type="number"]:focus,
.soa-legacy-page input[type="date"]:focus, .soa-legacy-page select:focus,
.soa-legacy-page textarea:focus {
    outline: 0.2rem solid rgba(42, 126, 76, 0.25);
    outline-offset: 0.1rem;
    border-color: #2b7e4c;
}
.soa-legacy-page input[type="submit"], .soa-legacy-page input[type="button"],
.soa-legacy-page button, .soa-menu-page input[type="submit"] {
    min-height: 2.5rem;
    margin: 0.2rem;
    border: 1px solid #17633e;
    border-radius: 0.42rem;
    padding: 0.52rem 0.9rem;
    background: #17633e;
    color: #fff;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.soa-legacy-page input[type="submit"][value="Cancel"], .soa-legacy-page input[type="button"][value="Cancel"] {
    border-color: #b9c9be;
    background: #fff;
    color: #294334;
}
.soa-legacy-page input[type="submit"][value="Delete"], .soa-legacy-page input[type="submit"][value="Remove"] {
    border-color: #efc1bc;
    background: #fff7f6;
    color: #9b3024;
}
.soa-legacy-page input[type="submit"]:focus-visible, .soa-legacy-page input[type="button"]:focus-visible,
.soa-legacy-page button:focus-visible, .soa-menu-page input[type="submit"]:focus-visible {
    outline: 0.2rem solid rgba(42, 126, 76, 0.27);
    outline-offset: 0.12rem;
}
.soa-legacy-page a, .soa-report-page a { color: #17633e; font-weight: 600; }
.soa-legacy-page a:hover, .soa-report-page a:hover { color: #104d30; text-decoration: underline; }
.soa-legacy-page input[id*="ErrMsg"], .soa-legacy-page span[id*="ErrMsg"] {
    height: auto !important;
    min-height: 1.35em;
    border: 0 !important;
    background: transparent !important;
    color: #a32920 !important;
    font-weight: 650 !important;
}
.soa-menu-page { padding: clamp(0.6rem, 1.3vw, 1rem); background: #eef4ef; }
.soa-menu-page form { width: 100%; height: auto; margin: 0; border: 1px solid #d7e1da; border-radius: 0.7rem; padding: 0.55rem; background: #fff; box-shadow: 0 0.3rem 1rem rgba(25, 56, 38, 0.08); }
.soa-menu-page table { width: 100% !important; height: auto !important; border-collapse: collapse; }
.soa-menu-page td { width: auto !important; height: auto !important; padding: 0.38rem 0.3rem; vertical-align: top; }
.soa-menu-brand { margin-bottom: 0.8rem; border-bottom: 1px solid #e2e9e4; padding: 0.25rem 0.2rem 0.75rem; text-align: center; }
.soa-menu-page img { display: block; max-width: 100%; height: auto; margin: 0 auto 0.55rem; }
.soa-menu-page .soa-brand-mark { width: min(100%, 9rem); border: 1px solid #e2e9e4; border-radius: 0.4rem; }
.soa-menu-heading { margin: 0.5rem 0 0; color: #24583a; font-size: 0.95rem; font-weight: 700; }
.soa-menu-links { display: grid; gap: 0.35rem; }
.soa-menu-links br { display: none; }
.soa-menu-page .soa-menu-item { display: block; border: 1px solid transparent; border-radius: 0.4rem; padding: 0.12rem; transition: border-color 120ms ease, background-color 120ms ease; }
.soa-menu-page .soa-menu-item:hover, .soa-menu-page .soa-menu-item:focus-visible { border-color: #b9c9be; background: #f4f8f5; outline: none; }
.soa-menu-page a img { width: 100%; margin: 0; border-radius: 0.25rem; }
.soa-menu-footer { margin-top: 0.8rem; border-top: 1px solid #e2e9e4; padding-top: 0.7rem; }
.soa-menu-document { display: block; margin: 0.25rem 0 0.65rem; color: #17633e; font-size: 0.85rem; line-height: 1.35; }
.soa-menu-page .soa-menu-logout { width: 100%; }
.soa-frame-host { background: #f1f5f2; }
.soa-report-page { background: #f1f5f2; }
.soa-report-page form { overflow-x: auto; }
.soa-report-page input[type="submit"], .soa-report-page input[type="button"] { min-height: 2.35rem; }
@media screen {
    .soa-report-page table { max-width: 100%; color: #26382d; font-family: "Segoe UI", Arial, sans-serif !important; font-size: 0.94rem !important; }
    .soa-report-page .soa-report-data {
        width: 100% !important;
        max-width: 100%;
        border-collapse: collapse;
        border: 1px solid #d7e1da;
        background: #fff;
    }
    .soa-report-page .soa-report-data td, .soa-report-page .soa-report-data th {
        border: 1px solid #dfe7e1;
        padding: 0.48rem 0.62rem !important;
        color: #26382d;
        font-family: inherit !important;
        font-size: inherit !important;
        vertical-align: top;
    }
    .soa-report-page .soa-report-data tr:first-child td, .soa-report-page .soa-report-data tr:first-child th {
        background: #17633e !important;
        color: #fff !important;
        font-weight: 700;
    }
    .soa-report-page a { display: inline-block; margin: 0.15rem 0.35rem 0.45rem 0; border: 1px solid #b9c9be; border-radius: 0.4rem; padding: 0.42rem 0.7rem; background: #fff; text-decoration: none; }
}
@media screen and (max-width: 48rem) {
    .soa-legacy-page, .soa-report-page { padding: 0.65rem; }
    .soa-legacy-page form, .soa-report-page form { border-radius: 0.55rem; padding: 0.8rem; }
    .soa-legacy-page form > table, .soa-legacy-page form > div > table { display: block; overflow-x: auto; }
    .soa-data-table, .soa-report-data { display: block; overflow-x: auto; white-space: nowrap; }
    .soa-legacy-page td, .soa-legacy-page th { padding: 0.42rem 0.5rem !important; }
    .soa-admin-summary-page .soa-summary-layout,
    .soa-admin-summary-page .soa-summary-layout > tbody,
    .soa-admin-summary-page .soa-summary-layout > tbody > tr,
    .soa-admin-summary-page .soa-summary-layout > tbody > tr > td { display: block; }
    .soa-admin-summary-page .soa-summary-profile,
    .soa-admin-summary-page .soa-summary-profile > tbody { display: block; }
    .soa-admin-summary-page .soa-summary-profile tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .soa-admin-summary-page .soa-summary-profile td[colspan] { grid-column: 1 / -1; }
    .soa-search-panel, .soa-search-panel > tbody { display: block; }
    .soa-search-panel tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.35rem; }
    .soa-search-panel td { display: block; min-width: 0; }
}
@media screen and (max-width: 19rem) {
    .soa-admin-summary-page .soa-summary-profile tr { grid-template-columns: minmax(0, 1fr); }
}
@media print {
    .soa-report-page { min-height: 0; margin: 0; padding: 0; background: #fff; }
    .soa-report-page form { width: auto; max-width: none; margin: 0; border: 0; border-radius: 0; padding: 0; background: #fff; box-shadow: none; overflow: visible; }
    .soa-report-page .soa-report-data,
    .soa-report-page .soa-report-data td,
    .soa-report-page .soa-report-data th { font-family: Arial, Helvetica, sans-serif !important; font-size: 8pt !important; }
}

/* c1.aspx reserves a compact 40px frame for the administrator's search strip. */
body.soa-search-page {
    width: 100%;
    height: 2.5rem;
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #eef4ef;
}
.soa-search-page form {
    width: 100%;
    height: 2.5rem;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0.14rem clamp(0.2rem, 0.7vw, 0.55rem);
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}
.soa-search-page .soa-search-panel {
    width: 100% !important;
    height: 100%;
    border-spacing: 0.16rem 0;
    table-layout: auto;
}
.soa-search-page .soa-search-panel td {
    height: auto !important;
    padding: 0.09rem 0.18rem !important;
    border-radius: 0.25rem;
    font-size: 0.77rem !important;
    line-height: 1.15;
    white-space: nowrap;
    vertical-align: middle;
}
.soa-search-page .soa-search-panel td[style*="#009900"] {
    background: #17633e !important;
    color: #fff !important;
    font-weight: 650;
}
.soa-search-page input[type="text"] {
    min-height: 1.6rem;
    margin: 0;
    border: 1px solid #b9c9be;
    border-radius: 0.3rem;
    padding: 0.12rem 0.38rem;
    font-size: 0.82rem !important;
    line-height: 1.1;
}
.soa-search-page #TextBox1 { width: clamp(7.5rem, 16vw, 13rem) !important; }
.soa-search-page #TextBox2 { width: clamp(7rem, 14vw, 11rem) !important; }
.soa-search-page #TextBox3 { width: clamp(6rem, 10vw, 8rem) !important; }
.soa-search-page input[type="submit"], .soa-search-page input[type="button"] {
    min-height: 1.66rem;
    margin: 0;
    border-radius: 0.3rem;
    padding: 0.1rem 0.58rem;
    font-size: 0.8rem;
    line-height: 1.1;
}

/* Text search remains a single compact row in the existing 40px frame. */
.soa-search-page input[type="text"],
.soa-search-page input[type="submit"],
.soa-search-page input[type="button"] { vertical-align: middle; }
@media screen and (max-width: 48rem) {
    .soa-search-page form { overflow-x: auto; overflow-y: hidden; white-space: nowrap; }
    .soa-search-page .soa-search-panel,
    .soa-search-page .soa-search-panel > tbody { display: table; width: max-content !important; min-width: 100%; }
    .soa-search-page .soa-search-panel tr { display: table-row; }
    .soa-search-page .soa-search-panel td { display: table-cell; }
    .soa-search-page #TextBox1 { width: clamp(5.5rem, 25vw, 8rem) !important; }
    .soa-search-page #TextBox2 { width: clamp(5.25rem, 23vw, 7.5rem) !important; }
    .soa-search-page #TextBox3 { width: clamp(4.75rem, 18vw, 6.5rem) !important; }
}

/* Navigation uses the shared forest-green action style while retaining the
   original ASP.NET links and image elements used by the legacy rollover code. */
.soa-menu-page .soa-menu-links { gap: 0.5rem; }
.soa-menu-page .soa-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.85rem;
    border: 1px solid #17633e;
    border-radius: 0.5rem;
    padding: 0.62rem 0.8rem;
    background: #17633e;
    color: #fff;
    box-shadow: 0 0.12rem 0.3rem rgba(25, 56, 38, 0.12);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.soa-menu-page .soa-menu-item img { display: none; }
.soa-menu-page .soa-menu-item::after { content: attr(aria-label); }
.soa-menu-page .soa-menu-item:hover {
    border-color: #104d30;
    background: #104d30;
    box-shadow: 0 0.18rem 0.42rem rgba(25, 56, 38, 0.2);
    color: #fff;
}
.soa-menu-page .soa-menu-item:focus-visible {
    outline: 0.2rem solid rgba(42, 126, 76, 0.3);
    outline-offset: 0.12rem;
}
.soa-menu-page .soa-menu-item[aria-current="page"] {
    border-color: #0c4d2e;
    background: #0c4d2e;
    box-shadow: inset 0.28rem 0 #b8e0c3, 0 0.18rem 0.42rem rgba(25, 56, 38, 0.16);
    padding-left: 1rem;
}
.soa-menu-page .soa-menu-item--text::after { content: none; }
.soa-menu-page .soa-menu-item--text { justify-content: center; text-align: center; }

/* User administration stays in the existing employee content frame and uses
   the same green cards, controls, and table language as the rest of the site. */
.soa-user-management-page {
    min-height: 100%;
    margin: 0;
    padding: clamp(0.6rem, 1.7vw, 1.25rem);
    background: #eef4ef;
    color: #27382e;
    font-family: Arial, sans-serif;
}
.soa-user-management-page *, .soa-user-management-page *::before, .soa-user-management-page *::after { box-sizing: border-box; }
.soa-user-management-page form { width: 100%; margin: 0; }
.soa-user-management-shell { width: min(100%, 76rem); margin: 0 auto; display: grid; gap: 1rem; }
.soa-user-management-header {
    position: relative;
    border: 1px solid #d7e1da;
    border-radius: 0.7rem;
    padding: 1rem 1.2rem;
    background: #17633e;
    color: #fff;
    box-shadow: 0 0.3rem 1rem rgba(25, 56, 38, 0.08);
}
.soa-user-management-header h1 { margin: 0; color: inherit; font-size: 1.45rem; line-height: 1.25; }
.soa-user-management-header p { margin: 0.4rem 0 0; color: #e8f3ec; }
.soa-user-management-header .soa-user-management-eyebrow { margin: 0 0 0.3rem; color: #d7eddf; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.soa-user-management-add-shortcut { float: right; margin: 0 0 0.5rem 1rem; color: #145531; }
.soa-user-management-card {
    min-width: 0;
    border: 1px solid #d7e1da;
    border-radius: 0.7rem;
    padding: clamp(0.85rem, 1.8vw, 1.25rem);
    background: #fff;
    box-shadow: 0 0.3rem 1rem rgba(25, 56, 38, 0.06);
}
.soa-user-management-section-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 0.9rem; }
.soa-user-management-section-heading h2 { margin: 0; color: #24583a; font-size: 1.12rem; }
.soa-user-management-section-heading p { margin: 0.3rem 0 0; color: #647268; font-size: 0.86rem; }
.soa-user-management-message { display: block; min-height: 0; color: #8b291f; font-weight: 650; }
.soa-user-management-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 0.2rem 0 0.75rem; }
.soa-user-management-search { display: flex; flex: 1 1 auto; align-items: end; gap: 0.55rem; min-width: 0; }
.soa-user-management-search-field { flex: 1 1 22rem; min-width: 10rem; max-width: 30rem; }
.soa-user-management-search-field .soa-input { width: 100%; }
.soa-user-management-page-size { display: flex; flex: 0 0 auto; align-items: center; gap: 0.45rem; }
.soa-user-management-page-size .soa-field-label { margin: 0; }
.soa-user-management-page-size .soa-select { min-width: 5rem; }
.soa-user-management-sort-status { display: block; margin: 0 0 0.5rem; color: #52675a; font-size: 0.82rem; }
.soa-user-management-table-wrap { width: 100%; overflow-x: auto; }
.soa-user-management-grid { width: 100%; min-width: 47rem; border-collapse: collapse; font-size: 0.88rem; }
.soa-user-management-grid th { padding: 0.65rem 0.55rem; background: #17633e; color: #fff; text-align: left; white-space: nowrap; }
.soa-user-management-grid th a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.58); text-underline-offset: 0.14em; }
.soa-user-management-grid th a:hover, .soa-user-management-grid th a:focus-visible { color: #e1f3e7; text-decoration-color: currentColor; }
.soa-user-management-grid td { border-bottom: 1px solid #e2e9e4; padding: 0.55rem; vertical-align: middle; }
.soa-user-management-grid tr:nth-child(even) td { background: #f7faf7; }
.soa-user-management-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.soa-user-management-page .soa-button--small { min-height: 2rem; padding: 0.35rem 0.55rem; font-size: 0.8rem; text-decoration: none; }
.soa-user-management-page .soa-button:disabled { cursor: not-allowed; opacity: 0.62; }
.soa-user-management-pager { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.7rem 0.3rem 0; }
.soa-user-management-page-range { color: #52675a; font-size: 0.88rem; font-weight: 650; text-align: center; }
.soa-user-management-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.2rem; }
.soa-user-management-form-grid .soa-field { min-width: 0; }
.soa-user-management-form-grid .soa-input, .soa-user-management-form-grid .soa-select { width: 100%; max-width: 100%; }
.soa-user-management-form-actions { display: flex; justify-content: flex-end; gap: 0.55rem; margin-top: 1rem; border-top: 1px solid #e2e9e4; padding-top: 0.9rem; }
@media screen and (max-width: 42rem) {
    .soa-user-management-add-shortcut { float: none; display: inline-flex; margin: 0.75rem 0 0; }
    .soa-user-management-toolbar { align-items: stretch; flex-direction: column; gap: 0.75rem; }
    .soa-user-management-search { flex-wrap: wrap; }
    .soa-user-management-search-field { flex: 1 1 100%; max-width: none; }
    .soa-user-management-page-size { justify-content: flex-start; }
    .soa-user-management-pager { flex-wrap: wrap; }
    .soa-user-management-page-range { order: -1; flex: 1 1 100%; }
    .soa-user-management-form-grid { grid-template-columns: minmax(0, 1fr); }
    .soa-user-management-form-actions { flex-wrap: wrap; }
    .soa-user-management-form-actions .soa-button { flex: 1 1 9rem; }
}

/* Keep the carrier editor inside its existing frame while making the full
   form and both actions fit its card. Long links may wrap within the value column. */
.soa-insurance-company-page { padding: 0.55rem; }
.soa-insurance-company-page form {
    width: 100%;
    max-width: 34rem;
    margin: 0 auto;
    padding: 0.65rem;
}
.soa-insurance-company-page form > table {
    display: table !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    table-layout: fixed;
    overflow: visible;
}
.soa-insurance-company-page form > table > tbody > tr > td {
    width: auto !important;
    padding: 0 !important;
}
.soa-insurance-company-page form > table > tbody > tr > td > table {
    width: 100% !important;
    max-width: 100%;
    table-layout: auto;
}
.soa-insurance-company-page table table td:first-child { width: 28% !important; }
.soa-insurance-company-page table table td:nth-child(2) { width: 72% !important; }
.soa-insurance-company-page form > table > tbody > tr > td > table td { overflow-wrap: anywhere; }
.soa-insurance-company-page input[type="text"] { width: 100% !important; min-width: 0; }
.soa-insurance-company-page a { overflow-wrap: anywhere; }

/* Insurance plan/rate tables keep readable rows, wrap long names, and retain
   the legacy table flow inside frames of different widths. */
.soa-insurance-list-page .soa-data-table {
    display: table;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    table-layout: auto;
    white-space: normal;
}
.soa-insurance-list-page .soa-data-table td,
.soa-insurance-list-page .soa-data-table th {
    padding: 0.62rem 0.72rem !important;
    line-height: 1.35;
    vertical-align: middle;
    overflow-wrap: anywhere;
}
.soa-insurance-list-page .soa-data-table tr:first-child td,
.soa-insurance-list-page .soa-data-table tr:first-child th { padding-top: 0.68rem !important; padding-bottom: 0.68rem !important; }
.soa-insurance-list-page .soa-data-table td:nth-child(2),
.soa-insurance-list-page .soa-data-table td:nth-child(3) { white-space: nowrap; }
.soa-insurance-list-page .soa-data-table td:last-child { white-space: nowrap; }
.soa-insurance-list-page .soa-data-table a[href^="javascript:rate"] {
    display: inline-flex;
    align-items: center;
    min-height: 2.15rem;
    border: 1px solid #17633e;
    border-radius: 0.38rem;
    padding: 0.35rem 0.58rem;
    background: #eef6f0;
    color: #145531;
    font-weight: 700;
    text-decoration: none;
}
.soa-insurance-list-page .soa-data-table a[href^="javascript:rate"]:hover,
.soa-insurance-list-page .soa-data-table a[href^="javascript:rate"]:focus-visible {
    background: #17633e;
    color: #fff;
}

/* Insurance catalog lists live inside narrow frames and declare a 16px table height.
   Keep responsive overflow on the surrounding form instead of clipping their rows. */
@media screen and (max-width: 48rem) {
    .soa-insurance-list-page .soa-data-table {
        display: table !important;
        height: auto !important;
        overflow: visible;
        white-space: normal;
    }
}
