/**
 * Static Site Gen — the service pages in the WooCommerce My Account area.
 *
 * Same approach as form.css: low specificity, theme-neutral, and only what it
 * takes to keep a table of DNS records readable inside somebody else's theme.
 */

.ssg-account {
	--ssg-border: rgba( 128, 128, 128, 0.35 );
	--ssg-muted: rgba( 128, 128, 128, 1 );
	--ssg-surface: rgba( 128, 128, 128, 0.06 );
	--ssg-mine: rgba( 128, 128, 128, 0.22 );
	--ssg-ok: #1a7f37;
	--ssg-wait: #9a6700;
	--ssg-bad: #b42318;
}

/**
 * The user agent hides [hidden] with a `display: none` of its own, but any
 * author `display` rule outranks it whatever its specificity - and this
 * stylesheet sets one on .ssg-chat-working, as host themes do on their own
 * elements. The chat toggles the working indicator and the error line by the
 * attribute alone, so state it once here rather than pairing each display rule
 * with a hiding class. Same rule, same reason, as form.css.
 */
.ssg-account [hidden] {
	display: none !important;
}

.ssg-account-intro,
.ssg-account-note {
	margin: 0 0 1.5rem;
}

.ssg-account-note {
	color: var( --ssg-muted );
}

.ssg-account-hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.875em;
	color: var( --ssg-muted );
}

.ssg-account-field {
	margin: 0 0 1.25rem;
}

.ssg-account-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.ssg-account-field input[type="text"],
.ssg-account-field select {
	width: 100%;
	max-width: 26rem;
}

/* ---------------------------------------------------------------- Domains */

.ssg-domain {
	margin: 0 0 2rem;
	padding: 1.25rem;
	border: 1px solid var( --ssg-border );
	border-radius: 6px;
}

.ssg-domain-header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.ssg-domain-name {
	margin: 0;
	word-break: break-all;
}

.ssg-domain-status {
	font-size: 0.8125em;
	font-weight: 600;
	line-height: 1.6;
	padding: 0.1em 0.6em;
	border-radius: 999px;
	border: 1px solid currentColor;
	white-space: nowrap;
}

.ssg-status-pending {
	color: var( --ssg-wait );
}

.ssg-status-verified,
.ssg-status-active {
	color: var( --ssg-ok );
}

.ssg-status-failed {
	color: var( --ssg-bad );
}

.ssg-domain-note,
.ssg-domain-live,
.ssg-domain-site {
	margin: 0 0 0.75rem;
}

.ssg-domain-records-heading {
	margin: 1.5rem 0 0.5rem;
}

.ssg-domain-records-intro {
	margin: 0 0 0.75rem;
	color: var( --ssg-muted );
	font-size: 0.9375em;
}

/**
 * The records are the point of the page, and a TXT value is long. The wrapper
 * scrolls rather than the page, so a narrow screen never pushes the layout
 * sideways.
 */
.ssg-domain-records {
	overflow-x: auto;
	background: var( --ssg-surface );
	border-radius: 6px;
}

.ssg-domain-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 0.9375em;
}

.ssg-domain-table th,
.ssg-domain-table td {
	padding: 0.6rem 0.75rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var( --ssg-border );
}

.ssg-domain-table tr:last-child td {
	border-bottom: 0;
}

.ssg-record-optional {
	opacity: 0.85;
}

/* Click once and the whole value is selected: these are copied, not read. */
.ssg-domain-value {
	display: inline-block;
	max-width: 100%;
	overflow-wrap: anywhere;
	user-select: all;
	font-size: 0.9375em;
}

.ssg-domain-fqdn,
.ssg-domain-record-note,
.ssg-domain-optional {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.8125em;
	color: var( --ssg-muted );
}

.ssg-domain-optional {
	display: inline-block;
	margin: 0 0 0 0.35rem;
	font-style: italic;
}

.ssg-domain-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.ssg-domain-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.ssg-domain-repoint {
	margin: 0 0 1rem;
}

.ssg-domain-form-add {
	display: block;
}

.ssg-domain-checked {
	font-size: 0.8125em;
	color: var( --ssg-muted );
}

/**
 * Remove is destructive and rare, so it reads as a link. The theme's own
 * button styles are still on the element, hence the reset.
 */
.ssg-button-link {
	background: none;
	border: 0;
	padding: 0;
	color: var( --ssg-muted );
	text-decoration: underline;
}

