:root{font-family:system-ui,sans-serif;color:#24403c;background:#eff2eb;--dim:#4d675c;--line:#c5d3c9;--green:#204f48}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:44px;padding:.61rem .81rem;border:1px solid #91aa9e;border-radius:.45rem;background:#fff;color:var(--green);font-weight:730}button:hover{background:#dfede5}.primary{background:#28584d;color:#fff;border-color:#28584d}.primary:hover{background:#34705f}:focus-visible{outline:3px solid #9c4d23;outline-offset:3px}.wrap{max-width:1110px;margin:auto;padding:0 25px}header{background:#213e37;color:#fff}.bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;height:64px}.bar a{color:inherit;text-decoration:none;font-weight:800;font-size:1.12rem;display:flex;align-items:center;gap:.5rem}.bar a span{width:34px;height:34px;display:grid;place-items:center;background:#cee6d2;color:#264b42;border-radius:7px;font-size:1.2rem}.bar button{color:#fff;background:transparent;border-color:#83a396}.hero{display:flex;align-items:end;justify-content:space-between;gap:.8rem;margin:39px 0 23px}.kicker{font-size:.71rem;letter-spacing:.13em;font-weight:800;color:#4c7662}.hero h1{font-size:clamp(3rem,8.2vw,5.7rem);letter-spacing:-.073em;line-height:.94;margin:.23em 0}.hero p{color:var(--dim);margin:0;max-width:540px;line-height:1.5}.switch{display:grid;grid-template-columns:1fr 1fr;gap:.58rem;margin-bottom:1rem}.switch button{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:.42rem}.switch button[aria-pressed=true]{background:#d9ebdf;border-color:#8aa893}.switch small{font-size:.77rem;color:var(--dim)}.layout{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:1rem;align-items:start}.card{border:1px solid var(--line);border-radius:.62rem;background:#fff;min-width:0;overflow-wrap:anywhere}.head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;border-bottom:1px solid var(--line);padding:.76rem .84rem}.head h2{font-size:1.2rem;margin:.2rem 0}.map{background:#f7fbf5;width:100%;max-height:290px;display:block}.map text{font-size:11px;font-weight:800;fill:#4c6c5d}.map .letter{fill:#fff;text-anchor:middle}.plan p{font-size:.86rem;color:var(--dim);margin:.55rem .83rem}.settings{display:flex;flex-wrap:wrap;align-items:end;gap:.48rem;padding:.7rem .84rem}.settings label,.editor label{display:grid;gap:.2rem;font-size:.81rem;font-weight:730}.settings input,.settings select,.editor textarea{padding:.5rem;border-radius:.37rem;border:1px solid #8fa99a;background:#fff;color:#214438}.settings input{width:8rem;max-width:100%}.settings button{min-height:40px}.sign{margin:.75rem .85rem;padding:1rem .8rem;min-height:93px;background:#285653;color:#f8ffef;border:6px solid #e0ecd5;border-radius:.6rem;box-shadow:0 0 0 1px #9db7a5;display:flex;align-items:center;justify-content:space-between;gap:.55rem}.sign b{font-size:clamp(1.05rem,4vw,2rem)}.sign strong{font-size:2.45rem;line-height:1;flex:none}.status{border-radius:1rem;background:#edece1;color:#596146;padding:.29rem .48rem;font-size:.76rem;font-weight:750}.status.matches,.result.matches{background:#e2efe3;color:#29543c}.status.reversed,.result.reversed,.result.wrong-side{background:#f7e7d8;color:#7b4629}.result{margin:.6rem .85rem;border-radius:.42rem;background:#eef1e9;padding:.61rem .67rem}.result p{margin:.23rem 0 0;font-size:.88rem}.editor{padding:.8rem;margin-bottom:.9rem}.editor textarea{display:block;width:100%;margin:.4rem 0;font-family:ui-monospace,monospace}.error{color:#8d3b27;font-weight:730}footer{color:var(--dim);margin:1.15rem 0 2rem;font-size:.83rem}@media(max-width:780px){.hero{align-items:start;flex-direction:column}.layout{grid-template-columns:1fr}}@media(max-width:480px){.wrap{padding:0 14px}.bar a{font-size:.98rem}.bar button{font-size:.79rem}.hero{margin:26px 0 19px}.switch small{font-size:.71rem}.head,.settings{padding:.62rem}}
