:root{color-scheme:light;--ink:#16334e;--sub:#476078;--line:#dbe5ee;--paper:#f5f8fb;--blue:#22599b;--mist:#e9f1f9;--green:#27624e;--red:#85342e}*{box-sizing:border-box}body{margin:0;font:16px/1.5 system-ui,sans-serif;background:var(--paper);color:var(--ink)}button,input{font:inherit;color:inherit}button{cursor:pointer;min-height:43px;background:var(--mist);border:1px solid var(--line);border-radius:10px;padding:7px 12px;font-weight:700}button:disabled{opacity:.48;cursor:default}.primary{background:var(--blue);color:white;border-color:var(--blue)}:focus-visible{outline:3px solid #ac682d;outline-offset:2px}[hidden]{display:none!important}.top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px max(4vw,12px);border-bottom:1px solid var(--line);background:white}.brand{font-size:15px;font-weight:800;display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}.brand span{color:white;background:var(--ink);width:33px;height:33px;border-radius:9px;display:grid;place-items:center}.top button{min-height:37px}main{max-width:1180px;margin:auto;padding:18px 22px 45px}body.edit main{max-width:none;padding:6px 12px 10px}.intro{max-width:735px;margin:18px 0}.caption{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--sub)}h1{font-size:clamp(34px,6vw,58px);line-height:1.04;letter-spacing:-.06em;margin:5px 0 11px}h2{font-size:1.3rem;line-height:1.19;margin:0 0 9px}p{margin:6px 0;color:var(--sub)}.panel{background:#fff;padding:17px;border:1px solid var(--line);border-radius:16px;min-width:0}.toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:13px 0}.grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));align-items:stretch}.card{display:flex;flex-direction:column}.card .toolbar{margin-top:auto;padding-top:9px}.small,.help{font-size:.9rem}.flag{font-size:.82rem;font-weight:760;color:var(--sub);text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.flag.ready{color:var(--green)}.rules{padding:11px 14px;background:#eaf1f7;border-radius:10px;font-size:.93rem}.danger{color:var(--red);background:#fcf0ed}.add{margin-top:14px;display:flex;align-items:end;flex-wrap:wrap;gap:8px}.add label{flex:1;min-width:190px}.auth{max-width:530px}.auth button{margin-top:9px}label{display:grid;gap:3px;font-weight:650}input{min-height:43px;min-width:0;padding:7px 9px;background:#fff;border:1px solid #b1c3d5;border-radius:8px;width:100%}.workhead{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:8px}.workhead h1{font-size:clamp(24px,4vw,40px);margin:4px 0}.workhead .toolbar{margin:3px 0}.save{font-size:.89rem;color:var(--sub);margin:7px 0;min-height:1.25em}.save.warning,#status.error{font-weight:700;color:var(--red)}iframe{display:block;width:100%;min-height:460px;height:calc(100dvh - 238px);border:1px solid var(--line);border-radius:12px;background:white}dialog{max-width:min(94vw,600px);border:0;border-radius:15px;padding:0;background:#fff;color:inherit}dialog::backdrop{background:#09234199}#status:empty{display:none}@media(max-width:650px){main{padding:9px 12px 32px}.workhead p{font-size:.88rem}.toolbar button{min-height:43px}.card h2{font-size:1.24rem}iframe{height:65dvh;min-height:400px}}
