/* TEG-LEGAL, the public page and the client portal.

   Restrained on purpose. This sits inside somebody else's theme, and a
   plugin that imposes its own typography on a firm's website is a plugin
   that gets styled out again by the first person who looks at it. Layout
   and spacing here; colour and type come from the theme. */

.tlg-public,
.tlg-portal {
	max-width: 46rem;
	margin: 0 auto;
}

/* The notice on the enquiry form saying that sending it does not make
   anybody a client. It insists on being read, because the person it
   protects most is the one filling in the form. */
.tlg-notice {
	border: 2px solid currentColor;
	padding: .75rem 1rem;
	margin: 1rem 0 1.5rem;
	line-height: 1.5;
}

.tlg-people {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
	.tlg-people {
		grid-template-columns: 1fr 1fr;
	}
}

.tlg-person h4 {
	margin: 0 0 .25rem;
}

.tlg-admitted {
	margin: .25rem 0;
	font-size: .9em;
	opacity: .8;
}

/* The trust balance. Given room, because it is the number a client came to
   the page to see. */
.tlg-trust-balance {
	font-size: 1.6em;
	margin: .5rem 0 1rem;
}

.tlg-ledger,
.tlg-invoices {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}

.tlg-ledger th,
.tlg-ledger td,
.tlg-invoices th,
.tlg-invoices td {
	text-align: left;
	padding: .4rem .6rem;
	border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.tlg-ledger td:nth-child(3),
.tlg-ledger td:nth-child(4),
.tlg-ledger td:nth-child(5),
.tlg-invoices td:nth-child(3),
.tlg-invoices td:nth-child(4) {
	text-align: right;
	white-space: nowrap;
}

.tlg-enquiry label {
	display: block;
	margin-bottom: .75rem;
}

.tlg-enquiry input[type="text"],
.tlg-enquiry input[type="email"],
.tlg-enquiry input[type="tel"],
.tlg-enquiry textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .5rem;
}

.tlg-enquiry small {
	display: block;
	margin-top: .25rem;
	opacity: .8;
}

.tlg-terms {
	font-size: .9em;
	opacity: .85;
	margin: 1rem 0;
}

.tlg-note {
	font-size: .9em;
	opacity: .8;
	margin-top: 2rem;
}
