.te-editor{--te-header-offset:87px;padding-bottom:40px}.te-heading{padding-top:30px;padding-bottom:18px}.te-heading h1{font-size:clamp(28px,3vw,40px);line-height:1.25;margin:9px 0}.te-heading p{font-size:14px;color:var(--muted);line-height:1.7}.te-actions{position:sticky;top:var(--te-header-offset);z-index:25;background:#faf9f3f5;backdrop-filter:blur(10px);border-block:1px solid var(--line)}.te-action-inner{display:flex;align-items:center;gap:12px;padding-block:10px}.te-action-inner>div{min-width:0;margin-right:auto}.te-action-inner strong{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55vw}.te-editor [data-en-save-status]{font-size:12px;min-height:0;margin:4px 0 0;color:var(--muted)}.te-action-inner .btn{min-height:44px;padding:11px 20px;white-space:nowrap}.te-details{display:grid;grid-template-columns:2fr 1fr 100px;gap:16px;padding-block:18px}.te-details label{font-size:12px;font-weight:600}.te-details label span{font-weight:400;color:var(--muted)}.te-details input{display:block;width:100%;margin-top:6px;min-height:44px;background:#fffefa}.te-extras{margin-bottom:20px}.te-extras>details{border:1px solid var(--line);border-radius:8px;background:#f2f4e9}.te-extras summary{padding:13px 16px;cursor:pointer;font-size:13px;font-weight:650}.te-extras summary>span{margin-left:10px;color:var(--muted);font-weight:400}.te-extras-grid{padding:5px 20px 20px;display:grid;grid-template-columns:1fr 1fr;gap:35px}.te-extras h2{font-size:20px;margin:10px 0}.te-extras p{font-size:12px;line-height:1.8;color:var(--muted)}.te-budget>label select{display:block;margin-top:6px;padding:10px;border:1px solid var(--line);border-radius:5px}.te-budget .budget-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin-top:15px}.te-budget .budget-total{flex-direction:row;align-items:center;justify-content:space-between}.te-budget .budget-total strong{font-size:23px}.te-trip-tools>a,.te-trip-tools>button{display:block;margin:16px 0;font-size:13px}.te-trip-tools .en-base-note{padding:0;margin:20px 0 0}.te-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);grid-template-areas:'nav nav' 'board map';gap:16px 22px;align-items:start;scroll-margin-top:calc(var(--te-header-offset) + 85px)}.te-day-nav{grid-area:nav;display:flex;gap:12px;align-items:center;min-width:0}.te-day-nav>div{display:flex;gap:8px;min-width:0;overflow-x:auto;padding:3px 1px 8px;flex:1;scrollbar-width:thin}.te-day-tab{min-height:48px;padding:9px 14px;white-space:nowrap;border:1px solid #cbd5c7;border-radius:8px;background:#fffefa;color:#175f55;font:inherit;font-size:13px;cursor:pointer}.te-day-tab span{font-size:11px;margin-left:6px;opacity:.75}.te-day-tab small{display:block;font-size:10px;margin-top:3px}.te-day-tab[aria-pressed=true]{background:#175f55;color:white;border-color:#175f55}.te-day-nav>.btn{min-height:44px;padding:10px 14px;white-space:nowrap;font-size:12px}.te-day-tab.is-drop-target{outline:3px solid #a7bc38;outline-offset:1px}.te-board{grid-area:board;max-height:calc(100dvh - var(--te-header-offset) - 130px);min-height:280px;overflow-y:auto;scrollbar-width:thin;border:1px solid var(--line);border-radius:10px;background:#f1f3eb;padding:16px;scroll-padding:12px}.te-list-head{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:16px}.te-list-head h2{font-size:21px;line-height:1.4;margin:0 0 6px}.te-list-head p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.te-list-head>.text-btn{font-size:11px;white-space:nowrap;padding:5px}.te-place{padding:14px;border:1px solid #d5ddcf;border-radius:9px;background:#fffefa;margin:0 0 12px}.te-place.is-selected{border-color:#a45128;box-shadow:inset 3px 0 #a45128}.te-place-heading{display:flex;gap:8px;align-items:start}.te-place-heading>div{min-width:0;flex:1}.te-place-heading strong{display:block;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.te-place-heading small{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:3px}.te-position{display:flex;align-items:center;justify-content:center;border:1px solid #cbd5c7;border-radius:50%;width:24px;height:24px;flex-shrink:0;font-size:11px;margin-top:1px}.te-drag{border:0;background:none;color:#7b8d7b;padding:3px 2px;font-size:20px;cursor:grab;line-height:1.2}.is-dragging .te-drag{cursor:grabbing}.te-place-move{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:13px}.te-place-move select{border:1px solid #cbd5c7;border-radius:6px;background:white;padding:10px;max-width:130px;min-height:42px;color:var(--ink);font:inherit;font-size:12px}.te-place-move .btn{min-height:42px;padding:10px 12px;font-size:12px}.te-place-move .text-btn{font-size:12px;margin-left:auto}.te-order{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:12px}.te-order .text-btn{font-size:11px;min-height:28px}.te-order .text-btn:last-child{margin-left:auto}.te-editor button:disabled{opacity:.45;cursor:default}.te-place-details{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.te-place-details summary{font-size:11px;color:var(--muted);cursor:pointer}.te-place-details label{font-size:12px;margin:12px 0 0}.te-place-details input,.te-place-details textarea{display:block;width:100%;margin-top:6px;border:1px solid var(--line);border-radius:6px;background:white;padding:10px;font:inherit;color:var(--ink);font-size:13px}.te-place-details textarea{line-height:1.6;resize:vertical}.te-external-maps{display:flex;gap:16px;margin-top:12px;font-size:11px}.te-empty{padding:28px 8px;text-align:center;color:var(--muted)}.te-empty h3{color:var(--ink);font-size:19px;margin-bottom:10px}.te-empty p{font-size:13px;line-height:1.7;margin-bottom:16px}.te-empty a{font-size:13px;text-decoration:underline}.te-list-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;padding:12px 0 3px;font-size:12px}.te-list-bottom button{font-size:12px;min-height:42px}.te-map-pane{grid-area:map;position:sticky;top:calc(var(--te-header-offset) + 100px);padding:16px;border:1px solid var(--line);border-radius:10px;background:#eef2e8;min-width:0}.te-map-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.te-map-heading h2{font-size:21px;margin:0}.te-map-heading button{font-size:11px;min-height:30px}.te-map-pane .pm-canvas{height:clamp(290px,calc(100dvh - var(--te-header-offset) - 285px),540px);min-height:0}.te-map-controls{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:10px 0;font-size:12px}.te-map-controls strong{margin-right:auto}.te-map-controls button{font-size:11px}.te-map-controls button[aria-pressed=true]{font-weight:750;text-decoration-thickness:2px}.te-map-status,.te-map-error{font-size:11px;line-height:1.6;margin:10px 0 5px;color:var(--muted)}.te-map-error{color:#8d4526}.te-map-about{font-size:10px;color:var(--muted);line-height:1.7;margin-top:7px}.te-map-about summary{cursor:pointer}.te-map-about p{margin-top:7px}.te-bottom-note{font-size:11px;line-height:1.8;color:var(--muted);padding-block:15px}.te-editor a:focus-visible,.te-editor button:focus-visible,.te-editor input:focus-visible,.te-editor select:focus-visible,.te-editor summary:focus-visible{outline:3px solid #a45128;outline-offset:3px}
@media(max-width:1050px){.te-workspace{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:14px}.te-place-move .te-map-link{margin-left:0}.te-extras-grid{gap:24px}.te-day-tab{padding-inline:10px}}
@media(max-width:760px){.te-editor{padding-bottom:calc(95px + env(safe-area-inset-bottom))}.te-heading{padding-top:22px}.te-heading h1{font-size:29px}.te-heading p{font-size:12px}.te-actions{position:fixed;top:auto;bottom:0;left:0;right:0;border-top:1px solid #c8d1c1;border-bottom:0;z-index:45;padding-bottom:env(safe-area-inset-bottom)}.te-action-inner{gap:8px;padding-block:10px}.te-action-inner>div{flex:1;min-width:0}.te-action-inner strong{font-size:12px;max-width:30vw}.te-editor [data-en-save-status]{font-size:10px;line-height:1.4;max-width:30vw}.te-action-inner .btn{font-size:12px;padding:11px 13px;min-height:46px}.te-action-inner .te-share{padding-inline:11px}.te-details{grid-template-columns:1fr 90px;gap:12px;padding-top:8px}.te-details>label:first-child{grid-column:1/-1}.te-details input{min-height:44px}.te-details>label:nth-child(2){min-width:0}.te-extras{margin-bottom:14px}.te-extras-grid{grid-template-columns:1fr;gap:15px;padding-inline:14px}.te-budget .budget-inputs{gap:10px}.te-workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:'nav' 'map' 'board';gap:10px}.te-day-nav{gap:8px}.te-day-nav>.btn{font-size:11px;padding-inline:10px}.te-day-tab{min-height:44px;font-size:12px}.te-board{padding:12px;max-height:60dvh;min-height:210px}.te-editor.is-map-open .te-board{max-height:clamp(180px,calc(100dvh - var(--te-header-offset) - 390px),340px);min-height:180px}.te-map-pane{position:static;padding:12px}.te-map-heading{margin-bottom:4px}.te-map-heading h2{font-size:17px}.te-map-pane .pm-canvas{height:180px;border-radius:7px}.te-map-controls{margin:5px 0 8px;font-size:11px;gap:10px}.te-map-pane .te-map-status{margin:5px 0;font-size:10px}.te-map-about{font-size:10px;margin-top:4px}.te-map-about[open]{max-height:100px;overflow:auto}.te-list-head h2{font-size:18px}.te-list-head p{font-size:11px}.te-place{padding:12px}.te-place-heading strong{font-size:14px}.te-drag{display:none}.te-place-move select{max-width:110px}.te-place-move .btn{font-size:11px;padding-inline:11px}.te-place-move .te-map-link{font-size:11px;margin-left:auto}.te-order{gap:10px}.te-order .text-btn{min-height:36px}.te-bottom-note{font-size:10px}.te-editor input,.te-editor select,.te-editor textarea{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.te-editor *{scroll-behavior:auto!important}}

html[lang=en] .te-editor [data-en-save-status]{min-height:0;margin:4px 0 0;font-size:12px}.te-day-nav{position:sticky;top:calc(var(--te-header-offset) + var(--te-actions-height,70px));z-index:20;background:var(--cream);padding-top:6px}.te-map-pane{top:calc(var(--te-header-offset) + var(--te-actions-height,70px) + 72px)}@media(max-width:760px){.te-day-nav{top:var(--te-header-offset);padding-top:4px}.te-map-pane{position:static}html[lang=en] .te-editor [data-en-save-status]{font-size:10px}}

.te-day-nav,.te-map-pane{position:static}.te-workspace{scroll-margin-top:calc(var(--te-header-offset) + var(--te-actions-height,70px) + 10px)}.te-map-pane .pm-canvas{height:clamp(200px,calc(100dvh - var(--te-header-offset) - var(--te-actions-height,70px) - 240px),540px)}.te-board{max-height:calc(100dvh - var(--te-header-offset) - var(--te-actions-height,70px) - 90px)}@media(max-width:760px){.te-workspace{scroll-margin-top:calc(var(--te-header-offset) + 10px)}.te-map-pane .pm-canvas{height:180px}.te-board{max-height:60dvh}.te-editor.is-map-open .te-board{max-height:clamp(180px,calc(100dvh - var(--te-header-offset) - 390px),340px)}}

@media(max-width:760px){body:has(.te-editor) #toast{bottom:calc(96px + env(safe-area-inset-bottom))}}

.te-workspace{scroll-margin-top:calc(var(--te-header-offset) + var(--te-actions-height,70px) + 10px - 110px)}@media(max-width:760px){.te-workspace{scroll-margin-top:calc(var(--te-header-offset) + 10px - 125px)}}
