.elevation-panel{margin-top:18px;padding:22px 24px 14px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px}.section-heading output{color:var(--accent-dark);font-weight:760}.elevation-chart{display:block;width:100%;height:auto;min-height:180px;margin-top:12px;overflow:visible;touch-action:none}.elevation-chart text{fill:var(--muted);font-size:12px}.chart-grid{stroke:#dfe7e0;stroke-width:1;stroke-dasharray:4 5}.chart-area{fill:url(#elevation-fill)}.chart-line{fill:none;stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-crosshair{stroke:#496057;stroke-width:1;stroke-dasharray:4 4}.chart-dot{fill:#17291f;stroke:#fff;stroke-width:3}@media(max-width:640px){.elevation-panel{padding:18px 12px 8px}.elevation-chart{min-height:160px}}.app{width:min(1440px,100%);min-height:100vh;margin:auto;padding:0 clamp(18px,4vw,64px)}.site-header{height:80px;display:flex;align-items:center;justify-content:space-between;gap:16px}.tool-nav{display:flex;align-items:center;gap:5px;overflow-x:auto}.tool-nav a{padding:8px 10px;border-radius:8px;color:var(--muted);text-decoration:none;font-size:.82rem;font-weight:700;white-space:nowrap}.tool-nav a:hover{color:var(--accent);background:#fff}.brand{color:var(--ink);text-decoration:none;font-size:1.2rem;font-weight:780;letter-spacing:-.03em}.brand-mark{display:inline-grid;place-items:center;width:31px;height:31px;margin-right:7px;border-radius:9px;color:#fff;background:var(--accent)}.hero{max-width:800px;margin:clamp(48px,10vh,110px) auto 0;text-align:center}.eyebrow{margin:0 0 9px;color:var(--accent);font-size:.73rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.hero h1,.loaded-heading h1{margin:0;font-size:clamp(3rem,8vw,6.7rem);line-height:.96;letter-spacing:-.075em}.hero__subtitle{margin:17px 0 0;font-size:clamp(1.25rem,3vw,1.8rem);font-weight:700}.hero__message{max-width:600px;margin:15px auto 31px;color:var(--muted);font-size:1.06rem;line-height:1.65}.drop-zone{padding:10px;border:1px solid var(--line);border-radius:24px;background:#fff9;transition:border-color .2s,transform .2s}.drop-zone.is-dragging{border-color:var(--accent);transform:translateY(-2px)}.drop-zone__label{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1.5px dashed #9eb4a5;border-radius:17px;background:var(--surface);cursor:pointer}.drop-zone__label strong{font-size:clamp(1rem,2vw,1.2rem)}.drop-zone__label>span:last-child{color:var(--muted);font-size:.86rem}.drop-zone__icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:6px;border-radius:50%;color:#fff;background:var(--accent);font-size:1.4rem}.privacy-note{display:flex;justify-content:center;align-items:center;gap:8px;margin:17px 0 0;color:var(--muted);font-size:.84rem}.privacy-note span{color:var(--accent);font-weight:900}.secondary-button,.primary-button{min-height:42px;padding:0 18px;border:1px solid #b7c6ba;border-radius:999px;color:var(--ink);background:#fff;font-weight:720}.secondary-button:hover{border-color:var(--accent);color:var(--accent)}.primary-button{border-color:var(--accent);color:#fff;background:var(--accent)}.primary-button:hover{background:var(--accent-dark)}.primary-button:disabled{opacity:.45;cursor:not-allowed}.loaded-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:24px 0 25px}.loaded-heading h1{max-width:850px;overflow-wrap:anywhere;font-size:clamp(2.3rem,5vw,4.8rem)}.loaded-heading .privacy-note{margin-bottom:8px;white-space:nowrap}.file-name{margin:8px 0 0;color:var(--muted);font-size:.86rem}.metadata-description{max-width:720px;margin:10px 0 0;color:var(--muted);line-height:1.5}.document-structure,.metadata-details{margin:7px 0 0;color:var(--muted);font-size:.78rem}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:stretch}.map-loading{min-height:560px;display:grid;place-items:center;border:1px solid var(--line);border-radius:20px;color:var(--muted);background:#e8eee8}.summary-card,.elevation-panel{border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:var(--shadow)}.summary-card{padding:24px}.summary-card h2,.elevation-panel h2{margin:0;font-size:1.25rem;letter-spacing:-.03em}.activity-selector{margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid #e3eae4}.activity-selector label{display:block;margin-bottom:7px;color:var(--muted);font-size:.76rem;font-weight:760;text-transform:uppercase;letter-spacing:.08em}.activity-selector select{width:100%;min-height:44px;padding:0 34px 0 11px;border:1px solid #b7c6ba;border-radius:10px;color:var(--ink);background:#fff;font-weight:680}.selected-activity-name{margin:7px 0 0;color:var(--muted);font-size:.85rem;line-height:1.4}.overview-note{padding-top:3px}.overview-note p:last-child{margin:12px 0 0;color:var(--muted);font-size:.9rem;line-height:1.55}.stats-grid{display:grid;gap:0;margin:18px 0 0}.stat{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid #edf1ed}.stat dt{color:var(--muted);font-size:.83rem}.stat dd{margin:0;font-weight:760;text-align:right}.error-message{display:flex;gap:8px 20px;flex-wrap:wrap;max-width:800px;margin:16px auto;padding:14px 18px;border:1px solid #e6b9b9;border-radius:12px;color:var(--danger);background:#fff5f5}footer{display:flex;justify-content:space-between;gap:20px;padding:44px 0 28px;color:var(--muted);font-size:.8rem}footer .privacy-note{margin:0}.tool-intro{max-width:800px;margin:clamp(35px,7vh,80px) auto 30px;text-align:center}.tool-intro h1{margin:0;font-size:clamp(2.5rem,6vw,5rem);line-height:1;letter-spacing:-.065em}.tool-intro__subtitle{margin:13px 0 0;font-size:clamp(1.1rem,2.5vw,1.5rem);font-weight:750}.tool-intro__summary{max-width:620px;margin:12px auto;color:var(--muted);line-height:1.6}.tool-workspace{max-width:1180px;margin:0 auto}.tool-grid{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}.control-card{margin-top:18px;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:var(--shadow)}.tool-grid>.control-card{margin-top:0}.control-card h2{margin:0 0 18px;letter-spacing:-.03em}.control-card input[type=text],.control-card input[type=number],.control-card>input:not([type]){width:100%;min-height:44px;padding:0 11px;border:1px solid #b7c6ba;border-radius:9px}.field-label{display:block;margin-bottom:7px;color:var(--muted);font-size:.78rem;font-weight:750}.loaded-file-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff}.loaded-file-bar div{min-width:0}.loaded-file-bar strong,.loaded-file-bar span{display:block;overflow-wrap:anywhere}.loaded-file-bar span{margin-top:4px;color:var(--muted);font-size:.82rem}.file-list{display:grid;gap:10px;margin:18px 0}.file-card{padding:14px;border:1px solid var(--line);border-radius:12px}.file-card strong,.file-card span{display:block;overflow-wrap:anywhere}.file-card>div:first-child span{margin-top:3px;color:var(--muted);font-size:.78rem}.row-actions{display:flex;gap:6px;margin-top:10px}.row-actions button,.nested-item button,.structure-track button,.preset-row button{min-height:34px;border:1px solid #c7d2c9;border-radius:7px;background:#fff}.nested-item{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid #edf1ed;font-size:.8rem}.nested-actions{display:flex!important;gap:4px;flex-shrink:0}.structure-track{padding:16px 0;border-top:1px solid var(--line)}.structure-track>div,.structure-track li{display:flex;justify-content:space-between;align-items:center;gap:12px}.structure-track ul{display:grid;gap:7px;padding-left:22px}.structure-track li{color:var(--muted)}.check-list{display:grid;gap:8px}.check-list label{display:flex;align-items:center;gap:11px;padding:11px;border:1px solid var(--line);border-radius:10px}.check-list span,.check-list small{display:block}.check-list small{margin-top:2px;color:var(--muted)}.advanced{margin:18px 0;padding:12px;border-radius:10px;background:#f5f8f5}.advanced summary{cursor:pointer;font-weight:700}.toggle-row{display:flex;gap:8px;margin-top:12px}.advanced p{color:var(--muted);font-size:.82rem;line-height:1.5}.advanced .warning{color:#8a4a16}.preset-row{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 18px}.preset-row button.is-active{color:#fff;border-color:var(--accent);background:var(--accent)}.before-after{display:grid;gap:0}.before-after div{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid var(--line)}.before-after dd{margin:0;font-weight:750}.comparison-labels{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:var(--muted);font-size:.8rem;font-weight:700}.format-grid{display:grid;gap:10px;margin-bottom:18px}.format-option{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;padding:13px;border:1px solid var(--line);border-radius:11px}.format-option input{grid-row:1 / 3}.format-option span{color:var(--muted);font-size:.82rem;line-height:1.4}.format-option.is-selected{border-color:var(--accent);background:#f2faf7}.format-explanation{margin-bottom:18px;padding:16px;border-radius:12px;background:#f2f7f3}.format-explanation p{margin:6px 0 0;color:var(--muted)}.related-tools{max-width:1180px;margin:36px auto 0;padding:22px;border-top:1px solid var(--line)}.related-tools>strong{display:block;margin-bottom:12px}.related-tools div{display:flex;flex-wrap:wrap;gap:8px}.related-tools a{padding:8px 11px;border-radius:8px;color:var(--accent-dark);background:#fff;text-decoration:none;font-size:.83rem;font-weight:700}.tool-help{max-width:980px;margin:48px auto 0;padding-top:30px;border-top:1px solid var(--line)}.tool-help>h2{margin:0 0 20px;font-size:1.4rem;letter-spacing:-.035em}.tool-help__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.tool-help article{min-width:0}.tool-help h3{margin:0 0 8px;font-size:1rem}.tool-help p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.65}.publisher-name{color:var(--ink);font-weight:700}.waypoint-count{margin-top:18px;color:var(--muted);font-size:.85rem}.not-found{max-width:600px;margin:15vh auto;text-align:center}.visibility-controls{display:grid;gap:7px;margin:0 0 20px;padding:12px;border:1px solid var(--line);border-radius:10px}.visibility-controls legend{padding:0 5px;color:var(--muted);font-size:.76rem;font-weight:750}.visibility-controls label{display:grid;grid-template-columns:auto auto 1fr;gap:8px;align-items:center;font-size:.82rem}.track-swatch{width:14px;height:4px;border-radius:3px;background:#e8492f}.track-swatch--1{background:#157aa5}.track-swatch--2{background:#8d55a5}.track-swatch--3{background:#d18b21}.track-swatch--4{background:#0b7755}.track-swatch--5{background:#c64f85}.track-swatch--6{background:#6d7334}.track-swatch--7{background:#5669b3}.track-swatch--8{background:#764c35}.track-color-control{min-width:0;margin:0 0 20px;padding:0 0 20px;border:0;border-bottom:1px solid #e3eae4}.track-color-control legend{margin-bottom:8px;color:var(--muted);font-size:.76rem;font-weight:760;letter-spacing:.08em;text-transform:uppercase}.track-color-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:3px;border:1px solid #b7c6ba;border-radius:10px;background:#f5f8f5}.track-color-options label{min-width:0}.track-color-options input{position:absolute;opacity:0;pointer-events:none}.track-color-options span{min-height:34px;display:grid;place-items:center;padding:0 5px;border-radius:7px;font-size:.75rem;font-weight:720;cursor:pointer}.track-color-options label.is-selected span{color:#fff;background:var(--accent)}.track-color-options input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.track-color-options input:disabled+span{color:#879389;cursor:not-allowed;opacity:.64}.track-color-help{margin:8px 0 0;color:var(--muted);font-size:.72rem;line-height:1.4}.gradient-legend{min-width:0;margin:0 0 20px;padding:13px;border:1px solid #e3eae4;border-radius:11px;background:#f8faf8}.gradient-legend>strong{display:block;margin-bottom:8px;font-size:.82rem}.gradient-legend__labels,.gradient-legend__hints{display:flex;justify-content:space-between;gap:10px;font-size:.72rem}.gradient-legend__labels{font-weight:730}.gradient-legend__bar{height:10px;margin:6px 0 4px;border:1px solid rgb(23 41 31 / 18%);border-radius:999px}.gradient-legend__hints{color:var(--muted);font-size:.66rem;text-transform:lowercase}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:850px){.workspace,.tool-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.tool-nav{max-width:68vw}}@media(max-width:640px){.app{padding-inline:14px}.site-header{height:auto;min-height:65px;align-items:flex-start;padding-block:13px;flex-direction:column}.tool-nav{width:100%;max-width:none}.loaded-heading{display:block;padding-top:16px}.loaded-heading .privacy-note{justify-content:flex-start;white-space:normal}.hero{margin-top:42px}.drop-zone__label{min-height:170px;padding:24px 16px}.drop-zone__label>span:last-child{max-width:260px}.stats-grid{grid-template-columns:1fr}.loaded-file-bar{align-items:flex-start;flex-direction:column}.loaded-file-bar .secondary-button,.primary-button{width:100%}.control-card{padding:18px 14px}.structure-track>div,.structure-track li{align-items:flex-start;flex-direction:column}.tool-help__grid{grid-template-columns:1fr;gap:22px}.related-tools{padding-inline:4px}footer{padding-top:32px;flex-wrap:wrap}footer .privacy-note{order:3;width:100%;justify-content:flex-start}}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18251d;background:#f4f7f3;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #18251d;--muted: #627067;--surface: #ffffff;--line: #dbe4dc;--accent: #0b7755;--accent-dark: #075e43;--danger: #a22f2f;--shadow: 0 18px 55px rgb(30 56 39 / 10%)}*{box-sizing:border-box}html{min-width:320px;background:#f4f7f3}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}:focus-visible{outline:3px solid #67c6a7;outline-offset:3px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
