/* V52 screenshot-reference alignment: preserve existing application handlers */
:root{--tm-purple:#702b94;--tm-ink:#23134c;--tm-border:#e4d5ef}
body{background:#f6effb!important;color:var(--tm-ink)!important;font-family:Inter,Arial,sans-serif!important}
body>.shell{padding-top:0!important;max-width:none!important}
body>header{display:none!important}
body .hero,body:not(.v17-page-home) .hero{display:flex!important;min-height:90px!important;height:90px!important;padding:12px 18px!important;margin:0 0 10px!important;border-radius:0 0 20px 20px!important;background-image:linear-gradient(90deg,rgba(31,4,42,.91),rgba(35,6,47,.1) 55%),url('./travel-collage-hd.jpg')!important;background-position:center!important;background-size:cover!important;align-items:center!important}
body .hero h1{font-size:clamp(21px,2.1vw,34px)!important;line-height:1.1!important;color:#fff!important}
body .hero p{font-size:12px!important;color:white!important;margin:4px 0!important;white-space:pre-line}
body .v17-desktop-sidebar{background:linear-gradient(130deg,#f1e2fc,#fdf9ff)!important;width:220px!important;padding:14px 8px!important;border:0!important}
body .v17-desktop-brand{font-size:22px!important;color:#211146!important;padding:8px 12px 18px!important}
body .v17-desktop-sidebar button{font-size:14px!important;font-weight:750!important;padding:12px!important;color:#231345!important;border-radius:10px!important}
body .v17-desktop-sidebar button.active{background:linear-gradient(110deg,#67228d,#8539a1)!important;color:white!important}
@media(min-width:751px){body>.shell{margin-left:220px!important;width:calc(100% - 220px)!important;padding-left:10px!important;padding-right:10px!important}}
body .card{background:linear-gradient(120deg,#fff,#fdf9ff)!important;border:1px solid var(--tm-border)!important;border-radius:18px!important;box-shadow:0 4px 13px #663d8b13!important;padding:17px 19px!important}
body .card h2{color:#301064!important;font-size:19px!important;font-weight:850!important;margin-bottom:9px!important}
body .card h3{color:#5e3a75!important}
body .btn,body button.btn:not(.secondary){background:linear-gradient(100deg,#6d2c91,#80399e)!important;color:white!important;border-radius:9px!important}
body .btn.secondary{background:#edddf5!important;color:#56227d!important}
body .field label{color:#29446a!important;font-weight:650!important}
body input:not([type=checkbox]):not([type=color]):not([type=range]),body select,body textarea{border:1px solid #d8c9e8!important;border-radius:9px!important;color:#231345!important;background:#fff!important}
body .progress{background:#d9c9f4!important}body .progress>div{background:#7a35ab!important}
#stays>.card:first-child .grid{grid-template-columns:1fr 1fr}#stays>.card:first-child .btn{font-size:18px;text-align:center;padding:17px}
#checklist .check{padding:7px 3px!important}#checklist .check input{accent-color:#78339d}
#budget>.card:first-child .stat:first-child{background:#f3e4fa!important}#budget>.card:first-child .stat:nth-child(2){background:#e7f7ed!important}
#budget .stat strong{color:#642187!important;font-size:25px!important}
#story>.card:first-child{padding:15px 20px!important}#story .v10-viewbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important}#story .v10-viewbar .btn{min-width:0!important;font-size:15px!important}
#storyMap{height:clamp(270px,28vw,460px)!important;border-radius:15px!important;overflow:hidden!important}
#storyMap .v13-cinema{border-radius:15px!important}
#tmTravelMemories{margin-top:8px}#tmTravelMemories .line{border:1px solid #e8d9f0;border-radius:12px;padding:13px;margin:8px 0;background:#fff}
#settings .tm-brand-signature img{max-width:310px;width:100%}
#share .stack .btn{width:100%}
@media(max-width:750px){body .hero,body:not(.v17-page-home) .hero{height:115px!important;min-height:115px!important;border-radius:17px!important}body .hero h1{font-size:23px!important}#story .v10-viewbar .btn{font-size:11px!important;padding:10px 3px!important}#stays>.card:first-child .grid{grid-template-columns:1fr 1fr}#stays>.card:first-child .btn{font-size:13px;padding:12px 5px}}
