:root{--ink:#25352f;--muted:#7a827b;--green:#376b62;--paper:#f7f8f4;--line:#e1e5dc;--day:#376b62;--soft:#eff4ee;--sidebar:258px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:3px}a{color:var(--green)}button{border:0;background:none}button,select,input{min-height:40px}.hidden{display:none!important}.app{min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:36px 28px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#f0f2eb;z-index:20}.wordmark{font-family:Georgia,serif;font-size:27px;letter-spacing:3px}.wordmark span{display:block;font:8px/2 sans-serif;letter-spacing:1.5px;margin-top:8px}.side-title{font:36px/.99 Georgia,serif;letter-spacing:-1.3px;margin-top:66px}.side-title span{font:12px/1.9 sans-serif;display:block;letter-spacing:1px;margin-top:22px}.side-date{font:10px/1.8 monospace;letter-spacing:.6px;margin-top:42px}.side-date span{display:block;font-size:8px;color:var(--muted)}.side-nav{margin:35px -13px}.side-nav button{width:100%;display:flex;align-items:center;gap:14px;text-align:left;border-radius:6px;padding:13px 15px;margin:5px 0;font-size:13px}.side-nav button.active{background:#fff;box-shadow:0 1px 5px #27382b06}.side-nav span{font-size:22px}.side-nav small{margin-left:auto;color:var(--muted);font:10px monospace}.side-bottom{margin-top:auto;font:9px/2.5 monospace}.side-dot{display:inline-block;width:5px;height:5px;background:var(--green);border-radius:100%;margin-right:7px}.side-bottom .text-button{font-size:11px;margin-top:15px}.main-shell{margin-left:var(--sidebar)}.topbar{height:75px;border-bottom:1px solid var(--line);padding:0 44px;display:flex;align-items:center;justify-content:space-between;background:#fafbf8}.desktop-heading{font-size:12px}.desktop-heading span{color:var(--muted);font:9px monospace;letter-spacing:1px;margin-left:22px}.mobile-brand{display:none}.top-actions{display:flex;gap:18px;align-items:center}.status{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}.status i{height:5px;width:5px;border-radius:50%;background:#6c997b}.status.offline i{background:#be9654}.icon-button{font-size:24px;min-width:36px;line-height:1;background:transparent}#main{padding:35px 44px 22px;max-width:1450px;margin:auto}.trip-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font:9px/1.4 monospace;letter-spacing:1.8px;color:var(--muted)}h1,h2,h3,p{margin:0}h1{font:40px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-1.2px;margin-top:9px}.trip-header p{margin-top:10px;font-size:11px;letter-spacing:.2px;color:var(--muted)}.add-button{background:var(--green);color:white;padding:10px 17px;border-radius:5px;font-size:12px}.add-button span{font-size:20px;vertical-align:middle;padding-right:5px}.day-navigation{display:flex;align-items:center;gap:10px;padding-bottom:24px;border-bottom:1px solid var(--line)}.day-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;flex:1}.day-tab{border:1px solid transparent;border-radius:7px;min-height:77px;text-align:left;padding:10px 14px;position:relative;background:#f0f2ec;color:var(--muted)}.day-tab.active{background:white;border-color:var(--day);color:var(--ink);box-shadow:0 3px 8px #233e2b05}.day-tab small{display:block;font:9px monospace;letter-spacing:1px}.day-tab strong{display:inline-block;font:25px Georgia,serif;margin-top:6px}.day-tab span{font:9px monospace;margin-left:9px}.day-tab i{width:5px;height:5px;border-radius:50%;background:var(--day);position:absolute;right:12px;top:14px}.day-heading{display:flex;justify-content:space-between;align-items:center;margin:27px 0 23px}.day-heading h2,.map-heading h2{font:25px/1.3 Georgia,"Times New Roman",serif;letter-spacing:-.4px;margin:7px 0}.day-heading p{font-size:11px;color:var(--muted)}.day-meta{text-align:right;font-size:10px;line-height:1.8;color:var(--muted)}.zone{display:block;font-size:9px}.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:10px}.view-toggle{background:#eceedf66;padding:3px;border-radius:6px;display:flex}.view-toggle button{min-height:30px;padding:4px 14px;font-size:10px;color:var(--muted);border-radius:4px}.view-toggle .active{background:#fff;color:var(--ink);box-shadow:0 1px 4px #00000008}.toolbar-right{display:flex;align-items:center;gap:15px}.memo-toggle{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--muted);white-space:nowrap}.memo-toggle input{min-height:0;accent-color:var(--green)}.edit-button{font-size:10px;border-bottom:1px solid var(--line);padding:4px}.edit-button.active{color:var(--green);background:#e3ede6;border-radius:4px;border:0;padding:4px 10px}.edit-tip{background:#e7eee8;padding:9px 14px;font-size:11px;border-radius:5px;line-height:1.8;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;gap:8px}.edit-tip button{background:white;white-space:nowrap;border-radius:4px;padding:0 10px;font-size:11px}.flexible{padding:15px 16px 13px 58px;background:white;border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0;display:flex;gap:7px;align-items:flex-start;flex-wrap:wrap;position:relative}.flexible:before{content:'未定';position:absolute;left:15px;top:22px;font-size:10px;color:var(--muted)}.flex-event{border:1px solid var(--line);border-left:3px solid var(--day);background:#f9faf6;border-radius:4px;min-height:34px;text-align:left;padding:6px 9px;font-size:11px;display:flex;gap:7px;align-items:center}.flex-event em{font-size:9px;color:var(--muted);font-style:normal}.flex-event.personal{border-style:dashed;border-left:3px solid #9186a5;background:#f6f3f8}.calendar-scroll{height:calc(100dvh - 480px);min-height:370px;max-height:800px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:0 0 8px 8px;background:white;scrollbar-width:thin;scrollbar-color:#d7ded4 transparent}.calendar{position:relative;touch-action:pan-y}.hour-line{position:absolute;left:56px;right:0;border-top:1px solid #e9ece5}.hour-line.half{border-top:1px dotted #eef0ea}.hour-label{position:absolute;left:12px;transform:translateY(-50%);font:10px monospace;color:#8c958b}.event-card{position:absolute;text-align:left;border-left:3px solid var(--day);border-radius:5px;background:color-mix(in srgb,var(--day) 9%,white);padding:9px 12px;overflow:hidden;min-height:32px;user-select:none;-webkit-user-select:none;transition:box-shadow .15s;display:flex;flex-direction:column;gap:4px}.event-card:hover{box-shadow:0 2px 10px #29433212}.event-card strong{font-weight:500;font-size:12px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.event-card .event-time{font:9px monospace;color:color-mix(in srgb,var(--day) 80%,#222);letter-spacing:.2px}.event-card .event-place{font-size:10px;color:#7c867d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-card.travel{background:#f5f6f2;border-left:2px solid #bec7bc}.event-card.personal{background:#f4f0f8;border:1px dashed #b7adc5;border-left:3px solid #9186a5}.event-card.short{padding:5px 10px;gap:0;flex-direction:row;align-items:center;justify-content:space-between}.event-card.short .event-time{order:2;margin-left:5px;white-space:nowrap}.event-card.dragging{box-shadow:0 8px 24px #18372330;opacity:.9;z-index:50;outline:2px solid var(--day)}.check-tag{display:inline-block;color:#a17b40;background:#faf0de;border-radius:3px;padding:1px 4px;font-size:8px;vertical-align:middle;margin-left:5px;font-weight:400}.edit-on .event-card{cursor:grab;touch-action:none}.bottom-note{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:9px;padding:8px 1px}.text-button{display:block;padding:0;min-height:30px;color:var(--muted);font-size:11px;text-align:left;text-decoration:none}.bottom-note .text-button{font-size:10px}.event-list{background:white;border:1px solid var(--line);border-radius:6px;padding:6px 18px}.list-event{display:flex;align-items:flex-start;width:100%;gap:18px;text-align:left;padding:18px 0;border-bottom:1px solid var(--line)}.list-event:last-child{border:0}.list-time{font:11px/1.6 monospace;color:var(--muted);width:55px;flex-shrink:0}.list-title{font-size:13px;line-height:1.5}.list-place{display:block;font-size:11px;color:var(--muted);margin-top:5px}.list-event:after{content:'›';margin-left:auto;color:var(--muted);font-size:20px}.list-event.personal .list-title:before{content:'◌ ';color:#9186a5}.bottom-tabs{display:none}.map-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 20px}.map-heading h2{font-family:inherit;font-size:20px;margin-top:8px}.secondary{border:1px solid var(--line);background:white;padding:8px 13px;border-radius:5px;font-size:11px;display:inline-block;text-decoration:none}.secondary.active{border-color:var(--green);color:var(--green);background:#eaf1e9}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white;min-height:480px}.map-frame{position:relative;height:min(60dvh,600px);min-height:480px;background:#e8eeeb}#map{width:100%;height:100%;z-index:1;background:#e8eeeb}.map-badge,.map-fit,.map-layer{position:absolute;z-index:600;background:white;border:1px solid var(--line);border-radius:4px;box-shadow:0 2px 8px #00000008;padding:8px 10px;min-height:30px;font-size:10px}.map-badge{top:14px;left:14px;pointer-events:none}.map-fit{top:14px;right:14px}.map-layer{bottom:25px;left:14px}.map-places{overflow:auto;height:min(60dvh,600px);min-height:480px;border-left:1px solid var(--line)}.places-top{position:sticky;top:0;background:white;padding:18px 16px;display:flex;justify-content:space-between;z-index:1;border-bottom:1px solid var(--line);font-size:11px}.places-top .muted{font-size:8px}.place-row{width:100%;display:flex;align-items:flex-start;gap:11px;padding:16px;text-align:left;border-bottom:1px solid #eef0ea}.place-num{border-radius:50%;width:25px;height:25px;background:var(--day);color:white;display:grid;place-items:center;flex-shrink:0;font:10px monospace}.place-row strong{font-size:11px;font-weight:500;line-height:1.6}.place-row small{display:block;color:var(--muted);font-size:9px;line-height:1.6;margin-top:3px}.map-caption{color:var(--muted);font-size:10px;line-height:1.8;margin-top:11px}.pin-wrap{background:none;border:0}.pin{width:29px;height:29px;border-radius:50% 50% 50% 5px;transform:rotate(-45deg);background:var(--day);border:2px solid #fff;box-shadow:0 2px 5px #18342a35;display:grid;place-items:center;color:white}.pin span{transform:rotate(45deg);font:10px monospace}.leaflet-container{font-family:inherit}.leaflet-tooltip{font-size:11px;border:1px solid var(--line);box-shadow:0 2px 6px #00000010;border-radius:3px}.leaflet-control-attribution{font-size:8px!important}.leaflet-bar{border:1px solid var(--line)!important;box-shadow:0 1px 5px #00000010!important}.muted{color:var(--muted)}.sheet{border:1px solid var(--line);border-radius:13px;background:#fafbf8;color:var(--ink);width:min(510px,calc(100% - 28px));padding:26px;max-height:88dvh;box-shadow:0 20px 100px #1d352830;overflow:auto}.sheet::backdrop{background:#23342b55;backdrop-filter:blur(2px)}.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.sheet-head h2{font-size:21px;line-height:1.5;margin-top:7px;font-weight:500}.sheet-head .close{margin:-9px -10px 0 10px;font-size:30px}.detail-meta{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.pill{font-size:11px;border:1px solid var(--line);border-radius:4px;padding:6px 9px;background:#fff}.detail-notes{font-size:13px;line-height:2;white-space:pre-wrap;margin:20px 0 25px}.detail-place{border-top:1px solid var(--line);padding:15px 0}.detail-place h3{font-size:13px;font-weight:500}.detail-place p{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.7}.detail-links{display:flex;gap:12px;margin-top:10px}.detail-links a{font-size:11px}.detail-actions{display:flex;gap:10px;margin-top:20px}.primary{background:var(--green);color:white;border:1px solid var(--green);border-radius:5px;padding:11px 17px;min-height:42px;font-size:12px;display:inline-block;text-decoration:none;text-align:center}.editor-hint{font-size:11px;color:var(--muted);margin-bottom:20px;line-height:1.8}form>label,.form-row label{display:flex;flex-direction:column;gap:7px;font-size:11px;margin-bottom:17px}input:not([type=checkbox]),select,textarea{width:100%;border:1px solid #dbe0d5;border-radius:5px;background:white;color:var(--ink);padding:10px 12px;font-size:14px}textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-hint{font-size:10px;line-height:1.8;color:var(--muted);margin:-8px 0 16px}.check-label{flex-direction:row;align-items:center}form>.check-label{flex-direction:row}.check-label input{min-height:20px;accent-color:var(--green)}.form-error{color:#a25740;font-size:12px;line-height:1.7;margin-bottom:12px}.form-actions{display:flex;gap:10px;margin-top:10px;justify-content:flex-end}.form-actions .primary{flex:1}.delete-button{color:#a15e4c;font-size:12px;padding:10px 20px}.help-content section{padding:18px 0;border-top:1px solid var(--line)}.help-content h3{font-size:13px;font-weight:500;margin-bottom:9px}.help-content p{font-size:12px;line-height:1.9;color:#778075}.help-content button,.help-content a{margin-top:11px}.help-content .field-hint{font-size:10px;margin:7px 0}.toast{position:fixed;bottom:30px;left:calc(50% + 129px);transform:translateX(-50%) translateY(20px);background:#293e33;color:white;padding:12px 20px;border-radius:7px;z-index:2000;font-size:12px;line-height:1.7;opacity:0;pointer-events:none;transition:.2s;width:max-content;max-width:90vw;box-shadow:0 4px 24px #0002}.toast.show{opacity:1;transform:translateX(-50%)}.loading{text-align:center;margin:100px auto;max-width:480px}.loading h1{font-family:inherit;font-size:24px;letter-spacing:0;margin:25px 0 15px}.loading p{font-size:12px;line-height:2}.loading .primary,.loading button{margin-top:20px}.compass{font-size:50px;color:var(--green)}
@media(min-width:1500px){:root{--sidebar:290px}.sidebar{padding-left:40px;padding-right:35px}#main{padding:40px 60px}.topbar{padding-left:60px;padding-right:60px}.toast{left:calc(50% + 145px)}}
@media(max-width:1100px){:root{--sidebar:210px}.sidebar{padding:28px 22px}.side-title{font-size:30px}.topbar{padding:0 26px}#main{padding:28px 26px 20px}.day-tab{padding:10px}.day-meta{max-width:180px}.map-layout{grid-template-columns:minmax(0,1fr) 230px}.toast{left:calc(50% + 105px)}}
@media(max-width:760px){.sidebar{display:none}.main-shell{margin:0}.topbar{height:58px;padding:0 20px;position:sticky;top:0;z-index:700;background:#f7f8f4f5;backdrop-filter:blur(10px)}.mobile-brand{display:block;font:17px Georgia,serif;letter-spacing:1.3px}.mobile-brand span{font:8px monospace;letter-spacing:1px;margin-left:10px}.desktop-heading{display:none}.top-actions{gap:8px}.status{font-size:8px}.icon-button{min-width:30px;font-size:21px}#main{padding:26px 20px 90px}.trip-header{margin-bottom:23px;align-items:flex-end}.trip-header .eyebrow{font-size:8px}.trip-header h1{font-size:32px;margin-top:7px}.trip-header p{font-size:9px;margin-top:8px;line-height:1.7}.add-button{font-size:0;min-width:42px;height:42px;border-radius:50%;padding:0;margin-bottom:3px}.add-button span{font-size:25px;padding:0}.day-navigation{padding-bottom:18px;gap:0;margin-left:-4px;margin-right:-4px}.day-tabs{gap:5px}.day-arrow{min-width:21px;width:21px;padding:0;font-size:24px}.day-tab{min-height:68px;padding:8px 7px;text-align:center}.day-tab small{font-size:8px;letter-spacing:.4px}.day-tab strong{font-size:22px;display:block;margin-top:5px}.day-tab span{font-size:7px;margin:2px 0 0;display:block}.day-tab i{right:6px;top:9px;width:4px;height:4px}.day-heading{margin:22px 0 18px;display:block}.day-heading h2{font-size:24px;margin:8px 0}.day-heading p{font-size:10px}.day-meta{text-align:left;display:flex;gap:10px;max-width:none;flex-wrap:wrap;font-size:9px;margin-top:13px}.zone{font-size:8px;line-height:2}.schedule-toolbar{align-items:center;gap:5px;margin-bottom:12px}.view-toggle button{font-size:9px;padding:5px 8px}.toolbar-right{gap:7px}.memo-toggle{font-size:8px;gap:0}.edit-button{font-size:9px;white-space:nowrap}.flexible{padding:11px 9px 11px 44px;gap:5px}.flexible:before{left:10px;top:20px;font-size:9px}.flex-event{font-size:10px;padding:6px;max-width:100%;line-height:1.6}.flex-event em{font-size:8px}.calendar-scroll{height:56dvh;min-height:330px;max-height:none}.hour-line{left:43px}.hour-label{font-size:9px;left:8px}.event-card{padding:8px}.event-card strong{font-size:11px}.event-card .event-time{font-size:8px}.event-card .event-place{font-size:9px}.event-card.short{padding:4px 7px}.event-card.short strong{font-size:10px}.event-card.short .event-time{font-size:8px}.bottom-note{font-size:8px}.bottom-tabs{position:fixed;z-index:800;bottom:0;left:0;right:0;display:flex;padding:5px 20px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fafbf8f5;backdrop-filter:blur(15px);justify-content:center;gap:10px}.bottom-tabs button{width:50%;display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;color:#8a9386;min-height:46px;border-radius:6px}.bottom-tabs button span{font-size:23px;font-weight:normal}.bottom-tabs button.active{color:var(--green);background:#edf1e9}.toast{left:50%;bottom:85px;font-size:11px}.map-heading{margin:22px 0 16px}.map-heading h2{font-size:18px}.map-heading .eyebrow{font-size:8px}.map-layout{display:block;min-height:0}.map-frame{height:49dvh;min-height:330px}.map-places{height:auto;max-height:330px;min-height:0;border-left:0;border-top:1px solid var(--line)}.places-top{padding:14px}.place-row{padding:13px 16px}.place-row strong{font-size:12px}.place-row small{font-size:10px}.map-caption{font-size:9px;line-height:1.8}.map-badge,.map-fit,.map-layer{font-size:9px}.sheet{width:100%;max-width:100%;margin:auto 0 0;max-height:91dvh;border-radius:18px 18px 0 0;padding:23px 22px calc(25px + env(safe-area-inset-bottom));border-bottom:0}.sheet-head h2{font-size:20px}input:not([type=checkbox]),select,textarea{font-size:16px}.edit-tip{font-size:10px;align-items:flex-start}.edit-tip button{font-size:10px}.event-list{padding:0 13px}.list-event{gap:12px}.list-title{font-size:12px}.loading{margin-top:70px}.check-tag{font-size:7px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.day-tabs{min-width:0;grid-template-columns:repeat(5,minmax(0,1fr))}.day-tab{min-width:0}.day-arrow{flex-shrink:0}@media(max-width:760px){.day-tab{padding:8px 3px}.day-tab strong{font-size:20px}.day-tab i{right:4px;top:8px}.day-heading .eyebrow{font-size:8px;letter-spacing:1px}.mobile-brand span{font-size:7px;margin-left:7px}.trip-header{gap:12px}}

.flight-card{border:1px solid var(--line);background:white;border-radius:6px;margin:0 0 12px;font-size:11px}.flight-card summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:12px;list-style:none}.flight-card summary::-webkit-details-marker{display:none}.flight-symbol{font-size:22px;color:var(--green)}.flight-card strong{display:block;font-size:11px;font-weight:500;line-height:1.6}.flight-card small{display:block;font-size:10px;color:var(--muted);line-height:1.8}.flight-check{margin-left:auto;white-space:nowrap;color:#9c763c;font-size:9px}.flight-body{padding:0 14px 14px;border-top:1px solid var(--line)}.flight-body p{font-size:11px;line-height:1.8;margin-top:9px}.flight-warning{font-size:10px;color:#9c763c;line-height:1.8;margin:-4px 0 14px}#flight-all{margin-top:12px}@media(max-width:760px){.flight-card summary{gap:7px;padding:10px}.flight-card strong{font-size:10px}.flight-card small{font-size:9px}.flight-check{font-size:8px}}

.side-title{font-family:inherit;font-size:22px;font-weight:400;line-height:1.7;letter-spacing:0}.side-title span{font-family:monospace;font-size:9px;letter-spacing:1.3px;margin-top:16px}.tour-title{font-family:inherit;font-size:29px;font-weight:400;line-height:1.5;letter-spacing:.5px}@media(max-width:1100px){.side-title{font-size:18px}}@media(max-width:760px){.trip-header .tour-title{font-size:23px;line-height:1.5;letter-spacing:0}.trip-header p{font-size:9px}}

.note-location{border:1px solid var(--line);border-radius:6px;padding:14px;margin:4px 0 22px}.location-toggle{display:flex;align-items:center;gap:8px;font-size:12px}.location-toggle input{accent-color:var(--green);min-height:20px}.location-hint{font-size:11px;line-height:1.8;color:var(--muted);margin:8px 0}.location-record{border-top:1px solid var(--line);margin:14px 0}.location-point{padding:12px 0;border-bottom:1px solid var(--line);display:grid;gap:5px;overflow-wrap:anywhere}.location-point strong{font-size:10px;color:var(--muted);font-weight:400}.location-point span{font-size:12px}.location-point small{font-size:10px;color:var(--muted)}.location-point a{font-size:10px;width:fit-content;margin-top:3px}.location-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.location-actions button{font-size:10px;min-height:36px}.location-actions button:disabled{opacity:.45;cursor:default}

.closing-prompt{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:7px;padding:20px;margin:0 0 24px;background:#f0f3ec}.closing-prompt h2{font-size:17px;font-weight:400;margin:8px 0}.closing-prompt p{font-size:11px;color:var(--muted);line-height:1.8}.closing-prompt button{white-space:nowrap;font-size:11px}#booklet-view{max-width:850px;margin:auto;padding:20px 28px 70px}.book-toolbar{display:flex;justify-content:space-between;gap:12px;position:sticky;top:0;background:var(--paper,#f7f8f4);z-index:5;padding:12px 0}.book-screen-note{font-size:11px;line-height:1.8;color:var(--muted);margin:14px 0 30px}#booklet-pages{background:white;color:#293b32}.book-cover,.book-day,.book-ending{padding:58px 60px;border-bottom:1px solid #dde3d9}.book-cover{min-height:770px;display:flex;flex-direction:column}.book-brand{font:11px monospace;letter-spacing:2px;display:flex;justify-content:space-between;border-top:1px solid #526556;padding-top:14px}.book-kicker{font:10px monospace;letter-spacing:1.5px;margin:0 0 18px}.book-cover .book-kicker{margin-top:110px}.book-cover h1{font:30px/1.8 sans-serif;letter-spacing:1px}.book-dates{font:12px monospace;margin-top:28px}.book-cover-bottom{margin-top:auto;padding-top:60px}.book-cover-bottom p{font-size:16px;margin-bottom:12px}.book-cover-bottom small{font-size:10px;color:#6e7e72}.book-day h2,.book-ending h2{font:25px/1.6 sans-serif;letter-spacing:0}.book-intro{font-size:12px;line-height:1.9;margin:18px 0 28px}.book-map{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.book-map svg{width:100%;height:auto;border:1px solid #e1e5db}.book-map ol{font-size:9px;line-height:1.9;padding-left:18px}.book-caption{font-size:8px;line-height:1.8;color:#748073;margin-top:10px}.book-day h3{font-size:15px;font-weight:400;margin:38px 0 17px;border-bottom:1px solid #cfd7cb;padding-bottom:12px}.book-stop{display:grid;grid-template-columns:66px 1fr;gap:14px;margin:0 0 20px;break-inside:avoid}.book-stop>span{font:10px/1.8 monospace;color:#6d7f6c}.book-stop strong{font-size:12px;font-weight:500}.book-stop small{font-size:9px;display:block;color:#927e57;margin-top:5px}.book-stop p{font-size:10px;line-height:1.9;white-space:pre-wrap;margin-top:7px}.book-note{margin:20px 0 30px;padding-left:18px;border-left:2px solid #b8c6b5}.book-note h4{font-size:13px;font-weight:500;margin:0 0 12px}.book-note>p,.book-final{font-size:12px;line-height:2.2;white-space:pre-wrap;overflow-wrap:anywhere}.book-empty{font-size:11px;color:#84907f}.book-ending{min-height:600px}.book-final{margin-top:40px}.book-colophon{font:10px/2 monospace;margin-top:100px;padding-top:15px;border-top:1px solid #cfd7cb;color:#7b8b77}.book-note .location-point{break-inside:avoid}.book-note .location-point span{font-size:10px}@media(max-width:760px){.closing-prompt{padding:15px;gap:10px}.closing-prompt h2{font-size:15px}#booklet-view{padding:12px 12px 40px}.book-cover,.book-day,.book-ending{padding:32px 22px}.book-cover{min-height:650px}.book-cover h1{font-size:25px}.book-brand{font-size:8px}.book-map{grid-template-columns:1fr}.book-map svg{max-height:360px}.book-map ol{columns:2}.book-toolbar button{font-size:11px}.book-day h2,.book-ending h2{font-size:22px}}@page{size:A4;margin:18mm}@media print{body{background:white!important}body>.app,body>dialog,.toast,.book-toolbar,.book-screen-note{display:none!important}#booklet-view{display:block!important;max-width:none;padding:0}#booklet-view.hidden{display:none!important}.book-cover,.book-day,.book-ending{padding:15mm 8mm;border:0;break-before:page}.book-cover{break-before:auto;min-height:250mm}.book-map{grid-template-columns:1fr 1fr;break-inside:avoid}.book-map ol{columns:1}.book-map svg{max-height:90mm}.book-day h3{break-after:avoid}.book-kicker,h2,h4{break-after:avoid}.book-note>p{orphans:3;widows:3}.book-ending{min-height:230mm}.book-colophon{margin-top:40mm}a{color:inherit;text-decoration:none}.booklet-pages{width:100%}*{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Original artwork: loading screen and compact corner identity. */
.wordmark .corner-title{display:block;width:170px;max-width:100%;height:auto;margin-bottom:12px}.mobile-brand .corner-title{display:block;width:128px;height:auto}.trip-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.trip-header .trip-date{font-size:12px;line-height:1.8;margin:6px 0 0}.trip-header .add-button{margin:0}.loading-artwork{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 auto 20px;max-width:420px}.loading-title{display:block;width:280px;max-width:72%;height:auto}.loading-stamp{display:block;width:90px;max-width:23%;height:auto}.book-title-art img{display:block;width:100%;height:auto}.book-stamp-art{width:130px;height:auto;align-self:flex-end;margin-top:20px}.book-cover .book-title-art{margin:0}.book-cover .book-dates{margin-top:12px}@media(max-width:760px){.trip-header{margin-bottom:18px}.trip-header .trip-date{font-size:10px}.trip-header .add-button{min-width:36px;width:36px;height:36px}.loading-artwork{gap:12px}.loading-stamp{width:70px}.book-stamp-art{width:100px}}@media print{.book-title-art img{width:100%;height:auto}.book-stamp-art{width:32mm;height:auto}}

/* Give the original title artwork room without distorting its proportions. */
.wordmark{padding:8px 4px 14px}.wordmark .corner-title{width:176px;aspect-ratio:2881/1089;object-fit:contain}.mobile-brand{flex-shrink:0;line-height:0}.mobile-brand .corner-title{width:156px;max-width:100%;height:auto;aspect-ratio:2881/1089;object-fit:contain}@media(max-width:760px){.topbar{height:auto;min-height:88px;padding:14px 24px;gap:16px}.top-actions{flex-shrink:0}}

#member-form label{display:block;font-size:12px;margin:14px 0 8px}#member-form input{display:block;width:100%;min-height:48px;border:1px solid var(--line);border-radius:5px;padding:12px;background:#fff;color:var(--ink);font-size:16px}.member-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.member-row strong{font-size:12px;font-weight:500}.member-row small{display:block;font-size:10px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}.member-row>div{min-width:0}.member-row button{flex-shrink:0}#member-controls{margin-top:16px}#member-form{margin-top:24px}#member-form button{margin-top:14px}

/* Personal writing stays within thumb reach, above the mobile navigation. */
.note-fab{position:fixed;right:max(28px,env(safe-area-inset-right));bottom:28px;z-index:850;width:58px;height:58px;min-width:58px;min-height:58px;padding:0;border-radius:50%;display:grid;place-items:center;background:var(--green);color:white;box-shadow:0 5px 18px #25352f29;aspect-ratio:1;flex:none}.note-fab:hover{background:#2e5e56}.event-card.personal{touch-action:none;cursor:grab;-webkit-touch-callout:none}.event-card.personal.dragging{cursor:grabbing;outline-color:#9186a5}.event-card.short.personal{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px}.event-card.short.personal .event-time{order:0;margin-left:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.event-card.short.personal strong{width:100%}.toast{max-width:min(82vw,540px)}
@media(max-width:760px){.note-fab{width:56px;height:56px;min-width:56px;min-height:56px;right:max(20px,env(safe-area-inset-right));bottom:calc(76px + env(safe-area-inset-bottom))}.toast{bottom:calc(144px + env(safe-area-inset-bottom))}}
