/* A sun-faded field journal for the coast. */
:root{--cream:#fff8ed;--ink:#244d49;--teal:#245c55;--muted:#6e7c70;--line:#e4dfce;--orange:#bc6645}body{background:#fff8ed;font-size:16px}header{border-bottom:0;height:82px}.brand-icon{background:#e2a064;color:#fff7e4;transform:rotate(-8deg);border-radius:50%}.brand-sub{letter-spacing:1.8px}.sheet-link{border-radius:30px;background:#fffdf7}main{max-width:1120px}.intro{position:relative;background:#f1ebd9;border-radius:28px;padding:42px;margin:12px 0 22px;overflow:hidden;min-height:340px}.intro:before{content:'';position:absolute;width:140px;height:140px;border-radius:50%;background:#eab377;right:40px;top:-55px;opacity:.8}.intro h1{font-size:61px;letter-spacing:-2.5px}.intro h1 em{color:#b56d45}.intro p{font-size:14px}.intro .eyebrow{font-size:10px;letter-spacing:2px}.route-art{background:#fff9ed;padding:10px 10px 24px;transform:rotate(5deg);box-shadow:0 14px 25px #42493618;border-radius:3px}.route-art:before{content:'';position:absolute;top:-12px;left:40%;width:85px;height:28px;background:#d9ad6f75;transform:rotate(-9deg)}.route-art svg{border-radius:0;filter:sepia(.15)}.trip-chips{font-size:12px}.now-section{gap:14px;margin-bottom:35px}.now-card{border-radius:24px;background:#285d56;padding:27px 30px}.now-card h2{font-size:34px}.now-card p{font-size:14px}.now-card .eyebrow{letter-spacing:2px}.now-foot{font-size:12px}#locate{font-size:13px;min-height:44px}.next-card{background:#f5dfb5;border:0;border-radius:24px;padding:27px 30px;position:relative}.next-card:hover{background:#f3d6a2}.next-card strong{font-size:29px}.next-time,.next-desc{font-size:13px}.next-time{color:#945338}.section-title h2{font-size:36px}.tabs{gap:8px;border:0;background:#eaeadd;border-radius:40px;padding:5px;width:fit-content}.tabs button{border-radius:30px;min-height:44px;padding:8px 22px;font-size:13px}.tabs button[aria-selected=true]{background:#fffdf6;box-shadow:0 2px 8px #244d4910}.tabs button[aria-selected=true]:after{display:none}.date-strip{gap:10px}.date-button{border:0;background:#f0ecdf;border-radius:18px;padding:12px 5px;min-height:92px}.date-button strong{font-size:29px}.date-button span{font-size:10px}.date-button small{font-size:10px}.date-button.selected{background:#d88761;color:#fffaf0;box-shadow:0 7px 16px #bc664522}.date-button.selected small{color:#fff3de}.event-card{border:0;background:#fffdf7;border-radius:19px;box-shadow:0 3px 15px #59664009}.event.active .event-card{background:#e4eddd;box-shadow:inset 0 0 0 1px #adc29b}.event-main{padding:19px 20px 10px}.event-heading{font-size:16px;font-weight:550}.event-main p{font-size:13px;line-height:1.7}.event-time{font-size:12px}.event-bottom{padding:0 18px 14px 20px}.event-bottom .event-details{font-size:12px;min-height:40px}.check{font-size:12px;min-height:40px;gap:7px}.check input{width:18px;height:18px}.badge{font-size:9px;padding:4px 8px;border-radius:20px}.search{padding:10px 14px;border-radius:13px;background:#eeeadd}.search input{font-size:16px;min-height:24px}.tools button{font-size:12px;border-radius:13px;min-height:44px}.preview-box,.stay-box{border:0;border-radius:21px;padding:22px}.preview-box{background:#e4ebda}.stay-box{background:#f4e6cc}.preview-box label,.preview-box p,.stay-box p{font-size:13px}.reset{min-height:44px;font-size:12px}.stay-box a{display:inline-flex;align-items:center;min-height:44px;font-size:12px}.preview-box input{min-height:28px}.range-labels{font-size:10px}.tiny-note{font-size:14px}.overview-day{border:0;border-radius:22px;background:#f0eadb;min-height:200px;position:relative;overflow:hidden}.overview-day:nth-child(3n+2){background:#e0e9dc}.overview-day:nth-child(3n){background:#f4dfbf}.overview-day:after{content:'↗';position:absolute;right:18px;bottom:16px;font-size:25px;color:#7b906b}.overview-day h3{font-size:29px}.overview-day p,.overview-day small{font-size:13px}.info-card{border:0;border-radius:22px;background:#f0eddf}.info-card p{font-size:14px}.info-card a{font-size:13px}.text-button{min-height:44px;font-size:13px}footer{font-size:11px}dialog{border:0;border-radius:25px}#detail-description,#detail-note{font-size:15px}.dialog-actions a{font-size:13px;min-height:44px}.dialog-top button{min-width:44px;min-height:44px}summary{font-size:14px;min-height:48px}.mobile-dock{display:none}
@media(max-width:650px){body{padding-bottom:85px}header{height:72px;padding:0 20px}.brand{font-size:21px}.brand-sub{font-size:8px}.sheet-link{min-height:40px;display:flex;align-items:center;padding:7px 13px;font-size:11px}main{padding:0 16px 20px}.intro{margin:0 -16px 19px;border-radius:0 0 35px 35px;padding:26px 24px 28px;min-height:0;display:block}.intro h1{font-size:48px;line-height:1.03;max-width:300px;margin:17px 0}.intro p{font-size:13px;max-width:270px}.intro p br{display:none}.intro:before{width:92px;height:92px;top:31px;right:-27px;background:#e8b773}.intro:after{content:'☼';position:absolute;right:23px;bottom:27px;color:#b76c47;font-size:45px;transform:rotate(15deg)}.trip-chips{font-size:11px;gap:9px}.route-art{display:none}.now-section{gap:11px;margin-bottom:28px}.now-card{padding:22px 24px;border-radius:23px}.now-card h2{font-size:30px}.now-card p{font-size:13px;margin-bottom:5px}.now-foot{padding-top:4px;margin-top:6px;font-size:11px}.now-card .text-button{padding:0;font-size:12px}.now-card .eyebrow{font-size:9px}.next-card{border-radius:21px;padding:18px 23px;min-height:0}.next-card strong{font-size:25px;line-height:1.2}.next-time{font-size:12px;margin:9px 0 7px}.next-desc{font-size:12px;margin-top:9px}.section-title{align-items:center;margin-bottom:16px}.section-title h2{font-size:29px}.section-title .eyebrow{font-size:8px}.section-title .text-button{font-size:11px}.tabs{display:none}.date-strip{position:sticky;top:0;z-index:3;background:#fff8edf5;backdrop-filter:blur(10px);margin:0 -16px 20px;padding:10px 16px 14px;gap:8px;scroll-snap-type:x mandatory;scrollbar-width:none}.date-button{min-width:65px;min-height:85px;border-radius:17px;scroll-snap-align:center}.date-button small{font-size:9px}.date-button strong{font-size:27px}.day-layout{display:grid;grid-template-columns:1fr;gap:18px}.timeline-area{display:contents}.day-heading{grid-row:1}.day-heading h3{font-size:29px;margin-bottom:0}.day-heading .eyebrow{font-size:9px}.day-heading>span{font-size:11px}.tools{grid-row:3;margin:0}.search{min-width:0}.search input{font-size:16px}.tools button{font-size:11px;padding:8px;white-space:nowrap}#timeline{grid-row:4}aside{grid-row:2;display:block}.preview-box{padding:14px 18px;border-radius:18px;display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:center}.preview-box .eyebrow{font-size:8px}.preview-box h3,.preview-box p,.range-labels{display:none}.preview-box label{font-size:12px;text-align:right}.preview-box input{grid-column:1/-1;margin:7px 0 0;min-height:30px}.preview-box .reset{grid-column:1/-1;min-height:30px;font-size:11px;text-align:right}.stay-box{margin-top:10px;padding:14px 18px;position:relative}.stay-box .eyebrow{font-size:8px}.stay-box h3{font-size:19px;margin:4px 75px 0 0}.stay-box p,.stay-icon,.tiny-note{display:none}.stay-box a{position:absolute;right:16px;top:22px;font-size:11px}.event{display:block;padding:0 0 17px 0}.event:before,.event-time:after{display:none}.event-time{padding:0 3px 7px;font-size:12px;color:#9b644b;font-weight:550}.event-card{margin:0;border-radius:20px}.event-main{padding:17px 18px 7px}.event-heading{font-size:16px;line-height:1.4;gap:10px}.event-symbol{width:25px;height:28px;font-size:20px}.event-main p{font-size:13px;-webkit-line-clamp:2;margin-top:9px}.event-bottom{padding:0 17px 10px;gap:9px}.event-bottom .event-details{font-size:12px;min-height:44px}.check{font-size:12px;min-height:44px}.badge{font-size:8px}.event.past .event-card{opacity:.85}.mobile-dock{position:fixed;z-index:8;bottom:12px;bottom:max(12px,env(safe-area-inset-bottom));left:16px;right:16px;background:#244f48;box-shadow:0 8px 30px #244d4940;border:1px solid #ffffff25;border-radius:24px;display:grid;grid-template-columns:repeat(3,1fr);padding:6px}.mobile-dock button{background:none;border:0;color:#d5e0cc;border-radius:18px;min-height:49px;font-size:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}.mobile-dock button span{font-size:19px;line-height:1.2}.mobile-dock button[aria-current=true]{background:#f6e6c6;color:#28564c}.route-grid{gap:13px}.overview-day{min-height:170px}.info-card{padding:23px}.info-card p{font-size:14px}footer{font-size:10px;margin-top:25px}dialog{position:fixed;top:auto;bottom:0;margin:0;width:100%;max-width:100%;max-height:88dvh;border-radius:28px 28px 0 0;padding:23px 23px calc(23px + env(safe-area-inset-bottom))}.dialog-top{position:sticky;top:-23px;background:var(--cream);z-index:1}dialog h2{font-size:30px}.dialog-actions{flex-wrap:wrap}#detail-description,#detail-note{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.mobile-trip-dates { display: none; }
@media (max-width: 650px) {
  header { height: 60px; }
  .intro, .brand-sub { display: none; }
  .mobile-trip-dates {
    display: block;
    margin: 0 4px 12px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .04em;
  }
}
#day-weather {background:#ecf2e7;border-radius:17px;padding:15px 18px;margin-bottom:16px;color:#28564c}
.wx-kicker {font-size:10px;font-weight:650;letter-spacing:1.3px;text-transform:uppercase}
#day-weather strong {display:block;font:23px/1.3 var(--serif);margin:5px 0}
.wx-values {font-size:14px}
#day-weather small {display:block;margin-top:6px;font-size:11px;color:#536b60}
#day-weather a {text-decoration:underline}
@media(max-width:650px){#day-weather{grid-row:2;margin:0}.day-layout aside{grid-row:3}.day-layout .tools{grid-row:4}.day-layout #timeline{grid-row:5}}
/* Keep the daily view focused on the plan. */
.section-title { justify-content: flex-end; margin-bottom: 8px; }
.section-title > div:empty { display: none; }
#next-desc:empty, #now-copy:empty { display: none; }
.event-main { padding-bottom: 5px; }
.wx-footer { display: flex; align-items: center; gap: 8px; }
#day-weather .wx-footer small { margin: 0; }
.wx-info { position: relative; }
.wx-info summary { border: 0; padding: 8px 12px; min-height: 44px; display: flex; align-items: center; list-style: none; font-size: 16px; }
.wx-info summary::-webkit-details-marker { display: none; }
.wx-info-content { position: absolute; z-index: 5; bottom: 42px; right: -12px; width: 240px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); box-shadow: 0 5px 18px #244d491a; font-size: 12px; }
.preview-box label { margin-top: 6px; }
@media (max-width: 650px) {
  .preview-box .eyebrow { display: none; }
  .preview-box label { grid-column: 1 / -1; text-align: left; margin-top: 0; }
}
.day-start { margin: -8px 0 18px; font-size: 14px; font-weight: 600; color: var(--orange); }
.day-start:empty { display: none; }
.overview-day .overview-start { color: var(--orange); font-size: 13px; font-weight: 600; margin: 8px 0; }
@media (max-width: 650px) { .day-start { margin: 9px 0 0; font-size: 13px; } }

/* Shared reading rhythm across daily, journey and detail views. */
:root { --muted: #59695e; --orange: #975137; }
body { line-height: 1.6; }
header { gap: 24px; }
.brand { min-width: 0; line-height: 1.25; letter-spacing: -.4px; }
.header-right { flex-shrink: 0; }
main { width: calc(100% - 48px); }
.eyebrow, .wx-kicker { font-size: 11px; line-height: 1.5; letter-spacing: .1em; }
.now-card, .next-card, .preview-box, .stay-box, #day-weather, .info-card { padding: 24px; border-radius: 20px; }
.now-section { gap: 16px; margin-bottom: 32px; }
.now-card h2, .next-card strong, .day-heading h3, .overview-day h3 { font-size: 28px; line-height: 1.25; letter-spacing: -.5px; }
.now-card p, .next-desc, .info-card p, .stay-box p { font-size: 15px; line-height: 1.65; }
.now-foot { flex-wrap: wrap; gap: 8px; padding-top: 12px; margin-top: 16px; }
.next-time, .event-time, .day-start, .overview-day .overview-start { font-size: 14px; line-height: 1.5; }
.next-time { margin: 16px 0 8px; }
.day-heading { gap: 16px; align-items: flex-start; }
.day-heading h3 { margin: 8px 0 12px; }
.day-heading > span { font-size: 12px; padding-top: 4px; }
.day-start { margin: 0 0 20px; }
.date-button { border-radius: 16px; }
.date-button span, .date-button small { font-size: 11px; }
.date-button.selected { background: #975137; }
.event-main { padding: 20px 20px 8px; }
.event-heading { font-size: 16px; line-height: 1.5; font-weight: 600; }
.event-bottom { padding: 0 20px 12px; gap: 12px; flex-wrap: wrap; }
.event-bottom .event-details, .check, .reset, .stay-box a, .tools button, .text-button { font-size: 13px; min-height: 44px; }
.badge { font-size: 11px; line-height: 1.4; letter-spacing: .02em; }
.event.past .event-card { opacity: 1; }
.preview-box label, .wx-values, .overview-day p, .overview-day small { font-size: 14px; line-height: 1.6; }
#day-weather small, footer { font-size: 12px; }
.wx-footer { justify-content: space-between; }
.wx-info-content { width: min(260px, 72vw); right: 0; line-height: 1.6; }
#detail-description, #detail-note { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
dialog h2 { font-size: 30px; line-height: 1.25; }
.info-card, .overview-day { padding: 24px; }
@media (max-width: 650px) {
  header { height: auto; min-height: 64px; padding: 14px 20px; gap: 12px; }
  .brand { font-size: clamp(17px, 4.8vw, 21px); }
  .sheet-link { font-size: 12px; padding: 8px 12px; min-height: 44px; white-space: nowrap; }
  main { width: auto; padding: 0 20px 24px; }
  .mobile-trip-dates { margin: 0 0 16px; font-size: 13px; }
  .now-card, .next-card, .preview-box, .stay-box, #day-weather { padding: 20px; border-radius: 20px; }
  .now-card h2, .next-card strong, .day-heading h3 { font-size: 26px; }
  .now-card .eyebrow, .day-heading .eyebrow, .stay-box .eyebrow { font-size: 11px; }
  .now-foot { font-size: 12px; }
  .now-card .text-button { font-size: 13px; }
  .date-strip { margin: 0 -20px 24px; padding: 12px 20px 16px; gap: 8px; }
  .date-button { min-width: 68px; padding: 10px 5px; }
  .date-button small { font-size: 11px; }
  .day-layout { gap: 24px; }
  .day-heading h3 { margin: 8px 0 0; }
  .day-start { margin: 12px 0 0; font-size: 14px; }
  .day-heading > span { white-space: normal; text-align: right; }
  .preview-box label { font-size: 14px; }
  .preview-box .reset { min-height: 44px; font-size: 13px; }
  .stay-box { margin-top: 16px; }
  .stay-box h3 { margin: 8px 0 4px; font-size: 22px; line-height: 1.3; }
  .stay-box a { position: static; font-size: 13px; }
  .tools { flex-wrap: wrap; gap: 8px; }
  .search { flex: 1 1 180px; }
  .tools button { font-size: 13px; padding: 8px 12px; }
  .event { padding-bottom: 24px; }
  .event-time { padding: 0 0 8px; font-size: 14px; color: var(--orange); }
  .event-main { padding: 20px 20px 8px; }
  .event-bottom { padding: 0 20px 12px; }
  .event-bottom .event-details, .check { font-size: 13px; }
  .mobile-dock button { font-size: 12px; min-height: 52px; }
  .route-grid, .essentials-grid { gap: 16px; }
  dialog { padding: 24px 24px calc(24px + env(safe-area-inset-bottom)); }
  .dialog-top { top: -24px; }
  footer { font-size: 12px; }
}

/* One outline icon family for navigation, actions and activities. */
.ui-icon { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.event-symbol { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.event-symbol .ui-icon, .mobile-dock .ui-icon { width: 22px; height: 22px; }
.icon-key { margin: 0 0 20px; color: var(--muted); }
.icon-key summary { display: flex; gap: 8px; align-items: center; cursor: pointer; font-size: 13px; }
.icon-key > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; padding: 12px 0; }
.icon-key > div > span { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.overview-day:after { content: none; }
@media(max-width:650px) { .day-layout .icon-key { grid-row: 5; margin: 0; } .day-layout #timeline { grid-row: 6; } .icon-key > div { grid-template-columns: repeat(2,1fr); } }

/* Fixed plans remain distinct even when another stop is current. */
.event.fixed .event-card { border-inline-start: 4px solid var(--teal); background: #edf2e8; }
.event.fixed .event-heading { font-weight: 700; }
.event.fixed .event-time { color: var(--teal); font-weight: 700; }

.event.fixed.active .event-card { background: #e4eddd; }

.wx-rain-time { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--teal); font-weight: 550; }

.badge.fixed-badge { background: #f5dfb5; color: #744127; }
