:root{--rt-ink:#20283f;--rt-muted:#69738b;--rt-blue:#3b4cca;--rt-line:#dfe5f1;--rt-pale:#f6f8fd;--rt-good:#167554;--rt-green:#e7f9ef;--rt-red:#a23640}body{background:#f6f8fd;color:var(--rt-ink)}.rt-wrap{width:min(1240px,calc(100% - 36px));margin:0 auto;padding:36px 0 70px}.rt-hero{max-width:820px;margin-bottom:25px}.rt-kicker{font-size:12px;font-weight:900;letter-spacing:.16em;color:#4b60d1}.rt-hero h1{font-size:clamp(30px,4vw,50px);letter-spacing:-.045em;line-height:1.12;margin:11px 0}.rt-hero p{font-size:clamp(15px,1.6vw,18px);color:#59657b;line-height:1.6}.rt-layout{display:grid;grid-template-columns:minmax(315px,440px) minmax(0,1fr);align-items:start;gap:22px}.rt-card{background:#fff;border:1px solid var(--rt-line);border-radius:22px;padding:24px;box-shadow:0 7px 28px rgba(36,54,108,.055)}.rt-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px}.rt-title h2{font-size:22px;letter-spacing:-.02em;margin:0 0 4px}.rt-title p{font-size:13px;color:var(--rt-muted);margin:0;line-height:1.55}.rt-n{display:grid;place-items:center;flex:none;height:30px;width:30px;border-radius:10px;background:#e9eeff;color:#3d50c0;font-weight:800}.rt-title-small{margin-top:27px}.rt-field{display:flex;flex-direction:column;gap:8px;font-weight:700;font-size:14px;margin:12px 0}.rt-field small{font-weight:400;color:var(--rt-muted)}.rt-field textarea,.rt-field select,.rt-field input,.rt-rulecontrols select{width:100%;border:1px solid #cbd4e6;border-radius:11px;min-height:45px;padding:11px 13px;font-size:15px;line-height:1.5;background:#fff;color:var(--rt-ink)}.rt-field textarea{resize:vertical;min-height:80px}.rt-field textarea#rtRoster{min-height:188px;font-size:15px}.rt-field :is(textarea,select,input):focus,.rt-rulecontrols select:focus{outline:3px solid #b2c5fa;border-color:var(--rt-blue)}.rt-muted{color:var(--rt-muted);font-size:12px;font-weight:400}.rt-quick{display:flex;gap:10px}.rt-wrap button{font-family:inherit;background:#f1f4fd;border:1px solid #d8dfef;border-radius:10px;padding:10px 14px;color:#293653;font-size:14px;font-weight:700;cursor:pointer;min-height:42px}.rt-wrap button:hover{background:#e7ecff}.rt-wrap button:focus-visible{outline:3px solid #8daafc;outline-offset:2px}.rt-wrap button.rt-primary{background:#3c4dcb;color:#fff;border-color:#3c4dcb}.rt-wrap button.rt-primary:hover{background:#2f3eaa}.rt-wrap button.rt-big{margin-top:17px;padding:16px 18px;width:100%;min-height:55px;font-size:17px;display:flex;justify-content:space-between}.rt-predict{background:#eff3ff;border:1px solid #e0e7ff;color:#3c4d9d;font-weight:700;border-radius:11px;padding:11px 12px;font-size:13px}.rt-advanced{border:1px solid var(--rt-line);border-radius:12px;margin-top:14px}.rt-advanced summary{cursor:pointer;padding:14px;display:flex;justify-content:space-between;gap:8px;align-items:center;font-weight:800;list-style:none}.rt-advanced summary::-webkit-details-marker{display:none}.rt-advanced summary:after{content:'⌄';color:var(--rt-blue)}.rt-advanced[open] summary:after{content:'⌃'}.rt-advancedbody{border-top:1px solid var(--rt-line);padding:12px 15px 18px}.rt-toggle{display:flex;gap:11px;margin:10px 0;align-items:flex-start;font-weight:750;font-size:13px;cursor:pointer}.rt-toggle input{width:18px;height:18px;accent-color:var(--rt-blue);flex:none}.rt-toggle small{display:block;color:var(--rt-muted);font-weight:400;font-size:12px;margin-top:3px;line-height:1.45}.rt-rules h3{font-size:16px;margin:16px 0 6px}.rt-rules p{margin:0 0 10px}.rt-rulecontrols{display:grid;grid-template-columns:1fr 1fr;gap:6px}.rt-rulecontrols :first-child{grid-column:span 2}.rt-rulecontrols button{grid-column:span 2}.rt-rulecontrols select{min-width:0;font-size:12px;padding:8px}.rt-rulelist{margin:10px 0;padding:0;list-style:none;display:grid;gap:5px}.rt-rulelist li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;background:#f5f6fb;border-radius:9px;font-size:12px;overflow-wrap:anywhere}.rt-rulelist li button{padding:4px 8px;min-height:30px}.rt-error{color:var(--rt-red);background:#fff0f1;border:1px solid #f3cbd0;padding:12px;border-radius:10px;line-height:1.5;font-size:13px}.rt-note{font-size:12px;color:var(--rt-muted);line-height:1.5}.rt-results{min-height:490px}.rt-status{display:flex;flex-direction:column;gap:5px;padding:15px 17px;border-radius:14px;background:#eef2ff;border:1px solid #dce4ff}.rt-status strong{font-size:14px;color:#3444ab;letter-spacing:.035em}.rt-status span{font-size:13px;line-height:1.5;color:#535f83}.rt-status[data-state=complete]{background:var(--rt-green);border-color:#bbe4ca}.rt-status[data-state=complete] strong{color:var(--rt-good)}.rt-status[data-state=error]{background:#fff0f1;border-color:#f3cbd0}.rt-status[data-state=error] strong{color:var(--rt-red)}.rt-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:17px 0}.rt-stats>div{border-radius:13px;background:#f6f8fd;text-align:center;padding:11px 5px;display:flex;flex-direction:column;gap:4px}.rt-stats b{font-size:20px}.rt-stats span{font-size:11px;color:var(--rt-muted)}.rt-teamgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.rt-team{border:1px solid #dde3f1;border-radius:15px;overflow:hidden;min-width:0;background:white}.rt-teamhead{background:#ecf0fc;padding:12px 14px;display:flex;gap:6px;justify-content:space-between;align-items:center}.rt-team:nth-child(4n+2) .rt-teamhead{background:#f1eefa}.rt-team:nth-child(4n+3) .rt-teamhead{background:#e9f7f2}.rt-team:nth-child(4n+4) .rt-teamhead{background:#fff4e4}.rt-teamhead strong{font-size:14px;overflow-wrap:anywhere}.rt-teamhead span{font-size:12px;flex:none;font-weight:700;color:#59667e}.rt-team ul{list-style:none;margin:0;padding:8px 14px 13px}.rt-team li{font-size:14px;padding:7px 0;border-bottom:1px solid #f0f2f7;overflow-wrap:anywhere}.rt-team li:last-child{border:0}.rt-team li span{font-size:11px;color:var(--rt-muted);float:right}.rt-empty{grid-column:1/-1;text-align:center;color:var(--rt-muted);padding:66px 20px}.rt-empty>span{font-size:51px}.rt-empty h3{margin:12px 0 4px;color:#384361}.rt-empty p{font-size:14px}.rt-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.rt-actions button{flex:1 1 160px}.rt-history{margin-top:25px;padding-top:18px;border-top:1px solid var(--rt-line)}.rt-history h3{margin:0 0 7px;font-size:16px}.rt-history p{line-height:1.6}.rt-help{margin-top:27px;background:#fff;border:1px solid var(--rt-line);border-radius:20px;padding:26px}.rt-help h2{font-size:22px;margin:0 0 12px}.rt-helpgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 35px}.rt-helpgrid h3{font-size:15px;margin:10px 0 6px}.rt-helpgrid p{font-size:13px;line-height:1.65;color:#606a7e;margin:0}.rt-helpgrid code{background:#e9edf6;padding:2px 5px;border-radius:4px}#rtResults:fullscreen{padding:30px;overflow:auto;background:#f7f8ff;min-width:100%}#rtResults:fullscreen .rt-teamgrid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}body.rt-print header,body.rt-print .rt-input{display:none}@media(max-width:820px){.rt-layout{grid-template-columns:minmax(0,1fr)}.rt-results{min-height:0}.rt-wrap{width:min(100% - 24px,600px);padding-top:20px}.rt-card{padding:18px}.rt-hero h1{font-size:34px}}@media(max-width:370px){.rt-teamgrid{grid-template-columns:1fr}.rt-card{padding:14px}.rt-title h2{font-size:19px}.rt-stats b{font-size:16px}.rt-advanced summary{flex-wrap:wrap}}@media print{@page{size:auto;margin:12mm}body{background:#fff!important}.topbar,.rt-hero,.rt-input,.rt-help,.rt-actions,.rt-history,.rt-note,#rtSeedLabel{display:none!important}.rt-wrap,.rt-layout{display:block;width:100%!important;margin:0!important;padding:0!important}.rt-results{border:0!important;box-shadow:none!important;padding:0!important}.rt-teamgrid{grid-template-columns:repeat(2,1fr)!important}.rt-team{break-inside:avoid;page-break-inside:avoid}.rt-status{border:1px solid #cfd5e0}.rt-stats{margin:12px 0}}
