.rider-development-section{padding:22px;display:grid;gap:20px;overflow:hidden}.rider-development-section>header{max-width:760px}.rider-development-section>header h2{margin:2px 0 7px;font:600 clamp(24px,3vw,34px)/1.1 var(--serif,Georgia,serif);color:#173e35}.rider-development-section>header p:last-child{margin:0;color:#64746e;line-height:1.55}.rider-development-grid{display:grid;gap:16px}.rider-development-grid>.rider-exercise-card,.rider-development-grid>.horse-challenges-card{margin:0;box-shadow:none;border:1px solid #e1e7e2;background:#fbfcf9}.horse-challenges-card{border-radius:20px;padding:22px;display:grid;gap:18px}.horse-challenges-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.horse-challenges-heading h2{font-size:24px;margin:3px 0 6px}.horse-challenges-heading p{margin:0;max-width:700px;color:#64746e;line-height:1.5}.horse-challenge-active-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.horse-challenge-active{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:14px;border:1px solid #dce5df;background:#fff;border-radius:17px;padding:15px}.horse-challenge-active>div{min-width:0}.horse-challenge-active small,.horse-challenge-dashboard small,.horse-badge-card small{display:block;font-size:10px;font-weight:750;letter-spacing:.09em;color:#7a8b84}.horse-challenge-active strong{display:block;margin:3px 0 8px;color:#173e35}.horse-challenge-active p{margin:6px 0 0;color:#60716b;font-size:12px}.horse-challenge-progress{height:7px;border-radius:999px;background:#e9eeea;overflow:hidden}.horse-challenge-progress i{display:block;height:100%;background:linear-gradient(90deg,#789f88,#c48a66);border-radius:inherit}.horse-badge-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:#eaf0eb;color:#416c5c;box-shadow:inset 0 0 0 1px #d4dfd7}.horse-badge-icon svg{width:35px;height:35px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.horse-badge-icon.horseshoe{background:#f3eadc;color:#9a6d3a}.horse-badge-icon.route,.horse-badge-icon.compass{background:#e5eef0;color:#4e7580}.horse-badge-icon.groundwork{background:#eee8f1;color:#745b7c}.horse-badge-icon.recovery{background:#e5efe6;color:#52795b}.horse-badges-head{display:flex;justify-content:space-between;gap:18px;align-items:end;border-top:1px solid #e4e9e5;padding-top:16px}.horse-badges-head strong,.horse-badges-head span{display:block}.horse-badges-head span{font-size:12px;color:#788780;margin-top:3px}.horse-badge-grid,.horse-badges-all{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:11px}.horse-badge-card{appearance:none;text-align:left;border:1px solid #dce5df;background:#fff;border-radius:16px;padding:13px;display:flex;align-items:center;gap:12px;color:inherit;cursor:pointer}.horse-badge-card:hover{border-color:#9fb8aa;transform:translateY(-1px)}.horse-badge-card.pinned{box-shadow:inset 0 3px #c78b69}.horse-badge-card .horse-badge-icon{width:46px;height:46px;flex:0 0 auto}.horse-badge-card .horse-badge-icon svg{width:29px;height:29px}.horse-badge-card strong,.horse-badge-card em{display:block}.horse-badge-card em{font-style:normal;color:#6c7c76;font-size:12px;margin-top:3px}.horse-challenge-empty{border:1px dashed #cbd7cf;border-radius:15px;padding:17px;display:grid;gap:4px;color:#63736d}.horse-challenge-empty strong{color:#294f43}.horse-badge-empty{color:#6e7d77;margin:0}.horse-challenge-dashboard{padding:13px 17px;display:grid;grid-template-columns:minmax(200px,1fr) minmax(120px,250px) auto auto;gap:15px;align-items:center;background:linear-gradient(105deg,#fbfcf9,#f3f7f3)}.horse-challenge-dashboard-copy{display:flex;align-items:center;gap:11px}.horse-challenge-dashboard-copy .horse-badge-icon{width:42px;height:42px}.horse-challenge-dashboard-copy svg{width:27px;height:27px}.horse-challenge-dashboard-copy strong{display:block;color:#23483c;margin-top:2px}.horse-challenge-dashboard>p{margin:0;font-size:12px;color:#66766f}.horse-challenge-dialog{border:0;padding:0;border-radius:24px;width:min(820px,calc(100vw - 28px));max-height:calc(100vh - 28px);background:#fbfcf9;color:#173e35;box-shadow:0 30px 80px #102a2299}.horse-challenge-dialog::backdrop{background:#14251f99;backdrop-filter:blur(4px)}.horse-challenge-dialog-shell>header{display:flex;align-items:center;justify-content:space-between;padding:20px 23px;border-bottom:1px solid #e1e6e2;background:#f5f7f3}.horse-challenge-dialog-shell>header p{margin:0;color:#c1775c;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.horse-challenge-dialog-shell>header h2{margin:3px 0 0;font-size:25px}.horse-challenge-dialog-shell>header button{width:42px;height:42px;border:1px solid #d5ddd7;border-radius:13px;background:#fff;font-size:25px;color:#334f45}.horse-challenge-dialog-shell>[data-challenge-dialog-body]{padding:22px;overflow:auto;max-height:calc(100vh - 115px)}.horse-challenge-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.horse-challenge-form>label,.horse-challenge-detail form>label,.horse-badge-detail form>label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#465e55}.horse-challenge-form input,.horse-challenge-form select,.horse-challenge-form textarea,.horse-challenge-detail input,.horse-badge-detail select{width:100%;min-height:45px;border:1px solid #cfd9d2;border-radius:12px;padding:10px 12px;background:#fff;font:inherit;color:#213f36}.horse-challenge-form .full{grid-column:1/-1}.horse-challenge-target{display:flex;align-items:center;border:1px solid #cfd9d2;border-radius:12px;background:#fff;overflow:hidden}.horse-challenge-target input{border:0!important;border-radius:0!important}.horse-challenge-target span{padding:0 13px;color:#62736c;white-space:nowrap}.horse-challenge-safety{grid-column:1/-1;border-left:4px solid #7e9d87;background:#edf3ee;padding:13px 15px;border-radius:4px 13px 13px 4px}.horse-challenge-safety strong,.horse-challenge-safety p{display:block;margin:0}.horse-challenge-safety p{font-size:12px;line-height:1.5;color:#60716a;margin-top:3px}.horse-challenge-friends{border:1px solid #dce5df;padding:12px;border-radius:12px;display:flex;gap:10px;flex-wrap:wrap}.horse-challenge-friends[hidden]{display:none}.horse-challenge-friends>strong{width:100%}.horse-challenge-friends label{display:flex;gap:7px;align-items:center;background:#f4f7f4;padding:7px 10px;border-radius:10px}.horse-challenge-detail{display:grid;gap:18px}.horse-challenge-detail>header{display:flex;align-items:center;gap:15px}.horse-challenge-detail h3{margin:3px 0 4px;font-size:25px}.horse-challenge-detail header p{margin:0;color:#64746e}.horse-challenge-detail-total{display:flex;justify-content:space-between}.horse-challenge-detail form{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:1px solid #dce5df;border-radius:17px;padding:16px}.horse-challenge-detail form>.horse-challenge-ack{grid-column:1/-1;display:flex;flex-direction:row;align-items:flex-start}.horse-challenge-detail form>.horse-challenge-ack input{width:auto;min-height:auto;margin-top:3px}.horse-challenge-detail form button{align-self:end}.horse-challenge-audit h3{font-size:17px}.horse-challenge-audit article{display:grid;grid-template-columns:1fr auto;gap:3px 12px;border-top:1px solid #e3e8e4;padding:10px 0}.horse-challenge-audit article small{grid-column:1/-1;color:#6a7973}.horse-badge-detail{display:grid;grid-template-columns:minmax(260px,1.1fr) minmax(230px,.9fr);gap:18px}.horse-badge-share-card{min-height:360px;border-radius:23px;padding:30px;background:linear-gradient(150deg,#163f34,#285b4a 58%,#d39a76);color:#fff;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 18px 38px #173d332c}.horse-badge-share-card .horse-badge-icon{width:76px;height:76px;background:#ffffff18;color:#fff;box-shadow:inset 0 0 0 1px #ffffff45}.horse-badge-share-card .horse-badge-icon svg{width:48px;height:48px}.horse-badge-share-card>small{margin-top:30px;letter-spacing:.14em;font-weight:800}.horse-badge-share-card h3{font:600 34px/1.05 var(--serif,Georgia,serif);margin:8px 0}.horse-badge-share-card p{line-height:1.5;color:#ecf4ef}.horse-badge-share-card footer{margin-top:auto;font-size:12px;letter-spacing:.08em}.horse-badge-detail>form{display:flex;flex-direction:column;gap:15px;border:1px solid #dce5df;border-radius:17px;padding:17px}.horse-story-achievements{display:flex;align-items:center;gap:12px;margin:13px 0;padding:12px 14px;border:1px solid #dce5df;border-radius:14px;background:#f6f8f5}.horse-story-achievements>span{color:#b17657}.horse-story-achievements>div{min-width:0;flex:1}.horse-story-achievements strong,.horse-story-achievements p{display:block;margin:0}.horse-story-achievements p{font-size:12px;color:#64746e;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.horse-story-achievements a{font-size:12px;font-weight:700;color:#275b4a;white-space:nowrap}

@media(max-width:720px){.rider-development-section{padding:15px;margin-inline:-2px}.rider-development-grid{display:flex;flex-direction:column}.horse-challenges-card{padding:15px}.horse-challenges-heading{display:grid}.horse-challenges-heading .button{width:100%}.horse-challenge-active-list,.horse-badge-grid{grid-template-columns:1fr}.horse-challenge-active{grid-template-columns:48px minmax(0,1fr)}.horse-challenge-active>button{grid-column:1/-1;width:100%}.horse-challenge-dashboard{grid-template-columns:minmax(0,1fr) auto;padding:12px}.horse-challenge-dashboard-copy{grid-column:1/-1}.horse-challenge-dashboard .horse-challenge-progress{grid-column:1/-1}.horse-challenge-dashboard>p{grid-column:1}.horse-challenge-form{grid-template-columns:1fr}.horse-challenge-form .full{grid-column:auto}.horse-challenge-dialog{width:100vw;max-width:none;max-height:94dvh;margin:auto 0 0;border-radius:23px 23px 0 0}.horse-challenge-dialog-shell>[data-challenge-dialog-body]{padding:16px;max-height:calc(94dvh - 87px)}.horse-challenge-detail form{grid-template-columns:1fr}.horse-challenge-detail form>.horse-challenge-ack{grid-column:auto}.horse-badge-detail{grid-template-columns:1fr}.horse-badge-share-card{min-height:330px}.horse-story-achievements{align-items:flex-start}.horse-story-achievements a{display:none}}
