/* worksheets: the settings box, the paper (always black on white, like the print), and the print rules */
.finder .wide{grid-column:1/-1}
.ck{display:flex!important;align-items:center;gap:10px;min-height:44px;margin-top:10px;font-weight:600;cursor:pointer}
.ck input{width:22px;height:22px;accent-color:var(--accent)}
.ws-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.ws-papers{max-width:860px}
.paper{background:#fff;color:#111;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:18px 16px;margin:16px 0;font-family:Arial,'Helvetica Neue',sans-serif;line-height:1.4;overflow:hidden;color-scheme:light}
.paper.key{border-style:dashed}
.p-load{color:#666}
.p-head{display:flex;justify-content:space-between;align-items:flex-end;gap:8px 16px;flex-wrap:wrap;border-bottom:2px solid #111;padding-bottom:6px;margin-bottom:10px}
.p-head b{font-size:1.25rem}.p-head span{font-size:.92rem}
.p-instr{margin:0 0 14px;font-size:.98rem}
.bl{display:inline-block;min-width:64px;height:1em;border-bottom:1.5px solid #111;text-decoration:none;vertical-align:baseline}
.bl.s{min-width:34px}.bl.s2{min-width:56px}.bl.l{min-width:min(100%,230px);width:60%}.bl.x{display:block;margin-top:16px}
.ud{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;font-weight:700}
.p-items{list-style:none;counter-reset:q;padding:0;margin:0;display:grid;gap:22px 12px;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--minw)),1fr))}
.p-items li{counter-increment:q;display:flex;gap:4px;align-items:flex-start;break-inside:avoid;font-size:1.1rem;margin:0}
.p-items li::before{content:counter(q) ".";font-size:.72rem;color:#666;min-width:1.7em;padding-top:.35em;flex:none}
.p-items .q{flex:1;min-width:0}
.v{display:inline-flex;flex-direction:column;align-items:flex-end;font-family:'JetBrains Mono',Consolas,'Courier New',monospace;font-size:1.2rem;line-height:1.35;min-width:3.2em}
.v>span:nth-child(2){display:flex;justify-content:space-between;align-self:stretch;gap:.5em}
.v i{font-style:normal}
.v .ln{align-self:stretch;border-top:2px solid #111;height:1.7em}
.fr{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;line-height:1.15;margin:0 2px}
.fr i{font-style:normal;padding:0 5px}.fr i:first-child{border-bottom:1.5px solid #111}
.box{display:inline-block;width:1.7em;height:1.7em;border:1.5px solid #111;border-radius:4px;vertical-align:middle;margin:0 4px}
.box.big{width:2.4em;height:2.4em;margin-left:10px}
.clk{width:112px;height:112px;display:block;margin:0 auto}
.clocks .q{text-align:center}.tm{display:block;margin-top:6px}
.cnt{display:inline-flex;flex-wrap:wrap;gap:4px;vertical-align:middle;max-width:calc(100% - 3.6em)}
.shp{width:26px;height:26px}
.xs{display:block;margin-top:10px}
.tbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:16px 12px}
.tb{break-inside:avoid}.tb b{display:block;margin-bottom:4px}
.tb span{display:block;font-family:'JetBrains Mono',Consolas,monospace;font-size:.98rem;line-height:1.75;white-space:nowrap}
.paper table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:1rem}
.paper td{padding:0;text-align:center;vertical-align:middle;border:1.5px solid #111}
.paper tr:last-child td{border-bottom:1.5px solid #111}
.g100 td{height:2.3em;font-size:clamp(.66rem,3vw,.95rem)}
.sqr td{border:1px solid #777;aspect-ratio:1}.sqr tr:last-child td{border-bottom:1px solid #777}
.sqr.dots td,.sqr.dots tr:last-child td{border:0;position:relative}
.sqr.dots td::after{content:"";position:absolute;left:50%;top:50%;width:0;height:0;border:1.5px solid #444;border-radius:50%}
.rule{position:relative;border-top:1.5px solid #333;margin-bottom:22px;height:40px;break-inside:avoid}
.rule.l{height:54px;margin-bottom:26px}.rule.s{height:30px;margin-bottom:16px}
.rule i{position:absolute;left:0;right:0}
.rule.four{border-bottom:1px solid #999}
.rule.four i:first-child{top:33%;border-top:1px dashed #888}.rule.four i:last-child{top:68%;border-top:1.5px solid #333}
.rule.two{border-bottom:1.5px solid #333}
.rule.single{border-top:0;border-bottom:1.5px solid #333;margin-bottom:0;height:34px}.rule.single.l{height:44px}.rule.single.s{height:27px}
.tr{display:block;width:100%;height:auto;margin-bottom:8px;break-inside:avoid}
.tr .g1{stroke:#333;stroke-width:1.5}.tr .g2{stroke:#888;stroke-width:1;stroke-dasharray:8 6}.tr .g3{stroke:#aaa;stroke-width:1}
.tr .gt{fill:#bcbcbc}.tr .bt{fill:#111}
.wsg{max-width:34em;margin:0 auto}
.wsg td{aspect-ratio:1;border:1px solid #999;font:700 clamp(.7rem,3.2vw,1.05rem) 'JetBrains Mono',Consolas,monospace}
.wsg tr:last-child td{border-bottom:1px solid #999}
.wsg td.hit{border:2.5px solid #111;text-decoration:underline}
.wl{list-style:none;padding:0;margin:16px 0 0;columns:3 110px;font-weight:700;letter-spacing:.04em}
.wl li{margin:0 0 4px}
.p-keys{columns:4 120px;column-gap:18px;font-size:.92rem;padding-left:2em;margin:0}
.p-keys li{break-inside:avoid;margin:0 0 3px}
.p-foot{display:flex;justify-content:space-between;gap:10px;margin-top:18px;font-size:.72rem;color:#555}
.tu{break-inside:avoid}
@page{size:A4;margin:12mm}
@media print{
  html,body{background:#fff!important}
  body>*:not(main){display:none!important}
  main>*:not(.ws-papers){display:none!important}
  .ws-papers{max-width:none;padding:0}
  .paper{border:0;box-shadow:none;border-radius:0;padding:0;margin:0;overflow:visible}
  .paper[hidden],.noprint{display:none!important}
  #key{break-before:page}
  .p-items{grid-template-columns:repeat(var(--cols),1fr);gap:8.5mm 5mm;font-size:13pt}
  .p-items li{font-size:13pt}
  .tbs{grid-template-columns:repeat(4,1fr)}
  .rule,.tr{break-inside:avoid}
}
