/* Master account page (master.html): only what style.css does not have. Same tokens, no new colours. */

.mst .cab-field select {
	font: 500 16px/1.3 var(--text);
	letter-spacing: 0;
	text-transform: none;
	color: var(--ivory);
	background: var(--obsidian);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	padding: 12px 14px;
	width: 100%;
	min-width: 0;
}
.mst .cab-field select:focus { outline: 2px solid var(--red); outline-offset: 2px; border-color: transparent; }
.mst .cab-field select:disabled, .mst .cab-field input:disabled { opacity: 0.5; }

.mst-slots { margin-bottom: 16px; }
.mst-used { margin: 0 0 10px; color: var(--ivory); font-weight: 700; }
.mst-meter { display: flex; gap: 6px; margin-bottom: 16px; }
.mst-slot { flex: 1 1 0; height: 8px; border-radius: 4px; background: var(--ash); }
.mst-slot.is-used { background: var(--red-deep); }

.panel .mst-accounts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.panel .mst-accounts li {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
	margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
}
.panel .mst-accounts li strong { font-size: 16px; overflow-wrap: anywhere; }
.panel .mst-accounts li .note { color: var(--stone); font-size: 13px; }
.panel .mst-accounts li.mst-none { display: block; color: var(--stone); background: none; }
.panel .mst-accounts li .btn { margin-left: auto; padding-block: 6px; } /* owner 27.10: "Open" - the settings of the account */

.mst-confirm, .mst-pending { display: grid; gap: 10px; margin-top: 14px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-2); }
.mst-confirm-text { margin: 0; font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.mst-confirm .note, .mst-pending .note { color: var(--stone); font-size: 13px; margin: 0; }

.mst-history { overflow-x: auto; margin-bottom: 12px; }
.mst-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mst-table td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.mst-table td:first-child { color: var(--stone); white-space: nowrap; }
.mst-table .mst-sum { font-weight: 700; white-space: nowrap; text-align: right; }
.mst-table [data-delivery="DELIVERED"] { color: var(--up, #7FBF6A); }
.mst-table [data-delivery="UNKNOWN"], .mst-table [data-delivery="FAILED"] { color: var(--rose); }

@media (max-width: 560px) {
	.mst-table, .mst-table tbody, .mst-table tr, .mst-table td { display: block; }
	.mst-table tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
	.mst-table td { border: 0; padding: 2px 0; }
	.mst-table .mst-sum { text-align: left; }
}


.mst-confirm-banner { display: grid; gap: 10px; margin-bottom: 16px; }
