/*
	dialogs.css
	Version = 20260527
*/
#tabDlg, #dialDlg, #jsonDlg, #settingsDlg {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: start center;
	padding-top: 6vh;
	background: rgba(0, 0, 0, 0.35);
	z-index: 999;
	box-sizing: border-box;
}
#tabDlg[hidden], #dialDlg[hidden], #jsonDlg[hidden], #settingsDlg[hidden] {
	display: none;
}
#tabDlg, #tabDlg *,
#dialDlg, #dialDlg *,
#jsonDlg, #jsonDlg *,
#settingsDlg, #settingsDlg * {
	box-sizing: border-box;
	font: inherit;
}
#tabDlg > table,
#dialDlg > table,
#jsonDlg > table,
#settingsDlg > table {
	border-collapse: separate;
	border-spacing: 8px 6px;
	padding: 10px;
	border: 1px solid #444444;
	background: #222222;
	color: #ffffff;
	min-width: 260px;
	max-height: 88vh;
}
#tabDlg > table {
	width: min(460px, 92vw);
}
#dialDlg > table {
	width: min(560px, 92vw);
}
#jsonDlg > table {
	width: min(760px, 92vw);
}
#settingsDlg > table {
	border-spacing: 18px 12px;
	width: min(920px, 94vw);
}
#tabDlg caption,
#dialDlg caption,
#jsonDlg caption,
#settingsDlg caption {
	caption-side: top;
	padding-bottom: 8px;
	text-align: center;
	font-size: 1.45em;
	font-weight: 800;
	color: #ffffff;
}
#tabDlg td,
#dialDlg td,
#jsonDlg td,
#settingsDlg td {
	vertical-align: top;
	padding: 0;
}
#tabDlg tbody td:first-child,
#dialDlg tbody td:first-child,
#jsonDlg tbody td:first-child {
	width: max-content;
	white-space: nowrap;
	padding-right: 8px;
	color: #ffffff;
}
#tabDlg button, #tabDlg input, #tabDlg select, #tabDlg textarea,
#dialDlg button, #dialDlg input, #dialDlg select, #dialDlg textarea,
#jsonDlg button, #jsonDlg input, #jsonDlg select, #jsonDlg textarea,
#settingsDlg button, #settingsDlg input, #settingsDlg select, #settingsDlg textarea {
	margin: 0;
	border: 1px solid #555555;
	background: #111111;
	color: #ffffff;
	padding: 2px 6px;
}
#tabDlg button,
#dialDlg button,
#jsonDlg button,
#settingsDlg button {
	cursor: pointer;
	white-space: nowrap;
}
#tabDlg input,
#dialDlg input,
#jsonDlg input,
#tabDlg select,
#dialDlg select,
#jsonDlg select,
#tabDlg textarea,
#dialDlg textarea,
#jsonDlg textarea {
	width: 100%;
	min-width: 0;
}
#tabDlg input[type="checkbox"],
#dialDlg input[type="checkbox"],
#jsonDlg input[type="checkbox"],
#settingsDlg input[type="checkbox"] {
	width: auto;
}
#tabDlg input[type="color"],
#dialDlg input[type="color"],
#settingsDlg input[type="color"] {
	appearance: auto;
	background: transparent;
	color: initial;
	padding: 0;
	width: 44px;
	height: 24px;
}
.dialogActions {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min-content;
	justify-content: end;
	gap: 4px;
	margin-top: 6px;
}
.delRow td:first-child {
	color: #ff9999;
}
#tabDelBtn, #dialDelBtn {
	border-color: #aa3333;
	color: #ff9999;
}
#tabDelBtn[hidden], #dialDelBtn[hidden] {
	display: none;
}
#dialUrlInput {
	min-height: 4.8em;
	resize: vertical;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
#jsonText {
	width: 100%;
	height: 28vh;
	min-height: 140px;
	resize: vertical;
	white-space: pre;
	overflow: auto;
}
#jsonMssg, #dialPlanMssg {
	max-height: 22vh;
	overflow: auto;
	white-space: pre-wrap;
	border: 1px solid #444444;
	padding: 6px;
	background: #111111;
}
#dialPlanMssg[hidden] {
	display: none;
}
#settingsDlg td {
	width: 50%;
}
#settingsDlg input[type="number"],#settingsDlg select {
	width: 7ch;
}
#settingsDlg #setTheme {
	width: 12ch;
}
#settingsDlg #setShowAddDials {
	width: 9ch;
}
.settingsBlock,.rdOnlyBlock,#settingsDlg td > div {
	display: grid;
	grid-auto-rows: min-content;
	gap: 4px;
	align-content: start;
	min-width: 0;
	overflow: hidden;
}
.settingsBlock h3,.rdOnlyBlock h3,#settingsDlg td > div > h3 {
	margin: 0 0 4px 0;
	font-size: 1.15em;
	font-weight: bold;
	color: #f8e45c;
}
.settingsRow {
	display: grid;
	grid-template-columns: max-content min-content min-content;
	gap: 4px 8px;
	align-items: center;
	min-height: 24px;
	min-width: 0;
}
.settingsLabel {
	display: grid;
	align-items: center;
	white-space: nowrap;
	color: #ffffff;
}
.settingsValue {
	display: grid;
	align-items: center;
	min-width: 7ch;
	white-space: nowrap;
}
.usrSettingsBlock .contrastRow {
	grid-template-columns: max-content 7ch max-content 7ch max-content;
}
.usrSettingsBlock .contrastRow .settingsLabel:not(:first-child) {
	color: #aaaaaa;
	opacity: 0.75;
}
.sysContrastLimit {
	color: #aaaaaa;
	opacity: 0.75;
}
.sysSettingsBlock .settingsRow {
	grid-template-columns: 11ch 7ch 7ch;
}
.sysSettingsBlock .settingsLabel {
	width: 11ch;
}
.sysSettingsBlock .settingsValue {
	width: 7ch;
	min-width: 7ch;
}
.sysSettingsBlock select {
	width: 7ch;
}
.sysHdrRow .settingsLabel,.sysHdrRow .settingsValue {
	font-weight: bold;
}
.rdMaxPinsRow {
	grid-template-columns: max-content min-content max-content;
}
.pinGridRow {
	display: inline-grid;
	grid-template-columns: max-content max-content;
	gap: 4px 8px;
	align-items: center;
	width: max-content;
	border: 2px solid #66CCFF;
	padding: 1px 6px;
}
.pinGridRow .settingsLabel,.pinGridRow .settingsValue {
	color: #66CCFF;
}
.pinGridRow .settingsValue {
	width: max-content;
	min-width: 0;
}
.archiveList {
	display: grid;
	grid-auto-rows: min-content;
	gap: 2px;
	min-width: 0;
	max-height: 174px;
	overflow-y: auto;
	overflow-x: hidden;
	border: 1px solid #444444;
	background: #111111;
}
.archiveRow {
	display: grid;
	grid-template-columns: 4ch minmax(0, 1fr) min-content min-content;
	gap: 4px;
	align-items: center;
	min-width: 0;
	padding: 2px 4px;
}
.archiveOrder,.archiveLabel {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}
.archiveOrder {
	color: #aaaaaa;
}
.archiveLabel {
	color: #ffffff;
}
#settingsDlg .dialogActions {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min-content;
	justify-content: end;
	gap: 4px;
	margin-top: 6px;
}