@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ubuntu-cyrillic-ext-400-normal.3jtmrft082azw.woff2)format("woff2"),url(../media/ubuntu-cyrillic-ext-400-normal.2iwpkcwey7qnn.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ubuntu-cyrillic-400-normal.3sgz01mhnbxp3.woff2)format("woff2"),url(../media/ubuntu-cyrillic-400-normal.0aqixnmz6h2ue.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ubuntu-greek-ext-400-normal.08yv1ol417l4y.woff2)format("woff2"),url(../media/ubuntu-greek-ext-400-normal.2vloc7xv4on8a.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ubuntu-greek-400-normal.1q67c80qru0s9.woff2)format("woff2"),url(../media/ubuntu-greek-400-normal.3yad4q0tfmfd7.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ubuntu-latin-ext-400-normal.3u7xdxjardho-.woff2)format("woff2"),url(../media/ubuntu-latin-ext-400-normal.22coqchtzg8vh.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ubuntu-latin-400-normal.01-nzqx-jdbes.woff2)format("woff2"),url(../media/ubuntu-latin-400-normal.2xbqdrs-hnf59.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ubuntu-cyrillic-ext-500-normal.0sfixrbwblhpa.woff2)format("woff2"),url(../media/ubuntu-cyrillic-ext-500-normal.3xn-to8lamvtd.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ubuntu-cyrillic-500-normal.2cgmq12k6s3b2.woff2)format("woff2"),url(../media/ubuntu-cyrillic-500-normal.07uys17b-k-np.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ubuntu-greek-ext-500-normal.1ec35qqwnl31s.woff2)format("woff2"),url(../media/ubuntu-greek-ext-500-normal.0k9ctlk403p52.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ubuntu-greek-500-normal.3ptsb3vxvl05w.woff2)format("woff2"),url(../media/ubuntu-greek-500-normal.1jtf2-kcz9yo4.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ubuntu-latin-ext-500-normal.2tedzof9m9wmr.woff2)format("woff2"),url(../media/ubuntu-latin-ext-500-normal.2ko9_toa7k8rf.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ubuntu-latin-500-normal.3e11_1k2g36c_.woff2)format("woff2"),url(../media/ubuntu-latin-500-normal.246lrf8m-mmj9.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:700;src:url(../media/ubuntu-cyrillic-ext-700-normal.1w27l1nznlbz6.woff2)format("woff2"),url(../media/ubuntu-cyrillic-ext-700-normal.1su2ar68xjx48.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:700;src:url(../media/ubuntu-cyrillic-700-normal.2maf4xpe_793f.woff2)format("woff2"),url(../media/ubuntu-cyrillic-700-normal.17_8o_70w1hu1.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:700;src:url(../media/ubuntu-greek-ext-700-normal.2u2-8sypiv8gw.woff2)format("woff2"),url(../media/ubuntu-greek-ext-700-normal.3-gvgh5zbacfk.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:700;src:url(../media/ubuntu-greek-700-normal.0kmn73edxh11y.woff2)format("woff2"),url(../media/ubuntu-greek-700-normal.1-0bkqqlqseiw.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:700;src:url(../media/ubuntu-latin-ext-700-normal.036rqdoh5fyun.woff2)format("woff2"),url(../media/ubuntu-latin-ext-700-normal.301ve8qmjmcsy.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Ubuntu;font-style:normal;font-display:swap;font-weight:700;src:url(../media/ubuntu-latin-700-normal.0e-3k4bw87_5_.woff2)format("woff2"),url(../media/ubuntu-latin-700-normal.1wbmpss8id72z.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fff;--foreground:#171717;--accent:#1f5a8c;--accent-contrast:#fff;--muted:#5a5a63;--border:#c9c9d1;--error:#b3261e;--error-contrast:#fff;--paper:#fff;--toolbar-bg:#f6f6f8;--ink:#1a1a1f;--tc-red:#b62424;--tc-orange:#944707;--tc-green:#266a2a;--tc-blue:#135db1;--tc-purple:#7b1fa2;--tc-grey:#5a5f66;--hl-yellow:#fff3a3;--hl-peach:#ffd8b5;--hl-pink:#ffd1dc;--hl-purple:#e2d4ff;--hl-blue:#cfe6ff;--hl-green:#c9f0c9;--cat-food:#ffe4cc;--cat-transport:#d6e8ff;--cat-activity:#d9f2d9;--cat-stay:#e8dcff;--cat-other:#ececf0;--cat-edge:#00000047}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#0a0a0a;--foreground:#ededed;--accent:#8ec1f2;--accent-contrast:#0a0a0a;--muted:#a8a8b3;--border:#3a3a44;--error:#ff9b94;--error-contrast:#0a0a0a;--paper:#14141a;--toolbar-bg:#1b1b22;--ink:#f1f1f4;--tc-red:#ff9f97;--tc-orange:#ffb74d;--tc-green:#90cd93;--tc-blue:#7bc1f6;--tc-purple:#d8a7de;--tc-grey:#bec2c6;--hl-yellow:#4c471a;--hl-peach:#593922;--hl-pink:#592c3b;--hl-purple:#413061;--hl-blue:#223c5c;--hl-green:#294b2e;--cat-food:#5a3a22;--cat-transport:#1f3a5c;--cat-activity:#25472b;--cat-stay:#3d2f5c;--cat-other:#34343c;--cat-edge:#ffffff4d}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#0a0a0a;--foreground:#ededed;--accent:#8ec1f2;--accent-contrast:#0a0a0a;--muted:#a8a8b3;--border:#3a3a44;--error:#ff9b94;--error-contrast:#0a0a0a;--paper:#14141a;--toolbar-bg:#1b1b22;--ink:#f1f1f4;--tc-red:#ff9f97;--tc-orange:#ffb74d;--tc-green:#90cd93;--tc-blue:#7bc1f6;--tc-purple:#d8a7de;--tc-grey:#bec2c6;--hl-yellow:#4c471a;--hl-peach:#593922;--hl-pink:#592c3b;--hl-purple:#413061;--hl-blue:#223c5c;--hl-green:#294b2e;--cat-food:#5a3a22;--cat-transport:#1f3a5c;--cat-activity:#25472b;--cat-stay:#3d2f5c;--cat-other:#34343c;--cat-edge:#ffffff4d}.tc-red{color:var(--tc-red)}.tc-orange{color:var(--tc-orange)}.tc-green{color:var(--tc-green)}.tc-blue{color:var(--tc-blue)}.tc-purple{color:var(--tc-purple)}.tc-grey{color:var(--tc-grey)}.hl{color:var(--ink);background:var(--hl-yellow);border-radius:3px;padding:0 .1em}.hl-yellow{background:var(--hl-yellow)}.hl-peach{background:var(--hl-peach)}.hl-pink{background:var(--hl-pink)}.hl-purple{background:var(--hl-purple)}.hl-blue{background:var(--hl-blue)}.hl-green{background:var(--hl-green)}html{height:100%}html,body{max-width:100vw;overflow-x:hidden}body{min-height:100%;color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-direction:column;font-family:Ubuntu,system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.5;display:flex}*{box-sizing:border-box;margin:0;padding:0}a{color:inherit;text-decoration:none}.page{flex-direction:column;gap:1.25rem;width:100%;max-width:34rem;margin:0 auto;padding:3rem 1rem;display:flex}.page h1{font-size:1.75rem;line-height:1.25}.muted{color:var(--muted)}.field{flex-direction:column;gap:.35rem;display:flex}.field label{font-weight:500}.field input{min-height:44px;font:inherit;color:inherit;border:1px solid var(--border);background:0 0;border-radius:8px;padding:.5rem .75rem}.btn{min-height:44px;font:inherit;border:1px solid var(--accent);cursor:pointer;border-radius:8px;padding:.5rem 1.1rem;font-weight:500}.btn-primary{background:var(--accent);color:var(--accent-contrast)}.btn-secondary{color:var(--accent);background:0 0}.btn:disabled{opacity:.6;cursor:progress}.error{color:var(--error);font-weight:500}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.list{flex-direction:column;gap:.5rem;padding:0;list-style:none;display:flex}.card{border:1px solid var(--border);border-radius:10px;padding:.75rem 1rem}.card-link{min-height:44px;color:inherit;justify-content:space-between;align-items:center;gap:.5rem;text-decoration:none;display:flex}.row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.badge{border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:.1rem .55rem;font-size:.8rem}.btn{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.btn-danger{background:var(--error);border-color:var(--error);color:var(--error-contrast)}.confirm{border-color:var(--error)}.danger-zone{border-top:1px solid var(--border);padding-top:1rem}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}select{min-height:44px;font:inherit;color:inherit;border:1px solid var(--border);background:0 0;border-radius:8px;padding:0 .6rem}.page h2{font-size:1.2rem}.banner{border:1px solid var(--error);color:var(--error);border-radius:8px;margin:.5rem 1rem 0;padding:.6rem .9rem;font-weight:500}.workspace{flex-direction:column;width:100%;height:100dvh;display:flex}.topbar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:.5rem .75rem;padding:.4rem 1rem;display:flex}.back{min-width:44px;min-height:44px;color:var(--accent);justify-content:center;align-items:center;font-size:1.3rem;text-decoration:none;display:inline-flex}.trip-title{text-overflow:ellipsis;white-space:nowrap;max-width:40vw;font-size:1.15rem;line-height:1.3;overflow:hidden}.tabs{gap:.25rem;margin-left:.5rem;display:flex}.tab{min-height:44px;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:0 .9rem}.tab[aria-current=page]{border-bottom-color:var(--accent);font-weight:700}.sync{color:var(--muted);margin-left:auto;font-size:.85rem}.topbar .theme-toggle{margin-left:.25rem}.workspace-main{flex-direction:column;flex:1;min-height:0;display:flex}.fill{flex-direction:column;flex:1;min-height:0;padding:.75rem 1rem 1rem;display:flex}.fill[hidden]{display:none}.people-wrap{flex:1;padding:1.25rem 1rem 3rem;overflow-y:auto}.people{flex-direction:column;gap:1.75rem;max-width:44rem;margin:0 auto;display:flex}.people h2{margin-bottom:.5rem;font-size:1.15rem}.editor-surface{border:1px solid var(--border);background:var(--paper);border-radius:12px;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.toolbar{border-bottom:1px solid var(--border);background:var(--toolbar-bg);flex-wrap:wrap;align-items:center;gap:.25rem;padding:.4rem .5rem;display:flex}.tb{min-width:40px;min-height:40px;font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:0 .6rem;font-size:.95rem}.tb:hover:not(:disabled){border-color:var(--border)}.tb[aria-pressed=true]{background:var(--accent);color:var(--accent-contrast)}.tb:disabled{opacity:.45;cursor:not-allowed}.tb-sep{background:var(--border);align-self:stretch;width:1px;margin:.25rem .2rem}@media (pointer:coarse){.tb{min-width:44px;min-height:44px}}.doc-scroll{flex:1;min-height:0;padding:1.25rem clamp(1rem,4vw,3rem) 4rem;overflow-y:auto}.doc{outline:none;max-width:64rem;min-height:60vh;margin:0 auto;font-size:1.05rem;line-height:1.65}.doc>*+*{margin-top:.7rem}.doc h1{margin-top:1.4rem;font-size:1.9rem;line-height:1.25}.doc h2{margin-top:1.2rem;font-size:1.45rem;line-height:1.3}.doc h3{margin-top:1rem;font-size:1.2rem}.doc ul,.doc ol{padding-left:1.6rem}.doc li>p{margin:0}.doc ul[data-type=taskList]{padding-left:.2rem;list-style:none}.doc ul[data-type=taskList]>li{align-items:flex-start;gap:.6rem;display:flex}.doc ul[data-type=taskList]>li>label{-webkit-user-select:none;user-select:none;flex:none;margin-top:.4rem}.doc ul[data-type=taskList]>li>label input{width:1.1rem;height:1.1rem;accent-color:var(--accent);cursor:pointer}.doc ul[data-type=taskList]>li>div{flex:1}.doc ul[data-type=taskList]>li[data-checked=true]>div{color:var(--muted);text-decoration:line-through}.doc blockquote{border-left:4px solid var(--border);color:var(--muted);margin-left:0;padding-left:1rem}.doc a{color:var(--accent);cursor:pointer;text-decoration:underline}.doc p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--muted);float:left;pointer-events:none;height:0}@media (max-width:40rem){.trip-title{max-width:60vw}.sync{width:100%;margin-left:0}.fill{padding:.5rem}}.tb-menu{position:relative}.tb-swatch{vertical-align:-.1rem;border:1px solid var(--border);border-radius:3px;width:.9rem;height:.9rem;margin-right:.3rem;display:inline-block}.palette{z-index:20;background:var(--paper);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;gap:.4rem;width:max-content;max-width:90vw;padding:.55rem;display:flex;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 6px 20px #0000002e}.swatch{min-width:40px;min-height:40px;font:inherit;color:var(--ink);border:1px solid var(--cat-edge);cursor:pointer;background:var(--paper);border-radius:8px;padding:0 .4rem;font-weight:700}.swatch[aria-pressed=true]{outline:3px solid var(--accent);outline-offset:1px}.swatch-text{background:var(--paper);font-size:1.1rem}.swatch-text.tc-red{color:var(--tc-red)}.swatch-text.tc-orange{color:var(--tc-orange)}.swatch-text.tc-green{color:var(--tc-green)}.swatch-text.tc-blue{color:var(--tc-blue)}.swatch-text.tc-purple{color:var(--tc-purple)}.swatch-text.tc-grey{color:var(--tc-grey)}.swatch.hl-yellow{background:var(--hl-yellow)}.swatch.hl-peach{background:var(--hl-peach)}.swatch.hl-pink{background:var(--hl-pink)}.swatch.hl-purple{background:var(--hl-purple)}.swatch.hl-blue{background:var(--hl-blue)}.swatch.hl-green{background:var(--hl-green)}.swatch-none{background:var(--paper);color:var(--foreground);border-color:var(--border);font-weight:500}.tb-a{border-bottom:3px solid;padding:0 .1rem;font-weight:700;line-height:1}@media (pointer:coarse){.swatch{min-width:44px;min-height:44px}}.recovery-code{letter-spacing:.06em;background:var(--toolbar-bg);border:1px dashed var(--border);word-break:break-all;-webkit-user-select:all;user-select:all;border-radius:8px;padding:.75rem 1rem;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:1.15rem;line-height:1.6}.recovery-code.inline{padding:.1rem .5rem;font-size:1rem;display:inline-block}.choices{border:0;flex-wrap:wrap;gap:.5rem;display:flex}.choice{border:1px solid var(--border);cursor:pointer;border-radius:8px;align-items:center;gap:.5rem;min-height:44px;padding:0 .9rem;display:inline-flex}.choice input{width:1.1rem;height:1.1rem;accent-color:var(--accent)}.days-layout{flex:1;grid-template-columns:15rem minmax(0,1fr);gap:1rem;min-height:0;display:grid;position:relative}.days-banner{z-index:30;margin:0;position:absolute;top:0;left:0;right:0}.day-nav{flex-direction:column;gap:.35rem;padding-right:.25rem;display:flex;overflow-y:auto}.day-link{min-height:44px;line-height:1.35;font:inherit;color:inherit;text-align:left;border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:10px;flex-direction:column;align-items:flex-start;gap:.2rem;padding:.6rem .85rem;display:flex;position:relative}.day-link:hover{border-color:var(--accent)}.day-link[aria-current=page]{border-color:var(--accent);background:var(--toolbar-bg);border-width:2px}.day-link .badge{position:absolute;top:.5rem;right:.6rem}.day-dates-btn{margin-top:.5rem}.day-nav>*{flex:none}.day-main{min-width:0;overflow-y:auto}.day-page{flex-direction:column;gap:1rem;padding-bottom:3rem;display:flex}.day-head h2{margin-bottom:.5rem;font-size:1.35rem}.day-page h3{margin-bottom:.4rem;font-size:1.05rem}.add-row{flex-wrap:wrap;gap:.5rem;display:flex}.entries{flex-direction:column;gap:.5rem;padding:0;list-style:none;display:flex}.entry{color:var(--ink);background:var(--cat-other);border:1px solid var(--cat-edge);border-radius:10px;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.7rem .9rem;display:flex}.entry-stay{background:var(--cat-stay)}.entry-vehicle{background:var(--cat-transport)}.entry-food{background:var(--cat-food)}.entry-activity{background:var(--cat-activity)}.entry-other{background:var(--cat-other)}.entry .badge{color:var(--ink);border-color:var(--cat-edge);background:0 0}.entry-kind{flex-wrap:wrap;gap:.35rem;margin-bottom:.25rem;display:flex}.entry-title{overflow-wrap:anywhere;font-size:1.02rem;font-weight:700}.entry-meta,.entry-notes{overflow-wrap:anywhere;font-size:.92rem}.entry-notes{white-space:pre-wrap;margin-top:.25rem}.entry a{color:inherit;text-decoration:underline}.entry-edit{background:var(--paper);flex:none}.day-notes .editor-surface.flow{flex:none;min-height:65vh;overflow:visible}.editor-surface.flow .toolbar{z-index:5;border-radius:12px 12px 0 0;position:sticky;top:0}.editor-surface.flow .doc-scroll{padding-bottom:2rem;overflow:visible}.field-row{grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.75rem;display:grid}.field textarea,.field select{font:inherit;color:inherit;border:1px solid var(--border);background:0 0;border-radius:8px;padding:.5rem .75rem}.field select{min-height:44px}.field input[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:var(--error);border-width:2px}.hint{font-size:.85rem}.dialog{width:min(34rem,100vw - 1.5rem);max-height:calc(100dvh - 2rem);color:var(--foreground);background:var(--paper);border:1px solid var(--border);border-radius:14px;margin:auto;padding:0}.dialog::backdrop{background:#0000008c}.dialog-body{flex-direction:column;gap:.85rem;max-height:calc(100dvh - 2rem);padding:1.1rem;display:flex;overflow-y:auto}.dialog-actions{flex-wrap:wrap;gap:.5rem;display:flex}.dialog-delete{margin-left:auto}.dates-form{flex-direction:column;gap:.75rem;max-width:30rem;display:flex}@media (max-width:48rem){.days-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:.5rem}.day-nav{flex-direction:row;padding:0 0 .35rem;overflow:auto hidden}.day-link{flex:none;min-width:8rem}.day-dates-btn{flex:none;margin-top:0}}.page section:not(.page){flex-direction:column;gap:.6rem;display:flex}.page h1{margin-bottom:.25rem}.card.confirm{flex-direction:column;align-items:flex-start;gap:.75rem;padding:1rem 1.1rem;display:flex}.card.confirm .row{align-self:stretch}.card.confirm>p{margin:0}.fill-scroll{overflow-y:auto}.food-panel{flex-direction:column;gap:1rem;width:100%;max-width:56rem;margin:0 auto;padding-bottom:3rem;display:flex}.map-preview{flex-direction:column;align-items:flex-start;gap:.4rem;margin-top:.5rem;display:flex}.map-frame{border:1px solid var(--cat-edge);background:var(--paper);border-radius:10px;width:100%;height:280px}.timeline-panel{flex-direction:column;flex:1;gap:.6rem;min-height:0;display:flex;overflow-y:auto}.timeline-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.timeline-tray{padding-bottom:2rem}.tl{--gutter:4rem;--colw:11rem;border:1px solid var(--border);background:var(--paper);border-radius:12px;flex:1 0 28rem;min-height:24rem;position:relative;overflow:auto}.tl-grid{min-width:calc(var(--gutter) + var(--cols) * var(--colw))}.tl-row{grid-template-columns:var(--gutter) repeat(var(--cols), minmax(var(--colw), 1fr));display:grid}.tl-gutter{z-index:3;background:var(--paper);border-right:1px solid var(--border);padding:.25rem .4rem;font-size:.78rem;position:sticky;left:0}.tl-head{z-index:4;background:var(--paper);border-bottom:1px solid var(--border);position:sticky;top:0}.tl-day{border-left:1px solid var(--border);flex-direction:column;padding:.4rem .6rem;line-height:1.3;display:flex}.tl-city{overflow-wrap:anywhere;font-size:.85rem}.tl-stays{border-bottom:1px solid var(--border)}.tl-bar{text-align:left;font:inherit;color:var(--ink);border:1px solid var(--cat-edge);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;border-radius:8px;margin:3px 2px;padding:.25rem .6rem;font-size:.85rem;font-weight:500;overflow:hidden}.tl-untimed{border-bottom:1px solid var(--border)}.tl-chips{border-left:1px solid var(--border);flex-wrap:wrap;gap:.25rem;padding:.3rem;display:flex}.tl-chip{font:inherit;color:var(--ink);border:1px solid var(--cat-edge);cursor:pointer;border-radius:999px;padding:.2rem .5rem;font-size:.8rem}.tl-hour:first-child{transform:none}.tl-hour{color:var(--muted);background:var(--paper);padding:0 .15rem;font-size:.74rem;position:absolute;right:.4rem;transform:translateY(-.55em)}.tl-body .tl-gutter{position:sticky}.tl-col{border-left:1px solid var(--border);background-image:repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--hour) - 1px), var(--border) calc(var(--hour) - 1px), var(--border) var(--hour));cursor:cell;position:relative}.tl-block{color:var(--ink);border:1px solid var(--cat-edge);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:8px;padding:2px 6px 10px;font-size:.8rem;line-height:1.25;position:absolute;overflow:hidden}.tl-block.tl-fixed{cursor:pointer}.tl-block:focus-visible{outline:3px solid var(--accent);outline-offset:1px;z-index:6}.tl-block .tl-time{opacity:.85;font-size:.72rem;display:block}.tl-block .tl-title{overflow-wrap:anywhere;font-weight:700;display:block}.tl-resize{cursor:ns-resize;height:10px;position:absolute;bottom:0;left:0;right:0}.tl-resize:after{content:"";opacity:.45;background:currentColor;border-radius:2px;width:1.4rem;height:3px;margin-left:-.7rem;position:absolute;bottom:3px;left:50%}.tl-ghost{z-index:7;outline:2px dashed var(--accent);opacity:.9;pointer-events:none;border-style:dashed}.tl-dim{opacity:.35}.c-stay{background:var(--cat-stay)}.c-transport{background:var(--cat-transport)}.c-food{background:var(--cat-food)}.c-activity{background:var(--cat-activity)}.c-other{background:var(--cat-other)}.budget-panel h3{margin-bottom:.4rem}.sum-cards{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.6rem;display:grid}.sum-card{flex-direction:column;gap:.15rem;display:flex}.sum-cur{letter-spacing:.06em;color:var(--muted);font-size:.8rem;font-weight:700}.sum-total{font-size:1.35rem;font-weight:700}.owes{flex-direction:column;gap:.4rem;padding:0;list-style:none;display:flex}.owes li{border:1px solid var(--border);border-radius:10px;padding:.6rem .9rem}.owes-detail{flex-direction:column;gap:.3rem;padding:.5rem 0 0 1.2rem;display:flex}.budget-panel summary{cursor:pointer;align-items:center;min-height:44px;font-weight:500;display:flex}.rates{flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin:.5rem 0;display:flex}.split-field{border:0;padding:0}.split-field legend{margin-bottom:.25rem;font-weight:500}.theme-toggle{min-height:44px;font:inherit;color:inherit;border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:.5rem;padding:0 .7rem 0 .5rem;font-size:.9rem;display:inline-flex}.theme-toggle .theme-knob{background:var(--border);border-radius:999px;width:2.1rem;height:1.2rem;transition:background .15s;position:relative}.theme-toggle .theme-knob:after{content:"";background:var(--paper);border-radius:50%;width:.9rem;height:.9rem;transition:transform .15s;position:absolute;top:.15rem;left:.15rem}.theme-toggle[aria-checked=true] .theme-knob{background:var(--accent)}.theme-toggle[aria-checked=true] .theme-knob:after{background:var(--accent-contrast);transform:translate(.9rem)}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}@media (prefers-reduced-motion:reduce){.theme-toggle .theme-knob,.theme-toggle .theme-knob:after{transition:none}}.tray-item{align-items:center}.tl-handle{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.tl-float{z-index:50;max-width:16rem;color:var(--ink);background:var(--cat-activity);border:1px solid var(--cat-edge);pointer-events:none;text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:.35rem .7rem;font-size:.85rem;position:fixed;overflow:hidden;box-shadow:0 6px 20px #0000004d}.day-switch{align-items:center;gap:.5rem;display:flex}.day-switch select{flex:1}@media (max-width:48rem){.tl{--gutter:3.2rem;--colw:8rem;flex-basis:24rem}.timeline-top{align-items:stretch}.topbar{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"back title toggle""tabs tabs tabs""sync sync sync";gap:0 .5rem;padding:.25rem .75rem;display:grid}.topbar .back{grid-area:back}.topbar .trip-title{grid-area:title;max-width:none}.topbar .theme-toggle{grid-area:toggle;margin:0;padding:0 .5rem}.topbar .theme-toggle span:last-child{display:none}.topbar .tabs{scrollbar-width:none;grid-area:tabs;margin:0;overflow-x:auto}.topbar .tab{flex:none}.topbar .sync{grid-area:sync;width:auto;margin:0;padding-bottom:.25rem;font-size:.75rem}}.offline-notice{z-index:50;text-align:center;background:var(--warn-bg,#fff4d6);color:var(--warn-fg,#5a4300);border-bottom:1px solid var(--border);padding:.5rem 1rem;font-size:.875rem;position:sticky;top:0}
