:root{--paper:#f7f7f2;--white:#fff;--ink:#263b31;--muted:#788178;--sage:#eaece4;--line:#e1e5dc;--accent:#bf623c;--soft:#f4e9e0;--radius:18px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #bb7950;outline-offset:4px}button{border:0}input,textarea{width:100%;background:var(--white);border:1px solid #d6ddd2;border-radius:10px;padding:12px;color:var(--ink);outline:none;min-height:46px;font-size:16px}input:focus,textarea:focus{border-color:#64826b;box-shadow:0 0 0 3px #64826b18}textarea{line-height:1.7;resize:vertical}label{display:block;font-size:13px;font-weight:600;margin:18px 0 8px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:550;letter-spacing:-.035em}p{line-height:1.8}button.primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:var(--ink);color:#fff;padding:13px 22px;border-radius:11px;font-weight:550;min-height:46px}.text-button{background:transparent;color:var(--muted);padding:10px;min-width:42px;min-height:42px}.text-button:hover{color:var(--ink);background:#e6e9e1;border-radius:9px}.icon-button{width:44px;height:44px;background:var(--sage);color:var(--ink);border-radius:50%;font-size:26px;flex-shrink:0}.eyebrow{font-size:10px;letter-spacing:.18em;line-height:1.6;font-weight:600;color:var(--muted)}.muted{font-size:13px;color:var(--muted)}.error{color:#aa3827;font-size:13px;margin:12px 0;line-height:1.6}.error:empty{display:none}.topbar{height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 max(32px,calc((100vw - 1280px)/2));border-bottom:1px solid var(--line);gap:12px}.wordmark{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:Georgia,serif;font-size:36px;font-weight:600}.wordmark span{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-size:14px;font-weight:550;letter-spacing:.04em}.top-actions{display:flex;align-items:center;gap:18px}.private-badge{font-size:11px;color:#6c8266;letter-spacing:.04em}.trip-hero{max-width:1280px;margin:28px auto 0;background:var(--sage);border-radius:22px;padding:40px 46px;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden}.trip-hero h1{font-size:clamp(26px,3.4vw,46px);font-weight:500;margin:14px 0 20px;line-height:1.3}.trip-hero h1 em{font-style:normal;color:#7f8a78}.route-caption{font-size:12px;color:#66765f;margin:0;line-height:2}.route-caption span{padding:0 10px;color:#a3b09a}.trip-stamp{border:1px solid #bdc7b5;border-radius:50%;width:140px;height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(12deg);color:#91a087}.trip-stamp strong{font:48px Georgia,serif}.trip-stamp span{font-size:8px;letter-spacing:.1em;margin-top:8px}.workspace{max-width:1280px;margin:30px auto 80px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:42px}.day-sidebar{border-right:1px solid var(--line);padding-right:22px}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);padding:0 10px;margin-bottom:10px}#day-picker{display:flex;flex-direction:column;gap:5px}.day-button{display:flex;align-items:center;gap:12px;background:transparent;padding:12px;border-radius:12px;text-align:left;color:var(--muted);min-height:61px;width:100%}.day-button:hover{background:var(--sage)}.day-button strong{min-width:43px;font-size:15px;font-weight:550;font-variant-numeric:tabular-nums}.day-button span{font-size:11px;line-height:1.6}.day-button.active{background:var(--ink);color:white}.day-button.active span{color:#c6d1bf}.export-button{background:transparent;border:1px solid var(--line);padding:12px 10px;border-radius:9px;font-size:11px;color:var(--muted);width:100%;margin-top:24px}.content-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);min-height:42px;margin-bottom:14px}.day-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.day-heading h2{font-size:30px;line-height:1.4;margin-bottom:12px}.day-heading .eyebrow{color:var(--accent);margin-bottom:12px}.day-summary{color:var(--muted);font-size:13px;max-width:670px;line-height:1.9;margin:0 0 28px}.edit-button{padding:10px 16px;background:#fff;border:1px solid var(--line);border-radius:10px;white-space:nowrap;color:var(--ink);min-height:44px;font-size:12px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:start}.stack{display:flex;flex-direction:column;gap:22px}.card{border:1px solid var(--line);background:var(--white);border-radius:var(--radius);padding:24px;overflow:hidden}.section-label{font-size:11px;letter-spacing:.04em;font-weight:600;margin-bottom:24px;display:flex;align-items:center;gap:8px}.section-label span{font-weight:400;color:#9ba496;font-size:9px;letter-spacing:.09em}.timeline{display:flex;flex-direction:column}.timeline-item{display:grid;grid-template-columns:76px 1fr;gap:16px;position:relative;padding:0 0 26px}.timeline-item:last-child{padding-bottom:0}.timeline-item time{font-size:11px;color:var(--muted);padding-top:3px;font-variant-numeric:tabular-nums;line-height:1.5}.timeline-item .event{border-left:1px solid var(--line);padding-left:18px;position:relative}.timeline-item .event:before{content:"";position:absolute;width:7px;height:7px;background:#a6b69b;border:2px solid white;box-shadow:0 0 0 1px #c6cfbf;left:-4px;top:6px;border-radius:50%}.event h4{margin:0 0 7px;font-size:14px;font-weight:550;line-height:1.6}.event p{font-size:12px;line-height:1.7;color:var(--muted);margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.place,.resource-link{padding:16px 0;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);align-items:center;text-decoration:none}.place:first-of-type,.resource-link:first-of-type{padding-top:0}.place:last-child,.resource-link:last-child{border-bottom:0;padding-bottom:0}.place strong,.resource-link strong{font-size:12px;line-height:1.6;display:block;font-weight:550;overflow-wrap:anywhere}.place small,.resource-link small{font-size:11px;color:var(--muted);line-height:1.7;display:block;margin-top:5px;overflow-wrap:anywhere}.map-link{background:var(--sage);padding:10px;border-radius:9px;text-decoration:none;white-space:nowrap;font-size:11px;min-height:38px}.resource-link .arrow{font-size:20px;color:var(--accent)}.note{font-size:12px;color:#71786a;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;padding-left:13px;border-left:2px solid #d9dfce}.note:last-child{margin-bottom:0}.notes-card{background:#f0f1e8}.private-card{background:#f6f0e9;border-color:#e7ddd0;display:flex;align-items:center;justify-content:space-between;gap:12px}.private-card h3{font-size:13px;margin:0 0 7px}.private-card p{font-size:12px;letter-spacing:.2em;color:#a49784;margin:0}.private-card button{background:#eee4d7;color:#7b6c59;border-radius:9px;padding:10px 14px;font-size:11px;min-height:42px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.gallery-grid a{height:100px;overflow:hidden;border-radius:8px;background:var(--sage)}.gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.gallery-grid a:hover img{transform:scale(1.05)}.gallery-caption{font-size:10px;color:var(--muted);margin:12px 0 0}.empty{font-size:12px;color:#9ca491;line-height:1.8;margin:0}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 28px;border-bottom:1px solid var(--line);background:var(--paper)}.dialog-header .eyebrow{font-size:8px;margin-bottom:5px}.dialog-header h2{font-size:22px;margin:0}dialog{padding:0;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);box-shadow:0 24px 100px #17231b33;max-height:90dvh}dialog::backdrop{background:#18281d66;backdrop-filter:blur(4px)}.editor-dialog{width:760px;max-width:calc(100vw - 32px)}.small-dialog{width:480px;max-width:calc(100vw - 32px)}.dialog-body{padding:8px 28px 28px;overflow-y:auto;max-height:calc(90dvh - 180px);overscroll-behavior:contain}.small-dialog .dialog-body{max-height:calc(90dvh - 110px)}.dialog-footer{padding:16px 28px;border-top:1px solid var(--line);background:var(--paper)}.dialog-footer>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-footer span{font-size:11px;color:var(--muted)}.editor-section{padding-top:22px;margin-top:22px;border-top:1px solid var(--line)}.editor-section h3{font-size:14px;margin-bottom:15px}.editor-section .hint{font-size:11px;color:var(--muted);margin-top:-7px}.edit-row{border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px;margin-bottom:12px}.edit-row label{font-size:11px;margin:8px 0 6px;color:var(--muted)}.edit-row input,.edit-row textarea{font-size:14px}.row-controls{display:flex;justify-content:flex-end;gap:6px;margin-top:8px}.row-controls button{font-size:11px;color:var(--muted);padding:8px 11px;border-radius:7px;background:var(--sage);min-height:36px}.row-controls .remove{color:#aa6751;background:#f8eee8}.add-row{width:100%;padding:12px;border:1px dashed #cbd4c3;border-radius:10px;color:#677c5a;background:transparent;font-size:12px;min-height:44px}.editor-two-col{display:grid;grid-template-columns:110px 1fr;gap:14px}.small-dialog .primary{margin-top:18px;width:100%}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:13px 22px;border-radius:12px;background:var(--ink);color:white;box-shadow:0 6px 30px #20382222;font-size:13px;z-index:20;max-width:90vw}.login-page{min-height:100dvh;display:grid;place-items:center;background:var(--sage);padding:36px 20px}.login-card{width:440px;max-width:100%;padding:42px;background:var(--paper);border-radius:24px;box-shadow:0 16px 80px #455f3c08}.brand-mark{font:60px Georgia,serif;display:block;margin-bottom:35px;color:#64805d}.login-card h1{font-size:30px;line-height:1.65;margin:14px 0 20px}.login-card h1 span{color:#819078}.login-intro{font-size:13px;color:var(--muted);margin-bottom:28px}.login-card .primary{width:100%;margin-top:20px;justify-content:space-between}.login-foot{font-size:10px;color:#9aa28f;margin:32px 0 0;line-height:1.7}.login-card .eyebrow{font-size:8px}.login-card input{background:var(--white)}[hidden]{display:none!important}body.modal-open{overflow:hidden}#day-view{min-height:280px}
@media(min-width:1440px){.workspace{gap:48px}.trip-hero{margin-top:36px}}
@media(max-width:1340px){.trip-hero,.workspace{margin-left:28px;margin-right:28px}.topbar{padding:0 28px}}
@media(max-width:1000px){.workspace{grid-template-columns:170px minmax(0,1fr);gap:24px}.day-sidebar{padding-right:15px}.day-button{gap:8px;padding:10px 8px}.detail-grid{grid-template-columns:1fr}.trip-stamp{width:115px;height:115px}.trip-stamp strong{font-size:38px}.day-heading h2{font-size:26px}}
@media(max-width:640px){.topbar{height:62px;padding:0 20px}.wordmark{font-size:31px;gap:8px}.wordmark span{font-size:12px}.top-actions{gap:4px}.private-badge{font-size:9px}.text-button{font-size:12px}.trip-hero{margin:16px 16px 0;padding:26px 23px;border-radius:17px}.trip-hero h1{font-size:28px;margin:12px 0}.trip-hero .eyebrow{font-size:8px}.route-caption{font-size:10px;max-width:245px}.route-caption span{padding:0 4px}.trip-stamp{display:none}.workspace{display:block;margin:18px 0 60px}.day-sidebar{border:0;padding:0;position:sticky;top:0;z-index:5;background:var(--paper);padding-bottom:10px;border-bottom:1px solid var(--line)}.sidebar-heading{padding:0 20px;margin-bottom:0;height:35px;font-size:10px}#day-picker{flex-direction:row;overflow-x:auto;padding:4px 16px 6px;gap:7px;scrollbar-width:none}#day-picker::-webkit-scrollbar{display:none}.day-button{width:auto;min-width:91px;max-width:130px;flex:0 0 auto;display:block;padding:10px 13px;min-height:61px;background:#eeefe8;border:1px solid transparent;border-radius:11px}.day-button strong{font-size:14px;display:block;margin-bottom:4px}.day-button span{font-size:9px;display:block;white-space:nowrap}.day-button.active{background:var(--ink)}.export-button{display:none}.day-content{padding:10px 16px 0}.content-toolbar{margin-bottom:12px;font-size:10px}.day-heading h2{font-size:25px;margin-bottom:13px}.day-heading .eyebrow{font-size:9px}.edit-button{font-size:11px;padding:10px 13px}.day-summary{font-size:12px;margin-bottom:20px}.detail-grid,.stack{gap:16px}.card{padding:21px;border-radius:15px}.section-label{font-size:11px;margin-bottom:22px}.timeline-item{grid-template-columns:68px 1fr;gap:10px;padding-bottom:25px}.event h4{font-size:13px}.event p{font-size:11px}.timeline-item time{font-size:10px}.gallery-grid a{height:110px}dialog{max-height:94dvh}.editor-dialog{max-width:100%;width:100%;margin:auto 0 0;border-radius:20px 20px 0 0;max-height:94dvh}.dialog-header{padding:20px}.dialog-header h2{font-size:20px}.dialog-body{padding:4px 20px 22px;max-height:calc(94dvh - 170px)}.dialog-footer{padding:14px 20px calc(14px + env(safe-area-inset-bottom))}.dialog-footer span{font-size:10px}.dialog-footer .primary{padding:12px 20px}.small-dialog .dialog-body{max-height:calc(90dvh - 100px)}.editor-two-col{grid-template-columns:95px 1fr;gap:10px}.edit-row{padding:12px}.edit-row input,.edit-row textarea{font-size:16px}.toast{bottom:24px;font-size:12px}.login-card{padding:32px;border-radius:20px}.login-card h1{font-size:28px}.brand-mark{margin-bottom:28px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Itinerary details and in-page image viewing. */
.icon-button{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.plan-dialog #plan-size{display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:1}
.plan-dialog .dialog-header .dialog-actions{flex-shrink:0}
.login-page{grid-template-columns:minmax(0,1fr);justify-items:center}.login-card{width:100%;max-width:440px;min-width:0}
.places-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.places-heading .section-label{margin:0}#add-place{margin-top:14px}
@media(max-width:640px){.editor-dialog>form{display:flex;flex-direction:column;max-height:calc(94dvh - 2px)}.editor-dialog .dialog-body{flex:1;min-height:0;max-height:none}.editor-dialog .dialog-header,.editor-dialog .dialog-footer{flex-shrink:0}}
body.modal-open{position:fixed;width:100%;overflow:hidden}dialog:not([open]){display:none}select{width:100%;min-height:46px;padding:11px 12px;border:1px solid #d6ddd2;border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:16px}.trip-hero{padding-top:28px;padding-bottom:28px}.trip-stamp{width:115px;height:115px}.trip-stamp strong{font-size:40px}.detail-grid{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}.plan-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.plan-list-heading h3{font-size:14px;margin:0}.plan-list-heading h3 span{font-size:10px;font-weight:400;color:var(--muted);margin-left:8px}.view-switch{display:flex;background:#e9ece3;border-radius:8px;padding:3px;gap:2px}.view-switch button{background:transparent;border-radius:6px;padding:7px 10px;font-size:10px;color:var(--muted);min-height:32px;white-space:nowrap}.view-switch button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 5px #263b310a}.plan-list{display:flex;flex-direction:column;gap:12px}.event-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.event-card-top{display:grid;grid-template-columns:70px minmax(0,1fr);gap:18px;padding:20px}.event-card-top>time{font-size:12px;color:var(--accent);line-height:1.6;font-weight:600;font-variant-numeric:tabular-nums;padding-top:4px;overflow-wrap:anywhere}.event-main{min-width:0}.event-open{display:block;padding:0;background:transparent;text-align:left;width:100%;color:var(--ink)}.event-kind{font-size:10px;letter-spacing:.04em;color:#8b9784;display:block;margin-bottom:7px}.event-open h3{font-size:16px;line-height:1.55;margin:0 0 6px;overflow-wrap:anywhere}.event-open p{font-size:12px;color:var(--muted);line-height:1.75;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.event-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;min-height:24px;color:var(--muted);font-size:10px}.event-meta button,.event-meta a{color:#597450;background:transparent;padding:4px 0;text-decoration:none;font-size:11px}.event-meta .pending-badge{padding:4px 7px;background:#fbf0e5;color:#ab6e3d;border-radius:5px}.event-meta button{margin-left:auto}.inline-details{border-top:1px solid var(--line);padding:0 20px 10px}.inline-details>.text-button{width:100%;margin-top:8px}.plan-list-footer{display:flex;align-items:center;gap:10px;margin-top:14px}.plan-list-footer>.text-button{white-space:nowrap;font-size:11px}.reorder-controls{display:flex;gap:8px;justify-content:flex-end;padding:0 18px 15px}.reorder-controls button{background:var(--sage);padding:8px 14px;border-radius:7px;font-size:11px;color:var(--ink)}.due-card{margin-bottom:20px;background:#f3efe5}.due-card .section-label{margin-bottom:12px}.dialog-actions{display:flex;align-items:center;gap:8px}.plan-dialog{margin:0 0 0 auto;width:560px;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:20px 0 0 20px;border-right:0;display:flex;flex-direction:column}.plan-dialog::backdrop{background:#17241b55}.plan-dialog .dialog-header{flex-shrink:0;padding:22px 26px}.plan-dialog .dialog-header h2{font-size:23px;line-height:1.45;overflow-wrap:anywhere}.plan-dialog .dialog-body{flex:1;min-height:0;max-height:none;padding:18px 26px 28px}.plan-dialog .dialog-footer{flex-shrink:0;padding:15px 26px max(15px,env(safe-area-inset-bottom))}.plan-dialog .dialog-footer span{max-width:55%;line-height:1.6}.plan-dialog.maximized{width:min(900px,100vw)}.plan-intro{font-size:14px;color:var(--muted);line-height:1.8;white-space:pre-wrap}.linked-events{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 15px}.linked-events span{font-size:10px;padding:7px 9px;background:var(--sage);color:#6c7c63;border-radius:7px;line-height:1.6}.detail-section{padding:22px 0;border-bottom:1px solid var(--line)}.detail-section:last-child{border-bottom:0}.detail-section h3{font-size:13px;margin:0 0 15px;line-height:1.5;display:flex;align-items:center;justify-content:space-between}.detail-section h3 span{font-size:10px;color:var(--muted);font-weight:400;letter-spacing:0}.info-grid{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}.info-grid dt{font-size:11px;color:var(--muted);margin-bottom:7px}.info-grid dd{font-size:13px;line-height:1.75;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.detail-location{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#edf0e7;border-radius:10px;padding:16px;margin-top:8px}.detail-location .eyebrow{font-size:9px}.detail-location p{font-size:13px;margin:4px 0 0;line-height:1.75;overflow-wrap:anywhere}.detail-location a{background:#dce4d4;flex-shrink:0}.detail-notes{font-size:13px;line-height:1.95;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.detail-empty{padding:28px 0}.task-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #e9ece3}.task-row:last-child{border:0}.task-row>label{display:flex;align-items:flex-start;gap:12px;margin:0;flex:1;cursor:pointer}.task-row input{width:19px;height:19px;min-height:19px;margin:3px 0 0;accent-color:#59764f;flex-shrink:0}.task-row strong{font-size:13px;font-weight:400;line-height:1.8;display:block;overflow-wrap:anywhere}.task-row small{font-size:10px;color:var(--muted);display:block;margin-top:3px;line-height:1.6}.task-done strong{text-decoration:line-through;color:#98a18f}.task-row .text-button{padding:0;min-height:32px}.image-thumb{padding:0;position:relative;width:100%;height:120px;border-radius:9px;overflow:hidden;background:#e8ece3;color:#fff}.image-thumb img{display:block;width:100%;height:100%;object-fit:cover}.image-thumb span{position:absolute;bottom:0;left:0;right:0;font-size:9px;padding:18px 7px 7px;text-align:left;background:linear-gradient(transparent,#14201699);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.edit-event-context{padding:14px;background:#eaf0e5;border-radius:11px}.edit-event-context>p{font-size:11px;color:#6e825f;margin:0 0 5px}.edit-event-context .editor-two-col{align-items:end;grid-template-columns:1fr 2fr}.edit-event-context .editor-two-col>label{grid-row:1}.edit-event-context .editor-two-col>input{grid-row:2}.editor-section .section-with-action{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-with-action h3{margin:0}.edit-image-list>div{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:9px;border-radius:9px;margin:8px 0;background:#fff}.edit-image-list img{width:48px;height:48px;object-fit:cover;border-radius:5px}.edit-image-list span{flex:1;font-size:11px;overflow-wrap:anywhere}.upload-button{border:1px dashed #bfcdb5;text-align:center;padding:14px;border-radius:10px;color:#617d54;cursor:pointer;font-size:13px}.choose-images{margin-top:18px}.choose-images summary{font-size:12px;cursor:pointer;color:var(--muted);padding:8px 0}.image-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.image-choices label{position:relative;margin:0;border:1px solid var(--line);padding:8px;border-radius:8px;cursor:pointer}.image-choices img{display:block;width:100%;height:100px;object-fit:cover;border-radius:5px}.image-choices input{position:absolute;width:20px;min-height:20px;top:8px;left:8px;accent-color:#56764a}.image-choices span{font-size:9px;display:block;margin-top:7px;color:var(--muted)}.remove-event{margin:30px 0 5px;width:100%;padding:13px;border:1px solid #e7d4cb;color:#a46349;background:transparent;border-radius:9px;font-size:12px}.text-button.remove{color:#a46349}.image-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#121b17f7;color:white;overflow:hidden;display:flex;flex-direction:column;box-shadow:none}.image-dialog::backdrop{background:#111a16d9;backdrop-filter:blur(8px)}.image-toolbar{display:flex;justify-content:space-between;align-items:center;padding:max(16px,env(safe-area-inset-top)) 24px 14px;gap:18px;flex-shrink:0}.image-toolbar>div{min-width:0}.image-toolbar strong{font-size:13px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-toolbar span{font-size:11px;color:#adbbb0;display:block;margin-top:6px}.image-close{display:flex;gap:9px;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border-radius:99px;background:#ffffff18;color:white;font-size:25px;white-space:nowrap}.image-close span{font-size:12px;color:white;margin:0}.image-stage{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:0 18px;touch-action:none;user-select:none}.image-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;will-change:transform}.image-stage.zoomed{cursor:grab}.image-stage.zoomed:active{cursor:grabbing}.image-stage>p{font-size:13px;color:#c1cec4}.image-controls{display:flex;align-items:center;justify-content:center;gap:10px;padding:17px 16px 5px;flex-shrink:0}.image-controls button{background:#ffffff15;color:white;border:1px solid #ffffff15;border-radius:10px;min-width:44px;min-height:44px;font-size:20px}.image-controls button:disabled{opacity:.25;cursor:default}#zoom-reset{font-size:12px;min-width:105px;padding:8px 12px}.image-hint{font-size:10px;color:#8c9a90;text-align:center;margin:10px 10px max(16px,env(safe-area-inset-bottom));flex-shrink:0}.image-dialog button:focus-visible{outline-color:white}
@media(min-width:641px){.plan-dialog::backdrop{background:#18271b24;backdrop-filter:none}}
@media(max-width:1000px){.detail-grid{grid-template-columns:1fr}.plan-dialog{width:540px}.image-thumb{height:140px}}
@media(max-width:640px){.top-actions{gap:0}.private-badge{display:none}.trip-hero{padding:23px}.plan-list-heading{gap:8px}.plan-list-heading h3{font-size:12px}.view-switch button{font-size:10px;min-height:35px}.event-card-top{grid-template-columns:58px minmax(0,1fr);gap:12px;padding:17px}.event-card-top>time{font-size:11px}.event-open h3{font-size:15px}.event-open p{font-size:11px}.event-kind{font-size:9px}.event-meta{gap:9px}.inline-details{padding:0 17px 10px}.event-card{border-radius:13px}.plan-dialog{width:100%;max-width:100%;height:85dvh;max-height:100dvh;margin:auto 0 0;border-radius:20px 20px 0 0;border:0}.plan-dialog.maximized{width:100%;height:100dvh;border-radius:0}.plan-dialog .dialog-header{padding:18px 20px;position:relative}.plan-dialog .dialog-header:before{content:"";position:absolute;width:34px;height:4px;border-radius:8px;background:#c5ccbf;top:6px;left:calc(50% - 17px)}.plan-dialog .dialog-header h2{font-size:20px}.plan-dialog .dialog-body{padding:16px 20px 25px}.plan-dialog .dialog-footer{padding:13px 20px max(16px,env(safe-area-inset-bottom))}.plan-dialog .dialog-actions{gap:0}.plan-dialog .icon-button{width:38px;height:38px}.plan-dialog .dialog-footer .primary{padding:12px 18px;font-size:13px}.info-grid{gap:15px}.info-grid dd{font-size:12px}.task-row strong{font-size:12px}.image-thumb{height:110px}.image-toolbar{padding:18px 16px 12px}.image-close{padding:7px 12px}.image-stage{margin:0 10px}.image-controls{gap:8px}.image-hint{font-size:9px}.due-card{margin-bottom:17px}.edit-event-context .editor-two-col{grid-template-columns:1fr 1.7fr}.small-dialog .dialog-body{max-height:calc(90dvh - 110px)}}