.ssg-domain-add {
	margin-top: 2rem;
}

.ssg-account-offer-price {
	font-size: 1.125em;
	font-weight: 600;
}

/* ------------------------------------------------------- Design chat */

/**
 * A chat inside somebody else's theme, so everything here is sized in ems off
 * the theme's own type and coloured from the tokens at the top of this file.
 * No fixed heights: the thread is capped in vh so it never runs off a phone,
 * and the composer grows with what is typed into it.
 */
.ssg-chat {
	display: flex;
	flex-direction: column;
	border: 1px solid var( --ssg-border );
	border-radius: 8px;
	overflow: hidden;
}

.ssg-chat-header {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var( --ssg-border );
	background: var( --ssg-surface );
}

.ssg-chat-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin: 0;
}

.ssg-chat-switch label {
	font-weight: 600;
	font-size: 0.875em;
}

.ssg-chat-switch select {
	max-width: 20rem;
}

.ssg-chat-page-name {
	margin: 0;
	font-weight: 600;
}

.ssg-chat-view {
	font-size: 0.875em;
}

.ssg-chat-header-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: center;
}

/* The link to the hints, dressed as the View page link beside it. */
.ssg-chat-tips {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 0.875em;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

/* -- The budget meter ------------------------------------------------- */

.ssg-chat-budget {
	padding: 0.6rem 1rem;
	border-bottom: 1px solid var( --ssg-border );
}

.ssg-chat-budget-bar {
	height: 4px;
	border-radius: 2px;
	background: var( --ssg-border );
	overflow: hidden;
}

.ssg-chat-budget-fill {
	display: block;
	height: 100%;
	background: var( --ssg-ok );
	transition: width 0.4s ease;
}

.ssg-chat-budget.is-spent .ssg-chat-budget-fill {
	background: var( --ssg-bad );
}

.ssg-chat-budget-text {
	margin: 0.4rem 0 0;
	font-size: 0.8125em;
	color: var( --ssg-muted );
}

/* -- The thread ------------------------------------------------------- */

.ssg-chat-thread {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	max-height: 60vh;
	min-height: 12rem;
	padding: 1rem;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.ssg-chat-msg {
	display: flex;
	flex-direction: column;
	max-width: 85%;
}

.ssg-chat-msg-you {
	align-self: flex-end;
	align-items: flex-end;
}

.ssg-chat-msg-bot {
	align-self: flex-start;
}

.ssg-chat-bubble {
	padding: 0.6rem 0.85rem;
	border-radius: 14px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

/**
 * The two speakers are told apart by side, corner and weight of fill rather
 * than by colour. This sits inside somebody else's theme, which may be light
 * or dark and whose text colour is the only one that can be relied on, so a
 * neutral tint of it is the one fill guaranteed to keep its own text readable.
 */
.ssg-chat-msg-you .ssg-chat-bubble {
	border: 1px solid transparent;
	border-bottom-right-radius: 4px;
	background: var( --ssg-mine );
}

.ssg-chat-msg-bot .ssg-chat-bubble {
	border: 1px solid var( --ssg-border );
	border-bottom-left-radius: 4px;
	background: var( --ssg-surface );
}

/**
 * A request the other party made: support's, in the customer's thread, or
 * the customer's, in support's. Same side as any request, because that is
 * what it is, but hollow rather than filled, so whose it was is visible
 * before the label under it is read.
 */
.ssg-chat-msg-you.is-other .ssg-chat-bubble {
	border-color: var( --ssg-border );
	background: transparent;
}

.ssg-chat-who {
	font-weight: 600;
}

.ssg-chat-msg.is-undone .ssg-chat-bubble {
	opacity: 0.55;
	text-decoration: line-through;
}

.ssg-chat-msg.is-failed .ssg-chat-bubble {
	border-color: var( --ssg-bad );
	color: var( --ssg-bad );
}

.ssg-chat-meta {
	margin: 0.3rem 0.2rem 0;
	font-size: 0.75em;
	color: var( --ssg-muted );
}

.ssg-chat-meta span + span::before {
	content: "·";
	margin: 0 0.35rem;
}

.ssg-chat-undone {
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ssg-chat-greeting .ssg-chat-bubble p {
	margin: 0;
}

/* -- Undo ------------------------------------------------------------- */

.ssg-chat-undo-form {
	margin: 0.35rem 0 0;
}

.ssg-chat-undo {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 0.8125em;
	color: var( --ssg-muted );
	text-decoration: underline;
	cursor: pointer;
}

.ssg-chat-undo:hover,
.ssg-chat-undo:focus-visible {
	color: inherit;
}

.ssg-chat-undo[disabled] {
	cursor: default;
	text-decoration: none;
}

/* -- Working ---------------------------------------------------------- */

.ssg-chat-working {
	display: flex;
	gap: 0.6rem;
	align-items: center;
	padding: 0 1rem 0.9rem;
	font-size: 0.875em;
	color: var( --ssg-muted );
}

.ssg-chat-dots {
	display: inline-flex;
	gap: 3px;
}

.ssg-chat-dots span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	animation: ssg-chat-pulse 1.2s infinite ease-in-out;
}

.ssg-chat-dots span:nth-child( 2 ) {
	animation-delay: 0.15s;
}

.ssg-chat-dots span:nth-child( 3 ) {
	animation-delay: 0.3s;
}

@keyframes ssg-chat-pulse {
	0%, 60%, 100% { opacity: 0.25; }
	30%           { opacity: 1; }
}

/**
 * The dots are the only thing on this page that moves, and their whole job is
 * to say "still going" - which a static row of dots beside a label already
 * says.
 */
@media ( prefers-reduced-motion: reduce ) {
	.ssg-chat-dots span {
		animation: none;
		opacity: 0.5;
	}

	.ssg-chat-budget-fill,
	.ssg-chat-upload-bar span {
		transition: none;
	}
}

.ssg-chat-error {
	margin: 0 1rem 0.9rem;
	color: var( --ssg-bad );
	font-size: 0.875em;
}

/* -- Images the customer sends ---------------------------------------- */

.ssg-chat-uploads {
	padding: 0.75rem 1rem 0;
}

.ssg-chat-upload-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 0.6rem;
	padding: 0;
	list-style: none;
}

.ssg-chat-upload {
	display: flex;
	gap: 0.45rem;
	align-items: center;
	max-width: 100%;
	padding: 0.2rem 0.7rem 0.2rem 0.2rem;
	border: 1px solid var( --ssg-border );
	border-radius: 999px;
	background: var( --ssg-surface );
	font-size: 0.8125em;
}

.ssg-chat-upload-thumb {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

.ssg-chat-upload-name {
	max-width: 12rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ssg-chat-upload-remove-form {
	margin: 0;
	line-height: 0;
}

/**
 * A quiet mark until it is wanted, like the undo in the thread: it sits on
 * every image, and five of them shouting would be five things to look at
 * before the images themselves.
 */
.ssg-chat-upload-remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	font: inherit;
	font-size: 1em;
	line-height: 1;
	color: var( --ssg-muted );
	cursor: pointer;
}

.ssg-chat-upload-remove:hover,
.ssg-chat-upload-remove:focus-visible {
	background: var( --ssg-border );
	color: inherit;
}

.ssg-chat-upload-remove[disabled] {
	opacity: 0.5;
	cursor: default;
}

.ssg-chat-upload-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
	margin: 0;
}

/**
 * The input is the control and the label beside it is what it looks like, so
 * the file picker can be a button of ours without a click handler in the way.
 * It is moved out of sight rather than hidden outright: display: none would
 * take it out of the tab order, and it is still the thing being focused.
 */
.ssg-chat-file {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.ssg-chat-attach {
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
	margin: 0;
	padding: 0.35rem 0.8rem;
	border: 1px dashed var( --ssg-border );
	border-radius: 999px;
	font-size: 0.8125em;
	color: var( --ssg-muted );
	cursor: pointer;
}

.ssg-chat-attach:hover {
	border-style: solid;
	color: inherit;
}

/* The input carries the focus; the label is the only thing that can show it. */
.ssg-chat-file:focus-visible + .ssg-chat-attach {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	color: inherit;
}

.ssg-chat-attach-mark {
	font-size: 1.1em;
	line-height: 1;
}

.ssg-chat-upload-form.is-uploading .ssg-chat-attach {
	opacity: 0.5;
	cursor: default;
}

.ssg-chat-upload-progress {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin: 0;
	font-size: 0.75em;
	color: var( --ssg-muted );
}

.ssg-chat-upload-bar {
	display: block;
	width: 6rem;
	height: 4px;
	border-radius: 999px;
	background: var( --ssg-border );
	overflow: hidden;
}

.ssg-chat-upload-bar span {
	display: block;
	width: 0;
	height: 100%;
	background: var( --ssg-ok );
	transition: width 0.2s ease;
}

.ssg-chat-upload-full {
	margin: 0;
	font-size: 0.8125em;
	color: var( --ssg-muted );
}

.ssg-chat-upload-hint {
	margin: 0.5rem 0 0;
	font-size: 0.75em;
	color: var( --ssg-muted );
}

/* -- The composer ----------------------------------------------------- */

.ssg-chat-composer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: flex-end;
	margin: 0;
	padding: 0.75rem 1rem;
	border-top: 1px solid var( --ssg-border );
	background: var( --ssg-surface );
}

.ssg-chat-composer textarea {
	flex: 1 1 auto;
	min-height: 2.6rem;
	max-height: 10rem;
	padding: 0.55rem 0.7rem;
	border: 1px solid var( --ssg-border );
	border-radius: 8px;
	font: inherit;
	line-height: 1.45;
	resize: none;
	background: transparent;
	color: inherit;
}

.ssg-chat-composer textarea:disabled {
	opacity: 0.6;
}

/**
 * Support's choice of whether a change is charged, on a line of its own above
 * the field. Only the admin screen renders it.
 */
.ssg-chat-charge {
	display: flex;
	flex: 1 1 100%;
	gap: 0.4rem;
	align-items: center;
	margin: 0;
	font-size: 0.8125em;
	color: var( --ssg-muted );
}

.ssg-chat-charge input {
	margin: 0;
}

/**
 * The theme's own button styles are on this element; all it needs from here is
 * to stop stretching and to line up with the composer beside it.
 */
.ssg-chat-send {
	flex: 0 0 auto;
	margin: 0;
	white-space: nowrap;
}

.ssg-chat-send[disabled] {
	opacity: 0.5;
	cursor: default;
}

.ssg-chat-hint,
.ssg-chat-scope {
	margin: 0.6rem 0 0;
	font-size: 0.8125em;
	color: var( --ssg-muted );
}

/* The button to the desktop designer, above the chat. */
.ssg-chat-designer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0 0 1.25rem;
}

.ssg-chat-designer .ssg-account-hint {
	margin-top: 0;
}

.ssg-chat-spent {
	padding: 1rem;
	border-top: 1px solid var( --ssg-border );
}

.ssg-chat-spent .ssg-account-note {
	margin-bottom: 1rem;
}

@media ( max-width: 480px ) {
	.ssg-chat-msg {
		max-width: 95%;
	}

	.ssg-chat-thread {
		max-height: 55vh;
	}
}

/* -- The hints -------------------------------------------------------- */

/**
 * A dialog over the whole page, so it is fixed and sits above whatever the
 * theme puts at the top. The panel is white with its own ink whatever the
 * theme's colours, because a theme's white-on-dark would make it unreadable
 * on a white panel, and inherits the theme's type. Nothing until design.js
 * opens it; there is no no-script version of a tour.
 */
.ssg-hints {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.ssg-hints.is-open {
	display: flex;
}

.ssg-hints-backdrop {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.5 );
}

.ssg-hints-panel {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 40rem;
	max-height: calc( 100vh - 2rem );
	overflow-y: auto;
	padding: 1.75rem 2rem 1.5rem;
	border-radius: 12px;
	background: #fff;
	color: #1f1f1f;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.3 );
}

.ssg-hints-panel:focus {
	outline: none;
}

.ssg-hints-x {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var( --ssg-surface );
	color: inherit;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.ssg-hints-x:hover,
.ssg-hints-x:focus-visible {
	background: var( --ssg-mine );
}

.ssg-hints-title {
	margin: 0 2.5rem 0.5rem 0;
	font-size: 1.5em;
	line-height: 1.2;
}

.ssg-hints-intro,
.ssg-hints-examples-hint {
	margin: 0 0 1.25rem;
	color: var( --ssg-muted );
}

.ssg-hints-list {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	counter-reset: ssg-hint;
}

.ssg-hints-item {
	position: relative;
	margin: 0 0 1.25rem;
	padding-left: 2.75rem;
	counter-increment: ssg-hint;
}

.ssg-hints-item::before {
	content: counter( ssg-hint );
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var( --ssg-mine );
	font-weight: 700;
	font-size: 0.9375em;
}

.ssg-hints-item-title {
	margin: 0 0 0.35rem;
	font-size: 1.0625em;
	line-height: 2rem;
}

.ssg-hints-item p {
	margin: 0 0 0.5rem;
	font-size: 0.9375em;
	line-height: 1.55;
}

.ssg-hints-examples {
	padding: 1rem 1.25rem;
	border: 1px solid var( --ssg-border );
	border-radius: 8px;
	background: var( --ssg-surface );
}

.ssg-hints-examples .ssg-hints-item-title {
	line-height: 1.3;
}

.ssg-hints-examples-hint {
	margin-bottom: 0.75rem;
	font-size: 0.875em;
}

.ssg-hints-example-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Each example is a quiet bubble, like a turn in the thread it will become. */
.ssg-hints-example {
	display: block;
	width: 100%;
	padding: 0.6rem 0.9rem;
	border: 1px solid var( --ssg-border );
	border-radius: 8px;
	background: #fff;
	color: inherit;
	font: inherit;
	font-size: 0.875em;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

.ssg-hints-example:hover,
.ssg-hints-example:focus-visible {
	border-color: var( --ssg-muted );
	background: var( --ssg-surface );
}

.ssg-hints-actions {
	margin: 1.5rem 0 0;
	text-align: right;
}

/* No page scrolling underneath the dialog while it is open. */
body.ssg-hints-open {
	overflow: hidden;
}

@media ( max-width: 480px ) {
	.ssg-hints {
		padding: 0.5rem;
	}

	.ssg-hints-panel {
		max-height: calc( 100vh - 1rem );
		padding: 1.5rem 1.25rem 1.25rem;
	}

	.ssg-hints-item {
		padding-left: 2.5rem;
	}
}

/* ---------------------------------------------------- Stripe catalog */

/**
 * Three numbered steps, each a card like a domain's. The status pill on the
 * first is the gateway's own (wsg-connect-status), styled by its stylesheet
 * which is loaded on every account page.
 */
.ssg-catalog-step {
	margin: 0 0 1.5rem;
	padding: 1.25rem;
	border: 1px solid var( --ssg-border );
	border-radius: 6px;
}

.ssg-catalog-step.is-waiting {
	opacity: 0.7;
}

.ssg-catalog-step-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.ssg-catalog-step-title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
}

.ssg-catalog-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6em;
	height: 1.6em;
	border-radius: 50%;
	background: var( --ssg-mine );
	font-size: 0.75em;
	font-weight: 700;
}

.ssg-catalog-notice {
	margin-bottom: 1.5rem;
}

.ssg-catalog-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
}

