/*
 * The signature page app ([poa_email_signature] shortcode).
 *
 * It runs inside a normal theme page, so:
 *
 * - Every rule is under #poasig-app. Nothing here touches the rest of the page.
 * - Inside the app, whatever the theme set (fonts, margins, button and field
 *   styles, list bullets, image and table rules) is first put back to the
 *   browser's own defaults with all: revert, then styled here.
 * - The signature preview is drawn in its own shadow root (see
 *   poasig-app.js), which no page CSS reaches: it shows the browser's
 *   defaults, its table attributes and its inline styles, the way an email
 *   app shows it.
 *
 * Pixels only (a theme can change the rem). Square corners everywhere:
 * border-radius: 0 on controls because Safari on iPhone and iPad rounds
 * them by default.
 */

/* -------------------------------------------------------------------
 * Base and theme reset
 * ----------------------------------------------------------------- */

#poasig-app {
	all: revert;
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1d2a35;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: normal;
	word-spacing: normal;
	text-align: left;
	text-indent: 0;
	text-shadow: none;
	text-transform: none;
	white-space: normal;
	overflow-wrap: break-word;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

#poasig-app *,
#poasig-app *::before,
#poasig-app *::after {
	all: revert;
	box-sizing: border-box;
}

#poasig-app [hidden] {
	display: none !important;
}

#poasig-app.poasig-app--gutters {
	padding-right: 16px;
	padding-left: 16px;
}

#poasig-app :focus-visible {
	outline: 3px solid #144260;
	outline-offset: 2px;
}

#poasig-app .poasig-h2 {
	display: block;
	margin: 0 0 12px;
	padding: 0;
	color: #144260;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

/* Headings only take focus from the script (to tell screen readers where
   they are after a step changes); they are not controls, so no ring. */
#poasig-app .poasig-h2:focus,
#poasig-app .poasig-h2:focus-visible,
#poasig-app [tabindex="-1"]:focus,
#poasig-app [tabindex="-1"]:focus-visible {
	outline: none;
}

#poasig-app .poasig-h4 {
	display: block;
	margin: 18px 0 8px;
	padding: 0;
	color: #144260;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

#poasig-app .poasig-text {
	display: block;
	margin: 0 0 16px;
	padding: 0;
	max-width: 60ch;
}

#poasig-app .poasig-strong {
	color: #144260;
	font-weight: 700;
}

#poasig-app .poasig-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#poasig-app .poasig-offscreen {
	position: fixed;
	top: -1000px;
	left: -1000px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

#poasig-app .poasig-card {
	display: block;
	margin: 0;
	padding: 28px;
	background: #ffffff;
	border: 1px solid #dde3e8;
}

#poasig-app .poasig-card--message {
	max-width: 560px;
	margin: 45px auto;
}

/* Shown by the shortcode when the browser runs no scripts. */
#poasig-app .poasig-noscript {
	display: block;
	max-width: 560px;
	margin: 0;
	padding: 12px 16px;
	border-left: 3px solid #a33a2a;
	background: #ffffff;
	color: #1d2a35;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

#poasig-app .poasig-loading-text {
	margin: 0;
	padding: 24px 0;
	color: #5a6670;
}

#poasig-app .poasig-error {
	margin: 12px 0 0;
	color: #a33a2a;
	font-weight: 600;
}

#poasig-app .poasig-error:empty {
	margin: 0;
}

#poasig-app .poasig-card--message .poasig-error {
	margin: 0 0 16px;
}

#poasig-app .poasig-notice {
	display: block;
	margin: 0 0 18px;
	padding: 10px 14px;
	border-left: 3px solid #144260;
	background: #f2f6f9;
	font-size: 15px;
}

/* Top of the sign-in card: use a computer. */
#poasig-app .poasig-device-note {
	display: block;
	margin: 0 0 20px;
	padding: 10px 14px;
	border-left: 3px solid #d06c6c;
	background: #fbf1f0;
	color: #1d2a35;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
}

#poasig-app .poasig-notice--warning {
	border-left-color: #dc7564;
	background: #fbf1ef;
}

/* -------------------------------------------------------------------
 * Buttons
 * ----------------------------------------------------------------- */

#poasig-app .poasig-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 10px 20px;
	border: 2px solid #144260;
	border-radius: 0;
	background: #ffffff;
	box-shadow: none;
	color: #144260;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	white-space: normal;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

