.redx{max-width:1380px;margin:auto;padding:24px;color:#17213a}.redx .back{display:inline-flex;margin-bottom:16px;color:#5135a5;font-weight:800;text-decoration:none}.hero{display:flex;justify-content:space-between;align-items:center;padding:26px 30px;border-radius:20px;background:linear-gradient(120deg,#201351,#7136a8);color:#fff}.hero h1{margin:.25rem 0}.hero p{max-width:780px;margin:0;opacity:.88}.hero span,.title span,.rules-head span{font-size:.72rem;font-weight:900;letter-spacing:.13em}.hero-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#ffffff20;font-size:2rem;font-weight:900}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.quick button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:15px;border:1px solid #e1dbea;border-radius:14px;background:#fff;color:#24183c;cursor:pointer;text-align:left;font-size:1.2rem}.quick button:hover{border-color:#7955bd;box-shadow:0 5px 18px #4c2c8517}.quick b{font-size:.95rem}.quick small{color:#756c82}.layout{display:grid;grid-template-columns:minmax(560px,1fr) minmax(390px,.85fr);gap:18px;align-items:start}.card{padding:22px;border:1px solid #e5e0ec;border-radius:18px;background:#fff;box-shadow:0 8px 24px #2a15500b}.title,.rules-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px;margin-bottom:17px;border-bottom:1px solid #eeeaf2}.title h2,.rules-head h2{margin:3px 0}.title em{padding:7px 11px;border-radius:99px;background:#e5f7ec;color:#17613c;font-style:normal;font-weight:800}.grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.redx label{display:flex;flex-direction:column;gap:6px;font-weight:750}.redx label small{color:#756e80;font-weight:400;line-height:1.35}.redx input,.redx select,.redx textarea{box-sizing:border-box;width:100%;min-height:45px;padding:9px 11px;border:1px solid #d9d3e1;border-radius:10px;background:#fff;color:#17213a;font:inherit}.redx input:focus,.redx select:focus,.redx textarea:focus{outline:3px solid #6c43ad1e;border-color:#7046b4}.full{grid-column:1/-1}.toggle,.free{grid-column:1/-1;display:grid!important;grid-template-columns:auto 1fr;align-items:center;padding:12px;border-radius:11px;background:#f8f5fc}.toggle input,.free input{width:auto;min-height:0}.free small{grid-column:2}.value{display:flex}.value input{border-radius:10px 0 0 10px}.value span{display:grid;place-items:center;min-width:44px;border:1px solid #d9d3e1;border-left:0;border-radius:0 10px 10px 0;background:#f4f1f7;font-weight:900}.save{width:100%;margin-top:17px;padding:13px;border:0;border-radius:11px;background:#5a2e9b;color:#fff;font-weight:900;cursor:pointer}.rules-head input{max-width:190px}.rule-list{display:grid;gap:10px}.rule-list article{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:13px;border:1px solid #ebe6f0;border-radius:13px}.rule-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#f0e9fa;color:#5a2e9b;font-weight:900}.rule-list code{color:#69449f;font-weight:800}.rule-list h3,.rule-list p{margin:3px 0}.rule-list p{color:#716a7a;font-size:.86rem}.amount{text-align:right;display:flex;flex-direction:column}.amount small{color:#716a7a}@media(max-width:1000px){.layout{grid-template-columns:1fr}.quick{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.redx{padding:12px}.hero,.card{padding:18px}.hero-icon{display:none}.grid,.quick{grid-template-columns:1fr}.rule-list article{grid-template-columns:auto 1fr}.amount{grid-column:2;text-align:left}.rules-head{align-items:flex-start;flex-direction:column;gap:10px}.rules-head input{max-width:none}}
