:root{--bg:#f7f5ee;--ink:#303c35;--muted:#858a7d;--line:#dfdfd3;--accent:#365943;--primary:#365943}body{background:#f7f5ee;color:#303c35}.app{background:#f7f5ee}header{padding-top:21px;padding-bottom:18px;border-color:#dedfd3}h1{font-family:Georgia,'Noto Serif KR',serif;letter-spacing:-1px}.brand-globe{display:none}header h1{font-size:25px}.brand p{color:#8a8b7c}button.primary,.primary{background:#365943!important;border-color:#365943!important}.people-filter button[aria-pressed=true]{background:#365943!important;border-color:#365943!important;color:#fff!important}.map-wrap{border:1px solid #d8dbce;border-radius:10px;overflow:hidden}.journal-sidebar{border-color:#dedfd3!important;background:#fbfaf5!important}.trip-card{background:#fcfbf6!important;border-color:#dedfd3!important}.trip-card.selected,.trip-card.active{border-color:#365943!important}.map-buttons button,.map-help{background:#fffef8!important}.compose[hidden]{display:none!important}.edit-login{display:none!important}.map-help{color:#5f705e}.journal,.controls{background:transparent}footer{border-color:#dedfd3}.atlas-workspace{min-height:0}@media (min-width:901px) {
  html, body {overflow-y:auto}
  .app {height:calc(100dvh + clamp(64px, 9dvh, 100px))}
}@media(max-width:900px){header h1{font-size:22px}.app{padding-bottom:70px}}
.trip-cover.personal-cover,.diary-cover.personal-cover{background:#eeeee5!important;aspect-ratio:16/9;height:auto!important;overflow:hidden}.personal-cover img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:contain}.personal-cover.photo-unavailable:after{content:'사진을 불러오지 못했어요';display:grid;place-items:center;min-height:100px;color:#8a927d;font-size:12px}
.map-help :is(#density-toggle,#route-toggle) {padding:5px 8px;border-radius:6px;font-size:12px}
#density-toggle[aria-pressed=true] {background:#ebe4f3;color:#554467}
#density-scale {display:flex;align-items:center;gap:5px;font-size:11px;color:#514c53}
#density-scale[hidden] {display:none}
#density-scale::before {content:"";width:28px;height:7px;border-radius:5px;background:linear-gradient(90deg,#238c84,#815aab,#b64472)}

#route-toggle[aria-pressed=true]{background:#e0eef0;color:#235c72} #route-toggle::before{content:"";display:inline-block;width:14px;border-top:2px solid #256d88;vertical-align:middle;margin-right:4px}

@media (max-width:900px) {
  .app {padding-bottom:0}
  .atlas-workspace {grid-template-rows:clamp(165px,43dvh,355px) 210px auto}
  #map {min-height:0}
  .mobile-nav {display:flex;position:sticky;bottom:0;flex:none;justify-content:space-evenly;background:#fffef8;border-top:1px solid var(--line);padding:2px 6px max(2px,env(safe-area-inset-bottom))}
  .mobile-nav button {min-height:40px}
}

.map-help #dwell-toggle {padding:5px 8px;border-radius:6px;font-size:12px}
#dwell-toggle[aria-pressed=true] {background:#f5e0e8;color:#803650}
#dwell-toggle::before {content:"";display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px;vertical-align:middle;background:radial-gradient(#bb6486,#ebc6d5)}
