.mj-hero-words,.mj-hero-quote{display:none}
.mt-journeys-view .mt-hero{background-position:center 30%}
.mt-journeys-view .mt-hero>.container{grid-template-columns:minmax(0,1fr) 150px 185px;min-height:188px}
.mt-journeys-view .mt-hero :is(.mt-words,.mt-signpost){display:none}
.mt-journeys-view .mj-hero-words,.mt-journeys-view .mj-hero-quote{display:block;position:static;margin:0;padding:0;color:white;background:none;transform:rotate(-6deg);font-size:27px;line-height:1.1}
.mt-journeys-view .mt-heading{margin-bottom:18px}
.mt-journeys-view .mt-content #mt-detail{padding:0;border:0;background:none;box-shadow:none}
.mj-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:16px}
.mj-main,.mj-sidebar,.mj-card-body{min-width:0}
.mj-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;margin-bottom:24px}
.mj-toolbar>.text-link{display:flex;align-items:center;gap:8px;font-weight:600}
.mj-toolbar>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mj-toolbar label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.mj-toolbar select{width:auto;min-height:35px;border:1px solid #c6dbe9;border-radius:4px;background:#fff;color:var(--ink);padding:6px 8px;font-size:13px}
.mj-toolbar .ts-select{width:190px}
.mj-toolbar label:last-child .ts-select{width:136px}
.mj-toolbar label{white-space:nowrap}
.mj-toolbar .ts-select-trigger{min-height:35px;padding:7px 10px;font-size:13px;white-space:nowrap}
.mj-group+.mj-group{margin-top:24px}
.mj-group-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:14px}
.mj-group-heading>.icon{width:26px;height:26px;margin-top:1px}
.mj-group-heading h2{font-size:20px;line-height:1.3}
.mj-group-heading h2 span{color:var(--muted);font-size:16px}
.mj-group-heading p{color:var(--muted);font-size:13px;margin-top:3px}
.mj-group-list{display:grid;gap:16px}
.mj-card{display:grid;grid-template-columns:45% minmax(0,1fr);border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 3px 12px #183e5104}
.mj-cover{position:relative;min-width:0;min-height:240px}
.mj-cover>img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0;border-radius:7px 0 0 7px}
.mj-status{display:inline-flex;align-items:center;min-height:24px;padding:3px 10px;font-size:12px;font-weight:600;line-height:1.3;border-radius:4px;color:#28632c;background:#d5efca}
.mj-status.completed{background:#def5f1;color:#096657}.mj-status.archived{background:#edf0f3;color:#4c6174}
.mj-cover>.mj-status{position:absolute;top:14px;left:14px;border:1px solid #fff9;box-shadow:0 2px 8px #05264012}
.mj-card-body{display:flex;flex-direction:column;padding:18px}
.mj-card-heading{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}
.mj-card h3{font-size:19px;line-height:1.3;overflow-wrap:anywhere}
.mj-description{font-size:14px;line-height:1.5;color:var(--muted);margin-top:5px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mj-card .mt-facts{margin-top:18px;font-size:13px;gap:8px 12px;font-weight:600}
.mj-departure{display:flex;gap:9px;align-items:center;margin-top:14px;font-size:13px;color:var(--muted)}
.mj-record-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.mj-record-meta>span:last-child:not(.mj-status){display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.mj-record-meta .icon{width:15px;height:15px}
.mj-card-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:auto;padding-top:14px}
.my-trips-page .mj-card-actions .button{min-height:38px;min-width:116px;padding:8px 12px;font-size:13px}
.mj-menu{position:relative;flex-shrink:0}
.mj-menu summary{display:grid;place-items:center;list-style:none;width:30px;height:30px;border-radius:4px;background:#f0f8fc;cursor:pointer}
.mj-menu summary::-webkit-details-marker{display:none}
.mj-menu[open] summary{background:#def1f8}
.mj-menu>div{position:absolute;right:0;top:36px;z-index:20;display:grid;min-width:185px;background:#fff;border:1px solid #cedfe9;border-radius:6px;box-shadow:0 8px 24px #12374c24;padding:5px}
.mj-menu :is(a,button){display:block;width:100%;text-align:left;padding:9px 10px;border-radius:4px;font-size:13px;color:var(--ink)}
.mj-menu :is(a,button):hover{background:#edf8fc;text-decoration:none}
.mj-empty{display:grid;justify-items:center;align-content:center;gap:6px;min-height:144px;padding:20px;border:1px solid #dceaf3;border-radius:8px;background:#ffffff70;text-align:center}
.mj-empty>.icon{width:66px;height:40px;opacity:.3}.mj-empty h3{font-size:16px}.mj-empty p{font-size:13px;color:var(--muted);line-height:1.5}
.mj-sidebar{display:grid;gap:16px}
.mj-sidebar section{border:1px solid var(--line);border-radius:8px;background:#fff;padding:18px 16px;box-shadow:0 3px 12px #183e5104}
.mj-sidebar h2{display:flex;align-items:center;gap:12px;font-size:17px;line-height:1.3}
.mj-sidebar h2>.icon{width:25px;height:25px}
.mj-summary-total{display:flex;justify-content:space-between;align-items:center;margin-top:16px}
.mj-summary-total strong{font-size:23px}.mj-summary-total p{font-size:13px;color:var(--muted)}
.mj-summary-note{display:grid;justify-items:center;color:#487591;margin-top:-16px;margin-right:6px;transform:rotate(-8deg)}
.mj-summary-note>.icon{width:56px;height:40px;opacity:.6}.mj-summary-note .handwritten{font-size:24px;text-align:center}
.mj-summary dl{display:grid;grid-template-columns:1fr 1fr;margin:20px 0 4px}.mj-summary dl>div+div{border-left:1px solid var(--line);padding-left:16px}
.mj-summary dt{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:700}.mj-summary dd{margin:2px 0 0 20px;font-size:13px;color:var(--muted)}
.mj-summary dt .icon{width:14px;height:14px}.mj-dot{width:10px;height:10px;border-radius:50%;background:#4db86b}
.mj-archived-count{font-size:12px;margin-top:12px;color:var(--muted)}
.mj-quick nav{display:grid;gap:10px;margin-top:18px}
.mj-quick a{display:flex;align-items:center;gap:12px;border:1px solid #e0edf4;border-radius:6px;min-height:43px;padding:9px 12px;font-size:13px}
.mj-quick a:hover{background:#eef8fc;text-decoration:none}.mj-quick a>span:first-of-type{flex:1}.mj-quick a>.icon{width:21px;height:21px}
html[data-theme=dark] .mt-journeys-view :is(.mj-toolbar,.mj-card,.mj-sidebar section,.mj-menu>div){background:var(--dm-surface,#202d30);border-color:var(--dm-border,#37515b)}
html[data-theme=dark] .mt-journeys-view :is(.mj-empty,.mj-menu summary){background:var(--dm-bg,#172327)}
html[data-theme=dark] .mj-menu :is(a,button){color:var(--dm-text,#e4eff6)}
html[data-theme=dark] .mj-menu :is(a,button):is(:hover,:focus-visible){background:var(--dm-selected,#29434a);color:var(--dm-text,#e4eff6);text-decoration:none}
html[data-theme=dark] .mj-menu[open] summary{background:var(--dm-selected,#29434a)}
@media(min-width:901px){
 .mt-journeys-view .mt-main{column-gap:28px;row-gap:0;padding-bottom:24px}
 .mt-journeys-view .mt-content{display:contents}
 .mt-journeys-view .mt-navigation{grid-column:1;grid-row:1/4}
 .mt-journeys-view .mt-heading{grid-column:2;padding-top:22px}
 .mt-journeys-view #mt-status,.mt-journeys-view #mt-detail{grid-column:2}
 .mt-journeys-view .mt-bottom-cta{grid-column:1/-1;margin-top:20px}
}
@media(max-width:1200px){.mj-layout{grid-template-columns:minmax(0,1fr) 220px}.mj-card{grid-template-columns:1fr}.mj-cover{min-height:190px}.mj-cover>img{border-radius:7px 7px 0 0}.mj-card-actions{justify-content:flex-start}}
@media(max-width:1000px){.mj-layout{grid-template-columns:1fr}.mj-sidebar{grid-template-columns:1fr 1fr}.mj-card{grid-template-columns:42% minmax(0,1fr)}.mj-cover>img{border-radius:7px 0 0 7px}.mj-toolbar>div{gap:10px}}
@media(max-width:900px){.mt-journeys-view .mt-hero>.container{grid-template-columns:minmax(0,1fr) 150px}.mt-journeys-view .mj-hero-quote{display:none}.mj-card{grid-template-columns:1fr}.mj-cover{min-height:210px}.mj-cover>img{border-radius:7px 7px 0 0}.mj-sidebar{grid-template-columns:1fr}}
@media(max-width:620px){.mt-journeys-view .mt-hero>.container{grid-template-columns:1fr}.mt-journeys-view .mj-hero-words{display:none}.mj-toolbar>div{width:100%}.mj-toolbar label{justify-content:space-between;width:100%}.mj-toolbar .ts-select,.mj-toolbar label:last-child .ts-select{width:180px}.mj-card-body{padding:16px}.mj-cover{min-height:190px}.mj-card h3{font-size:18px}.mj-card-actions{display:grid;grid-template-columns:1fr 1fr}.my-trips-page .mj-card-actions .button{min-width:0}.mj-empty{padding:20px 12px}.mj-sidebar{gap:14px}}
