/* System 2026 Styles */

.system2026__h1 {
	color: var(--cert-color1);
	font-size: 300%; /* Exactly matches the <font size="14"> that was hard-coded */
}


/* Admin Controls */

.system2026__admin-controls {
	position: fixed;
	top: 0;
	left: 0;
	width: 400px;
	z-index: 50;
	max-height: 500px;
	max-height: 100vh;
	
	background-color: white;
	box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.25);
	overflow: scroll;
	padding: 1em;
}

.system2026__admin-controls-payment {
	padding: 0.5em 0;
	margin: 0.5em 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.system2026__admin-controls-notes,
.system2026__admin-controls-changelog {
	display: none;
}
.system2026__admin-controls:hover .system2026__admin-controls-notes,
.system2026__admin-controls:hover .system2026__admin-controls-changelog,
.system2026__admin-controls__open .system2026__admin-controls-notes,
.system2026__admin-controls__open .system2026__admin-controls-changelog {
	display: block;
}

.system2026__admin-controls-note-textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	font-family: inherit;
	font-size: 100%;
	height: 15em;
	padding: 0.5em;
}

.system2026__admin-controls-changelog td {
	padding-bottom: 0.125em;
}

.system2026__admin-controls-changelog td + td {
	padding-left: 1em;
}


/* Admin Pre-Form */

.system2026__admin-preform {
	padding: 1em;
	border: 2px solid var(--cert-color1);
	margin-top: 1em;
	margin-bottom: 1em;
}

.system2026__admin-preform h2 {
	margin-top: 0;
}


/* Payment / AG Add */

.system2026-payment h1 {
	color: var(--cert-color1);
}

.system2026-payment__grower-info {
	margin: 1em 0;
	width: 100%;
}

.system2026-payment__grower-info th,
.system2026-payment__grower-info td {
	padding-right: 1em;
}

.system2026-payment__grower-info th {
	font-weight: bold;
	padding-bottom: 0.5em;
}

.system2026-payment__grower-info td {
	font-size: 150%;
}

.system2026-payment .invalid {
	box-shadow: 0 0 8px 0 red;
}

.system2026-payment .fee-note {
	margin: 0.5em 0;
}

.system2026-payment .cost-summary {
	width: 50%;
	min-width: 22em;
	margin-left: auto;
}
.system2026-payment .cost-summary th,
.system2026-payment .cost-summary td {
	padding: 0.5em;
}

.system2026-payment .cost-summary [name='admin_manual_processing_fee'] {
	box-sizing: border-box;
	display: inline-block;
	width: 6em;
}

.system2026-payment .integer,
.system2026-payment .currency {
	font-family: sans-serif;
	font-size: 110%;
	font-weight: bold;
	text-align: right;
}


/* Addresses */

.system2026__Addresses {
	margin-bottom: 1em;
}

.system2026__Addresses .fb2_field_heading {
	font-weight: bold;
	margin-bottom: 0.25em;
}

.system2026__Addresses-template {
	display: none;
}

.system2026__Addresses-rows {
	border-left: 2px solid var(--cert-color1);
	padding-left: 1em;
	margin-bottom: 0.5em;
}

.system2026__Addresses-row {
	position: relative;
	display: flex;
	padding-right: 2em;
}

.system2026__Addresses-row > .fb2_field {
	flex: 1;
	margin-right: 1em;
}

.system2026__Addresses-remove {
	position: absolute;
	bottom: 0.9em;
	right: 0;
	padding: 0.25em;
}

.system2026__Addresses-remove .material-icons {
	vertical-align: top;
}


/* Associated Growers */

.system2026__AGWidget-template {
	display: none;
}

.system2026__AGWidget-remove {
	padding-top: 1.2em;
}

.system2026__AGWidget-row [readonly] {
	opacity: 0.7;
	font-style: italic;
}


/* Barn Types */

.system2026__BarnTypes-template {
	display: none;
}

