.sws-pc { max-width: 760px; margin: 0 auto; color: #374151; font-size: 16px; line-height: 1.55; }
.sws-pc * { box-sizing: border-box; }
.sws-pc-card { background: #fff; border: 3px solid #0c71c3; border-radius: 14px; box-shadow: 0 6px 24px rgba(9, 87, 154, .12); padding: 28px; }
.sws-pc h2 { color: #09579a; font-size: 26px; margin: 0 0 12px; padding: 0; line-height: 1.25; }
.sws-pc h3 { color: #09579a; font-size: 19px; margin: 22px 0 6px; padding: 0; }
.sws-pc h4 { font-size: 16px; margin: 16px 0 6px; padding: 0; }
.sws-pc p { padding: 0; margin: 0 0 12px; }
.sws-pc label { display: block; font-weight: 700; margin: 14px 0 6px; }
.sws-pc input[type=text], .sws-pc input:not([type]), .sws-pc input[type=email], .sws-pc input[type=password] {
	width: 100%; padding: 12px 14px; font-size: 17px; border: 2px solid #6b7280; border-radius: 8px; background: #fff; color: #111827;
}
.sws-pc input:focus { outline: 3px solid #0c71c3; outline-offset: 1px; border-color: #0c71c3; }
.sws-pc fieldset { border: 0; padding: 0; margin: 14px 0 0; }
.sws-pc legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
.sws-pc .sws-pc-inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; margin: 4px 18px 0 0; }
.sws-pc .sws-pc-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 16px 0 6px; }
.sws-pc .sws-pc-check input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 3px; }
.sws-pc .sws-pc-check-sub { margin-left: 24px; }
.sws-pc .sws-pc-required { color: #dc2626; font-style: normal; font-weight: 700; font-size: 13px; }
.sws-pc-btn { display: inline-block; margin-top: 18px; background: #0c71c3; color: #fff; border: 0; border-radius: 10px; padding: 14px 22px; font-size: 17px; font-weight: 700; cursor: pointer; min-height: 48px; }
.sws-pc-btn:hover, .sws-pc-btn:focus { background: #09579a; }
.sws-pc-btn:disabled { opacity: .6; cursor: default; }
.sws-pc-btn-2 { background: #fff; color: #0c71c3; border: 2px solid #0c71c3; }
.sws-pc-btn-2:hover, .sws-pc-btn-2:focus { background: #eef6fc; }
.sws-pc-btn-danger { background: #b91c1c; }
.sws-pc-btn-danger:hover, .sws-pc-btn-danger:focus { background: #7f1d1d; }
.sws-pc-link { background: none; border: 0; color: #0c71c3; text-decoration: underline; margin: 18px 0 0 16px; cursor: pointer; font-size: 15px; padding: 8px 0; }
.sws-pc-error { background: #fef2f2; border: 2px solid #b91c1c; color: #7f1d1d; border-radius: 8px; padding: 10px 14px; font-weight: 700; }
.sws-pc-ok { background: #ecfdf5; border: 2px solid #047857; color: #064e3b; border-radius: 8px; padding: 8px 14px; font-weight: 700; }
.sws-pc-small { font-size: 14px; color: #4b5563; }
.sws-pc-notice { max-height: 360px; overflow: auto; border: 2px solid #d1d5db; border-radius: 8px; padding: 14px 16px; background: #f9fafb; font-size: 15px; margin-bottom: 8px; text-align: left; }
.sws-pc-notice h3 { margin-top: 0; }
.sws-pc-notice ul, .sws-pc-notice ol { margin: 0 0 10px 20px; padding: 0; text-align: left; list-style-position: outside; }
.sws-pc-notice, .sws-pc-notice * { text-align: left; }
.sws-pc-details { margin: 12px 0; }
.sws-pc-details summary { cursor: pointer; font-weight: 700; color: #0c71c3; padding: 6px 0; }
.sws-pc-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: 13px; }
.sws-pc-steps span { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #f3f4f6; color: #686F7C; font-weight: 700; margin: 0; } /* v1.18.16 (Tim 10-23, axe color-contrast): the steps still to come were #6B7280 = 4.39:1 on #F3F4F6; #686F7C is 4.59:1 */
.sws-pc-steps span.done { background: #dbeafe; color: #09579a; }
.sws-pc-steps span.now { background: #0c71c3; color: #fff; }
.sws-pc-login { display: grid; gap: 10px; margin: 14px 0 18px; }
.sws-pc-login div { border: 2px solid #0c71c3; border-radius: 10px; padding: 10px 14px; }
.sws-pc-login span { display: block; font-size: 13px; color: #4b5563; font-weight: 700; }
.sws-pc-login strong { font-size: 22px; color: #111827; word-break: break-all; }
.sws-pc-url { font-weight: 700; font-size: 18px; word-break: break-all; color: #09579a; }
.sws-pc-child { border-top: 2px solid #e5e7eb; padding-top: 12px; margin-top: 16px; }
.sws-pc-child h3 small { font-weight: 400; color: #4b5563; font-size: 14px; }
.sws-pc-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 10px; }
.sws-pc-table th, .sws-pc-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.sws-pc-table th { width: 45%; }
.sws-pc-mini { margin: 12px 0; }
.sws-pc-mini label { font-weight: 700; }
.sws-pc-mini .sws-pc-btn { margin-top: 10px; }
.sws-pc-msg { display: block; margin-top: 8px; font-weight: 700; }
.sws-pc-danger { border: 2px solid #fecaca; border-radius: 10px; padding: 12px 14px; background: #fff7f7; }
.sws-pc-loading { text-align: center; padding: 30px 0; }
@media (max-width: 560px) {
	.sws-pc { width: 98%; }
	.sws-pc-card { padding: 18px 16px; border-radius: 12px; }
	.sws-pc h2 { font-size: 22px; }
	.sws-pc-btn { width: 100%; }
	.sws-pc-link { margin-left: 0; display: block; }
	.sws-pc-table th { width: 50%; }
}
.sws-pc select { width: 100%; padding: 12px 14px; font-size: 17px; border: 2px solid #6b7280; border-radius: 8px; background: #fff; color: #111827; }
.sws-pc select:focus { outline: 3px solid #0c71c3; outline-offset: 1px; border-color: #0c71c3; }
.sws-pc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
a.sws-pc-btn { text-decoration: none; color: #fff; }
.sws-pc-who { text-align: center; }
.sws-pc-devbox { margin-top: 22px; padding-top: 6px; border-top: 1px solid #e5e7eb; }
.sws-pc-qr { display: inline-block; background: #fff; padding: 12px; border: 1px solid #e5e7eb; border-radius: 10px; }
.sws-pc-qr svg { display: block; width: 210px; height: 210px; }
.sws-pc-devbox .sws-pc-btn { margin-right: 8px; }
.sws-pc-who .sws-pc-btn { display: block; width: 100%; }
@media (max-width: 560px) { .sws-pc-row { grid-template-columns: 1fr; } }
a.sws-pc-btn.sws-pc-btn-2 { color: #0c71c3; }
.sws-pc-alert { background: #eef6fc; border: 2px solid #0c71c3; color: #09579a; border-radius: 8px; padding: 10px 14px; font-weight: 700; font-size: 18px; }
/* A little extra breathing room between the button and the final small-print line on a couple of screens (waitingScreen()). */
.sws-pc-waiting-note { margin-top: 8px; }
/* The password row on savedScreen(): the value and its show/hide eye button sit side by side inside the same .sws-pc-login div the
   Username/Recovery Code rows already use, so it inherits their same label/value styling - this only adds the row layout and the
   button itself. */
.sws-pc-pass-row { display: flex; align-items: center; gap: 10px; }
.sws-pc-eye { flex: 0 0 auto; background: #fff; border: 2px solid #0c71c3; border-radius: 8px; color: #0c71c3; cursor: pointer; padding: 6px; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; }
.sws-pc-eye:hover, .sws-pc-eye:focus { background: #eef6fc; }
.sws-pc-eye[aria-pressed="true"] { background: #0c71c3; color: #fff; }
/* v1.12.0: the typed code under the QR code */
.sws-pc-typecode { letter-spacing: .12em; font-size: 1.1em; color: #09579a; }
.sws-pc-devbox .sws-pc-btn-2#sws-pc-copy, .sws-fam-split-a .sws-pc-btn { margin-top: 10px; }

/* v1.15.0 (Tim 10-17): the Parent Consent page wears the Family pages' look - light-blue page, a small logo left of the centred bold title (rules as on the Family pages, family.css). */
body.sws-pc-themed, body.sws-pc-themed #page-container, body.sws-pc-themed #et-main-area, body.sws-pc-themed #main-content, body.sws-pc-themed #main-content .container { background-color: #e3f0fb !important; }
body.sws-pc-themed .et_pb_section { background-color: transparent !important; }
body.sws-pc-themed .entry-title, body.sws-pc-themed #main-content h1, body.sws-pc-themed .et_pb_title_container h1, body.sws-pc-themed .et_pb_heading_0 .et_pb_module_header { text-align: center !important; font-weight: 700 !important; }
body.sws-pc-themed .entry-title::before, body.sws-pc-themed #main-content h1::before, body.sws-pc-themed .et_pb_title_container h1::before, body.sws-pc-themed .et_pb_heading_0 .et_pb_module_header::before { content: ""; display: inline-block; width: 1.05em; height: 1.1em; margin: -.15em .4em -.15em 0; vertical-align: middle; background: url(sws-logo-sm.png) center / contain no-repeat; }

/* v1.15.1 (Tim 10-17): the step pills stay on ONE line on a wide screen, and on a phone only the current step is shown; centred buttons; the device set-up is its own window. */
@media (min-width: 561px) { .sws-pc-steps { flex-wrap: nowrap; } .sws-pc-steps span { white-space: nowrap; } }
@media (max-width: 560px) { .sws-pc-steps span:not(.now) { display: none; } }
.sws-pc button.sws-pc-center, .sws-pc .sws-pc-btn.sws-pc-center { display: block; margin-left: auto; margin-right: auto; }
.sws-pc p.sws-pc-center { text-align: center; }
.sws-pc p.sws-pc-center .sws-pc-link { margin: 6px 0 0; }
body.sws-pc-wiz-open { overflow: hidden; }
.sws-pc-wiz { position: fixed; inset: 0; z-index: 100060; display: flex; align-items: flex-start; justify-content: center; padding: 24px 12px; background: rgba(15, 23, 42, .55); overflow-y: auto; }
.sws-pc-wiz-card { width: 100%; max-width: 720px; background: #fff; border: 3px solid #0c71c3; border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); padding: 20px 22px; outline: none; color: #374151; font-size: 16px; line-height: 1.55; }
.sws-pc-wiz-card * { box-sizing: border-box; }
.sws-pc-wiz-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sws-pc-wiz-head h2 { margin: 0; font-weight: 700; color: #09579a; font-size: 24px; line-height: 1.25; }
.sws-pc-wiz-x { flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef2f7; color: #374151; font-size: 24px; line-height: 1; cursor: pointer; }
.sws-pc-wiz-x:hover { background: #dbe4ee; }
.sws-pc-split { display: grid; grid-template-columns: 1fr auto 1fr; border: 2px solid #d1d5db; border-radius: 12px; overflow: hidden; margin-top: 14px; padding: 0; max-width: 100%; }
.sws-pc-split-a, .sws-pc-split-b { padding: 18px; text-align: center; min-width: 0; overflow-wrap: anywhere; }
.sws-pc-split-b { background: #eaf3fb; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.sws-pc-split-b h3 { margin: 0 0 8px; font-weight: 700; }
.sws-pc-or { display: flex; align-items: center; justify-content: center; padding: 0 10px; background: #fff; border-left: 2px solid #d1d5db; border-right: 2px solid #d1d5db; }
.sws-pc-or span { font: 800 34px/1 Arial, sans-serif; color: #09579a; }
.sws-pc-split-foot { grid-column: 1 / -1; margin: 0; padding: 4px 12px 14px; border-top: 2px solid #d1d5db; background: #fff; text-align: center; }
.sws-pc-split .sws-pc-qr { margin: 0 auto; max-width: 100%; }
.sws-pc-split .sws-pc-qr svg { width: 100%; max-width: 210px; height: auto; aspect-ratio: 1 / 1; margin: 0 auto; }
.sws-pc-split .sws-pc-btn { margin-top: 10px; }
@media (max-width: 640px) {
	.sws-pc-split { grid-template-columns: minmax(0, 1fr); }
	.sws-pc-or { padding: 6px 0; border: 0; border-top: 2px solid #d1d5db; border-bottom: 2px solid #d1d5db; }
	.sws-pc-split-a, .sws-pc-split-b { padding: 14px 12px; }
}

/* v1.15.2 (Tim 10-17): room between a button and the small line under it (the 13-17 approval's first step). */
.sws-pc p.sws-pc-after { margin-top: 22px; }

/* v1.15.6 (Tim 10-18): the logo also sits beside the title when the page's title is a Divi heading module; room above the green "We sent a 6-digit code" line. */
#sws-pc-codebox .sws-pc-ok { margin-top: 22px; }

/* v1.16.0: the card step's own box (Stripe Embedded Checkout mounts inside it). */
.sws-pc-stripe { margin-top: 12px; min-height: 120px; }

/* v1.16.1 (Tim 10-18): the Done step is wide enough for its two buttons on one line (Download first); Explore The Website is a bold centred text link; the payment cover. */
.sws-pc.sws-pc-wide { max-width: 900px; }
.sws-pc-btnrow { display: flex; flex-wrap: wrap; gap: 0 14px; justify-content: center; }
@media (min-width: 900px) { .sws-pc-btnrow { flex-wrap: nowrap; } .sws-pc-btnrow .sws-pc-btn { white-space: nowrap; } }
@media (max-width: 560px) { .sws-pc-btnrow { display: block; } }
.sws-pc p.sws-pc-explore { margin: 22px 0 4px; }
.sws-pc p.sws-pc-explore a { color: #0c71c3; text-decoration: underline; font-weight: 700; }
.sws-pc-cover { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .88); font-family: inherit; color: #1d3a57; opacity: 0; transition: opacity .25s ease; }
.sws-pc-cover.on { opacity: 1; }
.sws-pc-cover-card { background: #fff; border-radius: 18px; box-shadow: 0 10px 40px rgba(29, 58, 87, .18); border: 2px solid #8cc63f; padding: 28px 26px 22px; text-align: center; width: min(90vw, 420px); }
.sws-pc-cover-logo { width: 96px; height: 96px; object-fit: contain; animation: sws-pc-pulse 1.6s ease-in-out infinite; }
.sws-pc-cover-title { font-size: 22px; font-weight: 700; margin: 14px 0 6px; color: #1f8fd6; }
.sws-pc-cover-text { font-size: 15px; line-height: 1.45; margin: 0; }
.sws-pc-cover-bar { height: 6px; border-radius: 3px; background: #e6f2fb; overflow: hidden; margin-top: 16px; }
.sws-pc-cover-bar span { display: block; height: 100%; width: 40%; border-radius: 3px; background: linear-gradient(90deg, #2b9fe0, #8cc63f); animation: sws-pc-slide 1.3s ease-in-out infinite; }
@keyframes sws-pc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes sws-pc-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .sws-pc-cover-logo, .sws-pc-cover-bar span { animation: none; } }

/* v1.17.0: the children's PINs on the device set-up window. */
.sws-pc-pinlist { margin: 14px 0 0; padding: 10px 14px; border: 2px solid #0c71c3; border-radius: 10px; background: #eef6fc; }
.sws-pc-pinlist p { margin: 4px 0; }

/* v1.18.5 (Tim 10-18): a smaller copy of the child's username and PIN box sits right under the QR code; a thin grey line follows the Copy Link button. */
.sws-pc-pinlist.sws-pc-pinlist-sm { margin: 12px auto 4px; padding: 6px 10px; border-radius: 8px; font-size: 14px; max-width: 300px; }
.sws-pc-pinlist.sws-pc-pinlist-sm p { margin: 2px 0; }
.sws-pc hr.sws-pc-rule, .sws-pc-wiz-card hr.sws-pc-rule { border: 0; border-top: 1px solid #cbd5e1; margin: 14px 0; height: 0; }

/* v1.18.15 (Tim 10-23, accessibility - axe "color-contrast" 1.4.3 and "link-in-text-block" 1.4.1): links in the page's text are #227AB6 (4.64:1 on white) and underlined, so the "Child sign-in" link and the notice links no longer rely on colour alone. Inside the grey notice box a hair darker (#1F6FA8, 5.16:1 on #F9FAFB). Buttons keep their own colours. */
.sws-pc a:not([class]), .sws-pc-small a { color: #227AB6; text-decoration: underline; }
.sws-pc .sws-pc-notice a:not([class]) { color: #1F6FA8; }
.sws-pc-small > a { display: inline-block; padding: 3px 0; } /* v1.18.17 (Tim 10-23, WCAG 2.5.8 target size): the "Sign in with a username instead" link was 19px tall; this was carried by the site's accessibility CSS block until now */
