/* Personal space: quiet controls, a navigable map and an explicit menu order. */
.account-menu{width:268px;padding:8px;border-radius:8px;background:#FFFDF9;box-shadow:0 12px 36px -18px #1B2F3F35;max-height:calc(100dvh - 100px);overflow:auto;overscroll-behavior:contain}
.account-menu .menu-identity{padding:14px 12px 16px;margin:0 3px 5px;border-bottom:1px solid #E1E8ED}
.menu-identity strong{font-size:15px;font-weight:500;line-height:1.6}
.menu-identity a{font-size:12px;color:#5A6F80;display:inline-block;margin-top:5px;min-height:28px;line-height:28px}
.account-menu>a,.account-menu>button{display:flex;align-items:center;gap:13px;padding:11px 12px;min-height:44px;border-radius:4px;font-size:14px;line-height:1.6;color:#1B2F3F}
.account-menu>a[aria-current=page]{background:#EDF2F4;font-weight:500}
.account-menu small{display:block;color:#6A7B88;font-size:11px;font-weight:400;margin-top:1px}
.account-menu svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;color:#5A6F80}
.account-menu [role=menuitem]:hover,.account-menu [role=menuitem]:focus-visible{background:#EDF2F4;outline:none}
.menu-divider{height:1px;background:#E1E8ED;margin:6px 12px}
.account-menu>button[data-signout]{color:#5A6F80}
.footprint-map{height:530px;min-height:350px;border-radius:8px;isolation:isolate;background:#E5EDF0;border:1px solid #D6E0E4;touch-action:pan-y;color:#1B2F3F}
.footprint-map canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;touch-action:pan-y;cursor:grab}
.footprint-map canvas:active{cursor:grabbing}
.footprint-map canvas:focus-visible{outline:2px solid #5A6F80;outline-offset:-4px}
.footprint-chrome{position:absolute;inset:0;z-index:3;pointer-events:none}
.footprint-chrome button,.footprint-chrome input,.footprint-detail{pointer-events:auto}
.footprint-chrome button{font:400 12px/1.5 var(--sans);color:inherit;background:rgba(253,253,248,.94);border:1px solid #C3D1D7;border-radius:5px;min-height:36px;padding:7px 10px;cursor:pointer}
.footprint-chrome button:hover{background:#FFFDF7;border-color:#9CAEB8}
.footprint-chrome button:disabled{opacity:.45;cursor:default}
.footprint-chrome svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;display:block}
.footprint-toolbar{position:absolute;top:18px;left:18px;right:18px;display:flex;justify-content:space-between;gap:10px;align-items:start}
.footprint-themes{display:flex;background:#F9FCF9E8;border:1px solid #C3D1D7;border-radius:5px;padding:3px;gap:2px}
.footprint-themes button{border:0;background:transparent;padding:4px 12px;min-height:28px;border-radius:3px;color:#5A6F80}
.footprint-themes button[aria-pressed=true]{background:#FFFFFF;color:#1B2F3F;box-shadow:0 1px 5px #1B2F3F12;font-weight:500}
.footprint-tools{display:flex;gap:6px;align-items:center}
.footprint-map-buttons{display:flex;flex-direction:column;gap:4px;position:absolute;right:18px;top:82px}
.footprint-map-buttons button{width:36px;padding:5px;font-size:20px;display:grid;place-items:center}
.footprint-timeline{position:absolute;bottom:45px;left:20px;right:20px;display:flex;gap:15px;align-items:center}
.footprint-timeline input{width:100%;min-width:25px;flex:1;accent-color:#B28A2C;height:22px;cursor:pointer}
.footprint-timeline button{white-space:nowrap}
.footprint-timeline time{font-size:11px;white-space:nowrap;letter-spacing:.01em;font-variant-numeric:tabular-nums;min-width:160px;text-align:right}
.footprint-status{position:absolute;bottom:14px;left:22px;right:22px;margin:0;font-size:11px;color:#597281;text-align:center;pointer-events:none}
.footprint-marker-layer{position:absolute;inset:0;z-index:2;pointer-events:none}
.footprint-marker-layer .footprint-marker{pointer-events:auto;background:none;border:1px solid transparent;width:44px;height:44px;padding:0;touch-action:manipulation}
.footprint-marker-layer .footprint-marker:after{content:none}
.footprint-marker-layer .footprint-marker:hover,.footprint-marker-layer .footprint-marker:focus-visible{border-color:#B38B39;outline:none;background:#F3BE3E0A}
.footprint-detail{position:absolute;top:76px;left:20px;bottom:100px;width:min(330px,calc(100% - 82px));overflow:auto;background:#FFFDF8;border:1px solid #D2DDE0;border-radius:7px;box-shadow:0 8px 30px -20px #17354855;overscroll-behavior:contain;scrollbar-width:thin;color:#1B2F3F}
.footprint-detail[hidden]{display:none}
.footprint-detail header{display:flex;justify-content:space-between;align-items:start;gap:8px;padding:18px 16px 12px}
.footprint-detail h3{font:300 23px/1.5 var(--serif);margin:5px 0}
.footprint-detail small{font-size:11px;color:#647A87}
.footprint-detail p{font-size:11px;margin:6px 0 0;color:#647A87}
.footprint-detail [data-footprint=hide]{border:0;background:none;min-height:28px;padding:0 5px;font-size:22px}
.footprint-records{padding:0 16px 12px}
.footprint-records>button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-top:1px solid #E1E8ED;border-radius:0;background:transparent;padding:12px 0;text-align:left}
.footprint-records>button:hover{background:transparent;border-color:#C8D5DB}
.footprint-records>button>span:nth-last-child(2){flex:1;min-width:0}
.footprint-records strong{font-weight:400;font-size:12px;display:block;overflow-wrap:anywhere;margin-bottom:3px}
.footprint-records .clip-thumb{width:64px;height:46px;flex:0 0 64px}
.footprint-map[data-theme=gold]{color:#EDF1E9;border-color:#345364}
.footprint-map[data-theme=gold] .footprint-status{color:#BDCED1}
.footprint-map[data-theme=gold] .footprint-chrome button{color:#E7ECE5;background:#224454F0;border-color:#5A7680}
.footprint-map[data-theme=gold] .footprint-themes{background:#183B4CED;border-color:#5A7680}
.footprint-map[data-theme=gold] .footprint-themes button{background:transparent;border:0}
.footprint-map[data-theme=gold] .footprint-themes button[aria-pressed=true]{background:#3B5A65;color:#FFF7DA}
.footprint-map[data-theme=gold] .footprint-detail{background:#FFFDF8;color:#1B2F3F}
.footprint-map[data-theme=gold] .footprint-detail button{background:transparent;color:#1B2F3F;border-color:#D4DEE1}
.footprint-map.is-expanded{position:fixed;inset:0;width:100%;height:100dvh;min-height:0;border-radius:0;border:0;z-index:4500;touch-action:none}
.footprint-map.is-expanded canvas{touch-action:none}
.footprint-map.is-expanded .footprint-toolbar{top:max(20px,env(safe-area-inset-top));left:24px;right:24px}
.footprint-map.is-expanded .footprint-timeline{bottom:calc(52px + env(safe-area-inset-bottom))}
.footprint-map.is-expanded .footprint-status{bottom:calc(20px + env(safe-area-inset-bottom))}
.footprint-map.is-expanded .footprint-detail{top:84px;bottom:110px;max-height:500px}
.contribution-card{border-radius:7px;background:transparent;box-shadow:none;padding:22px 24px}
.level-badge,.level-6,.level-7{color:#1B2F3F;border-radius:4px;font-weight:500;background:#FAF9F2}
.level-6,.level-7{border-color:#C7A96E;background:#F9F1DE}
.level-ladder{border-radius:7px}.level-step.current{background:#F5F4EB}.level-step small{color:#5A6F80}
.contribution-formula{font-size:13px;margin:0 0 5px;color:#1B2F3F}
.contribution-formula+ p{font-size:12px;color:#5A6F80;line-height:1.9}
.growth-benefits{padding:22px 0;border-top:1px solid #DDE5EA;border-bottom:1px solid #DDE5EA;margin:28px 0}
.growth-benefits h2{font-size:18px;margin-bottom:10px}.growth-benefits p{font-size:14px;color:#5A6F80;line-height:1.9;margin:0 0 12px}
.me-account-actions{gap:24px;font-size:13px}.me-account-actions button{color:#5A6F80}
@media(max-width:600px){
 .account-menu{right:-5px;top:calc(100% + 10px);width:min(268px,calc(100vw - 32px));max-height:calc(100dvh - 80px);padding-bottom:max(8px,env(safe-area-inset-bottom))}
 .footprint-map{height:430px;min-height:350px;border-radius:6px}
 .footprint-toolbar{top:12px;left:12px;right:12px;gap:7px;flex-wrap:wrap}
 .footprint-chrome button{font-size:11px;padding:6px 8px;min-height:34px}
 .footprint-themes button{min-height:26px;padding:3px 10px}
 .footprint-tools{gap:5px}.footprint-tools [data-footprint=focus]{display:none}
 .footprint-map-buttons{right:12px;top:65px}
 .footprint-map-buttons button{width:34px;min-height:34px;font-size:19px}
 .footprint-timeline{left:12px;right:12px;bottom:48px;gap:10px;flex-wrap:wrap}
 .footprint-timeline input{width:80px}.footprint-timeline time{width:100%;min-width:0;text-align:right;margin-top:-4px;font-size:10px}
 .footprint-status{left:12px;right:12px;bottom:13px;font-size:11px;line-height:1.6}
 .footprint-detail{left:12px;top:65px;bottom:106px;width:calc(100% - 64px)}
 .footprint-detail header{padding:12px 12px 8px}.footprint-detail h3{font-size:21px}
 .footprint-records{padding-inline:12px}.footprint-records .clip-thumb{width:52px;height:40px;flex-basis:52px}
 .footprint-map.is-expanded .footprint-toolbar{left:12px;right:12px}.footprint-map.is-expanded .footprint-tools [data-footprint=focus]{display:block}
 .footprint-map.is-expanded .footprint-map-buttons{top:max(112px,calc(env(safe-area-inset-top) + 92px))}
 .footprint-map.is-expanded .footprint-detail{top:140px;bottom:120px;max-height:370px}
 .contribution-card{padding:18px 16px}.growth-benefits{padding-block:20px}
}
