.puzzle-tool{background:#f6faf8;color:#193d35;border:1px solid #cbd5d1;border-radius:.8rem;padding:1rem;margin:1.5rem 0;min-width:0}.puzzle-tool[hidden],.puzzle-tool [hidden]{display:none!important}.puzzle-tool label{display:block;margin:.7rem 0}.puzzle-tool input:not([type=checkbox]),.puzzle-tool textarea,.puzzle-tool select{display:block;max-width:100%;width:100%;box-sizing:border-box;font:inherit;padding:.5rem}.puzzle-tool textarea{min-height:9rem}.puzzle-tool button{font:inherit;margin:.25rem;padding:.6rem .8rem;max-width:100%;cursor:pointer}.puzzle-tool button:disabled{opacity:.55;cursor:default}.puzzle-tool :focus-visible{outline:3px solid #21675a;outline-offset:2px}.puzzle-scroll{max-width:100%;overflow-x:auto;margin:1rem 0}.puzzle-grid{width:100%;border-collapse:collapse;table-layout:fixed;background:white;color:#17232d}.puzzle-grid caption{text-align:left;font-weight:700;padding:.5rem 0}.puzzle-grid td{border:1px solid #75867f;text-align:center;font-variant-numeric:tabular-nums;font-weight:600;padding:0;height:1.8em;min-width:0}.puzzle-marked{background:#d4e8d9;text-decoration:underline;text-decoration-thickness:2px}.puzzle-tool #word-output .puzzle-grid,.puzzle-tool #word-key .puzzle-grid{min-width:240px;max-width:620px}.tambola-ticket{background:#fff;border:1px solid #bdcdc5;border-radius:.5rem;padding:.65rem;margin:.7rem 0;break-inside:avoid}.tambola-strip{max-width:720px;break-inside:auto}.tambola-match{font-size:.9rem}.tambola-current{font-size:clamp(2.4rem,10vw,5rem);font-weight:700;line-height:1.2}#tambola-calls{overflow-wrap:anywhere}#word-key{margin-top:1.25rem}#word-key .puzzle-grid{margin-bottom:1rem}.puzzle-tool button{min-height:44px}
@media print{body:has(#word-output .puzzle-grid) header,body:has(#word-output .puzzle-grid) footer,body:has(#word-output .puzzle-grid) main> :not(#word-puzzle),body:has(#tambola-tickets .tambola-ticket) header,body:has(#tambola-tickets .tambola-ticket) footer,body:has(#tambola-tickets .tambola-ticket) main> :not(#tambola-tool),.puzzle-tool .puzzle-controls,.puzzle-tool .puzzle-status,.tambola-match{display:none!important}.puzzle-tool{border:0;padding:0;background:#fff;break-inside:auto}.puzzle-scroll{overflow:visible}.puzzle-grid td{height:1.5em;font-size:10pt}.tambola-ticket{padding:.25rem;margin:.2rem 0}.tambola-strip{break-after:page}.tambola-strip:last-child{break-after:auto}#word-key:not([hidden]){break-before:page}}