#poasig-app .poasig-btn:hover {
	background: #eaf0f5;
}

#poasig-app .poasig-btn:focus-visible {
	outline: 3px solid #144260;
	outline-offset: 3px;
}

#poasig-app .poasig-btn--primary {
	width: 100%;
	max-width: 360px;
	min-height: 52px;
	background: #144260;
	color: #ffffff;
	font-size: 18px;
}

#poasig-app .poasig-btn--primary:hover {
	border-color: #0f3550;
	background: #0f3550;
}

#poasig-app .poasig-btn--small {
	min-height: 36px;
	padding: 6px 14px;
	font-size: 15px;
}

#poasig-app .poasig-btn--quiet {
	min-height: 40px;
	padding: 8px 14px;
	border-color: #c5d0d9;
	font-size: 15px;
}

#poasig-app .poasig-btn--quiet:hover {
	border-color: #144260;
}

/* Copying is off until the details are complete. The buttons stay
   focusable and say why when pressed. */
#poasig-app .poasig-btn.is-disabled,
#poasig-app .poasig-btn.is-disabled:hover {
	border-color: #c5d0d9;
	background: #eef1f4;
	color: #5f6c78;
	cursor: not-allowed;
}

/* A request is on its way (Sending..., Saving...). */
#poasig-app .poasig-btn.is-busy,
#poasig-app .poasig-btn.is-busy:hover {
	cursor: progress;
	opacity: 0.8;
}

/* A button that reads as a link (Sign out, Send a new code). */
#poasig-app .poasig-link {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #144260;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

#poasig-app .poasig-link:hover {
	color: #0f3550;
	text-decoration-thickness: 2px;
}

#poasig-app .poasig-link.is-busy {
	cursor: progress;
	opacity: 0.7;
}

/* -------------------------------------------------------------------
 * Fields
 * ----------------------------------------------------------------- */

#poasig-app .poasig-field {
	display: block;
	margin: 0 0 18px;
	padding: 0;
}

#poasig-app .poasig-label,
#poasig-app .poasig-legend {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 6px;
	padding: 0;
	color: #144260;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

#poasig-app .poasig-req,
#poasig-app .poasig-optional {
	color: #5a6670;
	font-size: 14px;
	font-weight: 400;
}

#poasig-app .poasig-hint {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	color: #5a6670;
	font-size: 14px;
	line-height: 1.45;
}

#poasig-app .poasig-input,
#poasig-app .poasig-select {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	min-height: 46px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #7b8a97;
	border-radius: 0;
	background-color: #ffffff;
	box-shadow: none;
	color: #1d2a35;
	font-family: inherit;
	/* 16px keeps phones from zooming in when a field is tapped. */
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	-webkit-appearance: none;
	appearance: none;
}

#poasig-app .poasig-select {
	padding-right: 40px;
	/* A small chevron drawn with two gradients (no image file). */
	background-image: linear-gradient(45deg, transparent 50%, #144260 50%), linear-gradient(135deg, #144260 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	text-overflow: ellipsis;
	cursor: pointer;
}

#poasig-app .poasig-input::placeholder {
	color: #7b8a97;
	opacity: 1;
}

#poasig-app .poasig-input:hover,
#poasig-app .poasig-select:hover {
	border-color: #144260;
}

#poasig-app .poasig-input:focus,
#poasig-app .poasig-select:focus {
	border-color: #144260;
	outline: 3px solid #144260;
	outline-offset: 1px;
}

#poasig-app .poasig-input[aria-invalid="true"] {
	padding: 9px 11px;
	border: 2px solid #a33a2a;
}

#poasig-app .poasig-input[readonly] {
	background-color: #f5f7f9;
	color: #1d2a35;
}

#poasig-app .poasig-input--code {
	max-width: 240px;
	font-size: 22px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.25em;
}

/* A field with a button beside it (Remove, Copy link). */
#poasig-app .poasig-input-row {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

#poasig-app .poasig-input-row .poasig-input {
	flex: 1 1 auto;
	min-width: 0;
}

#poasig-app .poasig-input-row .poasig-btn {
	flex: none;
	min-height: 46px;
}

#poasig-app .poasig-field-msg {
	display: block;
	margin: 6px 0 0;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

