/* Flashcards and practice test. Flat: rules and gradients, no boxes or shadows. */
.ppk-app { max-width: 46rem; }
.ppk-app .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ppk-app button { font-family: var(--sans, sans-serif); cursor: pointer; }
.ppk-app button.sign { font-size: 1.05rem; }
.ppk-app button.sign:hover { background: #fff; color: #101010; }
.ppk-app button.sign--dir:hover { background: #101010; color: #f6c400; }
.ppk-app button.link { background: none; border: 0; padding: 0.4rem 0.2rem; font-size: 1.05rem; color: var(--chart-blue, #1b4f9c); text-decoration: underline; }
.ppk-app button.link:hover { color: var(--chart-magenta, #a8006a); }
.ppk-app button:disabled { opacity: 0.45; cursor: not-allowed; }

.ppk-app .ctl { display: flex; flex-direction: column; gap: 0.2rem; font-family: var(--sans, sans-serif); min-width: 0; max-width: 100%; }
.ppk-app .ctl select { width: 100%; text-overflow: ellipsis; }
.ppk-app .ctl label { font-weight: 600; color: var(--navy, #0b1f3f); font-size: 1.05rem; }
.ppk-app select { font: inherit; font-family: var(--sans, sans-serif); font-size: 1.1rem; padding: 0.45rem 2rem 0.45rem 0.6rem; border: 2px solid var(--ink, #0f1c2b); border-radius: 0; background: #fff; color: var(--ink, #0f1c2b); max-width: 100%; }
.ppk-app .ctl--check { flex-direction: row; align-items: center; gap: 0.5rem; }
.ppk-app .ctl--check input { width: 1.2rem; height: 1.2rem; accent-color: #101010; }

.fc-controls, .pt-setup { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: flex-end; margin: 1.5rem 0; }
.fc-meter { font-family: var(--sans, sans-serif); color: var(--ink-soft, #41556b); font-size: 1.05rem; margin: 0 0 0.8rem; }

/* flashcard face: a band between two rules, tinted with a sky gradient */
.fc-face { display: flex; flex-direction: column; gap: 1rem; justify-content: center; width: 100%; min-height: 16rem; text-align: left; padding: 1.8rem 1.4rem; border: 0; border-top: 3px solid #101010; border-bottom: 3px solid #101010; border-radius: 0; background: linear-gradient(180deg, #dfe9f5 0%, #f7f9fb 100%); color: var(--ink, #0f1c2b); }
.fc-face.is-answer { background: linear-gradient(180deg, #fbe6c6 0%, #f7f9fb 100%); }
.fc-face:hover { background-size: 100% 100%; filter: brightness(0.985); }
.fc-where { font-family: var(--sans, sans-serif); font-weight: 600; font-size: 1rem; color: var(--chart-blue, #1b4f9c); }
.fc-q { font-family: var(--sans, sans-serif); font-weight: 600; font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.15; color: var(--navy, #0b1f3f); }
.fc-a { font-family: var(--serif, Georgia, serif); font-size: 1.25rem; line-height: 1.5; padding-top: 1rem; border-top: 1px solid rgba(15, 28, 43, 0.35); }
.fc-hint { font-family: var(--sans, sans-serif); font-size: 1rem; color: var(--ink-soft, #41556b); }
.fc-actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; margin-top: 1.1rem; }
.fc-src, .pt-src { font-size: 0.95rem; color: var(--ink-soft, #41556b); }
.fc-done { padding: 2rem 0; border-top: 3px solid #101010; border-bottom: 3px solid #101010; background: linear-gradient(180deg, #fbe6c6 0%, #f7f9fb 100%); padding-inline: 1.4rem; }
.fc-done h2 { margin-top: 0; }

/* practice test */
.pt-progress { font-family: var(--sans, sans-serif); font-weight: 600; color: var(--ink-soft, #41556b); font-size: 1.05rem; margin: 0 0 0.6rem; }
.pt-q { border: 0; border-top: 3px solid #101010; margin: 0; padding: 1rem 0 0; min-width: 0; }
.pt-q legend { font-family: var(--sans, sans-serif); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.2; color: var(--navy, #0b1f3f); padding: 0; margin-bottom: 1rem; float: left; width: 100%; }
.pt-q legend + .pt-choice { clear: both; }
.pt-choice { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--rule, #ccd6e0); }
.pt-choice input { margin-top: 0.4rem; width: 1.15rem; height: 1.15rem; flex: none; accent-color: #101010; }
.pt-choice label { cursor: pointer; flex: 1; font-size: 1.1rem; line-height: 1.4; }
.pt-choice.is-right { background: linear-gradient(90deg, #d9efd9, rgba(217, 239, 217, 0)); border-left: 5px solid #1d7a3a; }
.pt-choice.is-right label::before { content: 'Correct answer. '; font-family: var(--sans, sans-serif); font-weight: 700; color: #1d7a3a; }
.pt-choice.is-wrong { background: linear-gradient(90deg, #f6d6db, rgba(246, 214, 219, 0)); border-left: 5px solid var(--sign-red, #c4122f); }
.pt-choice.is-wrong label::before { content: 'Your answer. '; font-family: var(--sans, sans-serif); font-weight: 700; color: var(--sign-red, #c4122f); }
.pt-feedback { margin-top: 1rem; font-size: 1.05rem; }
.pt-verdict { font-size: 1.15rem; }
.pt-actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; margin-top: 1.4rem; }
.pt-score { padding: 1.6rem 1.4rem; border-top: 3px solid #101010; border-bottom: 3px solid #101010; background: linear-gradient(180deg, #dfe9f5 0%, #fbe6c6 100%); margin-bottom: 1.4rem; }
.pt-big { font-family: var(--sans, sans-serif); font-weight: 700; font-size: clamp(3rem, 12vw, 5.5rem); line-height: 1; margin: 0; color: var(--navy, #0b1f3f); }
.pt-pct { font-family: var(--sans, sans-serif); font-size: 1.3rem; margin: 0.3rem 0 0; }
.pt-history { list-style: none; padding: 0; border-top: 2px solid #101010; }
.pt-history li { padding: 0.5rem 0; border-bottom: 1px solid var(--rule, #ccd6e0); }
.pt-missed { padding-left: 1.4rem; }
.pt-missed li { margin-bottom: 1.6rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--rule, #ccd6e0); }
.pt-mq { font-family: var(--sans, sans-serif); font-weight: 600; font-size: 1.2rem; color: var(--navy, #0b1f3f); }

/* flashcard mode switch and multiple-choice face */
.seg { display: flex; border: 2px solid #101010; }
.seg-b { font-size: 1.05rem; font-weight: 600; padding: 0.5rem 0.9rem; background: #fff; color: #101010; border: 0; border-radius: 0; }
.seg-b + .seg-b { border-left: 2px solid #101010; }
.seg-b.on { background: #101010; color: #f6c400; }
.fc-face--static { cursor: default; min-height: 0; margin-bottom: 0.4rem; }
.fc-mc { border-top: 0; padding-top: 0; }

/* chart-plotter grid behind flashcard faces */
.fc-face, .fc-done { background-image: linear-gradient(rgba(27, 79, 156, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 79, 156, 0.08) 1px, transparent 1px), linear-gradient(180deg, #dfe9f5 0%, #f7f9fb 100%); background-size: 28px 28px, 28px 28px, 100% 100%; }
.fc-face.is-answer, .fc-done { background-image: linear-gradient(rgba(176, 106, 20, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(176, 106, 20, 0.1) 1px, transparent 1px), linear-gradient(180deg, #fbe6c6 0%, #f7f9fb 100%); }
/* airspeed-style score dial */
.pt-score { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.pt-gauge { width: 11rem; height: 11rem; flex: none; }
.pt-gauge text { font-family: var(--sans, sans-serif); font-weight: 600; fill: #0b1f3f; }

/* mock exam */
#pt-clock { font-variant-numeric: tabular-nums; color: var(--ink, #0b1f3f); }
.pt-areas { width: 100%; border-collapse: collapse; margin: 0.4rem 0 1rem; font-size: 1rem; }
.pt-areas th, .pt-areas td { text-align: left; padding: 0.5rem 0.6rem 0.5rem 0; border-bottom: 1px solid rgba(11, 31, 63, 0.14); vertical-align: top; }
.pt-areas th { font-family: var(--sans, sans-serif); font-weight: 600; }
.pt-areas td:nth-child(2), .pt-areas td:nth-child(3), .pt-areas th:nth-child(2), .pt-areas th:nth-child(3) { white-space: nowrap; }

.ppk-app .pt-img { display: block; max-width: 100%; height: auto; margin: 0.6rem 0 1rem; border: 2px solid var(--ink, #0f1c2b); background: #f4efdc; }

/* ===== Focus mode: the study surface fills the screen, nothing else ===== */
html.ppk-focus { overflow: hidden; }
.ppk-stage { display: grid; position: relative; }
.ppk-panel { grid-area: 1 / 1; min-width: 0; }
.ppk-app.is-focus { position: fixed; inset: 0; z-index: 99999; max-width: none; overflow-x: hidden; overflow-y: auto; padding: 0 var(--gutter, 1.2rem) 2rem; background-image: linear-gradient(rgba(27, 79, 156, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 79, 156, 0.06) 1px, transparent 1px), linear-gradient(180deg, #eef3f9 0%, #fbfaf4 100%); background-size: 32px 32px, 32px 32px, 100% 100%; }
.ppk-app.is-focus .ppk-stage { max-width: 42rem; margin-inline: auto; min-height: 100%; }
.ppk-app.is-focus .ppk-panel { padding-top: 0.2rem; }

/* panel transitions */
@keyframes ppk-in-fwd { from { opacity: 0; transform: translateX(14%); } to { opacity: 1; transform: none; } }
@keyframes ppk-in-back { from { opacity: 0; transform: translateX(-14%); } to { opacity: 1; transform: none; } }
@keyframes ppk-in-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ppk-out-fwd { to { opacity: 0; transform: translateX(-18%); } }
@keyframes ppk-out-back { to { opacity: 0; transform: translateX(18%); } }
@keyframes ppk-out-fade { to { opacity: 0; } }
.ppk-panel.in-fwd { animation: ppk-in-fwd 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ppk-panel.in-back { animation: ppk-in-back 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ppk-panel.in-fade { animation: ppk-in-fade 0.4s ease-out both; }
.ppk-panel.out-fwd { animation: ppk-out-fwd 0.28s ease-in both; pointer-events: none; }
.ppk-panel.out-back { animation: ppk-out-back 0.28s ease-in both; pointer-events: none; }
.ppk-panel.out-fade { animation: ppk-out-fade 0.2s ease-in both; pointer-events: none; }

/* settings screen */
.ppk-title { margin: 0 0 1rem; font-size: clamp(2rem, 6vw, 2.8rem); }
.ppk-settings { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; margin: 0.6rem 0 1.2rem; }
.ppk-settings .ctl { align-self: stretch; }
.ppk-info { font-family: var(--sans, sans-serif); font-size: 1.05rem; color: var(--ink-soft, #41556b); margin: 0 0 1rem; }
.ppk-go { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: center; margin: 0.4rem 0 1rem; }
.is-setup > * { animation: ppk-in-fade 0.45s ease-out both; }
.is-setup > *:nth-child(2) { animation-delay: 0.05s; }
.is-setup > *:nth-child(3) { animation-delay: 0.1s; }
.is-setup > *:nth-child(4) { animation-delay: 0.15s; }
.is-setup > *:nth-child(5) { animation-delay: 0.2s; }

/* top bar: close, thin progress line, count */
.ppk-top { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 0 1.2rem; position: sticky; top: 0; z-index: 2; }
.ppk-x { flex: none; width: 2.6rem; height: 2.6rem; font-size: 1.7rem; line-height: 1; border: 2px solid #101010; background: #fff; color: #101010; border-radius: 0; padding: 0; }
.ppk-x:hover { background: #101010; color: #f6c400; }
.ppk-bar { flex: 1; height: 6px; background: rgba(11, 31, 63, 0.16); overflow: hidden; }
.ppk-bar-fill { display: block; height: 100%; width: 0; background: #101010; transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ppk-bar-fill { background: linear-gradient(90deg, #0b1f3f, #1b4f9c); }
.ppk-count { flex: none; min-width: 3.4rem; text-align: right; font-family: var(--sans, sans-serif); font-weight: 600; color: var(--ink-soft, #41556b); font-variant-numeric: tabular-nums; }
.is-run .ppk-bar-fill { animation: ppk-grow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes ppk-grow { from { transform: scaleX(0.6); transform-origin: left; } to { transform: none; transform-origin: left; } }

/* flashcard deck */
.fc-deck { position: relative; display: grid; min-height: 20rem; perspective: 1400px; touch-action: pan-y; }
.fc-card { grid-area: 1 / 1; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline-offset: 4px; transition: transform 0.34s cubic-bezier(0.4, 0, 0.6, 1), opacity 0.34s ease; }
.fc-card.dragging { transition: none; cursor: grabbing; }
.fc-card.enter, .fc-card.enter-first { animation: fc-enter 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.05) both; }
@keyframes fc-enter { from { opacity: 0; transform: translateY(26px) scale(0.94); } to { opacity: 1; transform: none; } }
.fc-card.fly-right { transform: translateX(130%) rotate(16deg); opacity: 0; }
.fc-card.fly-left { transform: translateX(-130%) rotate(-16deg); opacity: 0; }
.fc-card:not(.fc-card--mc) { cursor: pointer; min-height: 20rem; }
.fc-inner { position: relative; width: 100%; height: 100%; min-height: 20rem; transform-style: preserve-3d; transition: transform 0.55s cubic-bezier(0.3, 0.7, 0.2, 1); }
.fc-card.is-flipped .fc-inner { transform: rotateY(180deg); }
.fc-side { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 1rem; justify-content: center; padding: 1.8rem 1.4rem; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-top: 3px solid #101010; border-bottom: 3px solid #101010; color: var(--ink, #0f1c2b); overflow: auto; text-align: left; }
.fc-front { background: linear-gradient(180deg, #dfe9f5 0%, #f7f9fb 100%); }
.fc-back { transform: rotateY(180deg); background: linear-gradient(180deg, #fbe6c6 0%, #f7f9fb 100%); }
.fc-back .fc-where { font-weight: 500; color: var(--ink-soft, #41556b); }
.fc-back .fc-a { border-top: 0; padding-top: 0; font-size: clamp(1.25rem, 3.4vw, 1.6rem); font-family: var(--sans, sans-serif); font-weight: 600; color: var(--navy, #0b1f3f); line-height: 1.3; }
.fc-hint { opacity: 0.7; }
.fc-card.lean-right .fc-back { box-shadow: inset 0 0 0 100vmax rgba(29, 122, 58, 0.14); }
.fc-card.lean-left .fc-back { box-shadow: inset 0 0 0 100vmax rgba(196, 18, 47, 0.12); }
.fc-actions { min-height: 4.6rem; display: flex; justify-content: center; }
.fc-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1.2rem; }
.fc-btns.enter { animation: ppk-in-fade 0.35s ease-out both; }
.fc-done { grid-area: 1 / 1; align-self: center; text-align: left; }
.fc-done.enter { animation: fc-enter 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.05) both; }
.fc-card--mc { padding-bottom: 1rem; }

/* practice question */
.is-run .pt-q { border-top: 0; padding-top: 0.2rem; }
.is-run .pt-q legend { font-size: clamp(1.45rem, 4.2vw, 2rem); margin-bottom: 1.2rem; animation: ppk-in-fade 0.45s 0.05s ease-out both; }
.is-run .pt-choice { border: 2px solid rgba(11, 31, 63, 0.18); background: #fff; margin-bottom: 0.6rem; padding: 0.85rem 0.9rem; transition: border-color 0.15s, transform 0.15s, background 0.2s; animation: ppk-in-fade 0.4s ease-out both; animation-delay: calc(0.12s + var(--i, 0) * 0.07s); }
.is-run .pt-choice:hover { border-color: #101010; }
.is-run .pt-choice:has(input:checked) { border-color: #101010; background: #fffbe6; transform: translateX(4px); }
.is-run .pt-choice.is-right { border-color: #1d7a3a; animation: pt-pulse 0.5s ease-out both; }
.is-run .pt-choice.is-wrong { border-color: var(--sign-red, #c4122f); animation: pt-shake 0.45s ease-out both; }
@keyframes pt-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.025); } 100% { transform: scale(1); } }
@keyframes pt-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.pt-feedback { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s; opacity: 0; margin-top: 0; }
.pt-feedback.open { grid-template-rows: 1fr; opacity: 1; margin-top: 0.8rem; }
.pt-feedback > .fb-in { overflow: hidden; min-height: 0; }
.is-run .pt-actions { margin-top: 1rem; animation: ppk-in-fade 0.4s 0.35s ease-out both; }

/* results */
.is-results .pt-score { animation: ppk-in-fade 0.5s ease-out both; }
.is-results > .pt-actions, .is-results > h2, .is-results > p, .is-results > table, .is-results > ol { animation: ppk-in-fade 0.5s 0.5s ease-out both; }

@media (prefers-reduced-motion: reduce) {
	.ppk-panel, .ppk-panel *, .fc-card, .fc-inner, .pt-choice, .pt-feedback, .ppk-bar-fill, .is-setup > * { animation: none !important; transition: none !important; }
	.fc-card.fly-right, .fc-card.fly-left { opacity: 0; }
	.fc-card.is-flipped .fc-inner { transform: rotateY(180deg); }
}

/* Drone study tools match the other sections: one quiet line instead of a banner. */
.trust-fine{font-size:.85rem;margin:0 0 1rem;opacity:.8}

/* ---------- tools ---------- */
.ppk-tool { max-width: 52rem; margin: 1.2rem 0 2rem; font-family: var(--sans, sans-serif); }
.ppk-tool .ctl { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.ppk-tool .ctl label { font-weight: 600; color: var(--navy, #0b1f3f); font-size: 1.02rem; }
.ppk-tool .ctl .hint { font-size: 0.88rem; color: var(--ink-soft, #41556b); }
.ppk-tool input[type=text], .ppk-tool input[type=search], .ppk-tool input[type=date], .ppk-tool select, .ppk-tool textarea { font: inherit; font-size: 1.1rem; padding: 0.45rem 0.6rem; border: 2px solid var(--ink, #0f1c2b); border-radius: 0; background: #fff; color: var(--ink, #0f1c2b); width: 100%; max-width: 100%; box-sizing: border-box; }
.ppk-tool select { padding-right: 2rem; text-overflow: ellipsis; }
.ppk-tool textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1rem; }
.ppk-tool button { font-family: var(--sans, sans-serif); cursor: pointer; }
.ppk-tool button.sign { font-size: 1.05rem; }
.ppk-tool button.link { background: none; border: 0; padding: 0.4rem 0.2rem; font-size: 1.05rem; color: var(--chart-blue, #1b4f9c); text-decoration: underline; }
.ppk-tool .ctl--check { flex-direction: row; align-items: flex-start; gap: 0.6rem; margin: 0.5rem 0; }
.ppk-tool .ctl--check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: #101010; flex: none; }
.ppk-tool .ctl--check label { font-weight: 400; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin: 0 0 1.2rem; }
.t-row { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 0.6rem; align-items: end; margin: 0 0 0.8rem; }
@media (max-width: 40rem) { .t-row { grid-template-columns: 1fr 1fr; } .t-row .ctl:first-child { grid-column: 1 / -1; } }
.t-out { margin: 1.2rem 0; }
.t-res { display: grid; grid-template-columns: minmax(8rem, 15rem) 1fr; gap: 0.15rem 1.2rem; margin: 0; padding: 1rem 0 1rem 1rem; border-left: 4px solid #101010; background: linear-gradient(90deg, #eef3f9, rgba(238,243,249,0)); }
.t-res dt { font-weight: 600; color: var(--ink-soft, #41556b); }
.t-res dd { margin: 0; font-size: 1.15rem; font-weight: 600; }
.t-res dd.is-good::before { content: 'OK: '; color: #1d7a3a; }
.t-res dd.is-bad { color: var(--sign-red, #c4122f); }
.t-res dd.is-bad::before { content: 'Problem: '; }
.t-res dd.is-warn::before { content: 'Soon: '; color: #8a5a00; }
@media (max-width: 36rem) { .t-res { grid-template-columns: 1fr; } .t-res dd { margin-bottom: 0.5rem; } }
.t-hint { color: var(--ink-soft, #41556b); margin: 0.6rem 0; }
.t-big { font-size: 1.5rem; font-weight: 700; margin: 0.8rem 0; line-height: 1.3; overflow-wrap: anywhere; }
.t-actions { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0.6rem 0; align-items: center; }
.t-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 36rem) { .t-two { grid-template-columns: 1fr; } }
.t-q { margin: 0.4rem 0 1rem; line-height: 1.3; }
.t-swatch { margin: 0 0 1rem; }
.t-choices { display: flex; flex-direction: column; gap: 0.6rem; margin: 0 0 1rem; }
.t-choice { text-align: left; font-size: 1.08rem; padding: 0.8rem 1rem; border: 2px solid #101010; background: #fff; color: var(--ink, #0f1c2b); border-radius: 0; }
.t-choice:hover:not(:disabled) { background: #f6c400; }
.t-choice.is-right { background: #dff1e4; border-color: #1d7a3a; }
.t-choice.is-wrong { background: #f9dfe3; border-color: var(--sign-red, #c4122f); }
.t-choice:disabled { opacity: 1; cursor: default; }
.t-answer { border-left: 4px solid #f6c400; padding: 0.3rem 0 0.3rem 1rem; margin: 1rem 0; background: linear-gradient(90deg, #fbf1d3, rgba(251,241,211,0)); }
.t-week { margin: 1rem 0; padding-left: 1rem; border-left: 4px solid #101010; }
.t-week ul { margin: 0.3rem 0 0 1.2rem; }
.t-wk { font-weight: 700; margin: 0 0 0.3rem; }
.t-log input { width: 100%; min-width: 4rem; font-size: 0.95rem; padding: 0.3rem 0.4rem; border: 1px solid #101010; box-sizing: border-box; font-family: inherit; }
.t-table th, .t-table td { vertical-align: top; }
.t-sheet h2 { margin-top: 0; }
@media print {
	body.ppk-tool-page { background: #fff; }
	.ppk-tool .t-noprint, .ppk-tool button, .ppk-tool .t-actions { display: none !important; }
	.ppk-tool.printable { max-width: none; }
}
@media print {
	body:has(.ppk-tool.printable) * { visibility: hidden; }
	body:has(.ppk-tool.printable) .ppk-tool.printable, body:has(.ppk-tool.printable) .ppk-tool.printable * { visibility: visible; }
	body:has(.ppk-tool.printable) .ppk-tool.printable { position: absolute; left: 0; top: 0; width: 100%; }
}

.ppk-fc-all{max-width:46rem;margin:2rem auto 0;padding:0 1rem}
.ppk-fc-all summary{cursor:pointer;font-weight:600;padding:.75rem 0}
.ppk-fc-all dt{font-weight:600;margin-top:1rem}
.ppk-fc-all dd{margin:.25rem 0 0}

.ppk-fig{margin:1.5rem 0;text-align:center}
.ppk-fig img{max-width:100%;height:auto;border-radius:.5rem;background:#fff}
.ppk-fig figcaption{font-size:.875rem;margin-top:.5rem;opacity:.85;text-align:left}

.ppk-soon{margin:1.25rem 0;padding:.9rem 1.1rem;border:1px dashed currentColor;border-radius:6px;opacity:.85}
.ppk-soon p{margin:0}

/* soft highlights: gradient tints instead of flat fills */
.is-run .pt-choice:has(input:checked){background:linear-gradient(90deg,#fff3c4 0%,#fffbe6 60%,rgba(255,251,230,0) 100%);border-color:#c9a400}
.seg-b.on{background:linear-gradient(180deg,#1a2a4a 0%,#0f1c36 100%);color:#f6c400}
.t-choice.is-right{background:linear-gradient(90deg,#d8efe1 0%,#f0f9f4 100%)}
.t-choice.is-wrong{background:linear-gradient(90deg,#fadedb 0%,#fdf2f1 100%)}

/* compact footer: the two long exam lists run in two columns each */
.site-foot .cols { grid-template-columns: 1.3fr 1.7fr 1.7fr 1fr; }
.site-foot .cols > div:nth-child(2) ul, .site-foot .cols > div:nth-child(3) ul { columns: 2; column-gap: 1.4rem; }
.site-foot .cols > div:nth-child(2) li, .site-foot .cols > div:nth-child(3) li { break-inside: avoid; }
@media (max-width: 900px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } .site-foot .cols > div:nth-child(2), .site-foot .cols > div:nth-child(3) { grid-column: 1 / -1; } }
