/* Food log list (Google Sheet -> front page) */
.fasto-foodlog{
  width:100%;
}
.fasto-foodlog .ffl-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
.fasto-foodlog .ffl-title{
  font-size:16px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--fasto-fg);
  opacity:.92;
}
.fasto-foodlog .ffl-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fasto-foodlog .ffl-item{
  display:grid;
  grid-template-columns: 120px 80px 1fr;
  gap:12px;
  align-items:start;
  padding:12px 14px;
  border:1px solid var(--fasto-border);
  background: rgba(255,255,255,.035);
  border-radius:14px;
}
.fasto-foodlog .ffl-date{
  color:var(--fasto-muted);
  font-size:13px;
  line-height:1.25;
  white-space:nowrap;
}
.fasto-foodlog .ffl-cost{
  color:var(--fasto-warn);
  font-weight:700;
  font-size:13px;
  line-height:1.25;
  text-align:right;
  white-space:nowrap;
}
.fasto-foodlog .ffl-desc{
  color:var(--fasto-fg);
  font-size:14px;
  line-height:1.35;
}
.fasto-foodlog .ffl-cat{
  display:inline-block;
  margin-top:6px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid var(--fasto-border);
  color:var(--fasto-muted);
  font-size:11px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.fasto-foodlog .ffl-foot{
  margin-top:10px;
  font-size:12px;
}
.fasto-foodlog .ffl-muted{ color:var(--fasto-muted); opacity:.85; }

@media (max-width: 520px){
  .fasto-foodlog .ffl-item{
    grid-template-columns: 1fr;
  }
  .fasto-foodlog .ffl-cost{
    text-align:left;
  }
  .fasto-foodlog .ffl-date{
    order:-1;
  }
}


.fasto-foodlog .ffl-title{
  width:100%;
  text-align:center;
  font-size:18px; /* större rubrik */
  letter-spacing:.12em;
}

.fasto-foodlog .ffl-item{
  /* behåll grid-versionen */
}

.fasto-foodlog .ffl-date,
.fasto-foodlog .ffl-cost{
  position: relative;
}

.fasto-foodlog .ffl-date::after,
.fasto-foodlog .ffl-cost::after{
  content:"•";
  opacity:.35;
  position:absolute;
  right:-10px;
}


@media (max-width: 520px){
  .fasto-foodlog .ffl-item{
    display:grid;
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    padding: 12px 14px;
  }

  .fasto-foodlog .ffl-date{
    grid-column: 1 / 2;
    font-size: 13px;
    opacity: .9;
  }

  .fasto-foodlog .ffl-cost{
    grid-column: 2 / 3;
    text-align:right;
    font-size: 13px;
  }

  .fasto-foodlog .ffl-desc{
    grid-column: 1 / 3;
    font-size: 14px;
    line-height: 1.35;
    margin-top: 2px;
  }
}