.system2026__BarnTypes-row {
	position: relative;
	border-top: 1px solid var(--cert-color1);;
	padding-top: 1em;
	padding-right: 3em;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	column-gap: 1em;
}
.system2026__BarnTypes-row:first-child {
	border-top-width: 0;
	padding-top: 0;
}

.system2026__BarnTypes-paramgroup {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	column-gap: 1em;
	row-gap: 0.5em;
}

.system2026__BarnTypes-row [readonly] {
	opacity: 0.7;
	font-style: italic;
}

.system2026__BarnTypes-row           .system2026__BarnTypes-barn_type_other {
	display: none;
}
.system2026__BarnTypes-row__bt-other .system2026__BarnTypes-barn_type_other {
	display: block;
}

.system2026__BarnTypes-row           .system2026__BarnTypes-type_of_fuel_other {
	display: none;
}
.system2026__BarnTypes-row__ft-other .system2026__BarnTypes-type_of_fuel_other {
	display: block;
}

.system2026__BarnTypes-row           .system2026__BarnTypes-number_of_racks,
.system2026__BarnTypes-row           .system2026__BarnTypes-number_of_boxes {
	display: none;
}
.system2026__BarnTypes-row__rb-box   .system2026__BarnTypes-number_of_boxes {
	display: block;
}
.system2026__BarnTypes-row__rb-rack  .system2026__BarnTypes-number_of_racks {
	display: block;
}

.system2026__BarnTypes-row           .system2026__BarnTypes-insulated_num,
.system2026__BarnTypes-row           .system2026__BarnTypes-on_insulated_pad_num {
	display: none;
}
.system2026__BarnTypes-row__ins      .system2026__BarnTypes-insulated_num,
.system2026__BarnTypes-row__oip      .system2026__BarnTypes-on_insulated_pad_num {
	display: block;
}

.system2026__BarnTypes-remove {
	position: absolute;
	top: 2em;
	right: 0;
	padding: 0.25em;
}
.system2026__BarnTypes-row:first-child .system2026__BarnTypes-remove {
	top: 1.15em;
}

.system2026__BarnTypes-remove .material-icons {
	vertical-align: middle;
}

.system2026__BarnTypes-add {
	margin-bottom: 1em;
}

.system2026__BarnTypes-table {
	width: 100%;
}

.system2026__BarnTypes-table th,
.system2026__BarnTypes-table td {
	border: 1px solid;
	text-align: center;
	padding: 0.25em;
}
.system2026__BarnTypes-table th {
	font-weight: bold;
}


/* Choices */

.system2026__Choices {
	margin-bottom: 1em;
}

.system2026__Choices .fb2_field_heading {
	font-weight: bold;
	margin-bottom: 0.25em;
}

.system2026__Choices-template {
	display: none;
}

.system2026__Choices-rows {
	border-left: 2px solid var(--cert-color1);
	padding-left: 1em;
	margin-bottom: 0.5em;
}

.system2026__Choices-row {
	position: relative;
	display: flex;
	padding-right: 2em;
}

.system2026__Choices-row > .fb2_field {
	flex: 1;
	margin-right: 1em;
}

.system2026__Choices-remove {
	position: absolute;
	bottom: 0.9em;
	right: 0;
	padding: 0.25em;
}

.system2026__Choices-remove .material-icons {
	vertical-align: top;
}


/* Definitions */

.system2026-resume .defn {
	color: var(--cert-color1-deep);
}

.system2026-definition {
	position: absolute;
	width: 16em;
	
	background-color: var(--cert-color1-bright);
	border: 2px solid var(--cert-color1);
	display: none;
	padding: 0.5em;
}

.system2026-definition-term {
	font-weight: bold;
	margin-bottom: 0.5em;
}


/* Farm Infrastructure */

.system2026__FarmInfrastructure .fb2_field_heading {
	font-weight: bold;
	margin-bottom: 0.5em;
}