#poasig-app .poasig-field-msg:empty {
	margin: 0;
}

#poasig-app .poasig-field-msg.is-error {
	color: #a33a2a;
}

#poasig-app .poasig-field-msg.is-warning {
	color: #7a5200;
}

#poasig-app .poasig-fieldset {
	display: block;
	min-width: 0;
	margin: 6px 0 18px;
	padding: 0;
	border: 0;
}

#poasig-app .poasig-checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

#poasig-app .poasig-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid #c5d0d9;
	background: #ffffff;
	color: #1d2a35;
	font-weight: 400;
	cursor: pointer;
}

#poasig-app .poasig-check:hover {
	border-color: #144260;
}

#poasig-app .poasig-check:has(:checked) {
	border-color: #144260;
	background: #ffffff;
}

#poasig-app .poasig-checkbox {
	flex: none;
	display: inline-grid;
	place-content: center;
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 2px solid #144260;
	border-radius: 0;
	background: #ffffff;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

/* The tick: an L turned 45 degrees. */
#poasig-app .poasig-checkbox::before {
	content: "";
	display: block;
	width: 5px;
	height: 10px;
	border: solid #ffffff;
	border-width: 0 3px 3px 0;
	transform: translateY(-1px) rotate(45deg);
	opacity: 0;
}

#poasig-app .poasig-checkbox:checked {
	background: #144260;
}

#poasig-app .poasig-checkbox:checked::before {
	opacity: 1;
}

/* Logo choice: the browser's own round radio, in navy. */
#poasig-app .poasig-radio {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #144260;
	cursor: pointer;
}

#poasig-app .poasig-checkbox:focus-visible,
#poasig-app .poasig-radio:focus-visible {
	outline: 3px solid #144260;
	outline-offset: 2px;
}

#poasig-app .poasig-check-label {
	min-width: 0;
	color: #1d2a35;
	font-weight: 600;
	overflow-wrap: anywhere;
}

/* -------------------------------------------------------------------
 * Status lines
 * ----------------------------------------------------------------- */

#poasig-app .poasig-status {
	display: block;
	margin: 10px 0 0;
	padding: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

#poasig-app .poasig-status:empty {
	margin: 0;
}

#poasig-app .poasig-status--ok {
	color: #1e6b45;
}

#poasig-app .poasig-status--error {
	color: #a33a2a;
}

#poasig-app .poasig-status--info {
	color: #144260;
}

/* -------------------------------------------------------------------
 * Sign in
 * ----------------------------------------------------------------- */

/* A card on its own, centered with room above and below. */
#poasig-app .poasig-signin {
	max-width: 560px;
	margin: 45px auto;
}

#poasig-app .poasig-signin-form {
	display: block;
	margin: 0;
	padding: 0;
}

/* "Do you have a POA email address?": two answers side by side, stacked
   when there is no room. */
#poasig-app .poasig-choice {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

#poasig-app .poasig-choice .poasig-btn {
	flex: 1 1 200px;
	width: auto;
	max-width: none;
	min-height: 52px;
	font-size: 18px;
}

#poasig-app .poasig-signin-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	margin: 12px 0 0;
	padding: 0;
}

#poasig-app .poasig-signin-links .poasig-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

/* -------------------------------------------------------------------
 * Who is signed in
 * ----------------------------------------------------------------- */

#poasig-app .poasig-account {
	display: block;
	margin: 0 0 24px;
	padding: 10px 14px;
	border-left: 3px solid #144260;
	background: #f2f6f9;
	font-size: 15px;
}

#poasig-app .poasig-account-line {
	display: block;
	margin: 0;
	padding: 0;
	overflow-wrap: anywhere;
}

#poasig-app .poasig-account-line + .poasig-account-line {
	margin-top: 4px;
}

#poasig-app .poasig-account-line--editor {
	color: #5a6670;
	font-size: 14px;
}

#poasig-app .poasig-account-status {
	display: inline;
	margin: 0;
}

/* -------------------------------------------------------------------
 * Builder: form on one side, preview and the rest on the other. The two
 * columns sit side by side when there is room and stack when there is not.
 * ----------------------------------------------------------------- */

#poasig-app .poasig-builder {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px 40px;
}

