/* Shed Certification - member-facing pages. Kept neutral so it sits inside any theme. */
.shedcert-box { max-width: 480px; margin: 1.5em 0; font-size: 1.05rem; line-height: 1.5; }
.shedcert-box label { display: block; font-weight: 600; margin-bottom: .4em; }
.shedcert-box input[type="email"] {
	width: 100%; box-sizing: border-box; padding: .75em .9em; font-size: 1.05rem;
	border: 2px solid currentColor; border-radius: 6px; background: transparent; color: inherit;
}
.shedcert-box .shedcert-btn {
	display: inline-block; margin-top: .9em; padding: .8em 1.4em; font-size: 1.05rem; font-weight: 600;
	border: 2px solid #1f3a52; border-radius: 6px; background: #1f3a52; color: #fff; cursor: pointer;
}
.shedcert-box .shedcert-btn:hover { background: #2e5a7e; border-color: #2e5a7e; }
.shedcert-box .shedcert-btn.is-secondary { background: transparent; color: inherit; border-color: currentColor; }
.shedcert-box .shedcert-btn:focus-visible,
.shedcert-box input:focus-visible { outline: 3px solid #f5a623; outline-offset: 2px; }
.shedcert-notice { padding: .8em 1em; margin: 0 0 1em; border-left: 5px solid; border-radius: 4px; }
.shedcert-notice.is-success { border-color: #1a7f37; background: #e9f7ee; color: #14532d; }
.shedcert-notice.is-error   { border-color: #b42318; background: #fdecea; color: #7a1b12; }
.shedcert-notice.is-info    { border-color: #2e5a7e; background: #eaf2f8; color: #1f3a52; }
.shedcert-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.shedcert-hint { font-size: .95rem; opacity: .85; margin-top: .75em; }

/* ---- Quiz pages (large, high-contrast, easy to use on a tablet) ---- */
.shedcert-training { max-width: 760px; font-size: 1.15rem; }
.shedcert-training h2 { font-size: 1.7rem; margin: .2em 0 .3em; }
.shedcert-training .shedcert-sub { font-weight: 600; opacity: .85; margin-top: 0; }
.shedcert-training input[type="text"] {
	width: 100%; box-sizing: border-box; padding: .75em .9em; font-size: 1.1rem;
	border: 2px solid currentColor; border-radius: 6px; background: transparent; color: inherit;
}
.shedcert-training .shedcert-btn { text-decoration: none; margin-right: .5em; }
.shedcert-training a.shedcert-btn { display: inline-block; }
.shedcert-cards, .shedcert-list, .shedcert-missed { list-style: none; margin: 1em 0; padding: 0; }
.shedcert-card, .shedcert-list li, .shedcert-missed li { border: 2px solid rgba(0, 0, 0, .25); border-radius: 8px; padding: 1em 1.2em; margin: 0 0 1em; }
.shedcert-card-photo img, .shedcert-photo img { max-width: 100%; height: auto; border-radius: 6px; }
.shedcert-risk { display: inline-block; margin: .2em 0 .6em; padding: .15em .7em; border-radius: 999px; font-size: .95rem; font-weight: 600; border: 2px solid currentColor; }
.shedcert-risk-high { color: #8a1c14; }
.shedcert-risk-medium { color: #7a4b00; }
.shedcert-risk-low { color: #14532d; }
.shedcert-video { position: relative; aspect-ratio: 16 / 9; margin: 1em 0; background: #000; }
.shedcert-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.shedcert-check label { display: flex; gap: .6em; align-items: center; font-weight: 600; }
.shedcert-check input { width: 1.6em; height: 1.6em; }
.shedcert-question { border: 2px solid rgba(0, 0, 0, .25); border-radius: 8px; padding: 1em 1.2em; margin: 0 0 1.2em; }
.shedcert-question legend { font-weight: 700; padding: 0 .4em; }
.shedcert-qnum { display: block; font-size: .95rem; opacity: .8; }
.shedcert-option { display: flex; gap: .7em; align-items: flex-start; padding: .7em .8em; margin: .5em 0; border: 2px solid rgba(0, 0, 0, .2); border-radius: 6px; cursor: pointer; font-weight: 400; }
.shedcert-option:hover { border-color: #1f3a52; }
.shedcert-option input { width: 1.5em; height: 1.5em; flex: 0 0 auto; margin-top: .1em; }
.shedcert-result { border-left: 8px solid; border-radius: 6px; padding: .5em 1.2em 1em; margin: 0 0 1em; }
.shedcert-result.is-pass { border-color: #1a7f37; background: #e9f7ee; color: #14532d; }
.shedcert-result.is-fail { border-color: #b36b00; background: #fff4e0; color: #5c3900; }
.shedcert-result .shedcert-score { font-size: 1.25rem; font-weight: 600; }
.shedcert-btn.is-secondary { background: transparent; color: inherit; border-color: currentColor; }

.shedcert-select { margin: .2em 0 .6em; font-weight: 600; color: #1f3a52; }

/* ---- Training documents ---- */
.shedcert-docs { border: 2px solid #1f3a52; border-radius: 8px; padding: .6em 1.2em .8em; margin: 1em 0; background: #f3f7fb; }
.shedcert-docs h3 { margin: .3em 0; }
.shedcert-docs ul { margin: .4em 0 0; padding-left: 1.2em; }
.shedcert-docs li { margin: .4em 0; }
.shedcert-doc-link { font-weight: 700; font-size: 1.1rem; }
.shedcert-doc-type { font-weight: 400; }
.shedcert-training .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---- Questions that still need an answer ---- */
.shedcert-question.has-error { border: 4px solid #b42318; background: #fff1f0; }
.shedcert-q-error { margin: .3em 0 .7em; padding: .5em .7em; border-radius: 6px; background: #b42318; color: #fff; font-weight: 700; font-size: 1.1rem; }
.shedcert-q-error::before { content: "\26A0\FE0E  "; }
.shedcert-errors { border: 4px solid #b42318; background: #fff1f0; color: #5c1111; border-radius: 8px; padding: .8em 1.2em; margin: 0 0 1.2em; font-size: 1.15rem; }
.shedcert-errors:focus { outline: 3px solid #f5a623; outline-offset: 2px; }
.shedcert-errors-title { font-weight: 700; margin: 0 0 .3em; }
.shedcert-errors ul { margin: 0; padding-left: 1.2em; }
.shedcert-errors a { color: #8a1c14; font-weight: 700; text-decoration: underline; }
.shedcert-submit-note { color: #8a1c14; font-weight: 700; font-size: 1.1rem; margin: .5em 0; }

/* Action page for trainers and certifiers (0.8.0) */
.shedcert-action { max-width: 560px; }
.shedcert-action h2 { margin: .4em 0 .5em; }
.shedcert-facts { display: grid; grid-template-columns: max-content 1fr; gap: .3em 1em; margin: 0 0 1.2em; padding: .8em 1em; border: 2px solid rgba(0, 0, 0, .2); border-radius: 8px; }
.shedcert-facts dt { font-weight: 700; }
.shedcert-facts dd { margin: 0; }
.shedcert-action input[type="date"], .shedcert-action textarea {
	width: 100%; box-sizing: border-box; padding: .65em .8em; font-size: 1.05rem;
	border: 2px solid currentColor; border-radius: 6px; background: transparent; color: inherit;
}
.shedcert-action input[type="date"] { max-width: 14em; }
.shedcert-action input:focus-visible, .shedcert-action textarea:focus-visible { outline: 3px solid #f5a623; outline-offset: 2px; }
.shedcert-notyet { margin-top: 1.5em; border-top: 1px solid rgba(0, 0, 0, .2); padding-top: 1em; }
.shedcert-notyet summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.shedcert-action .shedcert-btn { font-size: 1.15rem; padding: .7em 1.6em; }
