.activities-page{display:grid;gap:24px;max-width:1450px;margin:0 auto}
.activity-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(370px,.85fr);gap:28px;align-items:center;overflow:hidden;min-height:225px;padding:clamp(26px,3vw,42px);border-radius:24px;color:#fff;background:linear-gradient(125deg,#142b50 0%,#214979 64%,#2c5b86 100%);box-shadow:0 22px 46px rgba(23,52,94,.16)}
.activity-hero:before,.activity-hero:after{position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%;pointer-events:none;content:''}.activity-hero:before{width:350px;height:350px;right:-95px;top:-205px}.activity-hero:after{width:240px;height:240px;left:34%;bottom:-210px}
.activity-hero-copy,.activity-hero-stats{position:relative;z-index:1}.activity-kicker,.activity-card-kicker{display:inline-flex;align-items:center;gap:8px;font-size:.71rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.activity-kicker{color:#f7becb}.activity-kicker-dot{width:7px;height:7px;border-radius:50%;background:#ff8fa5;box-shadow:0 0 0 5px rgba(255,143,165,.15)}
.activity-hero h2{margin:13px 0 8px;font-size:clamp(2.2rem,4vw,3.55rem);line-height:1.04;letter-spacing:-.055em}.activity-hero p{max-width:430px;margin:0;color:rgba(255,255,255,.75);font-size:.96rem;line-height:1.6}
.activity-hero-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.activity-hero-stat{display:grid;align-content:start;gap:8px;min-height:145px;padding:17px 18px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.09);backdrop-filter:blur(4px)}.activity-stat-icon{display:grid;width:27px;height:27px;place-items:center;border-radius:7px;color:#ffe5ea;background:rgba(224,91,114,.32);font-size:1rem;font-weight:800}.activity-hero-stat>span:nth-child(2){color:rgba(255,255,255,.75);font-size:.77rem}.activity-hero-stat strong{align-self:end;font-size:clamp(1.35rem,2vw,1.95rem);line-height:1.15;letter-spacing:-.045em;white-space:nowrap}
.activity-workspace{display:grid;grid-template-columns:minmax(270px,320px) minmax(0,1fr);gap:20px;align-items:start}.activity-upload-card,.activity-history{min-width:0;border:1px solid #e1e6ee;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(23,52,94,.05)}.activity-upload-card{padding:23px;background:linear-gradient(155deg,#fff 54%,#fef5f6 100%)}
.activity-card-heading{display:flex;align-items:center;gap:12px}.activity-heading-icon{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:12px;color:#bd405c;background:#fde9ee;font-size:1.55rem;font-weight:600}.activity-card-kicker{color:#bf4962;font-size:.64rem}.activity-upload-card h3,.activity-history h3{margin:4px 0 0;color:var(--navy);font-size:1.15rem;letter-spacing:-.02em}.activity-upload-card>p:not(.activity-upload-message){margin:16px 0 0;color:var(--muted);font-size:.86rem;line-height:1.55}
.activity-upload-card form{display:grid;gap:12px;margin-top:19px}.activity-upload-card .activity-file-picker{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:12px;border:1px dashed #a9bcd4;border-radius:12px;color:var(--navy);background:#f5f8fc;font-size:.84rem;font-weight:800;text-align:center;cursor:pointer;transition:background .2s,border-color .2s}.activity-file-picker:hover{border-color:var(--navy);background:#eaf0f8}.activity-file-picker span{font-size:1.2rem;line-height:1}.activity-upload-card input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.activity-upload-card label:has(+ input[type=file]:focus-visible){outline:2px solid var(--navy);outline-offset:2px}.activity-upload-hint{color:var(--muted);font-size:.73rem;line-height:1.5}.activity-upload-card .primary-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 14px}.activity-upload-card .primary-button:disabled{opacity:.55;cursor:not-allowed}
.activity-gpx-list{display:grid;gap:5px;margin:0;padding:0;list-style:none;font-size:.78rem}.activity-gpx-list:empty{display:none}.activity-gpx-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:8px 10px;border-radius:8px;background:#edf2f8}.activity-gpx-list li span{min-width:0;overflow-wrap:anywhere}.activity-gpx-list button{flex:0 0 auto;border:0;background:transparent;color:#9c3041;font-size:.75rem;font-weight:700;cursor:pointer}.activity-upload-message{margin:12px 0 0;font-size:.8rem;line-height:1.5}.activity-upload-message:empty{display:none}.activity-upload-message.success{color:#267a57}.activity-upload-message.error{color:#9c3041}
.activity-history{padding:25px}.activity-history-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:22px}.activity-history-head h3{margin-top:6px;font-size:1.35rem}.activity-history-head p{margin:6px 0 0;font-size:.83rem}.activity-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px;border:1px solid #e9edf3;border-radius:13px;background:#f7f9fc}.activity-filters label{display:grid;gap:6px;min-width:0;color:#68788d;font-size:.69rem;font-weight:800;letter-spacing:.02em}.activity-filters select{width:100%;min-height:39px;padding:7px 9px;border:1px solid #dce4ee;border-radius:8px;color:var(--navy);background:#fff;font-size:.83rem;font-weight:650}.activity-filters select:focus-visible{outline:2px solid #94b4dc;outline-offset:1px}
.activity-results{display:grid;gap:0;margin-top:6px}.activity-row{display:flex;align-items:center;gap:14px;min-width:0;padding:16px 2px;border-bottom:1px solid #edf0f4}.activity-row:last-child{border-bottom:0}.activity-type-icon{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:12px;color:#1e5982;background:#eaf3f9;font-size:1.22rem;font-weight:800}.activity-type-icon.walk{color:#9b6340;background:#fbf2e8}.activity-row-main{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:2px;align-items:baseline;min-width:0}.activity-row-type{color:#63748a;font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.activity-row-main strong{grid-column:1/-1;color:var(--navy);font-size:1.08rem;letter-spacing:-.02em}.activity-row-date{grid-column:1/-1;color:var(--muted);font-size:.77rem}.activity-row-meta{display:flex;align-items:center;gap:10px;margin-left:auto;white-space:nowrap}.activity-duration{color:#6e7b8e;font-size:.78rem}.activity-status{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:100px;color:#267a57;background:#eaf6ef;font-size:.69rem;font-weight:850}.activity-status:before{width:5px;height:5px;border-radius:50%;background:currentColor;content:''}.activity-status.pending{color:#9d6623;background:#fff4df}.activity-status.rejected{color:#a13b52;background:#fcecf0}
.activity-empty{display:grid;justify-items:center;gap:8px;padding:55px 18px;text-align:center;color:var(--muted)}.activity-empty span{display:grid;width:48px;height:48px;place-items:center;border-radius:50%;color:#7e9abc;background:#edf3f9;font-size:1.7rem}.activity-empty strong{color:var(--navy)}.activity-empty p{margin:0;font-size:.85rem}#activity-show-more{display:block;width:100%;margin-top:17px;padding:11px;border:1px solid #dce5f0;background:#f5f8fc;font-size:.82rem}#activity-show-more[hidden]{display:none}
@media(max-width:1150px){.activity-hero{grid-template-columns:1fr}.activity-hero-stats{max-width:520px}.activity-workspace{grid-template-columns:minmax(240px,290px) minmax(0,1fr)}.activity-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.activity-hero{min-height:0}.activity-workspace{grid-template-columns:1fr}.activity-upload-card{order:2}.activity-history{order:1}}
@media(max-width:520px){.activities-page{gap:16px}.activity-hero{gap:20px;padding:23px;border-radius:18px}.activity-hero h2{font-size:2.45rem}.activity-hero-stats{gap:8px}.activity-hero-stat{min-height:125px;padding:13px}.activity-hero-stat strong{font-size:1.25rem;white-space:normal}.activity-history,.activity-upload-card{padding:19px;border-radius:16px}.activity-filters{gap:8px;padding:10px}.activity-row{gap:9px}.activity-type-icon{flex-basis:36px;width:36px;height:36px}.activity-row-meta{display:grid;justify-items:end;gap:5px}.activity-duration{font-size:.72rem}.activity-status{font-size:.64rem}}
