:root{font-family:-apple-system,BlinkMacSystemFont,PingFang TC,Noto Sans TC,Microsoft JhengHei,sans-serif;color:#293b31;background:#f7f6f1;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--paper: #f7f6f1;--card: #fffefb;--forest: #315746;--forest-dark: #244234;--ink: #293b31;--muted: #68776b;--line: #e4e7de;--soft-green: #eaf0e6;--apricot: #f2ceae}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--forest);text-underline-offset:4px}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #c58548;outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink)}h2{font-size:22px;font-weight:650;letter-spacing:.02em}h3{font-size:16px;font-weight:650}p{line-height:1.75}svg{flex-shrink:0;vertical-align:middle}button svg,a svg{width:18px;height:18px}::selection{background:#f4d6ba}.app-shell{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:38px 23px 24px;background:#eeeee6;border-right:1px solid #e1e4da}.brand{display:flex;align-items:center;gap:11px;margin:0 0 43px;text-decoration:none;font-weight:650;font-size:23px;letter-spacing:.14em}.brand>div:not(.brand-mark){display:flex;flex-direction:column;gap:3px}.brand small,.brand span small{display:block;font-family:inherit;font-size:9px;letter-spacing:.23em;color:#617060;line-height:1.5}.brand-mark{width:43px;height:43px;display:grid;place-items:center;background:var(--forest);color:#fffef4;border-radius:50% 50% 38% 38%}.brand-mark svg{width:26px;height:26px;stroke-width:1.5}.sidebar-caption{margin:0 0 11px 10px;color:#778171;font-size:11px;font-weight:650;letter-spacing:.13em}.trip-select{width:100%;min-height:45px;margin-bottom:26px;border:1px solid #d9ded1;border-radius:9px;padding:9px 10px;background:#f8f8f1;font-size:12px;color:var(--ink)}.side-nav{display:flex;flex-direction:column;gap:7px}.side-nav button{display:flex;align-items:center;gap:12px;text-align:left;min-height:47px;width:100%;padding:12px 15px;border:none;border-radius:9px;background:transparent;color:#637161;font-size:13px;font-weight:500}.side-nav button:hover{background:#e4e8dd}.side-nav button.nav-active{background:var(--forest);color:#fffdf6;box-shadow:0 3px 7px #2249340c}.side-nav button svg{width:18px;height:18px;stroke-width:1.7}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-bottom .button{width:100%}.sidebar-bottom p,.sidebar-bottom small{display:block;color:var(--muted);font-size:11px;line-height:1.8;margin:14px 7px 0}.main{min-width:0;padding:0 44px 32px;max-width:1540px;width:100%;margin:0 auto}.topbar{min-height:79px;display:flex;gap:16px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:30px}.breadcrumb{display:flex;align-items:center;gap:9px;font-size:12px;color:#778072;line-height:1.6;min-width:0}.breadcrumb span:last-child{color:#405143}.status-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dfe6d9;background:#f0f4eb;color:#53664e;padding:7px 11px;border-radius:99px;font-size:11px;white-space:nowrap}.online-dot{width:6px;height:6px;border-radius:50%;background:#6e9568;box-shadow:0 0 0 3px #6e956815}.hero{position:relative;min-height:245px;padding:32px 34px;background:#e8eee1;border-radius:15px;display:flex;overflow:hidden;isolation:isolate}.hero-copy{width:70%;position:relative;z-index:1}.eyebrow{color:#64765d;font-size:10px;letter-spacing:.22em;font-weight:650;margin-bottom:16px;text-transform:uppercase}.hero h1{font-family:"Noto Serif TC",Songti TC,Georgia,serif;font-weight:600;font-size:clamp(30px,3vw,44px);letter-spacing:.05em;line-height:1.45;margin:0 0 14px;overflow-wrap:anywhere}.hero-copy>p:not(.eyebrow){color:#61745c;font-size:13px;margin-bottom:18px}.hero-art{position:absolute;inset:0 0 0 auto;width:44%;z-index:-1;opacity:.92;pointer-events:none}.hero-art svg{width:100%;height:100%}.hero-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:23px}.trip-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;color:#596b54;font-size:12px}.trip-meta>span,.trip-meta>div{display:inline-flex;align-items:center;gap:6px}.trip-meta svg{width:15px;height:15px;stroke-width:1.8}.button{min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:8px;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-size:12px;font-weight:600;line-height:1.5;text-decoration:none;white-space:nowrap;transition:background .15s,box-shadow .15s,transform .15s}.button:hover{transform:translateY(-1px)}.button.primary,button.primary{background:var(--forest);color:#fffdf7;border-color:var(--forest)}.button.primary:hover,button.primary:hover{background:var(--forest-dark)}.button.secondary{background:#fffef7c9;border-color:#d3dbcb;color:#405940}.button.secondary:hover{background:#fffdf8;border-color:#aab9a2}.button.ghost{background:transparent;border-color:var(--line);color:#5b6f58}.button.ghost:hover{background:#edf0e7}.button.danger{color:#a34639;background:#fff5ef;border-color:#ebc9bd}.icon-button{border:0;min-width:44px;min-height:44px;border-radius:7px;background:transparent;color:#77816e;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:#eef1e8;color:var(--forest)}.icon-button.danger:hover{background:#fff0e7;color:#a34639}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:28px;margin-top:32px;align-items:start}.content-panel{min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-heading h2,.section-heading h3{margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:6px 0 0}.section-heading .button{flex-shrink:0}.tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.tabs button{background:none;border:none;border-bottom:2px solid transparent;padding:12px 3px;min-height:44px;font-weight:600;font-size:13px;color:var(--muted)}.tabs button.active{color:var(--forest);border-bottom-color:var(--forest)}.day-tabs{display:flex;gap:9px;overflow-x:auto;scrollbar-width:thin;padding:2px 2px 10px;margin-bottom:20px}.day-tab{min-height:62px;min-width:91px;padding:11px 17px;border:1px solid #e0e5d8;border-radius:9px;background:#fffef9;color:#6b7865;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;white-space:nowrap}.day-tab strong{font-size:13px;font-weight:650}.day-tab.active{background:var(--forest);border-color:var(--forest);color:#fffdf6;box-shadow:0 3px 10px #31574614}.day-tab.active span,.day-tab.active small{color:#d9e5d2}.timeline{display:flex;flex-direction:column;gap:15px}.stop-card{position:relative;display:flex;gap:19px;padding:23px 21px;background:var(--card);border:1px solid #e2e6da;border-radius:12px;box-shadow:0 3px 8px #35462e03}.stop-time{flex:0 0 43px;color:#55744c;font-size:13px;font-weight:650;padding-top:4px;line-height:1.7}.stop-body{min-width:0;flex:1}.stop-heading{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:10px}.stop-heading h3{font-size:16px;line-height:1.6;margin:0;overflow-wrap:anywhere}.badge{display:inline-flex;align-items:center;border-radius:5px;padding:4px 7px;background:#eaf0e5;color:#657a59;font-size:10px;line-height:1.2;font-weight:500;white-space:nowrap}.category-景點{background:#e8efe0;color:#607a4c}.category-餐飲{background:#fbecd9;color:#956d36}.category-住宿{background:#eee8f3;color:#81708a}.category-交通{background:#e5edf0;color:#627e8b}.note{margin:0;color:#74806c;font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.stop-actions{margin-top:15px;padding-top:9px;border-top:1px dashed #e6e8de;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.stop-actions .button{font-size:11px;min-height:44px;padding:7px 10px}.stop-actions a{display:inline-flex;align-items:center;gap:6px;font-size:11px;text-decoration:none;min-height:44px;padding:5px 7px 5px 0}.stop-actions a:hover{text-decoration:underline}.stop-actions .icon-button{margin-left:auto}.stop-actions .icon-button+.icon-button{margin-left:0}.stop-card.done{background:#f0f3e9}.stop-card.done .stop-heading h3{color:#718269}.stop-card.done .stop-time{color:#7d8f73}.empty-state{border:1px dashed #cfd8c7;background:#f4f6ee;border-radius:13px;padding:39px 23px;text-align:center;color:#72836b}.empty-state>svg{width:35px;height:35px;stroke-width:1.5;margin-bottom:13px}.empty-state h3{margin-bottom:10px;color:#4b6545}.empty-state p{font-size:13px}.summary-column{display:flex;flex-direction:column;gap:19px}.summary-card{padding:23px;border:1px solid #e0e5d8;border-radius:12px;background:var(--card)}.summary-card h3{margin-bottom:20px;font-size:14px}.summary-card p{font-size:12px}.summary-card .section-heading{margin-bottom:15px}.summary-card .section-heading h3{margin:0}.summary-card .section-heading svg{width:18px;height:18px;color:#829476}.mini-stat{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;padding:9px 0;color:#718068}.mini-stat strong{color:#415b3e;font-weight:600}.progress-track{height:6px;background:#e8ecdf;border-radius:8px;overflow:hidden;margin:15px 0 12px}.progress-fill{height:100%;background:#9aae86;border-radius:8px;transition:width .25s ease;max-width:100%}.budget-amount{margin:4px 0 5px;color:#315746;font-size:29px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.budget-amount small{font-size:11px;margin-right:6px;color:#7b896e;font-weight:500}.muted{color:var(--muted);font-size:12px;line-height:1.8}.trip-cover{background:#e8ecdf;border:0;position:relative;min-height:155px;overflow:hidden}.trip-cover h3{font-family:"Noto Serif TC",serif;font-size:19px;line-height:1.7}.trip-cover .eyebrow{margin-bottom:8px}.expense-row{display:flex;align-items:center;gap:12px;padding:17px 18px;border:1px solid var(--line);border-radius:10px;background:var(--card);margin-bottom:11px}.expense-info{min-width:0;flex:1}.expense-info h3{font-size:14px;margin:0 0 6px;overflow-wrap:anywhere}.expense-info p{margin:0;font-size:11px;color:#7a856f}.expense-info .badge{margin-right:7px}.expense-amount{flex-shrink:0;font-size:16px;font-weight:600;color:#405c3d;font-variant-numeric:tabular-nums}.expense-row .icon-button{min-width:44px}.settings-grid{display:grid;gap:20px}.setting-card{border:1px solid var(--line);padding:25px;border-radius:12px;background:var(--card)}.setting-card h3{margin-bottom:12px;font-size:17px}.setting-card p{font-size:13px;color:var(--muted)}.setting-card .button{margin:5px 9px 5px 0}.setting-card label.button{cursor:pointer}.setting-card ul,.setting-card ol{padding-left:20px;font-size:13px;color:var(--muted);line-height:1.9}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#52674b;font-weight:500;min-width:0}.field.full,.form-grid>.full{grid-column:1 / -1}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{width:100%;min-width:0;min-height:44px;border:1px solid #d7dfce;border-radius:7px;padding:10px 12px;background:#fffefa;color:var(--ink)}input::placeholder,textarea::placeholder{color:#8b9481;font-weight:400}input:disabled,select:disabled,textarea:disabled{color:#75836d;background:#f0f2eb}input[type=checkbox]{width:18px;height:18px;accent-color:var(--forest)}input[type=file]{max-width:100%;font-size:12px;min-height:44px}textarea{resize:vertical;min-height:110px;line-height:1.75}.field small{font-weight:400;color:var(--muted);line-height:1.6}dialog.modal{border:1px solid #dce2d3;border-radius:17px;padding:29px;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 36px);overflow:auto;color:var(--ink);background:#fbfcf7;box-shadow:0 25px 100px #1026173d}dialog.modal::backdrop{background:#243b2e65;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.modal-header h2,.modal-header h3{margin:0;font-size:23px}.modal-header .icon-button{margin:-8px -9px -8px 0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.notice{padding:13px 17px;margin:17px 0;border:1px solid #e7d9ba;border-radius:9px;background:#fff6e5;color:#80643a;font-size:12px;line-height:1.8}.notice p{margin:0}.toast{position:fixed;bottom:28px;left:calc(50% + 115px);transform:translate(-50%);z-index:100;display:flex;gap:10px;align-items:center;padding:13px 21px;border-radius:10px;background:#294d3c;color:#fff;box-shadow:0 8px 30px #1f382a25;font-size:13px;max-width:calc(100vw - 32px);line-height:1.7}.form-error{color:#9a3f31;font-size:12px;line-height:1.7;padding:11px 13px;border-radius:7px;background:#fff0e8;margin-top:14px}.footer-note{color:#89907d;font-size:10px;letter-spacing:.03em;margin:30px 0 0;line-height:1.8;text-align:center}@media(min-width:1600px){.main{padding-left:60px;padding-right:60px}.hero{min-height:270px}}@media(max-width:1180px){.main{padding:0 28px 28px}.workspace{grid-template-columns:minmax(0,1fr) 240px;gap:20px}.summary-card{padding:20px}.hero{padding:29px}.stop-card{padding:19px 17px;gap:13px}}@media(max-width:1000px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding-left:17px;padding-right:17px}.workspace{grid-template-columns:minmax(0,1fr)}.summary-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{width:80%}.hero-art{width:50%;opacity:.55}.toast{left:calc(50% + 100px)}}@media(max-width:720px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:18px 20px 12px;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:12px}.brand{margin:0;font-size:19px;gap:9px}.brand-mark{width:35px;height:35px}.brand-mark svg{width:22px;height:22px}.brand small{font-size:8px}.sidebar-caption{display:none}.trip-select{margin:0;align-self:center;max-width:170px;width:40vw;min-height:44px;font-size:11px}.side-nav{grid-column:1 / -1;flex-direction:row;gap:6px}.side-nav button{justify-content:center;gap:7px;min-height:44px;padding:10px 8px;font-size:12px}.side-nav button svg{width:16px;height:16px}.sidebar-bottom{display:none}.main{padding:0 20px 25px}.topbar{min-height:62px;margin-bottom:20px;gap:9px}.breadcrumb{font-size:10px;gap:6px}.status-pill{font-size:10px;padding:6px 9px}.hero{min-height:236px;padding:25px 23px;border-radius:12px}.hero-copy{width:100%}.hero-art{width:70%;opacity:.3}.hero h1{font-size:32px;margin-bottom:13px}.hero .eyebrow{font-size:9px;margin-bottom:12px}.trip-meta{gap:9px 13px;font-size:11px}.hero-actions{margin-top:21px}.hero-actions .button{min-height:44px}.workspace{margin-top:26px;gap:25px}.section-heading h2{font-size:20px}.section-heading .button{font-size:11px;padding:9px 12px}.day-tabs{margin-bottom:13px}.day-tab{min-width:86px;min-height:59px;padding:10px 13px}.stop-card{padding:18px 16px;gap:12px}.stop-time{flex-basis:38px;font-size:12px}.stop-heading{gap:7px}.stop-heading h3{font-size:15px}.note{font-size:12px}.summary-column{gap:13px}.summary-card{padding:18px}.summary-card h3{font-size:13px}.mini-stat{font-size:11px}.budget-amount{font-size:25px}.toast{left:50%;bottom:20px;font-size:12px}.setting-card{padding:21px}.expense-row{padding:15px 12px;gap:9px;flex-wrap:wrap}.expense-info{min-width:100px}.expense-amount{font-size:15px}.expense-row .icon-button{min-width:44px}}@media(max-width:390px){.main,.sidebar{padding-left:14px;padding-right:14px}.hero{padding:22px 19px}.hero h1{font-size:29px}.summary-column,.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}dialog.modal{padding:23px}.stop-card{padding:16px 13px;gap:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.sidebar,.topbar,.hero-actions,.stop-actions,.section-heading>button,.toast,.modal,.footer-note{display:none!important}.app-shell,.workspace{display:block}.main{padding:0}.summary-column{display:grid;grid-template-columns:1fr 1fr;margin-top:20px}.stop-card{break-inside:avoid}.hero{min-height:180px}body{background:#fff}}label.trip-select{display:flex;flex-direction:column;gap:9px;padding:0;border:0;background:transparent;font-size:10px;letter-spacing:.04em;color:#7a8472}label.trip-select select{letter-spacing:normal;font-size:12px}.sidebar>.button{margin-top:19px}.side-nav button>span{margin-left:auto;opacity:.7}.sidebar-bottom>svg{color:#8b9a7d;stroke-width:1.2}.sidebar-bottom p{font-family:"Noto Serif TC",Songti TC,Georgia,serif;font-size:14px;color:#6e7c64;line-height:1.9;margin-left:0}.sidebar-bottom small{margin-left:0;font-size:9px;letter-spacing:.07em}.hero-art>span{position:absolute;bottom:18px;right:20px;color:#eaf0e4;font-size:7px;letter-spacing:.24em}.main>.section-heading{margin-top:33px}.main>.empty-state{margin-top:30px}.section-heading .eyebrow{margin-bottom:8px;font-size:9px}.section-heading h2 small{font-family:inherit;font-size:11px;font-weight:400;letter-spacing:0;margin-left:8px;color:#7d8873;vertical-align:middle;white-space:nowrap}.stop-time{position:relative}.stop-time>span{display:block;width:7px;height:7px;background:#b9c8a9;border-radius:50%;margin:17px 0 0 13px;box-shadow:0 0 0 4px #f1f3ea}.stop-heading{justify-content:space-between;min-height:24px;margin-top:-9px;margin-bottom:2px}.stop-heading .icon-button{margin-right:-8px;color:#aab5a2;border-radius:50%}.stop-heading .icon-button[aria-pressed=true]{color:#f6f9ee;background:#739569}.stop-heading .icon-button[aria-pressed=true]:hover{background:#4b7242}.stop-body>h3{margin:0 0 8px;font-size:16px;line-height:1.65;overflow-wrap:anywhere}.stop-card.done .stop-body>h3{color:#718269}.stop-actions>span{flex:1}.stop-actions .icon-button{margin-left:0}.summary-card>.button{width:100%;margin-top:17px}.summary-card>p.muted{margin-bottom:8px;font-size:11px}.trip-cover>svg{color:#6c8760;stroke-width:1.3;margin-bottom:13px}.trip-cover h3{margin-bottom:14px}.trip-cover p{color:#617356;font-size:11px;margin-bottom:6px}.trip-cover small{color:#78866c;font-size:9px;line-height:1.6}.summary-column>.footer-note{margin-top:-3px}.expense-info>small{color:#849078;font-size:10px}.budget-amount,.expense-amount,.mini-stat strong{overflow-wrap:anywhere}.setting-card>svg{color:#779269;stroke-width:1.4;margin-bottom:15px}.setting-card .badge{margin-top:3px}.footer-note>span{padding:0 8px}@media(max-width:720px){label.trip-select{width:40vw;gap:4px;font-size:9px}label.trip-select select{min-height:44px;font-size:10px;padding:7px 9px}.sidebar>.button{grid-column:1 / -1;width:100%;margin-top:0;min-height:44px;font-size:11px;background:#f7f7f0;border-color:#dce2d3}.side-nav button>span{display:none}.side-nav{gap:4px}.side-nav button{padding-left:5px;padding-right:5px;gap:5px;font-size:11px}.section-heading h2 small{font-size:10px;margin-left:4px}.section-heading h2{font-size:19px}.section-heading .eyebrow{font-size:8px;letter-spacing:.14em}.stop-body>h3{font-size:15px}.stop-heading .icon-button{margin-right:-6px}.hero-art>span{display:none}.summary-card>.button{font-size:11px;padding-left:6px;padding-right:6px}.summary-column>.footer-note{grid-column:1 / -1;margin:1px 0 0}}@media(max-width:390px){.section-heading{gap:8px}.section-heading h2 small{display:block;margin:5px 0 0}.stop-actions{gap:2px}.stop-actions a{font-size:10px;gap:3px}.expense-row{gap:7px}}
