/* assets/placement.css — the placement test (/placement). New, 23 Nov 2026 (phase G6).
   ITS OWN DESIGN: a measuring tape. A level test measures, so the page is a yellow steel tape with black marks: the
   five levels A1 … C1 are printed on it, the progress line of the test is a small tape that fills, and on the result
   a red pointer slides along the tape and stops at your level. Tall narrow numbers and headings (Anton), like the
   figures on a tape. Day: paper white. Night: black, the tape stays yellow.
   Motion: the tape is pulled out once when the page opens; the pointer moves once on the result. Nothing moves with
   "reduce motion" or on weak phones (html.lk-lite). Every rule starts with #pl. */

@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/anton-latin-400-normal.woff2') format('woff2'); }

#pl { --tape: #FFD21F; --edge: #E0A800; --ink: #161616; --soft: #5C5B55; --rule: #DAD8CE; --card: #FFFFFF; --bg: #F5F4EE; --red: #E5352B; --ok: #1B8553; --num: 'Anton', 'Arial Narrow', Impact, sans-serif;
  display: block; max-width: 880px; margin: 0 auto; padding: clamp(16px, 4vw, 38px) clamp(12px, 3vw, 24px) 70px; color: var(--ink); }
html.dark #pl { --ink: #F4F3EE; --soft: #A8A69E; --rule: #303030; --card: #1D1D1D; --bg: #121212; --ok: #45C98B; }
html:has(#pl) body { background: #F5F4EE; } html.dark:has(#pl) body { background: #121212; }
html:has(#pl) #cp { background: transparent; }
#pl * { box-sizing: border-box; }
#pl p, #pl h1, #pl h2, #pl ul, #pl fieldset, #pl legend { margin: 0; padding: 0; }
#pl ul { list-style: none; } #pl fieldset { border: 0; min-width: 0; }
#pl [hidden] { display: none !important; }
#pl button, #pl input { font: inherit; color: inherit; } #pl button { cursor: pointer; }
#pl :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }
#pl a { color: inherit; }

@keyframes plPull { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes plIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes plMark { from { left: 0; } }

/* ───────────── shared ───────────── */
#pl .pl-kick { font: 400 17px/1.2 var(--num); letter-spacing: .06em; color: var(--soft); } #pl .pl-kick a { text-decoration: none; } #pl .pl-kick a:hover { text-decoration: underline; }
#pl h1 { margin-top: 8px; font: 400 clamp(52px, 12vw, 104px)/.95 var(--num); letter-spacing: .005em; text-transform: none; }
#pl h2 { font: 400 28px/1.1 var(--num); letter-spacing: .02em; }
#pl .pl-sub { max-width: 34em; margin-top: 14px; font-size: 17.500px; line-height: 1.55; }
#pl .pl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 20px; font: 800 16px/1.15 Inter, system-ui, sans-serif; color: #161616; background: var(--tape); border: 2px solid #161616; border-radius: 6px; text-decoration: none; box-shadow: 3px 3px 0 #161616; transition: transform .1s, box-shadow .1s; }
html.dark #pl .pl-btn { border-color: var(--tape); box-shadow: 3px 3px 0 rgba(255, 210, 31, .35); }
#pl .pl-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #161616; } #pl .pl-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #161616; }
#pl .pl-btn:disabled { opacity: .5; cursor: default; transform: none; }
#pl .pl-btn.ghost { color: var(--ink); background: transparent; border-color: var(--ink); box-shadow: none; } #pl .pl-btn.ghost:hover { background: var(--card); transform: none; }
#pl .pl-btn.big { min-height: 56px; padding: 10px 30px; font-size: 18.500px; } #pl .pl-btn.sm { min-height: 38px; padding: 5px 14px; font-size: 14.500px; box-shadow: 2px 2px 0 #161616; }
#pl .pl-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
#pl .pl-msg { font-size: 15px; font-weight: 600; color: var(--red); }
#pl .pl-note { padding: 30px 0; } #pl .pl-note p { margin-top: 12px; font-size: 17px; line-height: 1.5; }
#pl .pl-field { display: grid; gap: 6px; max-width: 420px; margin-top: 14px; font-size: 14.500px; font-weight: 700; }
#pl .pl-field input { width: 100%; min-height: 48px; padding: 8px 14px; font-size: 17px; font-weight: 500; color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: 6px; }

/* ───────────── the tape ───────────── */
#pl .pl-tape { position: relative; height: 92px; margin: 28px 0 0; padding-right: 26px; animation: plPull .9s cubic-bezier(.2, .8, .2, 1) both; }
#pl .pl-tape-in { position: relative; height: 100%; color: #161616; background-color: var(--tape); border: 2px solid #161616; border-right: 0; border-radius: 4px 0 0 4px;
  background-image: linear-gradient(90deg, #161616 2px, transparent 2px), linear-gradient(90deg, #161616 1.500px, transparent 1.500px), linear-gradient(90deg, rgba(22, 22, 22, .55) 1px, transparent 1px);
  background-size: 20% 34px, 4% 20px, 1% 11px; background-repeat: repeat-x; background-position: -1px 0, 0 0, 0 0; box-shadow: inset 0 -5px 0 var(--edge); }
#pl .pl-tape-in span { position: absolute; left: calc(var(--i) * 20%); bottom: 9px; width: 20%; padding-left: 8px; line-height: 1; }
#pl .pl-tape-in b { display: block; font: 400 32px/1 var(--num); } #pl .pl-tape-in small { display: block; margin-top: 2px; font-size: 11.500px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pl .pl-hook { position: absolute; right: 0; top: -5px; bottom: -5px; width: 26px; border: 2px solid #161616; border-radius: 0 5px 5px 0; background: linear-gradient(#D9D9D9, #9C9C9C); }
#pl .pl-hook::after { content: ''; position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #161616; }
#pl .pl-tape.res .pl-tape-in span.me b { font-size: 40px; }
#pl .pl-mark { position: absolute; z-index: 2; left: calc((var(--at) + .6) * (100% - 26px) / 5); top: -12px; bottom: -12px; width: 6px; margin-left: -3px; background: var(--red); border-radius: 3px; box-shadow: 0 0 0 2px #fff; animation: plMark 1.300s .5s cubic-bezier(.3, 1.300, .5, 1) both; }
#pl .pl-mark::before { content: ''; position: absolute; left: 50%; top: -10px; margin-left: -9px; border: 9px solid transparent; border-top-color: var(--red); border-bottom: 0; }

/* ───────────── the first page ───────────── */
#pl .pl-start { margin-top: 30px; padding: 22px clamp(16px, 3vw, 28px) 26px; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; animation: plIn .5s .35s ease-out both; }
#pl .pl-class { display: grid; gap: 2px; margin-bottom: 16px; padding: 10px 14px; color: #161616; background: var(--tape); border-radius: 6px; font-size: 15px; } #pl .pl-class b { font: 400 22px/1.1 var(--num); letter-spacing: .02em; }
#pl .pl-rules { display: grid; gap: 8px; margin-top: 16px; font-size: 16px; line-height: 1.45; } #pl .pl-rules li { position: relative; padding-left: 22px; }
#pl .pl-rules li::before { content: ''; position: absolute; left: 0; top: .28em; width: 3px; height: 1em; background: var(--ink); box-shadow: 6px 4px 0 -1px var(--ink), 6px 0 0 -1px transparent; }
#pl .pl-last { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 18px; padding: 14px 18px; border: 2px dashed var(--rule); border-radius: 10px; font-size: 16px; } #pl .pl-last b { font: 400 22px/1 var(--num); }
#pl .pl-teach { margin-top: 26px; padding: 20px clamp(16px, 3vw, 28px) 22px; border: 2px solid var(--rule); border-radius: 10px; } #pl .pl-teach > p { margin-top: 8px; max-width: 42em; font-size: 16px; line-height: 1.5; color: var(--soft); }
#pl .pl-newclass { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; } #pl .pl-newclass .pl-field { flex: 1 1 260px; }
#pl .pl-classes { display: grid; gap: 8px; margin-top: 18px; }
#pl .pl-classes a { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 16px; align-items: center; padding: 11px 14px; text-decoration: none; background: var(--card); border: 1.500px solid var(--rule); border-radius: 8px; }
#pl .pl-classes a:hover { border-color: var(--ink); } #pl .pl-classes b { font-size: 16px; } #pl .pl-classes span { font-size: 14.500px; font-weight: 600; } #pl .pl-classes small { font-size: 13.500px; color: var(--soft); }
#pl .pl-tnote { margin-top: 22px; font-size: 15px; line-height: 1.5; color: var(--soft); } #pl .pl-tnote a { font-weight: 700; color: var(--ink); }

/* ───────────── the test ───────────── */
#pl .pl-bar { position: sticky; top: 59px; z-index: 5; margin: 0 -6px; padding: 10px 6px 12px; background: var(--bg); }
#pl .pl-bar-t { display: flex; align-items: baseline; gap: 14px; } #pl .pl-bar-t b { font: 400 24px/1 var(--num); letter-spacing: .03em; } #pl .pl-bar-t span { font-size: 14.500px; font-weight: 600; color: var(--soft); }
#pl .pl-clock { margin-left: auto; padding: 4px 10px 2px; font: 400 22px/1 var(--num) !important; letter-spacing: .04em; color: #161616 !important; background: var(--tape); border: 2px solid #161616; border-radius: 5px; font-variant-numeric: tabular-nums; }
#pl .pl-clock.low { color: #fff !important; background: var(--red); }
#pl .pl-prog { height: 14px; margin-top: 9px; border: 2px solid var(--ink); border-radius: 3px; background: var(--card); overflow: hidden; }
#pl .pl-prog i { display: block; height: 100%; width: 0; background-color: var(--tape); background-image: linear-gradient(90deg, rgba(22, 22, 22, .8) 1.500px, transparent 1.500px); background-size: 12px 100%; transition: width .3s ease-out; }
#pl .pl-stage { margin-top: 16px; }
#pl .pl-text { margin-bottom: 20px; padding: 18px clamp(14px, 3vw, 24px) 20px; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; }
#pl .pl-text h2 { font-size: 26px; } #pl .pl-text p { margin-top: 10px; font-size: 17px; line-height: 1.7; }
#pl .pl-q { margin-top: 18px; animation: plIn .25s ease-out both; } #pl .pl-q:first-child { margin-top: 0; }
#pl .pl-q legend { display: block; width: 100%; font-size: clamp(19px, 3.400vw, 23px); font-weight: 700; line-height: 1.4; }
#pl .pl-q legend u { display: inline-block; min-width: 3.200em; text-decoration: none; border-bottom: 3px solid var(--ink); }
#pl .pl-text ~ .pl-q legend { font-size: 18px; }
#pl .pl-opts { display: grid; gap: 9px; margin-top: 12px; }
#pl .pl-opt { display: block; width: 100%; min-height: 50px; padding: 11px 16px; text-align: left; font-size: 17px; line-height: 1.35; background: var(--card); border: 2px solid var(--rule); border-radius: 8px; transition: border-color .1s, background-color .1s; }
#pl .pl-opt:hover { border-color: var(--ink); }
#pl .pl-opt.on { color: #161616; font-weight: 700; background: var(--tape); border-color: #161616; }
#pl .pl-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; } #pl .pl-nav .pl-msg { flex: 1; text-align: center; }

/* ───────────── the result ───────────── */
#pl .pl-rhead h1 { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 18px; margin-top: 4px; }
#pl .pl-rhead h1 b { padding: 6px 22px 0; font: 400 clamp(96px, 24vw, 170px)/.95 var(--num); color: #161616; background: var(--tape); border: 3px solid #161616; border-radius: 8px; box-shadow: 6px 6px 0 #161616; }
html.dark #pl .pl-rhead h1 b { box-shadow: 6px 6px 0 rgba(255, 210, 31, .3); }
#pl .pl-rhead h1 span { padding-bottom: 12px; font-size: clamp(30px, 6vw, 46px); line-height: 1; }
#pl .pl-parts { display: grid; gap: 10px; margin-top: 34px; }
#pl .pl-parts li { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 8px; animation: plIn .4s ease-out backwards; }
#pl .pl-parts li:nth-child(2) { animation-delay: .1s; } #pl .pl-parts li:nth-child(3) { animation-delay: .2s; }
#pl .pl-parts b { font: 400 21px/1 var(--num); letter-spacing: .03em; } #pl .pl-sc { font-size: 15.500px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
#pl .pl-meter { height: 12px; border: 2px solid var(--ink); border-radius: 3px; overflow: hidden; } #pl .pl-meter i { display: block; height: 100%; background: var(--tape); }
#pl .pl-lv { display: inline-grid; place-items: center; min-width: 44px; padding: 5px 8px 3px; font: 400 18px/1 var(--num); letter-spacing: .04em; color: #161616; background: var(--tape); border: 2px solid #161616; border-radius: 5px; }
#pl .pl-lv.lv-a1 { background: #fff; } #pl .pl-lv.lv-a2 { background: #FFF1B0; } #pl .pl-lv.lv-b1 { background: #FFD21F; } #pl .pl-lv.lv-b2 { background: #FFA41F; } #pl .pl-lv.lv-c1 { color: #fff; background: #E5352B; }
#pl .pl-told { margin-top: 22px; padding: 12px 16px; font-size: 16.500px; font-weight: 700; color: #161616; background: var(--tape); border-radius: 8px; }
#pl .pl-keep { margin-top: 18px; font-size: 15px; line-height: 1.5; color: var(--soft); } #pl .pl-keep a { font-weight: 700; color: var(--ink); }

/* ───────────── the teacher's list ───────────── */
#pl.pl-list { max-width: 1040px; }
#pl .pl-lhead h1 { font-size: clamp(40px, 8vw, 72px); }
#pl .pl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; font-size: 14.500px; font-weight: 700; } #pl .pl-share span { flex: 1 1 100%; }
#pl .pl-share input { flex: 1 1 260px; min-height: 40px; padding: 6px 12px; font: 600 15px/1.2 ui-monospace, 'Courier New', monospace; color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: 6px; }
#pl .pl-per { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
#pl .pl-per li { display: flex; align-items: baseline; gap: 8px; padding: 6px 14px 4px; border: 2px solid var(--rule); border-radius: 6px; color: var(--soft); } #pl .pl-per li.on { color: #161616; background: var(--tape); border-color: #161616; }
#pl .pl-per b { font: 400 20px/1 var(--num); letter-spacing: .04em; } #pl .pl-per span { font-size: 17px; font-weight: 800; }
#pl .pl-empty { margin-top: 26px; padding: 26px 18px; text-align: center; font-size: 17px; border: 2px dashed var(--rule); border-radius: 10px; }
#pl .pl-tablewrap { margin-top: 22px; overflow-x: auto; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); }
#pl .pl-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.500px; font-variant-numeric: tabular-nums; }
#pl .pl-table th { padding: 10px 10px 8px; font: 400 15px/1.15 var(--num); letter-spacing: .04em; text-align: center; color: #161616; background: var(--tape); border-bottom: 2px solid #161616; white-space: nowrap; }
#pl .pl-table td { padding: 9px 10px; text-align: center; border-top: 1px solid var(--rule); } #pl .pl-table .l { text-align: left; } #pl .pl-table td.l { font-weight: 600; }
#pl .pl-table tr.wait td { color: var(--soft); font-weight: 400; } #pl .pl-table td.warn { font-weight: 800; color: var(--red); }
#pl .pl-foot { margin-top: 16px; max-width: 54em; font-size: 14.500px; line-height: 1.55; color: var(--soft); }

@media (max-width: 640px) {
  #pl .pl-bar { top: 55px; }
  #pl .pl-tape { height: 78px; padding-right: 20px; } #pl .pl-hook { width: 20px; } #pl .pl-hook::after { left: 4px; } #pl .pl-tape-in b { font-size: 25px; } #pl .pl-tape-in small { display: none; } #pl .pl-tape-in span { padding-left: 6px; }
  #pl .pl-mark { left: calc((var(--at) + .6) * (100% - 20px) / 5); } #pl .pl-tape.res .pl-tape-in span.me b { font-size: 29px; }
  #pl .pl-parts li { grid-template-columns: 78px 1fr auto; } #pl .pl-parts .pl-sc { grid-column: 2; grid-row: 2; } #pl .pl-parts .pl-lv { grid-column: 3; grid-row: 1 / span 2; }
  #pl .pl-classes a { grid-template-columns: 1fr auto; } #pl .pl-classes small { grid-column: 1 / -1; }
  #pl .pl-nav .pl-btn { padding: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) { #pl *, #pl *::before { animation: none !important; transition: none !important; } }
html.lk-lite #pl *, html.lk-lite #pl *::before { animation: none !important; transition: none !important; }

/* ───────────── G7 (24 Nov 2026): THE TEACHER'S TOOLS — settings of a class, delete with a question first, one student's
   answers, and the look on paper (@media print: only the list or the answers, black on white, no site frame). ───────────── */
#pl .pl-tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 6px 10px 3px; font: 400 18px/1 var(--num); letter-spacing: .05em; color: #fff; background: var(--red); border: 2px solid #161616; border-radius: 5px; }
#pl .pl-tag.sm { margin-left: 6px; padding: 3px 7px 2px; font-size: 13px; font-style: normal; border-width: 1.500px; }
#pl .pl-now { margin-top: 10px; max-width: 46em; font-size: 15.500px; font-weight: 600; line-height: 1.5; color: var(--soft); }
#pl .pl-ok { max-width: max-content; margin-top: 12px; padding: 9px 14px; font-size: 15.500px; font-weight: 700; color: #161616; background: #BFEBD3; border: 2px solid #161616; border-radius: 6px; }
#pl .pl-teach .pl-ok { margin: 10px 0 2px; }
#pl .pl-tools { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 16px; }
#pl .pl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#pl .pl-tablewrap { position: relative; }   /* so the hidden column title above stays inside the table's own sideways scroll and does not make the whole page wider on a phone */
#pl .pl-btn.danger { color: #fff; background: var(--red); }

#pl .pl-set { margin-top: 22px; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; }
#pl .pl-set > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px 11px; font: 400 21px/1.1 var(--num); letter-spacing: .03em; cursor: pointer; list-style: none; border-radius: 7px; }
#pl .pl-set > summary::-webkit-details-marker { display: none; }
#pl .pl-set > summary::after { content: '+'; font: 400 28px/.8 var(--num); }
#pl .pl-set[open] > summary { color: #161616; background: var(--tape); border-bottom: 2px solid #161616; border-radius: 7px 7px 0 0; }
#pl .pl-set[open] > summary::after { content: '\2013'; }
#pl .pl-set form { padding: 6px 18px 20px; }
#pl .pl-ch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
#pl .pl-ch legend { margin-bottom: 8px; font-size: 14.500px; font-weight: 700; }
#pl .pl-ch label { position: relative; display: inline-flex; }
#pl .pl-ch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
#pl .pl-ch span { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 16px 8px 13px; font-size: 15.500px; font-weight: 600; background: var(--card); border: 2px solid var(--rule); border-radius: 8px; }
#pl .pl-ch span::before { content: ''; flex: none; width: 14px; height: 14px; border: 2px solid var(--soft); border-radius: 50%; }
#pl .pl-ch input[type=checkbox] + span::before { border-radius: 3px; }
#pl .pl-ch input:checked + span { color: #161616; font-weight: 800; background: var(--tape); border-color: #161616; }
#pl .pl-ch input:checked + span::before { background: #161616; border-color: #161616; box-shadow: inset 0 0 0 2px var(--tape); }
#pl .pl-ch input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }
#pl .pl-hint { max-width: 46em; margin-top: 16px; font-size: 14.500px; line-height: 1.55; color: var(--soft); }
#pl .pl-danger { margin: 0 18px 18px; padding: 16px 18px; border: 2px dashed var(--red); border-radius: 8px; }
#pl .pl-danger h2 { font-size: 21px; } #pl .pl-danger p { margin: 6px 0 12px; font-size: 15px; line-height: 1.5; }

#pl .pl-table td.l a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--edge); }
#pl .pl-table td.l a:hover { text-decoration-color: var(--ink); }
#pl .pl-table td small { font-size: 12.500px; font-weight: 600; color: var(--soft); white-space: nowrap; }
#pl .pl-x { min-height: 34px; padding: 4px 10px; font-size: 13.500px; font-weight: 700; color: var(--red); background: transparent; border: 1.500px solid var(--rule); border-radius: 6px; }
#pl .pl-x:hover { color: #fff; background: var(--red); border-color: #161616; }

#pl .pl-sure { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 18px; background: rgba(22, 22, 22, .66); }
#pl .pl-sure-in { width: min(100%, 470px); padding: 22px 22px 20px; background: var(--card); border: 3px solid var(--ink); border-radius: 12px; box-shadow: 8px 8px 0 var(--red); animation: plIn .18s ease-out both; }
#pl .pl-sure-in h2 { font-size: 30px; overflow-wrap: anywhere; } #pl .pl-sure-in > p { margin-top: 10px; font-size: 16.500px; line-height: 1.5; }
#pl .pl-sure-in .pl-msg:empty { display: none; }

#pl.pl-answers .pl-sub .pl-lv { vertical-align: middle; margin: 0 8px 0 2px; }
#pl .pl-ap { margin-top: 32px; }
#pl .pl-ap h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-bottom: 8px; font-size: 34px; border-bottom: 3px solid var(--ink); }
#pl .pl-ap-n { font: 800 18px/1 Inter, system-ui, sans-serif; letter-spacing: 0; color: var(--soft); }
#pl .pl-by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: 14.500px; }
#pl .pl-by span { margin-right: 4px; font-weight: 700; }
#pl .pl-by b { padding: 4px 9px; font-weight: 800; font-variant-numeric: tabular-nums; border: 2px solid var(--rule); border-radius: 6px; }
#pl .pl-by b.good { color: var(--ok); border-color: var(--ok); } #pl .pl-by b.weak { color: var(--red); border-color: var(--red); }
#pl .pl-al { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
#pl .pl-at { margin-top: 10px; font: 400 20px/1.2 var(--num); letter-spacing: .02em; }
#pl .pl-ai { padding: 12px 14px 12px 16px; background: var(--card); border: 1.500px solid var(--rule); border-left: 6px solid var(--rule); border-radius: 8px; }
#pl .pl-ai.ok { border-left-color: var(--ok); } #pl .pl-ai.no { border-left-color: var(--red); } #pl .pl-ai.skip { border-left-color: var(--soft); border-left-style: dashed; }
#pl .pl-aq { display: flex; align-items: baseline; gap: 8px; font-size: 16.500px; font-weight: 700; line-height: 1.45; }
#pl .pl-aq u { display: inline-block; min-width: 2.600em; text-decoration: none; border-bottom: 2px solid var(--ink); }
#pl .pl-an { flex: none; min-width: 26px; font: 400 18px/1 var(--num); color: var(--soft); }
#pl .pl-alv { flex: none; padding: 3px 6px 1px; font: 400 13px/1.2 var(--num); letter-spacing: .05em; color: #161616; background: var(--tape); border-radius: 4px; }
#pl .pl-ao { display: grid; gap: 4px; margin-top: 8px; padding-left: 34px; font-size: 15.500px; line-height: 1.4; }
#pl .pl-ao li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 3px 8px; color: var(--soft); border-radius: 5px; }
#pl .pl-ao li.right { font-weight: 700; color: var(--ink); background: rgba(27, 133, 83, .16); }
#pl .pl-ao li.chosen:not(.right) { font-weight: 700; color: var(--ink); background: rgba(229, 53, 43, .14); }
#pl .pl-ao li.chosen:not(.right) span { text-decoration: line-through; text-decoration-color: var(--red); }
#pl .pl-ao em { font-size: 12.500px; font-style: normal; font-weight: 800; }
#pl .pl-ao li.right em { color: var(--ok); } #pl .pl-ao li.chosen:not(.right) em { color: var(--red); }
#pl .pl-askip { margin: 6px 0 0 34px; font-size: 13.500px; font-weight: 700; color: var(--soft); }
#pl h1.pl-fin { font-size: clamp(44px, 10vw, 84px); }
@media (max-width: 640px) {
  #pl .pl-ao { padding-left: 0; } #pl .pl-askip { margin-left: 0; } #pl .pl-ap h2 { font-size: 28px; }
  #pl .pl-set form { padding: 4px 14px 18px; } #pl .pl-danger { margin: 0 14px 14px; padding: 14px; } #pl .pl-ch span { padding: 8px 13px 8px 11px; }
}
@media print {
  @page { size: A4; margin: 12mm; }
  html:has(#pl.pl-list), html:has(#pl.pl-list) body { background: #fff !important; }
  html:has(#pl.pl-list) .lk-skip, html:has(#pl.pl-list) .lk-top, html:has(#pl.pl-list) .lk-bottom, html:has(#pl.pl-list) .lk-foot, html:has(#pl.pl-list) .lk-scrim, html:has(#pl.pl-list) .lk-sheet, html:has(#pl.pl-list) .cp-toast, html:has(#pl.pl-list) footer { display: none !important; }
  html #pl.pl-list, html.dark #pl.pl-list { --ink: #000; --soft: #333; --rule: #999; --card: #fff; --bg: #fff; --ok: #0B6B3F; max-width: none; margin: 0; padding: 0; color: #000; background: #fff; }
  #pl.pl-list .pl-np, #pl.pl-list .pl-kick, #pl.pl-list .pl-share, #pl.pl-list .pl-tools, #pl.pl-list .pl-set, #pl.pl-list .pl-acts, #pl.pl-list .pl-sure, #pl.pl-list .pl-ok, #pl.pl-list .pl-xh, #pl.pl-list .pl-xc { display: none !important; }
  #pl.pl-list h1 { margin-top: 0; font-size: 30pt; } #pl.pl-list .pl-sub, #pl.pl-list .pl-now { margin-top: 4pt; font-size: 11pt; }
  #pl.pl-list .pl-tablewrap { margin-top: 10pt; overflow: visible; border-width: 1px; border-radius: 0; }
  #pl.pl-list .pl-table { min-width: 0; font-size: 10.500pt; } #pl.pl-list .pl-table th, #pl.pl-list .pl-table td { padding: 5pt 6pt; }
  #pl.pl-list .pl-table td.l a { text-decoration: none; }
  #pl.pl-list .pl-table tr, #pl.pl-list .pl-ai { break-inside: avoid; }
  #pl.pl-list .pl-table th, #pl.pl-list .pl-lv, #pl.pl-list .pl-per li.on, #pl.pl-list .pl-alv, #pl.pl-list .pl-ao li, #pl.pl-list .pl-tag { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #pl.pl-list .pl-foot { font-size: 9.500pt; }
  #pl.pl-list .pl-ap { margin-top: 14pt; } #pl.pl-list .pl-ap h2 { font-size: 18pt; } #pl.pl-list .pl-ai { padding: 6pt 8pt; } #pl.pl-list .pl-aq, #pl.pl-list .pl-ao { font-size: 10.500pt; }
}
