:root{font-family:system-ui,-apple-system,sans-serif;color:#24452f;background:#faf5e6;font-synthesis:none}*{box-sizing:border-box}body{margin:0;height:100dvh;overflow:hidden}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.55}header{position:absolute;z-index:500;top:0;left:0;right:0;background:#234b33;color:#fff8e5;padding:calc(12px + env(safe-area-inset-top)) 18px 12px;box-shadow:0 4px 20px #193a2920}.title{display:flex;align-items:center;gap:10px}.title>span{font-size:34px;color:#f2df9c}h1{font-size:26px;letter-spacing:-.7px;margin:0;font-weight:750}.quiet{margin-left:auto;background:transparent;border:0;color:#eee8cf;font-size:12px;padding:12px 0}.filters{display:flex;gap:8px;overflow:auto;scrollbar-width:none;margin-top:14px}.filter{white-space:nowrap;border:1px solid #8fa487;border-radius:24px;background:transparent;color:inherit;padding:8px 16px;font-size:13px}.filter[aria-pressed=true]{background:#f8dfa0;color:#27472e;border-color:#f8dfa0}main,#map{position:absolute;inset:0}#map{top:calc(119px + env(safe-area-inset-top));bottom:0;background:#e6e6ce}.leaflet-container{font-family:inherit}.map-actions{position:absolute;z-index:450;right:17px;bottom:calc(90px + env(safe-area-inset-bottom));display:grid;gap:12px}.map-actions button{border:0;border-radius:50%;width:52px;height:52px;background:#faf4dd;color:#244b30;font-size:30px;box-shadow:0 3px 16px #233c3330}.map-actions #add{background:#254c32;color:#faf1d5;font-size:38px}.collection{position:absolute;z-index:450;bottom:calc(20px + env(safe-area-inset-bottom));left:18px;right:18px;border:1px solid #e2d9ba;background:#fff8e8;color:#24452f;border-radius:15px;min-height:48px;text-align:left;padding:14px 20px;font-weight:650;box-shadow:0 4px 20px #2b452b20}.collection span{float:right;background:#e9e6cc;border-radius:12px;padding:0 8px}#message{position:absolute;z-index:480;top:calc(133px + env(safe-area-inset-top));left:60px;right:15px;background:#fffaeeef;border:1px solid #d8d8bd;border-radius:12px;padding:10px 12px;font-size:12px;pointer-events:none}.poi-wrapper{background:none;border:0}.poi{display:flex;align-items:center;justify-content:center;border:3px solid #fff8e9;box-shadow:0 3px 8px #223c3444;width:40px;height:40px;border-radius:50% 50% 50% 8%;transform:rotate(-45deg);font-size:0}.poi::after{content:''}.poi{transform:none;border-radius:50%;font-size:22px}.poi::after{position:absolute;bottom:1px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:9px solid #fff8e9}dialog{color:#24452f;background:#fcf6e6;border:1px solid #e0d5b5;border-radius:24px;padding:23px;width:calc(100% - 20px);max-width:470px;max-height:85dvh;overflow:auto;box-shadow:0 20px 80px #102e3350}dialog::backdrop{background:#132b2655;backdrop-filter:blur(3px)}dialog h2{font-size:25px;letter-spacing:-.7px;margin:0 0 16px}.sheet-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.close{border:0;background:transparent;color:#526348;font-size:30px;line-height:1;padding:0 3px 12px}#editor{position:fixed;top:auto;bottom:calc(8px + env(safe-area-inset-bottom));margin:0 auto;max-height:59dvh;z-index:800;padding:20px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650}input{width:100%;padding:12px;border:1px solid #cfc5a6;border-radius:10px;background:#fffaf0;color:#24452f;font-size:16px;min-height:46px}input:focus-visible,button:focus-visible{outline:3px solid #bea04e;outline-offset:2px}.name-photo{display:grid;grid-template-columns:1fr 100px;gap:10px}.photo-button{background:#eee8d2;border:1px solid #dcd2b2;border-radius:12px;padding:10px;text-align:center;align-items:center;justify-content:center;font-size:24px;position:relative;overflow:hidden}.photo-button span{font-size:11px}.photo-button input{position:absolute;inset:0;opacity:0;cursor:pointer;height:100%}fieldset{border:0;padding:0;margin:16px 0}legend{font-weight:750;font-size:15px;margin-bottom:12px}#categories{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.category{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid #dfd4b5;background:#fcf7e8;border-radius:10px;min-height:54px;color:#24452f;padding:4px 1px}.category span{font-size:23px}.category small{font-size:8px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.category[aria-pressed=true]{background:#dce4bf;border:2px solid #426a3e}.primary{width:100%;border:0;background:#244c31;color:#fff9e6;border-radius:12px;padding:14px;font-weight:700;min-height:48px}.fine{font-size:11px;color:#67705a;line-height:1.6}#coordinates{margin-bottom:0}#coordinates+.fine{margin-top:3px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#84905e;font-weight:750}#login{max-width:420px;padding:30px}#login h2{font-size:36px;margin-top:25px}#login-form>p:not(.eyebrow):not(.fine){font-size:14px;line-height:1.7}#login label{margin-top:26px}#login-error,#save-error,#detail-error{font-size:13px;color:#9c3e2c}#preview{width:100%;max-height:130px;object-fit:cover;border-radius:12px;margin-top:12px}#detail-photo{width:100%;max-height:300px;object-fit:cover;border-radius:15px}.button-row{display:flex;gap:12px}.danger{border:1px solid #d7ad96;color:#8c4330;background:transparent;padding:12px 20px;border-radius:12px}.list-item{display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #e7dec2;background:transparent;width:100%;text-align:left;color:#24452f;padding:18px 0}.list-item span:last-child{margin-left:auto}.list-icon{font-size:25px}.leaflet-control-attribution{font-size:10px!important}@media(min-width:700px){header{right:auto;width:390px;border-radius:0 0 20px 0}#map{top:0}#message{top:145px;left:60px;right:auto;max-width:310px}.collection{right:auto;width:320px}#editor{left:auto;right:20px;bottom:20px;max-height:80dvh;width:390px}.map-actions{bottom:30px}.category small{font-size:9px}}
/* Version 3: cream bottom sheet and monochrome botanical icons. */
.line-icon{display:block;width:26px;height:26px;flex-shrink:0}.icon-symbol{display:inline-flex;align-items:center;justify-content:center;color:inherit;flex-shrink:0}.brand-mountain{width:42px;height:32px;color:#f2df9c;flex-shrink:0}.filter{display:inline-flex;align-items:center;gap:7px}.filter .line-icon{width:17px;height:17px}.poi{background:#fcf6e6;color:#284f34;border:2px solid #345d3c;box-shadow:0 3px 9px #233c3340}.poi .line-icon{width:24px;height:24px}.poi::after{border-top-color:#345d3c}.list-item>.icon-symbol{width:44px;height:44px;background:#eeecd7;border-radius:12px;color:#355e3d}#detail-category{display:flex;align-items:center;gap:9px}#editor{background:#fcf6e6;border:1px solid #e0d6b9;border-radius:25px 25px 18px 18px;padding:10px 18px 18px;max-height:67dvh;box-shadow:0 -6px 38px #243d3026}.sheet-handle{width:39px;height:5px;border-radius:8px;background:#c4bca4;margin:0 auto 17px}#editor .sheet-head h2{font-size:23px;letter-spacing:-.8px;margin-bottom:16px}#editor .close{font-size:25px;color:#7b8268}#editor .name-photo{grid-template-columns:minmax(0,1fr) 100px;gap:12px;align-items:stretch}#editor .name-photo>label:first-child{justify-content:center}#editor input{border-color:#cbbf9d;background:#fff9e9;border-radius:12px}.photo-button{color:#315634;background:#eee8ce;border-color:#ded3af;gap:5px;min-height:80px}.photo-button>.line-icon{width:28px;height:28px}.photo-button span{font-size:12px;line-height:1.2;max-width:65px;font-weight:550}#editor fieldset{margin:14px 0 18px}#editor legend{font-size:16px;color:#254b30;margin-bottom:10px}#categories{gap:7px;max-height:245px;overflow-y:auto;padding:2px 2px 4px;scrollbar-width:thin;scrollbar-color:#9fa889 transparent}.category{background:#fcf6e6;color:#315735;border:1px solid #ded3b3;border-radius:10px;min-height:63px;padding:6px 2px;gap:5px}.category .line-icon{width:26px;height:26px}.category small{font-size:9px;line-height:1.15;text-align:center;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;overflow:visible;max-width:100%;font-weight:550}.category[aria-pressed=true]{background:#e4e9d0;color:#23472b;border:1px solid #587a46;box-shadow:inset 0 0 0 1px #587a46}.category:hover{background:#eeeed9}#editor .primary{background:#254e2d;border-radius:12px;min-height:49px;font-size:16px}#editor #coordinates{margin-top:12px;font-size:10px}#editor #coordinates+.fine{font-size:10px;margin-bottom:0}@media(max-height:720px){#editor{max-height:72dvh}#categories{max-height:190px}.category{min-height:59px}}@media(min-width:700px){#editor{max-height:85dvh;width:410px;padding:12px 22px 22px}#categories{max-height:350px}}
/* Version 4: point sharing and Apple Maps directions. */
.detail-location{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 16px}.detail-location>p{margin:0;font-variant-numeric:tabular-nums}.location-action{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:#315735;background:#eeecd7;border:1px solid #d4d9bb;border-radius:12px;flex-shrink:0;text-decoration:none}.location-action .line-icon{width:22px;height:22px}.share-actions{display:flex;gap:8px;margin-bottom:8px}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;background:#f6f1de;color:#315735;border:1px solid #d6ccad;border-radius:11px;padding:10px 12px;font-size:13px;font-weight:650}.secondary .line-icon{width:20px;height:20px}.share-actions #share{flex:1}#share-fallback[hidden]{display:none}#share-text{font:inherit;font-size:13px;line-height:1.6;color:#24452f;background:#fffaf0;border:1px solid #cfc5a6;border-radius:10px;padding:10px;width:100%;resize:vertical}#share-fallback{margin-bottom:18px}#category-hint:empty,#share-status:empty{display:none}#category-hint{margin:10px 2px 0}#detail .button-row{margin-top:16px}
/* Version 7: notes, galleries, offline actions and compass. */
textarea{font:inherit;font-size:16px;color:#24452f;background:#fffaf0;border:1px solid #cfc5a6;border-radius:10px;padding:10px;width:100%;resize:vertical}.notes-label{margin-top:15px}.notes-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.photo-gallery:empty{display:none}.photo-gallery img{width:100%;height:100px;object-fit:cover;border-radius:10px}.photo-item{position:relative}.photo-item button{position:absolute;right:3px;top:3px;border:0;border-radius:50%;width:32px;height:32px;font-size:24px;color:#24452f;background:#fff9e9}.photo-tools,.export-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.coordinate-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.detail-location>p{flex:1;min-width:0}.coordinate-fields label{font-size:11px}.coordinate-fields input{padding:8px;font-size:14px}#point-compass{text-align:center}#point-compass .sheet-head{text-align:left}.compass-face{width:min(250px,65vw);aspect-ratio:1;position:relative;margin:24px auto;border:6px solid #c9c4aa;border-radius:50%;background:#fff9e9}.compass-face.arrived{border-color:#388344;background:#edf5df;box-shadow:0 0 0 7px #38834418}.compass-rose{position:absolute;inset:10px}.compass-rose span{position:absolute;font-size:14px;font-weight:700}.compass-rose .north{top:0;left:50%;transform:translateX(-50%)}.compass-rose .south{bottom:0;left:50%;transform:translateX(-50%)}.compass-rose .east{right:0;top:50%;transform:translateY(-50%)}.compass-rose .west{left:0;top:50%;transform:translateY(-50%)}.compass-pointer{position:absolute;inset:0;color:#315735}.compass-pointer svg{width:100%;height:100%}#compass-distance{font-size:38px;font-weight:750;margin:8px 0;font-variant-numeric:tabular-nums}#compass-status{font-size:14px;min-height:40px}#editor{max-height:76dvh}.export-tools .secondary{font-size:12px}#detail-photos img{height:130px}
