:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0d1117;--surface:#131a22;--surface-2:#1b2430;--surface-3:#263140;--ink:#edf1f7;--muted:#8b98a9;--faint:#5c6879;--accent:#ffb224;--accent-strong:#ffc654;--accent-ink:#201503;--accent-soft:#ffb22424;--paper:#f4f0e6;--paper-deep:#e9e4d6;--paper-edge:#cfc8b8;--paper-ink:#191d26;--paper-muted:#665f4f;--cat-clothing:#f4c95d;--cat-toiletries:#7fd8e8;--cat-documents:#ef767a;--cat-electronics:#ff9f45;--cat-medicine:#9bc53d;--cat-other:#8b98a9;--danger:#ff7a7a;--danger-soft:#ff7a7a24;--success:#5dd6a6;--success-soft:#5dd6a621;--warn:#ffd166;--warn-soft:#ffd16621;--info:#7fd8e8;--info-soft:#7fd8e821;--radius-xl:20px;--radius-lg:16px;--radius-md:12px;--radius-sm:10px;--radius-pill:999px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:32px;--text-xs:12px;--text-sm:13px;--text-base:15px;--text-lg:18px;--text-xl:22px;--text-hero:clamp(30px, 1.8rem + 1.4vw, 42px)}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;line-height:1.55;font-size:var(--text-base);margin:0}#root{max-width:1180px;margin:0 auto;padding:32px 24px 96px}::selection{background:var(--accent);color:var(--accent-ink)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app-header{align-items:center;gap:var(--space-4);flex-wrap:wrap;animation:.5s ease-out both rise;display:flex}.brand{align-items:center;gap:14px;min-width:0;display:flex}.brand-mark{background:var(--accent);border-radius:14px 14px 14px 4px;flex:none;width:48px;height:48px;position:relative}.brand-mark:before{content:"";background:var(--bg);border:2px solid var(--accent-ink);border-radius:50%;width:10px;height:10px;position:absolute;top:9px;left:50%;transform:translate(-50%)}.brand-mark:after{content:"";background:var(--accent-ink);opacity:.85;border-radius:3px;height:5px;position:absolute;bottom:9px;left:10px;right:10px}.brand-text{min-width:0}.brand-text h1{font-size:var(--text-hero);letter-spacing:-.03em;margin:0;font-weight:900;line-height:1.02}.brand-text .subtitle{color:var(--muted);font-size:var(--text-xs);margin-top:3px;font-weight:600;display:block}.portfolio-inline{background:var(--surface);border-radius:var(--radius-pill);font-size:var(--text-xs);color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:10px;margin-left:auto;padding:5px 14px 5px 5px;display:inline-flex}.portfolio-fig{background:var(--accent);color:var(--accent-ink);border-radius:var(--radius-pill);padding:4px 12px;font-size:14px;font-weight:800}.portfolio-detail{white-space:nowrap}.layout{gap:var(--space-5);margin-top:var(--space-6);grid-template-columns:300px minmax(0,1fr);align-items:start;display:grid}.main-panel{min-width:0}.trip-sidebar{background:var(--surface);border-radius:var(--radius-xl);padding:18px 14px;position:sticky;top:20px}.trip-sidebar h2{font-size:var(--text-sm);color:var(--muted);align-items:center;gap:8px;margin:0 0 14px;padding:0 10px;font-weight:800;display:flex}.trip-sidebar h2:before{content:"";background:var(--accent);border-radius:50%;flex-shrink:0;width:8px;height:8px}.sidebar-empty{color:var(--muted);font-size:var(--text-xs);margin:0 0 10px;padding:0 10px}.trip-list{flex-direction:column;gap:10px;margin:0 0 12px;padding:0;list-style:none;display:flex}.trip-entry{text-align:left;cursor:pointer;width:100%;font-size:var(--text-sm);color:var(--ink);background:0 0;border:none;border-radius:14px;padding:12px 12px 12px 36px;transition:background .15s,transform 80ms;position:relative}.trip-entry:hover{background:var(--surface-2)}.trip-entry:active{transform:scale(.99)}.trip-entry:before{content:"";background:var(--bg);border:2px solid var(--surface-3);border-radius:50%;width:12px;height:12px;transition:border-color .15s;position:absolute;top:18px;left:14px}.trip-entry.active{background:var(--accent)}.trip-entry.active:before{border-color:var(--accent-ink)}.trip-entry-top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.trip-entry-name{overflow-wrap:anywhere;font-size:15px;font-weight:800;display:block}.trip-entry.active .trip-entry-name{color:var(--accent-ink)}.trip-entry-pct{font-size:var(--text-xs);color:var(--muted);font-variant-numeric:tabular-nums;flex-shrink:0;font-weight:900}.trip-entry.active .trip-entry-pct{color:var(--accent-ink);opacity:.75}.trip-entry .meta{color:var(--muted);font-size:var(--text-xs);overflow-wrap:anywhere;margin-top:3px;display:block}.trip-entry.active .meta{color:var(--accent-ink);opacity:.78}.trip-entry .meta.phase{color:var(--accent);font-weight:800}.trip-entry.active .meta.phase{color:var(--accent-ink)}.trip-progress{background:var(--surface-3);border-radius:var(--radius-pill);height:5px;margin-top:9px;display:block;overflow:hidden}.trip-entry.active .trip-progress{background:#20150338}.trip-progress-fill{border-radius:var(--radius-pill);background:var(--accent);height:100%;transition:width .45s ease-out;display:block}.trip-entry.active .trip-progress-fill{background:var(--accent-ink)}.trip-progress-fill.complete{background:var(--success)}.trip-entry.active .trip-progress-fill.complete{background:var(--accent-ink)}.card{background:var(--surface);border-radius:var(--radius-xl);padding:var(--space-5);margin-bottom:var(--space-5);animation:.45s ease-out both rise}.card h2{font-size:var(--text-xl);letter-spacing:-.01em;margin:0 0 6px;font-weight:800}.card .trip-meta{color:var(--muted);font-size:var(--text-sm);margin:0 0 10px}.card.inline-form{margin:0;padding:14px}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row.end{justify-content:flex-end}.row.between{justify-content:space-between}.row.center{justify-content:center}.grow{min-width:0}.full-span{grid-column:1/-1}.form-actions{margin-top:12px}.hint{color:var(--muted);font-size:var(--text-xs);margin:8px 0 0}.muted-inline{color:var(--muted);font-size:var(--text-xs)}.inline-gap{margin-left:8px}button{font:inherit;border-radius:var(--radius-pill);background:var(--surface-2);color:var(--ink);cursor:pointer;border:none;padding:9px 18px;font-weight:700;transition:background .15s,transform 80ms,color .15s}button:hover:not(:disabled){background:var(--surface-3)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--accent);color:var(--accent-ink);font-weight:800}button.primary:hover:not(:disabled){background:var(--accent-strong)}button.danger{background:var(--danger-soft);color:var(--danger)}button.danger:hover:not(:disabled){background:#ff7a7a3d}button.small{font-size:var(--text-xs);padding:5px 12px}button.block{width:100%}.button-like{font:inherit;border-radius:var(--radius-pill);background:var(--surface-2);color:var(--ink);cursor:pointer;border:none;justify-content:center;align-items:center;gap:6px;padding:9px 18px;font-weight:700;transition:background .15s;display:inline-flex}.button-like:hover{background:var(--surface-3)}.hidden-file{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}input:not([type=checkbox]):not([type=radio]),select{font:inherit;color:var(--ink);background:var(--surface-3);border-radius:var(--radius-sm);border:2px solid #0000;min-width:0;padding:9px 12px}input::placeholder{color:var(--faint)}input:focus,select:focus{border-color:var(--accent);outline:none}input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:1px}input[type=checkbox]{appearance:none;background:var(--surface-3);cursor:pointer;border:2px solid #0000;border-radius:7px;flex-shrink:0;width:22px;height:22px;margin:0;transition:background .15s,border-color .15s,transform .1s}input[type=checkbox]:hover{border-color:var(--accent)}input[type=checkbox]:active{transform:scale(.9)}input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.6 6.4 12 13 4.4' fill='none' stroke='%23201503' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Csvg%3E");background-position:50%;background-repeat:no-repeat;background-size:15px 15px}.banner{border-radius:var(--radius-lg);font-size:var(--text-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;padding:13px 16px;animation:.35s ease-out both rise;display:flex}.banner.warn{background:var(--warn-soft);color:var(--warn)}.banner.error{background:var(--danger-soft);color:var(--danger)}.banner.success{background:var(--success-soft);color:var(--success)}.banner .row{gap:8px}.banner button.small{color:currentColor;background:#ffffff1a}.banner button.small:hover{background:#ffffff2e}.pass{padding:0;animation:.4s cubic-bezier(.22,1,.36,1) both stamp}.pass-layout{background:var(--paper);border-radius:var(--radius-xl);align-items:stretch;min-height:224px;display:flex;overflow:hidden}.pass-body{min-width:0;padding:var(--space-5) var(--space-6);color:var(--paper-ink);flex-direction:column;flex:1;gap:14px;display:flex}.pass-topline{justify-content:space-between;align-items:center;gap:10px;display:flex}.pass-airline{font-size:var(--text-xs);color:var(--paper-muted);font-weight:800}.pass-code{background:var(--paper-ink);min-width:38px;height:24px;color:var(--paper);font-size:var(--text-xs);letter-spacing:.08em;border-radius:6px;justify-content:center;align-items:center;padding:0 8px;font-weight:900;display:inline-flex}.pass-dest-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.pass-dest{flex-direction:column;gap:2px;min-width:0;display:flex}.pass-label{color:var(--paper-muted);font-size:11px;font-weight:800}.pass-value{font-size:var(--text-base);color:var(--paper-ink);overflow-wrap:anywhere;font-weight:800}.pass-dest-name{letter-spacing:-.02em;font-size:clamp(28px,2rem + 2vw,44px);font-weight:900;line-height:1.1}.pass-trip-name{font-size:var(--text-lg)}.pass-fields{flex-wrap:wrap;gap:10px 24px;display:flex}.pass-field{flex-direction:column;gap:2px;display:flex}.pass-field .pass-value{font-size:var(--text-sm);font-weight:700}.pass-actions{margin-top:auto;padding-top:8px}.pass-actions button{background:var(--paper-deep);color:var(--paper-ink)}.pass-actions button:hover:not(:disabled){background:#dcd6c6}.pass-actions button.primary{background:var(--accent);color:var(--accent-ink)}.pass-actions button.primary:hover:not(:disabled){background:var(--accent-strong)}.pass-actions button.danger{color:#b3402f;background:#ff7a7a29}.pass-actions button.danger:hover:not(:disabled){background:#ff7a7a42}.pass-stub{background:var(--paper-deep);border-left:2px dashed var(--paper-edge);padding:var(--space-4);color:var(--paper-ink);flex-direction:column;flex:0 0 140px;justify-content:center;align-items:center;gap:4px;display:flex}.stub-percent{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:44px;font-weight:900;line-height:1}.stub-label{color:var(--paper-muted);font-size:11px;font-weight:800}.stub-count{font-size:var(--text-sm);font-weight:800}.stub-stamp{border:2px dashed var(--paper-muted);width:42px;height:42px;color:var(--paper-muted);border-radius:50%;justify-content:center;align-items:center;margin-top:10px;font-size:11px;font-weight:900;display:flex}.pass-edit{padding:var(--space-5)}.save-template-form{margin:12px 0}.save-template-form input{border:2px solid #0000;flex:160px;min-width:0}.stats-panel{margin:14px 0 4px}.stats-hero{gap:var(--space-4);background:var(--surface-2);border-radius:var(--radius-lg);padding:var(--space-4);align-items:stretch;display:flex}.stats-figure{background:var(--bg);border-radius:var(--radius-md);flex-direction:column;flex:none;justify-content:center;align-items:center;min-width:128px;padding:10px 20px;display:flex}.stats-percent{letter-spacing:-.03em;color:var(--accent);font-variant-numeric:tabular-nums;font-size:52px;font-weight:900;line-height:1}.stats-figure-label{font-size:var(--text-xs);color:var(--muted);margin-top:6px}.stats-main{flex-direction:column;flex:1;justify-content:center;gap:10px;min-width:0;display:flex}.stats-line{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.progress-text{font-size:var(--text-sm);color:var(--muted);margin:0}.progress-track{background:var(--surface-3);border-radius:var(--radius-pill);height:10px;overflow:hidden}.progress-fill{border-radius:var(--radius-pill);background:var(--accent);height:100%;transition:width .5s ease-out}.progress-fill.complete{background:var(--success)}.complete-banner{background:var(--success-soft);color:var(--success);border-radius:var(--radius-pill);font-size:var(--text-xs);white-space:nowrap;align-items:center;gap:6px;padding:4px 12px;font-weight:800;display:inline-flex}.complete-dot{background:var(--success);border-radius:50%;width:8px;height:8px}.cat-stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px 16px;margin-top:14px;display:grid}.cat-stat{font-size:var(--text-xs);color:var(--muted);align-items:center;gap:8px;display:flex}.cat-stat-label{min-width:44px;color:var(--ink);flex:none;font-weight:700}.cat-stat-track{background:var(--surface-3);border-radius:var(--radius-pill);flex:1;height:6px;overflow:hidden}.cat-stat-fill{border-radius:var(--radius-pill);background:var(--cat-color);height:100%;transition:width .4s ease-out;display:block}.cat-stat-value{text-align:right;font-variant-numeric:tabular-nums;min-width:40px;color:var(--muted);flex:none}.cat-clothing{--cat-color:var(--cat-clothing)}.cat-toiletries{--cat-color:var(--cat-toiletries)}.cat-documents{--cat-color:var(--cat-documents)}.cat-electronics{--cat-color:var(--cat-electronics)}.cat-medicine{--cat-color:var(--cat-medicine)}.cat-other{--cat-color:var(--cat-other)}.category-dot{background:var(--cat-color,var(--muted));border-radius:50%;flex-shrink:0;width:8px;height:8px}.bulk-bar{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;display:flex}.bulk-label{font-size:var(--text-xs);color:var(--muted);font-weight:800}.filter-bar{background:var(--surface-2);border-radius:var(--radius-lg);flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;padding:10px;display:flex}.filter-bar input.filter-search{flex:160px;min-width:0}.attention-block{background:var(--warn-soft);border-radius:var(--radius-lg);margin-bottom:14px;padding:14px 16px}.attention-block h3{font-size:var(--text-sm);color:var(--warn);align-items:center;gap:8px;margin:0 0 10px;font-weight:800;display:flex}.attention-mark{background:var(--warn);border-radius:50%;flex-shrink:0;width:10px;height:10px}.attention-block .item-row.attention{background:#ffffff0d}.attention-block .item-row.attention:hover{background:#ffffff17}.category-group{margin-bottom:20px}.category-group-header{font-size:var(--text-xs);color:var(--muted);align-items:center;gap:8px;margin:0 0 8px;font-weight:800;display:flex}.category-count{color:var(--faint);margin-left:auto;font-weight:600}.item-row{border-radius:var(--radius-md);background:var(--surface-2);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:8px;padding:12px 14px;transition:background .15s,transform .15s;display:flex}.item-row:hover{background:var(--surface-3);transform:translateY(-1px)}.item-row .item-check{gap:12px;min-width:0}.item-row .name{font-size:var(--text-base);overflow-wrap:anywhere;min-width:120px;font-weight:600}.item-row.packed{opacity:.78}.item-row.packed .name{text-decoration:line-through;-webkit-text-decoration-color:var(--faint);text-decoration-color:var(--faint);color:var(--muted)}.item-row .qty{color:var(--muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums}.item-row .notes{color:var(--muted);font-size:var(--text-xs);overflow-wrap:anywhere;flex-basis:100%;margin-left:36px}.item-actions{gap:6px;margin-left:auto;display:flex}.badge{font-size:var(--text-xs);border-radius:var(--radius-pill);background:var(--surface-3);color:var(--muted);white-space:nowrap;padding:2px 10px;font-weight:700;display:inline-block}.badge.essential{background:var(--warn-soft);color:var(--warn)}.cat-badge{background:color-mix(in srgb, var(--cat-color) 16%, transparent);color:var(--cat-color)}.form-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.form-field{flex-direction:column;gap:6px;min-width:0;display:flex}.form-field label{font-size:var(--text-xs);color:var(--muted);font-weight:700}.form-field input,.form-field select{width:100%}.checkbox-field{flex-direction:row;align-items:center;gap:8px;margin-top:16px}.checkbox-field label{font-size:var(--text-base);color:var(--ink)}.item-form{background:var(--surface-2)}.item-form .form-title{font-size:var(--text-lg);margin:0 0 10px;font-weight:800}.trip-edit-form{min-width:min(440px,100%)}.rename-form{flex-wrap:nowrap}.rename-form input{border:2px solid #0000;flex:auto;min-width:0}.error-text{color:var(--danger);font-size:var(--text-sm);margin:8px 0 0;font-weight:700}.empty-state{color:var(--muted);font-size:var(--text-sm);max-width:440px;margin:0 auto 16px}.empty-card{text-align:center;padding:48px 24px}.empty-card h2{margin:0 0 8px}.empty-card-inner{text-align:center;padding:20px 0}.empty-mark{background:var(--accent);border-radius:18px 18px 18px 4px;width:76px;height:76px;margin:0 auto 16px;display:block;position:relative}.empty-mark:before{content:"";background:var(--bg);border:2px solid var(--accent-ink);border-radius:50%;width:12px;height:12px;position:absolute;top:15px;left:50%;transform:translate(-50%)}.empty-mark:after{content:"";background:var(--accent-ink);opacity:.85;border-radius:3px;height:5px;position:absolute;bottom:14px;left:16px;right:16px}.empty-mark.small{border-radius:14px 14px 14px 3px;width:56px;height:56px;margin-bottom:12px}.empty-mark.small:before{width:9px;height:9px;top:11px}.empty-mark.small:after{height:4px;bottom:10px;left:12px;right:12px}.template-list{flex-direction:column;gap:10px;margin:12px 0 0;padding:0;list-style:none;display:flex}.template-entry{background:var(--surface-2);border-radius:var(--radius-lg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;transition:background .15s,transform .15s;display:flex}.template-entry:hover{background:var(--surface-3);transform:translateY(-1px)}.template-info{min-width:0}.template-name{font-weight:800;font-size:var(--text-base);overflow-wrap:anywhere}.template-meta{color:var(--muted);font-size:var(--text-xs);align-items:center;gap:8px;margin-top:4px;display:flex}.template-kind{background:var(--surface-3);color:var(--muted);border-radius:var(--radius-pill);font-size:var(--text-xs);padding:1px 8px;font-weight:700}.template-kind.builtin{background:var(--accent-soft);color:var(--accent)}.import-preview{background:var(--info-soft);border-radius:var(--radius-lg);margin-top:14px;padding:14px 16px}.import-preview p{font-size:var(--text-sm);color:var(--ink);margin:0 0 10px}@keyframes rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes stamp{0%{opacity:0;transform:scale(.96)}60%{transform:scale(1.01)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-delay:0s!important}}@media (width<=760px){#root{padding:18px 12px 64px}.layout{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:16px}.trip-sidebar{position:static}.portfolio-inline{white-space:normal;margin-left:0}.app-header{align-items:flex-start}.card{padding:16px}.pass-layout{flex-direction:column;min-height:0}.pass-stub{border-left:none;border-top:2px dashed var(--paper-edge);flex-direction:row;flex:none;justify-content:center;gap:8px;padding:14px 16px}.stub-percent{font-size:30px}.stub-stamp{width:34px;height:34px;margin-top:0}.pass-body{padding:var(--space-4)}.stats-hero{flex-direction:column}.stats-figure{flex-direction:row;justify-content:flex-start;gap:10px;min-width:0;padding:10px 16px}.stats-figure-label{margin-top:0}.filter-bar select,.filter-bar button,.filter-bar input.filter-search{flex:45%;min-width:0}.form-grid{grid-template-columns:minmax(0,1fr)}.checkbox-field{margin-top:0}.item-row .name{flex:auto;min-width:0}.item-actions{flex-basis:100%;margin-left:0}.item-row .notes{margin-left:0}.template-entry{align-items:flex-start}.template-entry>.row{width:100%}.template-entry .row button{flex:auto}.button-like{justify-content:center}}@media (width<=420px){.brand-text h1{font-size:26px}.brand-mark{width:40px;height:40px}.row>button{flex:auto}}
