:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#22342e;background:#f4f5f0;font-synthesis:none;font-size:14px;--forest:#18392f;--forest2:#275246;--mint:#e4eee8;--gold:#c69a58;--lightgold:#fbf0da;--line:#e1e7df;--text:#283b35;--muted:#788780;--radius:18px}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #93c5a7;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:2.25rem;line-height:1.12;letter-spacing:-.055em;font-weight:720}h2{font-size:1.35rem;letter-spacing:-.035em}h3{font-size:1.02rem}p{line-height:1.55}.subtle{color:var(--muted)}.small{font-size:.83rem}.tiny{font-size:.75rem}.caps{text-transform:uppercase;letter-spacing:.14em;font-size:.7rem;font-weight:800}.strong{font-weight:750}.muted{color:var(--muted)}.mb0{margin-bottom:0}.loading{display:grid;place-items:center;height:100vh;color:var(--forest);letter-spacing:.06em}
.shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{background:#16362d;color:#dce9df;display:flex;flex-direction:column;padding:27px 15px 19px;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:flex;align-items:center;gap:10px;padding:0 12px 25px;border-bottom:1px solid #345448;margin-bottom:22px}.brand-emblem{width:39px;height:39px;border-radius:13px;background:#dcb979;color:#1a392f;display:grid;place-items:center;font-size:1.65rem}.brand-title{font-family:Georgia,'Times New Roman',serif;letter-spacing:.01em;font-size:1.31rem;color:#fffbf2}.brand-caption{color:#a9bdaf;font-size:.62rem;letter-spacing:.17em;text-transform:uppercase}.nav-label{margin:20px 12px 9px;font-size:.69rem;text-transform:uppercase;letter-spacing:.15em;color:#9db5a6;font-weight:700}.nav-link{display:flex;align-items:center;gap:12px;color:#c5d7c9;background:transparent;border:0;width:100%;text-align:left;border-radius:11px;padding:12px 14px;margin:2px 0;font-weight:570;transition:background .15s}.nav-link .nav-icon{font-size:1.2rem;min-width:19px;text-align:center;color:#c9af80}.nav-link:hover{background:#284a3f}.nav-link.active{background:#365b4c;color:#fff;box-shadow:inset 3px 0 #deb97d}.sidebar-foot{margin-top:auto;padding-top:23px}.sidebar-tip{border:1px solid #426052;background:#234539;border-radius:14px;padding:15px;color:#cfe0d5;line-height:1.6}.sidebar-tip strong{color:#f4dab0}.sidebar-footer{font-size:.73rem;color:#9fb7a8;margin:13px 9px}.content-area{min-width:0}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e6ece5;padding:0 clamp(20px,4vw,56px);gap:16px}.breadcrumbs{display:flex;align-items:center;gap:8px;color:#6e8478;font-weight:650}.breadcrumbs span:last-child{color:#193b31}.top-actions{display:flex;align-items:center;gap:11px}.top-select{max-width:210px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 13px;color:var(--forest);font-weight:630}.coin-pill,.day-pill,.mode-pill{white-space:nowrap;display:flex;align-items:center;gap:7px;border-radius:50px;padding:9px 13px;font-weight:720;font-size:.81rem}.coin-pill{color:#805e26;background:#fbf1de}.day-pill{color:#2f5948;background:#e8f1ea}.mode-pill{background:#f0f2ef;color:#728079}.mobile-menu{display:none;background:#e7eee8;color:var(--forest);border:0;border-radius:9px;padding:7px 9px}.main{padding:34px clamp(20px,4vw,56px) 65px;max-width:1600px;margin:0 auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:27px}.page-head h1{margin:6px 0 8px}.page-head p{color:#7b8a83;max-width:680px;margin:0}.eyebrow{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:#b2874d;font-weight:850}.actions{display:flex;gap:9px;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:10px;padding:11px 17px;background:var(--forest);color:white;font-weight:710;display:inline-flex;align-items:center;gap:8px;justify-content:center;transition:transform .15s,background .15s;text-align:center}.btn:hover:not(:disabled){transform:translateY(-1px);background:#285343}.btn.secondary{background:#f3f6f1;border-color:#dee7de;color:#315447}.btn.secondary:hover:not(:disabled){background:#e4eee7}.btn.gold{background:#c39656;color:#fff}.btn.gold:hover:not(:disabled){background:#ad8246}.btn.ghost{background:transparent;color:#3f6253;border-color:#dfe6de}.btn.ghost:hover:not(:disabled){background:#e9f2ec}.btn.small{padding:8px 11px;font-size:.8rem;border-radius:8px}.btn.tiny{padding:6px 10px;font-size:.73rem}.btn.danger{background:#a14f4b}.btn.full{width:100%}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:50px;background:#eaf0e9;color:#476d58;padding:5px 10px;font-weight:740;font-size:.72rem}.tag.gold{background:#fff1d5;color:#a67838}.tag.warning{background:#fff0e5;color:#a46d40}.tag.locked{background:#eff1ee;color:#7f8d84}.tag.deep{background:#d8e8dd;color:#276349}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 6px 28px #284a3210}.card-pad{padding:22px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 15px}.section-head h2,.section-head h3{margin:0}.grid{display:grid;gap:17px}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.span-2{grid-column:span 2}.stat-card{padding:20px 22px}.stat-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#eff4ed;font-size:1.25rem;margin-bottom:17px;color:#496850}.stat-value{font-size:2rem;line-height:1;font-weight:770;letter-spacing:-.06em;margin-bottom:7px;color:#214336}.stat-label{color:#85948a;font-size:.81rem;font-weight:590}.hero{background:linear-gradient(108deg,#173b31,#315a47 61%,#697650);color:#fff;border-radius:22px;min-height:245px;display:flex;align-items:center;position:relative;overflow:hidden;padding:36px 40px;box-shadow:0 15px 34px #234a3520}.hero:before{content:'';position:absolute;width:310px;height:310px;border-radius:50%;right:-40px;top:-95px;border:45px solid #ffffff12}.hero:after{content:'♞';position:absolute;font-family:Georgia,serif;font-size:280px;line-height:1;right:95px;bottom:-91px;color:#dec49332;transform:rotate(-6deg)}.hero-body{max-width:550px;position:relative;z-index:1}.hero h1{font-family:Georgia,serif;letter-spacing:-.03em;font-weight:500;font-size:2.6rem;margin:14px 0}.hero p{color:#d9e9dc;max-width:475px;font-size:.95rem}.hero .btn{background:#e1bd82;color:#233e33;margin-top:7px}.hero .btn:hover{background:#f1cf95}.hero-label{font-size:.77rem;text-transform:uppercase;letter-spacing:.16em;color:#e5c790}.split{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:18px}.horse-portrait{height:135px;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(140deg,#a4b9a0,#668e7f);color:#fff}.horse-portrait:before{content:'';position:absolute;width:210px;height:210px;border:36px solid #ffffff18;border-radius:50%;right:-20px;top:-90px}.horse-portrait span{font-family:Georgia,serif;font-size:6rem;line-height:1;opacity:.76;position:relative;transform:rotate(-10deg)}.portrait-0{background:linear-gradient(130deg,#8f9978,#415d4e)}.portrait-1{background:linear-gradient(130deg,#c8a67b,#765f4c)}.portrait-2{background:linear-gradient(130deg,#859c99,#455d66)}.portrait-3{background:linear-gradient(130deg,#abb9aa,#677f6c)}.portrait-4{background:linear-gradient(130deg,#aa928e,#745e63)}.portrait-5{background:linear-gradient(130deg,#b4aa85,#6b7056)}.portrait-6{background:linear-gradient(130deg,#8d9ea6,#4a5e7a)}.horse-tile{overflow:hidden}.horse-tile .inner{padding:18px}.horse-tile h3{font-size:1.3rem;margin:0 0 4px;letter-spacing:-.03em}.horse-sub{font-size:.78rem;color:var(--muted);margin:0 0 12px}.horse-tile .tags{display:flex;gap:6px;flex-wrap:wrap;min-height:25px}.horse-footer{display:flex;align-items:center;justify-content:space-between;margin-top:15px;border-top:1px solid var(--line);padding-top:14px}.progress{height:7px;background:#eaf0e9;border-radius:99px;overflow:hidden}.progress>span{display:block;height:100%;background:#7caa83;border-radius:99px;transition:width .2s}.progress.gold>span{background:var(--gold)}.progress.sky>span{background:#779dac}.progress.rose>span{background:#d49b8f}.progress-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.8rem;font-weight:620;margin:12px 0 7px}.progress-label span:last-child{color:#74867c;font-size:.76rem}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}.feature-horse{display:grid;grid-template-columns:180px 1fr;overflow:hidden}.feature-horse .horse-portrait{height:auto;min-height:250px}.feature-horse .horse-portrait span{font-size:10rem}.feature-details{padding:22px}.feature-details h2{font-family:Georgia,serif;font-size:1.75rem;margin-bottom:3px}.feature-details .metrics{margin-top:14px}.flex-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.inline-pills{display:flex;flex-wrap:wrap;gap:7px}.divider{height:1px;background:var(--line);margin:18px 0}.timeline{display:flex;flex-direction:column;gap:0}.timeline-row{display:flex;gap:11px;padding:13px 0;border-bottom:1px solid var(--line)}.timeline-row:last-child{border:0}.timeline-dot{height:29px;width:29px;flex:0 0 29px;display:grid;place-items:center;border-radius:9px;background:#e9f1e8;color:#476950;font-size:.9rem}.timeline-row h3{margin:0 0 3px;font-size:.9rem}.timeline-row p{margin:0;color:#7f8b84;font-size:.8rem;line-height:1.45}.day-mark{display:inline-block;font-size:.72rem;color:#b08b58;margin-top:5px}
.tabs{display:flex;flex-wrap:wrap;gap:7px;margin:19px 0}.tab{background:#fff;border:1px solid #dde5db;color:#60776a;border-radius:11px;padding:10px 14px;font-size:.81rem;font-weight:730}.tab.active{background:var(--forest);color:white;border-color:var(--forest)}.filter-panel{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:13px;margin-bottom:19px}.search-field{background:#fff;border:1px solid var(--line);border-radius:11px;padding:11px 12px;min-width:240px;width:100%;max-width:330px;color:var(--text)}.filter-select{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px;max-width:100%;color:var(--text)}.skill-card,.gear-card,.discipline-card,.trainer-card,.care-card{padding:19px;display:flex;flex-direction:column;min-width:0}.skill-card h3,.gear-card h3,.discipline-card h3,.trainer-card h3,.care-card h3{font-size:1.05rem;margin:11px 0 6px;letter-spacing:-.02em}.skill-card p,.gear-card p,.discipline-card p,.trainer-card p,.care-card p{font-size:.84rem;color:#809087;margin-bottom:15px;line-height:1.45}.skill-card .card-bottom,.gear-card .card-bottom,.discipline-card .card-bottom,.trainer-card .card-bottom,.care-card .card-bottom{margin-top:auto;padding-top:13px}.skill-card.locked{background:#fafbf9}.skill-card.locked h3{color:#819084}.skill-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:13px;background:#e6efe7;color:#35634c;font-size:1.3rem}.skill-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.skill-dep{color:#aa8e69!important;font-size:.76rem!important;min-height:28px}.skill-card .actions{margin-top:12px}.banner{padding:17px 19px;border-radius:13px;background:#e6eee6;border:1px solid #d2e2d6;margin-bottom:17px;display:flex;justify-content:space-between;align-items:center;gap:14px}.banner.gold{background:#fff3de;border-color:#efdcb8}.banner p{margin:4px 0 0;font-size:.84rem;color:#698074}.banner.gold p{color:#99784d}.care-icon,.gear-icon{width:45px;height:45px;display:grid;place-items:center;font-size:1.55rem;border-radius:13px;background:#f0f3e9;color:#6b8463}.price{font-size:1rem;color:#a3783b;font-weight:790}.gear-meta{display:flex;justify-content:space-between;gap:5px;align-items:center;margin:5px 0}.gear-slot{color:#8a978f;font-size:.75rem}.equipped-grid{display:flex;flex-wrap:wrap;gap:10px}.equipped-card{display:flex;align-items:center;gap:10px;background:#f7f9f5;border:1px solid #e4eae0;border-radius:12px;padding:10px 12px}.equipped-card strong{font-size:.83rem}.equipped-card span{font-size:.74rem;color:#849188}.equip-mark{font-size:1.1rem;color:#8dab7b}.trainer-head{display:flex;align-items:center;gap:12px}.trainer-avatar{width:52px;height:52px;border-radius:15px;background:linear-gradient(140deg,#547768,#27493c);display:grid;place-items:center;color:#ecdbb8;font-family:Georgia,serif;font-size:1.25rem;flex:0 0 52px}.trainer-card h3{margin:0}.trainer-title{color:#be975e!important;font-weight:690;font-size:.79rem!important;margin:4px 0!important}.field-text{font-size:.89rem!important;color:#617c6a!important}.perk{display:flex;gap:13px;align-items:center;background:#f8faf5;border:1px solid #e4e9df;padding:13px;border-radius:11px}.perk-symbol{width:33px;height:33px;border-radius:10px;display:grid;place-items:center;background:#e0ebdf;color:#54846b;font-size:1.3rem}.perk.hidden{opacity:.64}.perk.hidden .perk-symbol{background:#edf0ec;color:#94a59c}.perk h3{margin:0 0 3px;font-size:.91rem}.perk p{font-size:.75rem;color:#87958a;margin:0}.small-table{width:100%;border-collapse:collapse}.small-table th,.small-table td{text-align:left;padding:12px 9px;border-bottom:1px solid var(--line);font-size:.82rem}.small-table th{color:#829187;text-transform:uppercase;font-size:.68rem;letter-spacing:.08em}.small-table tr:last-child td{border-bottom:0}.guide-card{padding:20px}.guide-card h3{font-size:1rem;margin:0 0 8px}.guide-card p{font-size:.86rem;color:#7b8d81;margin:0}.guide-num{font-family:Georgia,serif;font-size:2rem;color:#c69a58;margin-bottom:8px}.summary-strip{display:flex;align-items:center;gap:20px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px 18px;margin-bottom:20px}.summary-strip>div{display:flex;align-items:center;gap:7px;color:#60796a;font-size:.82rem}.summary-strip strong{color:#2e5040;font-size:1.1rem}.empty{padding:44px 20px;text-align:center;background:#fff;border:1px dashed #ceddd1;border-radius:17px;color:#7a8f80}.empty-icon{font-size:3rem;color:#b3c4b0;margin-bottom:8px}.empty h3{color:#365b48;font-size:1.25rem}.empty p{max-width:440px;margin:0 auto 16px}.notice{background:#fff8e9;border:1px solid #f2e0b7;padding:13px 16px;color:#876b3f;border-radius:12px;font-size:.85rem}.settings-box{padding:24px}.settings-box h3{margin-bottom:8px}.settings-box p{font-size:.87rem;color:#7b8f83;max-width:640px}.settings-box .actions{margin-top:18px}.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.profile-stats .stat-card{padding:16px}.profile-stats .stat-value{font-size:1.5rem}.horse-profile-top{display:grid;grid-template-columns:230px 1fr;overflow:hidden}.horse-profile-top .horse-portrait{height:auto;min-height:255px}.horse-profile-top .horse-portrait span{font-size:12rem}.profile-detail{padding:26px}.profile-detail h2{font-family:Georgia,serif;font-size:2rem;margin:4px 0}.profile-detail p{color:#809187}.skill-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.skill-summary:last-child{margin-bottom:0}.skill-summary .progress{width:125px}.badge-cluster{display:flex;flex-wrap:wrap;gap:6px}
.modal-backdrop{position:fixed;inset:0;background:#101f1ac9;z-index:30;display:grid;place-items:center;padding:20px;overflow:auto}.modal{width:min(100%,540px);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:19px;box-shadow:0 27px 70px #0004;padding:28px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.modal-head h2{font-family:Georgia,serif;font-size:1.65rem;margin:4px 0 8px}.close{background:#edf2ed;border:0;border-radius:9px;padding:5px 10px;font-size:1.3rem;color:#315444}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-field{display:flex;flex-direction:column;gap:7px;margin:7px 0 14px}.form-field.full{grid-column:1/-1}.form-field label{font-size:.79rem;color:#526e5c;font-weight:750}.form-field input,.form-field select{width:100%;padding:12px 13px;border:1px solid #dbe5d9;border-radius:10px;background:#fdfefd;color:#2d4d39}.modal-help{color:#839388;font-size:.85rem;margin:4px 0 18px}.toast{position:fixed;bottom:27px;right:25px;z-index:50;max-width:380px;background:#214a3c;color:#fff;border-radius:13px;box-shadow:0 12px 40px #163a2e44;padding:15px 20px;line-height:1.45;opacity:0;transform:translateY(15px);pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#a64d47}.busy-overlay{position:fixed;inset:0;z-index:45;cursor:wait;background:#d8e6d622}.footer-note{margin:30px 0 0;color:#98a99d;text-align:center;font-size:.77rem}
@media(max-width:1250px){.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-horse{grid-template-columns:140px 1fr}}
@media(max-width:1000px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:20;left:0;top:0;width:262px;transform:translateX(-105%);transition:transform .22s;box-shadow:8px 0 25px #102b2617}.sidebar.open{transform:translateX(0)}.mobile-menu{display:inline-flex}.main{padding-top:25px}.topbar{height:71px}.mode-pill{display:none}}
@media(max-width:700px){.cols-2,.cols-3,.cols-4,.split{grid-template-columns:1fr}.span-2{grid-column:auto}.hero{padding:28px;min-height:230px}.hero h1{font-size:2.05rem}.hero:after{right:-20px;font-size:195px;bottom:-70px}.page-head{align-items:flex-start;flex-direction:column}.topbar{padding:0 16px}.breadcrumbs{display:none}.top-actions{margin-left:auto;gap:7px}.top-select{max-width:118px;font-size:.74rem;padding:8px}.coin-pill,.day-pill{padding:8px 9px;font-size:.74rem}.main{padding:21px 16px 45px}.feature-horse,.horse-profile-top{grid-template-columns:1fr}.feature-horse .horse-portrait,.horse-profile-top .horse-portrait{min-height:130px;height:150px}.feature-horse .horse-portrait span,.horse-profile-top .horse-portrait span{font-size:7rem}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:1fr}.modal{padding:22px}.filter-panel{align-items:stretch}.search-field{max-width:none}.sidebar-tip{display:none}.summary-strip{gap:10px}.feature-details{padding:20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* Discipline Studio — three safe, horse-specific decision points per lesson. */
.studio-selector{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.studio-selector .filter-select{width:100%;max-width:650px}
.studio-main{align-items:start}.studio-scene h2,.studio-memory h2,.studio-completed h2{font-family:Georgia,serif;font-size:1.6rem;margin:15px 0 9px}
.studio-scene h3{margin:20px 0 10px}.studio-story{font-size:1rem;line-height:1.7;color:#516e5e;margin-bottom:18px}
.studio-choices{display:grid;gap:10px}.studio-choice{text-align:left;display:flex;flex-direction:column;gap:5px;width:100%;padding:17px 19px;border:1px solid #d8e4d6;border-radius:14px;background:#f7faf6;color:#315744;transition:background .15s,border-color .15s}
.studio-choice strong{font-size:.96rem}.studio-choice span{font-size:.83rem;color:#70877b;line-height:1.5}.studio-choice:hover,.studio-choice:focus-visible{background:#e7f1e8;border-color:#80a88d;outline:2px solid transparent}
.studio-feedback{background:#eff5e9;border-left:4px solid #82a382;padding:14px 16px;border-radius:9px;margin:15px 0}.studio-feedback p{font-size:.86rem;color:#587264;margin:6px 0}
.studio-overview-stats{margin:17px 0}.studio-overview-stats>div{display:flex;flex-direction:column;gap:5px;background:#f7faf6;padding:12px;border-radius:10px}.studio-overview-stats strong{color:#3f7654;font-size:1.3rem}.studio-overview-stats span{font-size:.72rem;color:#7d9385}
.studio-memory .metrics{display:block}.studio-memory .metrics>div{margin-bottom:12px}.studio-memory .skill-summary{margin:12px 0}.studio-memory .skill-summary .progress{width:115px}
.studio-note{border-top:1px solid var(--line);padding:10px 0}.studio-note p{font-size:.84rem;line-height:1.5;color:#658070;margin:6px 0 0}.studio-completed{margin-top:18px}.studio-completed>.timeline{margin-top:12px}
@media(max-width:700px){.studio-overview-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-main{display:block}.studio-main>section+section{margin-top:18px}}

.discipline-card .card-bottom>.btn+.btn{margin-top:9px}

/* Phase 1A — readable, responsive horse identity panel. */
.personality-card h3{margin:0 0 10px;font-size:1.08rem}
.personality-card>p{margin:9px 0;line-height:1.55}
.personality-axes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:12px 0}
.personality-tip{background:#f3f7f1;border:1px solid #dce8dd;color:#506b59;border-radius:12px;padding:13px 16px;font-size:.84rem;line-height:1.55;margin:-4px 0 18px}
@media(max-width:600px){.personality-axes{grid-template-columns:1fr}}

/* Phase 1B — verified learning history and recommendation panels. */
.learning-card h3{margin:0;font-size:1.1rem}.learning-card h4{font-size:.92rem;margin:12px 0}
.learning-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:12px}
.learning-evidence{display:flex;align-items:center;gap:10px;margin:9px 0;padding:10px 11px;border-radius:10px;background:var(--surface,#f6f8f4);flex-wrap:wrap}
.learning-evidence strong{font-size:.84rem}.learning-evidence span:first-child{color:#45735a;font-size:.83rem}
.learning-evidence span:last-child{margin-left:auto}.learning-tip{padding:10px 12px;margin-bottom:9px;border-left:3px solid #81a28b;background:#f5f8f3;border-radius:0 9px 9px 0}
.learning-tip strong{font-size:.9rem}.learning-tip p{font-size:.82rem;line-height:1.45;margin:5px 0 0;color:#5c6b62}
.learning-context{border-top:1px solid #e3e8dd;padding:9px 0 0;margin:12px 0 0;line-height:1.5;color:#526b5a}
@media(max-width:680px){.learning-columns{grid-template-columns:1fr}}

/* Horse image upload: show the uploaded art on a clean white panel.
   The original decorative portrait background remains only as the fallback when no art exists. */
.horse-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .12s ease;z-index:2}
.horse-portrait.has-art{background:#fff}
.horse-portrait.has-art:before{display:none}
.horse-portrait.has-art span{opacity:0}
.horse-portrait.has-art img{opacity:1}
.horse-art-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0 4px}
.horse-art-controls .small{line-height:1.5}

/* Wolverton Hollow circuit pilot — inherits the existing palette. */
.circuit-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.circuit-line{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;padding:10px 0;border-bottom:1px solid currentColor}.circuit-line span{font-size:.85rem;opacity:.8}.circuit-bank{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}.circuit-bank label{display:grid;gap:4px}.circuit-bank input,.circuit-bank select{max-width:100%;padding:8px}.circuit-active{margin:16px 0}.circuit-ribbon{font-weight:700;font-size:1.15rem;margin:8px 0}.circuit-active .card{min-width:0}.circuit-tabs button{white-space:normal}details summary{cursor:pointer;font-weight:600} @media(max-width:600px){.circuit-bank{display:grid}.circuit-tabs button{flex:1 1 42%}.circuit-line{display:grid}}
