:root {
  --journey-bg:#fafcf9;
  --journey-banner:#dbf4de;
  --journey-action:#b5edbc;
  --journey-green:#267c37;
  --journey-ink:#123c2f;
  --journey-muted:#506355;
  --journey-line:#dbe5dc;
  --journey-partner:#f0eafa;
}
.journey-sheet, #details.route-dialog[open]{background:var(--journey-bg);color:var(--journey-ink)}
.journey-sheet{position:fixed;inset:0;border:0;max-width:none;max-height:none;width:100%;height:100dvh;margin:0;padding:0;overflow:auto;overscroll-behavior:contain}
.journey-sheet>article,#details #detailContent{width:min(820px,100%);min-height:100%;background:var(--journey-bg);margin-inline:auto}
.journey-nav,#details .crossing-nav{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;justify-items:center;gap:8px;min-height:58px;padding:6px clamp(13px,3vw,26px);border-bottom:1px solid var(--journey-line);background:var(--journey-bg);color:var(--journey-ink);position:sticky;top:0;z-index:3}
.journey-nav strong,#details .crossing-nav strong{display:flex;align-items:center;gap:7px;letter-spacing:-.035em;font-size:18px}
#details .crossing-nav>strong{justify-self:center;margin-inline:0}
.journey-nav .brand-mark,#details .crossing-nav .brand-mark{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:9px;background:var(--journey-action);color:#34734c;font-size:25px}
.journey-icon-button,#details .crossing-reverse{display:inline-grid;place-items:center;width:42px;min-height:42px;line-height:1;border-radius:50%;border:1px solid transparent;background:#edf6ec;color:#325d41;cursor:pointer}
.journey-icon-button:hover,#details .crossing-reverse:hover{background:var(--journey-action)}
.journey-sheet :focus-visible,#details :focus-visible{outline:2px solid #287547;outline-offset:2px}
.journey-heading,#details .dialog-head{margin:16px clamp(14px,3vw,26px);padding:clamp(16px,3vw,26px);border-radius:18px;background-color:var(--journey-banner);background-image:repeating-radial-gradient(ellipse at 125% 100%,transparent 0 18px,#97ca9b38 19px 20px,transparent 21px 32px);color:var(--journey-ink);border:0}
.journey-heading h2,#details .dialog-head h2{margin:.2em 0;color:var(--journey-ink);font-size:clamp(24px,5vw,32px);letter-spacing:-.045em;line-height:1.12}
.journey-heading small{font-weight:600}
.journey-heading p,#details .dialog-head p{margin:5px 0 0;color:var(--journey-muted);font-size:14px}
.journey-heading small,.journey-sheet-body small{color:var(--journey-muted)}
#details .dialog-head>div:first-child{min-width:0;display:flex;flex-direction:column}
#details .dialog-head>div:first-child>p{order:-1}
#details .crossing-reverse{border:1px solid #accfb4;background:#eef9ee}
#details .details-body,.journey-sheet-body{padding:0 clamp(14px,3vw,26px) max(24px,env(safe-area-inset-bottom))}
#details .sailing-menu{margin:8px clamp(14px,3vw,26px) 14px;background:var(--journey-banner);border:1px solid #c4dfc9;border-radius:13px;position:sticky;bottom:8px}
#details .sailing-menu>summary{min-height:44px;padding:6px 14px;justify-content:flex-start;color:var(--journey-ink);font-size:14px}
#details .sailing-menu>summary>svg{width:19px}
#details .sailing-menu>summary:after{content:'›';margin-inline-start:auto;transform:none}
.journey-sheet .sailing-tools{position:static;max-height:none;box-shadow:none;background:transparent;border:0;padding:0;overflow:visible}
.journey-sheet .sailing-modes>div{display:grid;grid-template-columns:1fr;gap:9px}
.journey-sheet .sailing-modes .journey-mode{display:grid;grid-template-columns:50px minmax(0,1fr) 26px;place-content:initial;align-items:center;gap:12px;text-align:start;padding:11px 14px;min-height:72px;border-radius:15px;border:1px solid var(--journey-line);background:white;color:var(--journey-ink)}
.journey-sheet .sailing-modes .journey-mode[aria-pressed=true]{background:#e6f5e5;border-color:#9dc9a1}
.journey-mode>span:nth-child(2){display:grid;gap:3px}
.journey-mode strong{font-size:16px}.journey-mode small{font-size:13px;font-weight:400}
.journey-mode-icon,.journey-mode-check{display:grid;place-items:center;background:#edf7ec;color:#367647;border-radius:9px}
.journey-mode-icon{width:48px;height:46px;background:var(--journey-banner);color:var(--travel-icon-color,#3e744b)}
.journey-mode-icon svg{display:block;width:32px;height:30px}
.journey-mode-check{visibility:hidden;border-radius:50%;width:21px;height:21px;background:var(--journey-action)}
.journey-mode-check svg{width:15px;height:15px}.journey-mode[aria-pressed=true] .journey-mode-check{visibility:visible}
.journey-primary,.journey-sheet .sailing-modes>.journey-primary,.journey-sheet .feedback-submit{width:100%;border:1px solid #a6dcae;border-radius:11px;background:var(--journey-action);color:var(--journey-ink);min-height:46px;padding:10px 15px;font:650 15px/1.35 system-ui;cursor:pointer}
.journey-sheet .sailing-modes>.journey-primary{margin-block:18px 4px;display:block}
.journey-sheet .crossing-actions{display:grid;gap:0;background:white;border:1px solid var(--journey-line);border-radius:14px;padding:2px 13px}
.journey-sheet .crossing-actions>*{background:transparent;color:var(--journey-ink);border:0;border-radius:0;display:flex;align-items:center;min-height:45px;text-align:start;padding:7px 2px;font-size:14px;text-decoration:none}
.journey-sheet .crossing-actions>*+*{border-top:1px solid var(--journey-line)}
.journey-sheet .sailing-tools>select{font:inherit;padding:8px;max-width:100%;background:white;color:var(--journey-ink);border:1px solid var(--journey-line);border-radius:8px}
.journey-sheet .feedback-form{display:grid;gap:14px}
.journey-sheet .feedback-form label{display:grid;gap:4px;color:var(--journey-ink);font-size:14px;font-weight:550}
.journey-sheet .feedback-form input:not([type=radio]),.journey-sheet .feedback-form select,.journey-sheet textarea{font:inherit;padding:9px 10px;min-width:0;width:100%;border:1px solid #ccdace;background:white;color:var(--journey-ink);border-radius:9px}
.journey-sheet .feedback-existence,.journey-sheet .feedback-rating,.journey-sheet .feedback-duration{border:0;padding:0;margin:0;min-width:0}
.journey-sheet .feedback-form .feedback-existence label,.journey-sheet .feedback-correction{display:flex;align-items:center;gap:9px;margin:6px 0 0;padding:10px 12px;min-height:42px;border:1px solid var(--journey-line);background:white;border-radius:10px;color:var(--journey-ink);font:inherit;text-align:start}
.journey-sheet .feedback-correction{width:100%;cursor:pointer}
.journey-sheet .feedback-existence{display:grid;grid-template-columns:1fr;gap:3px}
.journey-sheet .feedback-form .feedback-existence label{width:100%;justify-content:flex-start}
.journey-sheet .feedback-existence input{width:16px;height:16px;accent-color:#387749}
.journey-sheet .feedback-form [hidden]{display:none}
.journey-sheet .feedback-stars{display:flex;flex-wrap:wrap;gap:3px}
.journey-sheet .feedback-stars label{font-size:26px;line-height:1;color:#5b7161}
.journey-sheet .feedback-stars label.selected{color:#387749}
.journey-sheet .feedback-more,.journey-sheet .feedback-preview{padding:12px;background:white;border:1px solid var(--journey-line);border-radius:12px}
.journey-sheet .feedback-more summary{font-size:14px;cursor:pointer}
.journey-sheet .feedback-optional-fields{display:grid;gap:12px;margin-top:10px}
.journey-sheet .feedback-review-actions{display:grid;gap:8px}
.journey-sheet .feedback-preview p{overflow-wrap:anywhere;white-space:pre-wrap}
.feedback-form.feedback-reviewing>:not(.feedback-preview):not(.feedback-auth):not(.feedback-submit):not(.feedback-status){display:none}
.journey-sheet .feedback-confirmation{padding:8px 0;color:#245333}
.journey-sheet .sailing-modes>.sr-only{position:absolute;width:1px;height:1px;margin:-1px;clip-path:inset(50%);overflow:hidden}
.journey-sheet .feedback-stars input{position:absolute;width:1px;height:1px;opacity:0}
.journey-sheet .feedback-stars input:focus-visible+label{outline:2px solid #287547}
@media(min-width:841px){.journey-sheet>article{box-shadow:0 0 38px #16382612}.journey-sheet-body{padding-bottom:40px}}
