/* Four tabs, with the selected results expanding into the main page. */
.progress-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px;padding:14px 18px;background:#fffdf4;border:1px solid #d7e1cc;border-radius:16px}
.progress-toolbar label{display:flex;align-items:center;gap:10px;font-weight:800;color:#24563f}
.progress-toolbar select{font:inherit;padding:9px 12px;border:1px solid #b7cab2;border-radius:9px;background:#fff;max-width:100%;min-height:44px}
.progress-toolbar p{margin:0;font-size:18px;color:#58736d;line-height:1.5}
.progress-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px;background:#e8eddb;border:1px solid #d4dfc8;border-radius:18px 18px 0 0}
.progress-tabs [role=tab]{min-height:54px;padding:12px 8px;border:2px solid transparent;border-radius:12px;background:transparent;color:#345b45;font:inherit;font-weight:800;cursor:pointer;touch-action:manipulation}
.progress-tabs [role=tab]:hover{background:#f7f8ed}
.progress-tabs [aria-selected=true]{background:#24563f;color:#fff;border-color:#24563f;box-shadow:0 3px 8px #173f2c22}
.progress-tabs [aria-selected=true]:hover{background:#24563f}
.progress-panel{min-width:0;margin:0 0 30px;padding:20px;background:#fbfcf6;border:1px solid #d4dfc8;border-top:0;border-radius:0 0 18px 18px}
.progress-tabs [role=tab]:focus-visible,.progress-panel:focus-visible,.progress-toolbar select:focus-visible{outline:3px solid #b66c12;outline-offset:3px}
.progress-frame{display:block;width:100%;border:0;background:transparent}
.progress-frame[hidden],.progress-panel[hidden]{display:none!important}
.progress-ranks-content{display:block;min-width:0}
.progress-ranks-content>h2{font-size:clamp(24px,4vw,34px);margin:0 0 8px;color:#24563f}
.progress-ranks-content>p:first-of-type{color:#58736d;margin:0 0 22px}
.progress-loading{min-height:150px;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:25px;color:#345b45;font-weight:700}
.progress-loading[hidden]{display:none}
.progress-loading button{font:inherit;border:1px solid #b7cab2;border-radius:8px;padding:10px;cursor:pointer;background:white;color:#24563f}
@media(max-width:650px){.progress-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.progress-tabs [role=tab]{min-height:48px;font-size:16px}.progress-toolbar{padding:12px;gap:10px}.progress-toolbar p{font-size:18px}.progress-panel{padding:12px;margin-bottom:20px}}
@media print{.progress-panel{border:0;padding:0;break-inside:auto}.progress-tabs{break-after:avoid}}
