/* Open layout comparison: only the editable paper is framed. */
:root{--bg:#f6f5f0;--paper:#fffef9;--accent:#466967;--line:#d7dbd2;--ink:#34413e}.site-header{max-width:none;padding:22px max(28px,calc((100vw - 1180px)/2));background:#eeeee7;min-height:88px;border-bottom:0;gap:30px}.site-header nav button{font-size:14px}.brand{font-size:26px}.brand svg{display:none}.brand span{font-style:normal}main{max-width:1260px;padding:25px 40px 70px}.home-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.home-meta #today{font-size:12px}.home-workbench{display:grid;grid-template-columns:.8fr 1.35fr;gap:70px;align-items:center}.home-intro{padding-bottom:35px}.home-intro h1{font-size:clamp(32px,3.6vw,49px);line-height:1.55;font-weight:500;letter-spacing:.06em}.intro-description{font-size:14px;line-height:2.1;margin-top:22px;color:#727c73}.mode-links{margin-top:32px}.mode-links button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:18px 0;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;transition:color .2s}.mode-links button:hover{color:var(--accent)}.mode-links button strong{display:block;font-size:16px;font-weight:500}.mode-links button small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.mode-links button>span:last-child{font-size:23px;transition:transform .2s}.mode-links button:hover>span:last-child{transform:translateX(5px)}.try-heading{display:flex;justify-content:space-between;align-items:center;font-size:15px;margin-bottom:13px}.try-heading .text-button{font-size:12px}.try-workbench{min-width:0}#demo-paper{height:280px;position:relative;background:var(--paper);border:1px solid #dadcd1;box-shadow:3px 5px 0 #ebece3}#demo-canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}#demo-guide{position:absolute;inset:0;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:center}#demo-guide svg{width:85%;height:170px;fill:none;stroke:#9aaea2;stroke-width:2.5;stroke-linecap:round}#demo-guide path{stroke-dasharray:1;stroke-dashoffset:1;animation:trace 1.6s .2s ease-out forwards}#demo-guide p{font-size:12px;color:#8b958b;margin-top:-10px}#demo-result{position:absolute;inset:0;background:var(--paper);display:flex;align-items:center;justify-content:center;flex-direction:column}#demo-result p{font-size:13px;color:var(--muted)}#demo-result strong{font-family:var(--serif);font-size:43px;font-weight:400;color:var(--accent);line-height:1.4}#demo-result svg{width:80%;height:70px;margin-top:10px}#demo-route-progress{transition:stroke-dashoffset .8s ease-out}.try-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:20px}.try-footer>span{font-size:13px;color:var(--muted)}.try-footer b{font-size:17px;font-weight:400;color:var(--ink)}.try-footer button{font-size:13px;padding:8px 15px;border-radius:2px}.demo-steps{display:flex;gap:20px;margin-top:24px;font-size:12px;color:#9aa298}.demo-steps span{padding-bottom:5px;border-bottom:1px solid transparent}.demo-steps .active{color:var(--accent);border-color:var(--accent)}#demo-note{font-size:11px;margin-top:10px}.journey-strip{margin-top:48px}.rail i{transition:width .6s ease-out}.map-panel{background:transparent;border:0}.map-heading{padding:15px 0}.map-controls{padding-left:0}.map-credit{padding-left:0}.map-controls button{border-radius:0;border-width:0 0 1px;background:none}.arrival{background:none;padding:25px 0;border-top:1px solid var(--line)}.notebook-grid{grid-template-columns:repeat(3,1fr)}.note-preview{border:0;border-left:2px solid #c5d1c6;background:#efefe6;height:115px}.note-card{transition:transform .2s}.note-card:hover{transform:translateY(-3px);background:transparent}.section-heading{margin-top:32px}.primary{border-radius:2px}dialog{border-radius:3px;box-shadow:0 12px 60px #24382d15}.page-heading .small{display:none}.record-totals strong{color:var(--accent)}.site-header button{border-radius:0}
@keyframes trace{to{stroke-dashoffset:0}}
@media(max-width:900px){.home-workbench{gap:35px;grid-template-columns:1fr 1.2fr}.home-intro h1{font-size:34px}.intro-description{font-size:13px}.site-header{padding:20px 28px;gap:15px}.brand{font-size:23px}.site-header nav{gap:3px}.site-header nav button{padding:8px}}
@media(max-width:760px){main{padding:20px 22px 110px}.site-header{padding:18px 22px;min-height:75px}.home-meta{margin-bottom:22px}.home-workbench{display:flex;flex-direction:column;gap:25px;align-items:stretch}.home-intro{padding:0}.home-intro h1{font-size:32px;line-height:1.5}.home-intro h1 br{display:none}.intro-description{font-size:13px;margin-top:12px}.intro-description br{display:none}.mode-links{display:flex;gap:24px;margin-top:13px}.mode-links button{padding:12px 0;gap:8px}.mode-links button strong{font-size:14px}.mode-links button small{font-size:11px}.mode-links button>span:last-child{font-size:18px}#demo-paper{height:220px}#demo-guide svg{height:135px}#demo-result strong{font-size:35px}.try-footer{margin-top:16px}.demo-steps{margin-top:18px}.journey-strip{margin-top:28px}.notebook-grid{grid-template-columns:1fr 1fr}.note-preview{height:105px}.site-header nav button{padding:8px 16px;font-size:13px}#demo-guide path{animation-duration:.85s}.note-card:hover{transform:none}.home-meta #today{font-size:11px}}
@media(prefers-reduced-motion:reduce){#demo-guide path{animation:none;stroke-dashoffset:0}*{animation:none!important;transition:none!important}}

/* Concept clarity: use cases before mode names, one common recording flow. */
.home-intro h1{font-size:clamp(29px,3vw,40px);line-height:1.6;letter-spacing:.025em}.intro-description{max-width:390px;line-height:2}.mode-links button small{line-height:1.7;max-width:290px}.learning-flow{font-size:13px;color:var(--muted);line-height:1.9;margin-top:32px;max-width:780px}.learning-flow+.journey-strip{margin-top:23px}.mode-explanation{margin:22px 0}.mode-explanation dt{font-size:14px;font-weight:600;margin-top:18px}.mode-explanation dd{margin:7px 0 0;font-size:14px;line-height:1.9;color:var(--muted)}.help-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:20px}.try-heading>span{font-size:14px}.editor-tabs #mode-caption{font-size:12px}
@media(max-width:760px){.home-intro h1{font-size:29px}.home-intro h1 br{display:block}.intro-description{font-size:13px;margin-top:12px;max-width:none}.mode-links{gap:18px}.mode-links button{align-items:flex-start}.mode-links button small{font-size:11px}.learning-flow{font-size:12px;margin-top:24px}.try-heading>span{font-size:13px}.try-heading{gap:10px}.try-heading button{white-space:nowrap}.editor-tabs #mode-caption{display:block;flex-basis:100%;order:-1;font-size:11px}}

/* Larger writing area and legible controls in both Doodling and note modes. */
body{font-size:17px}main{max-width:1380px}.small{font-size:14px}.site-header nav button{font-size:16px}.site-header>#settings-open{font-size:15px}.home-intro h1{font-size:clamp(34px,3.4vw,46px);line-height:1.5}.intro-description{font-size:16px;max-width:420px;line-height:1.9}.mode-links button strong{font-size:19px}.mode-links button small{font-size:14px;max-width:330px}.learning-flow{font-size:14px}.try-heading>span{font-size:16px}.try-heading .text-button{font-size:14px}#demo-paper{height:340px}#demo-guide p{font-size:14px}.try-footer b{font-size:21px}.try-footer>span{font-size:15px}.try-footer button{font-size:15px;min-height:44px}.demo-steps{font-size:14px}#demo-note{font-size:13px}.journey-strip h2{font-size:22px}.journey-strip p{font-size:16px}.section-heading h2{font-size:21px}.text-button{font-size:15px}.note-card strong{font-size:18px}.note-card small{font-size:14px}.note-preview{height:150px}.note-preview p{font-size:12px}.editor-heading{gap:16px;padding:14px 0}.editor-heading #note-title{font-size:23px}.editor-heading #save-status{font-size:14px}.editor-heading button{font-size:16px;min-height:42px}.editor-heading .help-mark{font-size:17px;min-height:32px;width:32px}.editor-tabs{padding:14px 0}.editor-tabs #mode-caption{font-size:14px}.segmented button{font-size:17px;min-height:44px}.hover-control{font-size:14px}.editor-tabs #pause{font-size:15px;min-height:42px}#paper-wrap{height:clamp(440px,65dvh,850px);background-image:linear-gradient(transparent 37px,#e7e8de 38px);background-size:100% 38px}#text-editor{font-size:22px;line-height:38px;padding:28px 36px}#canvas-hint{font-size:17px}.toolbar button{font-size:15px;min-height:42px}.toolbar label,.toolbar select{font-size:14px}.toolbar input[type=color]{width:34px;height:34px}.pages span{font-size:15px;min-width:65px}.editor-bottom strong{font-size:31px}.editor-bottom .small{font-size:14px}.editor-bottom .primary{font-size:17px;min-height:48px}.map-heading h2{font-size:24px}.map-controls button{font-size:15px;min-height:42px}.record-row strong{font-size:18px}.record-row p{font-size:15px}.storage-note{font-size:13px}dialog label,dialog ol{font-size:16px}dialog .small{font-size:14px}.mode-explanation dt,.mode-explanation dd{font-size:16px}.fullscreen-fallback #paper-wrap,#editor-shell:fullscreen #paper-wrap{height:calc(100dvh - 270px);min-height:180px}
@media(max-width:1000px){.home-workbench{gap:30px;grid-template-columns:1fr 1.2fr}.editor-tabs #mode-caption{flex-basis:100%;order:-1}.editor-heading{gap:10px}.toolbar{gap:10px}.mode-links button small{font-size:13px}.intro-description{font-size:15px}.home-intro h1{font-size:36px}}
@media(max-width:760px){main{padding:22px 18px 115px}.site-header nav button{font-size:14px;padding:10px 16px}.home-intro h1{font-size:34px}.home-intro h1 br{display:block}.intro-description{font-size:15px;max-width:none}.mode-links{gap:18px}.mode-links button strong{font-size:16px}.mode-links button small{font-size:13px}.home-workbench{display:flex;gap:26px}.try-heading>span{font-size:15px}#demo-paper{height:290px}#demo-guide p{font-size:13px}.try-footer b{font-size:20px}.try-footer button{font-size:14px}.demo-steps{font-size:13px;gap:18px}#demo-note{font-size:12px}.journey-strip h2{font-size:20px}.journey-strip p{font-size:15px}.notebook-grid{gap:18px}.note-preview{height:130px}.note-card strong{font-size:16px}.note-card small{font-size:13px}.editor-heading{gap:6px}.editor-heading #note-title{font-size:20px;flex-basis:50%}.editor-heading #save-status{font-size:13px}.editor-heading button{font-size:14px;padding:5px 7px;min-height:42px}.editor-heading .help-mark{font-size:16px;width:30px;min-height:30px}.editor-tabs{gap:8px;padding:10px 0}.editor-tabs #mode-caption{font-size:13px}.segmented button{font-size:16px;padding:7px 12px}.hover-control{font-size:13px}.editor-tabs #pause{font-size:14px}#paper-wrap{height:clamp(380px,60dvh,700px);min-height:380px}#text-editor{font-size:20px;line-height:38px;padding:24px 22px}.tools{gap:3px}.toolbar button{font-size:14px;padding:6px 9px}.toolbar label,.toolbar select{font-size:13px}.toolbar{padding:10px 0}.pages span{font-size:14px}.editor-bottom{align-items:center;padding:16px 0;gap:12px}.editor-bottom strong{font-size:29px}.editor-bottom .small,.editor-bottom>div>span:last-child{font-size:13px}.editor-bottom .primary{font-size:15px;padding:11px 14px;min-height:46px}.map-heading h2{font-size:21px}.map-controls button{font-size:14px}.record-row strong{font-size:17px}.record-row p{font-size:14px}.fullscreen-fallback #paper-wrap,#editor-shell:fullscreen #paper-wrap{height:calc(100dvh - 310px);min-height:180px}}
@media(max-width:380px){.mode-links{flex-direction:column;gap:0}.mode-links button small{max-width:none}.try-footer{flex-wrap:wrap}.try-heading>span{font-size:14px}.editor-heading #note-title{flex-basis:60%}.editor-bottom{flex-wrap:wrap}.editor-bottom .primary{margin-left:auto}}

/* Long notes: scroll the sheet instead of squeezing writing into one viewport. */
#paper-wrap{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}#paper-content{position:relative;min-height:100%;width:100%}#paper-content #canvas{max-width:100%;display:block}#paper-wrap.text-mode{background-image:none}#paper-content #text-editor{position:relative;inset:auto;display:block;width:100%;min-height:100%;overflow:hidden;resize:none;max-height:none;padding:18px 24px;font-size:20px;line-height:1.65;background:repeating-linear-gradient(to bottom,transparent 0,transparent 32px,#e7e8de 33px);background-position:0 18px;background-size:100% 33px}#paper-content #canvas-hint{position:absolute;top:150px;left:0}#note-space-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0 2px}#note-space-hint{font-size:13px;color:var(--muted)}#extend-paper{font-size:14px;white-space:nowrap;min-height:42px}body[data-mode=doodle] #paper-wrap{overflow:hidden}.fullscreen-fallback #paper-wrap,#editor-shell:fullscreen #paper-wrap{height:calc(100dvh - 315px);min-height:180px}
@media(max-width:760px){#paper-content #text-editor{font-size:19px;line-height:1.65;padding:16px;background-size:100% 31.35px;background-image:linear-gradient(transparent 30.35px,#e7e8de 31.35px);background-position:0 16px}#note-space-controls{align-items:flex-start;flex-wrap:wrap;gap:0}#note-space-hint{font-size:12px;line-height:1.7}#extend-paper{font-size:14px;margin-left:auto}.fullscreen-fallback #paper-wrap,#editor-shell:fullscreen #paper-wrap{height:calc(100dvh - 350px);min-height:180px}}
#paper-wrap.pan-mode #canvas{pointer-events:none}#paper-wrap.pan-mode{touch-action:pan-y;cursor:grab}#pan-paper{font-size:14px;min-height:42px;white-space:nowrap}#pan-paper[aria-pressed=true]{color:var(--accent);text-decoration:underline;text-underline-offset:4px}

.language-picker{display:flex;align-items:center;flex-shrink:0}.language-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.language-picker select{font-size:14px;min-height:40px;padding:6px 8px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;max-width:120px}.site-header{gap:24px}html[lang=en] .site-header nav{gap:5px}html[lang=en] .site-header nav button{padding:8px 10px}html[lang=en] .toolbar{gap:10px}html[lang=en] .editor-heading{flex-wrap:wrap}html[lang=en] .mode-links button small{line-height:1.6}html[lang=en] .try-heading{gap:12px}html[lang=en] .try-heading .text-button{white-space:nowrap}html[lang=en] #note-space-controls{flex-wrap:wrap}html[lang=en] .editor-bottom{flex-wrap:wrap}html[lang=en] .editor-bottom .primary{margin-left:auto}html[lang=en] .home-intro h1{font-size:clamp(30px,3vw,42px)}html[lang=en] .editor-tabs{flex-wrap:wrap}
@media(min-width:761px) and (max-width:1100px){.site-header{flex-wrap:wrap;gap:12px 20px}.site-header .brand{margin-right:auto}.site-header nav{order:3;flex-basis:100%;margin:0;justify-content:flex-start}.site-header>#settings-open{margin-left:0}}
@media(max-width:760px){.site-header{display:grid;grid-template-columns:1fr auto;gap:10px 15px;padding:16px 20px}.site-header .brand{grid-column:1/-1}.language-picker{grid-column:1;justify-self:start}.site-header>#settings-open{grid-column:2;justify-self:end;margin:0}.language-picker select{font-size:14px;min-height:38px}html[lang=en] .home-intro h1{font-size:32px}html[lang=en] .site-header nav button{font-size:13px;padding:10px 13px}html[lang=en] .mode-links{flex-direction:column;gap:0}html[lang=en] .editor-heading #note-title{flex-basis:60%}html[lang=en] .hover-control{margin-left:0}html[lang=en] .toolbar .tools{flex-wrap:wrap}html[lang=en] .try-footer{flex-wrap:wrap}html[lang=en] .demo-steps{gap:15px}}

/* Make the three starting points unmistakable without adding enclosing cards. */
.mode-links button{padding:22px 0;border-bottom-color:#a7b8aa}.mode-links button strong{font-size:27px;font-weight:650;line-height:1.5;letter-spacing:.015em;color:#254e42}.mode-links button>span:last-child{color:#42685e;font-size:27px}.mode-links button small{font-size:15px;color:#657466;margin-top:7px}.mode-links button:hover strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}.try-heading{align-items:flex-start;gap:20px}.try-heading>span{font-size:23px;font-weight:650;line-height:1.5;color:#254e42;letter-spacing:.015em}.try-heading .text-button{margin-top:3px;flex-shrink:0}.doodle-examples{margin:22px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.doodle-examples h3{font-size:18px;font-weight:600;color:#254e42}.doodle-examples dl{margin:16px 0 0}.doodle-examples dt{font-size:16px;font-weight:600;color:#36584a;margin-top:16px}.doodle-examples dt:first-child{margin-top:0}.doodle-examples dd{font-size:15px;line-height:1.85;margin:5px 0 0;color:var(--muted)}
@media(max-width:1000px){.mode-links button strong{font-size:24px}.try-heading>span{font-size:21px}}
@media(max-width:760px){.mode-links button{padding:18px 0}.mode-links button strong{font-size:22px}.mode-links button small{font-size:13px;line-height:1.8}.mode-links button>span:last-child{font-size:24px}.try-heading{gap:12px}.try-heading>span{font-size:20px}.doodle-examples h3{font-size:17px}.doodle-examples dt{font-size:15px}.doodle-examples dd{font-size:14px}}
@media(max-width:380px){.mode-links button strong{font-size:21px}.try-heading>span{font-size:19px}}

/* Warm ink: rust-brown entry headings and cocoa body text on paper. */
:root{--ink:#483b32;--muted:#76675b}body{color:var(--ink)}.mode-links button strong,.try-heading>span{color:#8a482f}.mode-links button>span:last-child{color:#8a482f}.mode-links button small,.intro-description{color:#766050}.mode-links button:hover strong{color:#713a25}.home-intro h1{color:#483b32}.doodle-examples h3,.doodle-examples dt{color:#8a482f}.doodle-examples dd,.mode-explanation dd{color:#76675b}.mode-links button{border-bottom-color:#c6b7a6}#demo-guide p{color:#807062}.learning-flow,.storage-note{color:#76675b}

/* A warm notebook: oatmeal cover, ivory paper, warm ink, and an olive map. */
:root{--bg:#f5ecdd;--paper:#fffbf1;--ink:#4b382b;--muted:#78634f;--line:#d9c8ad;--accent:#925536;--soft:#eee2cb}body{background-color:var(--bg);background-image:url('paper-grain.svg');color:var(--ink)}.site-header{background:#eaddc5;background-image:url('paper-grain.svg');border-bottom:1px solid #d9c7a6}.brand{color:#684733}.brand span{font-style:italic}.brand svg{display:block;stroke:#aa714b;width:145px;bottom:-8px}.site-header nav button{color:#78634f}.site-header nav button[aria-current=page]{color:#7b422b;box-shadow:0 2px #a26c45}.language-picker select{color:#70523b;border-color:#c3ab88}.quiet{color:#70523b}.quiet:hover,.text-button:hover{background:#e9dac1}.home-meta{color:#8a7053}.home-intro h1{color:#5b3d2b}.intro-description,.mode-links button small{color:#7a604a}.mode-links button{border-bottom:1px solid #c9ad89;padding-left:10px;padding-right:8px}.mode-links button strong,.try-heading>span{color:#8a4e2f}.mode-links button>span:last-child{color:#a46e42}.mode-links button:hover{background:#eadbc180}.mode-links button:hover strong{color:#723c24}.try-heading .text-button{color:#87613f}#demo-paper{background:var(--paper);border-color:#cfb895;box-shadow:3px 5px 0 #e4d3b6;isolation:isolate}#demo-paper:before{content:'';position:absolute;left:28px;top:-9px;width:70px;height:17px;background:#d6bf86a8;transform:rotate(-4deg);pointer-events:none;z-index:2}#demo-guide svg{stroke:#ad8a60}#demo-guide p{color:#856c50}#demo-result{background:var(--paper)}#demo-result strong{color:#925536}.primary{background:#925536;border-color:#925536;color:#fffaf0}.primary:hover{background:#754129}.help-mark{border-color:#b99b73;color:#8a5c3b}.demo-steps{color:#998468}.demo-steps .active{color:#925536;border-color:#ad794f}#demo-note,.learning-flow,.storage-note{color:#80684e}.journey-strip{background:#eee1c7;border-color:#d8c29d;padding:23px 26px;gap:30px}.journey-strip h2{color:#61432d}.journey-strip p{color:#7a5e42}.journey-strip .text-button{color:#815438}.rail{background:#d0c0a0}.rail:before,.rail:after{background:#eee1c7;border-color:#9e8c63}.rail i,.rail i:after{background:#74825b}.rail-labels{color:#827153}.section-heading h2,.page-heading h1{color:#5b3d2b}.note-preview{background:#fff8e9;background-image:repeating-linear-gradient(transparent 0,transparent 22px,#e9dcc6 23px);border-left:3px solid #b89965;box-shadow:2px 3px 0 #e6d7bc}.note-card:nth-child(3n+2) .note-preview{border-left-color:#879170}.note-card:nth-child(3n) .note-preview{border-left-color:#b77a58}.note-card strong{color:#65452e}.note-card small{color:#8a7053}.editor-heading{border-color:#d8c2a0}.editor-heading #note-title{color:#62442f}.editor-heading #save-status{color:#8a7558}.segmented button[aria-pressed=true]{border-color:#a56942;color:#895033}.hover-control input{accent-color:#925536}#paper-wrap{background-color:var(--paper);border-color:#d2bd9b;box-shadow:0 3px 0 #e5d5b8}#paper-content #text-editor{color:#584231;background-color:var(--paper)}#canvas-hint{color:#b19b7a}.toolbar{border-color:#d8c2a0}.toolbar button[aria-pressed=true]{background:#e7d6b8;color:#71482b}.toolbar label,.pages{color:#7d6247}#note-space-hint{color:#877050}.editor-bottom strong{color:#8b5131}.editor-bottom .small{color:#83694d}.library-tools input,.library-tools select,input,select{background:#fff9ed;border-color:#d2bd9b}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline-color:#a47046}.map-panel{background:transparent}.map-heading h2{color:#61432d}.map-controls button{color:#816647;border-color:#d3bd98}.map-controls button[aria-pressed=true]{border-color:#925536;color:#8b5131}.map-credit{color:#8c7659}#map{background:#dde3ce;border:1px solid #d2c1a1}.journey-stats,.record-totals,.record-row{border-color:#d7c19e}.journey-stats strong,.record-totals strong,.record-row strong{color:#835235}.record-row p,.journey-stats span,.record-totals span{color:#867053}.arrival{background:#ece0c7;border-color:#d5be97;padding:24px}.arrival h2{color:#8b5131}dialog{background:#fff8e9;border-color:#d1b991;box-shadow:0 12px 55px #72553826}dialog h2{color:#775033}.mode-explanation dt,.doodle-examples h3,.doodle-examples dt{color:#8b5131}.mode-explanation dd,.doodle-examples dd{color:#80684d}.doodle-examples{border-color:#dfcaaa}.empty{color:#927858;border-color:#d8c29d}#ruler{border-color:#8c623d}#toast{background:#6e4a31;color:#fff6e5}
@media(max-width:760px){.site-header{background:#eaddc5}.site-header nav{background:#f4e8d4;border-color:#d6bf99}.journey-strip{padding:20px 18px;gap:20px}.brand svg{width:125px}#demo-paper:before{left:22px;width:58px;height:15px}.arrival{padding:20px}}

/* Travel journal: an itinerary, dated stamps, and linked study notes. */
.travel-section{margin-top:48px;padding-top:24px;border-top:1px solid var(--line)}.travel-section h2{font-size:25px;color:#805037}.stop-trail{display:flex;list-style:none;padding:24px 0;overflow-x:auto;gap:0}.stop-trail li{min-width:160px;flex:1;border-top:2px dashed #b7a98e;padding:14px 18px 0 0;position:relative}.stop-trail li:before{content:'';position:absolute;top:-6px;width:10px;height:10px;border-radius:50%;background:#f5ecdd;border:2px solid #b7a98e}.stop-trail li.reached{border-color:#788363}.stop-trail li.reached:before{background:#788363;border-color:#788363}.stop-trail small,.stop-trail strong,.stop-trail span{display:block;margin:5px 0}.stop-trail strong{font-size:19px}.stop-trail small,.stop-trail span{font-size:13px;color:var(--muted)}.milestone-total strong{font-size:32px;color:#925536}.distance-stamps{display:flex;gap:16px;flex-wrap:wrap;margin:22px 0}.distance-stamp{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:100px;min-height:88px;padding:10px;border:1px dashed #b7a98e;color:#78634f}.distance-stamp.earned{border:2px double #925536;color:#925536;background:#eee2cb66}.distance-stamp strong{font-size:21px}.distance-stamp small{margin-top:6px;font-size:12px}.travel-section progress{width:min(100%,500px);height:8px;accent-color:#788363}.trip-entry{padding:28px 0;border-bottom:1px solid var(--line)}.trip-heading{display:flex;align-items:center;gap:18px}.trip-heading h3{font-size:22px;margin:5px 0}.trip-heading>strong{margin-left:auto;white-space:nowrap}.arrival-stamp{border:2px solid #925536;color:#925536;padding:14px 9px;transform:rotate(-6deg);white-space:nowrap;font-weight:700}.trip-entry summary{cursor:pointer;color:#805037;font-size:18px;padding:12px 0}.trip-note{border-left:3px solid #b7a98e;padding:8px 18px;margin:15px 0}.trip-note p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:70ch}.trip-heading h3{overflow-wrap:anywhere}@media(max-width:600px){.trip-heading{flex-wrap:wrap;gap:12px}.trip-heading>div{flex:1;min-width:180px}.trip-heading>strong{margin-left:0}.stop-trail li{min-width:145px}.travel-section{margin-top:30px}}

.sight-section{margin:8px 0 28px}.sight-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px}.sight-heading h2{font-size:24px;color:#805037}.sight-heading>span{white-space:nowrap;color:#61704e;font-size:14px}.sight-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px}.sight-list li{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:15px 0}.sight-list strong,.sight-list small{display:block}.sight-list strong{font-size:18px}.sight-list small{margin-top:5px;color:var(--muted);font-size:13px}.sight-mark{font-size:24px;color:#b19b77}.visited .sight-mark,.visited strong{color:#61704e}.sight-method{font-size:13px;color:var(--muted);max-width:75ch;margin:20px 0}.sight-method summary{cursor:pointer}.route-sights-preview{border-left:3px solid #788363;padding:8px 14px;margin:18px 0}.route-sights-preview p{font-size:14px;line-height:1.7}.route-sights-preview small{color:var(--muted)}.trip-sights ul{padding-left:20px;line-height:1.9}@media(max-width:600px){.sight-list{grid-template-columns:1fr}.sight-heading h2{font-size:21px}.sight-heading{align-items:center}.sight-list strong{font-size:17px}}

.vault-gate{position:fixed;inset:0;z-index:99999;background:#f5ecdd;overflow:auto;padding:8vh 20px}.vault-panel{max-width:520px;margin:auto;color:#373c32}.vault-panel h1{font-size:28px}.vault-panel label{display:block;margin:16px 0 6px}.vault-panel input{width:100%;font:inherit;font-size:18px;padding:12px;border:1px solid #968c79;background:#fffaf1}.vault-panel button{margin:10px 8px 0 0}.vault-panel p{line-height:1.7}#vault-error{color:#8b3429}#vault-gate[hidden],#application[hidden]{display:none!important}