.system2026__FarmInfrastructure-table {
	width: 100%;
}

.system2026__FarmInfrastructure-table th,
.system2026__FarmInfrastructure-table td {
	border: 1px solid var(--cert-color1);
	text-align: left;
	padding: 0.25em;
}
.system2026__FarmInfrastructure-table th {
	font-weight: bold;
}

.system2026__FarmInfrastructure input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.25em;
	text-align: right;
}


/* Labor Grid */

.system2026__LaborGrid-table th,
.system2026__LaborGrid-table td {
	width: 5%;
	padding: 0.125em;
}
.system2026__LaborGrid-table th {
	font-weight: bold;
}
.system2026__LaborGrid-table td.equals {
	text-align: center;
}

.system2026__LaborGrid-table th:first-child {
	width: 20%;
}

.system2026__LaborGrid-table small {
	display: block;
	font-size: 80%;
}

.system2026__LaborGrid-table input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	text-align: center;
}
.system2026__LaborGrid input[readonly] {
	background-color: #ddd;
	border: 1px solid;
	opacity: 0.7;
	font-style: italic;
}


/* Multiple FLCs */
.system2026__MultipleFLC-template {
	display: none;
}

.system2026__MultipleFLC-row [readonly] {
	opacity: 0.7;
	font-style: italic;
}

.system2026__MultipleFLC-row {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-right: 5.5em;
}
.system2026__MultipleFLC-row.generic__4flex {
	align-items: flex-end;
	margin-bottom: 1em;
}

.system2026__MultipleFLC-row > div {
	width: 31%;
	padding-bottom: 0.5em;
}
.system2026__MultipleFLC-row > .system2026__MultipleFLC-text {
	width: 48%;
}

.system2026__MultipleFLC-row .fb2_field {
	margin-bottom: 0;
}

.system2026__MultipleFLC-remove-button {
	position: absolute;
	top: 1.4em;
	right: 0;
	font-size: 100%;
}


/* Read-Only Pre-Pop Fields */

.system2026__ReadOnly_PrePop {
	margin-bottom: 1em;
}

.system2026__ReadOnly_PrePop-question {
	font-weight: bold;
	margin-bottom: 0.125em;
}

.system2026__ReadOnly_PrePop-answer {
	font-size: 125%;
	font-weight: bold;
	padding-left: 0.5em;
}
.system2026__ReadOnly_PrePop-answer::before {
	content: "\2022 ";
}


/* Scoreboards */

.system2026__scoreboard {
	position: fixed;
	top: 50%;
	right: 0.25em;
	width: 10em;
	margin-top: -3em;
	padding: 1em;
	box-sizing: border-box;
	
	background-color: var(--gapc-bg-white);
	border: 1px solid #bcb;
	border-color: var(--cert-color1-deep);
	text-align: center;
}
.system2026__scoreboard__acreage {
	top: 32%;
}
.system2026__scoreboard__labor {
	top: 68%;
}

.system2026__scoreboard-total {
	font-size: 200%;
}

.system2026__scoreboard-error {
	color: red;
}


/* Tobacco Varieties */

.system2026__VarietiesByType {
	margin-bottom: 1em;
}

.system2026__VarietiesByType .fb2_field_heading {
	font-weight: bold;
	margin-bottom: 0.25em;
}

.system2026__VarietiesByType-template {
	display: none;
}

.system2026__VarietiesByType-rows {
	border-left: 2px solid #54b046;
	padding-left: 1em;
	margin-bottom: 0.5em;
}

.system2026__VarietiesByType-row {
	position: relative;
	padding-top: 1em;
	padding-right: 3em;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 1em;
}
.system2026__VarietiesByType-row:first-child {
	padding-top: 0;
}

.system2026__VarietiesByType-remove {
	position: absolute;
	bottom: 0.9em;
	right: 0;
	padding: 0.25em;
}

.system2026__VarietiesByType-remove .material-icons {
	vertical-align: top;
}
