/* Approved journal styling; retain the original page and editor handlers. */
.journal-icon,.journal-day-label{display:none}.journal-text{display:contents}
body.journal-editor .detail-header{box-shadow:0 4px 16px #173f2b0b;border-color:#d7dfd8;background:#faf9f5f5}
body.journal-editor .detail-map{isolation:isolate}
body.journal-editor .detail-hero h1{font-weight:600;font-size:17px;line-height:1.5}
body.journal-editor .detail-hero p{font-size:11px;color:#7a857c;line-height:1.8}
body.journal-editor .account-trigger{position:fixed;top:16px;right:144px;min-height:32px;margin:0;border-radius:6px;padding:0 12px;background:#faf9f5;border:1px solid #cad8cf;font-size:12px;font-weight:500;box-shadow:0 4px 12px #173f2b0b;z-index:20}
body.journal-editor .map-float{box-shadow:0 4px 12px #173f2b0b;font-weight:500;background:#faf9f5}
body.journal-editor .edit-toggle{background:#285748;border-color:#285748}
body.journal-editor .detail-right{background:#faf9f5}
body.journal-editor .detail-right .detail-tabs{padding-bottom:12px;border-color:#dce4dd}
body.journal-editor .edit-drawer{background:#faf9f5;padding:20px;box-shadow:-6px 0 24px #18382d0a}
body.journal-editor .edit-drawer-head{padding-bottom:14px;border-bottom:1px solid #dbe3dc;margin-bottom:16px}
body.journal-editor .edit-drawer-head h2{font-size:17px;font-weight:600}
body.journal-editor .edit-form{gap:16px}
body.journal-editor .edit-form fieldset{background:#fffefb;border-color:#d8e1da;border-radius:8px;padding:16px}
body.journal-editor .edit-form legend{font-size:13px;font-weight:600;padding:0 7px;color:#315846}
body.journal-editor .edit-form label{font-size:12px;line-height:1.8;color:#5a6d61}
body.journal-editor .edit-form :is(input,textarea,select){background:#fffefb;border-color:#cbd9cf;box-shadow:none;font-size:13px}
body.journal-editor .edit-form :is(input,textarea,select):focus{outline:2px solid #71947b44;outline-offset:1px;border-color:#71947b}
body.journal-editor .edit-form .form-hint{font-size:11px;color:#819084;line-height:1.8}
body.journal-editor :is(.primary-button,.secondary-button,.danger-button){font-weight:500}
body.journal-editor .edit-add-row{border-color:#c2d2c6;background:#f8fbf7;color:#446b55}
body.journal-editor .edit-actions{position:sticky;bottom:-20px;margin:0 -20px;padding:14px 20px;background:#faf9f5f7;border-top:1px solid #d8e1da;z-index:3}
body.journal-editor .edit-list-item{box-shadow:none;border-color:#dbe3db}
body.journal-editor .inline-editor{border-radius:8px;border-color:#d5e0d7;background:#f4f8f1}
body.journal-editor .day-chip{box-shadow:0 2px 7px #1d3e2807;font-size:11px;font-weight:500}
body.journal-editor .day-chip.is-active{background:#285748;border-color:#285748}
@media(max-width:860px){
 body.journal-editor .edit-drawer{padding:16px}
 body.journal-editor .detail-header{top:max(10px,env(safe-area-inset-top));left:10px;right:10px;width:auto;max-width:none;padding:6px;display:grid;grid-template-columns:32px minmax(0,1fr) repeat(3,32px);gap:6px;align-items:center}
 body.journal-editor .detail-hero{width:100%;min-width:0;max-width:100%}
 body.journal-editor .detail-hero{grid-column:2;grid-row:1}
 body.journal-editor .detail-hero h1{font-size:14px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;margin:0}
 body.journal-editor .detail-hero p{display:none}
 body.journal-editor .header-actions{display:contents}
 body.journal-editor .header-actions .journal-has-icon{position:static;grid-row:1;width:32px;height:32px;min-width:32px;min-height:32px;margin:0;padding:6px!important;box-shadow:none}
 body.journal-editor .header-actions .back-link{grid-column:1}
 body.journal-editor .header-actions .account-trigger{grid-column:3}
 body.journal-editor .header-actions .share-trip-btn{grid-column:4}
 body.journal-editor .header-actions .edit-toggle{grid-column:5}
 body.journal-editor :is(button,a.journal-has-icon){min-width:36px;min-height:36px}
 body.journal-editor .journal-has-icon{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:8px!important}
 body.journal-editor .journal-has-icon>.journal-text{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 body.journal-editor .journal-has-icon>.journal-icon{display:block;width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 body.journal-editor .day-chip{border-radius:999px;min-height:36px;padding:7px 16px!important;white-space:nowrap}
 body.journal-editor .day-chip>.journal-icon{display:none}
 body.journal-editor .day-chip>.journal-day-label{display:inline;font-size:12px;line-height:20px}
 body.journal-editor .detail-tab{flex:1;min-height:44px;padding:8px!important}
 body.journal-editor .detail-tab .journal-icon{width:21px;height:21px}
 body.journal-editor .edit-form fieldset{padding:14px}
 body.journal-editor .edit-actions{bottom:-16px;margin:0 -16px;padding:12px 16px;gap:12px}
 body.journal-editor .edit-actions>button{width:46px;height:40px;flex:none}
 body.journal-editor .edit-add-row{width:100%;min-height:38px}
 body.journal-editor .me-topbar button{flex:none}
}