.ssg-catalog-error {
	color: var( --ssg-bad );
}

.ssg-catalog-products {
	list-style: none;
	margin: 1rem 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.ssg-catalog-product {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0.75rem;
	background: var( --ssg-surface );
	border-radius: 4px;
}

.ssg-catalog-product-image {
	width: 2.5rem;
	height: 2.5rem;
	object-fit: cover;
	border-radius: 4px;
	flex: none;
}

.ssg-catalog-product-name {
	flex: 1;
	font-weight: 600;
}

.ssg-catalog-product-price {
	color: var( --ssg-muted );
	white-space: nowrap;
}

.ssg-catalog-refresh {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem;
	margin: 0;
}

.ssg-catalog-refresh .ssg-account-hint {
	display: inline;
	margin: 0;
}

.ssg-catalog-site-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.ssg-catalog-site {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.25rem 1rem;
	align-items: center;
	padding: 0.75rem 0;
	border-top: 1px solid var( --ssg-border );
}

.ssg-catalog-site:first-child {
	border-top: 0;
	padding-top: 0;
}

.ssg-catalog-site-toggle {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
	cursor: pointer;
}

.ssg-catalog-site-toggle input {
	margin: 0;
}

.ssg-catalog-site-heading {
	grid-column: 1 / -1;
	margin: 0;
}

.ssg-catalog-site-heading label {
	font-weight: 400;
	font-size: 0.875em;
	color: var( --ssg-muted );
}

.ssg-catalog-sites .ssg-account-hint {
	display: inline;
	margin-left: 0.75rem;
}

.ssg-catalog-due {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
	font-size: 0.9375em;
}