#poasig-app .poasig-form {
	display: block;
	flex: 5 1 340px;
	min-width: 0;
	margin: 0;
	padding: 28px;
	/* Off-white, so the form reads as its own column beside the preview. */
	background: #f4f6f8;
	border: 1px solid #dde3e8;
}

#poasig-app .poasig-side {
	display: block;
	flex: 6 1 440px;
	min-width: 0;
}

#poasig-app .poasig-form-foot {
	display: block;
	margin: 24px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid #dde3e8;
}

#poasig-app .poasig-form-note {
	display: block;
	margin: 0 0 12px;
	padding: 0;
	color: #5a6670;
	font-size: 14px;
}

#poasig-app .poasig-save-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

#poasig-app .poasig-share {
	display: block;
	margin: 18px 0 0;
}

#poasig-app .poasig-share-input {
	font-size: 15px;
	text-overflow: ellipsis;
}

/* -------------------------------------------------------------------
 * Preview
 * ----------------------------------------------------------------- */

#poasig-app .poasig-card--preview {
	padding: 24px;
}

/* The signature is a fixed 375px wide. width 0 with min-width 100% keeps
   it from widening the app (themes often size the shortcode's box to its
   content), while the box still fills the card; the script shrinks the
   view to fit and overflow clips it until then. */
#poasig-app .poasig-fit {
	display: block;
	width: 0;
	min-width: 100%;
	overflow: hidden;
}

#poasig-app .poasig-fit-inner {
	display: block;
	transform-origin: 0 0;
}

#poasig-app .poasig-signature {
	display: block;
	min-width: 375px;
	min-height: 120px;
	margin: 0;
	padding: 0;
	background: #ffffff;
}

#poasig-app .poasig-fit-note {
	display: block;
	margin: 10px 0 0;
	padding: 0;
	color: #5a6670;
	font-size: 14px;
}

/* A dark POA blue frame around the preview heading and the (still white)
   preview card. */
#poasig-app .poasig-preview-frame {
	display: block;
	margin: 0;
	padding: 20px 24px 24px;
	background: #04355a;
}

#poasig-app .poasig-preview-frame .poasig-h2 {
	color: #ffffff;
}

#poasig-app .poasig-preview-frame .poasig-card--preview {
	border-color: #04355a;
}

#poasig-app .poasig-preview-frame .poasig-preview-status {
	color: #ffd9d3;
}

#poasig-app .poasig-preview-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

#poasig-app .poasig-preview-status {
	display: block;
	margin: 10px 0 0;
	padding: 0;
	color: #a33a2a;
	font-weight: 600;
	overflow-wrap: anywhere;
}

#poasig-app .poasig-preview-status:empty {
	display: none;
}

#poasig-app .poasig-preview-bar .poasig-btn {
	margin-top: 10px;
}

#poasig-app .poasig-notes {
	display: block;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

#poasig-app .poasig-notes:empty {
	display: none;
}

#poasig-app .poasig-notes-item {
	display: block;
	margin: 0 0 6px;
	padding: 8px 12px;
	border-left: 3px solid #dc7564;
	background: #fbf1ef;
	font-size: 15px;
}

/* -------------------------------------------------------------------
 * Copy actions
 * ----------------------------------------------------------------- */

#poasig-app .poasig-actions {
	display: block;
	margin: 20px 0 8px;
}

#poasig-app .poasig-actions .poasig-status {
	min-height: 1.55em;
}

#poasig-app .poasig-copy-hint {
	display: block;
	margin: 10px 0 0;
	padding: 0;
	color: #5a6670;
	font-size: 15px;
}

#poasig-app .poasig-more-title {
	display: block;
	margin: 18px 0 8px;
	padding: 0;
	color: #5a6670;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

#poasig-app .poasig-more {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	max-width: 560px;
	margin: 10px 0 0;
}

/* The numbered flow: 1 pick the app, 2 copy, 3 paste. */
#poasig-app .poasig-step-section {
	margin: 28px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid #d5dce2;
}

#poasig-app .poasig-flow > .poasig-step-section:first-child {
	margin-top: 78px;
}

#poasig-app .poasig-step-section .poasig-field--app {
	margin-bottom: 0;
}

#poasig-app .poasig-step-section.poasig-actions .poasig-btn--primary {
	margin-top: 2px;
}

