.weeklyTraining{color:#303844;min-width:0}.weeklyHero{position:relative;margin-bottom:12px;overflow:hidden;border:1px solid #b7a47b;border-radius:8px}.weeklyHero>img{width:100%;height:140px;object-fit:cover;display:block}.weeklyHero>div{padding:10px;background:#f3ead5}.weeklyHero h3,.weeklyHero p{margin:3px 0}.weeklySummary,.weeklyReward{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px;background:#efe4cb;border:1px solid #b6a176;border-radius:5px;margin:8px 0}.weeklyReward span{color:#1d5d90;font-weight:700}.weeklyDates{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.weeklyDates>span{flex:1 1 120px;padding:7px;background:#fcf8ed;border:1px solid #b9aa8c;border-radius:5px}.weeklyDates small{color:#615943}.weeklyRun{border:1px solid #9e875b;border-radius:7px;padding:12px;background:#fff9ec}.weeklyRun h4{margin:0;color:#8c352d}.weeklyRun p,.weeklyRules{line-height:1.6;overflow-wrap:anywhere}.weeklyRun progress{width:100%;height:12px;accent-color:#477a66}.weeklyActions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.weeklyActions>button{flex:1 1 130px}.weeklyTraining [data-weekly-map]{margin:12px 0}.weeklyTraining svg{display:block;width:100%;max-height:210px}.weeklyTraining .weeklyWarning,.weeklyTraining [data-weekly-notice]{color:#9a302c;font-weight:700}.weeklyRules,[data-weekly-clock]{font-size:12px;color:#605745}.weeklyTraining summary{cursor:pointer;padding:10px;min-height:44px}.weeklyTraining details{border-top:1px solid #b9aa8c;margin-top:14px}
#game #panel #panelBody .weeklyTraining button{min-height:44px;height:auto;padding:9px 12px;line-height:1.4;font-size:13px;white-space:normal;text-align:center;background:#415e7b;color:#fff;border:1px solid #314963;border-radius:5px}#game #panel #panelBody .weeklyTraining button:disabled{opacity:.5}#game #panel #panelBody .weeklyTraining [data-weekly-op="weeklyGuard"]{background:#973d31;border-color:#722d25;font-weight:800}#game #panel #panelBody .weeklyTraining [data-weekly-op="weeklyCancel"]{background:#ece3cf;color:#68463c;border-color:#a48f71}#game #panel #panelBody .weeklyTraining [data-weekly-notice]{margin:10px 0}.weeklyTraining button:focus-visible{outline:3px solid #b66823;outline-offset:2px}
@media(max-width:380px){.weeklyHero>img{height:110px}.weeklyHero>div{padding:8px}.weeklyRun{padding:9px}.weeklyActions>button{flex-basis:100%}.weeklyDates>span{flex-basis:100%}.weeklyReward{display:grid}.weeklyTraining h3{font-size:17px}}

/* The paper theme has global important button rules; keep these local actions distinct. */
#game #panel #panelBody .weeklyTraining button{min-height:44px!important;height:auto!important;padding:9px 12px!important;line-height:1.4!important;font-size:13px!important;white-space:normal!important;text-align:center!important;background:#415e7b!important;color:#fff!important;border:1px solid #314963!important;border-radius:5px!important}
#game #panel #panelBody .weeklyTraining [data-weekly-op="weeklyGuard"]{background:#973d31!important;border-color:#722d25!important;font-weight:800!important}
#game #panel #panelBody .weeklyTraining [data-weekly-op="weeklyCancel"]{background:#ece3cf!important;color:#68463c!important;border-color:#a48f71!important}

/* Keep the next action close to its reason on narrow screens. */
.weeklyHero>img{height:96px}.weeklyHero>div{padding:8px 10px}.weeklyHero h3{font-size:18px}.weeklyHero p{font-size:12px}
.weeklySteps{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;counter-reset:step}.weeklySteps li{flex:1 1 100px;border:1px solid #c4b28c;background:#faf3e3;padding:6px;font-size:12px}.weeklySteps li::before{counter-increment:step;content:counter(step) '. ';font-weight:800;color:#875631}
.weeklyPreparation,.weeklyCompleted,.weeklyEmpty{padding:10px;border:1px solid #b87953;border-left:4px solid #a94b32;background:#fff4e7;margin:10px 0;border-radius:6px}.weeklyPreparation.isReady{border-color:#70856c;background:#f4f4e4}.weeklyPreparation h4,.weeklyCompleted h4{margin:0 0 8px;color:#8b322a}.weeklyPreparation p,.weeklyCompleted p{margin:5px 0;line-height:1.6}.weeklyPreparation ul{list-style:none;padding:0;margin:0}.weeklyPreparation li{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #dac6a3;padding:8px 0;line-height:1.5}.weeklyPreparation li span{min-width:0;overflow-wrap:anywhere}.weeklyPreparation small{display:block;color:#665742;font-size:12px;line-height:1.6}.weeklyPreparation button{flex:0 0 88px}.weeklyLead{line-height:1.6}.weeklyRoutes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.weeklyRoutes article{background:#fff9ed;border:1px solid #ac9872;border-radius:6px;padding:10px;min-width:0}.weeklyRoutes article:first-child{border:2px solid #996932}.weeklyRoutes b{color:#704b24}.weeklyRoutes p{font-size:12px;line-height:1.6}.weeklyRoutes button{width:100%}.weeklyCompleted{border-color:#b79850;background:#fff5d8}.weeklyCompleted button{width:100%}.weeklyTraining [data-weekly-refresh]{margin-top:8px}
@media(max-width:380px){.weeklyHero>img{height:80px}.weeklyRoutes{grid-template-columns:1fr}.weeklyPreparation li{font-size:13px}.weeklyReward{gap:5px}.weeklyHero h3{font-size:16px}}
