/* The compact logo artwork is light; the dark sidebar must not invert it. */
:root:not([data-theme="dark"]) .sidebar .brand-asset-compact img,
:root[data-theme="dark"] .sidebar .brand-asset-compact img{filter:none}
.sidebar .brand-asset-compact{width:76px;height:60px}
body.nav-rail-collapsed .sidebar .brand-asset-compact{width:42px;height:42px}

/* Notes: equal row rhythm with a clear gap and aligned metadata. */
#app .note-list{gap:10px;border:0}
#app .note-list-row{
  grid-template-columns:32px minmax(0,1.35fr) minmax(140px,.75fr) 90px auto;
  column-gap:14px;row-gap:10px;min-height:84px;
  padding:16px 18px;border:1px solid var(--line);border-radius:8px;
  background:var(--panel);align-items:center;
}
#app .note-list-row h3{margin:0 0 4px;line-height:1.3}
#app .note-list-row .note-list-copy>p{line-height:1.5}
#app .note-list-taxonomy{gap:6px;flex-wrap:wrap;align-content:center}
#app .note-list-date{font-size:var(--text-label);text-align:right}
#app .note-list-actions{gap:8px;justify-content:flex-end}

/* Completion is an explicit user choice and keeps the trip fully editable. */
#app .travel-card.is-completed{border-top-color:var(--editorial-sage)}
#app .travel-complete-badge{display:inline-flex;align-self:start;padding:4px 8px;border:1px solid var(--editorial-sage);border-radius:6px;color:var(--editorial-sage);font-size:var(--text-label);font-weight:600}
#app .travel-card .project-open{flex-wrap:wrap;gap:8px}
#app .travel-card .project-open>span:first-child{margin-right:auto}
#app .travel-complete-toggle{white-space:nowrap}
#app .travel-trip-actions{flex-wrap:wrap}

@media(max-width:1100px){
  #app .note-list-row{grid-template-columns:32px minmax(0,1fr) auto;grid-template-areas:"icon copy actions" "icon taxonomy date"}
  #app .note-list-date{text-align:right}
}
@media(max-width:600px){
  #app .note-list-row{grid-template-columns:32px minmax(0,1fr) auto;grid-template-areas:"icon copy actions" ". taxonomy taxonomy" ". date date";padding:14px;min-height:0}
  #app .note-list-date{text-align:left}
  #app .travel-card .project-open>span:first-child{flex-basis:100%}
}
