:root{--ink:#292e29;--paper:#f8f6ee;--green:#dfe8cd;--yellow:#f9da77;--muted:#626b5e;font-family:system-ui,PingFang HK,Microsoft JhengHei,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;line-height:1.65}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;min-height:44px;padding:9px 14px;border:1.5px solid var(--ink);border-radius:10px;background:#fffdf6;transition:transform .15s}button:hover:not(:disabled){transform:translateY(-1px)}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #2e7756;outline-offset:3px}.primary{background:var(--yellow);box-shadow:2px 3px 0 var(--ink);font-weight:800}.danger{color:#9c2929;border-color:#9c2929}.full{width:100%}a{color:#285e46;overflow-wrap:anywhere}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:29px;letter-spacing:-1px;line-height:1.35;margin:7px 0}h2{font-size:22px;line-height:1.4;margin:8px 0 14px}h3{font-size:17px;margin:9px 0}p{font-size:14px;margin:9px 0}small,.small{font-size:12px}.muted{color:var(--muted)}.pre{white-space:pre-wrap}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:#606b56}.between{display:flex;align-items:center;justify-content:space-between;gap:14px}.row{display:flex;align-items:center;gap:10px}.wrap{flex-wrap:wrap}.panel{border:1.5px solid var(--ink);border-radius:16px;background:#fffef8;box-shadow:3px 4px #292e2930;padding:23px;margin:18px 0;min-width:0}.sticker,.badge{display:inline-block;border:1px solid var(--ink);border-radius:6px;padding:3px 8px;background:#fff8d8;font-size:10px;font-weight:750}.sticker{transform:rotate(-2deg);letter-spacing:1px}.badge{background:#edf1e2}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;padding:26px 17px 20px;background:#f0f0e5;border-right:2px solid var(--ink);z-index:60;display:flex;flex-direction:column;overflow:auto}.brand{border:0;background:none;padding:0;display:flex;align-items:center;gap:12px;text-align:left;font-size:23px;font-weight:900;white-space:nowrap}.brand-mark{background:var(--yellow);border:2px solid var(--ink);border-radius:10px;box-shadow:2px 3px 0 var(--ink);padding:4px 10px;transform:rotate(-6deg);font-size:25px}.brand small{display:block;font-size:8px;letter-spacing:2px}.trip-switch{display:flex;gap:12px;align-items:center;margin:26px 0 16px;background:#fffef8;border-color:#a9b49b;text-align:left}.sidebar nav button{display:flex;align-items:center;gap:12px;width:100%;border:1.5px solid transparent;background:none;text-align:left;margin:3px 0;font-size:13px;padding:7px 11px}.sidebar nav button>span:first-child{width:22px;font-size:21px;text-align:center}.sidebar nav button.active{background:var(--green);border-color:var(--ink);box-shadow:2px 3px 0 var(--ink);font-weight:800}.sidebar-footer{margin-top:auto;padding-top:26px;font-size:12px}.sidebar-footer p{font-size:12px;color:var(--muted)}.main-shell{margin-left:226px}.topbar{min-height:74px;border-bottom:1px solid #d7ddcc;background:#fffdf5;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 30px}.breadcrumb{font-size:13px;font-weight:800}.breadcrumb>span{font-size:11px;font-weight:400;color:var(--muted)}.status{font-size:11px;border:1px solid #a4b28e;background:#e5eed8;border-radius:20px;padding:5px 10px;white-space:nowrap}.status.warning{background:#f9e2a7}.topbar button{font-size:12px}.content{max-width:1500px;margin:auto;padding:28px 32px 65px;min-width:0}.page-heading{margin-bottom:23px}.page-heading p{margin:5px 0;font-size:12px}.hero{background:var(--green);box-shadow:4px 5px 0 var(--ink);border-width:2px;display:flex;justify-content:space-between;align-items:center;gap:25px;padding:29px}.hero h2{font-size:34px;font-weight:900;letter-spacing:-1px;margin:17px 0}.hero-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:12px}.text-button{border:0;background:none;text-decoration:underline;font-size:12px;padding:10px 0}.ticket{transform:rotate(5deg);background:#fffdf5;border:1.5px solid var(--ink);border-radius:12px;padding:17px;min-width:190px;box-shadow:3px 3px #292e2920}.ticket small{font-size:9px;letter-spacing:2px}.ticket strong{display:block;font-size:24px;padding:12px 0;border-bottom:1.5px dashed #aeb89d}.ticket span{display:block;font-size:11px;margin-top:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:25px 0}.stats>div{background:#fffdf6;border:1px solid #ccd5bf;border-radius:12px;padding:15px}.stats small{display:block;color:var(--muted);font-size:11px}.stats b{display:block;font-size:18px;margin-top:4px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px}.workspace>section,.tools{min-width:0}.tools .panel:first-child,.workspace>section>.panel:first-child{margin-top:0}.weather{background:#f9e7b3}.weather-degree{font-size:47px;font-weight:900;letter-spacing:-2px}.weather p{font-size:12px}.weather button{font-size:11px}.next-card{background:#f1eddc}.next-card h2{font-size:25px}.timeline-row{display:grid;grid-template-columns:73px minmax(0,1fr);gap:16px;position:relative}.timeline-time{padding-top:37px;font-size:12px}.timeline-time small{display:block;font-size:10px;color:var(--muted)}.timeline-row:before{content:"";position:absolute;left:80px;top:42px;bottom:-30px;border-left:1.5px dashed #a7b694}.timeline-row:last-of-type:before{display:none}.item-card{position:relative}.timeline-row .item-card:before{content:"";position:absolute;width:8px;height:8px;left:-13px;top:26px;border:1px solid var(--ink);background:var(--yellow);border-radius:50%}.item-card .badge{background:#e1eccf}.item-card.food .badge{background:#f8ddc6}.item-card.flight .badge{background:#dceaf4}.item-card.hotel .badge{background:#e6dcf2}.item-card.transport .badge{background:#fae8b4}.item-card p{font-size:13px}.item-card a{font-size:12px}.chips{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.chips span{background:#eff1e5;border-radius:6px;padding:4px 8px;font-size:11px;overflow-wrap:anywhere;max-width:100%}.day-tabs{display:flex;gap:9px;overflow:auto;padding:3px 4px 8px;margin:18px 0}.day-tabs button{min-width:85px;flex-shrink:0;font-size:12px}.day-tabs button small{display:block;font-size:10px}.day-tabs .active{background:var(--yellow);box-shadow:2px 3px 0 var(--ink)}.day-theme{background:#f2ead7}.filters input{flex:1}.filters select{max-width:170px}.empty{text-align:center;padding:35px;border:1.5px dashed #a8b19b;border-radius:14px;color:var(--muted);margin:20px 0}.progress{height:9px;background:#e6ebda;border-radius:10px;overflow:hidden;margin:14px 0}.progress span{height:100%;background:#78915c;display:block}.category-row{display:grid;grid-template-columns:50px 1fr auto;gap:12px;align-items:center;font-size:12px}.category-row .progress{height:6px}.category-row b{min-width:95px;text-align:right}.photo-grid,.people-grid,.trip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.photo-grid .panel,.people-grid .panel,.trip-grid .panel{margin:0}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-card{padding:14px}.attachment{min-width:0}.attachment img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;border:1px solid var(--ink)}.attachment a{display:block;font-size:12px;margin:8px 0}.receipt-grid{display:flex;flex-wrap:wrap;gap:12px}.avatar{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--ink);background:#f3d9bf;display:inline-flex;align-items:center;justify-content:center;font-weight:800}.trip-cover{background:#e4ecd5;min-height:230px}.trip-cover:nth-child(2n){background:#f6e6bd}.trip-cover:nth-child(3n){background:#e7def0}.trip-cover h2{font-size:26px;margin:20px 0}.check-row,.ledger-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px dashed #cdd6bf}.check-row label{margin:0;flex:1}.check-row .badge{font-size:9px}.struck{text-decoration:line-through;color:var(--muted)}.inline{display:flex;align-items:center;gap:9px}.inline input[type=checkbox]{width:20px;height:20px;flex-shrink:0;margin:0;accent-color:#607e4b}.address-local{font-size:27px;font-weight:800}.banner{background:#f9e6b5;padding:10px 20px;font-size:12px;text-align:center}.error-banner{background:#f8ded6;color:#852820;padding:13px 20px;font-size:13px}.error-banner button{font-size:11px;margin-left:10px}.notice{background:#f8edcc;border:1px dashed #b4a26e;border-radius:10px;padding:13px;font-size:12px}.error{color:#9d2929}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);z-index:200;background:var(--ink);color:#fffdf5;border-radius:12px;box-shadow:3px 3px #b9caa4;padding:13px 20px;max-width:90vw;font-size:12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#20281e88;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.editor{width:100%;max-width:690px;max-height:92dvh;overflow:auto;box-shadow:5px 6px 0 var(--ink);border-width:2px;margin:0}.editor .row label{flex:1;min-width:0}.editor-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:-23px;background:#fffef8;padding:14px 0 4px;border-top:1px solid #d6ddc8}.editor fieldset{border:1px dashed #a5b297;border-radius:10px;margin:15px 0;padding:13px}.editor legend{font-size:12px}.split-person input[type=number]{width:90px}.split-person{justify-content:space-between}.editor .row>button{flex-shrink:0}.editor .row{align-items:flex-end}label{display:block;font-size:13px;margin:15px 0 10px;color:#56614d}input,select,textarea{display:block;width:100%;min-width:0;padding:11px;border:1.3px solid #a6b096;border-radius:9px;background:#fffefb;margin-top:5px}input[type=file]{font-size:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f2e7;padding:12px;border-radius:9px;font-size:11px}.map-canvas{height:520px;min-height:300px;width:100%;border:1.5px solid var(--ink);border-radius:12px;z-index:1;background:#e8eddf}.map-marker span{display:flex;align-items:center;justify-content:center;width:30px;height:32px;border:2px solid var(--ink);background:var(--yellow);border-radius:10px 10px 10px 0;box-shadow:2px 2px 0 var(--ink);font-weight:900}.login-screen{min-height:100vh;background:#e3ebd2;display:flex;flex-direction:column;align-items:center;padding:9vh 20px 50px}.login-brand{font-size:35px;font-weight:900;transform:rotate(-3deg);margin-bottom:15px}.login-card{width:100%;max-width:420px;box-shadow:5px 6px 0 var(--ink);padding:30px}.login-card h1{font-size:25px}.share-page{max-width:800px;margin:auto;padding:40px 20px}.menu-button,.bottom-nav,.drawer-shade,.print-only{display:none}@media(min-width:768px)and (max-width:1199px){.sidebar{width:82px;padding:23px 12px}.sidebar .nav-label{display:none}.brand{justify-content:center}.trip-switch{justify-content:center;padding:8px}.sidebar nav button{justify-content:center;padding:7px}.main-shell{margin-left:82px}.content{padding:25px 23px 50px}.topbar{padding:13px 23px}.workspace{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.ticket{display:none}.stats{gap:9px}.stats>div{padding:12px}.stats b{font-size:16px}.photo-grid,.trip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:768px)and (max-width:950px){.workspace{grid-template-columns:1fr}.tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tools .panel{margin:0}.tools .panel:last-child{grid-column:1/-1}.breadcrumb>span{display:none}}@media(max-width:767px){h1{font-size:24px}h2{font-size:20px}.sidebar{display:none}.sidebar.open{display:flex;width:260px;z-index:90}.drawer-shade{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#20281e88;border:0;border-radius:0;z-index:80}.main-shell{margin:0}.topbar{position:sticky;top:0;z-index:40;padding:9px 13px;min-height:65px;gap:7px;border-bottom:1.5px solid var(--ink)}.menu-button{display:block;border:0;background:none;font-size:22px;padding:5px;min-width:38px}.breadcrumb{font-size:13px}.breadcrumb>span{display:none}.topbar .row{gap:6px}.topbar button{font-size:11px;padding:7px 9px}.status{font-size:10px;padding:4px 7px}.content{padding:22px 15px calc(105px + env(safe-area-inset-bottom))}.page-heading{gap:9px;align-items:flex-start}.page-heading>button{font-size:11px;white-space:nowrap;padding:8px 10px}.page-heading p{font-size:11px}.hero{padding:23px 19px;box-shadow:3px 4px 0 var(--ink)}.hero h2{font-size:29px}.hero-meta{font-size:11px;gap:7px}.ticket{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0}.stats>div{padding:13px}.stats b{font-size:16px}.workspace{grid-template-columns:1fr;gap:22px}.tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tools .panel{margin:0;padding:15px}.tools .panel:last-child{grid-column:1/-1}.tools .row{flex-wrap:wrap}.tools h3{font-size:15px}.tools button,.tools p{font-size:11px}.weather-degree{font-size:37px}.panel{padding:18px}.timeline-row{grid-template-columns:52px minmax(0,1fr);gap:12px}.timeline-row:before{left:57px}.timeline-time{font-size:11px}.timeline-time small{font-size:9px}.timeline-row .panel{padding:14px}.item-card h3{font-size:16px}.item-card .row button{padding:7px 11px}.filters{gap:8px}.filters select{max-width:125px}.photo-grid,.trip-grid,.people-grid{grid-template-columns:1fr}.photo-grid{gap:18px}.category-row{gap:8px;font-size:11px}.category-row b{min-width:85px}.ledger-row{flex-wrap:wrap}.check-row{align-items:flex-start;gap:7px}.check-row .inline{flex-wrap:wrap}.check-row .row{gap:4px}.check-row .row button{padding:6px 9px}.modal-backdrop{align-items:flex-end;padding:9px}.editor{max-height:92dvh;padding:20px;border-radius:18px 18px 10px 10px}.editor .row{flex-wrap:wrap}.editor .row label{flex:1 1 170px}.editor-actions{bottom:-20px}.editor h2{font-size:21px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:space-around;background:#fffdf5;border-top:2px solid var(--ink);padding:7px 4px max(7px,env(safe-area-inset-bottom));z-index:50}.bottom-nav button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10px;padding:4px 10px;min-width:48px;min-height:49px}.bottom-nav button span{font-size:22px;line-height:1.2}.bottom-nav .active{background:var(--green);font-weight:800}.toast{bottom:95px;width:max-content;max-width:90vw}.map-canvas{height:440px}.page-heading .eyebrow{font-size:9px}.login-card{padding:25px}}@media(max-width:359px){.tools{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}.stats b{font-size:14px}.topbar .status{font-size:9px}.topbar button{padding:6px}.timeline-row{grid-template-columns:1fr}.timeline-time{padding:5px 0 0}.timeline-time small{display:inline;margin-left:10px}.timeline-row:before,.timeline-row .item-card:before{display:none}.stats>div{padding:11px}}@media(prefers-reduced-motion:reduce){button{transition:none;transform:none!important}}@media print{body{background:#fff}.sidebar,.topbar,.hero,.stats,.page-heading,.bottom-nav,.banner,.error-banner,.toast,.modal-backdrop,.content>section>.panel{display:none!important}.main-shell{margin:0}.content{padding:0}.print-only{display:block}.print-only article{break-inside:avoid;border-bottom:1px solid #ccc;padding:10px 0}.print-only h1{font-size:24px}}@media print{.content>*{display:none!important}.content>.export-section{display:block!important}.export-section>*:not(.print-only){display:none!important}.print-only{display:block!important}}.tools .row>button{flex-shrink:0;white-space:nowrap}.tools .row>select{flex:1;min-width:0}
