/* Clean trip cover card: title + one tidy detail line */
.trip-toolbar{background:transparent!important;box-shadow:none!important}
.trip-toolbar .back-to-list{color:#117f89!important;background:transparent!important}
.trip-hero,.trip-hero.theme-jp{position:relative!important;min-height:0!important;margin:14px 20px 6px!important;padding:18px 20px 16px 24px!important;border-radius:22px!important;background:#fff!important;background-image:none!important;box-shadow:0 1px 0 #1f26400a,0 8px 24px #2530500d!important;overflow:hidden!important}
.trip-hero:before,.trip-hero.theme-jp:before{content:""!important;display:block!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;right:auto!important;width:6px!important;height:auto!important;background:linear-gradient(#117f89,#7acdc9)!important;opacity:1!important}
.trip-hero:after{display:none!important}
.trip-hero h1{color:#22203e!important;font-size:1.45rem!important;line-height:1.25!important;letter-spacing:-.02em!important;margin:0!important;max-width:100%!important}
.trip-hero .trip-detail{display:flex!important;flex-wrap:wrap;align-items:center;gap:2px 6px;margin:8px 0 0!important;padding:0!important;border:0!important;background:none!important;color:#5d6472!important;font-size:.84rem!important;font-weight:500!important;line-height:1.5!important;text-align:left!important;white-space:normal!important;overflow:visible!important}
.trip-hero .trip-detail span{color:#c3c7cf!important}
.trip-hero .trip-detail .trip-detail-edit{color:#117f89!important;font-weight:600}
html[data-theme="dark"] .trip-hero{background:#22233a!important}
html[data-theme="dark"] .trip-hero h1{color:#f4f3ff!important}
html[data-theme="dark"] .trip-hero .trip-detail{color:#b9b8cc!important}
html[data-theme="dark"] .trip-toolbar .back-to-list{color:#7fd8de!important}
/* Bottom tab bar: consistent rounded line icons */
.mobile-tab .tab-ico{display:grid;place-items:center;width:28px;height:28px;font-size:0!important;margin-bottom:2px}
.mobile-tab .tab-ico svg{width:23px;height:23px}
.mobile-tab{color:#8a8f9c!important}
.mobile-tab.is-active,.mobile-tab:hover{color:#117f89!important}
.mobile-tab.is-active .tab-ico{background:#d4f1ee;border-radius:10px}
.mobile-tab b{color:inherit!important;font-weight:600!important}
.mobile-avatar{width:27px!important;height:27px!important;border-radius:50%!important;object-fit:cover;background:#d4f1ee;margin-bottom:2px}
html[data-theme="dark"] .mobile-tab{color:#9b9ab0!important}
html[data-theme="dark"] .mobile-tab.is-active,html[data-theme="dark"] .mobile-tab:hover{color:#7fd8de!important}
html[data-theme="dark"] .mobile-tab.is-active .tab-ico{background:#174e57}
/* Desktop: mirror the mobile look */
@media(min-width:768px){
  body{background:#f4f6f8!important}
  .topbar{position:sticky;top:0;z-index:20;width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;padding:0 max(24px,calc(50vw - 530px))!important;height:72px!important;background:#117f89!important;box-shadow:0 6px 20px #0d66701f}
  .topbar .brand,.topbar .brand span{color:#fff!important}.topbar .brand span{color:#ffd33f!important}
  .topbar .save-status{color:#d8fffb!important}
  .topbar .icon-button{background:#ffffff26!important;color:#fff!important}
  .trip-toolbar{padding:18px 0 0!important}
  .trip-hero,.trip-hero.theme-jp{margin:12px 0 8px!important;padding:24px 28px 22px 32px!important}
  .trip-hero h1{font-size:1.9rem!important}
  .trip-hero .trip-detail{font-size:.92rem!important}
  .day-tabs{display:flex!important;gap:10px!important;padding:14px 0 18px!important;background:none!important;overflow-x:auto}
  .day-tab{flex:0 0 auto!important;min-width:110px!important;width:auto!important}
}
html[data-theme="dark"] .topbar{background:#174e57!important}