#poasig-app .poasig-step-text {
	display: block;
	margin: 0;
	padding: 0;
	max-width: 62ch;
	color: #1d2a35;
	font-size: 16px;
	line-height: 1.55;
}

#poasig-app .poasig-alt-action {
	display: block;
	margin: 4px 0 12px;
	padding: 0;
}

#poasig-app .poasig-more .poasig-btn {
	width: 100%;
	font-size: 15px;
}

/* -------------------------------------------------------------------
 * Email app steps and troubleshooting
 * ----------------------------------------------------------------- */

#poasig-app .poasig-section {
	display: block;
	margin: 40px 0 0;
	padding: 0;
}

#poasig-app .poasig-field--app {
	max-width: none;
	margin-bottom: 12px;
}

/* Step 1's dropdown: full width with a soft POA-red glow, so it reads as the
   next thing to do and not as part of the preview above it. */
#poasig-app .poasig-field--app .poasig-select {
	min-height: 52px;
	border-color: #d06c6c;
	box-shadow: 0 0 0 3px rgba(208, 108, 108, 0.16), 0 2px 16px rgba(208, 108, 108, 0.32);
	font-weight: 600;
}

#poasig-app .poasig-field--app .poasig-select:hover {
	box-shadow: 0 0 0 3px rgba(208, 108, 108, 0.24), 0 2px 18px rgba(208, 108, 108, 0.42);
}

/* Under step 1: a red alert mark, then "Signature Not Complete:" and
   what is missing. */
#poasig-app .poasig-alert-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: #c63d2f;
}

#poasig-app .poasig-flow-hint .poasig-alert-icon {
	margin-top: -1px;
}

#poasig-app .poasig-flow-hint-body {
	display: block;
	min-width: 0;
}

#poasig-app .poasig-flow-hint-label {
	color: #c63d2f;
	font-weight: 700;
}

#poasig-app .poasig-alert-icon::before {
	content: "!";
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
}

#poasig-app .poasig-flow-hint {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 70ch;
	margin: 14px 0 0;
	padding: 0;
	color: #5a6670;
	font-size: 15px;
	line-height: 1.45;
}

#poasig-app .poasig-panel {
	display: block;
	margin: 0;
	padding: 18px 22px;
	background: #ffffff;
	border: 1px solid #dde3e8;
	border-top: 3px solid #144260;
}

#poasig-app .poasig-steps {
	display: block;
	margin: 0;
	padding: 0 0 0 1.4em;
	list-style: decimal outside;
}

#poasig-app .poasig-step {
	display: list-item;
	margin: 0 0 6px;
	padding: 0;
}

/* The iPhone and iPad note: plain red text. */
#poasig-app .poasig-app-note {
	display: block;
	margin: 12px 0 0;
	padding: 0;
	color: #b42318;
	font-size: 15px;
}

#poasig-app .poasig-trouble {
	display: block;
	margin: 0;
	padding: 0 0 0 1.2em;
	list-style: disc outside;
}

#poasig-app .poasig-trouble-item {
	display: list-item;
	margin: 0 0 8px;
	padding: 0;
}

/* -------------------------------------------------------------------
 * Phones
 * ----------------------------------------------------------------- */

@media (max-width: 520px) {
	#poasig-app .poasig-card {
		padding: 20px 16px;
	}

	#poasig-app .poasig-form {
		padding: 20px 16px;
	}

	#poasig-app .poasig-card--preview {
		padding: 16px;
	}

	#poasig-app .poasig-preview-frame {
		padding: 16px 12px 12px;
	}

	#poasig-app .poasig-more {
		grid-template-columns: minmax(0, 1fr);
	}

	#poasig-app .poasig-btn--primary {
		max-width: none;
	}

	#poasig-app .poasig-save-actions .poasig-btn {
		flex: 1 1 100%;
	}

	#poasig-app .poasig-panel {
		padding: 16px;
	}
}

@media (max-width: 360px) {
	#poasig-app .poasig-checks {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	#poasig-app .poasig-btn {
		transition: none;
	}
}

@media (forced-colors: active) {
	#poasig-app .poasig-checkbox:checked {
		background: Highlight;
	}

	#poasig-app .poasig-checkbox::before {
		border-color: HighlightText;
	}

	#poasig-app .poasig-btn.is-disabled {
		border-color: GrayText;
		color: GrayText;
	}
}
