:root{--brand:#8cdd4d;--brand-dark:#356f18;--brand-soft:#ebf9df;--ink:#171918;--muted:#737a76;--line:#e2e7e3;--canvas:#f7f8f7;--surface:#fff;--yellow:#fff4cb;--orange:#fff0e9;--blue:#e8f7fd;--danger:#e95e46;--shadow:0 8px 24px #17191814;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body{min-height:100%;color:var(--ink);background:#eef0f4;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border:0}button:disabled{opacity:.6}:focus-visible{outline-offset:2px;outline:3px solid #53af284d}.site-shell{place-items:center;min-height:100dvh;padding:24px;display:grid;position:relative;overflow:hidden}.site-shell:before{content:"";pointer-events:none;background-image:radial-gradient(#1719180a .8px,#0000 .8px);background-size:18px 18px;position:fixed;inset:0}.decor{pointer-events:none;width:260px;height:170px;position:fixed;transform:rotate(12deg)}.decor-green{background:#8cdd4d2e;top:-80px;right:-70px}.decor-yellow{background:#ffc84a2e;bottom:-75px;left:-80px}.phone{background:var(--canvas);border:1px solid #17191814;border-radius:30px;width:min(100%,430px);height:min(900px,100dvh - 48px);min-height:min(700px,100dvh - 48px);position:relative;overflow:hidden;box-shadow:0 28px 88px #1719182e}.status{background:#fff;justify-content:space-between;align-items:center;height:30px;padding:0 20px;font-size:11px;display:flex}.screen{background:var(--canvas);flex-direction:column;display:flex;position:absolute;inset:30px 0 0}.enter{animation:.25s cubic-bezier(.2,.8,.2,1) both enter}@keyframes enter{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:none}}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:3;background:#fffffff5;grid-template-columns:54px 1fr 54px;align-items:center;height:62px;padding:0 10px;display:grid}.topbar>div{text-align:center;min-width:0}.topbar b,.topbar small{display:block}.topbar b{font-size:17px}.topbar small{color:var(--muted);margin-top:2px;font-size:11px}.topbar .header-brand{justify-content:center;align-items:center;gap:9px;display:flex}.header-brand img{object-fit:cover;border-radius:11px;width:38px;height:38px;box-shadow:0 4px 12px #a3ee1129}.header-brand span{min-width:0}.back{background:0 0;border-radius:50%;width:44px;height:44px;font-size:31px;font-weight:300}.back:active{background:#edf0ee;transform:scale(.92)}.save{color:var(--brand-dark);white-space:nowrap;justify-self:end;font-size:11px;font-weight:800}.scroll{scrollbar-width:none;flex:1;min-height:0;padding:16px 16px 96px;overflow-y:auto}.scroll::-webkit-scrollbar{display:none}.hero{background:var(--yellow);border:1px solid #f0e2b2;border-radius:18px;padding:19px;position:relative;overflow:hidden}.hero:after{content:"";background:#ffc84a;border-radius:50%;width:42px;height:42px;position:absolute;top:19px;right:19px;box-shadow:0 0 0 9px #ffc84a33}.hero h1{letter-spacing:-.7px;margin:0 0 6px;font-size:25px}.hero p{color:#6a664e;margin:0;font-size:13px}.section-title{justify-content:space-between;align-items:end;margin:19px 2px 10px;display:flex}.section-title h2{margin:0;font-size:17px}.section-title span{color:var(--muted);font-size:12px}.trip-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:17px;padding:16px}.trip-card h3{margin:0;font-size:18px}.trip-card p{color:var(--muted);margin:8px 0 10px;font-size:12px}.meta{color:var(--muted);justify-content:space-between;font-size:11px;display:flex}.edit-trip{color:#18310e;background:var(--brand-soft);border-radius:12px;width:100%;min-height:46px;margin-top:14px;font-size:13px;font-weight:850}.edit-trip:active{transform:scale(.975)}.bottom{z-index:4;padding:12px 16px calc(12px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;border-top:1px solid #e2e7e3e6;position:absolute;bottom:0;left:0;right:0}.bottom.split{grid-template-columns:52px 1fr;gap:10px;display:grid}.primary{color:#13200f;background:var(--brand);border-radius:14px;justify-content:center;align-items:center;width:100%;min-height:50px;font-size:15px;font-weight:850;transition:transform .15s;display:flex}.primary:active{transform:scale(.975)}.ai{color:#fff;background:var(--ink);border-radius:14px;min-height:50px;font-weight:900}.ai:active{transform:scale(.94)}.day-tabs{gap:8px;padding:1px 0 4px;display:flex;overflow-x:auto}.day-tabs button{background:#ecefed;border-radius:12px;min-width:88px;min-height:52px}.day-tabs button small,.day-tabs button b{display:block}.day-tabs button small{font-size:11px}.day-tabs button b{margin-top:2px;font-size:13px}.day-tabs .active{background:var(--brand)}.day-head{justify-content:space-between;align-items:center;margin:18px 2px 12px;display:flex}.day-head h2{margin:0;font-size:18px}.day-head span{color:var(--brand-dark);font-size:11px;font-weight:750}.timeline{padding-left:25px;position:relative}.timeline:before{content:"";background:#afea91;width:2px;position:absolute;top:12px;bottom:14px;left:8px}.plan-card{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:15px;align-items:center;gap:9px;margin-bottom:10px;padding:12px 10px 13px 15px;transition:transform .18s,border-color .18s;display:flex;position:relative;box-shadow:0 3px 10px #1719180a}.plan-card:active{border-color:#a9e98a;transform:scale(.985)}.dot{border:3px solid var(--canvas);background:var(--brand);border-radius:50%;width:10px;height:10px;position:absolute;top:19px;left:-23px}.type{color:#d65b3c;background:var(--orange);border-radius:9px;flex:none;place-items:center;width:28px;height:28px;font-size:11px;font-weight:900;display:grid}.type-餐饮{color:#8c6211;background:var(--yellow)}.type-交通{color:#2382a3;background:var(--blue)}.type-住宿{color:var(--brand-dark);background:var(--brand-soft)}.plan-copy{flex:1;min-width:0}.plan-copy>div{align-items:center;gap:9px;display:flex}.plan-copy time{color:var(--brand-dark);font-size:12px;font-weight:850}.plan-copy h3{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:15px;overflow:hidden}.plan-copy p{color:var(--muted);margin:8px 0 0;font-size:11px}.mini-edit{width:44px;height:44px;color:var(--brand-dark);background:var(--brand-soft);border-radius:12px;flex:none;font-size:11px;font-weight:850}.mini-edit:active{transform:scale(.92)}.empty{text-align:center;align-content:center;place-items:center;min-height:360px;display:grid}.empty i{border:3px solid var(--ink);border-radius:50%;width:90px;height:64px}.empty h2{margin:18px 0 7px;font-size:18px}.empty p{color:var(--muted);margin:0;font-size:13px}.scrim{z-index:10;background:#17191875;width:100%;animation:.18s both fade;position:absolute;inset:0}.sheet{z-index:11;max-height:89%;padding:10px 16px calc(20px + env(safe-area-inset-bottom));background:#fff;border-radius:24px 24px 0 0;animation:.28s cubic-bezier(.2,.8,.2,1) both sheet;position:absolute;bottom:0;left:0;right:0;overflow-y:auto;box-shadow:0 -18px 50px #17191833}.handle{background:#d7ddda;border-radius:5px;width:42px;height:5px;margin:0 auto 12px}.sheet header{justify-content:space-between;align-items:center;display:flex}.sheet header h2{margin:0;font-size:20px}.sheet header button{background:0 0;border-radius:50%;width:44px;height:44px;font-size:26px}.sheet form,.create-form{gap:14px;display:grid}.sheet label,.create-form label,.ai-page label{gap:7px;display:grid}.sheet label>span,.create-form label>span,.ai-page label>span{font-size:13px;font-weight:750}input,textarea,select{width:100%;min-height:48px;color:var(--ink);background:#fff;border:1px solid #d9dfdb;border-radius:12px;outline:0;padding:12px 13px}textarea{resize:vertical;min-height:82px}input:focus,textarea:focus,select:focus{border-color:#58b92f;box-shadow:0 0 0 4px #8cdd4d24}.two-cols{grid-template-columns:1fr 1fr;gap:10px;display:grid}.delete{min-height:48px;color:var(--danger);background:#fff5f2;border:1px solid #f0b5aa;border-radius:12px;font-weight:800}.create-form{padding-bottom:24px}.create-form em{width:max-content;color:var(--brand-dark);background:var(--brand-soft);border-radius:9px;padding:6px 10px;font-size:11px;font-style:normal;font-weight:800}.form-error{color:var(--danger);margin:0;font-size:12px}.ai-page{align-content:start;gap:16px;padding-bottom:24px;display:grid}.ai-hero{color:#fff;background:var(--ink);border-radius:18px;padding:20px}.ai-hero small{color:var(--brand);font-weight:850}.ai-hero h1{margin:8px 0;font-size:23px;line-height:1.2}.ai-hero p{color:#ffffffb3;margin:0;font-size:13px;line-height:1.6}.chips{gap:8px;display:flex}.chips button{border:1px solid var(--line);background:#fff;border-radius:11px;flex:1;min-height:42px}.chips .selected{border-color:var(--brand);background:var(--brand-soft)}.toast{z-index:50;color:#fff;background:var(--ink);min-width:180px;box-shadow:var(--shadow);text-align:center;border-radius:12px;padding:13px 16px;font-size:13px;animation:.24s both toast;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.loading-screen{background:var(--canvas);place-items:center;min-height:100dvh;display:grid}.loading-screen span{border:6px solid var(--brand-soft);border-top-color:var(--brand);border-radius:50%;width:48px;height:48px;animation:.8s linear infinite spin}@keyframes fade{0%{opacity:0}}@keyframes sheet{0%{transform:translateY(100%)}}@keyframes toast{0%{opacity:0;transform:translate(-50%,12px)}}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=600px){html,body{background:var(--canvas)}.site-shell{padding:0;display:block}.decor{display:none}.phone{width:100%;height:100dvh;min-height:100dvh;box-shadow:none;border:0;border-radius:0}.toast{bottom:calc(18px + env(safe-area-inset-bottom))}}@media (width<=360px){.topbar{grid-template-columns:48px 1fr 48px}.day-head span{display:none}.two-cols{grid-template-columns:1fr}.plan-copy h3{max-width:110px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important}}
