.ppv474-page{direction:rtl}.ppv476-page{display:flex;flex-direction:column;gap:14px}.ppv476-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-radius:16px;background:#123f60;color:#fff}.ppv476-toolbar-title{display:flex;align-items:center;gap:16px}.ppv476-toolbar-title h2{margin:0;font-size:18px}.ppv476-toolbar-title p{margin:4px 0 0;font-size:11px;color:#c8d9e6}.ppv476-toolbar .settings-back-btn{color:#fff;border-color:#6d91a9;background:rgba(255,255,255,.06)}.ppv476-version-bar{display:grid;grid-template-columns:minmax(280px,1.15fr) auto auto;align-items:end;gap:18px;padding:15px 17px}.ppv476-version-select{display:flex;flex-direction:column;gap:6px}.ppv476-version-select label{font-size:11px;color:#617487;font-weight:800}.ppv476-version-select select{min-height:42px}.ppv476-version-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#53677a}.ppv476-version-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.ppv476-history-note{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #d9e5ee;border-radius:12px;background:#f8fbfd;font-size:11px;color:#526b7d}.ppv476-history-note b{color:#173a55}.ppv476-main-tabs{display:flex;gap:6px;border-bottom:1px solid #dfe7ed;padding:0 2px}.ppv476-main-tabs button{border:0;background:transparent;padding:10px 15px;color:#657789;font-weight:800;cursor:pointer;border-bottom:3px solid transparent}.ppv476-main-tabs button.is-active{color:#123f60;border-bottom-color:#123f60}.ppv476-main-tabs em{font-style:normal;background:#b13a3a;color:#fff;border-radius:999px;padding:1px 6px;font-size:9px}.ppv476-rules-shell{display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-areas:"positions head" "positions rules";gap:12px 16px;align-items:start}.ppv474-position-tabs{grid-area:positions;display:flex;flex-direction:column;gap:6px;padding:9px;border:1px solid #dfe7ed;border-radius:14px;background:#fff;position:sticky;top:12px}.ppv474-position-tabs button{display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;background:transparent;border-radius:10px;padding:10px 11px;color:#53697c;font-weight:800;text-align:right;cursor:pointer}.ppv474-position-tabs button:hover{background:#f3f7fa}.ppv474-position-tabs button.is-active{background:#eaf2f8;color:#123f60}.ppv474-position-tabs em{font-style:normal;min-width:24px;text-align:center;padding:2px 6px;border-radius:999px;background:#fff;border:1px solid #d8e4ed;font-size:10px}.ppv476-rules-head{grid-area:head;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 2px}.ppv476-rules-head>div{display:flex;align-items:center;gap:10px}.ppv476-rules-head h3{margin:0;font-size:15px;color:#173650}.ppv476-rules-head span,.ppv476-rules-head small{font-size:10px;color:#758697}.ppv474-rule-grid{grid-area:rules;display:grid;grid-template-columns:1fr;gap:8px}.ppv474-rule-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #dfe7ed;border-radius:12px;background:#fff}.ppv474-rule-card.is-disabled{opacity:.66}.ppv474-rule-main{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1;min-width:0}.ppv474-rule-title{display:flex;align-items:flex-start;gap:10px;min-width:0}.ppv474-rule-title h3{margin:0;font-size:13px;color:#173650}.ppv474-rule-title p{margin:4px 0 0;font-size:10.5px;color:#6a7c8d;line-height:1.65}.status-dot{width:9px;height:9px;border-radius:50%;margin-top:5px;flex:none}.status-dot.is-on{background:#2b8a62}.status-dot.is-off{background:#a3adb6}.ppv474-type-badge{font-size:9.5px;padding:4px 8px;border-radius:999px;background:#f1f5f8;color:#607385;white-space:nowrap}.ppv474-rule-card footer{display:flex;gap:6px;flex:none}.ppv474-clean-empty,.ppv476-page .ppv474-clean-empty{padding:28px;text-align:center;color:#748697;border:1px dashed #d7e1e9;border-radius:12px;background:#fff}.ppv474-bonus-card{padding:16px}.ppv474-rule-meta,.ppv474-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ppv474-field{display:flex;flex-direction:column;gap:6px}.ppv474-field span{font-size:11px;font-weight:800;color:#3f5568}.ppv474-field small{font-size:9.5px;color:#7a8997}.ppv474-tiers{margin-top:16px;border:1px solid #dfe7ed;border-radius:12px;padding:12px}.ppv474-tier-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.ppv474-tier-head>div{display:flex;flex-direction:column;gap:2px}.ppv474-tier-head small{font-size:9.5px;color:#758697}.ppv474-tier-row{display:grid;grid-template-columns:1fr 1fr 1.4fr 38px;gap:8px;margin-top:6px;align-items:center}.ppv474-tier-row.is-head{font-size:10px;color:#64778a}.ppv476-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:14px;border-radius:10px;background:#f4f8fb}.ppv476-editor-heading>div{display:flex;flex-direction:column;gap:2px}.ppv476-editor-heading b{font-size:13px;color:#173650}.ppv476-editor-heading span{font-size:10px;color:#6d7f90}.ppv476-editor-section{margin-top:15px}.ppv476-editor-section h4{margin:0 0 10px}.ppv476-edit-safe{padding:12px 14px;border:1px solid #dbe7ef;border-radius:12px;background:#f8fbfd;margin-bottom:14px}.ppv476-edit-safe b{color:#173650}.ppv476-edit-safe p{margin:5px 0 0;font-size:11px;color:#64798a;line-height:1.8}@media(max-width:1000px){.ppv476-version-bar{grid-template-columns:1fr}.ppv476-version-actions{justify-content:flex-start}.ppv476-rules-shell{grid-template-columns:1fr;grid-template-areas:"positions" "head" "rules"}.ppv474-position-tabs{position:static;flex-direction:row;overflow:auto}.ppv474-position-tabs button{white-space:nowrap}.ppv474-rule-main{align-items:flex-start;flex-direction:column;gap:7px}}@media(max-width:680px){.ppv476-toolbar,.ppv476-toolbar-title,.ppv474-rule-card{align-items:flex-start;flex-direction:column}.ppv476-toolbar{padding:14px}.ppv474-rule-meta,.ppv474-config-grid{grid-template-columns:1fr}.ppv474-rule-card footer{width:100%}.ppv474-rule-card footer .btn{flex:1}.ppv474-tier-row{grid-template-columns:1fr 1fr}.ppv474-tier-row button{grid-column:2}.ppv476-rules-head{align-items:flex-start;flex-direction:column}}
