.lottery-editor{max-width:1240px;padding-block:28px 64px}.lottery-editor header{max-width:760px;margin-bottom:28px}.lottery-editor h1{font-size:clamp(1.65rem,3vw,2.4rem);line-height:1.4;margin:12px 0}.lottery-editor h2{font-size:1.25rem;margin:16px 0}.lottery-editor h3{font-size:1.1rem;margin:14px 0}.lottery-editor p{line-height:1.75}.lottery-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px}.lottery-columns>section{min-width:0}.lottery-editor fieldset{border:0;padding:0;min-width:0}.lottery-editor label{display:block;font-weight:600;margin:16px 0 8px}.lottery-editor input:not([type=checkbox]),.lottery-editor select,.lottery-editor textarea{width:100%;min-height:44px;padding:10px;border:1px solid #81998c;background:white;color:#20372c;border-radius:5px;font-size:16px}.lottery-editor textarea{resize:vertical;line-height:1.7}.lottery-editor button{min-height:44px;padding:10px 14px;border:1px solid #81998c;border-radius:5px;font:inherit;cursor:pointer}.lottery-editor button:disabled{opacity:.55;cursor:default}.lottery-editor .button{background:#244f40;color:white}.lottery-editor :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #356a59;outline-offset:3px}.lottery-editor .lottery-check{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:400}.lottery-check input{width:20px;height:20px}.lottery-hint{font-size:.875rem;color:#4e5b55}.lottery-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}.lottery-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.lottery-fields>p{grid-column:1/-1}.lottery-panel,.lottery-review{padding:18px;border:1px solid #bac9c1;border-radius:6px;margin:20px 0;background:#f0f5f0}.lottery-error{color:#9b2929;overflow-wrap:anywhere}.lottery-summary{display:flex;flex-wrap:wrap;gap:12px;padding:16px;background:#eaf1eb}.lottery-current{padding:18px;border:1px solid #b7c7bc;border-radius:6px;margin:16px 0;background:white}.lottery-results{list-style:none;padding:0;margin:0;display:grid;gap:12px}.lottery-results li{display:flex;align-items:baseline;gap:12px;overflow-wrap:anywhere;min-width:0}.lottery-results li>span:last-child{min-width:0}.lottery-result-position{font-size:.8em;color:#496453;flex-shrink:0}.lottery-editor details{margin:20px 0;border-top:1px solid #c9d1cb;padding-top:10px}.lottery-editor summary{min-height:44px;padding:10px 0;cursor:pointer;font-weight:600}.lottery-candidates{max-height:320px;overflow:auto;overflow-wrap:anywhere;padding-left:28px}.lottery-history-scroll{overflow:auto;max-height:450px}.lottery-editor table{border-collapse:collapse;width:100%;font-size:14px}.lottery-editor td,.lottery-editor th{border:1px solid #c0cfc5;text-align:left;padding:10px;overflow-wrap:anywhere;max-width:300px}.lottery-editor caption{text-align:left;margin:12px 0}.lottery-presentation{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:24px;background:#f8f9f5;border:0;overflow:auto}.lottery-presentation::backdrop{background:#20372c}.lottery-presentation header{max-width:none;display:flex;align-items:center;justify-content:space-between;gap:16px}.lottery-presentation .lottery-results{font-size:clamp(1.25rem,4vw,2.6rem);max-width:1100px;margin:24px auto}.lottery-example-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.lottery-example-grid figure{min-width:0;margin:0}.lottery-example-grid img{width:100%;height:auto;border:1px solid #bac9c1;border-radius:6px}.lottery-example-grid figcaption{margin-top:12px}@media(max-width:760px){.lottery-columns,.lottery-example-grid{grid-template-columns:minmax(0,1fr)}.lottery-editor{padding-top:18px}.lottery-presentation{padding:16px}.lottery-presentation header{align-items:flex-start;flex-wrap:wrap}}