.weight-planner{max-width:1440px;margin:0 auto;padding:1.5rem 1rem 3rem;color:#163047}
.wp-back{color:#0f766e;font-weight:700}.wp-hero{margin:1rem 0;padding:1.5rem 2rem;background:linear-gradient(120deg,#14283c,#165b60);border-radius:12px;color:#fff}
.wp-hero h1{font-size:clamp(1.8rem,4vw,2.7rem)}.wp-hero p{max-width:80ch}
.wp-card{background:#fff;border:1px solid #d7e1e8;border-radius:12px;padding:1.2rem;margin-bottom:1rem;min-width:0}
.wp-card h2{font-size:1.15rem;margin:0 0 1rem}.wp-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:1rem}
.weight-planner label{display:block;font-weight:700;font-size:.85rem;margin-bottom:.7rem}.weight-planner input:not([type=checkbox]),.weight-planner select,.weight-planner textarea{display:block;width:100%;padding:.6rem;border:1px solid #a7b9c8;border-radius:6px;font-size:16px;color:#163047;background:#fff;box-sizing:border-box}
.weight-planner button{min-height:44px;padding:.55rem .85rem;border:1px solid #145a60;border-radius:6px;background:#145a60;color:#fff;font-weight:700;cursor:pointer}
.weight-planner button.wp-secondary{background:#fff;color:#145a60}.weight-planner button:disabled{opacity:.5;cursor:not-allowed}
.weight-planner :focus-visible{outline:3px solid #22988b;outline-offset:3px}
.wp-account{display:flex;flex-wrap:wrap;align-items:end;gap:.7rem}.wp-account label{flex:1 1 190px;margin:0}.wp-account span{font-size:.85rem;align-self:center}
.wp-fields{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.wp-hint{font-size:.83rem;line-height:1.5;color:#526a7c;margin:.7rem 0}
.wp-message{padding:1rem;border-left:4px solid #19786c;background:#e8f5f2;margin:1rem 0;overflow-wrap:anywhere}.wp-message.wp-error{border-color:#ad3030;background:#fff0ed}
.wp-item-list{max-height:430px;overflow:auto;margin-top:.5rem}.wp-item-row{display:flex;gap:.5rem;align-items:center;border-top:1px solid #e2e8f0;padding:.6rem 0}
.wp-item-row button{flex:1;min-width:0;text-align:left;background:#f5f8fa;color:#163047;border-color:#cbd5e1;overflow-wrap:anywhere}.wp-item-row button[aria-pressed=true]{background:#d9f3ed;border-color:#158375}
.wp-item-row small{display:block;font-weight:400;color:#516477;margin-top:.25rem}.wp-item-row input[type=checkbox]{width:20px;height:20px}
.wp-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.wp-totals div{background:#eff5f7;padding:.8rem;border-radius:8px}
.wp-totals span{display:block;font-size:.78rem;color:#4c6172}.wp-totals strong{display:block;font-size:clamp(1rem,2vw,1.4rem);margin-top:.25rem}.wp-totals .wp-over{color:#a52323;background:#fff0ed}
.wp-map-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}.wp-map-toolbar h2{margin:0 auto 0 0}.wp-map-toolbar label{margin:0}.wp-map-toolbar select{font-size:.85rem;padding:.5rem}
.wp-checkbox{display:flex!important;align-items:center;gap:.4rem}.wp-checkbox input{width:18px;height:18px}
.wp-orientation{display:flex;justify-content:space-between;gap:1rem;font-size:.75rem;color:#526a7c;margin:.85rem 0}.wp-orientation span:nth-child(2){text-align:center}
.wp-map-scroll{overflow:auto;background:#e7eff3;border-radius:8px;padding:8px}.wp-map-area{position:relative;width:100%;min-width:360px;aspect-ratio:3.5;background:#eaf3f7}
#wp-map{position:relative;display:block;width:100%;height:100%;touch-action:none}#wp-heatmap{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.wp-map-item{cursor:grab}.wp-map-item:active{cursor:grabbing}.wp-map-label{pointer-events:none;fill:#163047;font-weight:700}.wp-map-item:focus{outline:none}
.wp-balance{display:flex;flex-wrap:wrap;gap:.65rem;font-size:.85rem}.wp-balance span{padding:.5rem;background:#eef4f6;border-radius:6px}
.wp-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.wp-editor-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.5rem}
.wp-editor-grid .wp-wide{grid-column:1/-1}.wp-empty{padding:1rem;color:#526a7c}.wp-source{font-size:.8rem;font-weight:400;color:#4c6172}
.wp-axle-card{border:1px solid #d7e1e8;background:#f7f9fb;border-radius:8px;padding:.8rem;margin:.8rem 0}
.wp-axle-card h3{font-size:1rem;margin:0 0 .75rem}.wp-rating-checks{margin-top:.7rem}.wp-rating-checks:empty{display:none}
.wp-rating-checks p{padding:.55rem .7rem;border-left:3px solid #9fb5c4;background:#f2f6f8;font-size:.84rem;margin:.4rem 0}
.wp-rating-checks .wp-check-over{border-color:#ad3030;background:#fff0ed;color:#942727;font-weight:700}
.wp-rating-checks .wp-check-limit{border-color:#bb810c;background:#fff7df;color:#79500b}
.wp-multi-list{max-height:170px;overflow:auto;padding:.4rem 0;margin-bottom:.7rem}.wp-multi-list label{font-weight:400;overflow-wrap:anywhere}
.wp-editor-grid>label{min-width:0}.weight-planner input[type=range]{padding:0;border:0;min-height:38px;accent-color:#167d70}
@media(max-width:1050px){.wp-layout{grid-template-columns:270px minmax(0,1fr)}.wp-totals{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.wp-layout{display:flex;flex-direction:column}.wp-main{order:0}.wp-controls{order:1}.wp-hero{padding:1.3rem}.wp-editor-grid{grid-template-columns:1fr 1fr}.wp-orientation span:nth-child(2){display:none}.wp-card{padding:1rem}.wp-item-list{max-height:300px}}
.weight-planner .nppsc-card-toggle{padding:0;width:2.25rem;height:2.25rem;border-radius:999px;background:#fff;color:#334155;border:1px solid #cbd5e1;margin:0 0 1rem auto}

.weight-planner a.wp-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:.55rem .85rem;border:1px solid #145a60;border-radius:6px;background:#145a60;color:#fff;font-weight:700;text-decoration:none}.weight-planner a.wp-button[hidden]{display:none}.weight-planner input[readonly]{background:#eef3f6;color:#526a7c}
