:root{--ink:#17191d;--muted:#858990;--paper:#f5f6f8;--card:#fff;--line:#eceef1;--red:#1769f6;--red-dark:#1258d2;--jade:#1769f6;--gold:#ff9f32;--shadow:0 2px 10px rgba(25,35,55,.05);background:var(--paper)}
body{background:var(--paper)}
.topbar{background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);padding-top:20px;padding-bottom:20px}
.eyebrow{color:var(--red)}
.topbar h1,.section-head h2{font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.topbar h1{font-size:23px;font-weight:800}.topbar h1 span{font-weight:500}
.icon-btn{border:0;background:#eef4ff;color:var(--red);border-radius:12px}
main{background:#fff;min-height:calc(100vh - 76px)}
.hero{border-radius:14px;background:linear-gradient(135deg,#1769f6,#4389ff);box-shadow:0 12px 30px rgba(23,105,246,.22)}
.hero:after{display:none}.hero .eyebrow{color:#dbe9ff}.hero p{color:#eef5ff}
.card{border-radius:12px;box-shadow:none}.card:hover{border-color:#dce4f3}
.btn{border-radius:7px}.btn.primary,.btn.jade{background:var(--red);border-color:var(--red)}
.mini-copy{border-radius:8px;background:#eaf1ff;color:var(--red)}
.progress i{background:var(--red)}.check-row input{accent-color:var(--red)}
.tabs button{border-radius:6px;background:#f1f2f4}.tabs button.active{background:var(--red);border-color:var(--red)}
.badge{border-radius:5px;background:#eaf1ff;color:var(--red)}.badge.warn{background:#fff2de;color:#a86612}
.schedule-item{grid-template-columns:62px 1fr}.schedule-item:before{content:"";position:absolute;left:59px;top:23px;bottom:-34px;width:2px;background:#edf0f4}.schedule-item:last-child:before{display:none}.schedule-item .card{position:relative;margin-left:12px}.schedule-item .card:before{content:"";position:absolute;left:-21px;top:21px;width:10px;height:10px;border:3px solid var(--gold);background:#fff;border-radius:50%;z-index:2}.time{color:var(--ink);font-family:Inter,Pretendard,sans-serif;font-size:14px}
.settlement{background:#f3f7ff}.settlement b{color:var(--red)}
.note{background:#fff7e9;border-left-color:var(--gold);color:#72511f}
.bottom-nav{bottom:0;width:min(100%,760px);height:74px;border-radius:0;border-width:1px 0 0;box-shadow:0 -5px 18px rgba(25,35,55,.06);background:rgba(255,255,255,.97);padding-bottom:max(6px,env(safe-area-inset-bottom))}
.bottom-nav button{border-radius:8px}.bottom-nav button.active{background:transparent;color:var(--red)}
#toast{background:#202329}dialog{border-radius:14px}
@media(min-width:761px){main{box-shadow:0 0 0 1px var(--line)}}
.account-tools{display:flex;align-items:center;gap:8px}.account-tools span{font-size:12px;font-weight:800}.logout-btn{border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:700;padding:8px}
.login-shell{min-height:calc(100vh - 180px);display:grid;place-items:center;padding:20px}.login-card{width:min(100%,390px);padding:32px 26px;border:1px solid var(--line);border-radius:16px;background:#fff}.login-mark{width:54px;height:54px;display:grid;place-items:center;background:var(--red);color:#fff;border-radius:14px;font-size:27px;margin-bottom:20px}.login-card h2{margin:0 0 8px;font-size:25px}.login-card>p{color:var(--muted);margin:0 0 24px}.login-card .form button{margin-top:6px}.login-error{color:#d93535!important;background:#fff0f0;padding:10px 12px;border-radius:7px;font-size:13px}.auth-required .bottom-nav,.auth-required #resetBtn,.auth-required #logoutBtn,.auth-required #userName{display:none}

/* Compact mobile typography and touch-to-copy UI */
body{font-size:12px}.topbar h1{font-size:20px}.section-head h2{font-size:18px}.card h3{font-size:14px}.card p{font-size:12px}.zh{font-size:14px!important;font-weight:400}.label{font-size:9px}.stat{font-size:27px}.btn{font-size:11px;min-height:34px;padding:7px 10px}.compact-btn{margin-top:10px!important;min-height:32px}.copy-text{cursor:pointer;-webkit-tap-highlight-color:rgba(23,105,246,.12)}.copy-text:active{color:var(--red)}
.hotel-card h3{margin-bottom:5px}.hotel-card .map-actions{margin-top:12px}.phrase-list{padding-top:4px;padding-bottom:4px}.phrase{padding:10px 0}.phrase b{font-size:12px;font-weight:500}.phrase .zh{margin:2px 0!important;font-weight:400!important}.phrase small{color:var(--muted);font-size:10px;font-weight:400}
.map-actions{display:flex;gap:7px;flex:none}.map-icon{width:30px;height:30px;padding:3px;border:1px solid var(--line);border-radius:7px;background:#fff}.map-icon img{width:100%;height:100%;object-fit:contain}.map-icon:disabled{opacity:.25}.place-title>.map-actions{margin-left:auto}
.app-list{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden}.app-row{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;padding:12px 14px;background:#fff;border-bottom:1px solid var(--line)}.app-row:last-child{border-bottom:0}.app-logo{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#eaf1ff;color:var(--red);font-size:16px;font-weight:700}.app-info span{color:var(--muted);font-size:9px}.app-info h3{margin:2px 0;font-size:13px}.app-info p{margin:0;font-size:10px;color:var(--muted)}.store-links{display:flex;gap:6px}.store-links button{width:30px;height:30px;padding:0;border:0;border-radius:7px;overflow:hidden;background:#fff}.store-links img{width:100%;height:100%;object-fit:cover}
.place-search{width:100%;height:38px;border:1px solid var(--line);border-radius:8px;padding:0 12px;margin-bottom:10px;font-size:12px}.place-tabs button{padding:7px 11px;font-size:10px}.place-card{position:relative;padding:14px}.place-card h3{margin:0}.place-card .zh{font-size:12px!important}.place-address{font-size:10px!important;color:#777!important;line-height:1.45}.place-note{margin-top:7px!important;color:var(--ink)!important;white-space:normal}.text-action{padding:4px 0;border:0;background:transparent;color:var(--red);font-size:10px;font-weight:600}.place-card-actions{display:flex;gap:12px;margin-top:7px}.add-place{margin-top:0}
.place-toolbar{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start}.place-toolbar .place-search{margin-bottom:10px}.place-toolbar .compact-btn{margin-top:0!important;height:38px;white-space:nowrap}
.day-tabs button{padding:7px 10px;font-size:10px}.day-tabs small{display:block;margin-top:2px;font-size:9px;font-weight:400;opacity:.75}.new-schedule{margin:2px 0 12px}.schedule-card{padding:13px}.schedule-head{display:flex;justify-content:space-between;gap:8px}.schedule-head h3{margin:0}.schedule-head .zh{font-size:12px!important}.schedule-card>p{margin-top:6px}.schedule-actions{display:grid;grid-template-columns:auto auto 1fr auto auto;gap:8px;align-items:center;margin-top:7px}.schedule-actions button{padding:2px;border:0;background:transparent;color:var(--muted);font-size:9px}.schedule-actions button.danger{color:#d64242}.schedule-actions button:disabled{opacity:.2}.time{font-size:11px}.schedule-item{grid-template-columns:51px 1fr}.schedule-item:before{left:48px}.schedule-item .card:before{left:-21px;width:8px;height:8px}
.expense-edit{margin-right:9px}.expense-row .btn.danger{min-height:auto;padding:4px 0;border:0;background:transparent;font-size:10px}
.category-stats{padding-top:5px;padding-bottom:5px}.category-stat-row{padding:12px 0;border-bottom:1px solid var(--line)}.category-stat-row:last-child{border-bottom:0}.category-stat-head,.category-stat-money{display:flex;align-items:center;justify-content:space-between;gap:12px}.category-stat-head b{font-size:12px}.category-stat-head span,.category-stat-money span{font-size:10px;color:var(--muted)}.category-stat-bar{height:6px;margin:8px 0;background:#e8edf5;border-radius:999px;overflow:hidden}.category-stat-bar i{display:block;height:100%;border-radius:inherit;background:var(--red)}.category-stat-money strong{font-size:13px}
.currency-groups{display:grid;gap:18px}.currency-settlement>h3{margin:4px 2px 9px;font-size:13px}.currency-settlement .empty{padding:20px}.currency-groups>.note{margin:0}
.participants{gap:7px}.participants label{display:flex;flex-direction:row;align-items:center;justify-content:space-between;min-height:42px;padding:9px 11px;border-radius:8px;font-size:11px;font-weight:500}.form .participants input[type="checkbox"]{width:17px;height:17px;min-height:17px;margin:0;flex:none;accent-color:var(--red)}
.wanghong-card .place-title{align-items:flex-start}.wanghong-card .place-title h3{margin-bottom:4px}.wanghong-directions{margin-top:13px!important;color:var(--ink)!important}.wanghong-directions b{font-size:11px}.experience-summary{display:grid;gap:0;margin:14px 0 0;border-top:1px solid var(--line)}.experience-summary div{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.experience-summary dt{color:var(--muted);font-size:10px;font-weight:600}.experience-summary dd{margin:0;font-size:11px;line-height:1.45}.wanghong-guide{display:grid;gap:14px}.wanghong-guide section{display:grid;grid-template-columns:24px 1fr;gap:9px;align-items:start}.wanghong-guide section>b{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#eaf1ff;color:var(--red);font-size:10px}.wanghong-guide p{margin:1px 0 0;font-size:12px;line-height:1.65;color:var(--ink)}
.wanghong-booking{padding:14px;border-radius:12px;background:#f4f7fd}.wanghong-booking h3,.guide-subtitle{margin:0 0 12px;font-size:14px}.booking-timeline{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px}.booking-timeline span{padding:8px;border-radius:7px;background:#fff;font-size:10px}.wanghong-booking dl{margin:0}.wanghong-booking dl div{display:grid;grid-template-columns:64px 1fr;gap:8px;padding:8px 0;border-top:1px solid #dde5f2}.wanghong-booking dt{font-size:10px;color:var(--muted);font-weight:600}.wanghong-booking dd{margin:0;font-size:11px;line-height:1.5}.wanghong-booking small{display:block;margin-top:2px;color:var(--red);font-size:10px}.guide-subtitle{margin-top:20px}
